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_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WITH_PLUGIN_SDL_1 COND_WITH_SDL_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_SUBRELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_DATA_FILE WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWidgets 2.5.2 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.5.2:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets
2.2 compatibility
893 --disable-compat24 disable wxWidgets
2.4 compatibility
894 --enable-rpath=DIR output the rpath flag from wx
-config
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
907 --enable-cmdline use wxCmdLineParser class
908 --enable-datetime use wxDateTime class
909 --enable-dialupman use dialup network classes
910 --enable-dynlib use wxLibrary class
for DLL loading
911 --enable-dynamicloader use
(new
) wxDynamicLibrary class
912 --enable-exceptions build exception
-safe library
913 --enable-ffile use wxFFile class
914 --enable-file use wxFile class
915 --enable-filesystem use virtual
file systems classes
916 --enable-fontmap use font encodings conversion classes
917 --enable-fs_inet use virtual HTTP
/FTP filesystems
918 --enable-fs_zip use virtual ZIP filesystems
919 --enable-geometry use geometry class
920 --enable-log use logging system
921 --enable-longlong use wxLongLong class
922 --enable-mimetype use wxMimeTypesManager
923 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
924 --enable-snglinst use wxSingleInstanceChecker class
925 --enable-streams use wxStream etc classes
926 --enable-std_iostreams use standard C
++ stream classes
927 --enable-stopwatch use wxStopWatch class
928 --enable-sysoptions use wxSystemOptions
929 --enable-textbuf use wxTextBuffer class
930 --enable-textfile use wxTextFile class
931 --enable-timer use wxTimer class
932 --enable-unicode compile wxString with Unicode support
933 --enable-sound use wxSound class
934 --enable-wxprintfv use wxWidgets implementation of vprintf
()
935 --enable-zipstream use wxZipInputStream
936 --enable-url use wxURL class
937 --enable-protocol use wxProtocol class
938 --enable-protocol-http HTTP support
in wxProtocol
939 --enable-protocol-ftp FTP support
in wxProtocol
940 --enable-protocol-file FILE support
in wxProtocol
941 --enable-threads use threads
942 --enable-docview use document view architecture
943 --enable-help use
help subsystem
944 --enable-mshtmlhelp use MS HTML Help
(win32
)
945 --enable-html use wxHTML sub
-library
946 --enable-htmlhelp use wxHTML
-based help
947 --enable-constraints use layout
-constraints system
948 --enable-printarch use printing architecture
949 --enable-mdi use multiple document interface architecture
950 --enable-mdidoc use docview architecture with MDI
951 --enable-loggui use standard GUI logger
952 --enable-logwin use wxLogWindow
953 --enable-logdialog use wxLogDialog
954 --enable-webkit use wxWebKitCtrl
(Mac
)
955 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
956 --enable-prologio not available
; see contrib
957 --enable-resources not available
; see contrib
958 --enable-clipboard use wxClipboard class
959 --enable-dnd use Drag
'n'Drop classes
960 --enable-metafile use win32 metafiles
961 --enable-controls use all usual controls
962 --enable-accel use accelerators
963 --enable-button use wxButton class
964 --enable-bmpbutton use wxBitmapButton class
965 --enable-calendar use wxCalendarCtrl class
966 --enable-caret use wxCaret class
967 --enable-checkbox use wxCheckBox class
968 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
969 --enable-choice use wxChoice class
970 --enable-combobox use wxComboBox class
971 --enable-display use wxDisplay class
972 --enable-gauge use wxGauge class
973 --enable-grid use wxGrid class
974 --enable-imaglist use wxImageList class
975 --enable-listbook use wxListbook class
976 --enable-listbox use wxListBox class
977 --enable-listctrl use wxListCtrl class
978 --enable-notebook use wxNotebook class
979 --enable-radiobox use wxRadioBox class
980 --enable-radiobtn use wxRadioButton class
981 --enable-sash use wxSashWindow class
982 --enable-scrollbar use wxScrollBar class and scrollable windows
983 --enable-slider use wxSlider class
984 --enable-spinbtn use wxSpinButton class
985 --enable-spinctrl use wxSpinCtrl class
986 --enable-splitter use wxSplitterWindow class
987 --enable-statbmp use wxStaticBitmap class
988 --enable-statbox use wxStaticBox class
989 --enable-statline use wxStaticLine class
990 --enable-stattext use wxStaticText class
991 --enable-statusbar use wxStatusBar class
992 --enable-tabdialog use wxTabControl class
993 --enable-textctrl use wxTextCtrl class
994 --enable-togglebtn use wxToggleButton class
995 --enable-toolbar use wxToolBar class
996 --enable-tbarnative use native wxToolBar class
997 --enable-tbarsmpl use wxToolBarSimple class
998 --enable-treectrl use wxTreeCtrl class
999 --enable-tipwindow use wxTipWindow class
1000 --enable-popupwin use wxPopUpWindow class
1001 --enable-commondlg use all common dialogs
1002 --enable-choicedlg use wxChoiceDialog
1003 --enable-coldlg use wxColourDialog
1004 --enable-filedlg use wxFileDialog
1005 --enable-finddlg use wxFindReplaceDialog
1006 --enable-fontdlg use wxFontDialog
1007 --enable-dirdlg use wxDirDialog
1008 --enable-msgdlg use wxMessageDialog
1009 --enable-numberdlg use wxNumberEntryDialog
1010 --enable-splash use wxSplashScreen
1011 --enable-textdlg use wxTextDialog
1012 --enable-tipdlg use startup tips
1013 --enable-progressdlg use wxProgressDialog
1014 --enable-wizarddlg use wxWizard
1015 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1016 --enable-miniframe use wxMiniFrame class
1017 --enable-tooltips use wxToolTip class
1018 --enable-splines use spline drawing code
1019 --enable-validators use wxValidator and derived classes
1020 --enable-busyinfo use wxBusyInfo
1021 --enable-joystick use wxJoystick
(Linux only
)
1022 --enable-metafiles use wxMetaFile
(Windows only
)
1023 --enable-dragimage use wxDragImage
1024 --enable-accessibility enable accessibility support
1025 --enable-palette use wxPalette class
1026 --enable-image use wxImage class
1027 --enable-gif use gif images
(GIF
file format
)
1028 --enable-pcx use pcx images
(PCX
file format
)
1029 --enable-iff use iff images
(IFF
file format
)
1030 --enable-pnm use pnm images
(PNM
file format
)
1031 --enable-xpm use xpm images
(XPM
file format
)
1032 --enable-icocur use Windows ICO and CUR formats
1033 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1034 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1035 --disable-largefile omit support
for large files
1036 --disable-gtktest do not try to compile and run a
test GTK
+ program
1037 --disable-gtktest Do not try to compile and run a
test GTK program
1038 --disable-sdltest Do not try to compile and run a
test SDL program
1039 --enable-omf use OMF object format
(OS
/2)
1040 --disable-precomp-headers don
't use precompiled headers even if compiler can
1043 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1044 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1046 --with-motif use Motif/Lesstif
1047 --with-mac use Mac OS X
1048 --with-cocoa use Cocoa
1049 --with-wine use Wine
1050 --with-msw use MS-Windows
1051 --with-pm use OS/2 Presentation Manager
1052 --with-mgl use SciTech MGL
1053 --with-microwin use MicroWindows
1055 --with-libpng use libpng (PNG image format)
1056 --with-libjpeg use libjpeg (JPEG file format)
1057 --with-libtiff use libtiff (TIFF file format)
1058 --with-libxpm use libxpm (XPM file format)
1059 --with-libmspack use libmspack (CHM help files loading)
1060 --with-sdl use SDL for audio on Unix
1061 --with-opengl use OpenGL (or Mesa)
1062 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1063 --with-regex enable support for wxRegEx class
1064 --with-zlib use zlib for LZW compression
1065 --with-odbc use the IODBC and wxODBC classes
1066 --with-expat enable XML support using expat parser
1067 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1068 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1069 --with-x use the X Window System
1070 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1071 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1072 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1073 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1074 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1076 Some influential environment variables:
1077 CC C compiler command
1078 CFLAGS C compiler flags
1079 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1080 nonstandard directory <lib dir>
1081 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1082 headers in a nonstandard directory <include dir>
1084 CXX C++ compiler command
1085 CXXFLAGS C++ compiler flags
1086 CXXCPP C++ preprocessor
1088 Use these variables to override the choices made by `configure' or to
help
1089 it to
find libraries and programs with nonstandard names
/locations.
1091 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1095 if test "$ac_init_help" = "recursive"; then
1096 # If there are subdirs, report their specific --help.
1098 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1099 test -d $ac_dir || continue
1102 if test "$ac_dir" != .
; then
1103 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1104 # A "../" for each directory in $ac_dir_suffix.
1105 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1107 ac_dir_suffix
= ac_top_builddir
=
1111 .
) # No --srcdir option. We are building in place.
1113 if test -z "$ac_top_builddir"; then
1116 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1118 [\\/]* | ?
:[\\/]* ) # Absolute path.
1119 ac_srcdir
=$srcdir$ac_dir_suffix;
1120 ac_top_srcdir
=$srcdir ;;
1122 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1123 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1126 # Do not use `cd foo && pwd` to compute absolute paths, because
1127 # the directories may not exist.
1129 .
) ac_abs_builddir
="$ac_dir";;
1132 .
) ac_abs_builddir
=`pwd`;;
1133 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1134 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1137 case $ac_abs_builddir in
1138 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1140 case ${ac_top_builddir}.
in
1141 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1142 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1143 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1146 case $ac_abs_builddir in
1147 .
) ac_abs_srcdir
=$ac_srcdir;;
1150 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1151 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1152 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1155 case $ac_abs_builddir in
1156 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1158 case $ac_top_srcdir in
1159 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1160 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1161 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1166 # Check for guested configure; otherwise get Cygnus style configure.
1167 if test -f $ac_srcdir/configure.gnu
; then
1169 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1170 elif test -f $ac_srcdir/configure
; then
1172 $SHELL $ac_srcdir/configure
--help=recursive
1173 elif test -f $ac_srcdir/configure.ac
||
1174 test -f $ac_srcdir/configure.
in; then
1176 $ac_configure --help
1178 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1184 test -n "$ac_init_help" && exit 0
1185 if $ac_init_version; then
1187 wxWidgets configure
2.5.2
1188 generated by GNU Autoconf
2.59
1190 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1191 This configure
script is free software
; the Free Software Foundation
1192 gives unlimited permission to copy
, distribute and modify it.
1198 This file contains any messages produced by compilers while
1199 running configure, to aid debugging if configure makes a mistake.
1201 It was created by wxWidgets $as_me 2.5.2, which was
1202 generated by GNU Autoconf 2.59. Invocation command line was
1213 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1214 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1215 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1216 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1217 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1219 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1220 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1222 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1223 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1224 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1225 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1226 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1227 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1228 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1236 test -z "$as_dir" && as_dir
=.
1237 echo "PATH: $as_dir"
1252 # Keep a trace of the command line.
1253 # Strip out --no-create and --no-recursion so they do not pile up.
1254 # Strip out --silent because we don't want to record it for future runs.
1255 # Also quote any args containing shell meta-characters.
1256 # Make two passes to allow for proper duplicate-argument suppression.
1261 ac_must_keep_next
=false
1267 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1268 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1269 | -silent | --silent | --silen | --sile | --sil)
1271 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1272 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1275 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1277 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1278 if test $ac_must_keep_next = true
; then
1279 ac_must_keep_next
=false
# Got value, back to normal.
1282 *=* | --config-cache | -C | -disable-* | --disable-* \
1283 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1284 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1285 | -with-* | --with-* | -without-* | --without-* | --x)
1286 case "$ac_configure_args0 " in
1287 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1290 -* ) ac_must_keep_next
=true
;;
1293 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1294 # Get rid of the leading space.
1300 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1301 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1303 # When interrupted or exit'd, cleanup temporary files, and complete
1304 # config.log. We remove comments because anyway the quotes in there
1305 # would cause problems or look ugly.
1306 # WARNING: Be sure not to use single quotes in there, as some shells,
1307 # such as our DU 5.0 friend, will then `close' the trap.
1308 trap 'exit_status=$?
1309 # Save into config.log some information that might help in debugging.
1314 ## ---------------- ##
1315 ## Cache variables. ##
1316 ## ---------------- ##
1319 # The following way of writing the cache mishandles newlines in values,
1322 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1325 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1326 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1330 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1337 ## ----------------- ##
1338 ## Output variables. ##
1339 ## ----------------- ##
1342 for ac_var in $ac_subst_vars
1344 eval ac_val=$`echo $ac_var`
1345 echo "$ac_var='"'"'$ac_val'"'"'"
1349 if test -n "$ac_subst_files"; then
1356 for ac_var in $ac_subst_files
1358 eval ac_val=$`echo $ac_var`
1359 echo "$ac_var='"'"'$ac_val'"'"'"
1364 if test -s confdefs.h; then
1371 sed "/^$/d" confdefs.h | sort
1374 test "$ac_signal" != 0 &&
1375 echo "$as_me: caught signal $ac_signal"
1376 echo "$as_me: exit $exit_status"
1378 rm -f core *.core &&
1379 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1382 for ac_signal
in 1 2 13 15; do
1383 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1387 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1388 rm -rf conftest
* confdefs.h
1389 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1392 # Predefined preprocessor variables.
1394 cat >>confdefs.h
<<_ACEOF
1395 #define PACKAGE_NAME "$PACKAGE_NAME"
1399 cat >>confdefs.h
<<_ACEOF
1400 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1404 cat >>confdefs.h
<<_ACEOF
1405 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1409 cat >>confdefs.h
<<_ACEOF
1410 #define PACKAGE_STRING "$PACKAGE_STRING"
1414 cat >>confdefs.h
<<_ACEOF
1415 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1419 # Let the site file select an alternate cache file if it wants to.
1420 # Prefer explicitly selected file to automatically selected ones.
1421 if test -z "$CONFIG_SITE"; then
1422 if test "x$prefix" != xNONE
; then
1423 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1425 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1428 for ac_site_file
in $CONFIG_SITE; do
1429 if test -r "$ac_site_file"; then
1430 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1431 echo "$as_me: loading site script $ac_site_file" >&6;}
1432 sed 's/^/| /' "$ac_site_file" >&5
1437 if test -r "$cache_file"; then
1438 # Some versions of bash will fail to source /dev/null (special
1439 # files actually), so we avoid doing that.
1440 if test -f "$cache_file"; then
1441 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1442 echo "$as_me: loading cache $cache_file" >&6;}
1444 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1445 *) . .
/$cache_file;;
1449 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1450 echo "$as_me: creating cache $cache_file" >&6;}
1454 # Check that the precious variables saved in the cache have kept the same
1456 ac_cache_corrupted
=false
1457 for ac_var
in `(set) 2>&1 |
1458 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1459 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1460 eval ac_new_set
=\
$ac_env_${ac_var}_set
1461 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1462 eval ac_new_val
="\$ac_env_${ac_var}_value"
1463 case $ac_old_set,$ac_new_set in
1465 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1466 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1467 ac_cache_corrupted
=: ;;
1469 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1470 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1471 ac_cache_corrupted
=: ;;
1474 if test "x$ac_old_val" != "x$ac_new_val"; then
1475 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1476 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1477 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1478 echo "$as_me: former value: $ac_old_val" >&2;}
1479 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1480 echo "$as_me: current value: $ac_new_val" >&2;}
1481 ac_cache_corrupted
=:
1484 # Pass precious variables to config.status.
1485 if test "$ac_new_set" = set; then
1487 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1488 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1489 *) ac_arg
=$ac_var=$ac_new_val ;;
1491 case " $ac_configure_args " in
1492 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1493 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1497 if $ac_cache_corrupted; then
1498 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1499 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1500 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1501 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1502 { (exit 1); exit 1; }; }
1506 ac_cpp
='$CPP $CPPFLAGS'
1507 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1508 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1509 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1541 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1542 if test -f $ac_dir/install-sh; then
1544 ac_install_sh
="$ac_aux_dir/install-sh -c"
1546 elif test -f $ac_dir/install.sh
; then
1548 ac_install_sh
="$ac_aux_dir/install.sh -c"
1550 elif test -f $ac_dir/shtool
; then
1552 ac_install_sh
="$ac_aux_dir/shtool install -c"
1556 if test -z "$ac_aux_dir"; then
1557 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1558 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1559 { (exit 1); exit 1; }; }
1561 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1562 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1563 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1565 # Make sure we can run config.sub.
1566 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1567 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1568 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1569 { (exit 1); exit 1; }; }
1571 echo "$as_me:$LINENO: checking build system type" >&5
1572 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1573 if test "${ac_cv_build+set}" = set; then
1574 echo $ECHO_N "(cached) $ECHO_C" >&6
1576 ac_cv_build_alias
=$build_alias
1577 test -z "$ac_cv_build_alias" &&
1578 ac_cv_build_alias
=`$ac_config_guess`
1579 test -z "$ac_cv_build_alias" &&
1580 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1581 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1582 { (exit 1); exit 1; }; }
1583 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1584 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1585 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1586 { (exit 1); exit 1; }; }
1589 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1590 echo "${ECHO_T}$ac_cv_build" >&6
1592 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1593 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1594 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1597 echo "$as_me:$LINENO: checking host system type" >&5
1598 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1599 if test "${ac_cv_host+set}" = set; then
1600 echo $ECHO_N "(cached) $ECHO_C" >&6
1602 ac_cv_host_alias
=$host_alias
1603 test -z "$ac_cv_host_alias" &&
1604 ac_cv_host_alias
=$ac_cv_build_alias
1605 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1606 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1607 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1608 { (exit 1); exit 1; }; }
1611 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1612 echo "${ECHO_T}$ac_cv_host" >&6
1614 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1615 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1616 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1619 echo "$as_me:$LINENO: checking target system type" >&5
1620 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1621 if test "${ac_cv_target+set}" = set; then
1622 echo $ECHO_N "(cached) $ECHO_C" >&6
1624 ac_cv_target_alias
=$target_alias
1625 test "x$ac_cv_target_alias" = "x" &&
1626 ac_cv_target_alias
=$ac_cv_host_alias
1627 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1628 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1629 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1630 { (exit 1); exit 1; }; }
1633 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1634 echo "${ECHO_T}$ac_cv_target" >&6
1635 target
=$ac_cv_target
1636 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1637 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1638 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1641 # The aliases save the names the user supplied, while $host etc.
1642 # will get canonicalized.
1643 test -n "$target_alias" &&
1644 test "$program_prefix$program_suffix$program_transform_name" = \
1646 program_prefix
=${target_alias}-
1650 WX_MAJOR_VERSION_NUMBER
=2
1651 WX_MINOR_VERSION_NUMBER
=5
1653 WX_SUBRELEASE_NUMBER
=3
1655 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1656 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1658 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1674 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1680 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1686 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1688 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1690 DEFAULT_wxUSE_COCOA
=0
1694 DEFAULT_wxUSE_MICROWIN
=0
1695 DEFAULT_wxUSE_MOTIF
=0
1700 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1701 DEFAULT_DEFAULT_wxUSE_GTK
=0
1702 DEFAULT_DEFAULT_wxUSE_MAC
=0
1703 DEFAULT_DEFAULT_wxUSE_MGL
=0
1704 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1705 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1706 DEFAULT_DEFAULT_wxUSE_MSW
=0
1707 DEFAULT_DEFAULT_wxUSE_PM
=0
1708 DEFAULT_DEFAULT_wxUSE_X11
=0
1713 SAMPLES_RPATH_POSTLINK
=
1718 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1719 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1721 cat >>confdefs.h
<<\_ACEOF
1728 cat >>confdefs.h
<<\_ACEOF
1733 if test "x$TMP" = "xalpha"; then
1735 cat >>confdefs.h
<<\_ACEOF
1740 DEFAULT_DEFAULT_wxUSE_GTK
=1
1742 *-*-gnu* | *-*-k*bsd
*-gnu )
1745 if test "x$TMP" = "xalpha"; then
1747 cat >>confdefs.h
<<\_ACEOF
1752 DEFAULT_DEFAULT_wxUSE_GTK
=1
1754 *-*-irix5* | *-*-irix6* )
1757 cat >>confdefs.h
<<\_ACEOF
1761 cat >>confdefs.h
<<\_ACEOF
1765 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1771 cat >>confdefs.h
<<\_ACEOF
1775 cat >>confdefs.h
<<\_ACEOF
1776 #define __SOLARIS__ 1
1779 cat >>confdefs.h
<<\_ACEOF
1783 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1784 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1790 cat >>confdefs.h
<<\_ACEOF
1794 cat >>confdefs.h
<<\_ACEOF
1798 cat >>confdefs.h
<<\_ACEOF
1802 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1807 cat >>confdefs.h
<<\_ACEOF
1808 #define __FREEBSD__ 1
1811 cat >>confdefs.h
<<\_ACEOF
1815 DEFAULT_DEFAULT_wxUSE_GTK
=1
1820 cat >>confdefs.h
<<\_ACEOF
1821 #define __OPENBSD__ 1
1824 cat >>confdefs.h
<<\_ACEOF
1828 DEFAULT_DEFAULT_wxUSE_GTK
=1
1833 cat >>confdefs.h
<<\_ACEOF
1834 #define __NETBSD__ 1
1837 cat >>confdefs.h
<<\_ACEOF
1841 DEFAULT_DEFAULT_wxUSE_GTK
=1
1846 cat >>confdefs.h
<<\_ACEOF
1850 cat >>confdefs.h
<<\_ACEOF
1854 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1855 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1860 cat >>confdefs.h
<<\_ACEOF
1864 cat >>confdefs.h
<<\_ACEOF
1868 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1873 cat >>confdefs.h
<<\_ACEOF
1877 cat >>confdefs.h
<<\_ACEOF
1881 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1888 cat >>confdefs.h
<<\_ACEOF
1892 cat >>confdefs.h
<<\_ACEOF
1896 cat >>confdefs.h
<<\_ACEOF
1900 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1907 cat >>confdefs.h
<<\_ACEOF
1908 #define __UNIXWARE__ 1
1913 *-*-cygwin* | *-*-mingw32* )
1917 DEFAULT_DEFAULT_wxUSE_MSW
=1
1923 cat >>confdefs.h
<<\_ACEOF
1928 DEFAULT_DEFAULT_wxUSE_MGL
=1
1929 LIBS
="$LIBS -lstdc++"
1932 *-pc-os2_emx | *-pc-os2-emx )
1933 cat >>confdefs.h
<<\_ACEOF
1938 cat >>confdefs.h
<<\_ACEOF
1943 DEFAULT_DEFAULT_wxUSE_PM
=1
1945 LDFLAGS
="$LDFLAGS -Zcrtdll"
1946 ac_executable_extensions
=".exe"
1947 export ac_executable_extensions
1951 for ac_dir
in $PATH; do
1953 if test -z "$ac_TEMP_PATH"; then
1954 ac_TEMP_PATH
="$ac_dir"
1956 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1959 export PATH
="$ac_TEMP_PATH"
1967 cat >>confdefs.h
<<\_ACEOF
1971 cat >>confdefs.h
<<\_ACEOF
1972 #define __DARWIN__ 1
1975 cat >>confdefs.h
<<\_ACEOF
1976 #define __POWERPC__ 1
1979 cat >>confdefs.h
<<\_ACEOF
1980 #define TARGET_CARBON 1
1983 DEFAULT_DEFAULT_wxUSE_MAC
=1
1988 cat >>confdefs.h
<<\_ACEOF
1995 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1996 echo "$as_me: error: unknown system type ${host}." >&2;}
1997 { (exit 1); exit 1; }; }
2003 wx_arg_cache_file
="configarg.cache"
2004 echo "loading argument cache $wx_arg_cache_file"
2005 rm -f ${wx_arg_cache_file}.tmp
2006 touch ${wx_arg_cache_file}.tmp
2007 touch ${wx_arg_cache_file}
2011 if test $DEBUG_CONFIGURE = 1; then
2012 DEFAULT_wxUSE_UNIVERSAL
=no
2013 DEFAULT_wxUSE_STL
=no
2015 DEFAULT_wxUSE_NANOX
=no
2017 DEFAULT_wxUSE_THREADS
=yes
2019 DEFAULT_wxUSE_SHARED
=yes
2020 DEFAULT_wxUSE_OPTIMISE
=no
2021 DEFAULT_wxUSE_PROFILE
=no
2022 DEFAULT_wxUSE_NO_DEPS
=no
2023 DEFAULT_wxUSE_NO_RTTI
=no
2024 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2025 DEFAULT_wxUSE_PERMISSIVE
=no
2026 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2027 DEFAULT_wxUSE_DEBUG_INFO
=yes
2028 DEFAULT_wxUSE_DEBUG_GDB
=yes
2029 DEFAULT_wxUSE_MEM_TRACING
=no
2030 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2031 DEFAULT_wxUSE_DMALLOC
=no
2032 DEFAULT_wxUSE_APPLE_IEEE
=no
2034 DEFAULT_wxUSE_EXCEPTIONS
=no
2035 DEFAULT_wxUSE_LOG
=yes
2036 DEFAULT_wxUSE_LOGWINDOW
=no
2037 DEFAULT_wxUSE_LOGGUI
=no
2038 DEFAULT_wxUSE_LOGDIALOG
=no
2040 DEFAULT_wxUSE_GUI
=yes
2041 DEFAULT_wxUSE_CONTROLS
=no
2043 DEFAULT_wxUSE_REGEX
=no
2044 DEFAULT_wxUSE_XML
=no
2045 DEFAULT_wxUSE_EXPAT
=no
2046 DEFAULT_wxUSE_ZLIB
=no
2047 DEFAULT_wxUSE_LIBPNG
=no
2048 DEFAULT_wxUSE_LIBJPEG
=no
2049 DEFAULT_wxUSE_LIBTIFF
=no
2050 DEFAULT_wxUSE_LIBXPM
=no
2051 DEFAULT_wxUSE_LIBMSPACK
=no
2052 DEFAULT_wxUSE_LIBSDL
=no
2053 DEFAULT_wxUSE_ODBC
=no
2054 DEFAULT_wxUSE_OPENGL
=no
2056 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2057 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2058 DEFAULT_wxUSE_STD_IOSTREAM
=no
2059 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2060 DEFAULT_wxUSE_DATETIME
=no
2061 DEFAULT_wxUSE_TIMER
=no
2062 DEFAULT_wxUSE_STOPWATCH
=no
2063 DEFAULT_wxUSE_FILE
=no
2064 DEFAULT_wxUSE_FFILE
=no
2065 DEFAULT_wxUSE_TEXTBUFFER
=no
2066 DEFAULT_wxUSE_TEXTFILE
=no
2067 DEFAULT_wxUSE_SOUND
=no
2068 DEFAULT_wxUSE_INTL
=no
2069 DEFAULT_wxUSE_CONFIG
=no
2070 DEFAULT_wxUSE_FONTMAP
=no
2071 DEFAULT_wxUSE_STREAMS
=no
2072 DEFAULT_wxUSE_SOCKETS
=no
2073 DEFAULT_wxUSE_OLE
=no
2074 DEFAULT_wxUSE_DATAOBJ
=no
2075 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2076 DEFAULT_wxUSE_JOYSTICK
=no
2077 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2078 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2079 DEFAULT_wxUSE_LONGLONG
=no
2080 DEFAULT_wxUSE_GEOMETRY
=no
2082 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2083 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2084 DEFAULT_wxUSE_POSTSCRIPT
=no
2086 DEFAULT_wxUSE_CLIPBOARD
=no
2087 DEFAULT_wxUSE_TOOLTIPS
=no
2088 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2089 DEFAULT_wxUSE_DRAGIMAGE
=no
2090 DEFAULT_wxUSE_SPLINES
=no
2092 DEFAULT_wxUSE_MDI
=no
2093 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2094 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2095 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2097 DEFAULT_wxUSE_RESOURCES
=no
2098 DEFAULT_wxUSE_CONSTRAINTS
=no
2099 DEFAULT_wxUSE_IPC
=no
2100 DEFAULT_wxUSE_HELP
=no
2101 DEFAULT_wxUSE_MS_HTML_HELP
=no
2102 DEFAULT_wxUSE_WXHTML_HELP
=no
2103 DEFAULT_wxUSE_TREELAYOUT
=no
2104 DEFAULT_wxUSE_METAFILE
=no
2105 DEFAULT_wxUSE_MIMETYPE
=no
2106 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2107 DEFAULT_wxUSE_PROTOCOL
=no
2108 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2109 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2110 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2111 DEFAULT_wxUSE_URL
=no
2113 DEFAULT_wxUSE_COMMONDLGS
=no
2114 DEFAULT_wxUSE_CHOICEDLG
=no
2115 DEFAULT_wxUSE_COLOURDLG
=no
2116 DEFAULT_wxUSE_DIRDLG
=no
2117 DEFAULT_wxUSE_FILEDLG
=no
2118 DEFAULT_wxUSE_FINDREPLDLG
=no
2119 DEFAULT_wxUSE_FONTDLG
=no
2120 DEFAULT_wxUSE_MSGDLG
=no
2121 DEFAULT_wxUSE_NUMBERDLG
=no
2122 DEFAULT_wxUSE_TEXTDLG
=no
2123 DEFAULT_wxUSE_SPLASH
=no
2124 DEFAULT_wxUSE_STARTUP_TIPS
=no
2125 DEFAULT_wxUSE_PROGRESSDLG
=no
2126 DEFAULT_wxUSE_WIZARDDLG
=no
2128 DEFAULT_wxUSE_MENUS
=no
2129 DEFAULT_wxUSE_MINIFRAME
=no
2130 DEFAULT_wxUSE_HTML
=no
2131 DEFAULT_wxUSE_WEBKIT
=no
2132 DEFAULT_wxUSE_FILESYSTEM
=no
2133 DEFAULT_wxUSE_FS_INET
=no
2134 DEFAULT_wxUSE_FS_ZIP
=no
2135 DEFAULT_wxUSE_BUSYINFO
=no
2136 DEFAULT_wxUSE_ZIPSTREAM
=no
2137 DEFAULT_wxUSE_VALIDATORS
=no
2139 DEFAULT_wxUSE_ACCEL
=no
2140 DEFAULT_wxUSE_BUTTON
=no
2141 DEFAULT_wxUSE_BMPBUTTON
=no
2142 DEFAULT_wxUSE_CALCTRL
=no
2143 DEFAULT_wxUSE_CARET
=no
2144 DEFAULT_wxUSE_CHECKBOX
=no
2145 DEFAULT_wxUSE_CHECKLST
=no
2146 DEFAULT_wxUSE_CHOICE
=no
2147 DEFAULT_wxUSE_COMBOBOX
=no
2148 DEFAULT_wxUSE_DISPLAY
=no
2149 DEFAULT_wxUSE_GAUGE
=no
2150 DEFAULT_wxUSE_GRID
=no
2151 DEFAULT_wxUSE_IMAGLIST
=no
2152 DEFAULT_wxUSE_LISTBOOK
=no
2153 DEFAULT_wxUSE_LISTBOX
=no
2154 DEFAULT_wxUSE_LISTCTRL
=no
2155 DEFAULT_wxUSE_NOTEBOOK
=no
2156 DEFAULT_wxUSE_RADIOBOX
=no
2157 DEFAULT_wxUSE_RADIOBTN
=no
2158 DEFAULT_wxUSE_SASH
=no
2159 DEFAULT_wxUSE_SCROLLBAR
=no
2160 DEFAULT_wxUSE_SLIDER
=no
2161 DEFAULT_wxUSE_SPINBTN
=no
2162 DEFAULT_wxUSE_SPINCTRL
=no
2163 DEFAULT_wxUSE_SPLITTER
=no
2164 DEFAULT_wxUSE_STATBMP
=no
2165 DEFAULT_wxUSE_STATBOX
=no
2166 DEFAULT_wxUSE_STATLINE
=no
2167 DEFAULT_wxUSE_STATTEXT
=no
2168 DEFAULT_wxUSE_STATUSBAR
=yes
2169 DEFAULT_wxUSE_TABDIALOG
=no
2170 DEFAULT_wxUSE_TEXTCTRL
=no
2171 DEFAULT_wxUSE_TOGGLEBTN
=no
2172 DEFAULT_wxUSE_TOOLBAR
=no
2173 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2174 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2175 DEFAULT_wxUSE_TREECTRL
=no
2176 DEFAULT_wxUSE_POPUPWIN
=no
2177 DEFAULT_wxUSE_TIPWINDOW
=no
2179 DEFAULT_wxUSE_UNICODE
=no
2180 DEFAULT_wxUSE_UNICODE_MSLU
=no
2181 DEFAULT_wxUSE_WCSRTOMBS
=no
2183 DEFAULT_wxUSE_PALETTE
=no
2184 DEFAULT_wxUSE_IMAGE
=no
2185 DEFAULT_wxUSE_GIF
=no
2186 DEFAULT_wxUSE_PCX
=no
2187 DEFAULT_wxUSE_PNM
=no
2188 DEFAULT_wxUSE_IFF
=no
2189 DEFAULT_wxUSE_XPM
=no
2190 DEFAULT_wxUSE_ICO_CUR
=no
2191 DEFAULT_wxUSE_ACCESSIBILITY
=no
2193 DEFAULT_wxUSE_MONOLITHIC
=no
2194 DEFAULT_wxUSE_PLUGINS
=no
2195 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2197 DEFAULT_wxUSE_UNIVERSAL
=no
2198 DEFAULT_wxUSE_STL
=no
2200 DEFAULT_wxUSE_NANOX
=no
2202 DEFAULT_wxUSE_THREADS
=yes
2204 DEFAULT_wxUSE_SHARED
=yes
2205 DEFAULT_wxUSE_OPTIMISE
=yes
2206 DEFAULT_wxUSE_PROFILE
=no
2207 DEFAULT_wxUSE_NO_DEPS
=no
2208 DEFAULT_wxUSE_NO_RTTI
=no
2209 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2210 DEFAULT_wxUSE_PERMISSIVE
=no
2211 DEFAULT_wxUSE_DEBUG_FLAG
=no
2212 DEFAULT_wxUSE_DEBUG_INFO
=no
2213 DEFAULT_wxUSE_DEBUG_GDB
=no
2214 DEFAULT_wxUSE_MEM_TRACING
=no
2215 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2216 DEFAULT_wxUSE_DMALLOC
=no
2217 DEFAULT_wxUSE_APPLE_IEEE
=yes
2219 DEFAULT_wxUSE_EXCEPTIONS
=yes
2220 DEFAULT_wxUSE_LOG
=yes
2221 DEFAULT_wxUSE_LOGWINDOW
=yes
2222 DEFAULT_wxUSE_LOGGUI
=yes
2223 DEFAULT_wxUSE_LOGDIALOG
=yes
2225 DEFAULT_wxUSE_GUI
=yes
2227 DEFAULT_wxUSE_REGEX
=yes
2228 DEFAULT_wxUSE_XML
=yes
2229 DEFAULT_wxUSE_EXPAT
=yes
2230 DEFAULT_wxUSE_ZLIB
=yes
2231 DEFAULT_wxUSE_LIBPNG
=yes
2232 DEFAULT_wxUSE_LIBJPEG
=yes
2233 DEFAULT_wxUSE_LIBTIFF
=yes
2234 DEFAULT_wxUSE_LIBXPM
=yes
2235 DEFAULT_wxUSE_LIBMSPACK
=yes
2236 DEFAULT_wxUSE_LIBSDL
=no
2237 DEFAULT_wxUSE_ODBC
=no
2238 DEFAULT_wxUSE_OPENGL
=no
2240 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2241 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2242 DEFAULT_wxUSE_STD_IOSTREAM
=no
2243 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2244 DEFAULT_wxUSE_DATETIME
=yes
2245 DEFAULT_wxUSE_TIMER
=yes
2246 DEFAULT_wxUSE_STOPWATCH
=yes
2247 DEFAULT_wxUSE_FILE
=yes
2248 DEFAULT_wxUSE_FFILE
=yes
2249 DEFAULT_wxUSE_TEXTBUFFER
=yes
2250 DEFAULT_wxUSE_TEXTFILE
=yes
2251 DEFAULT_wxUSE_SOUND
=yes
2252 DEFAULT_wxUSE_INTL
=yes
2253 DEFAULT_wxUSE_CONFIG
=yes
2254 DEFAULT_wxUSE_FONTMAP
=yes
2255 DEFAULT_wxUSE_STREAMS
=yes
2256 DEFAULT_wxUSE_SOCKETS
=yes
2257 DEFAULT_wxUSE_OLE
=yes
2258 DEFAULT_wxUSE_DATAOBJ
=yes
2259 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2260 DEFAULT_wxUSE_JOYSTICK
=yes
2261 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2262 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2263 DEFAULT_wxUSE_LONGLONG
=yes
2264 DEFAULT_wxUSE_GEOMETRY
=yes
2266 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2267 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2268 DEFAULT_wxUSE_POSTSCRIPT
=yes
2270 DEFAULT_wxUSE_CLIPBOARD
=yes
2271 DEFAULT_wxUSE_TOOLTIPS
=yes
2272 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2273 DEFAULT_wxUSE_DRAGIMAGE
=yes
2274 DEFAULT_wxUSE_SPLINES
=yes
2276 DEFAULT_wxUSE_MDI
=yes
2277 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2278 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2279 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2281 DEFAULT_wxUSE_RESOURCES
=no
2282 DEFAULT_wxUSE_CONSTRAINTS
=yes
2283 DEFAULT_wxUSE_IPC
=yes
2284 DEFAULT_wxUSE_HELP
=yes
2285 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2286 DEFAULT_wxUSE_WXHTML_HELP
=yes
2287 DEFAULT_wxUSE_TREELAYOUT
=yes
2288 DEFAULT_wxUSE_METAFILE
=yes
2289 DEFAULT_wxUSE_MIMETYPE
=yes
2290 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2291 DEFAULT_wxUSE_PROTOCOL
=yes
2292 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2293 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2294 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2295 DEFAULT_wxUSE_URL
=yes
2297 DEFAULT_wxUSE_COMMONDLGS
=yes
2298 DEFAULT_wxUSE_CHOICEDLG
=yes
2299 DEFAULT_wxUSE_COLOURDLG
=yes
2300 DEFAULT_wxUSE_DIRDLG
=yes
2301 DEFAULT_wxUSE_FILEDLG
=yes
2302 DEFAULT_wxUSE_FINDREPLDLG
=yes
2303 DEFAULT_wxUSE_FONTDLG
=yes
2304 DEFAULT_wxUSE_MSGDLG
=yes
2305 DEFAULT_wxUSE_NUMBERDLG
=yes
2306 DEFAULT_wxUSE_TEXTDLG
=yes
2307 DEFAULT_wxUSE_SPLASH
=yes
2308 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2309 DEFAULT_wxUSE_PROGRESSDLG
=yes
2310 DEFAULT_wxUSE_WIZARDDLG
=yes
2312 DEFAULT_wxUSE_MENUS
=yes
2313 DEFAULT_wxUSE_MINIFRAME
=yes
2314 DEFAULT_wxUSE_HTML
=yes
2315 DEFAULT_wxUSE_WEBKIT
=yes
2316 DEFAULT_wxUSE_FILESYSTEM
=yes
2317 DEFAULT_wxUSE_FS_INET
=yes
2318 DEFAULT_wxUSE_FS_ZIP
=yes
2319 DEFAULT_wxUSE_BUSYINFO
=yes
2320 DEFAULT_wxUSE_ZIPSTREAM
=yes
2321 DEFAULT_wxUSE_VALIDATORS
=yes
2323 DEFAULT_wxUSE_ACCEL
=yes
2324 DEFAULT_wxUSE_BUTTON
=yes
2325 DEFAULT_wxUSE_BMPBUTTON
=yes
2326 DEFAULT_wxUSE_CALCTRL
=yes
2327 DEFAULT_wxUSE_CARET
=yes
2328 DEFAULT_wxUSE_CHECKBOX
=yes
2329 DEFAULT_wxUSE_CHECKLST
=yes
2330 DEFAULT_wxUSE_CHOICE
=yes
2331 DEFAULT_wxUSE_COMBOBOX
=yes
2332 DEFAULT_wxUSE_DISPLAY
=yes
2333 DEFAULT_wxUSE_GAUGE
=yes
2334 DEFAULT_wxUSE_GRID
=yes
2335 DEFAULT_wxUSE_IMAGLIST
=yes
2336 DEFAULT_wxUSE_LISTBOOK
=yes
2337 DEFAULT_wxUSE_LISTBOX
=yes
2338 DEFAULT_wxUSE_LISTCTRL
=yes
2339 DEFAULT_wxUSE_NOTEBOOK
=yes
2340 DEFAULT_wxUSE_RADIOBOX
=yes
2341 DEFAULT_wxUSE_RADIOBTN
=yes
2342 DEFAULT_wxUSE_SASH
=yes
2343 DEFAULT_wxUSE_SCROLLBAR
=yes
2344 DEFAULT_wxUSE_SLIDER
=yes
2345 DEFAULT_wxUSE_SPINBTN
=yes
2346 DEFAULT_wxUSE_SPINCTRL
=yes
2347 DEFAULT_wxUSE_SPLITTER
=yes
2348 DEFAULT_wxUSE_STATBMP
=yes
2349 DEFAULT_wxUSE_STATBOX
=yes
2350 DEFAULT_wxUSE_STATLINE
=yes
2351 DEFAULT_wxUSE_STATTEXT
=yes
2352 DEFAULT_wxUSE_STATUSBAR
=yes
2353 DEFAULT_wxUSE_TABDIALOG
=no
2354 DEFAULT_wxUSE_TEXTCTRL
=yes
2355 DEFAULT_wxUSE_TOGGLEBTN
=yes
2356 DEFAULT_wxUSE_TOOLBAR
=yes
2357 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2358 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2359 DEFAULT_wxUSE_TREECTRL
=yes
2360 DEFAULT_wxUSE_POPUPWIN
=yes
2361 DEFAULT_wxUSE_TIPWINDOW
=yes
2363 DEFAULT_wxUSE_UNICODE
=no
2364 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2365 DEFAULT_wxUSE_WCSRTOMBS
=no
2367 DEFAULT_wxUSE_PALETTE
=yes
2368 DEFAULT_wxUSE_IMAGE
=yes
2369 DEFAULT_wxUSE_GIF
=yes
2370 DEFAULT_wxUSE_PCX
=yes
2371 DEFAULT_wxUSE_IFF
=no
2372 DEFAULT_wxUSE_PNM
=yes
2373 DEFAULT_wxUSE_XPM
=yes
2374 DEFAULT_wxUSE_ICO_CUR
=yes
2375 DEFAULT_wxUSE_ACCESSIBILITY
=no
2377 DEFAULT_wxUSE_MONOLITHIC
=no
2378 DEFAULT_wxUSE_PLUGINS
=no
2379 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2381 DEFAULT_wxUSE_GTK2
=yes
2386 for toolkit
in `echo $ALL_TOOLKITS`; do
2387 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2388 if test "x$LINE" != "x" ; then
2389 has_toolkit_in_cache
=1
2390 eval "DEFAULT_$LINE"
2391 eval "CACHE_$toolkit=1"
2398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2399 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2401 # Check whether --enable-gui or --disable-gui was given.
2402 if test "${enable_gui+set}" = set; then
2403 enableval
="$enable_gui"
2405 if test "$enableval" = yes; then
2406 ac_cv_use_gui
='wxUSE_GUI=yes'
2408 ac_cv_use_gui
='wxUSE_GUI=no'
2413 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2414 if test "x$LINE" != x
; then
2415 eval "DEFAULT_$LINE"
2420 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2424 eval "$ac_cv_use_gui"
2425 if test "$no_cache" != 1; then
2426 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2429 if test "$wxUSE_GUI" = yes; then
2430 echo "$as_me:$LINENO: result: yes" >&5
2431 echo "${ECHO_T}yes" >&6
2433 echo "$as_me:$LINENO: result: no" >&5
2434 echo "${ECHO_T}no" >&6
2439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2440 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2442 # Check whether --enable-monolithic or --disable-monolithic was given.
2443 if test "${enable_monolithic+set}" = set; then
2444 enableval
="$enable_monolithic"
2446 if test "$enableval" = yes; then
2447 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2449 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2454 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2455 if test "x$LINE" != x
; then
2456 eval "DEFAULT_$LINE"
2461 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2465 eval "$ac_cv_use_monolithic"
2466 if test "$no_cache" != 1; then
2467 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2470 if test "$wxUSE_MONOLITHIC" = yes; then
2471 echo "$as_me:$LINENO: result: yes" >&5
2472 echo "${ECHO_T}yes" >&6
2474 echo "$as_me:$LINENO: result: no" >&5
2475 echo "${ECHO_T}no" >&6
2480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2481 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2483 # Check whether --enable-plugins or --disable-plugins was given.
2484 if test "${enable_plugins+set}" = set; then
2485 enableval
="$enable_plugins"
2487 if test "$enableval" = yes; then
2488 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2490 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2495 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2496 if test "x$LINE" != x
; then
2497 eval "DEFAULT_$LINE"
2502 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2506 eval "$ac_cv_use_plugins"
2507 if test "$no_cache" != 1; then
2508 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2511 if test "$wxUSE_PLUGINS" = yes; then
2512 echo "$as_me:$LINENO: result: yes" >&5
2513 echo "${ECHO_T}yes" >&6
2515 echo "$as_me:$LINENO: result: no" >&5
2516 echo "${ECHO_T}no" >&6
2520 if test "$wxUSE_GUI" = "yes"; then
2524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2525 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2527 # Check whether --enable-universal or --disable-universal was given.
2528 if test "${enable_universal+set}" = set; then
2529 enableval
="$enable_universal"
2531 if test "$enableval" = yes; then
2532 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2534 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2539 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2540 if test "x$LINE" != x
; then
2541 eval "DEFAULT_$LINE"
2546 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2550 eval "$ac_cv_use_universal"
2551 if test "$no_cache" != 1; then
2552 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2555 if test "$wxUSE_UNIVERSAL" = yes; then
2556 echo "$as_me:$LINENO: result: yes" >&5
2557 echo "${ECHO_T}yes" >&6
2559 echo "$as_me:$LINENO: result: no" >&5
2560 echo "${ECHO_T}no" >&6
2564 # Check whether --with-gtk or --without-gtk was given.
2565 if test "${with_gtk+set}" = set; then
2567 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2570 # Check whether --with-motif or --without-motif was given.
2571 if test "${with_motif+set}" = set; then
2572 withval
="$with_motif"
2573 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2576 # Check whether --with-mac or --without-mac was given.
2577 if test "${with_mac+set}" = set; then
2579 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
2582 # Check whether --with-cocoa or --without-cocoa was given.
2583 if test "${with_cocoa+set}" = set; then
2584 withval
="$with_cocoa"
2585 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
2588 # Check whether --with-wine or --without-wine was given.
2589 if test "${with_wine+set}" = set; then
2590 withval
="$with_wine"
2591 wxUSE_WINE
="$withval" CACHE_WINE
=1
2594 # Check whether --with-msw or --without-msw was given.
2595 if test "${with_msw+set}" = set; then
2597 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2600 # Check whether --with-pm or --without-pm was given.
2601 if test "${with_pm+set}" = set; then
2603 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2606 # Check whether --with-mgl or --without-mgl was given.
2607 if test "${with_mgl+set}" = set; then
2609 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2612 # Check whether --with-microwin or --without-microwin was given.
2613 if test "${with_microwin+set}" = set; then
2614 withval
="$with_microwin"
2615 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2618 # Check whether --with-x11 or --without-x11 was given.
2619 if test "${with_x11+set}" = set; then
2621 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2626 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2628 # Check whether --enable-nanox or --disable-nanox was given.
2629 if test "${enable_nanox+set}" = set; then
2630 enableval
="$enable_nanox"
2632 if test "$enableval" = yes; then
2633 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2635 ac_cv_use_nanox
='wxUSE_NANOX=no'
2640 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2641 if test "x$LINE" != x
; then
2642 eval "DEFAULT_$LINE"
2647 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2651 eval "$ac_cv_use_nanox"
2652 if test "$no_cache" != 1; then
2653 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2656 if test "$wxUSE_NANOX" = yes; then
2657 echo "$as_me:$LINENO: result: yes" >&5
2658 echo "${ECHO_T}yes" >&6
2660 echo "$as_me:$LINENO: result: no" >&5
2661 echo "${ECHO_T}no" >&6
2667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2668 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2670 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2671 if test "${enable_gtk2+set}" = set; then
2672 enableval
="$enable_gtk2"
2674 if test "$enableval" = yes; then
2675 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2677 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2682 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2683 if test "x$LINE" != x
; then
2684 eval "DEFAULT_$LINE"
2689 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2693 eval "$ac_cv_use_gtk2"
2694 if test "$no_cache" != 1; then
2695 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2698 if test "$wxUSE_GTK2" = yes; then
2699 echo "$as_me:$LINENO: result: yes" >&5
2700 echo "${ECHO_T}yes" >&6
2702 echo "$as_me:$LINENO: result: no" >&5
2703 echo "${ECHO_T}no" >&6
2708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2709 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2711 # Check whether --enable-gpe or --disable-gpe was given.
2712 if test "${enable_gpe+set}" = set; then
2713 enableval
="$enable_gpe"
2715 if test "$enableval" = yes; then
2716 ac_cv_use_gpe
='wxUSE_GPE=yes'
2718 ac_cv_use_gpe
='wxUSE_GPE=no'
2723 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2724 if test "x$LINE" != x
; then
2725 eval "DEFAULT_$LINE"
2730 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2734 eval "$ac_cv_use_gpe"
2735 if test "$no_cache" != 1; then
2736 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2739 if test "$wxUSE_GPE" = yes; then
2740 echo "$as_me:$LINENO: result: yes" >&5
2741 echo "${ECHO_T}yes" >&6
2743 echo "$as_me:$LINENO: result: no" >&5
2744 echo "${ECHO_T}no" >&6
2749 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2750 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2753 # Check whether --with-libpng or --without-libpng was given.
2754 if test "${with_libpng+set}" = set; then
2755 withval
="$with_libpng"
2757 if test "$withval" = yes; then
2758 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2759 elif test "$withval" = no
; then
2760 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2761 elif test "$withval" = sys
; then
2762 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2763 elif test "$withval" = builtin; then
2764 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2766 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2767 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2768 { (exit 1); exit 1; }; }
2773 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2774 if test "x$LINE" != x
; then
2775 eval "DEFAULT_$LINE"
2780 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2784 eval "$ac_cv_use_libpng"
2785 if test "$no_cache" != 1; then
2786 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2789 if test "$wxUSE_LIBPNG" = yes; then
2790 echo "$as_me:$LINENO: result: yes" >&5
2791 echo "${ECHO_T}yes" >&6
2792 elif test "$wxUSE_LIBPNG" = no
; then
2793 echo "$as_me:$LINENO: result: no" >&5
2794 echo "${ECHO_T}no" >&6
2795 elif test "$wxUSE_LIBPNG" = sys
; then
2796 echo "$as_me:$LINENO: result: system version" >&5
2797 echo "${ECHO_T}system version" >&6
2798 elif test "$wxUSE_LIBPNG" = builtin; then
2799 echo "$as_me:$LINENO: result: builtin version" >&5
2800 echo "${ECHO_T}builtin version" >&6
2802 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2803 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2804 { (exit 1); exit 1; }; }
2808 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2809 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2812 # Check whether --with-libjpeg or --without-libjpeg was given.
2813 if test "${with_libjpeg+set}" = set; then
2814 withval
="$with_libjpeg"
2816 if test "$withval" = yes; then
2817 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2818 elif test "$withval" = no
; then
2819 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2820 elif test "$withval" = sys
; then
2821 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2822 elif test "$withval" = builtin; then
2823 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2825 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2826 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2827 { (exit 1); exit 1; }; }
2832 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2833 if test "x$LINE" != x
; then
2834 eval "DEFAULT_$LINE"
2839 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2843 eval "$ac_cv_use_libjpeg"
2844 if test "$no_cache" != 1; then
2845 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2848 if test "$wxUSE_LIBJPEG" = yes; then
2849 echo "$as_me:$LINENO: result: yes" >&5
2850 echo "${ECHO_T}yes" >&6
2851 elif test "$wxUSE_LIBJPEG" = no
; then
2852 echo "$as_me:$LINENO: result: no" >&5
2853 echo "${ECHO_T}no" >&6
2854 elif test "$wxUSE_LIBJPEG" = sys
; then
2855 echo "$as_me:$LINENO: result: system version" >&5
2856 echo "${ECHO_T}system version" >&6
2857 elif test "$wxUSE_LIBJPEG" = builtin; then
2858 echo "$as_me:$LINENO: result: builtin version" >&5
2859 echo "${ECHO_T}builtin version" >&6
2861 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2862 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2863 { (exit 1); exit 1; }; }
2867 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2868 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2871 # Check whether --with-libtiff or --without-libtiff was given.
2872 if test "${with_libtiff+set}" = set; then
2873 withval
="$with_libtiff"
2875 if test "$withval" = yes; then
2876 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2877 elif test "$withval" = no
; then
2878 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2879 elif test "$withval" = sys
; then
2880 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2881 elif test "$withval" = builtin; then
2882 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2884 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2885 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2886 { (exit 1); exit 1; }; }
2891 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2892 if test "x$LINE" != x
; then
2893 eval "DEFAULT_$LINE"
2898 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2902 eval "$ac_cv_use_libtiff"
2903 if test "$no_cache" != 1; then
2904 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2907 if test "$wxUSE_LIBTIFF" = yes; then
2908 echo "$as_me:$LINENO: result: yes" >&5
2909 echo "${ECHO_T}yes" >&6
2910 elif test "$wxUSE_LIBTIFF" = no
; then
2911 echo "$as_me:$LINENO: result: no" >&5
2912 echo "${ECHO_T}no" >&6
2913 elif test "$wxUSE_LIBTIFF" = sys
; then
2914 echo "$as_me:$LINENO: result: system version" >&5
2915 echo "${ECHO_T}system version" >&6
2916 elif test "$wxUSE_LIBTIFF" = builtin; then
2917 echo "$as_me:$LINENO: result: builtin version" >&5
2918 echo "${ECHO_T}builtin version" >&6
2920 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2921 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2922 { (exit 1); exit 1; }; }
2926 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2927 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2930 # Check whether --with-libxpm or --without-libxpm was given.
2931 if test "${with_libxpm+set}" = set; then
2932 withval
="$with_libxpm"
2934 if test "$withval" = yes; then
2935 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2936 elif test "$withval" = no
; then
2937 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2938 elif test "$withval" = sys
; then
2939 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2940 elif test "$withval" = builtin; then
2941 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2943 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2944 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2945 { (exit 1); exit 1; }; }
2950 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2951 if test "x$LINE" != x
; then
2952 eval "DEFAULT_$LINE"
2957 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2961 eval "$ac_cv_use_libxpm"
2962 if test "$no_cache" != 1; then
2963 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2966 if test "$wxUSE_LIBXPM" = yes; then
2967 echo "$as_me:$LINENO: result: yes" >&5
2968 echo "${ECHO_T}yes" >&6
2969 elif test "$wxUSE_LIBXPM" = no
; then
2970 echo "$as_me:$LINENO: result: no" >&5
2971 echo "${ECHO_T}no" >&6
2972 elif test "$wxUSE_LIBXPM" = sys
; then
2973 echo "$as_me:$LINENO: result: system version" >&5
2974 echo "${ECHO_T}system version" >&6
2975 elif test "$wxUSE_LIBXPM" = builtin; then
2976 echo "$as_me:$LINENO: result: builtin version" >&5
2977 echo "${ECHO_T}builtin version" >&6
2979 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2980 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2981 { (exit 1); exit 1; }; }
2985 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2986 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2989 # Check whether --with-libmspack or --without-libmspack was given.
2990 if test "${with_libmspack+set}" = set; then
2991 withval
="$with_libmspack"
2993 if test "$withval" = yes; then
2994 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
2996 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3001 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3002 if test "x$LINE" != x
; then
3003 eval "DEFAULT_$LINE"
3008 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3012 eval "$ac_cv_use_libmspack"
3013 if test "$no_cache" != 1; then
3014 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3017 if test "$wxUSE_LIBMSPACK" = yes; then
3018 echo "$as_me:$LINENO: result: yes" >&5
3019 echo "${ECHO_T}yes" >&6
3021 echo "$as_me:$LINENO: result: no" >&5
3022 echo "${ECHO_T}no" >&6
3026 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3027 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3030 # Check whether --with-sdl or --without-sdl was given.
3031 if test "${with_sdl+set}" = set; then
3034 if test "$withval" = yes; then
3035 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3037 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3042 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3043 if test "x$LINE" != x
; then
3044 eval "DEFAULT_$LINE"
3049 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3053 eval "$ac_cv_use_sdl"
3054 if test "$no_cache" != 1; then
3055 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3058 if test "$wxUSE_LIBSDL" = yes; then
3059 echo "$as_me:$LINENO: result: yes" >&5
3060 echo "${ECHO_T}yes" >&6
3062 echo "$as_me:$LINENO: result: no" >&5
3063 echo "${ECHO_T}no" >&6
3067 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3068 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3071 # Check whether --with-opengl or --without-opengl was given.
3072 if test "${with_opengl+set}" = set; then
3073 withval
="$with_opengl"
3075 if test "$withval" = yes; then
3076 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3078 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3083 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3084 if test "x$LINE" != x
; then
3085 eval "DEFAULT_$LINE"
3090 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3094 eval "$ac_cv_use_opengl"
3095 if test "$no_cache" != 1; then
3096 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3099 if test "$wxUSE_OPENGL" = yes; then
3100 echo "$as_me:$LINENO: result: yes" >&5
3101 echo "${ECHO_T}yes" >&6
3103 echo "$as_me:$LINENO: result: no" >&5
3104 echo "${ECHO_T}no" >&6
3111 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3112 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3115 # Check whether --with-dmalloc or --without-dmalloc was given.
3116 if test "${with_dmalloc+set}" = set; then
3117 withval
="$with_dmalloc"
3119 if test "$withval" = yes; then
3120 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3122 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3127 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3128 if test "x$LINE" != x
; then
3129 eval "DEFAULT_$LINE"
3134 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3138 eval "$ac_cv_use_dmalloc"
3139 if test "$no_cache" != 1; then
3140 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3143 if test "$wxUSE_DMALLOC" = yes; then
3144 echo "$as_me:$LINENO: result: yes" >&5
3145 echo "${ECHO_T}yes" >&6
3147 echo "$as_me:$LINENO: result: no" >&5
3148 echo "${ECHO_T}no" >&6
3152 echo "$as_me:$LINENO: checking for --with-regex" >&5
3153 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3156 # Check whether --with-regex or --without-regex was given.
3157 if test "${with_regex+set}" = set; then
3158 withval
="$with_regex"
3160 if test "$withval" = yes; then
3161 ac_cv_use_regex
='wxUSE_REGEX=yes'
3162 elif test "$withval" = no
; then
3163 ac_cv_use_regex
='wxUSE_REGEX=no'
3164 elif test "$withval" = sys
; then
3165 ac_cv_use_regex
='wxUSE_REGEX=sys'
3166 elif test "$withval" = builtin; then
3167 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3169 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3170 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3171 { (exit 1); exit 1; }; }
3176 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3177 if test "x$LINE" != x
; then
3178 eval "DEFAULT_$LINE"
3183 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3187 eval "$ac_cv_use_regex"
3188 if test "$no_cache" != 1; then
3189 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3192 if test "$wxUSE_REGEX" = yes; then
3193 echo "$as_me:$LINENO: result: yes" >&5
3194 echo "${ECHO_T}yes" >&6
3195 elif test "$wxUSE_REGEX" = no
; then
3196 echo "$as_me:$LINENO: result: no" >&5
3197 echo "${ECHO_T}no" >&6
3198 elif test "$wxUSE_REGEX" = sys
; then
3199 echo "$as_me:$LINENO: result: system version" >&5
3200 echo "${ECHO_T}system version" >&6
3201 elif test "$wxUSE_REGEX" = builtin; then
3202 echo "$as_me:$LINENO: result: builtin version" >&5
3203 echo "${ECHO_T}builtin version" >&6
3205 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3206 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3207 { (exit 1); exit 1; }; }
3211 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3212 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3215 # Check whether --with-zlib or --without-zlib was given.
3216 if test "${with_zlib+set}" = set; then
3217 withval
="$with_zlib"
3219 if test "$withval" = yes; then
3220 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3221 elif test "$withval" = no
; then
3222 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3223 elif test "$withval" = sys
; then
3224 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3225 elif test "$withval" = builtin; then
3226 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3228 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3229 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3230 { (exit 1); exit 1; }; }
3235 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3236 if test "x$LINE" != x
; then
3237 eval "DEFAULT_$LINE"
3242 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3246 eval "$ac_cv_use_zlib"
3247 if test "$no_cache" != 1; then
3248 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3251 if test "$wxUSE_ZLIB" = yes; then
3252 echo "$as_me:$LINENO: result: yes" >&5
3253 echo "${ECHO_T}yes" >&6
3254 elif test "$wxUSE_ZLIB" = no
; then
3255 echo "$as_me:$LINENO: result: no" >&5
3256 echo "${ECHO_T}no" >&6
3257 elif test "$wxUSE_ZLIB" = sys
; then
3258 echo "$as_me:$LINENO: result: system version" >&5
3259 echo "${ECHO_T}system version" >&6
3260 elif test "$wxUSE_ZLIB" = builtin; then
3261 echo "$as_me:$LINENO: result: builtin version" >&5
3262 echo "${ECHO_T}builtin version" >&6
3264 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3265 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3266 { (exit 1); exit 1; }; }
3270 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3271 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3274 # Check whether --with-odbc or --without-odbc was given.
3275 if test "${with_odbc+set}" = set; then
3276 withval
="$with_odbc"
3278 if test "$withval" = yes; then
3279 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3280 elif test "$withval" = no
; then
3281 ac_cv_use_odbc
='wxUSE_ODBC=no'
3282 elif test "$withval" = sys
; then
3283 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3284 elif test "$withval" = builtin; then
3285 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3287 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3288 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3289 { (exit 1); exit 1; }; }
3294 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3295 if test "x$LINE" != x
; then
3296 eval "DEFAULT_$LINE"
3301 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3305 eval "$ac_cv_use_odbc"
3306 if test "$no_cache" != 1; then
3307 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3310 if test "$wxUSE_ODBC" = yes; then
3311 echo "$as_me:$LINENO: result: yes" >&5
3312 echo "${ECHO_T}yes" >&6
3313 elif test "$wxUSE_ODBC" = no
; then
3314 echo "$as_me:$LINENO: result: no" >&5
3315 echo "${ECHO_T}no" >&6
3316 elif test "$wxUSE_ODBC" = sys
; then
3317 echo "$as_me:$LINENO: result: system version" >&5
3318 echo "${ECHO_T}system version" >&6
3319 elif test "$wxUSE_ODBC" = builtin; then
3320 echo "$as_me:$LINENO: result: builtin version" >&5
3321 echo "${ECHO_T}builtin version" >&6
3323 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3324 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3325 { (exit 1); exit 1; }; }
3329 echo "$as_me:$LINENO: checking for --with-expat" >&5
3330 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3333 # Check whether --with-expat or --without-expat was given.
3334 if test "${with_expat+set}" = set; then
3335 withval
="$with_expat"
3337 if test "$withval" = yes; then
3338 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3339 elif test "$withval" = no
; then
3340 ac_cv_use_expat
='wxUSE_EXPAT=no'
3341 elif test "$withval" = sys
; then
3342 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3343 elif test "$withval" = builtin; then
3344 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3346 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3347 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3348 { (exit 1); exit 1; }; }
3353 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3354 if test "x$LINE" != x
; then
3355 eval "DEFAULT_$LINE"
3360 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3364 eval "$ac_cv_use_expat"
3365 if test "$no_cache" != 1; then
3366 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3369 if test "$wxUSE_EXPAT" = yes; then
3370 echo "$as_me:$LINENO: result: yes" >&5
3371 echo "${ECHO_T}yes" >&6
3372 elif test "$wxUSE_EXPAT" = no
; then
3373 echo "$as_me:$LINENO: result: no" >&5
3374 echo "${ECHO_T}no" >&6
3375 elif test "$wxUSE_EXPAT" = sys
; then
3376 echo "$as_me:$LINENO: result: system version" >&5
3377 echo "${ECHO_T}system version" >&6
3378 elif test "$wxUSE_EXPAT" = builtin; then
3379 echo "$as_me:$LINENO: result: builtin version" >&5
3380 echo "${ECHO_T}builtin version" >&6
3382 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3383 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3384 { (exit 1); exit 1; }; }
3391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3392 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3394 # Check whether --enable-shared or --disable-shared was given.
3395 if test "${enable_shared+set}" = set; then
3396 enableval
="$enable_shared"
3398 if test "$enableval" = yes; then
3399 ac_cv_use_shared
='wxUSE_SHARED=yes'
3401 ac_cv_use_shared
='wxUSE_SHARED=no'
3406 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3407 if test "x$LINE" != x
; then
3408 eval "DEFAULT_$LINE"
3413 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3417 eval "$ac_cv_use_shared"
3418 if test "$no_cache" != 1; then
3419 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3422 if test "$wxUSE_SHARED" = yes; then
3423 echo "$as_me:$LINENO: result: yes" >&5
3424 echo "${ECHO_T}yes" >&6
3426 echo "$as_me:$LINENO: result: no" >&5
3427 echo "${ECHO_T}no" >&6
3432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3433 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3435 # Check whether --enable-optimise or --disable-optimise was given.
3436 if test "${enable_optimise+set}" = set; then
3437 enableval
="$enable_optimise"
3439 if test "$enableval" = yes; then
3440 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3442 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3447 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3448 if test "x$LINE" != x
; then
3449 eval "DEFAULT_$LINE"
3454 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3458 eval "$ac_cv_use_optimise"
3459 if test "$no_cache" != 1; then
3460 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3463 if test "$wxUSE_OPTIMISE" = yes; then
3464 echo "$as_me:$LINENO: result: yes" >&5
3465 echo "${ECHO_T}yes" >&6
3467 echo "$as_me:$LINENO: result: no" >&5
3468 echo "${ECHO_T}no" >&6
3473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3474 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3476 # Check whether --enable-debug or --disable-debug was given.
3477 if test "${enable_debug+set}" = set; then
3478 enableval
="$enable_debug"
3480 if test "$enableval" = yes; then
3481 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3483 ac_cv_use_debug
='wxUSE_DEBUG=no'
3488 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3489 if test "x$LINE" != x
; then
3490 eval "DEFAULT_$LINE"
3495 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3499 eval "$ac_cv_use_debug"
3500 if test "$no_cache" != 1; then
3501 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3504 if test "$wxUSE_DEBUG" = yes; then
3505 echo "$as_me:$LINENO: result: yes" >&5
3506 echo "${ECHO_T}yes" >&6
3508 echo "$as_me:$LINENO: result: no" >&5
3509 echo "${ECHO_T}no" >&6
3514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3515 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3517 # Check whether --enable-stl or --disable-stl was given.
3518 if test "${enable_stl+set}" = set; then
3519 enableval
="$enable_stl"
3521 if test "$enableval" = yes; then
3522 ac_cv_use_stl
='wxUSE_STL=yes'
3524 ac_cv_use_stl
='wxUSE_STL=no'
3529 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3530 if test "x$LINE" != x
; then
3531 eval "DEFAULT_$LINE"
3536 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3540 eval "$ac_cv_use_stl"
3541 if test "$no_cache" != 1; then
3542 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3545 if test "$wxUSE_STL" = yes; then
3546 echo "$as_me:$LINENO: result: yes" >&5
3547 echo "${ECHO_T}yes" >&6
3549 echo "$as_me:$LINENO: result: no" >&5
3550 echo "${ECHO_T}no" >&6
3553 if test "$USE_OS2" = "1"; then
3556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3557 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3559 # Check whether --enable-omf or --disable-omf was given.
3560 if test "${enable_omf+set}" = set; then
3561 enableval
="$enable_omf"
3563 if test "$enableval" = yes; then
3564 ac_cv_use_omf
='wxUSE_OMF=yes'
3566 ac_cv_use_omf
='wxUSE_OMF=no'
3571 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3572 if test "x$LINE" != x
; then
3573 eval "DEFAULT_$LINE"
3578 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3582 eval "$ac_cv_use_omf"
3583 if test "$no_cache" != 1; then
3584 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3587 if test "$wxUSE_OMF" = yes; then
3588 echo "$as_me:$LINENO: result: yes" >&5
3589 echo "${ECHO_T}yes" >&6
3591 echo "$as_me:$LINENO: result: no" >&5
3592 echo "${ECHO_T}no" >&6
3597 if test "$wxUSE_DEBUG" = "yes"; then
3598 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3599 DEFAULT_wxUSE_DEBUG_INFO
=yes
3601 elif test "$wxUSE_DEBUG" = "no"; then
3602 DEFAULT_wxUSE_DEBUG_FLAG
=no
3603 DEFAULT_wxUSE_DEBUG_INFO
=no
3609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3610 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3612 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3613 if test "${enable_debug_flag+set}" = set; then
3614 enableval
="$enable_debug_flag"
3616 if test "$enableval" = yes; then
3617 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3619 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3624 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3625 if test "x$LINE" != x
; then
3626 eval "DEFAULT_$LINE"
3631 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3635 eval "$ac_cv_use_debug_flag"
3636 if test "$no_cache" != 1; then
3637 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3640 if test "$wxUSE_DEBUG_FLAG" = yes; then
3641 echo "$as_me:$LINENO: result: yes" >&5
3642 echo "${ECHO_T}yes" >&6
3644 echo "$as_me:$LINENO: result: no" >&5
3645 echo "${ECHO_T}no" >&6
3650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3651 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3653 # Check whether --enable-debug_info or --disable-debug_info was given.
3654 if test "${enable_debug_info+set}" = set; then
3655 enableval
="$enable_debug_info"
3657 if test "$enableval" = yes; then
3658 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3660 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3665 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3666 if test "x$LINE" != x
; then
3667 eval "DEFAULT_$LINE"
3672 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3676 eval "$ac_cv_use_debug_info"
3677 if test "$no_cache" != 1; then
3678 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3681 if test "$wxUSE_DEBUG_INFO" = yes; then
3682 echo "$as_me:$LINENO: result: yes" >&5
3683 echo "${ECHO_T}yes" >&6
3685 echo "$as_me:$LINENO: result: no" >&5
3686 echo "${ECHO_T}no" >&6
3691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3692 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3694 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3695 if test "${enable_debug_gdb+set}" = set; then
3696 enableval
="$enable_debug_gdb"
3698 if test "$enableval" = yes; then
3699 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3701 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3706 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3707 if test "x$LINE" != x
; then
3708 eval "DEFAULT_$LINE"
3713 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3717 eval "$ac_cv_use_debug_gdb"
3718 if test "$no_cache" != 1; then
3719 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3722 if test "$wxUSE_DEBUG_GDB" = yes; then
3723 echo "$as_me:$LINENO: result: yes" >&5
3724 echo "${ECHO_T}yes" >&6
3726 echo "$as_me:$LINENO: result: no" >&5
3727 echo "${ECHO_T}no" >&6
3732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3733 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3735 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3736 if test "${enable_debug_cntxt+set}" = set; then
3737 enableval
="$enable_debug_cntxt"
3739 if test "$enableval" = yes; then
3740 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3742 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3747 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3748 if test "x$LINE" != x
; then
3749 eval "DEFAULT_$LINE"
3754 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3758 eval "$ac_cv_use_debug_cntxt"
3759 if test "$no_cache" != 1; then
3760 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3763 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3764 echo "$as_me:$LINENO: result: yes" >&5
3765 echo "${ECHO_T}yes" >&6
3767 echo "$as_me:$LINENO: result: no" >&5
3768 echo "${ECHO_T}no" >&6
3773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3774 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3776 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3777 if test "${enable_mem_tracing+set}" = set; then
3778 enableval
="$enable_mem_tracing"
3780 if test "$enableval" = yes; then
3781 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3783 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3788 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3789 if test "x$LINE" != x
; then
3790 eval "DEFAULT_$LINE"
3795 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3799 eval "$ac_cv_use_mem_tracing"
3800 if test "$no_cache" != 1; then
3801 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3804 if test "$wxUSE_MEM_TRACING" = yes; then
3805 echo "$as_me:$LINENO: result: yes" >&5
3806 echo "${ECHO_T}yes" >&6
3808 echo "$as_me:$LINENO: result: no" >&5
3809 echo "${ECHO_T}no" >&6
3814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3815 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3817 # Check whether --enable-profile or --disable-profile was given.
3818 if test "${enable_profile+set}" = set; then
3819 enableval
="$enable_profile"
3821 if test "$enableval" = yes; then
3822 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3824 ac_cv_use_profile
='wxUSE_PROFILE=no'
3829 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3830 if test "x$LINE" != x
; then
3831 eval "DEFAULT_$LINE"
3836 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3840 eval "$ac_cv_use_profile"
3841 if test "$no_cache" != 1; then
3842 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3845 if test "$wxUSE_PROFILE" = yes; then
3846 echo "$as_me:$LINENO: result: yes" >&5
3847 echo "${ECHO_T}yes" >&6
3849 echo "$as_me:$LINENO: result: no" >&5
3850 echo "${ECHO_T}no" >&6
3855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3856 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3858 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3859 if test "${enable_no_rtti+set}" = set; then
3860 enableval
="$enable_no_rtti"
3862 if test "$enableval" = yes; then
3863 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3865 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3870 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3871 if test "x$LINE" != x
; then
3872 eval "DEFAULT_$LINE"
3877 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3881 eval "$ac_cv_use_no_rtti"
3882 if test "$no_cache" != 1; then
3883 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3886 if test "$wxUSE_NO_RTTI" = yes; then
3887 echo "$as_me:$LINENO: result: yes" >&5
3888 echo "${ECHO_T}yes" >&6
3890 echo "$as_me:$LINENO: result: no" >&5
3891 echo "${ECHO_T}no" >&6
3896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3897 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3899 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3900 if test "${enable_no_exceptions+set}" = set; then
3901 enableval
="$enable_no_exceptions"
3903 if test "$enableval" = yes; then
3904 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3906 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3911 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3912 if test "x$LINE" != x
; then
3913 eval "DEFAULT_$LINE"
3918 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3922 eval "$ac_cv_use_no_exceptions"
3923 if test "$no_cache" != 1; then
3924 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3927 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3928 echo "$as_me:$LINENO: result: yes" >&5
3929 echo "${ECHO_T}yes" >&6
3931 echo "$as_me:$LINENO: result: no" >&5
3932 echo "${ECHO_T}no" >&6
3937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3938 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3940 # Check whether --enable-permissive or --disable-permissive was given.
3941 if test "${enable_permissive+set}" = set; then
3942 enableval
="$enable_permissive"
3944 if test "$enableval" = yes; then
3945 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3947 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3952 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3953 if test "x$LINE" != x
; then
3954 eval "DEFAULT_$LINE"
3959 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3963 eval "$ac_cv_use_permissive"
3964 if test "$no_cache" != 1; then
3965 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3968 if test "$wxUSE_PERMISSIVE" = yes; then
3969 echo "$as_me:$LINENO: result: yes" >&5
3970 echo "${ECHO_T}yes" >&6
3972 echo "$as_me:$LINENO: result: no" >&5
3973 echo "${ECHO_T}no" >&6
3978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3979 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3981 # Check whether --enable-no_deps or --disable-no_deps was given.
3982 if test "${enable_no_deps+set}" = set; then
3983 enableval
="$enable_no_deps"
3985 if test "$enableval" = yes; then
3986 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3988 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
3993 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3994 if test "x$LINE" != x
; then
3995 eval "DEFAULT_$LINE"
4000 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4004 eval "$ac_cv_use_no_deps"
4005 if test "$no_cache" != 1; then
4006 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4009 if test "$wxUSE_NO_DEPS" = yes; then
4010 echo "$as_me:$LINENO: result: yes" >&5
4011 echo "${ECHO_T}yes" >&6
4013 echo "$as_me:$LINENO: result: no" >&5
4014 echo "${ECHO_T}no" >&6
4020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4021 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4023 # Check whether --enable-compat22 or --disable-compat22 was given.
4024 if test "${enable_compat22+set}" = set; then
4025 enableval
="$enable_compat22"
4027 if test "$enableval" = yes; then
4028 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4030 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4035 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4036 if test "x$LINE" != x
; then
4037 eval "DEFAULT_$LINE"
4042 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4046 eval "$ac_cv_use_compat22"
4047 if test "$no_cache" != 1; then
4048 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4051 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4052 echo "$as_me:$LINENO: result: yes" >&5
4053 echo "${ECHO_T}yes" >&6
4055 echo "$as_me:$LINENO: result: no" >&5
4056 echo "${ECHO_T}no" >&6
4060 enablestring
=disable
4061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4062 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4064 # Check whether --enable-compat24 or --disable-compat24 was given.
4065 if test "${enable_compat24+set}" = set; then
4066 enableval
="$enable_compat24"
4068 if test "$enableval" = yes; then
4069 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4071 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4076 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4077 if test "x$LINE" != x
; then
4078 eval "DEFAULT_$LINE"
4083 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4087 eval "$ac_cv_use_compat24"
4088 if test "$no_cache" != 1; then
4089 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4092 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4093 echo "$as_me:$LINENO: result: yes" >&5
4094 echo "${ECHO_T}yes" >&6
4096 echo "$as_me:$LINENO: result: no" >&5
4097 echo "${ECHO_T}no" >&6
4101 # Check whether --enable-rpath or --disable-rpath was given.
4102 if test "${enable_rpath+set}" = set; then
4103 enableval
="$enable_rpath"
4104 wxRPATH_DIR
="$enableval"
4107 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable" -a "$wxRPATH_DIR" != "no"; then
4108 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
4115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4116 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4118 # Check whether --enable-intl or --disable-intl was given.
4119 if test "${enable_intl+set}" = set; then
4120 enableval
="$enable_intl"
4122 if test "$enableval" = yes; then
4123 ac_cv_use_intl
='wxUSE_INTL=yes'
4125 ac_cv_use_intl
='wxUSE_INTL=no'
4130 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4131 if test "x$LINE" != x
; then
4132 eval "DEFAULT_$LINE"
4137 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4141 eval "$ac_cv_use_intl"
4142 if test "$no_cache" != 1; then
4143 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4146 if test "$wxUSE_INTL" = yes; then
4147 echo "$as_me:$LINENO: result: yes" >&5
4148 echo "${ECHO_T}yes" >&6
4150 echo "$as_me:$LINENO: result: no" >&5
4151 echo "${ECHO_T}no" >&6
4156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4157 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4159 # Check whether --enable-config or --disable-config was given.
4160 if test "${enable_config+set}" = set; then
4161 enableval
="$enable_config"
4163 if test "$enableval" = yes; then
4164 ac_cv_use_config
='wxUSE_CONFIG=yes'
4166 ac_cv_use_config
='wxUSE_CONFIG=no'
4171 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4172 if test "x$LINE" != x
; then
4173 eval "DEFAULT_$LINE"
4178 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4182 eval "$ac_cv_use_config"
4183 if test "$no_cache" != 1; then
4184 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4187 if test "$wxUSE_CONFIG" = yes; then
4188 echo "$as_me:$LINENO: result: yes" >&5
4189 echo "${ECHO_T}yes" >&6
4191 echo "$as_me:$LINENO: result: no" >&5
4192 echo "${ECHO_T}no" >&6
4198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4199 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4201 # Check whether --enable-protocols or --disable-protocols was given.
4202 if test "${enable_protocols+set}" = set; then
4203 enableval
="$enable_protocols"
4205 if test "$enableval" = yes; then
4206 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4208 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4213 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4214 if test "x$LINE" != x
; then
4215 eval "DEFAULT_$LINE"
4220 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4224 eval "$ac_cv_use_protocols"
4225 if test "$no_cache" != 1; then
4226 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4229 if test "$wxUSE_PROTOCOL" = yes; then
4230 echo "$as_me:$LINENO: result: yes" >&5
4231 echo "${ECHO_T}yes" >&6
4233 echo "$as_me:$LINENO: result: no" >&5
4234 echo "${ECHO_T}no" >&6
4239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4240 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4242 # Check whether --enable-ftp or --disable-ftp was given.
4243 if test "${enable_ftp+set}" = set; then
4244 enableval
="$enable_ftp"
4246 if test "$enableval" = yes; then
4247 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4249 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4254 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4255 if test "x$LINE" != x
; then
4256 eval "DEFAULT_$LINE"
4261 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4265 eval "$ac_cv_use_ftp"
4266 if test "$no_cache" != 1; then
4267 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4270 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4271 echo "$as_me:$LINENO: result: yes" >&5
4272 echo "${ECHO_T}yes" >&6
4274 echo "$as_me:$LINENO: result: no" >&5
4275 echo "${ECHO_T}no" >&6
4280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4281 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4283 # Check whether --enable-http or --disable-http was given.
4284 if test "${enable_http+set}" = set; then
4285 enableval
="$enable_http"
4287 if test "$enableval" = yes; then
4288 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4290 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4295 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4296 if test "x$LINE" != x
; then
4297 eval "DEFAULT_$LINE"
4302 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4306 eval "$ac_cv_use_http"
4307 if test "$no_cache" != 1; then
4308 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4311 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4312 echo "$as_me:$LINENO: result: yes" >&5
4313 echo "${ECHO_T}yes" >&6
4315 echo "$as_me:$LINENO: result: no" >&5
4316 echo "${ECHO_T}no" >&6
4321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4322 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4324 # Check whether --enable-fileproto or --disable-fileproto was given.
4325 if test "${enable_fileproto+set}" = set; then
4326 enableval
="$enable_fileproto"
4328 if test "$enableval" = yes; then
4329 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4331 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4336 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4337 if test "x$LINE" != x
; then
4338 eval "DEFAULT_$LINE"
4343 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4347 eval "$ac_cv_use_fileproto"
4348 if test "$no_cache" != 1; then
4349 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4352 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4353 echo "$as_me:$LINENO: result: yes" >&5
4354 echo "${ECHO_T}yes" >&6
4356 echo "$as_me:$LINENO: result: no" >&5
4357 echo "${ECHO_T}no" >&6
4362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4363 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4365 # Check whether --enable-sockets or --disable-sockets was given.
4366 if test "${enable_sockets+set}" = set; then
4367 enableval
="$enable_sockets"
4369 if test "$enableval" = yes; then
4370 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4372 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4377 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4378 if test "x$LINE" != x
; then
4379 eval "DEFAULT_$LINE"
4384 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4388 eval "$ac_cv_use_sockets"
4389 if test "$no_cache" != 1; then
4390 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4393 if test "$wxUSE_SOCKETS" = yes; then
4394 echo "$as_me:$LINENO: result: yes" >&5
4395 echo "${ECHO_T}yes" >&6
4397 echo "$as_me:$LINENO: result: no" >&5
4398 echo "${ECHO_T}no" >&6
4403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4404 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4406 # Check whether --enable-ole or --disable-ole was given.
4407 if test "${enable_ole+set}" = set; then
4408 enableval
="$enable_ole"
4410 if test "$enableval" = yes; then
4411 ac_cv_use_ole
='wxUSE_OLE=yes'
4413 ac_cv_use_ole
='wxUSE_OLE=no'
4418 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4419 if test "x$LINE" != x
; then
4420 eval "DEFAULT_$LINE"
4425 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4429 eval "$ac_cv_use_ole"
4430 if test "$no_cache" != 1; then
4431 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4434 if test "$wxUSE_OLE" = yes; then
4435 echo "$as_me:$LINENO: result: yes" >&5
4436 echo "${ECHO_T}yes" >&6
4438 echo "$as_me:$LINENO: result: no" >&5
4439 echo "${ECHO_T}no" >&6
4444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4445 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4447 # Check whether --enable-dataobj or --disable-dataobj was given.
4448 if test "${enable_dataobj+set}" = set; then
4449 enableval
="$enable_dataobj"
4451 if test "$enableval" = yes; then
4452 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4454 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4459 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4460 if test "x$LINE" != x
; then
4461 eval "DEFAULT_$LINE"
4466 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4470 eval "$ac_cv_use_dataobj"
4471 if test "$no_cache" != 1; then
4472 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4475 if test "$wxUSE_DATAOBJ" = yes; then
4476 echo "$as_me:$LINENO: result: yes" >&5
4477 echo "${ECHO_T}yes" >&6
4479 echo "$as_me:$LINENO: result: no" >&5
4480 echo "${ECHO_T}no" >&6
4486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4487 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4489 # Check whether --enable-ipc or --disable-ipc was given.
4490 if test "${enable_ipc+set}" = set; then
4491 enableval
="$enable_ipc"
4493 if test "$enableval" = yes; then
4494 ac_cv_use_ipc
='wxUSE_IPC=yes'
4496 ac_cv_use_ipc
='wxUSE_IPC=no'
4501 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4502 if test "x$LINE" != x
; then
4503 eval "DEFAULT_$LINE"
4508 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4512 eval "$ac_cv_use_ipc"
4513 if test "$no_cache" != 1; then
4514 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4517 if test "$wxUSE_IPC" = yes; then
4518 echo "$as_me:$LINENO: result: yes" >&5
4519 echo "${ECHO_T}yes" >&6
4521 echo "$as_me:$LINENO: result: no" >&5
4522 echo "${ECHO_T}no" >&6
4528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4529 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4531 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4532 if test "${enable_apple_ieee+set}" = set; then
4533 enableval
="$enable_apple_ieee"
4535 if test "$enableval" = yes; then
4536 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4538 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4543 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4544 if test "x$LINE" != x
; then
4545 eval "DEFAULT_$LINE"
4550 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4554 eval "$ac_cv_use_apple_ieee"
4555 if test "$no_cache" != 1; then
4556 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4559 if test "$wxUSE_APPLE_IEEE" = yes; then
4560 echo "$as_me:$LINENO: result: yes" >&5
4561 echo "${ECHO_T}yes" >&6
4563 echo "$as_me:$LINENO: result: no" >&5
4564 echo "${ECHO_T}no" >&6
4569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4570 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4572 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4573 if test "${enable_catch_segvs+set}" = set; then
4574 enableval
="$enable_catch_segvs"
4576 if test "$enableval" = yes; then
4577 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4579 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4584 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4585 if test "x$LINE" != x
; then
4586 eval "DEFAULT_$LINE"
4591 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4595 eval "$ac_cv_use_catch_segvs"
4596 if test "$no_cache" != 1; then
4597 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4600 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4601 echo "$as_me:$LINENO: result: yes" >&5
4602 echo "${ECHO_T}yes" >&6
4604 echo "$as_me:$LINENO: result: no" >&5
4605 echo "${ECHO_T}no" >&6
4610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4611 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4613 # Check whether --enable-cmdline or --disable-cmdline was given.
4614 if test "${enable_cmdline+set}" = set; then
4615 enableval
="$enable_cmdline"
4617 if test "$enableval" = yes; then
4618 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4620 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4625 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4626 if test "x$LINE" != x
; then
4627 eval "DEFAULT_$LINE"
4632 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4636 eval "$ac_cv_use_cmdline"
4637 if test "$no_cache" != 1; then
4638 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4641 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4642 echo "$as_me:$LINENO: result: yes" >&5
4643 echo "${ECHO_T}yes" >&6
4645 echo "$as_me:$LINENO: result: no" >&5
4646 echo "${ECHO_T}no" >&6
4651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4652 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4654 # Check whether --enable-datetime or --disable-datetime was given.
4655 if test "${enable_datetime+set}" = set; then
4656 enableval
="$enable_datetime"
4658 if test "$enableval" = yes; then
4659 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4661 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4666 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4667 if test "x$LINE" != x
; then
4668 eval "DEFAULT_$LINE"
4673 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4677 eval "$ac_cv_use_datetime"
4678 if test "$no_cache" != 1; then
4679 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4682 if test "$wxUSE_DATETIME" = yes; then
4683 echo "$as_me:$LINENO: result: yes" >&5
4684 echo "${ECHO_T}yes" >&6
4686 echo "$as_me:$LINENO: result: no" >&5
4687 echo "${ECHO_T}no" >&6
4692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4693 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4695 # Check whether --enable-dialupman or --disable-dialupman was given.
4696 if test "${enable_dialupman+set}" = set; then
4697 enableval
="$enable_dialupman"
4699 if test "$enableval" = yes; then
4700 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4702 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4707 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4708 if test "x$LINE" != x
; then
4709 eval "DEFAULT_$LINE"
4714 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4718 eval "$ac_cv_use_dialupman"
4719 if test "$no_cache" != 1; then
4720 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4723 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4724 echo "$as_me:$LINENO: result: yes" >&5
4725 echo "${ECHO_T}yes" >&6
4727 echo "$as_me:$LINENO: result: no" >&5
4728 echo "${ECHO_T}no" >&6
4733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4734 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4736 # Check whether --enable-dynlib or --disable-dynlib was given.
4737 if test "${enable_dynlib+set}" = set; then
4738 enableval
="$enable_dynlib"
4740 if test "$enableval" = yes; then
4741 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4743 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4748 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4749 if test "x$LINE" != x
; then
4750 eval "DEFAULT_$LINE"
4755 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4759 eval "$ac_cv_use_dynlib"
4760 if test "$no_cache" != 1; then
4761 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4764 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4765 echo "$as_me:$LINENO: result: yes" >&5
4766 echo "${ECHO_T}yes" >&6
4768 echo "$as_me:$LINENO: result: no" >&5
4769 echo "${ECHO_T}no" >&6
4774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4775 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4777 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4778 if test "${enable_dynamicloader+set}" = set; then
4779 enableval
="$enable_dynamicloader"
4781 if test "$enableval" = yes; then
4782 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4784 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4789 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4790 if test "x$LINE" != x
; then
4791 eval "DEFAULT_$LINE"
4796 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4800 eval "$ac_cv_use_dynamicloader"
4801 if test "$no_cache" != 1; then
4802 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4805 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4806 echo "$as_me:$LINENO: result: yes" >&5
4807 echo "${ECHO_T}yes" >&6
4809 echo "$as_me:$LINENO: result: no" >&5
4810 echo "${ECHO_T}no" >&6
4815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4816 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4818 # Check whether --enable-exceptions or --disable-exceptions was given.
4819 if test "${enable_exceptions+set}" = set; then
4820 enableval
="$enable_exceptions"
4822 if test "$enableval" = yes; then
4823 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4825 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4830 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4831 if test "x$LINE" != x
; then
4832 eval "DEFAULT_$LINE"
4837 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4841 eval "$ac_cv_use_exceptions"
4842 if test "$no_cache" != 1; then
4843 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4846 if test "$wxUSE_EXCEPTIONS" = yes; then
4847 echo "$as_me:$LINENO: result: yes" >&5
4848 echo "${ECHO_T}yes" >&6
4850 echo "$as_me:$LINENO: result: no" >&5
4851 echo "${ECHO_T}no" >&6
4856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4857 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4859 # Check whether --enable-ffile or --disable-ffile was given.
4860 if test "${enable_ffile+set}" = set; then
4861 enableval
="$enable_ffile"
4863 if test "$enableval" = yes; then
4864 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4866 ac_cv_use_ffile
='wxUSE_FFILE=no'
4871 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4872 if test "x$LINE" != x
; then
4873 eval "DEFAULT_$LINE"
4878 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4882 eval "$ac_cv_use_ffile"
4883 if test "$no_cache" != 1; then
4884 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4887 if test "$wxUSE_FFILE" = yes; then
4888 echo "$as_me:$LINENO: result: yes" >&5
4889 echo "${ECHO_T}yes" >&6
4891 echo "$as_me:$LINENO: result: no" >&5
4892 echo "${ECHO_T}no" >&6
4897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4898 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4900 # Check whether --enable-file or --disable-file was given.
4901 if test "${enable_file+set}" = set; then
4902 enableval
="$enable_file"
4904 if test "$enableval" = yes; then
4905 ac_cv_use_file
='wxUSE_FILE=yes'
4907 ac_cv_use_file
='wxUSE_FILE=no'
4912 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4913 if test "x$LINE" != x
; then
4914 eval "DEFAULT_$LINE"
4919 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4923 eval "$ac_cv_use_file"
4924 if test "$no_cache" != 1; then
4925 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4928 if test "$wxUSE_FILE" = yes; then
4929 echo "$as_me:$LINENO: result: yes" >&5
4930 echo "${ECHO_T}yes" >&6
4932 echo "$as_me:$LINENO: result: no" >&5
4933 echo "${ECHO_T}no" >&6
4938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4939 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4941 # Check whether --enable-filesystem or --disable-filesystem was given.
4942 if test "${enable_filesystem+set}" = set; then
4943 enableval
="$enable_filesystem"
4945 if test "$enableval" = yes; then
4946 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4948 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4953 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4954 if test "x$LINE" != x
; then
4955 eval "DEFAULT_$LINE"
4960 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4964 eval "$ac_cv_use_filesystem"
4965 if test "$no_cache" != 1; then
4966 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4969 if test "$wxUSE_FILESYSTEM" = yes; then
4970 echo "$as_me:$LINENO: result: yes" >&5
4971 echo "${ECHO_T}yes" >&6
4973 echo "$as_me:$LINENO: result: no" >&5
4974 echo "${ECHO_T}no" >&6
4979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4980 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4982 # Check whether --enable-fontmap or --disable-fontmap was given.
4983 if test "${enable_fontmap+set}" = set; then
4984 enableval
="$enable_fontmap"
4986 if test "$enableval" = yes; then
4987 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4989 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4994 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4995 if test "x$LINE" != x
; then
4996 eval "DEFAULT_$LINE"
5001 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5005 eval "$ac_cv_use_fontmap"
5006 if test "$no_cache" != 1; then
5007 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5010 if test "$wxUSE_FONTMAP" = yes; then
5011 echo "$as_me:$LINENO: result: yes" >&5
5012 echo "${ECHO_T}yes" >&6
5014 echo "$as_me:$LINENO: result: no" >&5
5015 echo "${ECHO_T}no" >&6
5020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5021 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5023 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5024 if test "${enable_fs_inet+set}" = set; then
5025 enableval
="$enable_fs_inet"
5027 if test "$enableval" = yes; then
5028 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5030 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5035 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5036 if test "x$LINE" != x
; then
5037 eval "DEFAULT_$LINE"
5042 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5046 eval "$ac_cv_use_fs_inet"
5047 if test "$no_cache" != 1; then
5048 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5051 if test "$wxUSE_FS_INET" = yes; then
5052 echo "$as_me:$LINENO: result: yes" >&5
5053 echo "${ECHO_T}yes" >&6
5055 echo "$as_me:$LINENO: result: no" >&5
5056 echo "${ECHO_T}no" >&6
5061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5062 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5064 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5065 if test "${enable_fs_zip+set}" = set; then
5066 enableval
="$enable_fs_zip"
5068 if test "$enableval" = yes; then
5069 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5071 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5076 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5077 if test "x$LINE" != x
; then
5078 eval "DEFAULT_$LINE"
5083 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5087 eval "$ac_cv_use_fs_zip"
5088 if test "$no_cache" != 1; then
5089 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5092 if test "$wxUSE_FS_ZIP" = yes; then
5093 echo "$as_me:$LINENO: result: yes" >&5
5094 echo "${ECHO_T}yes" >&6
5096 echo "$as_me:$LINENO: result: no" >&5
5097 echo "${ECHO_T}no" >&6
5102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5103 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5105 # Check whether --enable-geometry or --disable-geometry was given.
5106 if test "${enable_geometry+set}" = set; then
5107 enableval
="$enable_geometry"
5109 if test "$enableval" = yes; then
5110 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5112 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5117 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5118 if test "x$LINE" != x
; then
5119 eval "DEFAULT_$LINE"
5124 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5128 eval "$ac_cv_use_geometry"
5129 if test "$no_cache" != 1; then
5130 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5133 if test "$wxUSE_GEOMETRY" = yes; then
5134 echo "$as_me:$LINENO: result: yes" >&5
5135 echo "${ECHO_T}yes" >&6
5137 echo "$as_me:$LINENO: result: no" >&5
5138 echo "${ECHO_T}no" >&6
5143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5144 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5146 # Check whether --enable-log or --disable-log was given.
5147 if test "${enable_log+set}" = set; then
5148 enableval
="$enable_log"
5150 if test "$enableval" = yes; then
5151 ac_cv_use_log
='wxUSE_LOG=yes'
5153 ac_cv_use_log
='wxUSE_LOG=no'
5158 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5159 if test "x$LINE" != x
; then
5160 eval "DEFAULT_$LINE"
5165 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5169 eval "$ac_cv_use_log"
5170 if test "$no_cache" != 1; then
5171 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5174 if test "$wxUSE_LOG" = yes; then
5175 echo "$as_me:$LINENO: result: yes" >&5
5176 echo "${ECHO_T}yes" >&6
5178 echo "$as_me:$LINENO: result: no" >&5
5179 echo "${ECHO_T}no" >&6
5184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5185 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5187 # Check whether --enable-longlong or --disable-longlong was given.
5188 if test "${enable_longlong+set}" = set; then
5189 enableval
="$enable_longlong"
5191 if test "$enableval" = yes; then
5192 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5194 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5199 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5200 if test "x$LINE" != x
; then
5201 eval "DEFAULT_$LINE"
5206 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5210 eval "$ac_cv_use_longlong"
5211 if test "$no_cache" != 1; then
5212 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5215 if test "$wxUSE_LONGLONG" = yes; then
5216 echo "$as_me:$LINENO: result: yes" >&5
5217 echo "${ECHO_T}yes" >&6
5219 echo "$as_me:$LINENO: result: no" >&5
5220 echo "${ECHO_T}no" >&6
5225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5226 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5228 # Check whether --enable-mimetype or --disable-mimetype was given.
5229 if test "${enable_mimetype+set}" = set; then
5230 enableval
="$enable_mimetype"
5232 if test "$enableval" = yes; then
5233 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5235 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5240 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5241 if test "x$LINE" != x
; then
5242 eval "DEFAULT_$LINE"
5247 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5251 eval "$ac_cv_use_mimetype"
5252 if test "$no_cache" != 1; then
5253 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5256 if test "$wxUSE_MIMETYPE" = yes; then
5257 echo "$as_me:$LINENO: result: yes" >&5
5258 echo "${ECHO_T}yes" >&6
5260 echo "$as_me:$LINENO: result: no" >&5
5261 echo "${ECHO_T}no" >&6
5266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5267 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5269 # Check whether --enable-mslu or --disable-mslu was given.
5270 if test "${enable_mslu+set}" = set; then
5271 enableval
="$enable_mslu"
5273 if test "$enableval" = yes; then
5274 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5276 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5281 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5282 if test "x$LINE" != x
; then
5283 eval "DEFAULT_$LINE"
5288 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5292 eval "$ac_cv_use_mslu"
5293 if test "$no_cache" != 1; then
5294 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5297 if test "$wxUSE_UNICODE_MSLU" = yes; then
5298 echo "$as_me:$LINENO: result: yes" >&5
5299 echo "${ECHO_T}yes" >&6
5301 echo "$as_me:$LINENO: result: no" >&5
5302 echo "${ECHO_T}no" >&6
5307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5308 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5310 # Check whether --enable-snglinst or --disable-snglinst was given.
5311 if test "${enable_snglinst+set}" = set; then
5312 enableval
="$enable_snglinst"
5314 if test "$enableval" = yes; then
5315 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5317 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5322 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5323 if test "x$LINE" != x
; then
5324 eval "DEFAULT_$LINE"
5329 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5333 eval "$ac_cv_use_snglinst"
5334 if test "$no_cache" != 1; then
5335 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5338 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5339 echo "$as_me:$LINENO: result: yes" >&5
5340 echo "${ECHO_T}yes" >&6
5342 echo "$as_me:$LINENO: result: no" >&5
5343 echo "${ECHO_T}no" >&6
5348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5349 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5351 # Check whether --enable-streams or --disable-streams was given.
5352 if test "${enable_streams+set}" = set; then
5353 enableval
="$enable_streams"
5355 if test "$enableval" = yes; then
5356 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5358 ac_cv_use_streams
='wxUSE_STREAMS=no'
5363 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5364 if test "x$LINE" != x
; then
5365 eval "DEFAULT_$LINE"
5370 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5374 eval "$ac_cv_use_streams"
5375 if test "$no_cache" != 1; then
5376 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5379 if test "$wxUSE_STREAMS" = yes; then
5380 echo "$as_me:$LINENO: result: yes" >&5
5381 echo "${ECHO_T}yes" >&6
5383 echo "$as_me:$LINENO: result: no" >&5
5384 echo "${ECHO_T}no" >&6
5389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5390 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5392 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5393 if test "${enable_std_iostreams+set}" = set; then
5394 enableval
="$enable_std_iostreams"
5396 if test "$enableval" = yes; then
5397 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5399 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5404 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5405 if test "x$LINE" != x
; then
5406 eval "DEFAULT_$LINE"
5411 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5415 eval "$ac_cv_use_std_iostreams"
5416 if test "$no_cache" != 1; then
5417 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5420 if test "$wxUSE_STD_IOSTREAM" = yes; then
5421 echo "$as_me:$LINENO: result: yes" >&5
5422 echo "${ECHO_T}yes" >&6
5424 echo "$as_me:$LINENO: result: no" >&5
5425 echo "${ECHO_T}no" >&6
5430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5431 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5433 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5434 if test "${enable_stopwatch+set}" = set; then
5435 enableval
="$enable_stopwatch"
5437 if test "$enableval" = yes; then
5438 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5440 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5445 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5446 if test "x$LINE" != x
; then
5447 eval "DEFAULT_$LINE"
5452 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5456 eval "$ac_cv_use_stopwatch"
5457 if test "$no_cache" != 1; then
5458 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5461 if test "$wxUSE_STOPWATCH" = yes; then
5462 echo "$as_me:$LINENO: result: yes" >&5
5463 echo "${ECHO_T}yes" >&6
5465 echo "$as_me:$LINENO: result: no" >&5
5466 echo "${ECHO_T}no" >&6
5471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5472 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5474 # Check whether --enable-system_options or --disable-system_options was given.
5475 if test "${enable_system_options+set}" = set; then
5476 enableval
="$enable_system_options"
5478 if test "$enableval" = yes; then
5479 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5481 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5486 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5487 if test "x$LINE" != x
; then
5488 eval "DEFAULT_$LINE"
5493 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5497 eval "$ac_cv_use_system_options"
5498 if test "$no_cache" != 1; then
5499 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5502 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5503 echo "$as_me:$LINENO: result: yes" >&5
5504 echo "${ECHO_T}yes" >&6
5506 echo "$as_me:$LINENO: result: no" >&5
5507 echo "${ECHO_T}no" >&6
5512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5513 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5515 # Check whether --enable-textbuf or --disable-textbuf was given.
5516 if test "${enable_textbuf+set}" = set; then
5517 enableval
="$enable_textbuf"
5519 if test "$enableval" = yes; then
5520 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5522 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5527 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5528 if test "x$LINE" != x
; then
5529 eval "DEFAULT_$LINE"
5534 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5538 eval "$ac_cv_use_textbuf"
5539 if test "$no_cache" != 1; then
5540 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5543 if test "$wxUSE_TEXTBUFFER" = yes; then
5544 echo "$as_me:$LINENO: result: yes" >&5
5545 echo "${ECHO_T}yes" >&6
5547 echo "$as_me:$LINENO: result: no" >&5
5548 echo "${ECHO_T}no" >&6
5553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5554 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5556 # Check whether --enable-textfile or --disable-textfile was given.
5557 if test "${enable_textfile+set}" = set; then
5558 enableval
="$enable_textfile"
5560 if test "$enableval" = yes; then
5561 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5563 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5568 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5569 if test "x$LINE" != x
; then
5570 eval "DEFAULT_$LINE"
5575 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5579 eval "$ac_cv_use_textfile"
5580 if test "$no_cache" != 1; then
5581 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5584 if test "$wxUSE_TEXTFILE" = yes; then
5585 echo "$as_me:$LINENO: result: yes" >&5
5586 echo "${ECHO_T}yes" >&6
5588 echo "$as_me:$LINENO: result: no" >&5
5589 echo "${ECHO_T}no" >&6
5594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5595 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5597 # Check whether --enable-timer or --disable-timer was given.
5598 if test "${enable_timer+set}" = set; then
5599 enableval
="$enable_timer"
5601 if test "$enableval" = yes; then
5602 ac_cv_use_timer
='wxUSE_TIMER=yes'
5604 ac_cv_use_timer
='wxUSE_TIMER=no'
5609 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5610 if test "x$LINE" != x
; then
5611 eval "DEFAULT_$LINE"
5616 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5620 eval "$ac_cv_use_timer"
5621 if test "$no_cache" != 1; then
5622 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5625 if test "$wxUSE_TIMER" = yes; then
5626 echo "$as_me:$LINENO: result: yes" >&5
5627 echo "${ECHO_T}yes" >&6
5629 echo "$as_me:$LINENO: result: no" >&5
5630 echo "${ECHO_T}no" >&6
5635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5636 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5638 # Check whether --enable-unicode or --disable-unicode was given.
5639 if test "${enable_unicode+set}" = set; then
5640 enableval
="$enable_unicode"
5642 if test "$enableval" = yes; then
5643 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5645 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5650 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5651 if test "x$LINE" != x
; then
5652 eval "DEFAULT_$LINE"
5657 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5661 eval "$ac_cv_use_unicode"
5662 if test "$no_cache" != 1; then
5663 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5666 if test "$wxUSE_UNICODE" = yes; then
5667 echo "$as_me:$LINENO: result: yes" >&5
5668 echo "${ECHO_T}yes" >&6
5670 echo "$as_me:$LINENO: result: no" >&5
5671 echo "${ECHO_T}no" >&6
5676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5677 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5679 # Check whether --enable-sound or --disable-sound was given.
5680 if test "${enable_sound+set}" = set; then
5681 enableval
="$enable_sound"
5683 if test "$enableval" = yes; then
5684 ac_cv_use_sound
='wxUSE_SOUND=yes'
5686 ac_cv_use_sound
='wxUSE_SOUND=no'
5691 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5692 if test "x$LINE" != x
; then
5693 eval "DEFAULT_$LINE"
5698 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5702 eval "$ac_cv_use_sound"
5703 if test "$no_cache" != 1; then
5704 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5707 if test "$wxUSE_SOUND" = yes; then
5708 echo "$as_me:$LINENO: result: yes" >&5
5709 echo "${ECHO_T}yes" >&6
5711 echo "$as_me:$LINENO: result: no" >&5
5712 echo "${ECHO_T}no" >&6
5717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5718 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5720 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5721 if test "${enable_wxprintfv+set}" = set; then
5722 enableval
="$enable_wxprintfv"
5724 if test "$enableval" = yes; then
5725 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5727 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5732 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5733 if test "x$LINE" != x
; then
5734 eval "DEFAULT_$LINE"
5739 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5743 eval "$ac_cv_use_wxprintfv"
5744 if test "$no_cache" != 1; then
5745 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5748 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5749 echo "$as_me:$LINENO: result: yes" >&5
5750 echo "${ECHO_T}yes" >&6
5752 echo "$as_me:$LINENO: result: no" >&5
5753 echo "${ECHO_T}no" >&6
5758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5759 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5761 # Check whether --enable-zipstream or --disable-zipstream was given.
5762 if test "${enable_zipstream+set}" = set; then
5763 enableval
="$enable_zipstream"
5765 if test "$enableval" = yes; then
5766 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5768 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5773 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5774 if test "x$LINE" != x
; then
5775 eval "DEFAULT_$LINE"
5780 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5784 eval "$ac_cv_use_zipstream"
5785 if test "$no_cache" != 1; then
5786 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5789 if test "$wxUSE_ZIPSTREAM" = yes; then
5790 echo "$as_me:$LINENO: result: yes" >&5
5791 echo "${ECHO_T}yes" >&6
5793 echo "$as_me:$LINENO: result: no" >&5
5794 echo "${ECHO_T}no" >&6
5800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5801 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5803 # Check whether --enable-url or --disable-url was given.
5804 if test "${enable_url+set}" = set; then
5805 enableval
="$enable_url"
5807 if test "$enableval" = yes; then
5808 ac_cv_use_url
='wxUSE_URL=yes'
5810 ac_cv_use_url
='wxUSE_URL=no'
5815 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5816 if test "x$LINE" != x
; then
5817 eval "DEFAULT_$LINE"
5822 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5826 eval "$ac_cv_use_url"
5827 if test "$no_cache" != 1; then
5828 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5831 if test "$wxUSE_URL" = yes; then
5832 echo "$as_me:$LINENO: result: yes" >&5
5833 echo "${ECHO_T}yes" >&6
5835 echo "$as_me:$LINENO: result: no" >&5
5836 echo "${ECHO_T}no" >&6
5841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5842 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5844 # Check whether --enable-protocol or --disable-protocol was given.
5845 if test "${enable_protocol+set}" = set; then
5846 enableval
="$enable_protocol"
5848 if test "$enableval" = yes; then
5849 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5851 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5856 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5857 if test "x$LINE" != x
; then
5858 eval "DEFAULT_$LINE"
5863 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5867 eval "$ac_cv_use_protocol"
5868 if test "$no_cache" != 1; then
5869 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5872 if test "$wxUSE_PROTOCOL" = yes; then
5873 echo "$as_me:$LINENO: result: yes" >&5
5874 echo "${ECHO_T}yes" >&6
5876 echo "$as_me:$LINENO: result: no" >&5
5877 echo "${ECHO_T}no" >&6
5882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5883 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5885 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5886 if test "${enable_protocol_http+set}" = set; then
5887 enableval
="$enable_protocol_http"
5889 if test "$enableval" = yes; then
5890 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5892 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5897 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5898 if test "x$LINE" != x
; then
5899 eval "DEFAULT_$LINE"
5904 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5908 eval "$ac_cv_use_protocol_http"
5909 if test "$no_cache" != 1; then
5910 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5913 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5914 echo "$as_me:$LINENO: result: yes" >&5
5915 echo "${ECHO_T}yes" >&6
5917 echo "$as_me:$LINENO: result: no" >&5
5918 echo "${ECHO_T}no" >&6
5923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5924 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5926 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5927 if test "${enable_protocol_ftp+set}" = set; then
5928 enableval
="$enable_protocol_ftp"
5930 if test "$enableval" = yes; then
5931 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5933 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5938 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5939 if test "x$LINE" != x
; then
5940 eval "DEFAULT_$LINE"
5945 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5949 eval "$ac_cv_use_protocol_ftp"
5950 if test "$no_cache" != 1; then
5951 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5954 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5955 echo "$as_me:$LINENO: result: yes" >&5
5956 echo "${ECHO_T}yes" >&6
5958 echo "$as_me:$LINENO: result: no" >&5
5959 echo "${ECHO_T}no" >&6
5964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5965 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5967 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5968 if test "${enable_protocol_file+set}" = set; then
5969 enableval
="$enable_protocol_file"
5971 if test "$enableval" = yes; then
5972 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
5974 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
5979 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5980 if test "x$LINE" != x
; then
5981 eval "DEFAULT_$LINE"
5986 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5990 eval "$ac_cv_use_protocol_file"
5991 if test "$no_cache" != 1; then
5992 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5995 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5996 echo "$as_me:$LINENO: result: yes" >&5
5997 echo "${ECHO_T}yes" >&6
5999 echo "$as_me:$LINENO: result: no" >&5
6000 echo "${ECHO_T}no" >&6
6008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6009 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6011 # Check whether --enable-threads or --disable-threads was given.
6012 if test "${enable_threads+set}" = set; then
6013 enableval
="$enable_threads"
6015 if test "$enableval" = yes; then
6016 ac_cv_use_threads
='wxUSE_THREADS=yes'
6018 ac_cv_use_threads
='wxUSE_THREADS=no'
6023 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6024 if test "x$LINE" != x
; then
6025 eval "DEFAULT_$LINE"
6030 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6034 eval "$ac_cv_use_threads"
6035 if test "$no_cache" != 1; then
6036 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6039 if test "$wxUSE_THREADS" = yes; then
6040 echo "$as_me:$LINENO: result: yes" >&5
6041 echo "${ECHO_T}yes" >&6
6043 echo "$as_me:$LINENO: result: no" >&5
6044 echo "${ECHO_T}no" >&6
6048 if test "$wxUSE_GUI" = "yes"; then
6053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6054 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6056 # Check whether --enable-docview or --disable-docview was given.
6057 if test "${enable_docview+set}" = set; then
6058 enableval
="$enable_docview"
6060 if test "$enableval" = yes; then
6061 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6063 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6068 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6069 if test "x$LINE" != x
; then
6070 eval "DEFAULT_$LINE"
6075 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6079 eval "$ac_cv_use_docview"
6080 if test "$no_cache" != 1; then
6081 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6084 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6085 echo "$as_me:$LINENO: result: yes" >&5
6086 echo "${ECHO_T}yes" >&6
6088 echo "$as_me:$LINENO: result: no" >&5
6089 echo "${ECHO_T}no" >&6
6094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6095 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6097 # Check whether --enable-help or --disable-help was given.
6098 if test "${enable_help+set}" = set; then
6099 enableval
="$enable_help"
6101 if test "$enableval" = yes; then
6102 ac_cv_use_help
='wxUSE_HELP=yes'
6104 ac_cv_use_help
='wxUSE_HELP=no'
6109 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6110 if test "x$LINE" != x
; then
6111 eval "DEFAULT_$LINE"
6116 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6120 eval "$ac_cv_use_help"
6121 if test "$no_cache" != 1; then
6122 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6125 if test "$wxUSE_HELP" = yes; then
6126 echo "$as_me:$LINENO: result: yes" >&5
6127 echo "${ECHO_T}yes" >&6
6129 echo "$as_me:$LINENO: result: no" >&5
6130 echo "${ECHO_T}no" >&6
6135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6136 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6138 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6139 if test "${enable_mshtmlhelp+set}" = set; then
6140 enableval
="$enable_mshtmlhelp"
6142 if test "$enableval" = yes; then
6143 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6145 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6150 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6151 if test "x$LINE" != x
; then
6152 eval "DEFAULT_$LINE"
6157 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6161 eval "$ac_cv_use_mshtmlhelp"
6162 if test "$no_cache" != 1; then
6163 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6166 if test "$wxUSE_MS_HTML_HELP" = yes; then
6167 echo "$as_me:$LINENO: result: yes" >&5
6168 echo "${ECHO_T}yes" >&6
6170 echo "$as_me:$LINENO: result: no" >&5
6171 echo "${ECHO_T}no" >&6
6176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6177 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6179 # Check whether --enable-html or --disable-html was given.
6180 if test "${enable_html+set}" = set; then
6181 enableval
="$enable_html"
6183 if test "$enableval" = yes; then
6184 ac_cv_use_html
='wxUSE_HTML=yes'
6186 ac_cv_use_html
='wxUSE_HTML=no'
6191 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6192 if test "x$LINE" != x
; then
6193 eval "DEFAULT_$LINE"
6198 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6202 eval "$ac_cv_use_html"
6203 if test "$no_cache" != 1; then
6204 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6207 if test "$wxUSE_HTML" = yes; then
6208 echo "$as_me:$LINENO: result: yes" >&5
6209 echo "${ECHO_T}yes" >&6
6211 echo "$as_me:$LINENO: result: no" >&5
6212 echo "${ECHO_T}no" >&6
6217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6218 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6220 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6221 if test "${enable_htmlhelp+set}" = set; then
6222 enableval
="$enable_htmlhelp"
6224 if test "$enableval" = yes; then
6225 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6227 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6232 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6233 if test "x$LINE" != x
; then
6234 eval "DEFAULT_$LINE"
6239 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6243 eval "$ac_cv_use_htmlhelp"
6244 if test "$no_cache" != 1; then
6245 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6248 if test "$wxUSE_WXHTML_HELP" = yes; then
6249 echo "$as_me:$LINENO: result: yes" >&5
6250 echo "${ECHO_T}yes" >&6
6252 echo "$as_me:$LINENO: result: no" >&5
6253 echo "${ECHO_T}no" >&6
6258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6259 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6261 # Check whether --enable-constraints or --disable-constraints was given.
6262 if test "${enable_constraints+set}" = set; then
6263 enableval
="$enable_constraints"
6265 if test "$enableval" = yes; then
6266 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6268 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6273 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6274 if test "x$LINE" != x
; then
6275 eval "DEFAULT_$LINE"
6280 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6284 eval "$ac_cv_use_constraints"
6285 if test "$no_cache" != 1; then
6286 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6289 if test "$wxUSE_CONSTRAINTS" = yes; then
6290 echo "$as_me:$LINENO: result: yes" >&5
6291 echo "${ECHO_T}yes" >&6
6293 echo "$as_me:$LINENO: result: no" >&5
6294 echo "${ECHO_T}no" >&6
6299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6300 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6302 # Check whether --enable-printarch or --disable-printarch was given.
6303 if test "${enable_printarch+set}" = set; then
6304 enableval
="$enable_printarch"
6306 if test "$enableval" = yes; then
6307 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6309 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6314 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6315 if test "x$LINE" != x
; then
6316 eval "DEFAULT_$LINE"
6321 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6325 eval "$ac_cv_use_printarch"
6326 if test "$no_cache" != 1; then
6327 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6330 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6331 echo "$as_me:$LINENO: result: yes" >&5
6332 echo "${ECHO_T}yes" >&6
6334 echo "$as_me:$LINENO: result: no" >&5
6335 echo "${ECHO_T}no" >&6
6340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6341 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6343 # Check whether --enable-mdi or --disable-mdi was given.
6344 if test "${enable_mdi+set}" = set; then
6345 enableval
="$enable_mdi"
6347 if test "$enableval" = yes; then
6348 ac_cv_use_mdi
='wxUSE_MDI=yes'
6350 ac_cv_use_mdi
='wxUSE_MDI=no'
6355 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6356 if test "x$LINE" != x
; then
6357 eval "DEFAULT_$LINE"
6362 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6366 eval "$ac_cv_use_mdi"
6367 if test "$no_cache" != 1; then
6368 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6371 if test "$wxUSE_MDI" = yes; then
6372 echo "$as_me:$LINENO: result: yes" >&5
6373 echo "${ECHO_T}yes" >&6
6375 echo "$as_me:$LINENO: result: no" >&5
6376 echo "${ECHO_T}no" >&6
6381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6382 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6384 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6385 if test "${enable_mdidoc+set}" = set; then
6386 enableval
="$enable_mdidoc"
6388 if test "$enableval" = yes; then
6389 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6391 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6396 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6397 if test "x$LINE" != x
; then
6398 eval "DEFAULT_$LINE"
6403 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6407 eval "$ac_cv_use_mdidoc"
6408 if test "$no_cache" != 1; then
6409 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6412 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6413 echo "$as_me:$LINENO: result: yes" >&5
6414 echo "${ECHO_T}yes" >&6
6416 echo "$as_me:$LINENO: result: no" >&5
6417 echo "${ECHO_T}no" >&6
6422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6423 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6425 # Check whether --enable-loggui or --disable-loggui was given.
6426 if test "${enable_loggui+set}" = set; then
6427 enableval
="$enable_loggui"
6429 if test "$enableval" = yes; then
6430 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6432 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6437 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6438 if test "x$LINE" != x
; then
6439 eval "DEFAULT_$LINE"
6444 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6448 eval "$ac_cv_use_loggui"
6449 if test "$no_cache" != 1; then
6450 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6453 if test "$wxUSE_LOGGUI" = yes; then
6454 echo "$as_me:$LINENO: result: yes" >&5
6455 echo "${ECHO_T}yes" >&6
6457 echo "$as_me:$LINENO: result: no" >&5
6458 echo "${ECHO_T}no" >&6
6463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6464 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6466 # Check whether --enable-logwin or --disable-logwin was given.
6467 if test "${enable_logwin+set}" = set; then
6468 enableval
="$enable_logwin"
6470 if test "$enableval" = yes; then
6471 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6473 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6478 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6479 if test "x$LINE" != x
; then
6480 eval "DEFAULT_$LINE"
6485 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6489 eval "$ac_cv_use_logwin"
6490 if test "$no_cache" != 1; then
6491 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6494 if test "$wxUSE_LOGWINDOW" = yes; then
6495 echo "$as_me:$LINENO: result: yes" >&5
6496 echo "${ECHO_T}yes" >&6
6498 echo "$as_me:$LINENO: result: no" >&5
6499 echo "${ECHO_T}no" >&6
6504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6505 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6507 # Check whether --enable-logdialog or --disable-logdialog was given.
6508 if test "${enable_logdialog+set}" = set; then
6509 enableval
="$enable_logdialog"
6511 if test "$enableval" = yes; then
6512 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6514 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6519 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6520 if test "x$LINE" != x
; then
6521 eval "DEFAULT_$LINE"
6526 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6530 eval "$ac_cv_use_logdialog"
6531 if test "$no_cache" != 1; then
6532 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6535 if test "$wxUSE_LOGDIALOG" = yes; then
6536 echo "$as_me:$LINENO: result: yes" >&5
6537 echo "${ECHO_T}yes" >&6
6539 echo "$as_me:$LINENO: result: no" >&5
6540 echo "${ECHO_T}no" >&6
6545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6546 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6548 # Check whether --enable-webkit or --disable-webkit was given.
6549 if test "${enable_webkit+set}" = set; then
6550 enableval
="$enable_webkit"
6552 if test "$enableval" = yes; then
6553 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6555 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6560 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6561 if test "x$LINE" != x
; then
6562 eval "DEFAULT_$LINE"
6567 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6571 eval "$ac_cv_use_webkit"
6572 if test "$no_cache" != 1; then
6573 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6576 if test "$wxUSE_WEBKIT" = yes; then
6577 echo "$as_me:$LINENO: result: yes" >&5
6578 echo "${ECHO_T}yes" >&6
6580 echo "$as_me:$LINENO: result: no" >&5
6581 echo "${ECHO_T}no" >&6
6587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6588 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6590 # Check whether --enable-postscript or --disable-postscript was given.
6591 if test "${enable_postscript+set}" = set; then
6592 enableval
="$enable_postscript"
6594 if test "$enableval" = yes; then
6595 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6597 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6602 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6603 if test "x$LINE" != x
; then
6604 eval "DEFAULT_$LINE"
6609 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6613 eval "$ac_cv_use_postscript"
6614 if test "$no_cache" != 1; then
6615 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6618 if test "$wxUSE_POSTSCRIPT" = yes; then
6619 echo "$as_me:$LINENO: result: yes" >&5
6620 echo "${ECHO_T}yes" >&6
6622 echo "$as_me:$LINENO: result: no" >&5
6623 echo "${ECHO_T}no" >&6
6631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6632 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6634 # Check whether --enable-prologio or --disable-prologio was given.
6635 if test "${enable_prologio+set}" = set; then
6636 enableval
="$enable_prologio"
6638 if test "$enableval" = yes; then
6639 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6641 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6646 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6647 if test "x$LINE" != x
; then
6648 eval "DEFAULT_$LINE"
6653 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6657 eval "$ac_cv_use_prologio"
6658 if test "$no_cache" != 1; then
6659 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6662 if test "$wxUSE_PROLOGIO" = yes; then
6663 echo "$as_me:$LINENO: result: yes" >&5
6664 echo "${ECHO_T}yes" >&6
6666 echo "$as_me:$LINENO: result: no" >&5
6667 echo "${ECHO_T}no" >&6
6672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6673 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6675 # Check whether --enable-resources or --disable-resources was given.
6676 if test "${enable_resources+set}" = set; then
6677 enableval
="$enable_resources"
6679 if test "$enableval" = yes; then
6680 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6682 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6687 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6688 if test "x$LINE" != x
; then
6689 eval "DEFAULT_$LINE"
6694 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6698 eval "$ac_cv_use_resources"
6699 if test "$no_cache" != 1; then
6700 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6703 if test "$wxUSE_RESOURCES" = yes; then
6704 echo "$as_me:$LINENO: result: yes" >&5
6705 echo "${ECHO_T}yes" >&6
6707 echo "$as_me:$LINENO: result: no" >&5
6708 echo "${ECHO_T}no" >&6
6715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6716 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6718 # Check whether --enable-clipboard or --disable-clipboard was given.
6719 if test "${enable_clipboard+set}" = set; then
6720 enableval
="$enable_clipboard"
6722 if test "$enableval" = yes; then
6723 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6725 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6730 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6731 if test "x$LINE" != x
; then
6732 eval "DEFAULT_$LINE"
6737 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6741 eval "$ac_cv_use_clipboard"
6742 if test "$no_cache" != 1; then
6743 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6746 if test "$wxUSE_CLIPBOARD" = yes; then
6747 echo "$as_me:$LINENO: result: yes" >&5
6748 echo "${ECHO_T}yes" >&6
6750 echo "$as_me:$LINENO: result: no" >&5
6751 echo "${ECHO_T}no" >&6
6756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6757 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6759 # Check whether --enable-dnd or --disable-dnd was given.
6760 if test "${enable_dnd+set}" = set; then
6761 enableval
="$enable_dnd"
6763 if test "$enableval" = yes; then
6764 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6766 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6771 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6772 if test "x$LINE" != x
; then
6773 eval "DEFAULT_$LINE"
6778 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6782 eval "$ac_cv_use_dnd"
6783 if test "$no_cache" != 1; then
6784 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6787 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6788 echo "$as_me:$LINENO: result: yes" >&5
6789 echo "${ECHO_T}yes" >&6
6791 echo "$as_me:$LINENO: result: no" >&5
6792 echo "${ECHO_T}no" >&6
6797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6798 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6800 # Check whether --enable-metafile or --disable-metafile was given.
6801 if test "${enable_metafile+set}" = set; then
6802 enableval
="$enable_metafile"
6804 if test "$enableval" = yes; then
6805 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6807 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6812 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6813 if test "x$LINE" != x
; then
6814 eval "DEFAULT_$LINE"
6819 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6823 eval "$ac_cv_use_metafile"
6824 if test "$no_cache" != 1; then
6825 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6828 if test "$wxUSE_METAFILE" = yes; then
6829 echo "$as_me:$LINENO: result: yes" >&5
6830 echo "${ECHO_T}yes" >&6
6832 echo "$as_me:$LINENO: result: no" >&5
6833 echo "${ECHO_T}no" >&6
6841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6842 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6844 # Check whether --enable-controls or --disable-controls was given.
6845 if test "${enable_controls+set}" = set; then
6846 enableval
="$enable_controls"
6848 if test "$enableval" = yes; then
6849 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6851 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6856 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6857 if test "x$LINE" != x
; then
6858 eval "DEFAULT_$LINE"
6863 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6867 eval "$ac_cv_use_controls"
6868 if test "$no_cache" != 1; then
6869 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6872 if test "$wxUSE_CONTROLS" = yes; then
6873 echo "$as_me:$LINENO: result: yes" >&5
6874 echo "${ECHO_T}yes" >&6
6876 echo "$as_me:$LINENO: result: no" >&5
6877 echo "${ECHO_T}no" >&6
6881 if test "$wxUSE_CONTROLS" = "yes"; then
6882 DEFAULT_wxUSE_ACCEL
=yes
6883 DEFAULT_wxUSE_BMPBUTTON
=yes
6884 DEFAULT_wxUSE_BUTTON
=yes
6885 DEFAULT_wxUSE_CALCTRL
=no
6886 DEFAULT_wxUSE_CARET
=yes
6887 DEFAULT_wxUSE_COMBOBOX
=yes
6888 DEFAULT_wxUSE_CHECKBOX
=yes
6889 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6890 DEFAULT_wxUSE_CHOICE
=yes
6891 DEFAULT_wxUSE_GAUGE
=yes
6892 DEFAULT_wxUSE_GRID
=yes
6893 DEFAULT_wxUSE_IMAGLIST
=yes
6894 DEFAULT_wxUSE_LISTBOOK
=yes
6895 DEFAULT_wxUSE_LISTBOX
=yes
6896 DEFAULT_wxUSE_LISTCTRL
=yes
6897 DEFAULT_wxUSE_NOTEBOOK
=yes
6898 DEFAULT_wxUSE_RADIOBOX
=yes
6899 DEFAULT_wxUSE_RADIOBTN
=yes
6900 DEFAULT_wxUSE_SASH
=yes
6901 DEFAULT_wxUSE_SCROLLBAR
=yes
6902 DEFAULT_wxUSE_SLIDER
=yes
6903 DEFAULT_wxUSE_SPINBTN
=yes
6904 DEFAULT_wxUSE_SPINCTRL
=yes
6905 DEFAULT_wxUSE_SPLITTER
=yes
6906 DEFAULT_wxUSE_STATBMP
=yes
6907 DEFAULT_wxUSE_STATBOX
=yes
6908 DEFAULT_wxUSE_STATLINE
=yes
6909 DEFAULT_wxUSE_STATUSBAR
=yes
6910 DEFAULT_wxUSE_TAB_DIALOG
=yes
6911 DEFAULT_wxUSE_TOGGLEBTN
=yes
6912 DEFAULT_wxUSE_TOOLBAR
=yes
6913 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6914 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
6915 DEFAULT_wxUSE_TOOLTIPS
=yes
6916 DEFAULT_wxUSE_TREECTRL
=yes
6917 DEFAULT_wxUSE_POPUPWIN
=yes
6918 DEFAULT_wxUSE_TIPWINDOW
=yes
6919 elif test "$wxUSE_CONTROLS" = "no"; then
6920 DEFAULT_wxUSE_ACCEL
=no
6921 DEFAULT_wxUSE_BMPBUTTON
=no
6922 DEFAULT_wxUSE_BUTTON
=no
6923 DEFAULT_wxUSE_CALCTRL
=no
6924 DEFAULT_wxUSE_CARET
=no
6925 DEFAULT_wxUSE_COMBOBOX
=no
6926 DEFAULT_wxUSE_CHECKBOX
=no
6927 DEFAULT_wxUSE_CHECKLISTBOX
=no
6928 DEFAULT_wxUSE_CHOICE
=no
6929 DEFAULT_wxUSE_GAUGE
=no
6930 DEFAULT_wxUSE_GRID
=no
6931 DEFAULT_wxUSE_IMAGLIST
=no
6932 DEFAULT_wxUSE_LISTBOOK
=no
6933 DEFAULT_wxUSE_LISTBOX
=no
6934 DEFAULT_wxUSE_LISTCTRL
=no
6935 DEFAULT_wxUSE_NOTEBOOK
=no
6936 DEFAULT_wxUSE_RADIOBOX
=no
6937 DEFAULT_wxUSE_RADIOBTN
=no
6938 DEFAULT_wxUSE_SASH
=no
6939 DEFAULT_wxUSE_SCROLLBAR
=no
6940 DEFAULT_wxUSE_SLIDER
=no
6941 DEFAULT_wxUSE_SPINBTN
=no
6942 DEFAULT_wxUSE_SPINCTRL
=no
6943 DEFAULT_wxUSE_SPLITTER
=no
6944 DEFAULT_wxUSE_STATBMP
=no
6945 DEFAULT_wxUSE_STATBOX
=no
6946 DEFAULT_wxUSE_STATLINE
=no
6947 DEFAULT_wxUSE_STATUSBAR
=no
6948 DEFAULT_wxUSE_TAB_DIALOG
=no
6949 DEFAULT_wxUSE_TOGGLEBTN
=no
6950 DEFAULT_wxUSE_TOOLBAR
=no
6951 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6952 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
6953 DEFAULT_wxUSE_TOOLTIPS
=no
6954 DEFAULT_wxUSE_TREECTRL
=no
6955 DEFAULT_wxUSE_POPUPWIN
=no
6956 DEFAULT_wxUSE_TIPWINDOW
=no
6959 ## FIXME: This is a blatant hack
6960 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6961 wxUSE_PRINTING_ARCHITECTURE
=no
6962 wxUSE_DRAG_AND_DROP
=no
6963 DEFAULT_wxUSE_TOOLTIPS
=no
6964 DEFAULT_wxUSE_DRAGIMAGE
=no
6969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6970 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6972 # Check whether --enable-accel or --disable-accel was given.
6973 if test "${enable_accel+set}" = set; then
6974 enableval
="$enable_accel"
6976 if test "$enableval" = yes; then
6977 ac_cv_use_accel
='wxUSE_ACCEL=yes'
6979 ac_cv_use_accel
='wxUSE_ACCEL=no'
6984 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6985 if test "x$LINE" != x
; then
6986 eval "DEFAULT_$LINE"
6991 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6995 eval "$ac_cv_use_accel"
6996 if test "$no_cache" != 1; then
6997 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7000 if test "$wxUSE_ACCEL" = yes; then
7001 echo "$as_me:$LINENO: result: yes" >&5
7002 echo "${ECHO_T}yes" >&6
7004 echo "$as_me:$LINENO: result: no" >&5
7005 echo "${ECHO_T}no" >&6
7010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7011 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7013 # Check whether --enable-button or --disable-button was given.
7014 if test "${enable_button+set}" = set; then
7015 enableval
="$enable_button"
7017 if test "$enableval" = yes; then
7018 ac_cv_use_button
='wxUSE_BUTTON=yes'
7020 ac_cv_use_button
='wxUSE_BUTTON=no'
7025 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7026 if test "x$LINE" != x
; then
7027 eval "DEFAULT_$LINE"
7032 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7036 eval "$ac_cv_use_button"
7037 if test "$no_cache" != 1; then
7038 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7041 if test "$wxUSE_BUTTON" = yes; then
7042 echo "$as_me:$LINENO: result: yes" >&5
7043 echo "${ECHO_T}yes" >&6
7045 echo "$as_me:$LINENO: result: no" >&5
7046 echo "${ECHO_T}no" >&6
7051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7052 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7054 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7055 if test "${enable_bmpbutton+set}" = set; then
7056 enableval
="$enable_bmpbutton"
7058 if test "$enableval" = yes; then
7059 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7061 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7066 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7067 if test "x$LINE" != x
; then
7068 eval "DEFAULT_$LINE"
7073 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7077 eval "$ac_cv_use_bmpbutton"
7078 if test "$no_cache" != 1; then
7079 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7082 if test "$wxUSE_BMPBUTTON" = yes; then
7083 echo "$as_me:$LINENO: result: yes" >&5
7084 echo "${ECHO_T}yes" >&6
7086 echo "$as_me:$LINENO: result: no" >&5
7087 echo "${ECHO_T}no" >&6
7092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7093 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7095 # Check whether --enable-calendar or --disable-calendar was given.
7096 if test "${enable_calendar+set}" = set; then
7097 enableval
="$enable_calendar"
7099 if test "$enableval" = yes; then
7100 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7102 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7107 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7108 if test "x$LINE" != x
; then
7109 eval "DEFAULT_$LINE"
7114 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7118 eval "$ac_cv_use_calendar"
7119 if test "$no_cache" != 1; then
7120 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7123 if test "$wxUSE_CALCTRL" = yes; then
7124 echo "$as_me:$LINENO: result: yes" >&5
7125 echo "${ECHO_T}yes" >&6
7127 echo "$as_me:$LINENO: result: no" >&5
7128 echo "${ECHO_T}no" >&6
7133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7134 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7136 # Check whether --enable-caret or --disable-caret was given.
7137 if test "${enable_caret+set}" = set; then
7138 enableval
="$enable_caret"
7140 if test "$enableval" = yes; then
7141 ac_cv_use_caret
='wxUSE_CARET=yes'
7143 ac_cv_use_caret
='wxUSE_CARET=no'
7148 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7149 if test "x$LINE" != x
; then
7150 eval "DEFAULT_$LINE"
7155 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7159 eval "$ac_cv_use_caret"
7160 if test "$no_cache" != 1; then
7161 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7164 if test "$wxUSE_CARET" = yes; then
7165 echo "$as_me:$LINENO: result: yes" >&5
7166 echo "${ECHO_T}yes" >&6
7168 echo "$as_me:$LINENO: result: no" >&5
7169 echo "${ECHO_T}no" >&6
7174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7175 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7177 # Check whether --enable-checkbox or --disable-checkbox was given.
7178 if test "${enable_checkbox+set}" = set; then
7179 enableval
="$enable_checkbox"
7181 if test "$enableval" = yes; then
7182 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7184 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7189 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7190 if test "x$LINE" != x
; then
7191 eval "DEFAULT_$LINE"
7196 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7200 eval "$ac_cv_use_checkbox"
7201 if test "$no_cache" != 1; then
7202 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7205 if test "$wxUSE_CHECKBOX" = yes; then
7206 echo "$as_me:$LINENO: result: yes" >&5
7207 echo "${ECHO_T}yes" >&6
7209 echo "$as_me:$LINENO: result: no" >&5
7210 echo "${ECHO_T}no" >&6
7215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7216 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7218 # Check whether --enable-checklst or --disable-checklst was given.
7219 if test "${enable_checklst+set}" = set; then
7220 enableval
="$enable_checklst"
7222 if test "$enableval" = yes; then
7223 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7225 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7230 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7231 if test "x$LINE" != x
; then
7232 eval "DEFAULT_$LINE"
7237 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7241 eval "$ac_cv_use_checklst"
7242 if test "$no_cache" != 1; then
7243 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7246 if test "$wxUSE_CHECKLST" = yes; then
7247 echo "$as_me:$LINENO: result: yes" >&5
7248 echo "${ECHO_T}yes" >&6
7250 echo "$as_me:$LINENO: result: no" >&5
7251 echo "${ECHO_T}no" >&6
7256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7257 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7259 # Check whether --enable-choice or --disable-choice was given.
7260 if test "${enable_choice+set}" = set; then
7261 enableval
="$enable_choice"
7263 if test "$enableval" = yes; then
7264 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7266 ac_cv_use_choice
='wxUSE_CHOICE=no'
7271 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7272 if test "x$LINE" != x
; then
7273 eval "DEFAULT_$LINE"
7278 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7282 eval "$ac_cv_use_choice"
7283 if test "$no_cache" != 1; then
7284 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7287 if test "$wxUSE_CHOICE" = yes; then
7288 echo "$as_me:$LINENO: result: yes" >&5
7289 echo "${ECHO_T}yes" >&6
7291 echo "$as_me:$LINENO: result: no" >&5
7292 echo "${ECHO_T}no" >&6
7297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7298 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7300 # Check whether --enable-combobox or --disable-combobox was given.
7301 if test "${enable_combobox+set}" = set; then
7302 enableval
="$enable_combobox"
7304 if test "$enableval" = yes; then
7305 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7307 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7312 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7313 if test "x$LINE" != x
; then
7314 eval "DEFAULT_$LINE"
7319 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7323 eval "$ac_cv_use_combobox"
7324 if test "$no_cache" != 1; then
7325 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7328 if test "$wxUSE_COMBOBOX" = yes; then
7329 echo "$as_me:$LINENO: result: yes" >&5
7330 echo "${ECHO_T}yes" >&6
7332 echo "$as_me:$LINENO: result: no" >&5
7333 echo "${ECHO_T}no" >&6
7338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7339 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7341 # Check whether --enable-display or --disable-display was given.
7342 if test "${enable_display+set}" = set; then
7343 enableval
="$enable_display"
7345 if test "$enableval" = yes; then
7346 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7348 ac_cv_use_display
='wxUSE_DISPLAY=no'
7353 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7354 if test "x$LINE" != x
; then
7355 eval "DEFAULT_$LINE"
7360 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7364 eval "$ac_cv_use_display"
7365 if test "$no_cache" != 1; then
7366 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7369 if test "$wxUSE_DISPLAY" = yes; then
7370 echo "$as_me:$LINENO: result: yes" >&5
7371 echo "${ECHO_T}yes" >&6
7373 echo "$as_me:$LINENO: result: no" >&5
7374 echo "${ECHO_T}no" >&6
7379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7380 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7382 # Check whether --enable-gauge or --disable-gauge was given.
7383 if test "${enable_gauge+set}" = set; then
7384 enableval
="$enable_gauge"
7386 if test "$enableval" = yes; then
7387 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7389 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7394 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7395 if test "x$LINE" != x
; then
7396 eval "DEFAULT_$LINE"
7401 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7405 eval "$ac_cv_use_gauge"
7406 if test "$no_cache" != 1; then
7407 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7410 if test "$wxUSE_GAUGE" = yes; then
7411 echo "$as_me:$LINENO: result: yes" >&5
7412 echo "${ECHO_T}yes" >&6
7414 echo "$as_me:$LINENO: result: no" >&5
7415 echo "${ECHO_T}no" >&6
7420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7421 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7423 # Check whether --enable-grid or --disable-grid was given.
7424 if test "${enable_grid+set}" = set; then
7425 enableval
="$enable_grid"
7427 if test "$enableval" = yes; then
7428 ac_cv_use_grid
='wxUSE_GRID=yes'
7430 ac_cv_use_grid
='wxUSE_GRID=no'
7435 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7436 if test "x$LINE" != x
; then
7437 eval "DEFAULT_$LINE"
7442 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7446 eval "$ac_cv_use_grid"
7447 if test "$no_cache" != 1; then
7448 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7451 if test "$wxUSE_GRID" = yes; then
7452 echo "$as_me:$LINENO: result: yes" >&5
7453 echo "${ECHO_T}yes" >&6
7455 echo "$as_me:$LINENO: result: no" >&5
7456 echo "${ECHO_T}no" >&6
7461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7462 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7464 # Check whether --enable-imaglist or --disable-imaglist was given.
7465 if test "${enable_imaglist+set}" = set; then
7466 enableval
="$enable_imaglist"
7468 if test "$enableval" = yes; then
7469 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7471 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7476 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7477 if test "x$LINE" != x
; then
7478 eval "DEFAULT_$LINE"
7483 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7487 eval "$ac_cv_use_imaglist"
7488 if test "$no_cache" != 1; then
7489 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7492 if test "$wxUSE_IMAGLIST" = yes; then
7493 echo "$as_me:$LINENO: result: yes" >&5
7494 echo "${ECHO_T}yes" >&6
7496 echo "$as_me:$LINENO: result: no" >&5
7497 echo "${ECHO_T}no" >&6
7502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7503 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7505 # Check whether --enable-listbook or --disable-listbook was given.
7506 if test "${enable_listbook+set}" = set; then
7507 enableval
="$enable_listbook"
7509 if test "$enableval" = yes; then
7510 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7512 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7517 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7518 if test "x$LINE" != x
; then
7519 eval "DEFAULT_$LINE"
7524 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7528 eval "$ac_cv_use_listbook"
7529 if test "$no_cache" != 1; then
7530 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7533 if test "$wxUSE_LISTBOOK" = yes; then
7534 echo "$as_me:$LINENO: result: yes" >&5
7535 echo "${ECHO_T}yes" >&6
7537 echo "$as_me:$LINENO: result: no" >&5
7538 echo "${ECHO_T}no" >&6
7543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7544 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7546 # Check whether --enable-listbox or --disable-listbox was given.
7547 if test "${enable_listbox+set}" = set; then
7548 enableval
="$enable_listbox"
7550 if test "$enableval" = yes; then
7551 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7553 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7558 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7559 if test "x$LINE" != x
; then
7560 eval "DEFAULT_$LINE"
7565 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7569 eval "$ac_cv_use_listbox"
7570 if test "$no_cache" != 1; then
7571 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7574 if test "$wxUSE_LISTBOX" = yes; then
7575 echo "$as_me:$LINENO: result: yes" >&5
7576 echo "${ECHO_T}yes" >&6
7578 echo "$as_me:$LINENO: result: no" >&5
7579 echo "${ECHO_T}no" >&6
7584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7585 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7587 # Check whether --enable-listctrl or --disable-listctrl was given.
7588 if test "${enable_listctrl+set}" = set; then
7589 enableval
="$enable_listctrl"
7591 if test "$enableval" = yes; then
7592 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7594 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7599 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7600 if test "x$LINE" != x
; then
7601 eval "DEFAULT_$LINE"
7606 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7610 eval "$ac_cv_use_listctrl"
7611 if test "$no_cache" != 1; then
7612 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7615 if test "$wxUSE_LISTCTRL" = yes; then
7616 echo "$as_me:$LINENO: result: yes" >&5
7617 echo "${ECHO_T}yes" >&6
7619 echo "$as_me:$LINENO: result: no" >&5
7620 echo "${ECHO_T}no" >&6
7625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7626 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7628 # Check whether --enable-notebook or --disable-notebook was given.
7629 if test "${enable_notebook+set}" = set; then
7630 enableval
="$enable_notebook"
7632 if test "$enableval" = yes; then
7633 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7635 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7640 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7641 if test "x$LINE" != x
; then
7642 eval "DEFAULT_$LINE"
7647 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7651 eval "$ac_cv_use_notebook"
7652 if test "$no_cache" != 1; then
7653 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7656 if test "$wxUSE_NOTEBOOK" = yes; then
7657 echo "$as_me:$LINENO: result: yes" >&5
7658 echo "${ECHO_T}yes" >&6
7660 echo "$as_me:$LINENO: result: no" >&5
7661 echo "${ECHO_T}no" >&6
7666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7667 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7669 # Check whether --enable-radiobox or --disable-radiobox was given.
7670 if test "${enable_radiobox+set}" = set; then
7671 enableval
="$enable_radiobox"
7673 if test "$enableval" = yes; then
7674 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7676 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7681 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7682 if test "x$LINE" != x
; then
7683 eval "DEFAULT_$LINE"
7688 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7692 eval "$ac_cv_use_radiobox"
7693 if test "$no_cache" != 1; then
7694 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7697 if test "$wxUSE_RADIOBOX" = yes; then
7698 echo "$as_me:$LINENO: result: yes" >&5
7699 echo "${ECHO_T}yes" >&6
7701 echo "$as_me:$LINENO: result: no" >&5
7702 echo "${ECHO_T}no" >&6
7707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7708 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7710 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7711 if test "${enable_radiobtn+set}" = set; then
7712 enableval
="$enable_radiobtn"
7714 if test "$enableval" = yes; then
7715 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7717 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7722 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7723 if test "x$LINE" != x
; then
7724 eval "DEFAULT_$LINE"
7729 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7733 eval "$ac_cv_use_radiobtn"
7734 if test "$no_cache" != 1; then
7735 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7738 if test "$wxUSE_RADIOBTN" = yes; then
7739 echo "$as_me:$LINENO: result: yes" >&5
7740 echo "${ECHO_T}yes" >&6
7742 echo "$as_me:$LINENO: result: no" >&5
7743 echo "${ECHO_T}no" >&6
7748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7749 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7751 # Check whether --enable-sash or --disable-sash was given.
7752 if test "${enable_sash+set}" = set; then
7753 enableval
="$enable_sash"
7755 if test "$enableval" = yes; then
7756 ac_cv_use_sash
='wxUSE_SASH=yes'
7758 ac_cv_use_sash
='wxUSE_SASH=no'
7763 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7764 if test "x$LINE" != x
; then
7765 eval "DEFAULT_$LINE"
7770 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7774 eval "$ac_cv_use_sash"
7775 if test "$no_cache" != 1; then
7776 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7779 if test "$wxUSE_SASH" = yes; then
7780 echo "$as_me:$LINENO: result: yes" >&5
7781 echo "${ECHO_T}yes" >&6
7783 echo "$as_me:$LINENO: result: no" >&5
7784 echo "${ECHO_T}no" >&6
7789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7790 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7792 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7793 if test "${enable_scrollbar+set}" = set; then
7794 enableval
="$enable_scrollbar"
7796 if test "$enableval" = yes; then
7797 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7799 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7804 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7805 if test "x$LINE" != x
; then
7806 eval "DEFAULT_$LINE"
7811 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7815 eval "$ac_cv_use_scrollbar"
7816 if test "$no_cache" != 1; then
7817 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7820 if test "$wxUSE_SCROLLBAR" = yes; then
7821 echo "$as_me:$LINENO: result: yes" >&5
7822 echo "${ECHO_T}yes" >&6
7824 echo "$as_me:$LINENO: result: no" >&5
7825 echo "${ECHO_T}no" >&6
7830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7831 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7833 # Check whether --enable-slider or --disable-slider was given.
7834 if test "${enable_slider+set}" = set; then
7835 enableval
="$enable_slider"
7837 if test "$enableval" = yes; then
7838 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7840 ac_cv_use_slider
='wxUSE_SLIDER=no'
7845 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7846 if test "x$LINE" != x
; then
7847 eval "DEFAULT_$LINE"
7852 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7856 eval "$ac_cv_use_slider"
7857 if test "$no_cache" != 1; then
7858 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7861 if test "$wxUSE_SLIDER" = yes; then
7862 echo "$as_me:$LINENO: result: yes" >&5
7863 echo "${ECHO_T}yes" >&6
7865 echo "$as_me:$LINENO: result: no" >&5
7866 echo "${ECHO_T}no" >&6
7871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7872 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7874 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7875 if test "${enable_spinbtn+set}" = set; then
7876 enableval
="$enable_spinbtn"
7878 if test "$enableval" = yes; then
7879 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7881 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7886 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7887 if test "x$LINE" != x
; then
7888 eval "DEFAULT_$LINE"
7893 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7897 eval "$ac_cv_use_spinbtn"
7898 if test "$no_cache" != 1; then
7899 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7902 if test "$wxUSE_SPINBTN" = yes; then
7903 echo "$as_me:$LINENO: result: yes" >&5
7904 echo "${ECHO_T}yes" >&6
7906 echo "$as_me:$LINENO: result: no" >&5
7907 echo "${ECHO_T}no" >&6
7912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7913 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7915 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7916 if test "${enable_spinctrl+set}" = set; then
7917 enableval
="$enable_spinctrl"
7919 if test "$enableval" = yes; then
7920 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
7922 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
7927 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7928 if test "x$LINE" != x
; then
7929 eval "DEFAULT_$LINE"
7934 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7938 eval "$ac_cv_use_spinctrl"
7939 if test "$no_cache" != 1; then
7940 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7943 if test "$wxUSE_SPINCTRL" = yes; then
7944 echo "$as_me:$LINENO: result: yes" >&5
7945 echo "${ECHO_T}yes" >&6
7947 echo "$as_me:$LINENO: result: no" >&5
7948 echo "${ECHO_T}no" >&6
7953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7954 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7956 # Check whether --enable-splitter or --disable-splitter was given.
7957 if test "${enable_splitter+set}" = set; then
7958 enableval
="$enable_splitter"
7960 if test "$enableval" = yes; then
7961 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
7963 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
7968 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7969 if test "x$LINE" != x
; then
7970 eval "DEFAULT_$LINE"
7975 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7979 eval "$ac_cv_use_splitter"
7980 if test "$no_cache" != 1; then
7981 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7984 if test "$wxUSE_SPLITTER" = yes; then
7985 echo "$as_me:$LINENO: result: yes" >&5
7986 echo "${ECHO_T}yes" >&6
7988 echo "$as_me:$LINENO: result: no" >&5
7989 echo "${ECHO_T}no" >&6
7994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7995 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7997 # Check whether --enable-statbmp or --disable-statbmp was given.
7998 if test "${enable_statbmp+set}" = set; then
7999 enableval
="$enable_statbmp"
8001 if test "$enableval" = yes; then
8002 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8004 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8009 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8010 if test "x$LINE" != x
; then
8011 eval "DEFAULT_$LINE"
8016 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8020 eval "$ac_cv_use_statbmp"
8021 if test "$no_cache" != 1; then
8022 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8025 if test "$wxUSE_STATBMP" = yes; then
8026 echo "$as_me:$LINENO: result: yes" >&5
8027 echo "${ECHO_T}yes" >&6
8029 echo "$as_me:$LINENO: result: no" >&5
8030 echo "${ECHO_T}no" >&6
8035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8036 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8038 # Check whether --enable-statbox or --disable-statbox was given.
8039 if test "${enable_statbox+set}" = set; then
8040 enableval
="$enable_statbox"
8042 if test "$enableval" = yes; then
8043 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8045 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8050 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8051 if test "x$LINE" != x
; then
8052 eval "DEFAULT_$LINE"
8057 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8061 eval "$ac_cv_use_statbox"
8062 if test "$no_cache" != 1; then
8063 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8066 if test "$wxUSE_STATBOX" = yes; then
8067 echo "$as_me:$LINENO: result: yes" >&5
8068 echo "${ECHO_T}yes" >&6
8070 echo "$as_me:$LINENO: result: no" >&5
8071 echo "${ECHO_T}no" >&6
8076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8077 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8079 # Check whether --enable-statline or --disable-statline was given.
8080 if test "${enable_statline+set}" = set; then
8081 enableval
="$enable_statline"
8083 if test "$enableval" = yes; then
8084 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8086 ac_cv_use_statline
='wxUSE_STATLINE=no'
8091 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8092 if test "x$LINE" != x
; then
8093 eval "DEFAULT_$LINE"
8098 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8102 eval "$ac_cv_use_statline"
8103 if test "$no_cache" != 1; then
8104 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8107 if test "$wxUSE_STATLINE" = yes; then
8108 echo "$as_me:$LINENO: result: yes" >&5
8109 echo "${ECHO_T}yes" >&6
8111 echo "$as_me:$LINENO: result: no" >&5
8112 echo "${ECHO_T}no" >&6
8117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8118 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8120 # Check whether --enable-stattext or --disable-stattext was given.
8121 if test "${enable_stattext+set}" = set; then
8122 enableval
="$enable_stattext"
8124 if test "$enableval" = yes; then
8125 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8127 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8132 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8133 if test "x$LINE" != x
; then
8134 eval "DEFAULT_$LINE"
8139 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8143 eval "$ac_cv_use_stattext"
8144 if test "$no_cache" != 1; then
8145 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8148 if test "$wxUSE_STATTEXT" = yes; then
8149 echo "$as_me:$LINENO: result: yes" >&5
8150 echo "${ECHO_T}yes" >&6
8152 echo "$as_me:$LINENO: result: no" >&5
8153 echo "${ECHO_T}no" >&6
8158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8159 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8161 # Check whether --enable-statusbar or --disable-statusbar was given.
8162 if test "${enable_statusbar+set}" = set; then
8163 enableval
="$enable_statusbar"
8165 if test "$enableval" = yes; then
8166 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8168 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8173 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8174 if test "x$LINE" != x
; then
8175 eval "DEFAULT_$LINE"
8180 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8184 eval "$ac_cv_use_statusbar"
8185 if test "$no_cache" != 1; then
8186 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8189 if test "$wxUSE_STATUSBAR" = yes; then
8190 echo "$as_me:$LINENO: result: yes" >&5
8191 echo "${ECHO_T}yes" >&6
8193 echo "$as_me:$LINENO: result: no" >&5
8194 echo "${ECHO_T}no" >&6
8199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8200 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8202 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8203 if test "${enable_tabdialog+set}" = set; then
8204 enableval
="$enable_tabdialog"
8206 if test "$enableval" = yes; then
8207 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8209 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8214 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8215 if test "x$LINE" != x
; then
8216 eval "DEFAULT_$LINE"
8221 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8225 eval "$ac_cv_use_tabdialog"
8226 if test "$no_cache" != 1; then
8227 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8230 if test "$wxUSE_TABDIALOG" = yes; then
8231 echo "$as_me:$LINENO: result: yes" >&5
8232 echo "${ECHO_T}yes" >&6
8234 echo "$as_me:$LINENO: result: no" >&5
8235 echo "${ECHO_T}no" >&6
8240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8241 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8243 # Check whether --enable-textctrl or --disable-textctrl was given.
8244 if test "${enable_textctrl+set}" = set; then
8245 enableval
="$enable_textctrl"
8247 if test "$enableval" = yes; then
8248 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8250 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8255 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8256 if test "x$LINE" != x
; then
8257 eval "DEFAULT_$LINE"
8262 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8266 eval "$ac_cv_use_textctrl"
8267 if test "$no_cache" != 1; then
8268 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8271 if test "$wxUSE_TEXTCTRL" = yes; then
8272 echo "$as_me:$LINENO: result: yes" >&5
8273 echo "${ECHO_T}yes" >&6
8275 echo "$as_me:$LINENO: result: no" >&5
8276 echo "${ECHO_T}no" >&6
8281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8282 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8284 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8285 if test "${enable_togglebtn+set}" = set; then
8286 enableval
="$enable_togglebtn"
8288 if test "$enableval" = yes; then
8289 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8291 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8296 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8297 if test "x$LINE" != x
; then
8298 eval "DEFAULT_$LINE"
8303 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8307 eval "$ac_cv_use_togglebtn"
8308 if test "$no_cache" != 1; then
8309 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8312 if test "$wxUSE_TOGGLEBTN" = yes; then
8313 echo "$as_me:$LINENO: result: yes" >&5
8314 echo "${ECHO_T}yes" >&6
8316 echo "$as_me:$LINENO: result: no" >&5
8317 echo "${ECHO_T}no" >&6
8322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8323 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8325 # Check whether --enable-toolbar or --disable-toolbar was given.
8326 if test "${enable_toolbar+set}" = set; then
8327 enableval
="$enable_toolbar"
8329 if test "$enableval" = yes; then
8330 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8332 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8337 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8338 if test "x$LINE" != x
; then
8339 eval "DEFAULT_$LINE"
8344 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8348 eval "$ac_cv_use_toolbar"
8349 if test "$no_cache" != 1; then
8350 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8353 if test "$wxUSE_TOOLBAR" = yes; then
8354 echo "$as_me:$LINENO: result: yes" >&5
8355 echo "${ECHO_T}yes" >&6
8357 echo "$as_me:$LINENO: result: no" >&5
8358 echo "${ECHO_T}no" >&6
8363 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8364 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8366 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8367 if test "${enable_tbarnative+set}" = set; then
8368 enableval
="$enable_tbarnative"
8370 if test "$enableval" = yes; then
8371 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8373 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8378 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8379 if test "x$LINE" != x
; then
8380 eval "DEFAULT_$LINE"
8385 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8389 eval "$ac_cv_use_tbarnative"
8390 if test "$no_cache" != 1; then
8391 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8394 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8395 echo "$as_me:$LINENO: result: yes" >&5
8396 echo "${ECHO_T}yes" >&6
8398 echo "$as_me:$LINENO: result: no" >&5
8399 echo "${ECHO_T}no" >&6
8404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8405 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8407 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8408 if test "${enable_tbarsmpl+set}" = set; then
8409 enableval
="$enable_tbarsmpl"
8411 if test "$enableval" = yes; then
8412 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8414 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8419 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8420 if test "x$LINE" != x
; then
8421 eval "DEFAULT_$LINE"
8426 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8430 eval "$ac_cv_use_tbarsmpl"
8431 if test "$no_cache" != 1; then
8432 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8435 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8436 echo "$as_me:$LINENO: result: yes" >&5
8437 echo "${ECHO_T}yes" >&6
8439 echo "$as_me:$LINENO: result: no" >&5
8440 echo "${ECHO_T}no" >&6
8445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8446 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8448 # Check whether --enable-treectrl or --disable-treectrl was given.
8449 if test "${enable_treectrl+set}" = set; then
8450 enableval
="$enable_treectrl"
8452 if test "$enableval" = yes; then
8453 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8455 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8460 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8461 if test "x$LINE" != x
; then
8462 eval "DEFAULT_$LINE"
8467 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8471 eval "$ac_cv_use_treectrl"
8472 if test "$no_cache" != 1; then
8473 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8476 if test "$wxUSE_TREECTRL" = yes; then
8477 echo "$as_me:$LINENO: result: yes" >&5
8478 echo "${ECHO_T}yes" >&6
8480 echo "$as_me:$LINENO: result: no" >&5
8481 echo "${ECHO_T}no" >&6
8486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8487 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8489 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8490 if test "${enable_tipwindow+set}" = set; then
8491 enableval
="$enable_tipwindow"
8493 if test "$enableval" = yes; then
8494 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8496 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8501 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8502 if test "x$LINE" != x
; then
8503 eval "DEFAULT_$LINE"
8508 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8512 eval "$ac_cv_use_tipwindow"
8513 if test "$no_cache" != 1; then
8514 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8517 if test "$wxUSE_TIPWINDOW" = yes; then
8518 echo "$as_me:$LINENO: result: yes" >&5
8519 echo "${ECHO_T}yes" >&6
8521 echo "$as_me:$LINENO: result: no" >&5
8522 echo "${ECHO_T}no" >&6
8527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8528 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8530 # Check whether --enable-popupwin or --disable-popupwin was given.
8531 if test "${enable_popupwin+set}" = set; then
8532 enableval
="$enable_popupwin"
8534 if test "$enableval" = yes; then
8535 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8537 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8542 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8543 if test "x$LINE" != x
; then
8544 eval "DEFAULT_$LINE"
8549 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8553 eval "$ac_cv_use_popupwin"
8554 if test "$no_cache" != 1; then
8555 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8558 if test "$wxUSE_POPUPWIN" = yes; then
8559 echo "$as_me:$LINENO: result: yes" >&5
8560 echo "${ECHO_T}yes" >&6
8562 echo "$as_me:$LINENO: result: no" >&5
8563 echo "${ECHO_T}no" >&6
8570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8571 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8573 # Check whether --enable-commondlg or --disable-commondlg was given.
8574 if test "${enable_commondlg+set}" = set; then
8575 enableval
="$enable_commondlg"
8577 if test "$enableval" = yes; then
8578 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8580 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8585 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8586 if test "x$LINE" != x
; then
8587 eval "DEFAULT_$LINE"
8592 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8596 eval "$ac_cv_use_commondlg"
8597 if test "$no_cache" != 1; then
8598 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8601 if test "$wxUSE_COMMONDLGS" = yes; then
8602 echo "$as_me:$LINENO: result: yes" >&5
8603 echo "${ECHO_T}yes" >&6
8605 echo "$as_me:$LINENO: result: no" >&5
8606 echo "${ECHO_T}no" >&6
8611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8612 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8614 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8615 if test "${enable_choicedlg+set}" = set; then
8616 enableval
="$enable_choicedlg"
8618 if test "$enableval" = yes; then
8619 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8621 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8626 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8627 if test "x$LINE" != x
; then
8628 eval "DEFAULT_$LINE"
8633 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8637 eval "$ac_cv_use_choicedlg"
8638 if test "$no_cache" != 1; then
8639 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8642 if test "$wxUSE_CHOICEDLG" = yes; then
8643 echo "$as_me:$LINENO: result: yes" >&5
8644 echo "${ECHO_T}yes" >&6
8646 echo "$as_me:$LINENO: result: no" >&5
8647 echo "${ECHO_T}no" >&6
8652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8653 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8655 # Check whether --enable-coldlg or --disable-coldlg was given.
8656 if test "${enable_coldlg+set}" = set; then
8657 enableval
="$enable_coldlg"
8659 if test "$enableval" = yes; then
8660 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8662 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8667 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8668 if test "x$LINE" != x
; then
8669 eval "DEFAULT_$LINE"
8674 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8678 eval "$ac_cv_use_coldlg"
8679 if test "$no_cache" != 1; then
8680 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8683 if test "$wxUSE_COLOURDLG" = yes; then
8684 echo "$as_me:$LINENO: result: yes" >&5
8685 echo "${ECHO_T}yes" >&6
8687 echo "$as_me:$LINENO: result: no" >&5
8688 echo "${ECHO_T}no" >&6
8693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8694 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8696 # Check whether --enable-filedlg or --disable-filedlg was given.
8697 if test "${enable_filedlg+set}" = set; then
8698 enableval
="$enable_filedlg"
8700 if test "$enableval" = yes; then
8701 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8703 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8708 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8709 if test "x$LINE" != x
; then
8710 eval "DEFAULT_$LINE"
8715 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8719 eval "$ac_cv_use_filedlg"
8720 if test "$no_cache" != 1; then
8721 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8724 if test "$wxUSE_FILEDLG" = yes; then
8725 echo "$as_me:$LINENO: result: yes" >&5
8726 echo "${ECHO_T}yes" >&6
8728 echo "$as_me:$LINENO: result: no" >&5
8729 echo "${ECHO_T}no" >&6
8734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8735 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8737 # Check whether --enable-finddlg or --disable-finddlg was given.
8738 if test "${enable_finddlg+set}" = set; then
8739 enableval
="$enable_finddlg"
8741 if test "$enableval" = yes; then
8742 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8744 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8749 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8750 if test "x$LINE" != x
; then
8751 eval "DEFAULT_$LINE"
8756 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8760 eval "$ac_cv_use_finddlg"
8761 if test "$no_cache" != 1; then
8762 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8765 if test "$wxUSE_FINDREPLDLG" = yes; then
8766 echo "$as_me:$LINENO: result: yes" >&5
8767 echo "${ECHO_T}yes" >&6
8769 echo "$as_me:$LINENO: result: no" >&5
8770 echo "${ECHO_T}no" >&6
8775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8776 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8778 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8779 if test "${enable_fontdlg+set}" = set; then
8780 enableval
="$enable_fontdlg"
8782 if test "$enableval" = yes; then
8783 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8785 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8790 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8791 if test "x$LINE" != x
; then
8792 eval "DEFAULT_$LINE"
8797 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8801 eval "$ac_cv_use_fontdlg"
8802 if test "$no_cache" != 1; then
8803 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8806 if test "$wxUSE_FONTDLG" = yes; then
8807 echo "$as_me:$LINENO: result: yes" >&5
8808 echo "${ECHO_T}yes" >&6
8810 echo "$as_me:$LINENO: result: no" >&5
8811 echo "${ECHO_T}no" >&6
8816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8817 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8819 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8820 if test "${enable_dirdlg+set}" = set; then
8821 enableval
="$enable_dirdlg"
8823 if test "$enableval" = yes; then
8824 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8826 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8831 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8832 if test "x$LINE" != x
; then
8833 eval "DEFAULT_$LINE"
8838 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8842 eval "$ac_cv_use_dirdlg"
8843 if test "$no_cache" != 1; then
8844 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8847 if test "$wxUSE_DIRDLG" = yes; then
8848 echo "$as_me:$LINENO: result: yes" >&5
8849 echo "${ECHO_T}yes" >&6
8851 echo "$as_me:$LINENO: result: no" >&5
8852 echo "${ECHO_T}no" >&6
8857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8858 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8860 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8861 if test "${enable_msgdlg+set}" = set; then
8862 enableval
="$enable_msgdlg"
8864 if test "$enableval" = yes; then
8865 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8867 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8872 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8873 if test "x$LINE" != x
; then
8874 eval "DEFAULT_$LINE"
8879 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8883 eval "$ac_cv_use_msgdlg"
8884 if test "$no_cache" != 1; then
8885 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8888 if test "$wxUSE_MSGDLG" = yes; then
8889 echo "$as_me:$LINENO: result: yes" >&5
8890 echo "${ECHO_T}yes" >&6
8892 echo "$as_me:$LINENO: result: no" >&5
8893 echo "${ECHO_T}no" >&6
8898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8899 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8901 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8902 if test "${enable_numberdlg+set}" = set; then
8903 enableval
="$enable_numberdlg"
8905 if test "$enableval" = yes; then
8906 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
8908 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
8913 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8914 if test "x$LINE" != x
; then
8915 eval "DEFAULT_$LINE"
8920 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8924 eval "$ac_cv_use_numberdlg"
8925 if test "$no_cache" != 1; then
8926 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8929 if test "$wxUSE_NUMBERDLG" = yes; then
8930 echo "$as_me:$LINENO: result: yes" >&5
8931 echo "${ECHO_T}yes" >&6
8933 echo "$as_me:$LINENO: result: no" >&5
8934 echo "${ECHO_T}no" >&6
8939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8940 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8942 # Check whether --enable-splash or --disable-splash was given.
8943 if test "${enable_splash+set}" = set; then
8944 enableval
="$enable_splash"
8946 if test "$enableval" = yes; then
8947 ac_cv_use_splash
='wxUSE_SPLASH=yes'
8949 ac_cv_use_splash
='wxUSE_SPLASH=no'
8954 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8955 if test "x$LINE" != x
; then
8956 eval "DEFAULT_$LINE"
8961 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8965 eval "$ac_cv_use_splash"
8966 if test "$no_cache" != 1; then
8967 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8970 if test "$wxUSE_SPLASH" = yes; then
8971 echo "$as_me:$LINENO: result: yes" >&5
8972 echo "${ECHO_T}yes" >&6
8974 echo "$as_me:$LINENO: result: no" >&5
8975 echo "${ECHO_T}no" >&6
8980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8981 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8983 # Check whether --enable-textdlg or --disable-textdlg was given.
8984 if test "${enable_textdlg+set}" = set; then
8985 enableval
="$enable_textdlg"
8987 if test "$enableval" = yes; then
8988 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
8990 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
8995 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8996 if test "x$LINE" != x
; then
8997 eval "DEFAULT_$LINE"
9002 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9006 eval "$ac_cv_use_textdlg"
9007 if test "$no_cache" != 1; then
9008 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9011 if test "$wxUSE_TEXTDLG" = yes; then
9012 echo "$as_me:$LINENO: result: yes" >&5
9013 echo "${ECHO_T}yes" >&6
9015 echo "$as_me:$LINENO: result: no" >&5
9016 echo "${ECHO_T}no" >&6
9021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9022 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9024 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9025 if test "${enable_tipdlg+set}" = set; then
9026 enableval
="$enable_tipdlg"
9028 if test "$enableval" = yes; then
9029 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9031 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9036 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9037 if test "x$LINE" != x
; then
9038 eval "DEFAULT_$LINE"
9043 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9047 eval "$ac_cv_use_tipdlg"
9048 if test "$no_cache" != 1; then
9049 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9052 if test "$wxUSE_STARTUP_TIPS" = yes; then
9053 echo "$as_me:$LINENO: result: yes" >&5
9054 echo "${ECHO_T}yes" >&6
9056 echo "$as_me:$LINENO: result: no" >&5
9057 echo "${ECHO_T}no" >&6
9062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9063 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9065 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9066 if test "${enable_progressdlg+set}" = set; then
9067 enableval
="$enable_progressdlg"
9069 if test "$enableval" = yes; then
9070 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9072 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9077 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9078 if test "x$LINE" != x
; then
9079 eval "DEFAULT_$LINE"
9084 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9088 eval "$ac_cv_use_progressdlg"
9089 if test "$no_cache" != 1; then
9090 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9093 if test "$wxUSE_PROGRESSDLG" = yes; then
9094 echo "$as_me:$LINENO: result: yes" >&5
9095 echo "${ECHO_T}yes" >&6
9097 echo "$as_me:$LINENO: result: no" >&5
9098 echo "${ECHO_T}no" >&6
9103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9104 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9106 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9107 if test "${enable_wizarddlg+set}" = set; then
9108 enableval
="$enable_wizarddlg"
9110 if test "$enableval" = yes; then
9111 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9113 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9118 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9119 if test "x$LINE" != x
; then
9120 eval "DEFAULT_$LINE"
9125 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9129 eval "$ac_cv_use_wizarddlg"
9130 if test "$no_cache" != 1; then
9131 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9134 if test "$wxUSE_WIZARDDLG" = yes; then
9135 echo "$as_me:$LINENO: result: yes" >&5
9136 echo "${ECHO_T}yes" >&6
9138 echo "$as_me:$LINENO: result: no" >&5
9139 echo "${ECHO_T}no" >&6
9146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9147 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9149 # Check whether --enable-menus or --disable-menus was given.
9150 if test "${enable_menus+set}" = set; then
9151 enableval
="$enable_menus"
9153 if test "$enableval" = yes; then
9154 ac_cv_use_menus
='wxUSE_MENUS=yes'
9156 ac_cv_use_menus
='wxUSE_MENUS=no'
9161 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9162 if test "x$LINE" != x
; then
9163 eval "DEFAULT_$LINE"
9168 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9172 eval "$ac_cv_use_menus"
9173 if test "$no_cache" != 1; then
9174 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9177 if test "$wxUSE_MENUS" = yes; then
9178 echo "$as_me:$LINENO: result: yes" >&5
9179 echo "${ECHO_T}yes" >&6
9181 echo "$as_me:$LINENO: result: no" >&5
9182 echo "${ECHO_T}no" >&6
9187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9188 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9190 # Check whether --enable-miniframe or --disable-miniframe was given.
9191 if test "${enable_miniframe+set}" = set; then
9192 enableval
="$enable_miniframe"
9194 if test "$enableval" = yes; then
9195 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9197 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9202 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9203 if test "x$LINE" != x
; then
9204 eval "DEFAULT_$LINE"
9209 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9213 eval "$ac_cv_use_miniframe"
9214 if test "$no_cache" != 1; then
9215 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9218 if test "$wxUSE_MINIFRAME" = yes; then
9219 echo "$as_me:$LINENO: result: yes" >&5
9220 echo "${ECHO_T}yes" >&6
9222 echo "$as_me:$LINENO: result: no" >&5
9223 echo "${ECHO_T}no" >&6
9228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9229 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9231 # Check whether --enable-tooltips or --disable-tooltips was given.
9232 if test "${enable_tooltips+set}" = set; then
9233 enableval
="$enable_tooltips"
9235 if test "$enableval" = yes; then
9236 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9238 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9243 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9244 if test "x$LINE" != x
; then
9245 eval "DEFAULT_$LINE"
9250 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9254 eval "$ac_cv_use_tooltips"
9255 if test "$no_cache" != 1; then
9256 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9259 if test "$wxUSE_TOOLTIPS" = yes; then
9260 echo "$as_me:$LINENO: result: yes" >&5
9261 echo "${ECHO_T}yes" >&6
9263 echo "$as_me:$LINENO: result: no" >&5
9264 echo "${ECHO_T}no" >&6
9269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9270 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9272 # Check whether --enable-splines or --disable-splines was given.
9273 if test "${enable_splines+set}" = set; then
9274 enableval
="$enable_splines"
9276 if test "$enableval" = yes; then
9277 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9279 ac_cv_use_splines
='wxUSE_SPLINES=no'
9284 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9285 if test "x$LINE" != x
; then
9286 eval "DEFAULT_$LINE"
9291 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9295 eval "$ac_cv_use_splines"
9296 if test "$no_cache" != 1; then
9297 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9300 if test "$wxUSE_SPLINES" = yes; then
9301 echo "$as_me:$LINENO: result: yes" >&5
9302 echo "${ECHO_T}yes" >&6
9304 echo "$as_me:$LINENO: result: no" >&5
9305 echo "${ECHO_T}no" >&6
9310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9311 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9313 # Check whether --enable-validators or --disable-validators was given.
9314 if test "${enable_validators+set}" = set; then
9315 enableval
="$enable_validators"
9317 if test "$enableval" = yes; then
9318 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9320 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9325 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9326 if test "x$LINE" != x
; then
9327 eval "DEFAULT_$LINE"
9332 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9336 eval "$ac_cv_use_validators"
9337 if test "$no_cache" != 1; then
9338 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9341 if test "$wxUSE_VALIDATORS" = yes; then
9342 echo "$as_me:$LINENO: result: yes" >&5
9343 echo "${ECHO_T}yes" >&6
9345 echo "$as_me:$LINENO: result: no" >&5
9346 echo "${ECHO_T}no" >&6
9351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9352 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9354 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9355 if test "${enable_busyinfo+set}" = set; then
9356 enableval
="$enable_busyinfo"
9358 if test "$enableval" = yes; then
9359 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9361 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9366 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9367 if test "x$LINE" != x
; then
9368 eval "DEFAULT_$LINE"
9373 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9377 eval "$ac_cv_use_busyinfo"
9378 if test "$no_cache" != 1; then
9379 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9382 if test "$wxUSE_BUSYINFO" = yes; then
9383 echo "$as_me:$LINENO: result: yes" >&5
9384 echo "${ECHO_T}yes" >&6
9386 echo "$as_me:$LINENO: result: no" >&5
9387 echo "${ECHO_T}no" >&6
9392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9393 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9395 # Check whether --enable-joystick or --disable-joystick was given.
9396 if test "${enable_joystick+set}" = set; then
9397 enableval
="$enable_joystick"
9399 if test "$enableval" = yes; then
9400 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9402 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9407 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9408 if test "x$LINE" != x
; then
9409 eval "DEFAULT_$LINE"
9414 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9418 eval "$ac_cv_use_joystick"
9419 if test "$no_cache" != 1; then
9420 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9423 if test "$wxUSE_JOYSTICK" = yes; then
9424 echo "$as_me:$LINENO: result: yes" >&5
9425 echo "${ECHO_T}yes" >&6
9427 echo "$as_me:$LINENO: result: no" >&5
9428 echo "${ECHO_T}no" >&6
9433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9434 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9436 # Check whether --enable-metafile or --disable-metafile was given.
9437 if test "${enable_metafile+set}" = set; then
9438 enableval
="$enable_metafile"
9440 if test "$enableval" = yes; then
9441 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9443 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9448 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9449 if test "x$LINE" != x
; then
9450 eval "DEFAULT_$LINE"
9455 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9459 eval "$ac_cv_use_metafile"
9460 if test "$no_cache" != 1; then
9461 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9464 if test "$wxUSE_METAFILE" = yes; then
9465 echo "$as_me:$LINENO: result: yes" >&5
9466 echo "${ECHO_T}yes" >&6
9468 echo "$as_me:$LINENO: result: no" >&5
9469 echo "${ECHO_T}no" >&6
9474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9475 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9477 # Check whether --enable-dragimage or --disable-dragimage was given.
9478 if test "${enable_dragimage+set}" = set; then
9479 enableval
="$enable_dragimage"
9481 if test "$enableval" = yes; then
9482 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9484 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9489 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9490 if test "x$LINE" != x
; then
9491 eval "DEFAULT_$LINE"
9496 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9500 eval "$ac_cv_use_dragimage"
9501 if test "$no_cache" != 1; then
9502 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9505 if test "$wxUSE_DRAGIMAGE" = yes; then
9506 echo "$as_me:$LINENO: result: yes" >&5
9507 echo "${ECHO_T}yes" >&6
9509 echo "$as_me:$LINENO: result: no" >&5
9510 echo "${ECHO_T}no" >&6
9515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9516 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9518 # Check whether --enable-accessibility or --disable-accessibility was given.
9519 if test "${enable_accessibility+set}" = set; then
9520 enableval
="$enable_accessibility"
9522 if test "$enableval" = yes; then
9523 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9525 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9530 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9531 if test "x$LINE" != x
; then
9532 eval "DEFAULT_$LINE"
9537 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9541 eval "$ac_cv_use_accessibility"
9542 if test "$no_cache" != 1; then
9543 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9546 if test "$wxUSE_ACCESSIBILITY" = yes; then
9547 echo "$as_me:$LINENO: result: yes" >&5
9548 echo "${ECHO_T}yes" >&6
9550 echo "$as_me:$LINENO: result: no" >&5
9551 echo "${ECHO_T}no" >&6
9558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9559 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9561 # Check whether --enable-palette or --disable-palette was given.
9562 if test "${enable_palette+set}" = set; then
9563 enableval
="$enable_palette"
9565 if test "$enableval" = yes; then
9566 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9568 ac_cv_use_palette
='wxUSE_PALETTE=no'
9573 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9574 if test "x$LINE" != x
; then
9575 eval "DEFAULT_$LINE"
9580 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9584 eval "$ac_cv_use_palette"
9585 if test "$no_cache" != 1; then
9586 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9589 if test "$wxUSE_PALETTE" = yes; then
9590 echo "$as_me:$LINENO: result: yes" >&5
9591 echo "${ECHO_T}yes" >&6
9593 echo "$as_me:$LINENO: result: no" >&5
9594 echo "${ECHO_T}no" >&6
9599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9600 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9602 # Check whether --enable-image or --disable-image was given.
9603 if test "${enable_image+set}" = set; then
9604 enableval
="$enable_image"
9606 if test "$enableval" = yes; then
9607 ac_cv_use_image
='wxUSE_IMAGE=yes'
9609 ac_cv_use_image
='wxUSE_IMAGE=no'
9614 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9615 if test "x$LINE" != x
; then
9616 eval "DEFAULT_$LINE"
9621 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9625 eval "$ac_cv_use_image"
9626 if test "$no_cache" != 1; then
9627 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9630 if test "$wxUSE_IMAGE" = yes; then
9631 echo "$as_me:$LINENO: result: yes" >&5
9632 echo "${ECHO_T}yes" >&6
9634 echo "$as_me:$LINENO: result: no" >&5
9635 echo "${ECHO_T}no" >&6
9640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9641 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9643 # Check whether --enable-gif or --disable-gif was given.
9644 if test "${enable_gif+set}" = set; then
9645 enableval
="$enable_gif"
9647 if test "$enableval" = yes; then
9648 ac_cv_use_gif
='wxUSE_GIF=yes'
9650 ac_cv_use_gif
='wxUSE_GIF=no'
9655 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9656 if test "x$LINE" != x
; then
9657 eval "DEFAULT_$LINE"
9662 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9666 eval "$ac_cv_use_gif"
9667 if test "$no_cache" != 1; then
9668 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9671 if test "$wxUSE_GIF" = yes; then
9672 echo "$as_me:$LINENO: result: yes" >&5
9673 echo "${ECHO_T}yes" >&6
9675 echo "$as_me:$LINENO: result: no" >&5
9676 echo "${ECHO_T}no" >&6
9681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9682 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9684 # Check whether --enable-pcx or --disable-pcx was given.
9685 if test "${enable_pcx+set}" = set; then
9686 enableval
="$enable_pcx"
9688 if test "$enableval" = yes; then
9689 ac_cv_use_pcx
='wxUSE_PCX=yes'
9691 ac_cv_use_pcx
='wxUSE_PCX=no'
9696 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9697 if test "x$LINE" != x
; then
9698 eval "DEFAULT_$LINE"
9703 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9707 eval "$ac_cv_use_pcx"
9708 if test "$no_cache" != 1; then
9709 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9712 if test "$wxUSE_PCX" = yes; then
9713 echo "$as_me:$LINENO: result: yes" >&5
9714 echo "${ECHO_T}yes" >&6
9716 echo "$as_me:$LINENO: result: no" >&5
9717 echo "${ECHO_T}no" >&6
9722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9723 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9725 # Check whether --enable-iff or --disable-iff was given.
9726 if test "${enable_iff+set}" = set; then
9727 enableval
="$enable_iff"
9729 if test "$enableval" = yes; then
9730 ac_cv_use_iff
='wxUSE_IFF=yes'
9732 ac_cv_use_iff
='wxUSE_IFF=no'
9737 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9738 if test "x$LINE" != x
; then
9739 eval "DEFAULT_$LINE"
9744 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9748 eval "$ac_cv_use_iff"
9749 if test "$no_cache" != 1; then
9750 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9753 if test "$wxUSE_IFF" = yes; then
9754 echo "$as_me:$LINENO: result: yes" >&5
9755 echo "${ECHO_T}yes" >&6
9757 echo "$as_me:$LINENO: result: no" >&5
9758 echo "${ECHO_T}no" >&6
9763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9764 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9766 # Check whether --enable-pnm or --disable-pnm was given.
9767 if test "${enable_pnm+set}" = set; then
9768 enableval
="$enable_pnm"
9770 if test "$enableval" = yes; then
9771 ac_cv_use_pnm
='wxUSE_PNM=yes'
9773 ac_cv_use_pnm
='wxUSE_PNM=no'
9778 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9779 if test "x$LINE" != x
; then
9780 eval "DEFAULT_$LINE"
9785 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9789 eval "$ac_cv_use_pnm"
9790 if test "$no_cache" != 1; then
9791 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9794 if test "$wxUSE_PNM" = yes; then
9795 echo "$as_me:$LINENO: result: yes" >&5
9796 echo "${ECHO_T}yes" >&6
9798 echo "$as_me:$LINENO: result: no" >&5
9799 echo "${ECHO_T}no" >&6
9804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9805 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9807 # Check whether --enable-xpm or --disable-xpm was given.
9808 if test "${enable_xpm+set}" = set; then
9809 enableval
="$enable_xpm"
9811 if test "$enableval" = yes; then
9812 ac_cv_use_xpm
='wxUSE_XPM=yes'
9814 ac_cv_use_xpm
='wxUSE_XPM=no'
9819 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9820 if test "x$LINE" != x
; then
9821 eval "DEFAULT_$LINE"
9826 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9830 eval "$ac_cv_use_xpm"
9831 if test "$no_cache" != 1; then
9832 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9835 if test "$wxUSE_XPM" = yes; then
9836 echo "$as_me:$LINENO: result: yes" >&5
9837 echo "${ECHO_T}yes" >&6
9839 echo "$as_me:$LINENO: result: no" >&5
9840 echo "${ECHO_T}no" >&6
9845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9846 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9848 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9849 if test "${enable_ico_cur+set}" = set; then
9850 enableval
="$enable_ico_cur"
9852 if test "$enableval" = yes; then
9853 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9855 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9860 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9861 if test "x$LINE" != x
; then
9862 eval "DEFAULT_$LINE"
9867 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9871 eval "$ac_cv_use_ico_cur"
9872 if test "$no_cache" != 1; then
9873 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9876 if test "$wxUSE_ICO_CUR" = yes; then
9877 echo "$as_me:$LINENO: result: yes" >&5
9878 echo "${ECHO_T}yes" >&6
9880 echo "$as_me:$LINENO: result: no" >&5
9881 echo "${ECHO_T}no" >&6
9890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9891 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9893 # Check whether --enable-official_build or --disable-official_build was given.
9894 if test "${enable_official_build+set}" = set; then
9895 enableval
="$enable_official_build"
9897 if test "$enableval" = yes; then
9898 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
9900 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
9905 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9906 if test "x$LINE" != x
; then
9907 eval "DEFAULT_$LINE"
9912 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9916 eval "$ac_cv_use_official_build"
9917 if test "$no_cache" != 1; then
9918 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9921 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9922 echo "$as_me:$LINENO: result: yes" >&5
9923 echo "${ECHO_T}yes" >&6
9925 echo "$as_me:$LINENO: result: no" >&5
9926 echo "${ECHO_T}no" >&6
9929 # Check whether --enable-vendor or --disable-vendor was given.
9930 if test "${enable_vendor+set}" = set; then
9931 enableval
="$enable_vendor"
9934 if test "x$VENDOR" = "x"; then
9939 *-pc-os2_emx | *-pc-os2-emx )
9949 echo "saving argument cache $wx_arg_cache_file"
9950 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
9954 echo "$as_me:$LINENO: checking for toolkit" >&5
9955 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9957 # In Wine, we need to default to MSW, not GTK or MOTIF
9958 if test "$wxUSE_WINE" = "yes"; then
9959 DEFAULT_DEFAULT_wxUSE_GTK
=0
9960 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
9961 DEFAULT_DEFAULT_wxUSE_MSW
=1
9965 if test "$wxUSE_GUI" = "yes"; then
9967 if test "$USE_BEOS" = 1; then
9968 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9969 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9970 { (exit 1); exit 1; }; }
9973 if test "$TOOLKIT_GIVEN" = 1; then
9974 for toolkit
in `echo $ALL_TOOLKITS`; do
9976 eval "value=\$${var}"
9977 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
9980 for toolkit
in `echo $ALL_TOOLKITS`; do
9981 if test "$has_toolkit_in_cache" != 1; then
9982 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
9984 var
=DEFAULT_wxUSE_
$toolkit
9986 eval "wxUSE_$toolkit=\$${var}"
9990 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9991 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9992 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9995 *-pc-os2_emx | *-pc-os2-emx )
9996 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9999 case "$NUM_TOOLKITS" in
10003 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10004 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10005 { (exit 1); exit 1; }; }
10008 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10009 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10010 { (exit 1); exit 1; }; }
10013 for toolkit
in `echo $ALL_TOOLKITS`; do
10015 eval "value=\$${var}"
10016 if test "x$value" != x
; then
10017 cache_var
=CACHE_
$toolkit
10018 eval "cache=\$${cache_var}"
10019 if test "$cache" = 1; then
10020 echo "$var=$value" >> ${wx_arg_cache_file}
10022 if test "$value" = 1; then
10023 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10024 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10025 echo "${ECHO_T}$toolkit_echo" >&6
10030 if test "x$host_alias" != "x"; then
10031 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10032 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10034 echo "$as_me:$LINENO: result: base only" >&5
10035 echo "${ECHO_T}base only" >&6
10040 doesnt_want_win32
=0
10043 if test "$wxUSE_MSW" = 1 ; then
10046 doesnt_want_win32
=1
10054 if test "$wxUSE_WINE" = "yes"; then
10059 LDFLAGS_GUI
="-mwindows"
10062 if test "$wants_win32" = 1 ; then
10065 cat >>confdefs.h
<<\_ACEOF
10066 #define __WIN32__ 1
10069 cat >>confdefs.h
<<\_ACEOF
10070 #define __WIN95__ 1
10073 cat >>confdefs.h
<<\_ACEOF
10074 #define __WINDOWS__ 1
10077 cat >>confdefs.h
<<\_ACEOF
10078 #define __GNUWIN32__ 1
10081 cat >>confdefs.h
<<\_ACEOF
10085 cat >>confdefs.h
<<\_ACEOF
10086 #define WINVER 0x0400
10090 if test "$doesnt_want_win32" = 1 ; then
10095 if test "$USE_UNIX" = 1 ; then
10097 cat >>confdefs.h
<<\_ACEOF
10104 cat >confcache
<<\_ACEOF
10105 # This file is a shell script that caches the results of configure
10106 # tests run on this system so they can be shared between configure
10107 # scripts and configure runs, see configure's option --config-cache.
10108 # It is not useful on other systems. If it contains results you don't
10109 # want to keep, you may remove or edit it.
10111 # config.status only pays attention to the cache file if you give it
10112 # the --recheck option to rerun configure.
10114 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10115 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10116 # following values.
10120 # The following way of writing the cache mishandles newlines in values,
10121 # but we know of no workaround that is simple, portable, and efficient.
10122 # So, don't put newlines in cache variables' values.
10123 # Ultrix sh set writes to stderr and can't be redirected directly,
10124 # and sets the high bit in the cache file unless we assign to the vars.
10127 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10129 # `set' does not quote correctly, so add quotes (double-quote
10130 # substitution turns \\\\ into \\, and sed turns \\ into \).
10133 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10136 # `set' quotes correctly as required by POSIX, so do not add quotes.
10138 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10145 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10147 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10149 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10150 if test -w $cache_file; then
10151 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10152 cat confcache
>$cache_file
10154 echo "not updating unwritable cache $cache_file"
10159 if test "$build" != "$host" ; then
10160 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10162 CXX
=$host_alias-c++
10164 RANLIB
=$host_alias-ranlib
10165 DLLTOOL
=$host_alias-dlltool
10166 RESCOMP
=$host_alias-windres
10169 STRIP
=$host_alias-strip
10171 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10172 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10173 { (exit 1); exit 1; }; }
10179 ac_cpp
='$CPP $CPPFLAGS'
10180 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10181 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10182 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10183 if test -n "$ac_tool_prefix"; then
10184 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10185 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10186 echo "$as_me:$LINENO: checking for $ac_word" >&5
10187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10188 if test "${ac_cv_prog_CC+set}" = set; then
10189 echo $ECHO_N "(cached) $ECHO_C" >&6
10191 if test -n "$CC"; then
10192 ac_cv_prog_CC
="$CC" # Let the user override the test.
10194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10195 for as_dir
in $PATH
10198 test -z "$as_dir" && as_dir
=.
10199 for ac_exec_ext
in '' $ac_executable_extensions; do
10200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10201 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10211 if test -n "$CC"; then
10212 echo "$as_me:$LINENO: result: $CC" >&5
10213 echo "${ECHO_T}$CC" >&6
10215 echo "$as_me:$LINENO: result: no" >&5
10216 echo "${ECHO_T}no" >&6
10220 if test -z "$ac_cv_prog_CC"; then
10222 # Extract the first word of "gcc", so it can be a program name with args.
10223 set dummy gcc
; ac_word
=$2
10224 echo "$as_me:$LINENO: checking for $ac_word" >&5
10225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10226 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10227 echo $ECHO_N "(cached) $ECHO_C" >&6
10229 if test -n "$ac_ct_CC"; then
10230 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10233 for as_dir
in $PATH
10236 test -z "$as_dir" && as_dir
=.
10237 for ac_exec_ext
in '' $ac_executable_extensions; do
10238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10239 ac_cv_prog_ac_ct_CC
="gcc"
10240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10248 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10249 if test -n "$ac_ct_CC"; then
10250 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10251 echo "${ECHO_T}$ac_ct_CC" >&6
10253 echo "$as_me:$LINENO: result: no" >&5
10254 echo "${ECHO_T}no" >&6
10259 CC
="$ac_cv_prog_CC"
10262 if test -z "$CC"; then
10263 if test -n "$ac_tool_prefix"; then
10264 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10265 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10266 echo "$as_me:$LINENO: checking for $ac_word" >&5
10267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10268 if test "${ac_cv_prog_CC+set}" = set; then
10269 echo $ECHO_N "(cached) $ECHO_C" >&6
10271 if test -n "$CC"; then
10272 ac_cv_prog_CC
="$CC" # Let the user override the test.
10274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10275 for as_dir
in $PATH
10278 test -z "$as_dir" && as_dir
=.
10279 for ac_exec_ext
in '' $ac_executable_extensions; do
10280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10281 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10291 if test -n "$CC"; then
10292 echo "$as_me:$LINENO: result: $CC" >&5
10293 echo "${ECHO_T}$CC" >&6
10295 echo "$as_me:$LINENO: result: no" >&5
10296 echo "${ECHO_T}no" >&6
10300 if test -z "$ac_cv_prog_CC"; then
10302 # Extract the first word of "cc", so it can be a program name with args.
10303 set dummy cc
; ac_word
=$2
10304 echo "$as_me:$LINENO: checking for $ac_word" >&5
10305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10306 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10307 echo $ECHO_N "(cached) $ECHO_C" >&6
10309 if test -n "$ac_ct_CC"; then
10310 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10313 for as_dir
in $PATH
10316 test -z "$as_dir" && as_dir
=.
10317 for ac_exec_ext
in '' $ac_executable_extensions; do
10318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10319 ac_cv_prog_ac_ct_CC
="cc"
10320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10328 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10329 if test -n "$ac_ct_CC"; then
10330 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10331 echo "${ECHO_T}$ac_ct_CC" >&6
10333 echo "$as_me:$LINENO: result: no" >&5
10334 echo "${ECHO_T}no" >&6
10339 CC
="$ac_cv_prog_CC"
10343 if test -z "$CC"; then
10344 # Extract the first word of "cc", so it can be a program name with args.
10345 set dummy cc
; ac_word
=$2
10346 echo "$as_me:$LINENO: checking for $ac_word" >&5
10347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10348 if test "${ac_cv_prog_CC+set}" = set; then
10349 echo $ECHO_N "(cached) $ECHO_C" >&6
10351 if test -n "$CC"; then
10352 ac_cv_prog_CC
="$CC" # Let the user override the test.
10354 ac_prog_rejected
=no
10355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10356 for as_dir
in $PATH
10359 test -z "$as_dir" && as_dir
=.
10360 for ac_exec_ext
in '' $ac_executable_extensions; do
10361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10362 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10363 ac_prog_rejected
=yes
10367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10373 if test $ac_prog_rejected = yes; then
10374 # We found a bogon in the path, so make sure we never use it.
10375 set dummy
$ac_cv_prog_CC
10377 if test $# != 0; then
10378 # We chose a different compiler from the bogus one.
10379 # However, it has the same basename, so the bogon will be chosen
10380 # first if we set CC to just the basename; use the full file name.
10382 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10388 if test -n "$CC"; then
10389 echo "$as_me:$LINENO: result: $CC" >&5
10390 echo "${ECHO_T}$CC" >&6
10392 echo "$as_me:$LINENO: result: no" >&5
10393 echo "${ECHO_T}no" >&6
10397 if test -z "$CC"; then
10398 if test -n "$ac_tool_prefix"; then
10401 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10402 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10403 echo "$as_me:$LINENO: checking for $ac_word" >&5
10404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10405 if test "${ac_cv_prog_CC+set}" = set; then
10406 echo $ECHO_N "(cached) $ECHO_C" >&6
10408 if test -n "$CC"; then
10409 ac_cv_prog_CC
="$CC" # Let the user override the test.
10411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10412 for as_dir
in $PATH
10415 test -z "$as_dir" && as_dir
=.
10416 for ac_exec_ext
in '' $ac_executable_extensions; do
10417 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10418 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10428 if test -n "$CC"; then
10429 echo "$as_me:$LINENO: result: $CC" >&5
10430 echo "${ECHO_T}$CC" >&6
10432 echo "$as_me:$LINENO: result: no" >&5
10433 echo "${ECHO_T}no" >&6
10436 test -n "$CC" && break
10439 if test -z "$CC"; then
10443 # Extract the first word of "$ac_prog", so it can be a program name with args.
10444 set dummy
$ac_prog; ac_word
=$2
10445 echo "$as_me:$LINENO: checking for $ac_word" >&5
10446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10447 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10448 echo $ECHO_N "(cached) $ECHO_C" >&6
10450 if test -n "$ac_ct_CC"; then
10451 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10454 for as_dir
in $PATH
10457 test -z "$as_dir" && as_dir
=.
10458 for ac_exec_ext
in '' $ac_executable_extensions; do
10459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10460 ac_cv_prog_ac_ct_CC
="$ac_prog"
10461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10469 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10470 if test -n "$ac_ct_CC"; then
10471 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10472 echo "${ECHO_T}$ac_ct_CC" >&6
10474 echo "$as_me:$LINENO: result: no" >&5
10475 echo "${ECHO_T}no" >&6
10478 test -n "$ac_ct_CC" && break
10487 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10488 See \`config.log' for more details." >&5
10489 echo "$as_me: error: no acceptable C compiler found in \$PATH
10490 See \`config.log' for more details." >&2;}
10491 { (exit 1); exit 1; }; }
10493 # Provide some information about the compiler.
10494 echo "$as_me:$LINENO:" \
10495 "checking for C compiler version" >&5
10496 ac_compiler
=`set X $ac_compile; echo $2`
10497 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10498 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10501 (exit $ac_status); }
10502 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10503 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10506 (exit $ac_status); }
10507 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10508 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10511 (exit $ac_status); }
10513 cat >conftest.
$ac_ext <<_ACEOF
10516 cat confdefs.h
>>conftest.
$ac_ext
10517 cat >>conftest.
$ac_ext <<_ACEOF
10518 /* end confdefs.h. */
10528 ac_clean_files_save
=$ac_clean_files
10529 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10530 # Try to create an executable without -o first, disregard a.out.
10531 # It will help us diagnose broken compilers, and finding out an intuition
10533 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10534 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10535 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10536 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10537 (eval $ac_link_default) 2>&5
10539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10540 (exit $ac_status); }; then
10541 # Find the output, starting from the most likely. This scheme is
10542 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10545 # Be careful to initialize this variable, since it used to be cached.
10546 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10548 # b.out is created by i960 compilers.
10549 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10551 test -f "$ac_file" || continue
10553 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10556 # This is the source file.
10559 # We found the default executable, but exeext='' is most
10563 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10564 # FIXME: I believe we export ac_cv_exeext for Libtool,
10565 # but it would be cool to find out if it's true. Does anybody
10566 # maintain Libtool? --akim.
10567 export ac_cv_exeext
10574 echo "$as_me: failed program was:" >&5
10575 sed 's/^/| /' conftest.
$ac_ext >&5
10577 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10578 See \`config.log' for more details." >&5
10579 echo "$as_me: error: C compiler cannot create executables
10580 See \`config.log' for more details." >&2;}
10581 { (exit 77); exit 77; }; }
10584 ac_exeext
=$ac_cv_exeext
10585 echo "$as_me:$LINENO: result: $ac_file" >&5
10586 echo "${ECHO_T}$ac_file" >&6
10588 # Check the compiler produces executables we can run. If not, either
10589 # the compiler is broken, or we cross compile.
10590 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10591 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10592 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10593 # If not cross compiling, check that we can run a simple program.
10594 if test "$cross_compiling" != yes; then
10595 if { ac_try
='./$ac_file'
10596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10597 (eval $ac_try) 2>&5
10599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10600 (exit $ac_status); }; }; then
10603 if test "$cross_compiling" = maybe
; then
10604 cross_compiling
=yes
10606 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10607 If you meant to cross compile, use \`--host'.
10608 See \`config.log' for more details." >&5
10609 echo "$as_me: error: cannot run C compiled programs.
10610 If you meant to cross compile, use \`--host'.
10611 See \`config.log' for more details." >&2;}
10612 { (exit 1); exit 1; }; }
10616 echo "$as_me:$LINENO: result: yes" >&5
10617 echo "${ECHO_T}yes" >&6
10619 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10620 ac_clean_files
=$ac_clean_files_save
10621 # Check the compiler produces executables we can run. If not, either
10622 # the compiler is broken, or we cross compile.
10623 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10624 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10625 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10626 echo "${ECHO_T}$cross_compiling" >&6
10628 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10629 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10631 (eval $ac_link) 2>&5
10633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10634 (exit $ac_status); }; then
10635 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10636 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10637 # work properly (i.e., refer to `conftest.exe'), while it won't with
10639 for ac_file
in conftest.exe conftest conftest.
*; do
10640 test -f "$ac_file" || continue
10642 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10643 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10644 export ac_cv_exeext
10650 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10651 See \`config.log' for more details." >&5
10652 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10653 See \`config.log' for more details." >&2;}
10654 { (exit 1); exit 1; }; }
10657 rm -f conftest
$ac_cv_exeext
10658 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10659 echo "${ECHO_T}$ac_cv_exeext" >&6
10661 rm -f conftest.
$ac_ext
10662 EXEEXT
=$ac_cv_exeext
10664 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10665 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10666 if test "${ac_cv_objext+set}" = set; then
10667 echo $ECHO_N "(cached) $ECHO_C" >&6
10669 cat >conftest.
$ac_ext <<_ACEOF
10672 cat confdefs.h
>>conftest.
$ac_ext
10673 cat >>conftest.
$ac_ext <<_ACEOF
10674 /* end confdefs.h. */
10684 rm -f conftest.o conftest.obj
10685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10686 (eval $ac_compile) 2>&5
10688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10689 (exit $ac_status); }; then
10690 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10692 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10693 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10698 echo "$as_me: failed program was:" >&5
10699 sed 's/^/| /' conftest.
$ac_ext >&5
10701 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10702 See \`config.log' for more details." >&5
10703 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10704 See \`config.log' for more details." >&2;}
10705 { (exit 1); exit 1; }; }
10708 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10710 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10711 echo "${ECHO_T}$ac_cv_objext" >&6
10712 OBJEXT
=$ac_cv_objext
10714 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10715 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10716 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10717 echo $ECHO_N "(cached) $ECHO_C" >&6
10719 cat >conftest.
$ac_ext <<_ACEOF
10722 cat confdefs.h
>>conftest.
$ac_ext
10723 cat >>conftest.
$ac_ext <<_ACEOF
10724 /* end confdefs.h. */
10737 rm -f conftest.
$ac_objext
10738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10739 (eval $ac_compile) 2>conftest.er1
10741 grep -v '^ *+' conftest.er1
>conftest.err
10743 cat conftest.err
>&5
10744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10745 (exit $ac_status); } &&
10746 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10748 (eval $ac_try) 2>&5
10750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10751 (exit $ac_status); }; } &&
10752 { ac_try
='test -s conftest.$ac_objext'
10753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10754 (eval $ac_try) 2>&5
10756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757 (exit $ac_status); }; }; then
10758 ac_compiler_gnu
=yes
10760 echo "$as_me: failed program was:" >&5
10761 sed 's/^/| /' conftest.
$ac_ext >&5
10765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10766 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10769 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10770 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10771 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10772 ac_test_CFLAGS
=${CFLAGS+set}
10773 ac_save_CFLAGS
=$CFLAGS
10775 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10776 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10777 if test "${ac_cv_prog_cc_g+set}" = set; then
10778 echo $ECHO_N "(cached) $ECHO_C" >&6
10780 cat >conftest.
$ac_ext <<_ACEOF
10783 cat confdefs.h
>>conftest.
$ac_ext
10784 cat >>conftest.
$ac_ext <<_ACEOF
10785 /* end confdefs.h. */
10795 rm -f conftest.
$ac_objext
10796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10797 (eval $ac_compile) 2>conftest.er1
10799 grep -v '^ *+' conftest.er1
>conftest.err
10801 cat conftest.err
>&5
10802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10803 (exit $ac_status); } &&
10804 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10806 (eval $ac_try) 2>&5
10808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10809 (exit $ac_status); }; } &&
10810 { ac_try
='test -s conftest.$ac_objext'
10811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10812 (eval $ac_try) 2>&5
10814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10815 (exit $ac_status); }; }; then
10816 ac_cv_prog_cc_g
=yes
10818 echo "$as_me: failed program was:" >&5
10819 sed 's/^/| /' conftest.
$ac_ext >&5
10823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10825 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10826 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10827 if test "$ac_test_CFLAGS" = set; then
10828 CFLAGS
=$ac_save_CFLAGS
10829 elif test $ac_cv_prog_cc_g = yes; then
10830 if test "$GCC" = yes; then
10836 if test "$GCC" = yes; then
10842 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10843 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10844 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10845 echo $ECHO_N "(cached) $ECHO_C" >&6
10847 ac_cv_prog_cc_stdc
=no
10849 cat >conftest.
$ac_ext <<_ACEOF
10852 cat confdefs.h
>>conftest.
$ac_ext
10853 cat >>conftest.
$ac_ext <<_ACEOF
10854 /* end confdefs.h. */
10855 #include <stdarg.h>
10857 #include <sys/types.h>
10858 #include <sys/stat.h>
10859 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10860 struct buf { int x; };
10861 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10862 static char *e (p, i)
10868 static char *f (char * (*g) (char **, int), char **p, ...)
10873 s = g (p, va_arg (v,int));
10878 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10879 function prototypes and stuff, but not '\xHH' hex character constants.
10880 These don't provoke an error unfortunately, instead are silently treated
10881 as 'x'. The following induces an error, until -std1 is added to get
10882 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10883 array size at least. It's necessary to write '\x00'==0 to get something
10884 that's true only with -std1. */
10885 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10887 int test (int i, double x);
10888 struct s1 {int (*f) (int a);};
10889 struct s2 {int (*f) (double a);};
10890 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10896 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10901 # Don't try gcc -ansi; that turns off useful extensions and
10902 # breaks some systems' header files.
10903 # AIX -qlanglvl=ansi
10904 # Ultrix and OSF/1 -std1
10905 # HP-UX 10.20 and later -Ae
10906 # HP-UX older versions -Aa -D_HPUX_SOURCE
10907 # SVR4 -Xc -D__EXTENSIONS__
10908 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10910 CC
="$ac_save_CC $ac_arg"
10911 rm -f conftest.
$ac_objext
10912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10913 (eval $ac_compile) 2>conftest.er1
10915 grep -v '^ *+' conftest.er1
>conftest.err
10917 cat conftest.err
>&5
10918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10919 (exit $ac_status); } &&
10920 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10922 (eval $ac_try) 2>&5
10924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10925 (exit $ac_status); }; } &&
10926 { ac_try
='test -s conftest.$ac_objext'
10927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10928 (eval $ac_try) 2>&5
10930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10931 (exit $ac_status); }; }; then
10932 ac_cv_prog_cc_stdc
=$ac_arg
10935 echo "$as_me: failed program was:" >&5
10936 sed 's/^/| /' conftest.
$ac_ext >&5
10939 rm -f conftest.err conftest.
$ac_objext
10941 rm -f conftest.
$ac_ext conftest.
$ac_objext
10946 case "x$ac_cv_prog_cc_stdc" in
10948 echo "$as_me:$LINENO: result: none needed" >&5
10949 echo "${ECHO_T}none needed" >&6 ;;
10951 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10952 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10953 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10956 # Some people use a C++ compiler to compile C. Since we use `exit',
10957 # in C++ we need to declare it. In case someone uses the same compiler
10958 # for both compiling C and C++ we need to have the C++ compiler decide
10959 # the declaration of exit, since it's the most demanding environment.
10960 cat >conftest.
$ac_ext <<_ACEOF
10961 #ifndef __cplusplus
10965 rm -f conftest.
$ac_objext
10966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10967 (eval $ac_compile) 2>conftest.er1
10969 grep -v '^ *+' conftest.er1
>conftest.err
10971 cat conftest.err
>&5
10972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10973 (exit $ac_status); } &&
10974 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10976 (eval $ac_try) 2>&5
10978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10979 (exit $ac_status); }; } &&
10980 { ac_try
='test -s conftest.$ac_objext'
10981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10982 (eval $ac_try) 2>&5
10984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10985 (exit $ac_status); }; }; then
10986 for ac_declaration
in \
10988 'extern "C" void std::exit (int) throw (); using std::exit;' \
10989 'extern "C" void std::exit (int); using std::exit;' \
10990 'extern "C" void exit (int) throw ();' \
10991 'extern "C" void exit (int);' \
10994 cat >conftest.
$ac_ext <<_ACEOF
10997 cat confdefs.h
>>conftest.
$ac_ext
10998 cat >>conftest.
$ac_ext <<_ACEOF
10999 /* end confdefs.h. */
11001 #include <stdlib.h>
11010 rm -f conftest.
$ac_objext
11011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11012 (eval $ac_compile) 2>conftest.er1
11014 grep -v '^ *+' conftest.er1
>conftest.err
11016 cat conftest.err
>&5
11017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018 (exit $ac_status); } &&
11019 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11021 (eval $ac_try) 2>&5
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); }; } &&
11025 { ac_try
='test -s conftest.$ac_objext'
11026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11027 (eval $ac_try) 2>&5
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); }; }; then
11033 echo "$as_me: failed program was:" >&5
11034 sed 's/^/| /' conftest.
$ac_ext >&5
11038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11039 cat >conftest.
$ac_ext <<_ACEOF
11042 cat confdefs.h
>>conftest.
$ac_ext
11043 cat >>conftest.
$ac_ext <<_ACEOF
11044 /* end confdefs.h. */
11054 rm -f conftest.
$ac_objext
11055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11056 (eval $ac_compile) 2>conftest.er1
11058 grep -v '^ *+' conftest.er1
>conftest.err
11060 cat conftest.err
>&5
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); } &&
11063 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11065 (eval $ac_try) 2>&5
11067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 (exit $ac_status); }; } &&
11069 { ac_try
='test -s conftest.$ac_objext'
11070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11071 (eval $ac_try) 2>&5
11073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); }; }; then
11077 echo "$as_me: failed program was:" >&5
11078 sed 's/^/| /' conftest.
$ac_ext >&5
11081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11084 if test -n "$ac_declaration"; then
11085 echo '#ifdef __cplusplus' >>confdefs.h
11086 echo $ac_declaration >>confdefs.h
11087 echo '#endif' >>confdefs.h
11091 echo "$as_me: failed program was:" >&5
11092 sed 's/^/| /' conftest.
$ac_ext >&5
11095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11097 ac_cpp
='$CPP $CPPFLAGS'
11098 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11099 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11100 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11105 ac_cpp
='$CPP $CPPFLAGS'
11106 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11107 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11108 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11109 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11110 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11111 # On Suns, sometimes $CPP names a directory.
11112 if test -n "$CPP" && test -d "$CPP"; then
11115 if test -z "$CPP"; then
11116 if test "${ac_cv_prog_CPP+set}" = set; then
11117 echo $ECHO_N "(cached) $ECHO_C" >&6
11119 # Double quotes because CPP needs to be expanded
11120 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11122 ac_preproc_ok
=false
11123 for ac_c_preproc_warn_flag
in '' yes
11125 # Use a header file that comes with gcc, so configuring glibc
11126 # with a fresh cross-compiler works.
11127 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11128 # <limits.h> exists even on freestanding compilers.
11129 # On the NeXT, cc -E runs the code through the compiler's parser,
11130 # not just through cpp. "Syntax error" is here to catch this case.
11131 cat >conftest.
$ac_ext <<_ACEOF
11134 cat confdefs.h
>>conftest.
$ac_ext
11135 cat >>conftest.
$ac_ext <<_ACEOF
11136 /* end confdefs.h. */
11138 # include <limits.h>
11140 # include <assert.h>
11144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11145 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11147 grep -v '^ *+' conftest.er1
>conftest.err
11149 cat conftest.err
>&5
11150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11151 (exit $ac_status); } >/dev
/null
; then
11152 if test -s conftest.err
; then
11153 ac_cpp_err
=$ac_c_preproc_warn_flag
11154 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11161 if test -z "$ac_cpp_err"; then
11164 echo "$as_me: failed program was:" >&5
11165 sed 's/^/| /' conftest.
$ac_ext >&5
11167 # Broken: fails on valid input.
11170 rm -f conftest.err conftest.
$ac_ext
11172 # OK, works on sane cases. Now check whether non-existent headers
11173 # can be detected and how.
11174 cat >conftest.
$ac_ext <<_ACEOF
11177 cat confdefs.h
>>conftest.
$ac_ext
11178 cat >>conftest.
$ac_ext <<_ACEOF
11179 /* end confdefs.h. */
11180 #include <ac_nonexistent.h>
11182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11183 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11185 grep -v '^ *+' conftest.er1
>conftest.err
11187 cat conftest.err
>&5
11188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11189 (exit $ac_status); } >/dev
/null
; then
11190 if test -s conftest.err
; then
11191 ac_cpp_err
=$ac_c_preproc_warn_flag
11192 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11199 if test -z "$ac_cpp_err"; then
11200 # Broken: success on invalid input.
11203 echo "$as_me: failed program was:" >&5
11204 sed 's/^/| /' conftest.
$ac_ext >&5
11206 # Passes both tests.
11210 rm -f conftest.err conftest.
$ac_ext
11213 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11214 rm -f conftest.err conftest.
$ac_ext
11215 if $ac_preproc_ok; then
11220 ac_cv_prog_CPP
=$CPP
11223 CPP
=$ac_cv_prog_CPP
11225 ac_cv_prog_CPP
=$CPP
11227 echo "$as_me:$LINENO: result: $CPP" >&5
11228 echo "${ECHO_T}$CPP" >&6
11229 ac_preproc_ok
=false
11230 for ac_c_preproc_warn_flag
in '' yes
11232 # Use a header file that comes with gcc, so configuring glibc
11233 # with a fresh cross-compiler works.
11234 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11235 # <limits.h> exists even on freestanding compilers.
11236 # On the NeXT, cc -E runs the code through the compiler's parser,
11237 # not just through cpp. "Syntax error" is here to catch this case.
11238 cat >conftest.
$ac_ext <<_ACEOF
11241 cat confdefs.h
>>conftest.
$ac_ext
11242 cat >>conftest.
$ac_ext <<_ACEOF
11243 /* end confdefs.h. */
11245 # include <limits.h>
11247 # include <assert.h>
11251 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11252 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11254 grep -v '^ *+' conftest.er1
>conftest.err
11256 cat conftest.err
>&5
11257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11258 (exit $ac_status); } >/dev
/null
; then
11259 if test -s conftest.err
; then
11260 ac_cpp_err
=$ac_c_preproc_warn_flag
11261 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11268 if test -z "$ac_cpp_err"; then
11271 echo "$as_me: failed program was:" >&5
11272 sed 's/^/| /' conftest.
$ac_ext >&5
11274 # Broken: fails on valid input.
11277 rm -f conftest.err conftest.
$ac_ext
11279 # OK, works on sane cases. Now check whether non-existent headers
11280 # can be detected and how.
11281 cat >conftest.
$ac_ext <<_ACEOF
11284 cat confdefs.h
>>conftest.
$ac_ext
11285 cat >>conftest.
$ac_ext <<_ACEOF
11286 /* end confdefs.h. */
11287 #include <ac_nonexistent.h>
11289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11290 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11292 grep -v '^ *+' conftest.er1
>conftest.err
11294 cat conftest.err
>&5
11295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11296 (exit $ac_status); } >/dev
/null
; then
11297 if test -s conftest.err
; then
11298 ac_cpp_err
=$ac_c_preproc_warn_flag
11299 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11306 if test -z "$ac_cpp_err"; then
11307 # Broken: success on invalid input.
11310 echo "$as_me: failed program was:" >&5
11311 sed 's/^/| /' conftest.
$ac_ext >&5
11313 # Passes both tests.
11317 rm -f conftest.err conftest.
$ac_ext
11320 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11321 rm -f conftest.err conftest.
$ac_ext
11322 if $ac_preproc_ok; then
11325 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11326 See \`config.log' for more details." >&5
11327 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11328 See \`config.log' for more details." >&2;}
11329 { (exit 1); exit 1; }; }
11333 ac_cpp
='$CPP $CPPFLAGS'
11334 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11335 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11336 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11339 echo "$as_me:$LINENO: checking for egrep" >&5
11340 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11341 if test "${ac_cv_prog_egrep+set}" = set; then
11342 echo $ECHO_N "(cached) $ECHO_C" >&6
11344 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11345 then ac_cv_prog_egrep
='grep -E'
11346 else ac_cv_prog_egrep
='egrep'
11349 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11350 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11351 EGREP
=$ac_cv_prog_egrep
11354 if test $ac_cv_c_compiler_gnu = yes; then
11355 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11356 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11357 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11358 echo $ECHO_N "(cached) $ECHO_C" >&6
11360 ac_pattern
="Autoconf.*'x'"
11361 cat >conftest.
$ac_ext <<_ACEOF
11364 cat confdefs.h
>>conftest.
$ac_ext
11365 cat >>conftest.
$ac_ext <<_ACEOF
11366 /* end confdefs.h. */
11370 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11371 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11372 ac_cv_prog_gcc_traditional
=yes
11374 ac_cv_prog_gcc_traditional
=no
11379 if test $ac_cv_prog_gcc_traditional = no
; then
11380 cat >conftest.
$ac_ext <<_ACEOF
11383 cat confdefs.h
>>conftest.
$ac_ext
11384 cat >>conftest.
$ac_ext <<_ACEOF
11385 /* end confdefs.h. */
11386 #include <termio.h>
11389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11390 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11391 ac_cv_prog_gcc_traditional
=yes
11397 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11398 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11399 if test $ac_cv_prog_gcc_traditional = yes; then
11400 CC
="$CC -traditional"
11408 ac_cpp
='$CXXCPP $CPPFLAGS'
11409 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11410 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11411 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11414 CXXFLAGS
=${CXXFLAGS:=}
11416 ac_cpp
='$CXXCPP $CPPFLAGS'
11417 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11418 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11419 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11420 if test -n "$ac_tool_prefix"; then
11421 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11423 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11424 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11425 echo "$as_me:$LINENO: checking for $ac_word" >&5
11426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11427 if test "${ac_cv_prog_CXX+set}" = set; then
11428 echo $ECHO_N "(cached) $ECHO_C" >&6
11430 if test -n "$CXX"; then
11431 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11434 for as_dir
in $PATH
11437 test -z "$as_dir" && as_dir
=.
11438 for ac_exec_ext
in '' $ac_executable_extensions; do
11439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11440 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11449 CXX
=$ac_cv_prog_CXX
11450 if test -n "$CXX"; then
11451 echo "$as_me:$LINENO: result: $CXX" >&5
11452 echo "${ECHO_T}$CXX" >&6
11454 echo "$as_me:$LINENO: result: no" >&5
11455 echo "${ECHO_T}no" >&6
11458 test -n "$CXX" && break
11461 if test -z "$CXX"; then
11463 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11465 # Extract the first word of "$ac_prog", so it can be a program name with args.
11466 set dummy
$ac_prog; ac_word
=$2
11467 echo "$as_me:$LINENO: checking for $ac_word" >&5
11468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11469 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11470 echo $ECHO_N "(cached) $ECHO_C" >&6
11472 if test -n "$ac_ct_CXX"; then
11473 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11476 for as_dir
in $PATH
11479 test -z "$as_dir" && as_dir
=.
11480 for ac_exec_ext
in '' $ac_executable_extensions; do
11481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11482 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11491 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11492 if test -n "$ac_ct_CXX"; then
11493 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11494 echo "${ECHO_T}$ac_ct_CXX" >&6
11496 echo "$as_me:$LINENO: result: no" >&5
11497 echo "${ECHO_T}no" >&6
11500 test -n "$ac_ct_CXX" && break
11502 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11508 # Provide some information about the compiler.
11509 echo "$as_me:$LINENO:" \
11510 "checking for C++ compiler version" >&5
11511 ac_compiler
=`set X $ac_compile; echo $2`
11512 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11513 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11516 (exit $ac_status); }
11517 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11518 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521 (exit $ac_status); }
11522 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11523 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526 (exit $ac_status); }
11528 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11529 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11530 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11531 echo $ECHO_N "(cached) $ECHO_C" >&6
11533 cat >conftest.
$ac_ext <<_ACEOF
11536 cat confdefs.h
>>conftest.
$ac_ext
11537 cat >>conftest.
$ac_ext <<_ACEOF
11538 /* end confdefs.h. */
11551 rm -f conftest.
$ac_objext
11552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11553 (eval $ac_compile) 2>conftest.er1
11555 grep -v '^ *+' conftest.er1
>conftest.err
11557 cat conftest.err
>&5
11558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11559 (exit $ac_status); } &&
11560 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11562 (eval $ac_try) 2>&5
11564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11565 (exit $ac_status); }; } &&
11566 { ac_try
='test -s conftest.$ac_objext'
11567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11568 (eval $ac_try) 2>&5
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); }; }; then
11572 ac_compiler_gnu
=yes
11574 echo "$as_me: failed program was:" >&5
11575 sed 's/^/| /' conftest.
$ac_ext >&5
11579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11580 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11583 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11584 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11585 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11586 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11587 ac_save_CXXFLAGS
=$CXXFLAGS
11589 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11590 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11591 if test "${ac_cv_prog_cxx_g+set}" = set; then
11592 echo $ECHO_N "(cached) $ECHO_C" >&6
11594 cat >conftest.
$ac_ext <<_ACEOF
11597 cat confdefs.h
>>conftest.
$ac_ext
11598 cat >>conftest.
$ac_ext <<_ACEOF
11599 /* end confdefs.h. */
11609 rm -f conftest.
$ac_objext
11610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11611 (eval $ac_compile) 2>conftest.er1
11613 grep -v '^ *+' conftest.er1
>conftest.err
11615 cat conftest.err
>&5
11616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617 (exit $ac_status); } &&
11618 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11620 (eval $ac_try) 2>&5
11622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11623 (exit $ac_status); }; } &&
11624 { ac_try
='test -s conftest.$ac_objext'
11625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11626 (eval $ac_try) 2>&5
11628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11629 (exit $ac_status); }; }; then
11630 ac_cv_prog_cxx_g
=yes
11632 echo "$as_me: failed program was:" >&5
11633 sed 's/^/| /' conftest.
$ac_ext >&5
11635 ac_cv_prog_cxx_g
=no
11637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11639 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11640 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11641 if test "$ac_test_CXXFLAGS" = set; then
11642 CXXFLAGS
=$ac_save_CXXFLAGS
11643 elif test $ac_cv_prog_cxx_g = yes; then
11644 if test "$GXX" = yes; then
11650 if test "$GXX" = yes; then
11656 for ac_declaration
in \
11658 'extern "C" void std::exit (int) throw (); using std::exit;' \
11659 'extern "C" void std::exit (int); using std::exit;' \
11660 'extern "C" void exit (int) throw ();' \
11661 'extern "C" void exit (int);' \
11664 cat >conftest.
$ac_ext <<_ACEOF
11667 cat confdefs.h
>>conftest.
$ac_ext
11668 cat >>conftest.
$ac_ext <<_ACEOF
11669 /* end confdefs.h. */
11671 #include <stdlib.h>
11680 rm -f conftest.
$ac_objext
11681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11682 (eval $ac_compile) 2>conftest.er1
11684 grep -v '^ *+' conftest.er1
>conftest.err
11686 cat conftest.err
>&5
11687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11688 (exit $ac_status); } &&
11689 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11691 (eval $ac_try) 2>&5
11693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11694 (exit $ac_status); }; } &&
11695 { ac_try
='test -s conftest.$ac_objext'
11696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11697 (eval $ac_try) 2>&5
11699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11700 (exit $ac_status); }; }; then
11703 echo "$as_me: failed program was:" >&5
11704 sed 's/^/| /' conftest.
$ac_ext >&5
11708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11709 cat >conftest.
$ac_ext <<_ACEOF
11712 cat confdefs.h
>>conftest.
$ac_ext
11713 cat >>conftest.
$ac_ext <<_ACEOF
11714 /* end confdefs.h. */
11724 rm -f conftest.
$ac_objext
11725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11726 (eval $ac_compile) 2>conftest.er1
11728 grep -v '^ *+' conftest.er1
>conftest.err
11730 cat conftest.err
>&5
11731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732 (exit $ac_status); } &&
11733 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11735 (eval $ac_try) 2>&5
11737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11738 (exit $ac_status); }; } &&
11739 { ac_try
='test -s conftest.$ac_objext'
11740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11741 (eval $ac_try) 2>&5
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); }; }; then
11747 echo "$as_me: failed program was:" >&5
11748 sed 's/^/| /' conftest.
$ac_ext >&5
11751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11754 if test -n "$ac_declaration"; then
11755 echo '#ifdef __cplusplus' >>confdefs.h
11756 echo $ac_declaration >>confdefs.h
11757 echo '#endif' >>confdefs.h
11761 ac_cpp
='$CXXCPP $CPPFLAGS'
11762 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11763 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11764 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11768 ac_cpp
='$CPP $CPPFLAGS'
11769 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11770 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11771 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11774 if test -n "$ac_tool_prefix"; then
11775 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11776 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11777 echo "$as_me:$LINENO: checking for $ac_word" >&5
11778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11779 if test "${ac_cv_prog_RANLIB+set}" = set; then
11780 echo $ECHO_N "(cached) $ECHO_C" >&6
11782 if test -n "$RANLIB"; then
11783 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11786 for as_dir
in $PATH
11789 test -z "$as_dir" && as_dir
=.
11790 for ac_exec_ext
in '' $ac_executable_extensions; do
11791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11792 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11801 RANLIB
=$ac_cv_prog_RANLIB
11802 if test -n "$RANLIB"; then
11803 echo "$as_me:$LINENO: result: $RANLIB" >&5
11804 echo "${ECHO_T}$RANLIB" >&6
11806 echo "$as_me:$LINENO: result: no" >&5
11807 echo "${ECHO_T}no" >&6
11811 if test -z "$ac_cv_prog_RANLIB"; then
11812 ac_ct_RANLIB
=$RANLIB
11813 # Extract the first word of "ranlib", so it can be a program name with args.
11814 set dummy ranlib
; ac_word
=$2
11815 echo "$as_me:$LINENO: checking for $ac_word" >&5
11816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11817 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11818 echo $ECHO_N "(cached) $ECHO_C" >&6
11820 if test -n "$ac_ct_RANLIB"; then
11821 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11824 for as_dir
in $PATH
11827 test -z "$as_dir" && as_dir
=.
11828 for ac_exec_ext
in '' $ac_executable_extensions; do
11829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11830 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11837 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11840 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11841 if test -n "$ac_ct_RANLIB"; then
11842 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11843 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11845 echo "$as_me:$LINENO: result: no" >&5
11846 echo "${ECHO_T}no" >&6
11849 RANLIB
=$ac_ct_RANLIB
11851 RANLIB
="$ac_cv_prog_RANLIB"
11855 # Extract the first word of "ar", so it can be a program name with args.
11856 set dummy
ar; ac_word
=$2
11857 echo "$as_me:$LINENO: checking for $ac_word" >&5
11858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11859 if test "${ac_cv_prog_AR+set}" = set; then
11860 echo $ECHO_N "(cached) $ECHO_C" >&6
11862 if test -n "$AR"; then
11863 ac_cv_prog_AR
="$AR" # Let the user override the test.
11865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11866 for as_dir
in $PATH
11869 test -z "$as_dir" && as_dir
=.
11870 for ac_exec_ext
in '' $ac_executable_extensions; do
11871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11882 if test -n "$AR"; then
11883 echo "$as_me:$LINENO: result: $AR" >&5
11884 echo "${ECHO_T}$AR" >&6
11886 echo "$as_me:$LINENO: result: no" >&5
11887 echo "${ECHO_T}no" >&6
11890 if test "x$AR" = "x" ; then
11891 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
11892 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
11893 { (exit 1); exit 1; }; }
11896 # Find a good install program. We prefer a C program (faster),
11897 # so one script is as good as another. But avoid the broken or
11898 # incompatible versions:
11899 # SysV /etc/install, /usr/sbin/install
11900 # SunOS /usr/etc/install
11901 # IRIX /sbin/install
11903 # AmigaOS /C/install, which installs bootblocks on floppy discs
11904 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11905 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11906 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11907 # OS/2's system install, which has a completely different semantic
11908 # ./install, which can be erroneously created by make from ./install.sh.
11909 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11910 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11911 if test -z "$INSTALL"; then
11912 if test "${ac_cv_path_install+set}" = set; then
11913 echo $ECHO_N "(cached) $ECHO_C" >&6
11915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11916 for as_dir
in $PATH
11919 test -z "$as_dir" && as_dir
=.
11920 # Account for people who put trailing slashes in PATH elements.
11922 .
/ | .
// | /cC
/* | \
11923 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11924 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11927 # OSF1 and SCO ODT 3.0 have their own names for install.
11928 # Don't use installbsd from OSF since it installs stuff as root
11930 for ac_prog
in ginstall scoinst
install; do
11931 for ac_exec_ext
in '' $ac_executable_extensions; do
11932 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11933 if test $ac_prog = install &&
11934 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11935 # AIX install. It has an incompatible calling convention.
11937 elif test $ac_prog = install &&
11938 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11939 # program-specific install script used by HP pwplus--don't use.
11942 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11954 if test "${ac_cv_path_install+set}" = set; then
11955 INSTALL
=$ac_cv_path_install
11957 # As a last resort, use the slow shell script. We don't cache a
11958 # path for INSTALL within a source directory, because that will
11959 # break other packages using the cache if that directory is
11960 # removed, or if the path is relative.
11961 INSTALL
=$ac_install_sh
11964 echo "$as_me:$LINENO: result: $INSTALL" >&5
11965 echo "${ECHO_T}$INSTALL" >&6
11967 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11968 # It thinks the first close brace ends the variable substitution.
11969 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11971 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11973 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11979 ?
:* ) # Drive letter, considered as absolute.
11982 INSTALL
=`pwd`/${INSTALL} ;;
11987 INSTALL_DIR
="mkdir"
11990 *) INSTALL_DIR
="$INSTALL -d"
11997 powerpc
-*-darwin* )
11998 INSTALL_PROGRAM
="cp -fp"
11999 INSTALL_DATA
="cp -fp"
12005 # Extract the first word of "strip", so it can be a program name with args.
12006 set dummy strip
; ac_word
=$2
12007 echo "$as_me:$LINENO: checking for $ac_word" >&5
12008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12009 if test "${ac_cv_prog_STRIP+set}" = set; then
12010 echo $ECHO_N "(cached) $ECHO_C" >&6
12012 if test -n "$STRIP"; then
12013 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12016 for as_dir
in $PATH
12019 test -z "$as_dir" && as_dir
=.
12020 for ac_exec_ext
in '' $ac_executable_extensions; do
12021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12022 ac_cv_prog_STRIP
="strip"
12023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12029 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12032 STRIP
=$ac_cv_prog_STRIP
12033 if test -n "$STRIP"; then
12034 echo "$as_me:$LINENO: result: $STRIP" >&5
12035 echo "${ECHO_T}$STRIP" >&6
12037 echo "$as_me:$LINENO: result: no" >&5
12038 echo "${ECHO_T}no" >&6
12042 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12043 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12044 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12045 echo $ECHO_N "(cached) $ECHO_C" >&6
12048 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12049 egrep -s GNU
> /dev
/null
); then
12050 wx_cv_prog_makeisgnu
="yes"
12052 wx_cv_prog_makeisgnu
="no"
12056 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12057 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12059 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12067 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12068 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12069 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12070 if test "${wx_cv_prog_makevpath+set}" = set; then
12071 echo $ECHO_N "(cached) $ECHO_C" >&6
12074 cat - << EOF > confMake
12080 if test ! -d sub
; then
12083 echo dummy
> sub
/file
12084 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12086 rm -f sub
/file check final_file confMake
12088 if test "$RESULT" = 0; then
12089 wx_cv_prog_makevpath
="yes"
12091 wx_cv_prog_makevpath
="no"
12095 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12096 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12098 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12099 { { echo "$as_me:$LINENO: error:
12100 You need a make-utility that is able to use the variable
12102 If your version of make does not support VPATH correctly,
12103 please install GNU-make (possibly as gmake), and start
12104 configure with the following command:
12105 export MAKE=gmake; ./configure for sh-type shells
12106 setenv MAKE gmake; ./configure for csh-type shells
12107 Also please do remember to use gmake in this case every time
12108 you are trying to compile.
12110 echo "$as_me: error:
12111 You need a make-utility that is able to use the variable
12113 If your version of make does not support VPATH correctly,
12114 please install GNU-make (possibly as gmake), and start
12115 configure with the following command:
12116 export MAKE=gmake; ./configure for sh-type shells
12117 setenv MAKE gmake; ./configure for csh-type shells
12118 Also please do remember to use gmake in this case every time
12119 you are trying to compile.
12121 { (exit 1); exit 1; }; }
12123 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12124 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12126 if test "$LN_S" = "ln -s"; then
12127 echo "$as_me:$LINENO: result: yes" >&5
12128 echo "${ECHO_T}yes" >&6
12130 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12131 echo "${ECHO_T}no, using $LN_S" >&6
12137 *-pc-os2_emx | *-pc-os2-emx )
12138 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12139 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12140 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12141 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12142 echo $ECHO_N "(cached) $ECHO_C" >&6
12144 ac_check_lib_save_LIBS
=$LIBS
12145 LIBS
="-lcExt $LIBS"
12146 cat >conftest.
$ac_ext <<_ACEOF
12149 cat confdefs.h
>>conftest.
$ac_ext
12150 cat >>conftest.
$ac_ext <<_ACEOF
12151 /* end confdefs.h. */
12153 /* Override any gcc2 internal prototype to avoid an error. */
12157 /* We use char because int might match the return type of a gcc2
12158 builtin and then its argument prototype would still apply. */
12168 rm -f conftest.
$ac_objext conftest
$ac_exeext
12169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12170 (eval $ac_link) 2>conftest.er1
12172 grep -v '^ *+' conftest.er1
>conftest.err
12174 cat conftest.err
>&5
12175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12176 (exit $ac_status); } &&
12177 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12179 (eval $ac_try) 2>&5
12181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12182 (exit $ac_status); }; } &&
12183 { ac_try
='test -s conftest$ac_exeext'
12184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12185 (eval $ac_try) 2>&5
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); }; }; then
12189 ac_cv_lib_cExt_drand48
=yes
12191 echo "$as_me: failed program was:" >&5
12192 sed 's/^/| /' conftest.
$ac_ext >&5
12194 ac_cv_lib_cExt_drand48
=no
12196 rm -f conftest.err conftest.
$ac_objext \
12197 conftest
$ac_exeext conftest.
$ac_ext
12198 LIBS
=$ac_check_lib_save_LIBS
12200 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12201 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12202 if test $ac_cv_lib_cExt_drand48 = yes; then
12203 LIBS
="$LIBS -lcExt"
12207 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12209 echo "$as_me:$LINENO: checking for gcc version" >&5
12210 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12211 if test "${wx_cv_gccversion+set}" = set; then
12212 echo $ECHO_N "(cached) $ECHO_C" >&6
12215 cat >conftest.
$ac_ext <<_ACEOF
12218 cat confdefs.h
>>conftest.
$ac_ext
12219 cat >>conftest.
$ac_ext <<_ACEOF
12220 /* end confdefs.h. */
12234 rm -f conftest.
$ac_objext
12235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12236 (eval $ac_compile) 2>conftest.er1
12238 grep -v '^ *+' conftest.er1
>conftest.err
12240 cat conftest.err
>&5
12241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12242 (exit $ac_status); } &&
12243 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12245 (eval $ac_try) 2>&5
12247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12248 (exit $ac_status); }; } &&
12249 { ac_try
='test -s conftest.$ac_objext'
12250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12251 (eval $ac_try) 2>&5
12253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12254 (exit $ac_status); }; }; then
12256 cat >conftest.
$ac_ext <<_ACEOF
12259 cat confdefs.h
>>conftest.
$ac_ext
12260 cat >>conftest.
$ac_ext <<_ACEOF
12261 /* end confdefs.h. */
12267 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12268 #error intermediate gcc
12275 rm -f conftest.
$ac_objext
12276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12277 (eval $ac_compile) 2>conftest.er1
12279 grep -v '^ *+' conftest.er1
>conftest.err
12281 cat conftest.err
>&5
12282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12283 (exit $ac_status); } &&
12284 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12286 (eval $ac_try) 2>&5
12288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12289 (exit $ac_status); }; } &&
12290 { ac_try
='test -s conftest.$ac_objext'
12291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12292 (eval $ac_try) 2>&5
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); }; }; then
12297 wx_cv_gccversion
=Innotek
12300 echo "$as_me: failed program was:" >&5
12301 sed 's/^/| /' conftest.
$ac_ext >&5
12308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12311 echo "$as_me: failed program was:" >&5
12312 sed 's/^/| /' conftest.
$ac_ext >&5
12319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12322 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12323 echo "${ECHO_T}$wx_cv_gccversion" >&6
12324 if test "$wx_cv_gccversion" = "2"; then
12325 LIBS
="$LIBS -lstdcpp"
12326 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12328 if test "$wx_cv_gccversion" = "3"; then
12329 LIBS
="$LIBS -lstdcxx"
12330 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12332 LIBS
="$LIBS -lstdc++"
12335 if test "$wxUSE_OMF" = "yes"; then
12336 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12344 ac_cpp
='$CXXCPP $CPPFLAGS'
12345 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12346 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12347 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12351 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12352 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12353 if test "${ac_cv_string_strcasecmp+set}" = set; then
12354 echo $ECHO_N "(cached) $ECHO_C" >&6
12357 cat >conftest.
$ac_ext <<_ACEOF
12360 cat confdefs.h
>>conftest.
$ac_ext
12361 cat >>conftest.
$ac_ext <<_ACEOF
12362 /* end confdefs.h. */
12364 #include <string.h>
12370 strcasecmp("foo", "bar");
12376 rm -f conftest.
$ac_objext conftest
$ac_exeext
12377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12378 (eval $ac_link) 2>conftest.er1
12380 grep -v '^ *+' conftest.er1
>conftest.err
12382 cat conftest.err
>&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); } &&
12385 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12387 (eval $ac_try) 2>&5
12389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12390 (exit $ac_status); }; } &&
12391 { ac_try
='test -s conftest$ac_exeext'
12392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12393 (eval $ac_try) 2>&5
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); }; }; then
12397 ac_cv_string_strcasecmp
=yes
12399 echo "$as_me: failed program was:" >&5
12400 sed 's/^/| /' conftest.
$ac_ext >&5
12402 ac_cv_string_strcasecmp
=no
12405 rm -f conftest.err conftest.
$ac_objext \
12406 conftest
$ac_exeext conftest.
$ac_ext
12409 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12410 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12412 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12413 cat >>confdefs.h
<<\_ACEOF
12414 #define HAVE_STRCASECMP_IN_STRING_H 1
12418 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12419 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12420 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12421 echo $ECHO_N "(cached) $ECHO_C" >&6
12424 cat >conftest.
$ac_ext <<_ACEOF
12427 cat confdefs.h
>>conftest.
$ac_ext
12428 cat >>conftest.
$ac_ext <<_ACEOF
12429 /* end confdefs.h. */
12431 #include <strings.h>
12437 strcasecmp("foo", "bar");
12443 rm -f conftest.
$ac_objext conftest
$ac_exeext
12444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12445 (eval $ac_link) 2>conftest.er1
12447 grep -v '^ *+' conftest.er1
>conftest.err
12449 cat conftest.err
>&5
12450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451 (exit $ac_status); } &&
12452 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12454 (eval $ac_try) 2>&5
12456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12457 (exit $ac_status); }; } &&
12458 { ac_try
='test -s conftest$ac_exeext'
12459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12460 (eval $ac_try) 2>&5
12462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12463 (exit $ac_status); }; }; then
12464 ac_cv_strings_strcasecmp
=yes
12466 echo "$as_me: failed program was:" >&5
12467 sed 's/^/| /' conftest.
$ac_ext >&5
12469 ac_cv_strings_strcasecmp
=no
12472 rm -f conftest.err conftest.
$ac_objext \
12473 conftest
$ac_exeext conftest.
$ac_ext
12476 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12477 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12479 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12480 cat >>confdefs.h
<<\_ACEOF
12481 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12485 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12486 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12487 { (exit 1); exit 1; }; }
12492 ac_cpp
='$CPP $CPPFLAGS'
12493 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12494 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12495 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12501 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12502 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12503 if test "${ac_cv_header_stdc+set}" = set; then
12504 echo $ECHO_N "(cached) $ECHO_C" >&6
12506 cat >conftest.
$ac_ext <<_ACEOF
12509 cat confdefs.h
>>conftest.
$ac_ext
12510 cat >>conftest.
$ac_ext <<_ACEOF
12511 /* end confdefs.h. */
12512 #include <stdlib.h>
12513 #include <stdarg.h>
12514 #include <string.h>
12525 rm -f conftest.
$ac_objext
12526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12527 (eval $ac_compile) 2>conftest.er1
12529 grep -v '^ *+' conftest.er1
>conftest.err
12531 cat conftest.err
>&5
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); } &&
12534 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12536 (eval $ac_try) 2>&5
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); }; } &&
12540 { ac_try
='test -s conftest.$ac_objext'
12541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12542 (eval $ac_try) 2>&5
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); }; }; then
12546 ac_cv_header_stdc
=yes
12548 echo "$as_me: failed program was:" >&5
12549 sed 's/^/| /' conftest.
$ac_ext >&5
12551 ac_cv_header_stdc
=no
12553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12555 if test $ac_cv_header_stdc = yes; then
12556 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12557 cat >conftest.
$ac_ext <<_ACEOF
12560 cat confdefs.h
>>conftest.
$ac_ext
12561 cat >>conftest.
$ac_ext <<_ACEOF
12562 /* end confdefs.h. */
12563 #include <string.h>
12566 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12567 $EGREP "memchr" >/dev
/null
2>&1; then
12570 ac_cv_header_stdc
=no
12576 if test $ac_cv_header_stdc = yes; then
12577 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12578 cat >conftest.
$ac_ext <<_ACEOF
12581 cat confdefs.h
>>conftest.
$ac_ext
12582 cat >>conftest.
$ac_ext <<_ACEOF
12583 /* end confdefs.h. */
12584 #include <stdlib.h>
12587 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12588 $EGREP "free" >/dev
/null
2>&1; then
12591 ac_cv_header_stdc
=no
12597 if test $ac_cv_header_stdc = yes; then
12598 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12599 if test "$cross_compiling" = yes; then
12602 cat >conftest.
$ac_ext <<_ACEOF
12605 cat confdefs.h
>>conftest.
$ac_ext
12606 cat >>conftest.
$ac_ext <<_ACEOF
12607 /* end confdefs.h. */
12609 #if ((' ' & 0x0FF) == 0x020)
12610 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12611 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12613 # define ISLOWER(c) \
12614 (('a' <= (c) && (c) <= 'i') \
12615 || ('j' <= (c) && (c) <= 'r') \
12616 || ('s' <= (c) && (c) <= 'z'))
12617 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12620 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12625 for (i = 0; i < 256; i++)
12626 if (XOR (islower (i), ISLOWER (i))
12627 || toupper (i) != TOUPPER (i))
12632 rm -f conftest
$ac_exeext
12633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12634 (eval $ac_link) 2>&5
12636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12637 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12639 (eval $ac_try) 2>&5
12641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642 (exit $ac_status); }; }; then
12645 echo "$as_me: program exited with status $ac_status" >&5
12646 echo "$as_me: failed program was:" >&5
12647 sed 's/^/| /' conftest.
$ac_ext >&5
12649 ( exit $ac_status )
12650 ac_cv_header_stdc
=no
12652 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12656 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12657 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12658 if test $ac_cv_header_stdc = yes; then
12660 cat >>confdefs.h
<<\_ACEOF
12661 #define STDC_HEADERS 1
12666 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12676 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12677 inttypes.h stdint.h unistd.h
12679 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12680 echo "$as_me:$LINENO: checking for $ac_header" >&5
12681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12683 echo $ECHO_N "(cached) $ECHO_C" >&6
12685 cat >conftest.
$ac_ext <<_ACEOF
12688 cat confdefs.h
>>conftest.
$ac_ext
12689 cat >>conftest.
$ac_ext <<_ACEOF
12690 /* end confdefs.h. */
12691 $ac_includes_default
12693 #include <$ac_header>
12695 rm -f conftest.
$ac_objext
12696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12697 (eval $ac_compile) 2>conftest.er1
12699 grep -v '^ *+' conftest.er1
>conftest.err
12701 cat conftest.err
>&5
12702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12703 (exit $ac_status); } &&
12704 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12706 (eval $ac_try) 2>&5
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); }; } &&
12710 { ac_try
='test -s conftest.$ac_objext'
12711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12712 (eval $ac_try) 2>&5
12714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715 (exit $ac_status); }; }; then
12716 eval "$as_ac_Header=yes"
12718 echo "$as_me: failed program was:" >&5
12719 sed 's/^/| /' conftest.
$ac_ext >&5
12721 eval "$as_ac_Header=no"
12723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12726 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12727 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12728 cat >>confdefs.h
<<_ACEOF
12729 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12738 for ac_header
in stdlib.h
12740 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12742 echo "$as_me:$LINENO: checking for $ac_header" >&5
12743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12745 echo $ECHO_N "(cached) $ECHO_C" >&6
12747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12748 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12750 # Is the header compilable?
12751 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12752 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12753 cat >conftest.
$ac_ext <<_ACEOF
12756 cat confdefs.h
>>conftest.
$ac_ext
12757 cat >>conftest.
$ac_ext <<_ACEOF
12758 /* end confdefs.h. */
12759 $ac_includes_default
12760 #include <$ac_header>
12762 rm -f conftest.
$ac_objext
12763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12764 (eval $ac_compile) 2>conftest.er1
12766 grep -v '^ *+' conftest.er1
>conftest.err
12768 cat conftest.err
>&5
12769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12770 (exit $ac_status); } &&
12771 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12773 (eval $ac_try) 2>&5
12775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12776 (exit $ac_status); }; } &&
12777 { ac_try
='test -s conftest.$ac_objext'
12778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12779 (eval $ac_try) 2>&5
12781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12782 (exit $ac_status); }; }; then
12783 ac_header_compiler
=yes
12785 echo "$as_me: failed program was:" >&5
12786 sed 's/^/| /' conftest.
$ac_ext >&5
12788 ac_header_compiler
=no
12790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12791 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12792 echo "${ECHO_T}$ac_header_compiler" >&6
12794 # Is the header present?
12795 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12796 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12797 cat >conftest.
$ac_ext <<_ACEOF
12800 cat confdefs.h
>>conftest.
$ac_ext
12801 cat >>conftest.
$ac_ext <<_ACEOF
12802 /* end confdefs.h. */
12803 #include <$ac_header>
12805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12806 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12808 grep -v '^ *+' conftest.er1
>conftest.err
12810 cat conftest.err
>&5
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); } >/dev
/null
; then
12813 if test -s conftest.err
; then
12814 ac_cpp_err
=$ac_c_preproc_warn_flag
12815 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12822 if test -z "$ac_cpp_err"; then
12823 ac_header_preproc
=yes
12825 echo "$as_me: failed program was:" >&5
12826 sed 's/^/| /' conftest.
$ac_ext >&5
12828 ac_header_preproc
=no
12830 rm -f conftest.err conftest.
$ac_ext
12831 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12832 echo "${ECHO_T}$ac_header_preproc" >&6
12834 # So? What about this header?
12835 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12837 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12838 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12840 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12841 ac_header_preproc
=yes
12844 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12845 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12846 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12847 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12848 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12849 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12850 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12851 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12852 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12853 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12854 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12855 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12858 ## ----------------------------------------- ##
12859 ## Report this to wx-dev@lists.wxwidgets.org ##
12860 ## ----------------------------------------- ##
12863 sed "s/^/$as_me: WARNING: /" >&2
12866 echo "$as_me:$LINENO: checking for $ac_header" >&5
12867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12869 echo $ECHO_N "(cached) $ECHO_C" >&6
12871 eval "$as_ac_Header=\$ac_header_preproc"
12873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12874 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12877 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12878 cat >>confdefs.h
<<_ACEOF
12879 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12887 for ac_header
in malloc.h
12889 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12891 echo "$as_me:$LINENO: checking for $ac_header" >&5
12892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12894 echo $ECHO_N "(cached) $ECHO_C" >&6
12896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12897 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12899 # Is the header compilable?
12900 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12901 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12902 cat >conftest.
$ac_ext <<_ACEOF
12905 cat confdefs.h
>>conftest.
$ac_ext
12906 cat >>conftest.
$ac_ext <<_ACEOF
12907 /* end confdefs.h. */
12908 $ac_includes_default
12909 #include <$ac_header>
12911 rm -f conftest.
$ac_objext
12912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12913 (eval $ac_compile) 2>conftest.er1
12915 grep -v '^ *+' conftest.er1
>conftest.err
12917 cat conftest.err
>&5
12918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12919 (exit $ac_status); } &&
12920 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12922 (eval $ac_try) 2>&5
12924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12925 (exit $ac_status); }; } &&
12926 { ac_try
='test -s conftest.$ac_objext'
12927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12928 (eval $ac_try) 2>&5
12930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12931 (exit $ac_status); }; }; then
12932 ac_header_compiler
=yes
12934 echo "$as_me: failed program was:" >&5
12935 sed 's/^/| /' conftest.
$ac_ext >&5
12937 ac_header_compiler
=no
12939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12940 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12941 echo "${ECHO_T}$ac_header_compiler" >&6
12943 # Is the header present?
12944 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12945 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12946 cat >conftest.
$ac_ext <<_ACEOF
12949 cat confdefs.h
>>conftest.
$ac_ext
12950 cat >>conftest.
$ac_ext <<_ACEOF
12951 /* end confdefs.h. */
12952 #include <$ac_header>
12954 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12955 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12957 grep -v '^ *+' conftest.er1
>conftest.err
12959 cat conftest.err
>&5
12960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12961 (exit $ac_status); } >/dev
/null
; then
12962 if test -s conftest.err
; then
12963 ac_cpp_err
=$ac_c_preproc_warn_flag
12964 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12971 if test -z "$ac_cpp_err"; then
12972 ac_header_preproc
=yes
12974 echo "$as_me: failed program was:" >&5
12975 sed 's/^/| /' conftest.
$ac_ext >&5
12977 ac_header_preproc
=no
12979 rm -f conftest.err conftest.
$ac_ext
12980 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12981 echo "${ECHO_T}$ac_header_preproc" >&6
12983 # So? What about this header?
12984 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12986 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12987 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12988 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12989 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12990 ac_header_preproc
=yes
12993 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12994 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12995 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12996 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12997 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12998 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12999 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13000 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13001 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13002 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13003 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13004 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13007 ## ----------------------------------------- ##
13008 ## Report this to wx-dev@lists.wxwidgets.org ##
13009 ## ----------------------------------------- ##
13012 sed "s/^/$as_me: WARNING: /" >&2
13015 echo "$as_me:$LINENO: checking for $ac_header" >&5
13016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13017 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13018 echo $ECHO_N "(cached) $ECHO_C" >&6
13020 eval "$as_ac_Header=\$ac_header_preproc"
13022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13023 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13026 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13027 cat >>confdefs.h
<<_ACEOF
13028 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13036 for ac_header
in unistd.h
13038 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13040 echo "$as_me:$LINENO: checking for $ac_header" >&5
13041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13043 echo $ECHO_N "(cached) $ECHO_C" >&6
13045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13046 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13048 # Is the header compilable?
13049 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13050 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13051 cat >conftest.
$ac_ext <<_ACEOF
13054 cat confdefs.h
>>conftest.
$ac_ext
13055 cat >>conftest.
$ac_ext <<_ACEOF
13056 /* end confdefs.h. */
13057 $ac_includes_default
13058 #include <$ac_header>
13060 rm -f conftest.
$ac_objext
13061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13062 (eval $ac_compile) 2>conftest.er1
13064 grep -v '^ *+' conftest.er1
>conftest.err
13066 cat conftest.err
>&5
13067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13068 (exit $ac_status); } &&
13069 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13071 (eval $ac_try) 2>&5
13073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074 (exit $ac_status); }; } &&
13075 { ac_try
='test -s conftest.$ac_objext'
13076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13077 (eval $ac_try) 2>&5
13079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13080 (exit $ac_status); }; }; then
13081 ac_header_compiler
=yes
13083 echo "$as_me: failed program was:" >&5
13084 sed 's/^/| /' conftest.
$ac_ext >&5
13086 ac_header_compiler
=no
13088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13089 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13090 echo "${ECHO_T}$ac_header_compiler" >&6
13092 # Is the header present?
13093 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13094 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13095 cat >conftest.
$ac_ext <<_ACEOF
13098 cat confdefs.h
>>conftest.
$ac_ext
13099 cat >>conftest.
$ac_ext <<_ACEOF
13100 /* end confdefs.h. */
13101 #include <$ac_header>
13103 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13104 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13106 grep -v '^ *+' conftest.er1
>conftest.err
13108 cat conftest.err
>&5
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); } >/dev
/null
; then
13111 if test -s conftest.err
; then
13112 ac_cpp_err
=$ac_c_preproc_warn_flag
13113 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13120 if test -z "$ac_cpp_err"; then
13121 ac_header_preproc
=yes
13123 echo "$as_me: failed program was:" >&5
13124 sed 's/^/| /' conftest.
$ac_ext >&5
13126 ac_header_preproc
=no
13128 rm -f conftest.err conftest.
$ac_ext
13129 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13130 echo "${ECHO_T}$ac_header_preproc" >&6
13132 # So? What about this header?
13133 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13135 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13136 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13137 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13138 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13139 ac_header_preproc
=yes
13142 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13143 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13144 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13145 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13146 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13147 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13148 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13149 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13150 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13151 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13152 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13153 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13156 ## ----------------------------------------- ##
13157 ## Report this to wx-dev@lists.wxwidgets.org ##
13158 ## ----------------------------------------- ##
13161 sed "s/^/$as_me: WARNING: /" >&2
13164 echo "$as_me:$LINENO: checking for $ac_header" >&5
13165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13167 echo $ECHO_N "(cached) $ECHO_C" >&6
13169 eval "$as_ac_Header=\$ac_header_preproc"
13171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13172 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13175 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13176 cat >>confdefs.h
<<_ACEOF
13177 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13185 for ac_header
in wchar.h
13187 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13189 echo "$as_me:$LINENO: checking for $ac_header" >&5
13190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13192 echo $ECHO_N "(cached) $ECHO_C" >&6
13194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13197 # Is the header compilable?
13198 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13199 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13200 cat >conftest.
$ac_ext <<_ACEOF
13203 cat confdefs.h
>>conftest.
$ac_ext
13204 cat >>conftest.
$ac_ext <<_ACEOF
13205 /* end confdefs.h. */
13206 $ac_includes_default
13207 #include <$ac_header>
13209 rm -f conftest.
$ac_objext
13210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13211 (eval $ac_compile) 2>conftest.er1
13213 grep -v '^ *+' conftest.er1
>conftest.err
13215 cat conftest.err
>&5
13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); } &&
13218 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13220 (eval $ac_try) 2>&5
13222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13223 (exit $ac_status); }; } &&
13224 { ac_try
='test -s conftest.$ac_objext'
13225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13226 (eval $ac_try) 2>&5
13228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13229 (exit $ac_status); }; }; then
13230 ac_header_compiler
=yes
13232 echo "$as_me: failed program was:" >&5
13233 sed 's/^/| /' conftest.
$ac_ext >&5
13235 ac_header_compiler
=no
13237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13238 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13239 echo "${ECHO_T}$ac_header_compiler" >&6
13241 # Is the header present?
13242 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13243 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13244 cat >conftest.
$ac_ext <<_ACEOF
13247 cat confdefs.h
>>conftest.
$ac_ext
13248 cat >>conftest.
$ac_ext <<_ACEOF
13249 /* end confdefs.h. */
13250 #include <$ac_header>
13252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13253 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13255 grep -v '^ *+' conftest.er1
>conftest.err
13257 cat conftest.err
>&5
13258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13259 (exit $ac_status); } >/dev
/null
; then
13260 if test -s conftest.err
; then
13261 ac_cpp_err
=$ac_c_preproc_warn_flag
13262 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13269 if test -z "$ac_cpp_err"; then
13270 ac_header_preproc
=yes
13272 echo "$as_me: failed program was:" >&5
13273 sed 's/^/| /' conftest.
$ac_ext >&5
13275 ac_header_preproc
=no
13277 rm -f conftest.err conftest.
$ac_ext
13278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13279 echo "${ECHO_T}$ac_header_preproc" >&6
13281 # So? What about this header?
13282 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13284 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13285 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13287 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13288 ac_header_preproc
=yes
13291 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13292 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13293 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13294 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13295 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13296 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13297 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13298 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13300 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13301 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13302 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13305 ## ----------------------------------------- ##
13306 ## Report this to wx-dev@lists.wxwidgets.org ##
13307 ## ----------------------------------------- ##
13310 sed "s/^/$as_me: WARNING: /" >&2
13313 echo "$as_me:$LINENO: checking for $ac_header" >&5
13314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13316 echo $ECHO_N "(cached) $ECHO_C" >&6
13318 eval "$as_ac_Header=\$ac_header_preproc"
13320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13325 cat >>confdefs.h
<<_ACEOF
13326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13334 if test "$ac_cv_header_wchar_h" != "yes"; then
13336 for ac_header
in wcstr.h
13338 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13340 echo "$as_me:$LINENO: checking for $ac_header" >&5
13341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13343 echo $ECHO_N "(cached) $ECHO_C" >&6
13345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13346 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13348 # Is the header compilable?
13349 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13350 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13351 cat >conftest.
$ac_ext <<_ACEOF
13354 cat confdefs.h
>>conftest.
$ac_ext
13355 cat >>conftest.
$ac_ext <<_ACEOF
13356 /* end confdefs.h. */
13357 $ac_includes_default
13358 #include <$ac_header>
13360 rm -f conftest.
$ac_objext
13361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13362 (eval $ac_compile) 2>conftest.er1
13364 grep -v '^ *+' conftest.er1
>conftest.err
13366 cat conftest.err
>&5
13367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13368 (exit $ac_status); } &&
13369 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13371 (eval $ac_try) 2>&5
13373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13374 (exit $ac_status); }; } &&
13375 { ac_try
='test -s conftest.$ac_objext'
13376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13377 (eval $ac_try) 2>&5
13379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13380 (exit $ac_status); }; }; then
13381 ac_header_compiler
=yes
13383 echo "$as_me: failed program was:" >&5
13384 sed 's/^/| /' conftest.
$ac_ext >&5
13386 ac_header_compiler
=no
13388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13389 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13390 echo "${ECHO_T}$ac_header_compiler" >&6
13392 # Is the header present?
13393 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13394 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13395 cat >conftest.
$ac_ext <<_ACEOF
13398 cat confdefs.h
>>conftest.
$ac_ext
13399 cat >>conftest.
$ac_ext <<_ACEOF
13400 /* end confdefs.h. */
13401 #include <$ac_header>
13403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13404 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13406 grep -v '^ *+' conftest.er1
>conftest.err
13408 cat conftest.err
>&5
13409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13410 (exit $ac_status); } >/dev
/null
; then
13411 if test -s conftest.err
; then
13412 ac_cpp_err
=$ac_c_preproc_warn_flag
13413 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13420 if test -z "$ac_cpp_err"; then
13421 ac_header_preproc
=yes
13423 echo "$as_me: failed program was:" >&5
13424 sed 's/^/| /' conftest.
$ac_ext >&5
13426 ac_header_preproc
=no
13428 rm -f conftest.err conftest.
$ac_ext
13429 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13430 echo "${ECHO_T}$ac_header_preproc" >&6
13432 # So? What about this header?
13433 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13435 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13436 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13437 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13438 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13439 ac_header_preproc
=yes
13442 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13443 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13444 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13445 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13446 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13447 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13448 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13449 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13451 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13452 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13453 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13456 ## ----------------------------------------- ##
13457 ## Report this to wx-dev@lists.wxwidgets.org ##
13458 ## ----------------------------------------- ##
13461 sed "s/^/$as_me: WARNING: /" >&2
13464 echo "$as_me:$LINENO: checking for $ac_header" >&5
13465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13467 echo $ECHO_N "(cached) $ECHO_C" >&6
13469 eval "$as_ac_Header=\$ac_header_preproc"
13471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13475 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13476 cat >>confdefs.h
<<_ACEOF
13477 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13487 for ac_header
in fnmatch.h
13489 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13491 echo "$as_me:$LINENO: checking for $ac_header" >&5
13492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13493 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13494 echo $ECHO_N "(cached) $ECHO_C" >&6
13496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13497 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13499 # Is the header compilable?
13500 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13501 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13502 cat >conftest.
$ac_ext <<_ACEOF
13505 cat confdefs.h
>>conftest.
$ac_ext
13506 cat >>conftest.
$ac_ext <<_ACEOF
13507 /* end confdefs.h. */
13508 $ac_includes_default
13509 #include <$ac_header>
13511 rm -f conftest.
$ac_objext
13512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13513 (eval $ac_compile) 2>conftest.er1
13515 grep -v '^ *+' conftest.er1
>conftest.err
13517 cat conftest.err
>&5
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); } &&
13520 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13522 (eval $ac_try) 2>&5
13524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13525 (exit $ac_status); }; } &&
13526 { ac_try
='test -s conftest.$ac_objext'
13527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13528 (eval $ac_try) 2>&5
13530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13531 (exit $ac_status); }; }; then
13532 ac_header_compiler
=yes
13534 echo "$as_me: failed program was:" >&5
13535 sed 's/^/| /' conftest.
$ac_ext >&5
13537 ac_header_compiler
=no
13539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13540 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13541 echo "${ECHO_T}$ac_header_compiler" >&6
13543 # Is the header present?
13544 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13545 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13546 cat >conftest.
$ac_ext <<_ACEOF
13549 cat confdefs.h
>>conftest.
$ac_ext
13550 cat >>conftest.
$ac_ext <<_ACEOF
13551 /* end confdefs.h. */
13552 #include <$ac_header>
13554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13555 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13557 grep -v '^ *+' conftest.er1
>conftest.err
13559 cat conftest.err
>&5
13560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13561 (exit $ac_status); } >/dev
/null
; then
13562 if test -s conftest.err
; then
13563 ac_cpp_err
=$ac_c_preproc_warn_flag
13564 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13571 if test -z "$ac_cpp_err"; then
13572 ac_header_preproc
=yes
13574 echo "$as_me: failed program was:" >&5
13575 sed 's/^/| /' conftest.
$ac_ext >&5
13577 ac_header_preproc
=no
13579 rm -f conftest.err conftest.
$ac_ext
13580 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13581 echo "${ECHO_T}$ac_header_preproc" >&6
13583 # So? What about this header?
13584 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13586 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13587 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13589 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13590 ac_header_preproc
=yes
13593 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13594 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13595 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13596 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13597 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13598 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13599 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13600 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13602 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13603 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13604 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13607 ## ----------------------------------------- ##
13608 ## Report this to wx-dev@lists.wxwidgets.org ##
13609 ## ----------------------------------------- ##
13612 sed "s/^/$as_me: WARNING: /" >&2
13615 echo "$as_me:$LINENO: checking for $ac_header" >&5
13616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13618 echo $ECHO_N "(cached) $ECHO_C" >&6
13620 eval "$as_ac_Header=\$ac_header_preproc"
13622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13623 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13626 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13627 cat >>confdefs.h
<<_ACEOF
13628 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13636 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13638 for ac_func
in fnmatch
13640 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13641 echo "$as_me:$LINENO: checking for $ac_func" >&5
13642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13643 if eval "test \"\${$as_ac_var+set}\" = set"; then
13644 echo $ECHO_N "(cached) $ECHO_C" >&6
13646 cat >conftest.
$ac_ext <<_ACEOF
13649 cat confdefs.h
>>conftest.
$ac_ext
13650 cat >>conftest.
$ac_ext <<_ACEOF
13651 /* end confdefs.h. */
13652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13654 #define $ac_func innocuous_$ac_func
13656 /* System header to define __stub macros and hopefully few prototypes,
13657 which can conflict with char $ac_func (); below.
13658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13659 <limits.h> exists even on freestanding compilers. */
13662 # include <limits.h>
13664 # include <assert.h>
13669 /* Override any gcc2 internal prototype to avoid an error. */
13674 /* We use char because int might match the return type of a gcc2
13675 builtin and then its argument prototype would still apply. */
13677 /* The GNU C library defines this for functions which it implements
13678 to always fail with ENOSYS. Some functions are actually named
13679 something starting with __ and the normal name is an alias. */
13680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13683 char (*f) () = $ac_func;
13692 return f != $ac_func;
13697 rm -f conftest.
$ac_objext conftest
$ac_exeext
13698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13699 (eval $ac_link) 2>conftest.er1
13701 grep -v '^ *+' conftest.er1
>conftest.err
13703 cat conftest.err
>&5
13704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13705 (exit $ac_status); } &&
13706 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13708 (eval $ac_try) 2>&5
13710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13711 (exit $ac_status); }; } &&
13712 { ac_try
='test -s conftest$ac_exeext'
13713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13714 (eval $ac_try) 2>&5
13716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717 (exit $ac_status); }; }; then
13718 eval "$as_ac_var=yes"
13720 echo "$as_me: failed program was:" >&5
13721 sed 's/^/| /' conftest.
$ac_ext >&5
13723 eval "$as_ac_var=no"
13725 rm -f conftest.err conftest.
$ac_objext \
13726 conftest
$ac_exeext conftest.
$ac_ext
13728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13730 if test `eval echo '${'$as_ac_var'}'` = yes; then
13731 cat >>confdefs.h
<<_ACEOF
13732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13741 for ac_header
in langinfo.h
13743 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13745 echo "$as_me:$LINENO: checking for $ac_header" >&5
13746 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13748 echo $ECHO_N "(cached) $ECHO_C" >&6
13750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13751 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13753 # Is the header compilable?
13754 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13755 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13756 cat >conftest.
$ac_ext <<_ACEOF
13759 cat confdefs.h
>>conftest.
$ac_ext
13760 cat >>conftest.
$ac_ext <<_ACEOF
13761 /* end confdefs.h. */
13762 $ac_includes_default
13763 #include <$ac_header>
13765 rm -f conftest.
$ac_objext
13766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13767 (eval $ac_compile) 2>conftest.er1
13769 grep -v '^ *+' conftest.er1
>conftest.err
13771 cat conftest.err
>&5
13772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13773 (exit $ac_status); } &&
13774 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13776 (eval $ac_try) 2>&5
13778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13779 (exit $ac_status); }; } &&
13780 { ac_try
='test -s conftest.$ac_objext'
13781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13782 (eval $ac_try) 2>&5
13784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13785 (exit $ac_status); }; }; then
13786 ac_header_compiler
=yes
13788 echo "$as_me: failed program was:" >&5
13789 sed 's/^/| /' conftest.
$ac_ext >&5
13791 ac_header_compiler
=no
13793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13794 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13795 echo "${ECHO_T}$ac_header_compiler" >&6
13797 # Is the header present?
13798 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13799 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13800 cat >conftest.
$ac_ext <<_ACEOF
13803 cat confdefs.h
>>conftest.
$ac_ext
13804 cat >>conftest.
$ac_ext <<_ACEOF
13805 /* end confdefs.h. */
13806 #include <$ac_header>
13808 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13809 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13811 grep -v '^ *+' conftest.er1
>conftest.err
13813 cat conftest.err
>&5
13814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13815 (exit $ac_status); } >/dev
/null
; then
13816 if test -s conftest.err
; then
13817 ac_cpp_err
=$ac_c_preproc_warn_flag
13818 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13825 if test -z "$ac_cpp_err"; then
13826 ac_header_preproc
=yes
13828 echo "$as_me: failed program was:" >&5
13829 sed 's/^/| /' conftest.
$ac_ext >&5
13831 ac_header_preproc
=no
13833 rm -f conftest.err conftest.
$ac_ext
13834 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13835 echo "${ECHO_T}$ac_header_preproc" >&6
13837 # So? What about this header?
13838 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13840 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13841 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13842 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13843 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13844 ac_header_preproc
=yes
13847 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13848 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13849 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13850 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13851 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13852 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13853 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13854 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13855 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13856 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13857 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13858 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13861 ## ----------------------------------------- ##
13862 ## Report this to wx-dev@lists.wxwidgets.org ##
13863 ## ----------------------------------------- ##
13866 sed "s/^/$as_me: WARNING: /" >&2
13869 echo "$as_me:$LINENO: checking for $ac_header" >&5
13870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13872 echo $ECHO_N "(cached) $ECHO_C" >&6
13874 eval "$as_ac_Header=\$ac_header_preproc"
13876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13877 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13880 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13881 cat >>confdefs.h
<<_ACEOF
13882 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13891 *-pc-os2_emx | *-pc-os2-emx )
13892 if test $ac_cv_header_langinfo_h = "yes"; then
13893 LIBS
="$LIBS -lintl"
13898 if test "$wxUSE_GUI" = "yes"; then
13899 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13901 for ac_header
in X
11/Xlib.h
13903 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13905 echo "$as_me:$LINENO: checking for $ac_header" >&5
13906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13908 echo $ECHO_N "(cached) $ECHO_C" >&6
13910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13911 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13913 # Is the header compilable?
13914 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13915 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13916 cat >conftest.
$ac_ext <<_ACEOF
13919 cat confdefs.h
>>conftest.
$ac_ext
13920 cat >>conftest.
$ac_ext <<_ACEOF
13921 /* end confdefs.h. */
13922 $ac_includes_default
13923 #include <$ac_header>
13925 rm -f conftest.
$ac_objext
13926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13927 (eval $ac_compile) 2>conftest.er1
13929 grep -v '^ *+' conftest.er1
>conftest.err
13931 cat conftest.err
>&5
13932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13933 (exit $ac_status); } &&
13934 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13936 (eval $ac_try) 2>&5
13938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13939 (exit $ac_status); }; } &&
13940 { ac_try
='test -s conftest.$ac_objext'
13941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13942 (eval $ac_try) 2>&5
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 (exit $ac_status); }; }; then
13946 ac_header_compiler
=yes
13948 echo "$as_me: failed program was:" >&5
13949 sed 's/^/| /' conftest.
$ac_ext >&5
13951 ac_header_compiler
=no
13953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13954 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13955 echo "${ECHO_T}$ac_header_compiler" >&6
13957 # Is the header present?
13958 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13959 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13960 cat >conftest.
$ac_ext <<_ACEOF
13963 cat confdefs.h
>>conftest.
$ac_ext
13964 cat >>conftest.
$ac_ext <<_ACEOF
13965 /* end confdefs.h. */
13966 #include <$ac_header>
13968 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13969 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13971 grep -v '^ *+' conftest.er1
>conftest.err
13973 cat conftest.err
>&5
13974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13975 (exit $ac_status); } >/dev
/null
; then
13976 if test -s conftest.err
; then
13977 ac_cpp_err
=$ac_c_preproc_warn_flag
13978 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13985 if test -z "$ac_cpp_err"; then
13986 ac_header_preproc
=yes
13988 echo "$as_me: failed program was:" >&5
13989 sed 's/^/| /' conftest.
$ac_ext >&5
13991 ac_header_preproc
=no
13993 rm -f conftest.err conftest.
$ac_ext
13994 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13995 echo "${ECHO_T}$ac_header_preproc" >&6
13997 # So? What about this header?
13998 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14000 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14001 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14002 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14003 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14004 ac_header_preproc
=yes
14007 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14008 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14009 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14010 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14011 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14012 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14013 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14014 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14015 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14016 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14017 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14018 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14021 ## ----------------------------------------- ##
14022 ## Report this to wx-dev@lists.wxwidgets.org ##
14023 ## ----------------------------------------- ##
14026 sed "s/^/$as_me: WARNING: /" >&2
14029 echo "$as_me:$LINENO: checking for $ac_header" >&5
14030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14032 echo $ECHO_N "(cached) $ECHO_C" >&6
14034 eval "$as_ac_Header=\$ac_header_preproc"
14036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14037 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14040 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14041 cat >>confdefs.h
<<_ACEOF
14042 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14050 for ac_header
in X
11/XKBlib.h
14052 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14053 echo "$as_me:$LINENO: checking for $ac_header" >&5
14054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14056 echo $ECHO_N "(cached) $ECHO_C" >&6
14058 cat >conftest.
$ac_ext <<_ACEOF
14061 cat confdefs.h
>>conftest.
$ac_ext
14062 cat >>conftest.
$ac_ext <<_ACEOF
14063 /* end confdefs.h. */
14065 #if HAVE_X11_XLIB_H
14066 #include <X11/Xlib.h>
14070 #include <$ac_header>
14072 rm -f conftest.
$ac_objext
14073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14074 (eval $ac_compile) 2>conftest.er1
14076 grep -v '^ *+' conftest.er1
>conftest.err
14078 cat conftest.err
>&5
14079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); } &&
14081 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14083 (eval $ac_try) 2>&5
14085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14086 (exit $ac_status); }; } &&
14087 { ac_try
='test -s conftest.$ac_objext'
14088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14089 (eval $ac_try) 2>&5
14091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14092 (exit $ac_status); }; }; then
14093 eval "$as_ac_Header=yes"
14095 echo "$as_me: failed program was:" >&5
14096 sed 's/^/| /' conftest.
$ac_ext >&5
14098 eval "$as_ac_Header=no"
14100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14105 cat >>confdefs.h
<<_ACEOF
14106 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14117 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14118 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14119 if test "${ac_cv_c_const+set}" = set; then
14120 echo $ECHO_N "(cached) $ECHO_C" >&6
14122 cat >conftest.
$ac_ext <<_ACEOF
14125 cat confdefs.h
>>conftest.
$ac_ext
14126 cat >>conftest.
$ac_ext <<_ACEOF
14127 /* end confdefs.h. */
14132 /* FIXME: Include the comments suggested by Paul. */
14133 #ifndef __cplusplus
14134 /* Ultrix mips cc rejects this. */
14135 typedef int charset[2];
14137 /* SunOS 4.1.1 cc rejects this. */
14138 char const *const *ccp;
14140 /* NEC SVR4.0.2 mips cc rejects this. */
14141 struct point {int x, y;};
14142 static struct point const zero = {0,0};
14143 /* AIX XL C 1.02.0.0 rejects this.
14144 It does not let you subtract one const X* pointer from another in
14145 an arm of an if-expression whose if-part is not a constant
14147 const char *g = "string";
14148 ccp = &g + (g ? g-g : 0);
14149 /* HPUX 7.0 cc rejects these. */
14152 ccp = (char const *const *) p;
14153 { /* SCO 3.2v4 cc rejects this. */
14155 char const *s = 0 ? (char *) 0 : (char const *) 0;
14159 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14160 int x[] = {25, 17};
14161 const int *foo = &x[0];
14164 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14165 typedef const int *iptr;
14169 { /* AIX XL C 1.02.0.0 rejects this saying
14170 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14171 struct s { int j; const int *ap[3]; };
14172 struct s *b; b->j = 5;
14174 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14175 const int foo = 10;
14183 rm -f conftest.
$ac_objext
14184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14185 (eval $ac_compile) 2>conftest.er1
14187 grep -v '^ *+' conftest.er1
>conftest.err
14189 cat conftest.err
>&5
14190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191 (exit $ac_status); } &&
14192 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14194 (eval $ac_try) 2>&5
14196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14197 (exit $ac_status); }; } &&
14198 { ac_try
='test -s conftest.$ac_objext'
14199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14200 (eval $ac_try) 2>&5
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 (exit $ac_status); }; }; then
14206 echo "$as_me: failed program was:" >&5
14207 sed 's/^/| /' conftest.
$ac_ext >&5
14211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14213 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14214 echo "${ECHO_T}$ac_cv_c_const" >&6
14215 if test $ac_cv_c_const = no
; then
14217 cat >>confdefs.h
<<\_ACEOF
14223 echo "$as_me:$LINENO: checking for inline" >&5
14224 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14225 if test "${ac_cv_c_inline+set}" = set; then
14226 echo $ECHO_N "(cached) $ECHO_C" >&6
14229 for ac_kw
in inline __inline__ __inline
; do
14230 cat >conftest.
$ac_ext <<_ACEOF
14233 cat confdefs.h
>>conftest.
$ac_ext
14234 cat >>conftest.
$ac_ext <<_ACEOF
14235 /* end confdefs.h. */
14236 #ifndef __cplusplus
14238 static $ac_kw foo_t static_foo () {return 0; }
14239 $ac_kw foo_t foo () {return 0; }
14243 rm -f conftest.
$ac_objext
14244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14245 (eval $ac_compile) 2>conftest.er1
14247 grep -v '^ *+' conftest.er1
>conftest.err
14249 cat conftest.err
>&5
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); } &&
14252 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14254 (eval $ac_try) 2>&5
14256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14257 (exit $ac_status); }; } &&
14258 { ac_try
='test -s conftest.$ac_objext'
14259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14260 (eval $ac_try) 2>&5
14262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14263 (exit $ac_status); }; }; then
14264 ac_cv_c_inline
=$ac_kw; break
14266 echo "$as_me: failed program was:" >&5
14267 sed 's/^/| /' conftest.
$ac_ext >&5
14270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14274 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14275 echo "${ECHO_T}$ac_cv_c_inline" >&6
14278 case $ac_cv_c_inline in
14281 case $ac_cv_c_inline in
14283 *) ac_val
=$ac_cv_c_inline;;
14285 cat >>confdefs.h
<<_ACEOF
14286 #ifndef __cplusplus
14287 #define inline $ac_val
14294 echo "$as_me:$LINENO: checking for char" >&5
14295 echo $ECHO_N "checking for char... $ECHO_C" >&6
14296 if test "${ac_cv_type_char+set}" = set; then
14297 echo $ECHO_N "(cached) $ECHO_C" >&6
14299 cat >conftest.
$ac_ext <<_ACEOF
14302 cat confdefs.h
>>conftest.
$ac_ext
14303 cat >>conftest.
$ac_ext <<_ACEOF
14304 /* end confdefs.h. */
14305 $ac_includes_default
14317 rm -f conftest.
$ac_objext
14318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14319 (eval $ac_compile) 2>conftest.er1
14321 grep -v '^ *+' conftest.er1
>conftest.err
14323 cat conftest.err
>&5
14324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14325 (exit $ac_status); } &&
14326 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14328 (eval $ac_try) 2>&5
14330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14331 (exit $ac_status); }; } &&
14332 { ac_try
='test -s conftest.$ac_objext'
14333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14334 (eval $ac_try) 2>&5
14336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14337 (exit $ac_status); }; }; then
14338 ac_cv_type_char
=yes
14340 echo "$as_me: failed program was:" >&5
14341 sed 's/^/| /' conftest.
$ac_ext >&5
14345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14347 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14348 echo "${ECHO_T}$ac_cv_type_char" >&6
14350 echo "$as_me:$LINENO: checking size of char" >&5
14351 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14352 if test "${ac_cv_sizeof_char+set}" = set; then
14353 echo $ECHO_N "(cached) $ECHO_C" >&6
14355 if test "$ac_cv_type_char" = yes; then
14356 # The cast to unsigned long works around a bug in the HP C Compiler
14357 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14358 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14359 # This bug is HP SR number 8606223364.
14360 if test "$cross_compiling" = yes; then
14361 # Depending upon the size, compute the lo and hi bounds.
14362 cat >conftest.
$ac_ext <<_ACEOF
14365 cat confdefs.h
>>conftest.
$ac_ext
14366 cat >>conftest.
$ac_ext <<_ACEOF
14367 /* end confdefs.h. */
14368 $ac_includes_default
14372 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14379 rm -f conftest.
$ac_objext
14380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14381 (eval $ac_compile) 2>conftest.er1
14383 grep -v '^ *+' conftest.er1
>conftest.err
14385 cat conftest.err
>&5
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); } &&
14388 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14390 (eval $ac_try) 2>&5
14392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14393 (exit $ac_status); }; } &&
14394 { ac_try
='test -s conftest.$ac_objext'
14395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14396 (eval $ac_try) 2>&5
14398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14399 (exit $ac_status); }; }; then
14402 cat >conftest.
$ac_ext <<_ACEOF
14405 cat confdefs.h
>>conftest.
$ac_ext
14406 cat >>conftest.
$ac_ext <<_ACEOF
14407 /* end confdefs.h. */
14408 $ac_includes_default
14412 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14419 rm -f conftest.
$ac_objext
14420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14421 (eval $ac_compile) 2>conftest.er1
14423 grep -v '^ *+' conftest.er1
>conftest.err
14425 cat conftest.err
>&5
14426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14427 (exit $ac_status); } &&
14428 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14430 (eval $ac_try) 2>&5
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); }; } &&
14434 { ac_try
='test -s conftest.$ac_objext'
14435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14436 (eval $ac_try) 2>&5
14438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14439 (exit $ac_status); }; }; then
14440 ac_hi
=$ac_mid; break
14442 echo "$as_me: failed program was:" >&5
14443 sed 's/^/| /' conftest.
$ac_ext >&5
14445 ac_lo
=`expr $ac_mid + 1`
14446 if test $ac_lo -le $ac_mid; then
14450 ac_mid
=`expr 2 '*' $ac_mid + 1`
14452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14455 echo "$as_me: failed program was:" >&5
14456 sed 's/^/| /' conftest.
$ac_ext >&5
14458 cat >conftest.
$ac_ext <<_ACEOF
14461 cat confdefs.h
>>conftest.
$ac_ext
14462 cat >>conftest.
$ac_ext <<_ACEOF
14463 /* end confdefs.h. */
14464 $ac_includes_default
14468 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14475 rm -f conftest.
$ac_objext
14476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14477 (eval $ac_compile) 2>conftest.er1
14479 grep -v '^ *+' conftest.er1
>conftest.err
14481 cat conftest.err
>&5
14482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14483 (exit $ac_status); } &&
14484 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14486 (eval $ac_try) 2>&5
14488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14489 (exit $ac_status); }; } &&
14490 { ac_try
='test -s conftest.$ac_objext'
14491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14492 (eval $ac_try) 2>&5
14494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14495 (exit $ac_status); }; }; then
14498 cat >conftest.
$ac_ext <<_ACEOF
14501 cat confdefs.h
>>conftest.
$ac_ext
14502 cat >>conftest.
$ac_ext <<_ACEOF
14503 /* end confdefs.h. */
14504 $ac_includes_default
14508 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14515 rm -f conftest.
$ac_objext
14516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14517 (eval $ac_compile) 2>conftest.er1
14519 grep -v '^ *+' conftest.er1
>conftest.err
14521 cat conftest.err
>&5
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); } &&
14524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14526 (eval $ac_try) 2>&5
14528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14529 (exit $ac_status); }; } &&
14530 { ac_try
='test -s conftest.$ac_objext'
14531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14532 (eval $ac_try) 2>&5
14534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14535 (exit $ac_status); }; }; then
14536 ac_lo
=$ac_mid; break
14538 echo "$as_me: failed program was:" >&5
14539 sed 's/^/| /' conftest.
$ac_ext >&5
14541 ac_hi
=`expr '(' $ac_mid ')' - 1`
14542 if test $ac_mid -le $ac_hi; then
14546 ac_mid
=`expr 2 '*' $ac_mid`
14548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14551 echo "$as_me: failed program was:" >&5
14552 sed 's/^/| /' conftest.
$ac_ext >&5
14556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14559 # Binary search between lo and hi bounds.
14560 while test "x$ac_lo" != "x$ac_hi"; do
14561 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14562 cat >conftest.
$ac_ext <<_ACEOF
14565 cat confdefs.h
>>conftest.
$ac_ext
14566 cat >>conftest.
$ac_ext <<_ACEOF
14567 /* end confdefs.h. */
14568 $ac_includes_default
14572 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14579 rm -f conftest.
$ac_objext
14580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14581 (eval $ac_compile) 2>conftest.er1
14583 grep -v '^ *+' conftest.er1
>conftest.err
14585 cat conftest.err
>&5
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); } &&
14588 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14590 (eval $ac_try) 2>&5
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); }; } &&
14594 { ac_try
='test -s conftest.$ac_objext'
14595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14596 (eval $ac_try) 2>&5
14598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14599 (exit $ac_status); }; }; then
14602 echo "$as_me: failed program was:" >&5
14603 sed 's/^/| /' conftest.
$ac_ext >&5
14605 ac_lo
=`expr '(' $ac_mid ')' + 1`
14607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14610 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14611 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14612 See \`config.log' for more details." >&5
14613 echo "$as_me: error: cannot compute sizeof (char), 77
14614 See \`config.log' for more details." >&2;}
14615 { (exit 1); exit 1; }; } ;;
14618 if test "$cross_compiling" = yes; then
14619 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
14620 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
14621 { (exit 1); exit 1; }; }
14623 cat >conftest.
$ac_ext <<_ACEOF
14626 cat confdefs.h
>>conftest.
$ac_ext
14627 cat >>conftest.
$ac_ext <<_ACEOF
14628 /* end confdefs.h. */
14629 $ac_includes_default
14630 long longval () { return (long) (sizeof (char)); }
14631 unsigned long ulongval () { return (long) (sizeof (char)); }
14633 #include <stdlib.h>
14638 FILE *f = fopen ("conftest.val", "w");
14641 if (((long) (sizeof (char))) < 0)
14643 long i = longval ();
14644 if (i != ((long) (sizeof (char))))
14646 fprintf (f, "%ld\n", i);
14650 unsigned long i = ulongval ();
14651 if (i != ((long) (sizeof (char))))
14653 fprintf (f, "%lu\n", i);
14655 exit (ferror (f) || fclose (f) != 0);
14661 rm -f conftest
$ac_exeext
14662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14663 (eval $ac_link) 2>&5
14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14668 (eval $ac_try) 2>&5
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); }; }; then
14672 ac_cv_sizeof_char
=`cat conftest.val`
14674 echo "$as_me: program exited with status $ac_status" >&5
14675 echo "$as_me: failed program was:" >&5
14676 sed 's/^/| /' conftest.
$ac_ext >&5
14678 ( exit $ac_status )
14679 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14680 See \`config.log' for more details." >&5
14681 echo "$as_me: error: cannot compute sizeof (char), 77
14682 See \`config.log' for more details." >&2;}
14683 { (exit 1); exit 1; }; }
14685 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14690 ac_cv_sizeof_char
=0
14693 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14694 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14695 cat >>confdefs.h
<<_ACEOF
14696 #define SIZEOF_CHAR $ac_cv_sizeof_char
14700 echo "$as_me:$LINENO: checking for short" >&5
14701 echo $ECHO_N "checking for short... $ECHO_C" >&6
14702 if test "${ac_cv_type_short+set}" = set; then
14703 echo $ECHO_N "(cached) $ECHO_C" >&6
14705 cat >conftest.
$ac_ext <<_ACEOF
14708 cat confdefs.h
>>conftest.
$ac_ext
14709 cat >>conftest.
$ac_ext <<_ACEOF
14710 /* end confdefs.h. */
14711 $ac_includes_default
14717 if (sizeof (short))
14723 rm -f conftest.
$ac_objext
14724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14725 (eval $ac_compile) 2>conftest.er1
14727 grep -v '^ *+' conftest.er1
>conftest.err
14729 cat conftest.err
>&5
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); } &&
14732 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14734 (eval $ac_try) 2>&5
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); }; } &&
14738 { ac_try
='test -s conftest.$ac_objext'
14739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14740 (eval $ac_try) 2>&5
14742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 (exit $ac_status); }; }; then
14744 ac_cv_type_short
=yes
14746 echo "$as_me: failed program was:" >&5
14747 sed 's/^/| /' conftest.
$ac_ext >&5
14749 ac_cv_type_short
=no
14751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14753 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14754 echo "${ECHO_T}$ac_cv_type_short" >&6
14756 echo "$as_me:$LINENO: checking size of short" >&5
14757 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14758 if test "${ac_cv_sizeof_short+set}" = set; then
14759 echo $ECHO_N "(cached) $ECHO_C" >&6
14761 if test "$ac_cv_type_short" = yes; then
14762 # The cast to unsigned long works around a bug in the HP C Compiler
14763 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14764 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14765 # This bug is HP SR number 8606223364.
14766 if test "$cross_compiling" = yes; then
14767 # Depending upon the size, compute the lo and hi bounds.
14768 cat >conftest.
$ac_ext <<_ACEOF
14771 cat confdefs.h
>>conftest.
$ac_ext
14772 cat >>conftest.
$ac_ext <<_ACEOF
14773 /* end confdefs.h. */
14774 $ac_includes_default
14778 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14785 rm -f conftest.
$ac_objext
14786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14787 (eval $ac_compile) 2>conftest.er1
14789 grep -v '^ *+' conftest.er1
>conftest.err
14791 cat conftest.err
>&5
14792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14793 (exit $ac_status); } &&
14794 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14796 (eval $ac_try) 2>&5
14798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14799 (exit $ac_status); }; } &&
14800 { ac_try
='test -s conftest.$ac_objext'
14801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14802 (eval $ac_try) 2>&5
14804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 (exit $ac_status); }; }; then
14808 cat >conftest.
$ac_ext <<_ACEOF
14811 cat confdefs.h
>>conftest.
$ac_ext
14812 cat >>conftest.
$ac_ext <<_ACEOF
14813 /* end confdefs.h. */
14814 $ac_includes_default
14818 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14825 rm -f conftest.
$ac_objext
14826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14827 (eval $ac_compile) 2>conftest.er1
14829 grep -v '^ *+' conftest.er1
>conftest.err
14831 cat conftest.err
>&5
14832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14833 (exit $ac_status); } &&
14834 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14836 (eval $ac_try) 2>&5
14838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14839 (exit $ac_status); }; } &&
14840 { ac_try
='test -s conftest.$ac_objext'
14841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14842 (eval $ac_try) 2>&5
14844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845 (exit $ac_status); }; }; then
14846 ac_hi
=$ac_mid; break
14848 echo "$as_me: failed program was:" >&5
14849 sed 's/^/| /' conftest.
$ac_ext >&5
14851 ac_lo
=`expr $ac_mid + 1`
14852 if test $ac_lo -le $ac_mid; then
14856 ac_mid
=`expr 2 '*' $ac_mid + 1`
14858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14861 echo "$as_me: failed program was:" >&5
14862 sed 's/^/| /' conftest.
$ac_ext >&5
14864 cat >conftest.
$ac_ext <<_ACEOF
14867 cat confdefs.h
>>conftest.
$ac_ext
14868 cat >>conftest.
$ac_ext <<_ACEOF
14869 /* end confdefs.h. */
14870 $ac_includes_default
14874 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14881 rm -f conftest.
$ac_objext
14882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14883 (eval $ac_compile) 2>conftest.er1
14885 grep -v '^ *+' conftest.er1
>conftest.err
14887 cat conftest.err
>&5
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); } &&
14890 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14892 (eval $ac_try) 2>&5
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); }; } &&
14896 { ac_try
='test -s conftest.$ac_objext'
14897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14898 (eval $ac_try) 2>&5
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); }; }; then
14904 cat >conftest.
$ac_ext <<_ACEOF
14907 cat confdefs.h
>>conftest.
$ac_ext
14908 cat >>conftest.
$ac_ext <<_ACEOF
14909 /* end confdefs.h. */
14910 $ac_includes_default
14914 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14921 rm -f conftest.
$ac_objext
14922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14923 (eval $ac_compile) 2>conftest.er1
14925 grep -v '^ *+' conftest.er1
>conftest.err
14927 cat conftest.err
>&5
14928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14929 (exit $ac_status); } &&
14930 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14932 (eval $ac_try) 2>&5
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); }; } &&
14936 { ac_try
='test -s conftest.$ac_objext'
14937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14938 (eval $ac_try) 2>&5
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); }; }; then
14942 ac_lo
=$ac_mid; break
14944 echo "$as_me: failed program was:" >&5
14945 sed 's/^/| /' conftest.
$ac_ext >&5
14947 ac_hi
=`expr '(' $ac_mid ')' - 1`
14948 if test $ac_mid -le $ac_hi; then
14952 ac_mid
=`expr 2 '*' $ac_mid`
14954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14957 echo "$as_me: failed program was:" >&5
14958 sed 's/^/| /' conftest.
$ac_ext >&5
14962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14965 # Binary search between lo and hi bounds.
14966 while test "x$ac_lo" != "x$ac_hi"; do
14967 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14968 cat >conftest.
$ac_ext <<_ACEOF
14971 cat confdefs.h
>>conftest.
$ac_ext
14972 cat >>conftest.
$ac_ext <<_ACEOF
14973 /* end confdefs.h. */
14974 $ac_includes_default
14978 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14985 rm -f conftest.
$ac_objext
14986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14987 (eval $ac_compile) 2>conftest.er1
14989 grep -v '^ *+' conftest.er1
>conftest.err
14991 cat conftest.err
>&5
14992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14993 (exit $ac_status); } &&
14994 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14996 (eval $ac_try) 2>&5
14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 (exit $ac_status); }; } &&
15000 { ac_try
='test -s conftest.$ac_objext'
15001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15002 (eval $ac_try) 2>&5
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); }; }; then
15008 echo "$as_me: failed program was:" >&5
15009 sed 's/^/| /' conftest.
$ac_ext >&5
15011 ac_lo
=`expr '(' $ac_mid ')' + 1`
15013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15016 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15017 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15018 See \`config.log' for more details." >&5
15019 echo "$as_me: error: cannot compute sizeof (short), 77
15020 See \`config.log' for more details." >&2;}
15021 { (exit 1); exit 1; }; } ;;
15024 if test "$cross_compiling" = yes; then
15025 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15026 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15027 { (exit 1); exit 1; }; }
15029 cat >conftest.
$ac_ext <<_ACEOF
15032 cat confdefs.h
>>conftest.
$ac_ext
15033 cat >>conftest.
$ac_ext <<_ACEOF
15034 /* end confdefs.h. */
15035 $ac_includes_default
15036 long longval () { return (long) (sizeof (short)); }
15037 unsigned long ulongval () { return (long) (sizeof (short)); }
15039 #include <stdlib.h>
15044 FILE *f = fopen ("conftest.val", "w");
15047 if (((long) (sizeof (short))) < 0)
15049 long i = longval ();
15050 if (i != ((long) (sizeof (short))))
15052 fprintf (f, "%ld\n", i);
15056 unsigned long i = ulongval ();
15057 if (i != ((long) (sizeof (short))))
15059 fprintf (f, "%lu\n", i);
15061 exit (ferror (f) || fclose (f) != 0);
15067 rm -f conftest
$ac_exeext
15068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15069 (eval $ac_link) 2>&5
15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15074 (eval $ac_try) 2>&5
15076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077 (exit $ac_status); }; }; then
15078 ac_cv_sizeof_short
=`cat conftest.val`
15080 echo "$as_me: program exited with status $ac_status" >&5
15081 echo "$as_me: failed program was:" >&5
15082 sed 's/^/| /' conftest.
$ac_ext >&5
15084 ( exit $ac_status )
15085 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15086 See \`config.log' for more details." >&5
15087 echo "$as_me: error: cannot compute sizeof (short), 77
15088 See \`config.log' for more details." >&2;}
15089 { (exit 1); exit 1; }; }
15091 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15096 ac_cv_sizeof_short
=0
15099 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15100 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15101 cat >>confdefs.h
<<_ACEOF
15102 #define SIZEOF_SHORT $ac_cv_sizeof_short
15106 echo "$as_me:$LINENO: checking for void *" >&5
15107 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15108 if test "${ac_cv_type_void_p+set}" = set; then
15109 echo $ECHO_N "(cached) $ECHO_C" >&6
15111 cat >conftest.
$ac_ext <<_ACEOF
15114 cat confdefs.h
>>conftest.
$ac_ext
15115 cat >>conftest.
$ac_ext <<_ACEOF
15116 /* end confdefs.h. */
15117 $ac_includes_default
15123 if (sizeof (void *))
15129 rm -f conftest.
$ac_objext
15130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15131 (eval $ac_compile) 2>conftest.er1
15133 grep -v '^ *+' conftest.er1
>conftest.err
15135 cat conftest.err
>&5
15136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15137 (exit $ac_status); } &&
15138 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15140 (eval $ac_try) 2>&5
15142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15143 (exit $ac_status); }; } &&
15144 { ac_try
='test -s conftest.$ac_objext'
15145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15146 (eval $ac_try) 2>&5
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); }; }; then
15150 ac_cv_type_void_p
=yes
15152 echo "$as_me: failed program was:" >&5
15153 sed 's/^/| /' conftest.
$ac_ext >&5
15155 ac_cv_type_void_p
=no
15157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15159 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15160 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15162 echo "$as_me:$LINENO: checking size of void *" >&5
15163 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15164 if test "${ac_cv_sizeof_void_p+set}" = set; then
15165 echo $ECHO_N "(cached) $ECHO_C" >&6
15167 if test "$ac_cv_type_void_p" = yes; then
15168 # The cast to unsigned long works around a bug in the HP C Compiler
15169 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15170 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15171 # This bug is HP SR number 8606223364.
15172 if test "$cross_compiling" = yes; then
15173 # Depending upon the size, compute the lo and hi bounds.
15174 cat >conftest.
$ac_ext <<_ACEOF
15177 cat confdefs.h
>>conftest.
$ac_ext
15178 cat >>conftest.
$ac_ext <<_ACEOF
15179 /* end confdefs.h. */
15180 $ac_includes_default
15184 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15191 rm -f conftest.
$ac_objext
15192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15193 (eval $ac_compile) 2>conftest.er1
15195 grep -v '^ *+' conftest.er1
>conftest.err
15197 cat conftest.err
>&5
15198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199 (exit $ac_status); } &&
15200 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15202 (eval $ac_try) 2>&5
15204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15205 (exit $ac_status); }; } &&
15206 { ac_try
='test -s conftest.$ac_objext'
15207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15208 (eval $ac_try) 2>&5
15210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15211 (exit $ac_status); }; }; then
15214 cat >conftest.
$ac_ext <<_ACEOF
15217 cat confdefs.h
>>conftest.
$ac_ext
15218 cat >>conftest.
$ac_ext <<_ACEOF
15219 /* end confdefs.h. */
15220 $ac_includes_default
15224 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15231 rm -f conftest.
$ac_objext
15232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15233 (eval $ac_compile) 2>conftest.er1
15235 grep -v '^ *+' conftest.er1
>conftest.err
15237 cat conftest.err
>&5
15238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15239 (exit $ac_status); } &&
15240 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15242 (eval $ac_try) 2>&5
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); }; } &&
15246 { ac_try
='test -s conftest.$ac_objext'
15247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15248 (eval $ac_try) 2>&5
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); }; }; then
15252 ac_hi
=$ac_mid; break
15254 echo "$as_me: failed program was:" >&5
15255 sed 's/^/| /' conftest.
$ac_ext >&5
15257 ac_lo
=`expr $ac_mid + 1`
15258 if test $ac_lo -le $ac_mid; then
15262 ac_mid
=`expr 2 '*' $ac_mid + 1`
15264 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15267 echo "$as_me: failed program was:" >&5
15268 sed 's/^/| /' conftest.
$ac_ext >&5
15270 cat >conftest.
$ac_ext <<_ACEOF
15273 cat confdefs.h
>>conftest.
$ac_ext
15274 cat >>conftest.
$ac_ext <<_ACEOF
15275 /* end confdefs.h. */
15276 $ac_includes_default
15280 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15287 rm -f conftest.
$ac_objext
15288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15289 (eval $ac_compile) 2>conftest.er1
15291 grep -v '^ *+' conftest.er1
>conftest.err
15293 cat conftest.err
>&5
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); } &&
15296 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15298 (eval $ac_try) 2>&5
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); }; } &&
15302 { ac_try
='test -s conftest.$ac_objext'
15303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15304 (eval $ac_try) 2>&5
15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307 (exit $ac_status); }; }; then
15310 cat >conftest.
$ac_ext <<_ACEOF
15313 cat confdefs.h
>>conftest.
$ac_ext
15314 cat >>conftest.
$ac_ext <<_ACEOF
15315 /* end confdefs.h. */
15316 $ac_includes_default
15320 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15327 rm -f conftest.
$ac_objext
15328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15329 (eval $ac_compile) 2>conftest.er1
15331 grep -v '^ *+' conftest.er1
>conftest.err
15333 cat conftest.err
>&5
15334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15335 (exit $ac_status); } &&
15336 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15338 (eval $ac_try) 2>&5
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); }; } &&
15342 { ac_try
='test -s conftest.$ac_objext'
15343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15344 (eval $ac_try) 2>&5
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 (exit $ac_status); }; }; then
15348 ac_lo
=$ac_mid; break
15350 echo "$as_me: failed program was:" >&5
15351 sed 's/^/| /' conftest.
$ac_ext >&5
15353 ac_hi
=`expr '(' $ac_mid ')' - 1`
15354 if test $ac_mid -le $ac_hi; then
15358 ac_mid
=`expr 2 '*' $ac_mid`
15360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15363 echo "$as_me: failed program was:" >&5
15364 sed 's/^/| /' conftest.
$ac_ext >&5
15368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15371 # Binary search between lo and hi bounds.
15372 while test "x$ac_lo" != "x$ac_hi"; do
15373 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15374 cat >conftest.
$ac_ext <<_ACEOF
15377 cat confdefs.h
>>conftest.
$ac_ext
15378 cat >>conftest.
$ac_ext <<_ACEOF
15379 /* end confdefs.h. */
15380 $ac_includes_default
15384 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15391 rm -f conftest.
$ac_objext
15392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15393 (eval $ac_compile) 2>conftest.er1
15395 grep -v '^ *+' conftest.er1
>conftest.err
15397 cat conftest.err
>&5
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); } &&
15400 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15402 (eval $ac_try) 2>&5
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); }; } &&
15406 { ac_try
='test -s conftest.$ac_objext'
15407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15408 (eval $ac_try) 2>&5
15410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15411 (exit $ac_status); }; }; then
15414 echo "$as_me: failed program was:" >&5
15415 sed 's/^/| /' conftest.
$ac_ext >&5
15417 ac_lo
=`expr '(' $ac_mid ')' + 1`
15419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15422 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15423 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15424 See \`config.log' for more details." >&5
15425 echo "$as_me: error: cannot compute sizeof (void *), 77
15426 See \`config.log' for more details." >&2;}
15427 { (exit 1); exit 1; }; } ;;
15430 if test "$cross_compiling" = yes; then
15431 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15432 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15433 { (exit 1); exit 1; }; }
15435 cat >conftest.
$ac_ext <<_ACEOF
15438 cat confdefs.h
>>conftest.
$ac_ext
15439 cat >>conftest.
$ac_ext <<_ACEOF
15440 /* end confdefs.h. */
15441 $ac_includes_default
15442 long longval () { return (long) (sizeof (void *)); }
15443 unsigned long ulongval () { return (long) (sizeof (void *)); }
15445 #include <stdlib.h>
15450 FILE *f = fopen ("conftest.val", "w");
15453 if (((long) (sizeof (void *))) < 0)
15455 long i = longval ();
15456 if (i != ((long) (sizeof (void *))))
15458 fprintf (f, "%ld\n", i);
15462 unsigned long i = ulongval ();
15463 if (i != ((long) (sizeof (void *))))
15465 fprintf (f, "%lu\n", i);
15467 exit (ferror (f) || fclose (f) != 0);
15473 rm -f conftest
$ac_exeext
15474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15475 (eval $ac_link) 2>&5
15477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15480 (eval $ac_try) 2>&5
15482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15483 (exit $ac_status); }; }; then
15484 ac_cv_sizeof_void_p
=`cat conftest.val`
15486 echo "$as_me: program exited with status $ac_status" >&5
15487 echo "$as_me: failed program was:" >&5
15488 sed 's/^/| /' conftest.
$ac_ext >&5
15490 ( exit $ac_status )
15491 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15492 See \`config.log' for more details." >&5
15493 echo "$as_me: error: cannot compute sizeof (void *), 77
15494 See \`config.log' for more details." >&2;}
15495 { (exit 1); exit 1; }; }
15497 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15502 ac_cv_sizeof_void_p
=0
15505 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15506 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15507 cat >>confdefs.h
<<_ACEOF
15508 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15512 echo "$as_me:$LINENO: checking for int" >&5
15513 echo $ECHO_N "checking for int... $ECHO_C" >&6
15514 if test "${ac_cv_type_int+set}" = set; then
15515 echo $ECHO_N "(cached) $ECHO_C" >&6
15517 cat >conftest.
$ac_ext <<_ACEOF
15520 cat confdefs.h
>>conftest.
$ac_ext
15521 cat >>conftest.
$ac_ext <<_ACEOF
15522 /* end confdefs.h. */
15523 $ac_includes_default
15535 rm -f conftest.
$ac_objext
15536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15537 (eval $ac_compile) 2>conftest.er1
15539 grep -v '^ *+' conftest.er1
>conftest.err
15541 cat conftest.err
>&5
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); } &&
15544 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15546 (eval $ac_try) 2>&5
15548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15549 (exit $ac_status); }; } &&
15550 { ac_try
='test -s conftest.$ac_objext'
15551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15552 (eval $ac_try) 2>&5
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); }; }; then
15558 echo "$as_me: failed program was:" >&5
15559 sed 's/^/| /' conftest.
$ac_ext >&5
15563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15565 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15566 echo "${ECHO_T}$ac_cv_type_int" >&6
15568 echo "$as_me:$LINENO: checking size of int" >&5
15569 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15570 if test "${ac_cv_sizeof_int+set}" = set; then
15571 echo $ECHO_N "(cached) $ECHO_C" >&6
15573 if test "$ac_cv_type_int" = yes; then
15574 # The cast to unsigned long works around a bug in the HP C Compiler
15575 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15576 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15577 # This bug is HP SR number 8606223364.
15578 if test "$cross_compiling" = yes; then
15579 # Depending upon the size, compute the lo and hi bounds.
15580 cat >conftest.
$ac_ext <<_ACEOF
15583 cat confdefs.h
>>conftest.
$ac_ext
15584 cat >>conftest.
$ac_ext <<_ACEOF
15585 /* end confdefs.h. */
15586 $ac_includes_default
15590 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15597 rm -f conftest.
$ac_objext
15598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15599 (eval $ac_compile) 2>conftest.er1
15601 grep -v '^ *+' conftest.er1
>conftest.err
15603 cat conftest.err
>&5
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); } &&
15606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15608 (eval $ac_try) 2>&5
15610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15611 (exit $ac_status); }; } &&
15612 { ac_try
='test -s conftest.$ac_objext'
15613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15614 (eval $ac_try) 2>&5
15616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15617 (exit $ac_status); }; }; then
15620 cat >conftest.
$ac_ext <<_ACEOF
15623 cat confdefs.h
>>conftest.
$ac_ext
15624 cat >>conftest.
$ac_ext <<_ACEOF
15625 /* end confdefs.h. */
15626 $ac_includes_default
15630 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15637 rm -f conftest.
$ac_objext
15638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15639 (eval $ac_compile) 2>conftest.er1
15641 grep -v '^ *+' conftest.er1
>conftest.err
15643 cat conftest.err
>&5
15644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15645 (exit $ac_status); } &&
15646 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15648 (eval $ac_try) 2>&5
15650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15651 (exit $ac_status); }; } &&
15652 { ac_try
='test -s conftest.$ac_objext'
15653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15654 (eval $ac_try) 2>&5
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); }; }; then
15658 ac_hi
=$ac_mid; break
15660 echo "$as_me: failed program was:" >&5
15661 sed 's/^/| /' conftest.
$ac_ext >&5
15663 ac_lo
=`expr $ac_mid + 1`
15664 if test $ac_lo -le $ac_mid; then
15668 ac_mid
=`expr 2 '*' $ac_mid + 1`
15670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15673 echo "$as_me: failed program was:" >&5
15674 sed 's/^/| /' conftest.
$ac_ext >&5
15676 cat >conftest.
$ac_ext <<_ACEOF
15679 cat confdefs.h
>>conftest.
$ac_ext
15680 cat >>conftest.
$ac_ext <<_ACEOF
15681 /* end confdefs.h. */
15682 $ac_includes_default
15686 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15693 rm -f conftest.
$ac_objext
15694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15695 (eval $ac_compile) 2>conftest.er1
15697 grep -v '^ *+' conftest.er1
>conftest.err
15699 cat conftest.err
>&5
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); } &&
15702 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15704 (eval $ac_try) 2>&5
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); }; } &&
15708 { ac_try
='test -s conftest.$ac_objext'
15709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15710 (eval $ac_try) 2>&5
15712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713 (exit $ac_status); }; }; then
15716 cat >conftest.
$ac_ext <<_ACEOF
15719 cat confdefs.h
>>conftest.
$ac_ext
15720 cat >>conftest.
$ac_ext <<_ACEOF
15721 /* end confdefs.h. */
15722 $ac_includes_default
15726 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15733 rm -f conftest.
$ac_objext
15734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15735 (eval $ac_compile) 2>conftest.er1
15737 grep -v '^ *+' conftest.er1
>conftest.err
15739 cat conftest.err
>&5
15740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741 (exit $ac_status); } &&
15742 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15744 (eval $ac_try) 2>&5
15746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15747 (exit $ac_status); }; } &&
15748 { ac_try
='test -s conftest.$ac_objext'
15749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15750 (eval $ac_try) 2>&5
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); }; }; then
15754 ac_lo
=$ac_mid; break
15756 echo "$as_me: failed program was:" >&5
15757 sed 's/^/| /' conftest.
$ac_ext >&5
15759 ac_hi
=`expr '(' $ac_mid ')' - 1`
15760 if test $ac_mid -le $ac_hi; then
15764 ac_mid
=`expr 2 '*' $ac_mid`
15766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15769 echo "$as_me: failed program was:" >&5
15770 sed 's/^/| /' conftest.
$ac_ext >&5
15774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15777 # Binary search between lo and hi bounds.
15778 while test "x$ac_lo" != "x$ac_hi"; do
15779 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15780 cat >conftest.
$ac_ext <<_ACEOF
15783 cat confdefs.h
>>conftest.
$ac_ext
15784 cat >>conftest.
$ac_ext <<_ACEOF
15785 /* end confdefs.h. */
15786 $ac_includes_default
15790 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15797 rm -f conftest.
$ac_objext
15798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15799 (eval $ac_compile) 2>conftest.er1
15801 grep -v '^ *+' conftest.er1
>conftest.err
15803 cat conftest.err
>&5
15804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15805 (exit $ac_status); } &&
15806 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15808 (eval $ac_try) 2>&5
15810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15811 (exit $ac_status); }; } &&
15812 { ac_try
='test -s conftest.$ac_objext'
15813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15814 (eval $ac_try) 2>&5
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); }; }; then
15820 echo "$as_me: failed program was:" >&5
15821 sed 's/^/| /' conftest.
$ac_ext >&5
15823 ac_lo
=`expr '(' $ac_mid ')' + 1`
15825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15828 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15829 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15830 See \`config.log' for more details." >&5
15831 echo "$as_me: error: cannot compute sizeof (int), 77
15832 See \`config.log' for more details." >&2;}
15833 { (exit 1); exit 1; }; } ;;
15836 if test "$cross_compiling" = yes; then
15837 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15838 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15839 { (exit 1); exit 1; }; }
15841 cat >conftest.
$ac_ext <<_ACEOF
15844 cat confdefs.h
>>conftest.
$ac_ext
15845 cat >>conftest.
$ac_ext <<_ACEOF
15846 /* end confdefs.h. */
15847 $ac_includes_default
15848 long longval () { return (long) (sizeof (int)); }
15849 unsigned long ulongval () { return (long) (sizeof (int)); }
15851 #include <stdlib.h>
15856 FILE *f = fopen ("conftest.val", "w");
15859 if (((long) (sizeof (int))) < 0)
15861 long i = longval ();
15862 if (i != ((long) (sizeof (int))))
15864 fprintf (f, "%ld\n", i);
15868 unsigned long i = ulongval ();
15869 if (i != ((long) (sizeof (int))))
15871 fprintf (f, "%lu\n", i);
15873 exit (ferror (f) || fclose (f) != 0);
15879 rm -f conftest
$ac_exeext
15880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15881 (eval $ac_link) 2>&5
15883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15884 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15886 (eval $ac_try) 2>&5
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); }; }; then
15890 ac_cv_sizeof_int
=`cat conftest.val`
15892 echo "$as_me: program exited with status $ac_status" >&5
15893 echo "$as_me: failed program was:" >&5
15894 sed 's/^/| /' conftest.
$ac_ext >&5
15896 ( exit $ac_status )
15897 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15898 See \`config.log' for more details." >&5
15899 echo "$as_me: error: cannot compute sizeof (int), 77
15900 See \`config.log' for more details." >&2;}
15901 { (exit 1); exit 1; }; }
15903 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15911 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15912 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15913 cat >>confdefs.h
<<_ACEOF
15914 #define SIZEOF_INT $ac_cv_sizeof_int
15918 echo "$as_me:$LINENO: checking for long" >&5
15919 echo $ECHO_N "checking for long... $ECHO_C" >&6
15920 if test "${ac_cv_type_long+set}" = set; then
15921 echo $ECHO_N "(cached) $ECHO_C" >&6
15923 cat >conftest.
$ac_ext <<_ACEOF
15926 cat confdefs.h
>>conftest.
$ac_ext
15927 cat >>conftest.
$ac_ext <<_ACEOF
15928 /* end confdefs.h. */
15929 $ac_includes_default
15941 rm -f conftest.
$ac_objext
15942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15943 (eval $ac_compile) 2>conftest.er1
15945 grep -v '^ *+' conftest.er1
>conftest.err
15947 cat conftest.err
>&5
15948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949 (exit $ac_status); } &&
15950 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15952 (eval $ac_try) 2>&5
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); }; } &&
15956 { ac_try
='test -s conftest.$ac_objext'
15957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15958 (eval $ac_try) 2>&5
15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961 (exit $ac_status); }; }; then
15962 ac_cv_type_long
=yes
15964 echo "$as_me: failed program was:" >&5
15965 sed 's/^/| /' conftest.
$ac_ext >&5
15969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15971 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15972 echo "${ECHO_T}$ac_cv_type_long" >&6
15974 echo "$as_me:$LINENO: checking size of long" >&5
15975 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15976 if test "${ac_cv_sizeof_long+set}" = set; then
15977 echo $ECHO_N "(cached) $ECHO_C" >&6
15979 if test "$ac_cv_type_long" = yes; then
15980 # The cast to unsigned long works around a bug in the HP C Compiler
15981 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15982 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15983 # This bug is HP SR number 8606223364.
15984 if test "$cross_compiling" = yes; then
15985 # Depending upon the size, compute the lo and hi bounds.
15986 cat >conftest.
$ac_ext <<_ACEOF
15989 cat confdefs.h
>>conftest.
$ac_ext
15990 cat >>conftest.
$ac_ext <<_ACEOF
15991 /* end confdefs.h. */
15992 $ac_includes_default
15996 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16003 rm -f conftest.
$ac_objext
16004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16005 (eval $ac_compile) 2>conftest.er1
16007 grep -v '^ *+' conftest.er1
>conftest.err
16009 cat conftest.err
>&5
16010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011 (exit $ac_status); } &&
16012 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16014 (eval $ac_try) 2>&5
16016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16017 (exit $ac_status); }; } &&
16018 { ac_try
='test -s conftest.$ac_objext'
16019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16020 (eval $ac_try) 2>&5
16022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16023 (exit $ac_status); }; }; then
16026 cat >conftest.
$ac_ext <<_ACEOF
16029 cat confdefs.h
>>conftest.
$ac_ext
16030 cat >>conftest.
$ac_ext <<_ACEOF
16031 /* end confdefs.h. */
16032 $ac_includes_default
16036 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16043 rm -f conftest.
$ac_objext
16044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16045 (eval $ac_compile) 2>conftest.er1
16047 grep -v '^ *+' conftest.er1
>conftest.err
16049 cat conftest.err
>&5
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); } &&
16052 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16054 (eval $ac_try) 2>&5
16056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16057 (exit $ac_status); }; } &&
16058 { ac_try
='test -s conftest.$ac_objext'
16059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16060 (eval $ac_try) 2>&5
16062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16063 (exit $ac_status); }; }; then
16064 ac_hi
=$ac_mid; break
16066 echo "$as_me: failed program was:" >&5
16067 sed 's/^/| /' conftest.
$ac_ext >&5
16069 ac_lo
=`expr $ac_mid + 1`
16070 if test $ac_lo -le $ac_mid; then
16074 ac_mid
=`expr 2 '*' $ac_mid + 1`
16076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16079 echo "$as_me: failed program was:" >&5
16080 sed 's/^/| /' conftest.
$ac_ext >&5
16082 cat >conftest.
$ac_ext <<_ACEOF
16085 cat confdefs.h
>>conftest.
$ac_ext
16086 cat >>conftest.
$ac_ext <<_ACEOF
16087 /* end confdefs.h. */
16088 $ac_includes_default
16092 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16099 rm -f conftest.
$ac_objext
16100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16101 (eval $ac_compile) 2>conftest.er1
16103 grep -v '^ *+' conftest.er1
>conftest.err
16105 cat conftest.err
>&5
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); } &&
16108 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16110 (eval $ac_try) 2>&5
16112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16113 (exit $ac_status); }; } &&
16114 { ac_try
='test -s conftest.$ac_objext'
16115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16116 (eval $ac_try) 2>&5
16118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16119 (exit $ac_status); }; }; then
16122 cat >conftest.
$ac_ext <<_ACEOF
16125 cat confdefs.h
>>conftest.
$ac_ext
16126 cat >>conftest.
$ac_ext <<_ACEOF
16127 /* end confdefs.h. */
16128 $ac_includes_default
16132 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16139 rm -f conftest.
$ac_objext
16140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16141 (eval $ac_compile) 2>conftest.er1
16143 grep -v '^ *+' conftest.er1
>conftest.err
16145 cat conftest.err
>&5
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); } &&
16148 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16150 (eval $ac_try) 2>&5
16152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16153 (exit $ac_status); }; } &&
16154 { ac_try
='test -s conftest.$ac_objext'
16155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16156 (eval $ac_try) 2>&5
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); }; }; then
16160 ac_lo
=$ac_mid; break
16162 echo "$as_me: failed program was:" >&5
16163 sed 's/^/| /' conftest.
$ac_ext >&5
16165 ac_hi
=`expr '(' $ac_mid ')' - 1`
16166 if test $ac_mid -le $ac_hi; then
16170 ac_mid
=`expr 2 '*' $ac_mid`
16172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16175 echo "$as_me: failed program was:" >&5
16176 sed 's/^/| /' conftest.
$ac_ext >&5
16180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16183 # Binary search between lo and hi bounds.
16184 while test "x$ac_lo" != "x$ac_hi"; do
16185 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16186 cat >conftest.
$ac_ext <<_ACEOF
16189 cat confdefs.h
>>conftest.
$ac_ext
16190 cat >>conftest.
$ac_ext <<_ACEOF
16191 /* end confdefs.h. */
16192 $ac_includes_default
16196 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16203 rm -f conftest.
$ac_objext
16204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16205 (eval $ac_compile) 2>conftest.er1
16207 grep -v '^ *+' conftest.er1
>conftest.err
16209 cat conftest.err
>&5
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); } &&
16212 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16214 (eval $ac_try) 2>&5
16216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16217 (exit $ac_status); }; } &&
16218 { ac_try
='test -s conftest.$ac_objext'
16219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16220 (eval $ac_try) 2>&5
16222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223 (exit $ac_status); }; }; then
16226 echo "$as_me: failed program was:" >&5
16227 sed 's/^/| /' conftest.
$ac_ext >&5
16229 ac_lo
=`expr '(' $ac_mid ')' + 1`
16231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16234 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16235 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16236 See \`config.log' for more details." >&5
16237 echo "$as_me: error: cannot compute sizeof (long), 77
16238 See \`config.log' for more details." >&2;}
16239 { (exit 1); exit 1; }; } ;;
16242 if test "$cross_compiling" = yes; then
16243 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16244 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16245 { (exit 1); exit 1; }; }
16247 cat >conftest.
$ac_ext <<_ACEOF
16250 cat confdefs.h
>>conftest.
$ac_ext
16251 cat >>conftest.
$ac_ext <<_ACEOF
16252 /* end confdefs.h. */
16253 $ac_includes_default
16254 long longval () { return (long) (sizeof (long)); }
16255 unsigned long ulongval () { return (long) (sizeof (long)); }
16257 #include <stdlib.h>
16262 FILE *f = fopen ("conftest.val", "w");
16265 if (((long) (sizeof (long))) < 0)
16267 long i = longval ();
16268 if (i != ((long) (sizeof (long))))
16270 fprintf (f, "%ld\n", i);
16274 unsigned long i = ulongval ();
16275 if (i != ((long) (sizeof (long))))
16277 fprintf (f, "%lu\n", i);
16279 exit (ferror (f) || fclose (f) != 0);
16285 rm -f conftest
$ac_exeext
16286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16287 (eval $ac_link) 2>&5
16289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16290 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16292 (eval $ac_try) 2>&5
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); }; }; then
16296 ac_cv_sizeof_long
=`cat conftest.val`
16298 echo "$as_me: program exited with status $ac_status" >&5
16299 echo "$as_me: failed program was:" >&5
16300 sed 's/^/| /' conftest.
$ac_ext >&5
16302 ( exit $ac_status )
16303 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16304 See \`config.log' for more details." >&5
16305 echo "$as_me: error: cannot compute sizeof (long), 77
16306 See \`config.log' for more details." >&2;}
16307 { (exit 1); exit 1; }; }
16309 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16314 ac_cv_sizeof_long
=0
16317 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16318 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16319 cat >>confdefs.h
<<_ACEOF
16320 #define SIZEOF_LONG $ac_cv_sizeof_long
16324 echo "$as_me:$LINENO: checking for size_t" >&5
16325 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16326 if test "${ac_cv_type_size_t+set}" = set; then
16327 echo $ECHO_N "(cached) $ECHO_C" >&6
16329 cat >conftest.
$ac_ext <<_ACEOF
16332 cat confdefs.h
>>conftest.
$ac_ext
16333 cat >>conftest.
$ac_ext <<_ACEOF
16334 /* end confdefs.h. */
16335 $ac_includes_default
16341 if (sizeof (size_t))
16347 rm -f conftest.
$ac_objext
16348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16349 (eval $ac_compile) 2>conftest.er1
16351 grep -v '^ *+' conftest.er1
>conftest.err
16353 cat conftest.err
>&5
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); } &&
16356 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16358 (eval $ac_try) 2>&5
16360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16361 (exit $ac_status); }; } &&
16362 { ac_try
='test -s conftest.$ac_objext'
16363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16364 (eval $ac_try) 2>&5
16366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16367 (exit $ac_status); }; }; then
16368 ac_cv_type_size_t
=yes
16370 echo "$as_me: failed program was:" >&5
16371 sed 's/^/| /' conftest.
$ac_ext >&5
16373 ac_cv_type_size_t
=no
16375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16377 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16378 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16380 echo "$as_me:$LINENO: checking size of size_t" >&5
16381 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16382 if test "${ac_cv_sizeof_size_t+set}" = set; then
16383 echo $ECHO_N "(cached) $ECHO_C" >&6
16385 if test "$ac_cv_type_size_t" = yes; then
16386 # The cast to unsigned long works around a bug in the HP C Compiler
16387 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16388 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16389 # This bug is HP SR number 8606223364.
16390 if test "$cross_compiling" = yes; then
16391 # Depending upon the size, compute the lo and hi bounds.
16392 cat >conftest.
$ac_ext <<_ACEOF
16395 cat confdefs.h
>>conftest.
$ac_ext
16396 cat >>conftest.
$ac_ext <<_ACEOF
16397 /* end confdefs.h. */
16398 $ac_includes_default
16402 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16409 rm -f conftest.
$ac_objext
16410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16411 (eval $ac_compile) 2>conftest.er1
16413 grep -v '^ *+' conftest.er1
>conftest.err
16415 cat conftest.err
>&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); } &&
16418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16420 (eval $ac_try) 2>&5
16422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16423 (exit $ac_status); }; } &&
16424 { ac_try
='test -s conftest.$ac_objext'
16425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16426 (eval $ac_try) 2>&5
16428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429 (exit $ac_status); }; }; then
16432 cat >conftest.
$ac_ext <<_ACEOF
16435 cat confdefs.h
>>conftest.
$ac_ext
16436 cat >>conftest.
$ac_ext <<_ACEOF
16437 /* end confdefs.h. */
16438 $ac_includes_default
16442 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16449 rm -f conftest.
$ac_objext
16450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16451 (eval $ac_compile) 2>conftest.er1
16453 grep -v '^ *+' conftest.er1
>conftest.err
16455 cat conftest.err
>&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); } &&
16458 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16460 (eval $ac_try) 2>&5
16462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463 (exit $ac_status); }; } &&
16464 { ac_try
='test -s conftest.$ac_objext'
16465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16466 (eval $ac_try) 2>&5
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); }; }; then
16470 ac_hi
=$ac_mid; break
16472 echo "$as_me: failed program was:" >&5
16473 sed 's/^/| /' conftest.
$ac_ext >&5
16475 ac_lo
=`expr $ac_mid + 1`
16476 if test $ac_lo -le $ac_mid; then
16480 ac_mid
=`expr 2 '*' $ac_mid + 1`
16482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16485 echo "$as_me: failed program was:" >&5
16486 sed 's/^/| /' conftest.
$ac_ext >&5
16488 cat >conftest.
$ac_ext <<_ACEOF
16491 cat confdefs.h
>>conftest.
$ac_ext
16492 cat >>conftest.
$ac_ext <<_ACEOF
16493 /* end confdefs.h. */
16494 $ac_includes_default
16498 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16505 rm -f conftest.
$ac_objext
16506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16507 (eval $ac_compile) 2>conftest.er1
16509 grep -v '^ *+' conftest.er1
>conftest.err
16511 cat conftest.err
>&5
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); } &&
16514 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16516 (eval $ac_try) 2>&5
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); }; } &&
16520 { ac_try
='test -s conftest.$ac_objext'
16521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16522 (eval $ac_try) 2>&5
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); }; }; then
16528 cat >conftest.
$ac_ext <<_ACEOF
16531 cat confdefs.h
>>conftest.
$ac_ext
16532 cat >>conftest.
$ac_ext <<_ACEOF
16533 /* end confdefs.h. */
16534 $ac_includes_default
16538 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16545 rm -f conftest.
$ac_objext
16546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16547 (eval $ac_compile) 2>conftest.er1
16549 grep -v '^ *+' conftest.er1
>conftest.err
16551 cat conftest.err
>&5
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); } &&
16554 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16556 (eval $ac_try) 2>&5
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); }; } &&
16560 { ac_try
='test -s conftest.$ac_objext'
16561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16562 (eval $ac_try) 2>&5
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); }; }; then
16566 ac_lo
=$ac_mid; break
16568 echo "$as_me: failed program was:" >&5
16569 sed 's/^/| /' conftest.
$ac_ext >&5
16571 ac_hi
=`expr '(' $ac_mid ')' - 1`
16572 if test $ac_mid -le $ac_hi; then
16576 ac_mid
=`expr 2 '*' $ac_mid`
16578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16581 echo "$as_me: failed program was:" >&5
16582 sed 's/^/| /' conftest.
$ac_ext >&5
16586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16589 # Binary search between lo and hi bounds.
16590 while test "x$ac_lo" != "x$ac_hi"; do
16591 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16592 cat >conftest.
$ac_ext <<_ACEOF
16595 cat confdefs.h
>>conftest.
$ac_ext
16596 cat >>conftest.
$ac_ext <<_ACEOF
16597 /* end confdefs.h. */
16598 $ac_includes_default
16602 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16609 rm -f conftest.
$ac_objext
16610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16611 (eval $ac_compile) 2>conftest.er1
16613 grep -v '^ *+' conftest.er1
>conftest.err
16615 cat conftest.err
>&5
16616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16617 (exit $ac_status); } &&
16618 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16620 (eval $ac_try) 2>&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); }; } &&
16624 { ac_try
='test -s conftest.$ac_objext'
16625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16626 (eval $ac_try) 2>&5
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); }; }; then
16632 echo "$as_me: failed program was:" >&5
16633 sed 's/^/| /' conftest.
$ac_ext >&5
16635 ac_lo
=`expr '(' $ac_mid ')' + 1`
16637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16640 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16641 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16642 See \`config.log' for more details." >&5
16643 echo "$as_me: error: cannot compute sizeof (size_t), 77
16644 See \`config.log' for more details." >&2;}
16645 { (exit 1); exit 1; }; } ;;
16648 if test "$cross_compiling" = yes; then
16649 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16650 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16651 { (exit 1); exit 1; }; }
16653 cat >conftest.
$ac_ext <<_ACEOF
16656 cat confdefs.h
>>conftest.
$ac_ext
16657 cat >>conftest.
$ac_ext <<_ACEOF
16658 /* end confdefs.h. */
16659 $ac_includes_default
16660 long longval () { return (long) (sizeof (size_t)); }
16661 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16663 #include <stdlib.h>
16668 FILE *f = fopen ("conftest.val", "w");
16671 if (((long) (sizeof (size_t))) < 0)
16673 long i = longval ();
16674 if (i != ((long) (sizeof (size_t))))
16676 fprintf (f, "%ld\n", i);
16680 unsigned long i = ulongval ();
16681 if (i != ((long) (sizeof (size_t))))
16683 fprintf (f, "%lu\n", i);
16685 exit (ferror (f) || fclose (f) != 0);
16691 rm -f conftest
$ac_exeext
16692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16693 (eval $ac_link) 2>&5
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16698 (eval $ac_try) 2>&5
16700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701 (exit $ac_status); }; }; then
16702 ac_cv_sizeof_size_t
=`cat conftest.val`
16704 echo "$as_me: program exited with status $ac_status" >&5
16705 echo "$as_me: failed program was:" >&5
16706 sed 's/^/| /' conftest.
$ac_ext >&5
16708 ( exit $ac_status )
16709 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16710 See \`config.log' for more details." >&5
16711 echo "$as_me: error: cannot compute sizeof (size_t), 77
16712 See \`config.log' for more details." >&2;}
16713 { (exit 1); exit 1; }; }
16715 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16720 ac_cv_sizeof_size_t
=0
16723 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16724 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16725 cat >>confdefs.h
<<_ACEOF
16726 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16733 echo "$as_me:$LINENO: checking for long long" >&5
16734 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16735 if test "${ac_cv_type_long_long+set}" = set; then
16736 echo $ECHO_N "(cached) $ECHO_C" >&6
16738 cat >conftest.
$ac_ext <<_ACEOF
16741 cat confdefs.h
>>conftest.
$ac_ext
16742 cat >>conftest.
$ac_ext <<_ACEOF
16743 /* end confdefs.h. */
16744 $ac_includes_default
16748 if ((long long *) 0)
16750 if (sizeof (long long))
16756 rm -f conftest.
$ac_objext
16757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16758 (eval $ac_compile) 2>conftest.er1
16760 grep -v '^ *+' conftest.er1
>conftest.err
16762 cat conftest.err
>&5
16763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16764 (exit $ac_status); } &&
16765 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16767 (eval $ac_try) 2>&5
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); }; } &&
16771 { ac_try
='test -s conftest.$ac_objext'
16772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16773 (eval $ac_try) 2>&5
16775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); }; }; then
16777 ac_cv_type_long_long
=yes
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.
$ac_ext >&5
16782 ac_cv_type_long_long
=no
16784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16786 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16787 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16789 echo "$as_me:$LINENO: checking size of long long" >&5
16790 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16791 if test "${ac_cv_sizeof_long_long+set}" = set; then
16792 echo $ECHO_N "(cached) $ECHO_C" >&6
16794 if test "$ac_cv_type_long_long" = yes; then
16795 # The cast to unsigned long works around a bug in the HP C Compiler
16796 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16797 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16798 # This bug is HP SR number 8606223364.
16799 if test "$cross_compiling" = yes; then
16800 # Depending upon the size, compute the lo and hi bounds.
16801 cat >conftest.
$ac_ext <<_ACEOF
16804 cat confdefs.h
>>conftest.
$ac_ext
16805 cat >>conftest.
$ac_ext <<_ACEOF
16806 /* end confdefs.h. */
16807 $ac_includes_default
16811 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16818 rm -f conftest.
$ac_objext
16819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16820 (eval $ac_compile) 2>conftest.er1
16822 grep -v '^ *+' conftest.er1
>conftest.err
16824 cat conftest.err
>&5
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); } &&
16827 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16829 (eval $ac_try) 2>&5
16831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16832 (exit $ac_status); }; } &&
16833 { ac_try
='test -s conftest.$ac_objext'
16834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16835 (eval $ac_try) 2>&5
16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); }; }; then
16841 cat >conftest.
$ac_ext <<_ACEOF
16844 cat confdefs.h
>>conftest.
$ac_ext
16845 cat >>conftest.
$ac_ext <<_ACEOF
16846 /* end confdefs.h. */
16847 $ac_includes_default
16851 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16858 rm -f conftest.
$ac_objext
16859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16860 (eval $ac_compile) 2>conftest.er1
16862 grep -v '^ *+' conftest.er1
>conftest.err
16864 cat conftest.err
>&5
16865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); } &&
16867 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16869 (eval $ac_try) 2>&5
16871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16872 (exit $ac_status); }; } &&
16873 { ac_try
='test -s conftest.$ac_objext'
16874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16875 (eval $ac_try) 2>&5
16877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16878 (exit $ac_status); }; }; then
16879 ac_hi
=$ac_mid; break
16881 echo "$as_me: failed program was:" >&5
16882 sed 's/^/| /' conftest.
$ac_ext >&5
16884 ac_lo
=`expr $ac_mid + 1`
16885 if test $ac_lo -le $ac_mid; then
16889 ac_mid
=`expr 2 '*' $ac_mid + 1`
16891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16894 echo "$as_me: failed program was:" >&5
16895 sed 's/^/| /' conftest.
$ac_ext >&5
16897 cat >conftest.
$ac_ext <<_ACEOF
16900 cat confdefs.h
>>conftest.
$ac_ext
16901 cat >>conftest.
$ac_ext <<_ACEOF
16902 /* end confdefs.h. */
16903 $ac_includes_default
16907 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16914 rm -f conftest.
$ac_objext
16915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16916 (eval $ac_compile) 2>conftest.er1
16918 grep -v '^ *+' conftest.er1
>conftest.err
16920 cat conftest.err
>&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); } &&
16923 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16925 (eval $ac_try) 2>&5
16927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928 (exit $ac_status); }; } &&
16929 { ac_try
='test -s conftest.$ac_objext'
16930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16931 (eval $ac_try) 2>&5
16933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934 (exit $ac_status); }; }; then
16937 cat >conftest.
$ac_ext <<_ACEOF
16940 cat confdefs.h
>>conftest.
$ac_ext
16941 cat >>conftest.
$ac_ext <<_ACEOF
16942 /* end confdefs.h. */
16943 $ac_includes_default
16947 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16954 rm -f conftest.
$ac_objext
16955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16956 (eval $ac_compile) 2>conftest.er1
16958 grep -v '^ *+' conftest.er1
>conftest.err
16960 cat conftest.err
>&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); } &&
16963 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16965 (eval $ac_try) 2>&5
16967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16968 (exit $ac_status); }; } &&
16969 { ac_try
='test -s conftest.$ac_objext'
16970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16971 (eval $ac_try) 2>&5
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); }; }; then
16975 ac_lo
=$ac_mid; break
16977 echo "$as_me: failed program was:" >&5
16978 sed 's/^/| /' conftest.
$ac_ext >&5
16980 ac_hi
=`expr '(' $ac_mid ')' - 1`
16981 if test $ac_mid -le $ac_hi; then
16985 ac_mid
=`expr 2 '*' $ac_mid`
16987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16990 echo "$as_me: failed program was:" >&5
16991 sed 's/^/| /' conftest.
$ac_ext >&5
16995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16998 # Binary search between lo and hi bounds.
16999 while test "x$ac_lo" != "x$ac_hi"; do
17000 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17001 cat >conftest.
$ac_ext <<_ACEOF
17004 cat confdefs.h
>>conftest.
$ac_ext
17005 cat >>conftest.
$ac_ext <<_ACEOF
17006 /* end confdefs.h. */
17007 $ac_includes_default
17011 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17018 rm -f conftest.
$ac_objext
17019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17020 (eval $ac_compile) 2>conftest.er1
17022 grep -v '^ *+' conftest.er1
>conftest.err
17024 cat conftest.err
>&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); } &&
17027 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17029 (eval $ac_try) 2>&5
17031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17032 (exit $ac_status); }; } &&
17033 { ac_try
='test -s conftest.$ac_objext'
17034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17035 (eval $ac_try) 2>&5
17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 (exit $ac_status); }; }; then
17041 echo "$as_me: failed program was:" >&5
17042 sed 's/^/| /' conftest.
$ac_ext >&5
17044 ac_lo
=`expr '(' $ac_mid ')' + 1`
17046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17049 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17050 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17051 See \`config.log' for more details." >&5
17052 echo "$as_me: error: cannot compute sizeof (long long), 77
17053 See \`config.log' for more details." >&2;}
17054 { (exit 1); exit 1; }; } ;;
17057 if test "$cross_compiling" = yes; then
17058 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17059 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17060 { (exit 1); exit 1; }; }
17062 cat >conftest.
$ac_ext <<_ACEOF
17065 cat confdefs.h
>>conftest.
$ac_ext
17066 cat >>conftest.
$ac_ext <<_ACEOF
17067 /* end confdefs.h. */
17068 $ac_includes_default
17069 long longval () { return (long) (sizeof (long long)); }
17070 unsigned long ulongval () { return (long) (sizeof (long long)); }
17072 #include <stdlib.h>
17077 FILE *f = fopen ("conftest.val", "w");
17080 if (((long) (sizeof (long long))) < 0)
17082 long i = longval ();
17083 if (i != ((long) (sizeof (long long))))
17085 fprintf (f, "%ld\n", i);
17089 unsigned long i = ulongval ();
17090 if (i != ((long) (sizeof (long long))))
17092 fprintf (f, "%lu\n", i);
17094 exit (ferror (f) || fclose (f) != 0);
17100 rm -f conftest
$ac_exeext
17101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17102 (eval $ac_link) 2>&5
17104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17105 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17107 (eval $ac_try) 2>&5
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); }; }; then
17111 ac_cv_sizeof_long_long
=`cat conftest.val`
17113 echo "$as_me: program exited with status $ac_status" >&5
17114 echo "$as_me: failed program was:" >&5
17115 sed 's/^/| /' conftest.
$ac_ext >&5
17117 ( exit $ac_status )
17118 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17119 See \`config.log' for more details." >&5
17120 echo "$as_me: error: cannot compute sizeof (long long), 77
17121 See \`config.log' for more details." >&2;}
17122 { (exit 1); exit 1; }; }
17124 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17129 ac_cv_sizeof_long_long
=0
17132 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17133 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17134 cat >>confdefs.h
<<_ACEOF
17135 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17141 echo "$as_me:$LINENO: checking for long long" >&5
17142 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17143 if test "${ac_cv_type_long_long+set}" = set; then
17144 echo $ECHO_N "(cached) $ECHO_C" >&6
17146 cat >conftest.
$ac_ext <<_ACEOF
17149 cat confdefs.h
>>conftest.
$ac_ext
17150 cat >>conftest.
$ac_ext <<_ACEOF
17151 /* end confdefs.h. */
17152 $ac_includes_default
17156 if ((long long *) 0)
17158 if (sizeof (long long))
17164 rm -f conftest.
$ac_objext
17165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17166 (eval $ac_compile) 2>conftest.er1
17168 grep -v '^ *+' conftest.er1
>conftest.err
17170 cat conftest.err
>&5
17171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17172 (exit $ac_status); } &&
17173 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17175 (eval $ac_try) 2>&5
17177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17178 (exit $ac_status); }; } &&
17179 { ac_try
='test -s conftest.$ac_objext'
17180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17181 (eval $ac_try) 2>&5
17183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17184 (exit $ac_status); }; }; then
17185 ac_cv_type_long_long
=yes
17187 echo "$as_me: failed program was:" >&5
17188 sed 's/^/| /' conftest.
$ac_ext >&5
17190 ac_cv_type_long_long
=no
17192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17194 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17195 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17197 echo "$as_me:$LINENO: checking size of long long" >&5
17198 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17199 if test "${ac_cv_sizeof_long_long+set}" = set; then
17200 echo $ECHO_N "(cached) $ECHO_C" >&6
17202 if test "$ac_cv_type_long_long" = yes; then
17203 # The cast to unsigned long works around a bug in the HP C Compiler
17204 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17205 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17206 # This bug is HP SR number 8606223364.
17207 if test "$cross_compiling" = yes; then
17208 # Depending upon the size, compute the lo and hi bounds.
17209 cat >conftest.
$ac_ext <<_ACEOF
17212 cat confdefs.h
>>conftest.
$ac_ext
17213 cat >>conftest.
$ac_ext <<_ACEOF
17214 /* end confdefs.h. */
17215 $ac_includes_default
17219 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17226 rm -f conftest.
$ac_objext
17227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17228 (eval $ac_compile) 2>conftest.er1
17230 grep -v '^ *+' conftest.er1
>conftest.err
17232 cat conftest.err
>&5
17233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17234 (exit $ac_status); } &&
17235 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17237 (eval $ac_try) 2>&5
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); }; } &&
17241 { ac_try
='test -s conftest.$ac_objext'
17242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17243 (eval $ac_try) 2>&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); }; }; then
17249 cat >conftest.
$ac_ext <<_ACEOF
17252 cat confdefs.h
>>conftest.
$ac_ext
17253 cat >>conftest.
$ac_ext <<_ACEOF
17254 /* end confdefs.h. */
17255 $ac_includes_default
17259 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17266 rm -f conftest.
$ac_objext
17267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17268 (eval $ac_compile) 2>conftest.er1
17270 grep -v '^ *+' conftest.er1
>conftest.err
17272 cat conftest.err
>&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } &&
17275 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17277 (eval $ac_try) 2>&5
17279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 (exit $ac_status); }; } &&
17281 { ac_try
='test -s conftest.$ac_objext'
17282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17283 (eval $ac_try) 2>&5
17285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17286 (exit $ac_status); }; }; then
17287 ac_hi
=$ac_mid; break
17289 echo "$as_me: failed program was:" >&5
17290 sed 's/^/| /' conftest.
$ac_ext >&5
17292 ac_lo
=`expr $ac_mid + 1`
17293 if test $ac_lo -le $ac_mid; then
17297 ac_mid
=`expr 2 '*' $ac_mid + 1`
17299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17302 echo "$as_me: failed program was:" >&5
17303 sed 's/^/| /' conftest.
$ac_ext >&5
17305 cat >conftest.
$ac_ext <<_ACEOF
17308 cat confdefs.h
>>conftest.
$ac_ext
17309 cat >>conftest.
$ac_ext <<_ACEOF
17310 /* end confdefs.h. */
17311 $ac_includes_default
17315 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17322 rm -f conftest.
$ac_objext
17323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17324 (eval $ac_compile) 2>conftest.er1
17326 grep -v '^ *+' conftest.er1
>conftest.err
17328 cat conftest.err
>&5
17329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17330 (exit $ac_status); } &&
17331 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17333 (eval $ac_try) 2>&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); }; } &&
17337 { ac_try
='test -s conftest.$ac_objext'
17338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17339 (eval $ac_try) 2>&5
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); }; }; then
17345 cat >conftest.
$ac_ext <<_ACEOF
17348 cat confdefs.h
>>conftest.
$ac_ext
17349 cat >>conftest.
$ac_ext <<_ACEOF
17350 /* end confdefs.h. */
17351 $ac_includes_default
17355 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17362 rm -f conftest.
$ac_objext
17363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17364 (eval $ac_compile) 2>conftest.er1
17366 grep -v '^ *+' conftest.er1
>conftest.err
17368 cat conftest.err
>&5
17369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17370 (exit $ac_status); } &&
17371 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17373 (eval $ac_try) 2>&5
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); }; } &&
17377 { ac_try
='test -s conftest.$ac_objext'
17378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17379 (eval $ac_try) 2>&5
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); }; }; then
17383 ac_lo
=$ac_mid; break
17385 echo "$as_me: failed program was:" >&5
17386 sed 's/^/| /' conftest.
$ac_ext >&5
17388 ac_hi
=`expr '(' $ac_mid ')' - 1`
17389 if test $ac_mid -le $ac_hi; then
17393 ac_mid
=`expr 2 '*' $ac_mid`
17395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17398 echo "$as_me: failed program was:" >&5
17399 sed 's/^/| /' conftest.
$ac_ext >&5
17403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17406 # Binary search between lo and hi bounds.
17407 while test "x$ac_lo" != "x$ac_hi"; do
17408 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17409 cat >conftest.
$ac_ext <<_ACEOF
17412 cat confdefs.h
>>conftest.
$ac_ext
17413 cat >>conftest.
$ac_ext <<_ACEOF
17414 /* end confdefs.h. */
17415 $ac_includes_default
17419 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17426 rm -f conftest.
$ac_objext
17427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17428 (eval $ac_compile) 2>conftest.er1
17430 grep -v '^ *+' conftest.er1
>conftest.err
17432 cat conftest.err
>&5
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); } &&
17435 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17437 (eval $ac_try) 2>&5
17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); }; } &&
17441 { ac_try
='test -s conftest.$ac_objext'
17442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17443 (eval $ac_try) 2>&5
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); }; }; then
17449 echo "$as_me: failed program was:" >&5
17450 sed 's/^/| /' conftest.
$ac_ext >&5
17452 ac_lo
=`expr '(' $ac_mid ')' + 1`
17454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17457 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17458 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17459 See \`config.log' for more details." >&5
17460 echo "$as_me: error: cannot compute sizeof (long long), 77
17461 See \`config.log' for more details." >&2;}
17462 { (exit 1); exit 1; }; } ;;
17465 if test "$cross_compiling" = yes; then
17466 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17467 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17468 { (exit 1); exit 1; }; }
17470 cat >conftest.
$ac_ext <<_ACEOF
17473 cat confdefs.h
>>conftest.
$ac_ext
17474 cat >>conftest.
$ac_ext <<_ACEOF
17475 /* end confdefs.h. */
17476 $ac_includes_default
17477 long longval () { return (long) (sizeof (long long)); }
17478 unsigned long ulongval () { return (long) (sizeof (long long)); }
17480 #include <stdlib.h>
17485 FILE *f = fopen ("conftest.val", "w");
17488 if (((long) (sizeof (long long))) < 0)
17490 long i = longval ();
17491 if (i != ((long) (sizeof (long long))))
17493 fprintf (f, "%ld\n", i);
17497 unsigned long i = ulongval ();
17498 if (i != ((long) (sizeof (long long))))
17500 fprintf (f, "%lu\n", i);
17502 exit (ferror (f) || fclose (f) != 0);
17508 rm -f conftest
$ac_exeext
17509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17510 (eval $ac_link) 2>&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17515 (eval $ac_try) 2>&5
17517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17518 (exit $ac_status); }; }; then
17519 ac_cv_sizeof_long_long
=`cat conftest.val`
17521 echo "$as_me: program exited with status $ac_status" >&5
17522 echo "$as_me: failed program was:" >&5
17523 sed 's/^/| /' conftest.
$ac_ext >&5
17525 ( exit $ac_status )
17526 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17527 See \`config.log' for more details." >&5
17528 echo "$as_me: error: cannot compute sizeof (long long), 77
17529 See \`config.log' for more details." >&2;}
17530 { (exit 1); exit 1; }; }
17532 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17537 ac_cv_sizeof_long_long
=0
17540 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17541 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17542 cat >>confdefs.h
<<_ACEOF
17543 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17547 if test "$ac_cv_sizeof_long_long" != "0"; then
17548 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17552 echo "$as_me:$LINENO: checking for long long" >&5
17553 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17554 if test "${ac_cv_type_long_long+set}" = set; then
17555 echo $ECHO_N "(cached) $ECHO_C" >&6
17557 cat >conftest.
$ac_ext <<_ACEOF
17560 cat confdefs.h
>>conftest.
$ac_ext
17561 cat >>conftest.
$ac_ext <<_ACEOF
17562 /* end confdefs.h. */
17563 $ac_includes_default
17567 if ((long long *) 0)
17569 if (sizeof (long long))
17575 rm -f conftest.
$ac_objext
17576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17577 (eval $ac_compile) 2>conftest.er1
17579 grep -v '^ *+' conftest.er1
>conftest.err
17581 cat conftest.err
>&5
17582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17583 (exit $ac_status); } &&
17584 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17586 (eval $ac_try) 2>&5
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); }; } &&
17590 { ac_try
='test -s conftest.$ac_objext'
17591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17592 (eval $ac_try) 2>&5
17594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17595 (exit $ac_status); }; }; then
17596 ac_cv_type_long_long
=yes
17598 echo "$as_me: failed program was:" >&5
17599 sed 's/^/| /' conftest.
$ac_ext >&5
17601 ac_cv_type_long_long
=no
17603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17605 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17606 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17608 echo "$as_me:$LINENO: checking size of long long" >&5
17609 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17610 if test "${ac_cv_sizeof_long_long+set}" = set; then
17611 echo $ECHO_N "(cached) $ECHO_C" >&6
17613 if test "$ac_cv_type_long_long" = yes; then
17614 # The cast to unsigned long works around a bug in the HP C Compiler
17615 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17616 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17617 # This bug is HP SR number 8606223364.
17618 if test "$cross_compiling" = yes; then
17619 # Depending upon the size, compute the lo and hi bounds.
17620 cat >conftest.
$ac_ext <<_ACEOF
17623 cat confdefs.h
>>conftest.
$ac_ext
17624 cat >>conftest.
$ac_ext <<_ACEOF
17625 /* end confdefs.h. */
17626 $ac_includes_default
17630 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17637 rm -f conftest.
$ac_objext
17638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17639 (eval $ac_compile) 2>conftest.er1
17641 grep -v '^ *+' conftest.er1
>conftest.err
17643 cat conftest.err
>&5
17644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17645 (exit $ac_status); } &&
17646 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17648 (eval $ac_try) 2>&5
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); }; } &&
17652 { ac_try
='test -s conftest.$ac_objext'
17653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17654 (eval $ac_try) 2>&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); }; }; then
17660 cat >conftest.
$ac_ext <<_ACEOF
17663 cat confdefs.h
>>conftest.
$ac_ext
17664 cat >>conftest.
$ac_ext <<_ACEOF
17665 /* end confdefs.h. */
17666 $ac_includes_default
17670 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17677 rm -f conftest.
$ac_objext
17678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17679 (eval $ac_compile) 2>conftest.er1
17681 grep -v '^ *+' conftest.er1
>conftest.err
17683 cat conftest.err
>&5
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); } &&
17686 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17688 (eval $ac_try) 2>&5
17690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17691 (exit $ac_status); }; } &&
17692 { ac_try
='test -s conftest.$ac_objext'
17693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17694 (eval $ac_try) 2>&5
17696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17697 (exit $ac_status); }; }; then
17698 ac_hi
=$ac_mid; break
17700 echo "$as_me: failed program was:" >&5
17701 sed 's/^/| /' conftest.
$ac_ext >&5
17703 ac_lo
=`expr $ac_mid + 1`
17704 if test $ac_lo -le $ac_mid; then
17708 ac_mid
=`expr 2 '*' $ac_mid + 1`
17710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17713 echo "$as_me: failed program was:" >&5
17714 sed 's/^/| /' conftest.
$ac_ext >&5
17716 cat >conftest.
$ac_ext <<_ACEOF
17719 cat confdefs.h
>>conftest.
$ac_ext
17720 cat >>conftest.
$ac_ext <<_ACEOF
17721 /* end confdefs.h. */
17722 $ac_includes_default
17726 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17733 rm -f conftest.
$ac_objext
17734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17735 (eval $ac_compile) 2>conftest.er1
17737 grep -v '^ *+' conftest.er1
>conftest.err
17739 cat conftest.err
>&5
17740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17741 (exit $ac_status); } &&
17742 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17744 (eval $ac_try) 2>&5
17746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17747 (exit $ac_status); }; } &&
17748 { ac_try
='test -s conftest.$ac_objext'
17749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17750 (eval $ac_try) 2>&5
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); }; }; then
17756 cat >conftest.
$ac_ext <<_ACEOF
17759 cat confdefs.h
>>conftest.
$ac_ext
17760 cat >>conftest.
$ac_ext <<_ACEOF
17761 /* end confdefs.h. */
17762 $ac_includes_default
17766 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17773 rm -f conftest.
$ac_objext
17774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17775 (eval $ac_compile) 2>conftest.er1
17777 grep -v '^ *+' conftest.er1
>conftest.err
17779 cat conftest.err
>&5
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); } &&
17782 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17784 (eval $ac_try) 2>&5
17786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787 (exit $ac_status); }; } &&
17788 { ac_try
='test -s conftest.$ac_objext'
17789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17790 (eval $ac_try) 2>&5
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); }; }; then
17794 ac_lo
=$ac_mid; break
17796 echo "$as_me: failed program was:" >&5
17797 sed 's/^/| /' conftest.
$ac_ext >&5
17799 ac_hi
=`expr '(' $ac_mid ')' - 1`
17800 if test $ac_mid -le $ac_hi; then
17804 ac_mid
=`expr 2 '*' $ac_mid`
17806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17809 echo "$as_me: failed program was:" >&5
17810 sed 's/^/| /' conftest.
$ac_ext >&5
17814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17817 # Binary search between lo and hi bounds.
17818 while test "x$ac_lo" != "x$ac_hi"; do
17819 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17820 cat >conftest.
$ac_ext <<_ACEOF
17823 cat confdefs.h
>>conftest.
$ac_ext
17824 cat >>conftest.
$ac_ext <<_ACEOF
17825 /* end confdefs.h. */
17826 $ac_includes_default
17830 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17837 rm -f conftest.
$ac_objext
17838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17839 (eval $ac_compile) 2>conftest.er1
17841 grep -v '^ *+' conftest.er1
>conftest.err
17843 cat conftest.err
>&5
17844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17845 (exit $ac_status); } &&
17846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17848 (eval $ac_try) 2>&5
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); }; } &&
17852 { ac_try
='test -s conftest.$ac_objext'
17853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17854 (eval $ac_try) 2>&5
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); }; }; then
17860 echo "$as_me: failed program was:" >&5
17861 sed 's/^/| /' conftest.
$ac_ext >&5
17863 ac_lo
=`expr '(' $ac_mid ')' + 1`
17865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17868 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17869 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17870 See \`config.log' for more details." >&5
17871 echo "$as_me: error: cannot compute sizeof (long long), 77
17872 See \`config.log' for more details." >&2;}
17873 { (exit 1); exit 1; }; } ;;
17876 if test "$cross_compiling" = yes; then
17877 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17878 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17879 { (exit 1); exit 1; }; }
17881 cat >conftest.
$ac_ext <<_ACEOF
17884 cat confdefs.h
>>conftest.
$ac_ext
17885 cat >>conftest.
$ac_ext <<_ACEOF
17886 /* end confdefs.h. */
17887 $ac_includes_default
17888 long longval () { return (long) (sizeof (long long)); }
17889 unsigned long ulongval () { return (long) (sizeof (long long)); }
17891 #include <stdlib.h>
17896 FILE *f = fopen ("conftest.val", "w");
17899 if (((long) (sizeof (long long))) < 0)
17901 long i = longval ();
17902 if (i != ((long) (sizeof (long long))))
17904 fprintf (f, "%ld\n", i);
17908 unsigned long i = ulongval ();
17909 if (i != ((long) (sizeof (long long))))
17911 fprintf (f, "%lu\n", i);
17913 exit (ferror (f) || fclose (f) != 0);
17919 rm -f conftest
$ac_exeext
17920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17921 (eval $ac_link) 2>&5
17923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17926 (eval $ac_try) 2>&5
17928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17929 (exit $ac_status); }; }; then
17930 ac_cv_sizeof_long_long
=`cat conftest.val`
17932 echo "$as_me: program exited with status $ac_status" >&5
17933 echo "$as_me: failed program was:" >&5
17934 sed 's/^/| /' conftest.
$ac_ext >&5
17936 ( exit $ac_status )
17937 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17938 See \`config.log' for more details." >&5
17939 echo "$as_me: error: cannot compute sizeof (long long), 77
17940 See \`config.log' for more details." >&2;}
17941 { (exit 1); exit 1; }; }
17943 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17948 ac_cv_sizeof_long_long
=0
17951 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17952 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17953 cat >>confdefs.h
<<_ACEOF
17954 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17960 echo "$as_me:$LINENO: checking size of wchar_t" >&5
17961 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
17962 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
17963 echo $ECHO_N "(cached) $ECHO_C" >&6
17966 if test "$cross_compiling" = yes; then
17970 wx_cv_sizeof_wchar_t
=0
17973 wx_cv_sizeof_wchar_t
=4
17979 cat >conftest.
$ac_ext <<_ACEOF
17982 cat confdefs.h
>>conftest.
$ac_ext
17983 cat >>conftest.
$ac_ext <<_ACEOF
17984 /* end confdefs.h. */
17986 /* DJGPP only has fake wchar_t: */
17988 # error "fake wchar_t"
17990 #ifdef HAVE_WCHAR_H
17992 # include <stddef.h>
17994 # include <wchar.h>
17996 #ifdef HAVE_STDLIB_H
17997 # include <stdlib.h>
18002 FILE *f=fopen("conftestval", "w");
18004 fprintf(f, "%i", sizeof(wchar_t));
18009 rm -f conftest
$ac_exeext
18010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18011 (eval $ac_link) 2>&5
18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18016 (eval $ac_try) 2>&5
18018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019 (exit $ac_status); }; }; then
18020 wx_cv_sizeof_wchar_t
=`cat conftestval`
18022 echo "$as_me: program exited with status $ac_status" >&5
18023 echo "$as_me: failed program was:" >&5
18024 sed 's/^/| /' conftest.
$ac_ext >&5
18026 ( exit $ac_status )
18027 wx_cv_sizeof_wchar_t
=0
18029 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18033 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18034 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18036 cat >>confdefs.h
<<_ACEOF
18037 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18041 # Check whether --enable-largefile or --disable-largefile was given.
18042 if test "${enable_largefile+set}" = set; then
18043 enableval
="$enable_largefile"
18046 if test "$enable_largefile" != no
; then
18049 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18050 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18051 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18052 echo $ECHO_N "(cached) $ECHO_C" >&6
18055 cat >conftest.
$ac_ext <<_ACEOF
18058 cat confdefs.h
>>conftest.
$ac_ext
18059 cat >>conftest.
$ac_ext <<_ACEOF
18060 /* end confdefs.h. */
18061 #define _FILE_OFFSET_BITS 64
18062 #include <sys/types.h>
18067 unsigned int field: sizeof(off_t) == 8;
18074 rm -f conftest.
$ac_objext
18075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18076 (eval $ac_compile) 2>conftest.er1
18078 grep -v '^ *+' conftest.er1
>conftest.err
18080 cat conftest.err
>&5
18081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18082 (exit $ac_status); } &&
18083 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18085 (eval $ac_try) 2>&5
18087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 (exit $ac_status); }; } &&
18089 { ac_try
='test -s conftest.$ac_objext'
18090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18091 (eval $ac_try) 2>&5
18093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18094 (exit $ac_status); }; }; then
18095 ac_cv_sys_file_offset_bits
=64
18097 echo "$as_me: failed program was:" >&5
18098 sed 's/^/| /' conftest.
$ac_ext >&5
18100 ac_cv_sys_file_offset_bits
=no
18102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18106 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18107 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18109 if test "$ac_cv_sys_file_offset_bits" != no
; then
18111 cat >>confdefs.h
<<_ACEOF
18112 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18117 if test "x$wx_largefile" != "xyes"; then
18119 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18120 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18121 if test "${ac_cv_sys_large_files+set}" = set; then
18122 echo $ECHO_N "(cached) $ECHO_C" >&6
18125 cat >conftest.
$ac_ext <<_ACEOF
18128 cat confdefs.h
>>conftest.
$ac_ext
18129 cat >>conftest.
$ac_ext <<_ACEOF
18130 /* end confdefs.h. */
18131 #define _LARGE_FILES 1
18132 #include <sys/types.h>
18137 unsigned int field: sizeof(off_t) == 8;
18144 rm -f conftest.
$ac_objext
18145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18146 (eval $ac_compile) 2>conftest.er1
18148 grep -v '^ *+' conftest.er1
>conftest.err
18150 cat conftest.err
>&5
18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152 (exit $ac_status); } &&
18153 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18155 (eval $ac_try) 2>&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); }; } &&
18159 { ac_try
='test -s conftest.$ac_objext'
18160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18161 (eval $ac_try) 2>&5
18163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18164 (exit $ac_status); }; }; then
18165 ac_cv_sys_large_files
=1
18167 echo "$as_me: failed program was:" >&5
18168 sed 's/^/| /' conftest.
$ac_ext >&5
18170 ac_cv_sys_large_files
=no
18172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18176 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18177 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18179 if test "$ac_cv_sys_large_files" != no
; then
18181 cat >>confdefs.h
<<_ACEOF
18182 #define _LARGE_FILES $ac_cv_sys_large_files
18189 echo "$as_me:$LINENO: checking if large file support is available" >&5
18190 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18191 if test "x$wx_largefile" = "xyes"; then
18192 cat >>confdefs.h
<<\_ACEOF
18193 #define HAVE_LARGEFILE_SUPPORT 1
18197 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18198 echo "${ECHO_T}$wx_largefile" >&6
18202 if test "x$wx_largefile" = "xyes"; then
18203 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18204 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18206 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18208 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18211 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18212 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18213 if test "${ac_cv_c_bigendian+set}" = set; then
18214 echo $ECHO_N "(cached) $ECHO_C" >&6
18216 ac_cv_c_bigendian
=unknown
18217 # See if sys/param.h defines the BYTE_ORDER macro.
18218 cat >conftest.
$ac_ext <<_ACEOF
18221 cat confdefs.h
>>conftest.
$ac_ext
18222 cat >>conftest.
$ac_ext <<_ACEOF
18223 /* end confdefs.h. */
18224 #include <sys/types.h>
18225 #include <sys/param.h>
18230 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18231 bogus endian macros
18237 rm -f conftest.
$ac_objext
18238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18239 (eval $ac_compile) 2>conftest.er1
18241 grep -v '^ *+' conftest.er1
>conftest.err
18243 cat conftest.err
>&5
18244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18245 (exit $ac_status); } &&
18246 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18248 (eval $ac_try) 2>&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); }; } &&
18252 { ac_try
='test -s conftest.$ac_objext'
18253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18254 (eval $ac_try) 2>&5
18256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18257 (exit $ac_status); }; }; then
18258 # It does; now see whether it defined to BIG_ENDIAN or not.
18259 cat >conftest.
$ac_ext <<_ACEOF
18262 cat confdefs.h
>>conftest.
$ac_ext
18263 cat >>conftest.
$ac_ext <<_ACEOF
18264 /* end confdefs.h. */
18265 #include <sys/types.h>
18266 #include <sys/param.h>
18271 #if BYTE_ORDER != BIG_ENDIAN
18278 rm -f conftest.
$ac_objext
18279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18280 (eval $ac_compile) 2>conftest.er1
18282 grep -v '^ *+' conftest.er1
>conftest.err
18284 cat conftest.err
>&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); } &&
18287 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289 (eval $ac_try) 2>&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }; } &&
18293 { ac_try
='test -s conftest.$ac_objext'
18294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18295 (eval $ac_try) 2>&5
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); }; }; then
18299 ac_cv_c_bigendian
=yes
18301 echo "$as_me: failed program was:" >&5
18302 sed 's/^/| /' conftest.
$ac_ext >&5
18304 ac_cv_c_bigendian
=no
18306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18308 echo "$as_me: failed program was:" >&5
18309 sed 's/^/| /' conftest.
$ac_ext >&5
18312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18313 if test $ac_cv_c_bigendian = unknown
; then
18314 if test "$cross_compiling" = yes; then
18315 ac_cv_c_bigendian
=unknown
18317 cat >conftest.
$ac_ext <<_ACEOF
18320 cat confdefs.h
>>conftest.
$ac_ext
18321 cat >>conftest.
$ac_ext <<_ACEOF
18322 /* end confdefs.h. */
18324 /* Are we little or big endian? From Harbison&Steele. */
18328 char c[sizeof (long)];
18331 exit (u.c[sizeof (long) - 1] == 1);
18334 rm -f conftest
$ac_exeext
18335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18336 (eval $ac_link) 2>&5
18338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18341 (eval $ac_try) 2>&5
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); }; }; then
18345 ac_cv_c_bigendian
=no
18347 echo "$as_me: program exited with status $ac_status" >&5
18348 echo "$as_me: failed program was:" >&5
18349 sed 's/^/| /' conftest.
$ac_ext >&5
18351 ( exit $ac_status )
18352 ac_cv_c_bigendian
=yes
18354 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18358 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18359 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18360 if test $ac_cv_c_bigendian = unknown
; then
18361 { 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
18362 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;}
18364 if test $ac_cv_c_bigendian = yes; then
18365 cat >>confdefs.h
<<\_ACEOF
18366 #define WORDS_BIGENDIAN 1
18373 ac_cpp
='$CXXCPP $CPPFLAGS'
18374 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18375 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18376 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18377 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18378 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18379 if test -z "$CXXCPP"; then
18380 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18381 echo $ECHO_N "(cached) $ECHO_C" >&6
18383 # Double quotes because CXXCPP needs to be expanded
18384 for CXXCPP
in "$CXX -E" "/lib/cpp"
18386 ac_preproc_ok
=false
18387 for ac_cxx_preproc_warn_flag
in '' yes
18389 # Use a header file that comes with gcc, so configuring glibc
18390 # with a fresh cross-compiler works.
18391 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18392 # <limits.h> exists even on freestanding compilers.
18393 # On the NeXT, cc -E runs the code through the compiler's parser,
18394 # not just through cpp. "Syntax error" is here to catch this case.
18395 cat >conftest.
$ac_ext <<_ACEOF
18398 cat confdefs.h
>>conftest.
$ac_ext
18399 cat >>conftest.
$ac_ext <<_ACEOF
18400 /* end confdefs.h. */
18402 # include <limits.h>
18404 # include <assert.h>
18408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18409 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18411 grep -v '^ *+' conftest.er1
>conftest.err
18413 cat conftest.err
>&5
18414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18415 (exit $ac_status); } >/dev
/null
; then
18416 if test -s conftest.err
; then
18417 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18418 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18425 if test -z "$ac_cpp_err"; then
18428 echo "$as_me: failed program was:" >&5
18429 sed 's/^/| /' conftest.
$ac_ext >&5
18431 # Broken: fails on valid input.
18434 rm -f conftest.err conftest.
$ac_ext
18436 # OK, works on sane cases. Now check whether non-existent headers
18437 # can be detected and how.
18438 cat >conftest.
$ac_ext <<_ACEOF
18441 cat confdefs.h
>>conftest.
$ac_ext
18442 cat >>conftest.
$ac_ext <<_ACEOF
18443 /* end confdefs.h. */
18444 #include <ac_nonexistent.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
18464 # Broken: success on invalid input.
18467 echo "$as_me: failed program was:" >&5
18468 sed 's/^/| /' conftest.
$ac_ext >&5
18470 # Passes both tests.
18474 rm -f conftest.err conftest.
$ac_ext
18477 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18478 rm -f conftest.err conftest.
$ac_ext
18479 if $ac_preproc_ok; then
18484 ac_cv_prog_CXXCPP
=$CXXCPP
18487 CXXCPP
=$ac_cv_prog_CXXCPP
18489 ac_cv_prog_CXXCPP
=$CXXCPP
18491 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18492 echo "${ECHO_T}$CXXCPP" >&6
18493 ac_preproc_ok
=false
18494 for ac_cxx_preproc_warn_flag
in '' yes
18496 # Use a header file that comes with gcc, so configuring glibc
18497 # with a fresh cross-compiler works.
18498 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18499 # <limits.h> exists even on freestanding compilers.
18500 # On the NeXT, cc -E runs the code through the compiler's parser,
18501 # not just through cpp. "Syntax error" is here to catch this case.
18502 cat >conftest.
$ac_ext <<_ACEOF
18505 cat confdefs.h
>>conftest.
$ac_ext
18506 cat >>conftest.
$ac_ext <<_ACEOF
18507 /* end confdefs.h. */
18509 # include <limits.h>
18511 # include <assert.h>
18515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18516 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18518 grep -v '^ *+' conftest.er1
>conftest.err
18520 cat conftest.err
>&5
18521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18522 (exit $ac_status); } >/dev
/null
; then
18523 if test -s conftest.err
; then
18524 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18525 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18532 if test -z "$ac_cpp_err"; then
18535 echo "$as_me: failed program was:" >&5
18536 sed 's/^/| /' conftest.
$ac_ext >&5
18538 # Broken: fails on valid input.
18541 rm -f conftest.err conftest.
$ac_ext
18543 # OK, works on sane cases. Now check whether non-existent headers
18544 # can be detected and how.
18545 cat >conftest.
$ac_ext <<_ACEOF
18548 cat confdefs.h
>>conftest.
$ac_ext
18549 cat >>conftest.
$ac_ext <<_ACEOF
18550 /* end confdefs.h. */
18551 #include <ac_nonexistent.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
18571 # Broken: success on invalid input.
18574 echo "$as_me: failed program was:" >&5
18575 sed 's/^/| /' conftest.
$ac_ext >&5
18577 # Passes both tests.
18581 rm -f conftest.err conftest.
$ac_ext
18584 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18585 rm -f conftest.err conftest.
$ac_ext
18586 if $ac_preproc_ok; then
18589 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18590 See \`config.log' for more details." >&5
18591 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18592 See \`config.log' for more details." >&2;}
18593 { (exit 1); exit 1; }; }
18597 ac_cpp
='$CXXCPP $CPPFLAGS'
18598 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18599 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18600 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18607 ac_cpp
='$CXXCPP $CPPFLAGS'
18608 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18609 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18610 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18614 for ac_header
in iostream
18616 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18618 echo "$as_me:$LINENO: checking for $ac_header" >&5
18619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18621 echo $ECHO_N "(cached) $ECHO_C" >&6
18623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18624 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18626 # Is the header compilable?
18627 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18628 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18629 cat >conftest.
$ac_ext <<_ACEOF
18632 cat confdefs.h
>>conftest.
$ac_ext
18633 cat >>conftest.
$ac_ext <<_ACEOF
18634 /* end confdefs.h. */
18635 $ac_includes_default
18636 #include <$ac_header>
18638 rm -f conftest.
$ac_objext
18639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18640 (eval $ac_compile) 2>conftest.er1
18642 grep -v '^ *+' conftest.er1
>conftest.err
18644 cat conftest.err
>&5
18645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18646 (exit $ac_status); } &&
18647 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18649 (eval $ac_try) 2>&5
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); }; } &&
18653 { ac_try
='test -s conftest.$ac_objext'
18654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18655 (eval $ac_try) 2>&5
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); }; }; then
18659 ac_header_compiler
=yes
18661 echo "$as_me: failed program was:" >&5
18662 sed 's/^/| /' conftest.
$ac_ext >&5
18664 ac_header_compiler
=no
18666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18667 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18668 echo "${ECHO_T}$ac_header_compiler" >&6
18670 # Is the header present?
18671 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18672 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18673 cat >conftest.
$ac_ext <<_ACEOF
18676 cat confdefs.h
>>conftest.
$ac_ext
18677 cat >>conftest.
$ac_ext <<_ACEOF
18678 /* end confdefs.h. */
18679 #include <$ac_header>
18681 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18682 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18684 grep -v '^ *+' conftest.er1
>conftest.err
18686 cat conftest.err
>&5
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); } >/dev
/null
; then
18689 if test -s conftest.err
; then
18690 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18691 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18698 if test -z "$ac_cpp_err"; then
18699 ac_header_preproc
=yes
18701 echo "$as_me: failed program was:" >&5
18702 sed 's/^/| /' conftest.
$ac_ext >&5
18704 ac_header_preproc
=no
18706 rm -f conftest.err conftest.
$ac_ext
18707 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18708 echo "${ECHO_T}$ac_header_preproc" >&6
18710 # So? What about this header?
18711 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18713 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18714 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18715 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18716 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18717 ac_header_preproc
=yes
18720 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18721 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18722 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18723 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18724 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18725 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18726 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18727 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18729 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18730 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18731 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18734 ## ----------------------------------------- ##
18735 ## Report this to wx-dev@lists.wxwidgets.org ##
18736 ## ----------------------------------------- ##
18739 sed "s/^/$as_me: WARNING: /" >&2
18742 echo "$as_me:$LINENO: checking for $ac_header" >&5
18743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18745 echo $ECHO_N "(cached) $ECHO_C" >&6
18747 eval "$as_ac_Header=\$ac_header_preproc"
18749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18750 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18754 cat >>confdefs.h
<<_ACEOF
18755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18763 if test "$ac_cv_header_iostream" = "yes" ; then
18766 cat >>confdefs.h
<<\_ACEOF
18767 #define wxUSE_IOSTREAMH 1
18773 ac_cpp
='$CPP $CPPFLAGS'
18774 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18775 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18776 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18781 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18782 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18783 if test "${wx_cv_cpp_bool+set}" = set; then
18784 echo $ECHO_N "(cached) $ECHO_C" >&6
18790 ac_cpp
='$CXXCPP $CPPFLAGS'
18791 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18792 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18793 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18796 cat >conftest.
$ac_ext <<_ACEOF
18799 cat confdefs.h
>>conftest.
$ac_ext
18800 cat >>conftest.
$ac_ext <<_ACEOF
18801 /* end confdefs.h. */
18816 rm -f conftest.
$ac_objext
18817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18818 (eval $ac_compile) 2>conftest.er1
18820 grep -v '^ *+' conftest.er1
>conftest.err
18822 cat conftest.err
>&5
18823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18824 (exit $ac_status); } &&
18825 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18827 (eval $ac_try) 2>&5
18829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18830 (exit $ac_status); }; } &&
18831 { ac_try
='test -s conftest.$ac_objext'
18832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18833 (eval $ac_try) 2>&5
18835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18836 (exit $ac_status); }; }; then
18841 echo "$as_me: failed program was:" >&5
18842 sed 's/^/| /' conftest.
$ac_ext >&5
18849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18852 ac_cpp
='$CPP $CPPFLAGS'
18853 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18854 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18855 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18859 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18860 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18862 if test "$wx_cv_cpp_bool" = "yes"; then
18863 cat >>confdefs.h
<<\_ACEOF
18864 #define HAVE_BOOL 1
18871 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18872 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18873 if test "${wx_cv_explicit+set}" = set; then
18874 echo $ECHO_N "(cached) $ECHO_C" >&6
18880 ac_cpp
='$CXXCPP $CPPFLAGS'
18881 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18882 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18883 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18886 cat >conftest.
$ac_ext <<_ACEOF
18889 cat confdefs.h
>>conftest.
$ac_ext
18890 cat >>conftest.
$ac_ext <<_ACEOF
18891 /* end confdefs.h. */
18893 class Foo { public: explicit Foo(int) {} };
18905 rm -f conftest.
$ac_objext
18906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18907 (eval $ac_compile) 2>conftest.er1
18909 grep -v '^ *+' conftest.er1
>conftest.err
18911 cat conftest.err
>&5
18912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18913 (exit $ac_status); } &&
18914 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18916 (eval $ac_try) 2>&5
18918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18919 (exit $ac_status); }; } &&
18920 { ac_try
='test -s conftest.$ac_objext'
18921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18922 (eval $ac_try) 2>&5
18924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18925 (exit $ac_status); }; }; then
18927 cat >conftest.
$ac_ext <<_ACEOF
18930 cat confdefs.h
>>conftest.
$ac_ext
18931 cat >>conftest.
$ac_ext <<_ACEOF
18932 /* end confdefs.h. */
18934 class Foo { public: explicit Foo(int) {} };
18935 static void TakeFoo(const Foo& foo) { }
18948 rm -f conftest.
$ac_objext
18949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18950 (eval $ac_compile) 2>conftest.er1
18952 grep -v '^ *+' conftest.er1
>conftest.err
18954 cat conftest.err
>&5
18955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956 (exit $ac_status); } &&
18957 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18959 (eval $ac_try) 2>&5
18961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962 (exit $ac_status); }; } &&
18963 { ac_try
='test -s conftest.$ac_objext'
18964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18965 (eval $ac_try) 2>&5
18967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18968 (exit $ac_status); }; }; then
18971 echo "$as_me: failed program was:" >&5
18972 sed 's/^/| /' conftest.
$ac_ext >&5
18977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18980 echo "$as_me: failed program was:" >&5
18981 sed 's/^/| /' conftest.
$ac_ext >&5
18986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18989 ac_cpp
='$CPP $CPPFLAGS'
18990 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18991 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18992 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18996 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
18997 echo "${ECHO_T}$wx_cv_explicit" >&6
18999 if test "$wx_cv_explicit" = "yes"; then
19000 cat >>confdefs.h
<<\_ACEOF
19001 #define HAVE_EXPLICIT 1
19007 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19008 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19009 if test "${ac_cv_cxx_const_cast+set}" = set; then
19010 echo $ECHO_N "(cached) $ECHO_C" >&6
19015 ac_cpp
='$CXXCPP $CPPFLAGS'
19016 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19017 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19018 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19020 cat >conftest.
$ac_ext <<_ACEOF
19023 cat confdefs.h
>>conftest.
$ac_ext
19024 cat >>conftest.
$ac_ext <<_ACEOF
19025 /* end confdefs.h. */
19030 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19035 rm -f conftest.
$ac_objext
19036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19037 (eval $ac_compile) 2>conftest.er1
19039 grep -v '^ *+' conftest.er1
>conftest.err
19041 cat conftest.err
>&5
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); } &&
19044 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19046 (eval $ac_try) 2>&5
19048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19049 (exit $ac_status); }; } &&
19050 { ac_try
='test -s conftest.$ac_objext'
19051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19052 (eval $ac_try) 2>&5
19054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055 (exit $ac_status); }; }; then
19056 ac_cv_cxx_const_cast
=yes
19058 echo "$as_me: failed program was:" >&5
19059 sed 's/^/| /' conftest.
$ac_ext >&5
19061 ac_cv_cxx_const_cast
=no
19063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19065 ac_cpp
='$CPP $CPPFLAGS'
19066 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19067 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19068 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19072 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19073 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19074 if test "$ac_cv_cxx_const_cast" = yes; then
19076 cat >>confdefs.h
<<\_ACEOF
19077 #define HAVE_CONST_CAST
19082 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19083 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19084 if test "${ac_cv_cxx_static_cast+set}" = set; then
19085 echo $ECHO_N "(cached) $ECHO_C" >&6
19090 ac_cpp
='$CXXCPP $CPPFLAGS'
19091 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19092 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19093 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19095 cat >conftest.
$ac_ext <<_ACEOF
19098 cat confdefs.h
>>conftest.
$ac_ext
19099 cat >>conftest.
$ac_ext <<_ACEOF
19100 /* end confdefs.h. */
19101 #include <typeinfo>
19102 class Base { public : Base () {} virtual void f () = 0; };
19103 class Derived : public Base { public : Derived () {} virtual void f () {} };
19104 int g (Derived&) { return 0; }
19109 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19114 rm -f conftest.
$ac_objext
19115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19116 (eval $ac_compile) 2>conftest.er1
19118 grep -v '^ *+' conftest.er1
>conftest.err
19120 cat conftest.err
>&5
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); } &&
19123 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19125 (eval $ac_try) 2>&5
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); }; } &&
19129 { ac_try
='test -s conftest.$ac_objext'
19130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19131 (eval $ac_try) 2>&5
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); }; }; then
19135 ac_cv_cxx_static_cast
=yes
19137 echo "$as_me: failed program was:" >&5
19138 sed 's/^/| /' conftest.
$ac_ext >&5
19140 ac_cv_cxx_static_cast
=no
19142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19144 ac_cpp
='$CPP $CPPFLAGS'
19145 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19146 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19147 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19151 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19152 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19153 if test "$ac_cv_cxx_static_cast" = yes; then
19155 cat >>confdefs.h
<<\_ACEOF
19156 #define HAVE_STATIC_CAST
19162 if test "$wxUSE_STL" = "yes"; then
19164 ac_cpp
='$CXXCPP $CPPFLAGS'
19165 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19166 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19167 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19170 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19171 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19172 cat >conftest.
$ac_ext <<_ACEOF
19175 cat confdefs.h
>>conftest.
$ac_ext
19176 cat >>conftest.
$ac_ext <<_ACEOF
19177 /* end confdefs.h. */
19179 #include <functional>
19180 #include <algorithm>
19186 std::vector<int> moo;
19187 std::list<int> foo;
19188 std::vector<int>::iterator it =
19189 std::find_if(moo.begin(), moo.end(),
19190 std::bind2nd(std::less<int>(), 3));
19195 rm -f conftest.
$ac_objext
19196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19197 (eval $ac_compile) 2>conftest.er1
19199 grep -v '^ *+' conftest.er1
>conftest.err
19201 cat conftest.err
>&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); } &&
19204 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19206 (eval $ac_try) 2>&5
19208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209 (exit $ac_status); }; } &&
19210 { ac_try
='test -s conftest.$ac_objext'
19211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19212 (eval $ac_try) 2>&5
19214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19215 (exit $ac_status); }; }; then
19216 echo "$as_me:$LINENO: result: yes" >&5
19217 echo "${ECHO_T}yes" >&6
19219 echo "$as_me: failed program was:" >&5
19220 sed 's/^/| /' conftest.
$ac_ext >&5
19222 echo "$as_me:$LINENO: result: no" >&5
19223 echo "${ECHO_T}no" >&6
19224 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19225 echo "$as_me: error: Basic STL functionality missing" >&2;}
19226 { (exit 1); exit 1; }; }
19228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19230 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19231 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19232 cat >conftest.
$ac_ext <<_ACEOF
19235 cat confdefs.h
>>conftest.
$ac_ext
19236 cat >>conftest.
$ac_ext <<_ACEOF
19237 /* end confdefs.h. */
19247 rm -f conftest.
$ac_objext
19248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19249 (eval $ac_compile) 2>conftest.er1
19251 grep -v '^ *+' conftest.er1
>conftest.err
19253 cat conftest.err
>&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); } &&
19256 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19258 (eval $ac_try) 2>&5
19260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19261 (exit $ac_status); }; } &&
19262 { ac_try
='test -s conftest.$ac_objext'
19263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19264 (eval $ac_try) 2>&5
19266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267 (exit $ac_status); }; }; then
19268 echo "$as_me:$LINENO: result: yes" >&5
19269 echo "${ECHO_T}yes" >&6
19270 cat >>confdefs.h
<<\_ACEOF
19271 #define HAVE_STD_WSTRING 1
19275 echo "$as_me: failed program was:" >&5
19276 sed 's/^/| /' conftest.
$ac_ext >&5
19278 echo "$as_me:$LINENO: result: no" >&5
19279 echo "${ECHO_T}no" >&6
19281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19283 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19284 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19285 cat >conftest.
$ac_ext <<_ACEOF
19288 cat confdefs.h
>>conftest.
$ac_ext
19289 cat >>conftest.
$ac_ext <<_ACEOF
19290 /* end confdefs.h. */
19295 std::string foo, bar;
19297 foo.compare(1, 1, bar);
19298 foo.compare(1, 1, bar, 1, 1);
19300 foo.compare(1, 1, "");
19301 foo.compare(1, 1, "", 2);
19306 rm -f conftest.
$ac_objext
19307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19308 (eval $ac_compile) 2>conftest.er1
19310 grep -v '^ *+' conftest.er1
>conftest.err
19312 cat conftest.err
>&5
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); } &&
19315 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19317 (eval $ac_try) 2>&5
19319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19320 (exit $ac_status); }; } &&
19321 { ac_try
='test -s conftest.$ac_objext'
19322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19323 (eval $ac_try) 2>&5
19325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326 (exit $ac_status); }; }; then
19327 echo "$as_me:$LINENO: result: yes" >&5
19328 echo "${ECHO_T}yes" >&6
19329 cat >>confdefs.h
<<\_ACEOF
19330 #define HAVE_STD_STRING_COMPARE 1
19334 echo "$as_me: failed program was:" >&5
19335 sed 's/^/| /' conftest.
$ac_ext >&5
19337 echo "$as_me:$LINENO: result: no" >&5
19338 echo "${ECHO_T}no" >&6
19340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19342 if test "${ac_cv_header_hash_map+set}" = set; then
19343 echo "$as_me:$LINENO: checking for hash_map" >&5
19344 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19345 if test "${ac_cv_header_hash_map+set}" = set; then
19346 echo $ECHO_N "(cached) $ECHO_C" >&6
19348 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19349 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19351 # Is the header compilable?
19352 echo "$as_me:$LINENO: checking hash_map usability" >&5
19353 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19354 cat >conftest.
$ac_ext <<_ACEOF
19357 cat confdefs.h
>>conftest.
$ac_ext
19358 cat >>conftest.
$ac_ext <<_ACEOF
19359 /* end confdefs.h. */
19360 $ac_includes_default
19361 #include <hash_map>
19363 rm -f conftest.
$ac_objext
19364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19365 (eval $ac_compile) 2>conftest.er1
19367 grep -v '^ *+' conftest.er1
>conftest.err
19369 cat conftest.err
>&5
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); } &&
19372 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19374 (eval $ac_try) 2>&5
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); }; } &&
19378 { ac_try
='test -s conftest.$ac_objext'
19379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19380 (eval $ac_try) 2>&5
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); }; }; then
19384 ac_header_compiler
=yes
19386 echo "$as_me: failed program was:" >&5
19387 sed 's/^/| /' conftest.
$ac_ext >&5
19389 ac_header_compiler
=no
19391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19392 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19393 echo "${ECHO_T}$ac_header_compiler" >&6
19395 # Is the header present?
19396 echo "$as_me:$LINENO: checking hash_map presence" >&5
19397 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19398 cat >conftest.
$ac_ext <<_ACEOF
19401 cat confdefs.h
>>conftest.
$ac_ext
19402 cat >>conftest.
$ac_ext <<_ACEOF
19403 /* end confdefs.h. */
19404 #include <hash_map>
19406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19407 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19409 grep -v '^ *+' conftest.er1
>conftest.err
19411 cat conftest.err
>&5
19412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19413 (exit $ac_status); } >/dev
/null
; then
19414 if test -s conftest.err
; then
19415 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19416 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19423 if test -z "$ac_cpp_err"; then
19424 ac_header_preproc
=yes
19426 echo "$as_me: failed program was:" >&5
19427 sed 's/^/| /' conftest.
$ac_ext >&5
19429 ac_header_preproc
=no
19431 rm -f conftest.err conftest.
$ac_ext
19432 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19433 echo "${ECHO_T}$ac_header_preproc" >&6
19435 # So? What about this header?
19436 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19438 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19439 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19440 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19441 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19442 ac_header_preproc
=yes
19445 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19446 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19447 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19448 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19449 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19450 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19451 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19452 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19453 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19454 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19455 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19456 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19459 ## ----------------------------------------- ##
19460 ## Report this to wx-dev@lists.wxwidgets.org ##
19461 ## ----------------------------------------- ##
19464 sed "s/^/$as_me: WARNING: /" >&2
19467 echo "$as_me:$LINENO: checking for hash_map" >&5
19468 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19469 if test "${ac_cv_header_hash_map+set}" = set; then
19470 echo $ECHO_N "(cached) $ECHO_C" >&6
19472 ac_cv_header_hash_map
=$ac_header_preproc
19474 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19475 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19478 if test $ac_cv_header_hash_map = yes; then
19479 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19480 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19481 cat >conftest.
$ac_ext <<_ACEOF
19484 cat confdefs.h
>>conftest.
$ac_ext
19485 cat >>conftest.
$ac_ext <<_ACEOF
19486 /* end confdefs.h. */
19487 #include <hash_map>
19488 #include <hash_set>
19492 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19493 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19498 rm -f conftest.
$ac_objext
19499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19500 (eval $ac_compile) 2>conftest.er1
19502 grep -v '^ *+' conftest.er1
>conftest.err
19504 cat conftest.err
>&5
19505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19506 (exit $ac_status); } &&
19507 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19509 (eval $ac_try) 2>&5
19511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19512 (exit $ac_status); }; } &&
19513 { ac_try
='test -s conftest.$ac_objext'
19514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19515 (eval $ac_try) 2>&5
19517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518 (exit $ac_status); }; }; then
19519 echo "$as_me:$LINENO: result: yes" >&5
19520 echo "${ECHO_T}yes" >&6
19521 cat >>confdefs.h
<<\_ACEOF
19522 #define HAVE_HASH_MAP 1
19525 cat >>confdefs.h
<<\_ACEOF
19526 #define HAVE_STD_HASH_MAP 1
19530 echo "$as_me: failed program was:" >&5
19531 sed 's/^/| /' conftest.
$ac_ext >&5
19533 echo "$as_me:$LINENO: result: no" >&5
19534 echo "${ECHO_T}no" >&6
19536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19542 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19543 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19544 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19545 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19546 echo $ECHO_N "(cached) $ECHO_C" >&6
19548 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19549 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19551 # Is the header compilable?
19552 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19553 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19554 cat >conftest.
$ac_ext <<_ACEOF
19557 cat confdefs.h
>>conftest.
$ac_ext
19558 cat >>conftest.
$ac_ext <<_ACEOF
19559 /* end confdefs.h. */
19560 $ac_includes_default
19561 #include <ext/hash_map>
19563 rm -f conftest.
$ac_objext
19564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19565 (eval $ac_compile) 2>conftest.er1
19567 grep -v '^ *+' conftest.er1
>conftest.err
19569 cat conftest.err
>&5
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); } &&
19572 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19574 (eval $ac_try) 2>&5
19576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19577 (exit $ac_status); }; } &&
19578 { ac_try
='test -s conftest.$ac_objext'
19579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19580 (eval $ac_try) 2>&5
19582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19583 (exit $ac_status); }; }; then
19584 ac_header_compiler
=yes
19586 echo "$as_me: failed program was:" >&5
19587 sed 's/^/| /' conftest.
$ac_ext >&5
19589 ac_header_compiler
=no
19591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19593 echo "${ECHO_T}$ac_header_compiler" >&6
19595 # Is the header present?
19596 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
19597 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
19598 cat >conftest.
$ac_ext <<_ACEOF
19601 cat confdefs.h
>>conftest.
$ac_ext
19602 cat >>conftest.
$ac_ext <<_ACEOF
19603 /* end confdefs.h. */
19604 #include <ext/hash_map>
19606 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19607 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19609 grep -v '^ *+' conftest.er1
>conftest.err
19611 cat conftest.err
>&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); } >/dev
/null
; then
19614 if test -s conftest.err
; then
19615 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19616 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19623 if test -z "$ac_cpp_err"; then
19624 ac_header_preproc
=yes
19626 echo "$as_me: failed program was:" >&5
19627 sed 's/^/| /' conftest.
$ac_ext >&5
19629 ac_header_preproc
=no
19631 rm -f conftest.err conftest.
$ac_ext
19632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19633 echo "${ECHO_T}$ac_header_preproc" >&6
19635 # So? What about this header?
19636 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19638 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19639 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19640 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
19641 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
19642 ac_header_preproc
=yes
19645 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
19646 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
19647 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
19648 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
19649 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
19650 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
19651 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
19652 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19653 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
19654 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
19655 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
19656 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
19659 ## ----------------------------------------- ##
19660 ## Report this to wx-dev@lists.wxwidgets.org ##
19661 ## ----------------------------------------- ##
19664 sed "s/^/$as_me: WARNING: /" >&2
19667 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19668 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19669 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19670 echo $ECHO_N "(cached) $ECHO_C" >&6
19672 ac_cv_header_ext_hash_map
=$ac_header_preproc
19674 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19675 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19678 if test $ac_cv_header_ext_hash_map = yes; then
19679 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19680 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19681 cat >conftest.
$ac_ext <<_ACEOF
19684 cat confdefs.h
>>conftest.
$ac_ext
19685 cat >>conftest.
$ac_ext <<_ACEOF
19686 /* end confdefs.h. */
19687 #include <ext/hash_map>
19688 #include <ext/hash_set>
19692 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
19693 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
19698 rm -f conftest.
$ac_objext
19699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19700 (eval $ac_compile) 2>conftest.er1
19702 grep -v '^ *+' conftest.er1
>conftest.err
19704 cat conftest.err
>&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); } &&
19707 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19709 (eval $ac_try) 2>&5
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); }; } &&
19713 { ac_try
='test -s conftest.$ac_objext'
19714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19715 (eval $ac_try) 2>&5
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); }; }; then
19719 echo "$as_me:$LINENO: result: yes" >&5
19720 echo "${ECHO_T}yes" >&6
19721 cat >>confdefs.h
<<\_ACEOF
19722 #define HAVE_EXT_HASH_MAP 1
19725 cat >>confdefs.h
<<\_ACEOF
19726 #define HAVE_GNU_CXX_HASH_MAP 1
19730 echo "$as_me: failed program was:" >&5
19731 sed 's/^/| /' conftest.
$ac_ext >&5
19733 echo "$as_me:$LINENO: result: no" >&5
19734 echo "${ECHO_T}no" >&6
19736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19743 ac_cpp
='$CPP $CPPFLAGS'
19744 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19745 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19746 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19752 /usr/local/include \
19754 /usr/Motif-2.1/include \
19755 /usr/Motif-1.2/include \
19756 /usr/include/Motif1.2 \
19757 /opt/xpm/include/X11 \
19758 /opt/GBxpm/include/ \
19759 /opt/GBxpm/X11/include/ \
19762 /usr/openwin/include \
19766 /usr/X11R6/include \
19767 /usr/X11R6.4/include \
19768 /usr/X11R5/include \
19769 /usr/X11R4/include \
19771 /usr/include/X11R6 \
19772 /usr/include/X11R5 \
19773 /usr/include/X11R4 \
19775 /usr/local/X11R6/include \
19776 /usr/local/X11R5/include \
19777 /usr/local/X11R4/include \
19779 /usr/local/include/X11R6 \
19780 /usr/local/include/X11R5 \
19781 /usr/local/include/X11R4 \
19785 /usr/local/X11/include \
19786 /usr/local/include/X11 \
19788 /usr/X386/include \
19789 /usr/x386/include \
19790 /usr/XFree86/include/X11 \
19792 X:/XFree86/include \
19793 X:/XFree86/include/X11 \
19796 /usr/local/include/gtk \
19797 /usr/include/glib \
19798 /usr/local/include/glib \
19801 /usr/local/include/qt \
19803 /usr/local/arm/3.3.2/include \
19805 /usr/include/windows \
19806 /usr/include/wine \
19807 /usr/local/include/wine \
19809 /usr/unsupported/include \
19810 /usr/athena/include \
19811 /usr/local/x11r5/include \
19812 /usr/lpp/Xamples/include \
19814 /usr/openwin/share/include"
19816 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19819 cat >confcache
<<\_ACEOF
19820 # This file is a shell script that caches the results of configure
19821 # tests run on this system so they can be shared between configure
19822 # scripts and configure runs, see configure's option --config-cache.
19823 # It is not useful on other systems. If it contains results you don't
19824 # want to keep, you may remove or edit it.
19826 # config.status only pays attention to the cache file if you give it
19827 # the --recheck option to rerun configure.
19829 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19830 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19831 # following values.
19835 # The following way of writing the cache mishandles newlines in values,
19836 # but we know of no workaround that is simple, portable, and efficient.
19837 # So, don't put newlines in cache variables' values.
19838 # Ultrix sh set writes to stderr and can't be redirected directly,
19839 # and sets the high bit in the cache file unless we assign to the vars.
19842 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19844 # `set' does not quote correctly, so add quotes (double-quote
19845 # substitution turns \\\\ into \\, and sed turns \\ into \).
19848 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19851 # `set' quotes correctly as required by POSIX, so do not add quotes.
19853 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19860 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19862 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19864 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19865 if test -w $cache_file; then
19866 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19867 cat confcache
>$cache_file
19869 echo "not updating unwritable cache $cache_file"
19874 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19875 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
19876 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
19877 if test "${wx_cv_lib_glibc21+set}" = set; then
19878 echo $ECHO_N "(cached) $ECHO_C" >&6
19881 cat >conftest.
$ac_ext <<_ACEOF
19884 cat confdefs.h
>>conftest.
$ac_ext
19885 cat >>conftest.
$ac_ext <<_ACEOF
19886 /* end confdefs.h. */
19887 #include <features.h>
19892 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
19893 #error not glibc2.1
19900 rm -f conftest.
$ac_objext
19901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19902 (eval $ac_compile) 2>conftest.er1
19904 grep -v '^ *+' conftest.er1
>conftest.err
19906 cat conftest.err
>&5
19907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19908 (exit $ac_status); } &&
19909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19911 (eval $ac_try) 2>&5
19913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19914 (exit $ac_status); }; } &&
19915 { ac_try
='test -s conftest.$ac_objext'
19916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19917 (eval $ac_try) 2>&5
19919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920 (exit $ac_status); }; }; then
19922 wx_cv_lib_glibc21
=yes
19925 echo "$as_me: failed program was:" >&5
19926 sed 's/^/| /' conftest.
$ac_ext >&5
19929 wx_cv_lib_glibc21
=no
19933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19936 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
19937 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
19938 if test "$wx_cv_lib_glibc21" = "yes"; then
19939 cat >>confdefs.h
<<\_ACEOF
19940 #define wxHAVE_GLIBC2 1
19946 if test "x$wx_cv_lib_glibc21" = "xyes"; then
19947 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
19948 cat >>confdefs.h
<<\_ACEOF
19949 #define _GNU_SOURCE 1
19957 if test "$wxUSE_REGEX" != "no"; then
19958 cat >>confdefs.h
<<\_ACEOF
19959 #define wxUSE_REGEX 1
19963 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
19964 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
19965 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
19966 wxUSE_REGEX
=builtin
19969 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
19970 if test "${ac_cv_header_regex_h+set}" = set; then
19971 echo "$as_me:$LINENO: checking for regex.h" >&5
19972 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19973 if test "${ac_cv_header_regex_h+set}" = set; then
19974 echo $ECHO_N "(cached) $ECHO_C" >&6
19976 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19977 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19979 # Is the header compilable?
19980 echo "$as_me:$LINENO: checking regex.h usability" >&5
19981 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
19982 cat >conftest.
$ac_ext <<_ACEOF
19985 cat confdefs.h
>>conftest.
$ac_ext
19986 cat >>conftest.
$ac_ext <<_ACEOF
19987 /* end confdefs.h. */
19988 $ac_includes_default
19991 rm -f conftest.
$ac_objext
19992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19993 (eval $ac_compile) 2>conftest.er1
19995 grep -v '^ *+' conftest.er1
>conftest.err
19997 cat conftest.err
>&5
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); } &&
20000 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20002 (eval $ac_try) 2>&5
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); }; } &&
20006 { ac_try
='test -s conftest.$ac_objext'
20007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20008 (eval $ac_try) 2>&5
20010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20011 (exit $ac_status); }; }; then
20012 ac_header_compiler
=yes
20014 echo "$as_me: failed program was:" >&5
20015 sed 's/^/| /' conftest.
$ac_ext >&5
20017 ac_header_compiler
=no
20019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20020 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20021 echo "${ECHO_T}$ac_header_compiler" >&6
20023 # Is the header present?
20024 echo "$as_me:$LINENO: checking regex.h presence" >&5
20025 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20026 cat >conftest.
$ac_ext <<_ACEOF
20029 cat confdefs.h
>>conftest.
$ac_ext
20030 cat >>conftest.
$ac_ext <<_ACEOF
20031 /* end confdefs.h. */
20034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20035 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20037 grep -v '^ *+' conftest.er1
>conftest.err
20039 cat conftest.err
>&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); } >/dev
/null
; then
20042 if test -s conftest.err
; then
20043 ac_cpp_err
=$ac_c_preproc_warn_flag
20044 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20051 if test -z "$ac_cpp_err"; then
20052 ac_header_preproc
=yes
20054 echo "$as_me: failed program was:" >&5
20055 sed 's/^/| /' conftest.
$ac_ext >&5
20057 ac_header_preproc
=no
20059 rm -f conftest.err conftest.
$ac_ext
20060 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20061 echo "${ECHO_T}$ac_header_preproc" >&6
20063 # So? What about this header?
20064 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20066 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20067 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20068 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20069 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20070 ac_header_preproc
=yes
20073 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20074 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20075 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20076 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20077 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20078 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20079 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20080 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20081 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20082 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20083 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20084 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20087 ## ----------------------------------------- ##
20088 ## Report this to wx-dev@lists.wxwidgets.org ##
20089 ## ----------------------------------------- ##
20092 sed "s/^/$as_me: WARNING: /" >&2
20095 echo "$as_me:$LINENO: checking for regex.h" >&5
20096 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20097 if test "${ac_cv_header_regex_h+set}" = set; then
20098 echo $ECHO_N "(cached) $ECHO_C" >&6
20100 ac_cv_header_regex_h
=$ac_header_preproc
20102 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20103 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20106 if test $ac_cv_header_regex_h = yes; then
20108 for ac_func
in regcomp
20110 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20111 echo "$as_me:$LINENO: checking for $ac_func" >&5
20112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20113 if eval "test \"\${$as_ac_var+set}\" = set"; then
20114 echo $ECHO_N "(cached) $ECHO_C" >&6
20116 cat >conftest.
$ac_ext <<_ACEOF
20119 cat confdefs.h
>>conftest.
$ac_ext
20120 cat >>conftest.
$ac_ext <<_ACEOF
20121 /* end confdefs.h. */
20122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20124 #define $ac_func innocuous_$ac_func
20126 /* System header to define __stub macros and hopefully few prototypes,
20127 which can conflict with char $ac_func (); below.
20128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20129 <limits.h> exists even on freestanding compilers. */
20132 # include <limits.h>
20134 # include <assert.h>
20139 /* Override any gcc2 internal prototype to avoid an error. */
20144 /* We use char because int might match the return type of a gcc2
20145 builtin and then its argument prototype would still apply. */
20147 /* The GNU C library defines this for functions which it implements
20148 to always fail with ENOSYS. Some functions are actually named
20149 something starting with __ and the normal name is an alias. */
20150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20153 char (*f) () = $ac_func;
20162 return f != $ac_func;
20167 rm -f conftest.
$ac_objext conftest
$ac_exeext
20168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20169 (eval $ac_link) 2>conftest.er1
20171 grep -v '^ *+' conftest.er1
>conftest.err
20173 cat conftest.err
>&5
20174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20175 (exit $ac_status); } &&
20176 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20178 (eval $ac_try) 2>&5
20180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20181 (exit $ac_status); }; } &&
20182 { ac_try
='test -s conftest$ac_exeext'
20183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20184 (eval $ac_try) 2>&5
20186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187 (exit $ac_status); }; }; then
20188 eval "$as_ac_var=yes"
20190 echo "$as_me: failed program was:" >&5
20191 sed 's/^/| /' conftest.
$ac_ext >&5
20193 eval "$as_ac_var=no"
20195 rm -f conftest.err conftest.
$ac_objext \
20196 conftest
$ac_exeext conftest.
$ac_ext
20198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20200 if test `eval echo '${'$as_ac_var'}'` = yes; then
20201 cat >>confdefs.h
<<_ACEOF
20202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20212 if test "x$ac_cv_func_regcomp" != "xyes"; then
20213 if test "$wxUSE_REGEX" = "sys" ; then
20214 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20215 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20216 { (exit 1); exit 1; }; }
20218 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20219 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20220 wxUSE_REGEX
=builtin
20224 cat >>confdefs.h
<<\_ACEOF
20225 #define WX_NO_REGEX_ADVANCED 1
20234 if test "$wxUSE_ZLIB" != "no" ; then
20235 cat >>confdefs.h
<<\_ACEOF
20236 #define wxUSE_ZLIB 1
20240 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20241 if test "$USE_DARWIN" = 1; then
20242 system_zlib_h_ok
="yes"
20244 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20245 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20246 if test "${ac_cv_header_zlib_h+set}" = set; then
20247 echo $ECHO_N "(cached) $ECHO_C" >&6
20249 if test "$cross_compiling" = yes; then
20250 unset ac_cv_header_zlib_h
20253 cat >conftest.
$ac_ext <<_ACEOF
20256 cat confdefs.h
>>conftest.
$ac_ext
20257 cat >>conftest.
$ac_ext <<_ACEOF
20258 /* end confdefs.h. */
20265 FILE *f=fopen("conftestval", "w");
20268 ZLIB_VERSION[0] == '1' &&
20269 (ZLIB_VERSION[2] > '1' ||
20270 (ZLIB_VERSION[2] == '1' &&
20271 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20276 rm -f conftest
$ac_exeext
20277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20278 (eval $ac_link) 2>&5
20280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20283 (eval $ac_try) 2>&5
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); }; }; then
20287 ac_cv_header_zlib_h
=`cat conftestval`
20289 echo "$as_me: program exited with status $ac_status" >&5
20290 echo "$as_me: failed program was:" >&5
20291 sed 's/^/| /' conftest.
$ac_ext >&5
20293 ( exit $ac_status )
20294 ac_cv_header_zlib_h
=no
20296 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20300 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20301 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20302 if test "${ac_cv_header_zlib_h+set}" = set; then
20303 echo "$as_me:$LINENO: checking for zlib.h" >&5
20304 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20305 if test "${ac_cv_header_zlib_h+set}" = set; then
20306 echo $ECHO_N "(cached) $ECHO_C" >&6
20308 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20309 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20311 # Is the header compilable?
20312 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20313 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20314 cat >conftest.
$ac_ext <<_ACEOF
20317 cat confdefs.h
>>conftest.
$ac_ext
20318 cat >>conftest.
$ac_ext <<_ACEOF
20319 /* end confdefs.h. */
20320 $ac_includes_default
20323 rm -f conftest.
$ac_objext
20324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20325 (eval $ac_compile) 2>conftest.er1
20327 grep -v '^ *+' conftest.er1
>conftest.err
20329 cat conftest.err
>&5
20330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20331 (exit $ac_status); } &&
20332 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20334 (eval $ac_try) 2>&5
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); }; } &&
20338 { ac_try
='test -s conftest.$ac_objext'
20339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20340 (eval $ac_try) 2>&5
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); }; }; then
20344 ac_header_compiler
=yes
20346 echo "$as_me: failed program was:" >&5
20347 sed 's/^/| /' conftest.
$ac_ext >&5
20349 ac_header_compiler
=no
20351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20352 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20353 echo "${ECHO_T}$ac_header_compiler" >&6
20355 # Is the header present?
20356 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20357 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20358 cat >conftest.
$ac_ext <<_ACEOF
20361 cat confdefs.h
>>conftest.
$ac_ext
20362 cat >>conftest.
$ac_ext <<_ACEOF
20363 /* end confdefs.h. */
20366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20367 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20369 grep -v '^ *+' conftest.er1
>conftest.err
20371 cat conftest.err
>&5
20372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20373 (exit $ac_status); } >/dev
/null
; then
20374 if test -s conftest.err
; then
20375 ac_cpp_err
=$ac_c_preproc_warn_flag
20376 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20383 if test -z "$ac_cpp_err"; then
20384 ac_header_preproc
=yes
20386 echo "$as_me: failed program was:" >&5
20387 sed 's/^/| /' conftest.
$ac_ext >&5
20389 ac_header_preproc
=no
20391 rm -f conftest.err conftest.
$ac_ext
20392 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20393 echo "${ECHO_T}$ac_header_preproc" >&6
20395 # So? What about this header?
20396 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20398 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20399 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20400 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20401 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20402 ac_header_preproc
=yes
20405 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20406 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20407 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20408 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20409 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20410 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20411 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20412 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20413 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20414 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20415 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20416 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20419 ## ----------------------------------------- ##
20420 ## Report this to wx-dev@lists.wxwidgets.org ##
20421 ## ----------------------------------------- ##
20424 sed "s/^/$as_me: WARNING: /" >&2
20427 echo "$as_me:$LINENO: checking for zlib.h" >&5
20428 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20429 if test "${ac_cv_header_zlib_h+set}" = set; then
20430 echo $ECHO_N "(cached) $ECHO_C" >&6
20432 ac_cv_header_zlib_h
=$ac_header_preproc
20434 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20435 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20441 system_zlib_h_ok
=$ac_cv_header_zlib_h
20444 if test "$system_zlib_h_ok" = "yes"; then
20445 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20446 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20447 if test "${ac_cv_lib_z_deflate+set}" = set; then
20448 echo $ECHO_N "(cached) $ECHO_C" >&6
20450 ac_check_lib_save_LIBS
=$LIBS
20452 cat >conftest.
$ac_ext <<_ACEOF
20455 cat confdefs.h
>>conftest.
$ac_ext
20456 cat >>conftest.
$ac_ext <<_ACEOF
20457 /* end confdefs.h. */
20459 /* Override any gcc2 internal prototype to avoid an error. */
20463 /* We use char because int might match the return type of a gcc2
20464 builtin and then its argument prototype would still apply. */
20474 rm -f conftest.
$ac_objext conftest
$ac_exeext
20475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20476 (eval $ac_link) 2>conftest.er1
20478 grep -v '^ *+' conftest.er1
>conftest.err
20480 cat conftest.err
>&5
20481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482 (exit $ac_status); } &&
20483 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20485 (eval $ac_try) 2>&5
20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 (exit $ac_status); }; } &&
20489 { ac_try
='test -s conftest$ac_exeext'
20490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20491 (eval $ac_try) 2>&5
20493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20494 (exit $ac_status); }; }; then
20495 ac_cv_lib_z_deflate
=yes
20497 echo "$as_me: failed program was:" >&5
20498 sed 's/^/| /' conftest.
$ac_ext >&5
20500 ac_cv_lib_z_deflate
=no
20502 rm -f conftest.err conftest.
$ac_objext \
20503 conftest
$ac_exeext conftest.
$ac_ext
20504 LIBS
=$ac_check_lib_save_LIBS
20506 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20507 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20508 if test $ac_cv_lib_z_deflate = yes; then
20514 if test "x$ZLIB_LINK" = "x" ; then
20515 if test "$wxUSE_ZLIB" = "sys" ; then
20516 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20517 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20518 { (exit 1); exit 1; }; }
20520 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20521 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20532 if test "$wxUSE_LIBPNG" != "no" ; then
20533 cat >>confdefs.h
<<\_ACEOF
20534 #define wxUSE_LIBPNG 1
20538 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20539 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20540 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20544 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20545 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20546 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20547 wxUSE_LIBPNG
=builtin
20550 if test "$wxUSE_MGL" != 1 ; then
20551 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20552 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20553 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20554 if test "${ac_cv_header_png_h+set}" = set; then
20555 echo $ECHO_N "(cached) $ECHO_C" >&6
20557 if test "$cross_compiling" = yes; then
20558 unset ac_cv_header_png_h
20561 cat >conftest.
$ac_ext <<_ACEOF
20564 cat confdefs.h
>>conftest.
$ac_ext
20565 cat >>conftest.
$ac_ext <<_ACEOF
20566 /* end confdefs.h. */
20573 FILE *f=fopen("conftestval", "w");
20576 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20581 rm -f conftest
$ac_exeext
20582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20583 (eval $ac_link) 2>&5
20585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20586 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20588 (eval $ac_try) 2>&5
20590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591 (exit $ac_status); }; }; then
20592 ac_cv_header_png_h
=`cat conftestval`
20594 echo "$as_me: program exited with status $ac_status" >&5
20595 echo "$as_me: failed program was:" >&5
20596 sed 's/^/| /' conftest.
$ac_ext >&5
20598 ( exit $ac_status )
20599 ac_cv_header_png_h
=no
20601 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20605 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20606 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20607 if test "${ac_cv_header_png_h+set}" = set; then
20608 echo "$as_me:$LINENO: checking for png.h" >&5
20609 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20610 if test "${ac_cv_header_png_h+set}" = set; then
20611 echo $ECHO_N "(cached) $ECHO_C" >&6
20613 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20614 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20616 # Is the header compilable?
20617 echo "$as_me:$LINENO: checking png.h usability" >&5
20618 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20619 cat >conftest.
$ac_ext <<_ACEOF
20622 cat confdefs.h
>>conftest.
$ac_ext
20623 cat >>conftest.
$ac_ext <<_ACEOF
20624 /* end confdefs.h. */
20625 $ac_includes_default
20628 rm -f conftest.
$ac_objext
20629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20630 (eval $ac_compile) 2>conftest.er1
20632 grep -v '^ *+' conftest.er1
>conftest.err
20634 cat conftest.err
>&5
20635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20636 (exit $ac_status); } &&
20637 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20639 (eval $ac_try) 2>&5
20641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20642 (exit $ac_status); }; } &&
20643 { ac_try
='test -s conftest.$ac_objext'
20644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20645 (eval $ac_try) 2>&5
20647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20648 (exit $ac_status); }; }; then
20649 ac_header_compiler
=yes
20651 echo "$as_me: failed program was:" >&5
20652 sed 's/^/| /' conftest.
$ac_ext >&5
20654 ac_header_compiler
=no
20656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20657 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20658 echo "${ECHO_T}$ac_header_compiler" >&6
20660 # Is the header present?
20661 echo "$as_me:$LINENO: checking png.h presence" >&5
20662 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20663 cat >conftest.
$ac_ext <<_ACEOF
20666 cat confdefs.h
>>conftest.
$ac_ext
20667 cat >>conftest.
$ac_ext <<_ACEOF
20668 /* end confdefs.h. */
20671 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20672 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20674 grep -v '^ *+' conftest.er1
>conftest.err
20676 cat conftest.err
>&5
20677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20678 (exit $ac_status); } >/dev
/null
; then
20679 if test -s conftest.err
; then
20680 ac_cpp_err
=$ac_c_preproc_warn_flag
20681 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20688 if test -z "$ac_cpp_err"; then
20689 ac_header_preproc
=yes
20691 echo "$as_me: failed program was:" >&5
20692 sed 's/^/| /' conftest.
$ac_ext >&5
20694 ac_header_preproc
=no
20696 rm -f conftest.err conftest.
$ac_ext
20697 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20698 echo "${ECHO_T}$ac_header_preproc" >&6
20700 # So? What about this header?
20701 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20703 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20704 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20705 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20706 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20707 ac_header_preproc
=yes
20710 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20711 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20712 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20713 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20714 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20715 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20716 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20717 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20718 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20719 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20720 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20721 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20724 ## ----------------------------------------- ##
20725 ## Report this to wx-dev@lists.wxwidgets.org ##
20726 ## ----------------------------------------- ##
20729 sed "s/^/$as_me: WARNING: /" >&2
20732 echo "$as_me:$LINENO: checking for png.h" >&5
20733 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20734 if test "${ac_cv_header_png_h+set}" = set; then
20735 echo $ECHO_N "(cached) $ECHO_C" >&6
20737 ac_cv_header_png_h
=$ac_header_preproc
20739 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20740 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20746 if test "$ac_cv_header_png_h" = "yes"; then
20747 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20748 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20749 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20750 echo $ECHO_N "(cached) $ECHO_C" >&6
20752 ac_check_lib_save_LIBS
=$LIBS
20753 LIBS
="-lpng -lz -lm $LIBS"
20754 cat >conftest.
$ac_ext <<_ACEOF
20757 cat confdefs.h
>>conftest.
$ac_ext
20758 cat >>conftest.
$ac_ext <<_ACEOF
20759 /* end confdefs.h. */
20761 /* Override any gcc2 internal prototype to avoid an error. */
20765 /* We use char because int might match the return type of a gcc2
20766 builtin and then its argument prototype would still apply. */
20767 char png_check_sig ();
20776 rm -f conftest.
$ac_objext conftest
$ac_exeext
20777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20778 (eval $ac_link) 2>conftest.er1
20780 grep -v '^ *+' conftest.er1
>conftest.err
20782 cat conftest.err
>&5
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 (exit $ac_status); } &&
20785 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20787 (eval $ac_try) 2>&5
20789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20790 (exit $ac_status); }; } &&
20791 { ac_try
='test -s conftest$ac_exeext'
20792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20793 (eval $ac_try) 2>&5
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); }; }; then
20797 ac_cv_lib_png_png_check_sig
=yes
20799 echo "$as_me: failed program was:" >&5
20800 sed 's/^/| /' conftest.
$ac_ext >&5
20802 ac_cv_lib_png_png_check_sig
=no
20804 rm -f conftest.err conftest.
$ac_objext \
20805 conftest
$ac_exeext conftest.
$ac_ext
20806 LIBS
=$ac_check_lib_save_LIBS
20808 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20809 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20810 if test $ac_cv_lib_png_png_check_sig = yes; then
20811 PNG_LINK
=" -lpng -lz"
20816 if test "x$PNG_LINK" = "x" ; then
20817 if test "$wxUSE_LIBPNG" = "sys" ; then
20818 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20819 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20820 { (exit 1); exit 1; }; }
20822 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20823 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20824 wxUSE_LIBPNG
=builtin
20832 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
20837 if test "$wxUSE_LIBJPEG" != "no" ; then
20838 cat >>confdefs.h
<<\_ACEOF
20839 #define wxUSE_LIBJPEG 1
20843 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20844 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20845 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20849 if test "$wxUSE_MGL" != 1 ; then
20850 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20851 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20852 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20853 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20854 echo $ECHO_N "(cached) $ECHO_C" >&6
20856 cat >conftest.
$ac_ext <<_ACEOF
20859 cat confdefs.h
>>conftest.
$ac_ext
20860 cat >>conftest.
$ac_ext <<_ACEOF
20861 /* end confdefs.h. */
20863 #undef HAVE_STDLIB_H
20865 #include <jpeglib.h>
20876 rm -f conftest.
$ac_objext
20877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20878 (eval $ac_compile) 2>conftest.er1
20880 grep -v '^ *+' conftest.er1
>conftest.err
20882 cat conftest.err
>&5
20883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20884 (exit $ac_status); } &&
20885 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20887 (eval $ac_try) 2>&5
20889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20890 (exit $ac_status); }; } &&
20891 { ac_try
='test -s conftest.$ac_objext'
20892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20893 (eval $ac_try) 2>&5
20895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20896 (exit $ac_status); }; }; then
20897 ac_cv_header_jpeglib_h
=yes
20899 echo "$as_me: failed program was:" >&5
20900 sed 's/^/| /' conftest.
$ac_ext >&5
20902 ac_cv_header_jpeglib_h
=no
20905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20909 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
20910 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
20912 if test "$ac_cv_header_jpeglib_h" = "yes"; then
20913 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
20914 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
20915 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
20916 echo $ECHO_N "(cached) $ECHO_C" >&6
20918 ac_check_lib_save_LIBS
=$LIBS
20919 LIBS
="-ljpeg $LIBS"
20920 cat >conftest.
$ac_ext <<_ACEOF
20923 cat confdefs.h
>>conftest.
$ac_ext
20924 cat >>conftest.
$ac_ext <<_ACEOF
20925 /* end confdefs.h. */
20927 /* Override any gcc2 internal prototype to avoid an error. */
20931 /* We use char because int might match the return type of a gcc2
20932 builtin and then its argument prototype would still apply. */
20933 char jpeg_read_header ();
20937 jpeg_read_header ();
20942 rm -f conftest.
$ac_objext conftest
$ac_exeext
20943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20944 (eval $ac_link) 2>conftest.er1
20946 grep -v '^ *+' conftest.er1
>conftest.err
20948 cat conftest.err
>&5
20949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20950 (exit $ac_status); } &&
20951 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20953 (eval $ac_try) 2>&5
20955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20956 (exit $ac_status); }; } &&
20957 { ac_try
='test -s conftest$ac_exeext'
20958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20959 (eval $ac_try) 2>&5
20961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962 (exit $ac_status); }; }; then
20963 ac_cv_lib_jpeg_jpeg_read_header
=yes
20965 echo "$as_me: failed program was:" >&5
20966 sed 's/^/| /' conftest.
$ac_ext >&5
20968 ac_cv_lib_jpeg_jpeg_read_header
=no
20970 rm -f conftest.err conftest.
$ac_objext \
20971 conftest
$ac_exeext conftest.
$ac_ext
20972 LIBS
=$ac_check_lib_save_LIBS
20974 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
20975 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
20976 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
20977 JPEG_LINK
=" -ljpeg"
20982 if test "x$JPEG_LINK" = "x" ; then
20983 if test "$wxUSE_LIBJPEG" = "sys" ; then
20984 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
20985 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
20986 { (exit 1); exit 1; }; }
20988 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
20989 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
20990 wxUSE_LIBJPEG
=builtin
21001 TIFF_PREREQ_LINKS
=-lm
21002 if test "$wxUSE_LIBTIFF" != "no" ; then
21003 cat >>confdefs.h
<<\_ACEOF
21004 #define wxUSE_LIBTIFF 1
21008 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21009 if test "$wxUSE_LIBJPEG" = "sys"; then
21010 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21012 if test "$wxUSE_ZLIB" = "sys"; then
21013 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21015 if test "${ac_cv_header_tiffio_h+set}" = set; then
21016 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21017 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21018 if test "${ac_cv_header_tiffio_h+set}" = set; then
21019 echo $ECHO_N "(cached) $ECHO_C" >&6
21021 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21022 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21024 # Is the header compilable?
21025 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21026 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21027 cat >conftest.
$ac_ext <<_ACEOF
21030 cat confdefs.h
>>conftest.
$ac_ext
21031 cat >>conftest.
$ac_ext <<_ACEOF
21032 /* end confdefs.h. */
21033 $ac_includes_default
21034 #include <tiffio.h>
21036 rm -f conftest.
$ac_objext
21037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21038 (eval $ac_compile) 2>conftest.er1
21040 grep -v '^ *+' conftest.er1
>conftest.err
21042 cat conftest.err
>&5
21043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044 (exit $ac_status); } &&
21045 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21047 (eval $ac_try) 2>&5
21049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21050 (exit $ac_status); }; } &&
21051 { ac_try
='test -s conftest.$ac_objext'
21052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21053 (eval $ac_try) 2>&5
21055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21056 (exit $ac_status); }; }; then
21057 ac_header_compiler
=yes
21059 echo "$as_me: failed program was:" >&5
21060 sed 's/^/| /' conftest.
$ac_ext >&5
21062 ac_header_compiler
=no
21064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21065 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21066 echo "${ECHO_T}$ac_header_compiler" >&6
21068 # Is the header present?
21069 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21070 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21071 cat >conftest.
$ac_ext <<_ACEOF
21074 cat confdefs.h
>>conftest.
$ac_ext
21075 cat >>conftest.
$ac_ext <<_ACEOF
21076 /* end confdefs.h. */
21077 #include <tiffio.h>
21079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21080 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21082 grep -v '^ *+' conftest.er1
>conftest.err
21084 cat conftest.err
>&5
21085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21086 (exit $ac_status); } >/dev
/null
; then
21087 if test -s conftest.err
; then
21088 ac_cpp_err
=$ac_c_preproc_warn_flag
21089 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21096 if test -z "$ac_cpp_err"; then
21097 ac_header_preproc
=yes
21099 echo "$as_me: failed program was:" >&5
21100 sed 's/^/| /' conftest.
$ac_ext >&5
21102 ac_header_preproc
=no
21104 rm -f conftest.err conftest.
$ac_ext
21105 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21106 echo "${ECHO_T}$ac_header_preproc" >&6
21108 # So? What about this header?
21109 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21111 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21112 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21113 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21114 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21115 ac_header_preproc
=yes
21118 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21119 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21120 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21121 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21122 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21123 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21124 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21125 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21126 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21127 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21128 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21129 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21132 ## ----------------------------------------- ##
21133 ## Report this to wx-dev@lists.wxwidgets.org ##
21134 ## ----------------------------------------- ##
21137 sed "s/^/$as_me: WARNING: /" >&2
21140 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21141 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21142 if test "${ac_cv_header_tiffio_h+set}" = set; then
21143 echo $ECHO_N "(cached) $ECHO_C" >&6
21145 ac_cv_header_tiffio_h
=$ac_header_preproc
21147 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21148 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21151 if test $ac_cv_header_tiffio_h = yes; then
21153 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21154 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21155 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21156 echo $ECHO_N "(cached) $ECHO_C" >&6
21158 ac_check_lib_save_LIBS
=$LIBS
21159 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21160 cat >conftest.
$ac_ext <<_ACEOF
21163 cat confdefs.h
>>conftest.
$ac_ext
21164 cat >>conftest.
$ac_ext <<_ACEOF
21165 /* end confdefs.h. */
21167 /* Override any gcc2 internal prototype to avoid an error. */
21171 /* We use char because int might match the return type of a gcc2
21172 builtin and then its argument prototype would still apply. */
21182 rm -f conftest.
$ac_objext conftest
$ac_exeext
21183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21184 (eval $ac_link) 2>conftest.er1
21186 grep -v '^ *+' conftest.er1
>conftest.err
21188 cat conftest.err
>&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } &&
21191 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21193 (eval $ac_try) 2>&5
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); }; } &&
21197 { ac_try
='test -s conftest$ac_exeext'
21198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21199 (eval $ac_try) 2>&5
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); }; }; then
21203 ac_cv_lib_tiff_TIFFError
=yes
21205 echo "$as_me: failed program was:" >&5
21206 sed 's/^/| /' conftest.
$ac_ext >&5
21208 ac_cv_lib_tiff_TIFFError
=no
21210 rm -f conftest.err conftest.
$ac_objext \
21211 conftest
$ac_exeext conftest.
$ac_ext
21212 LIBS
=$ac_check_lib_save_LIBS
21214 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21215 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21216 if test $ac_cv_lib_tiff_TIFFError = yes; then
21217 TIFF_LINK
=" -ltiff"
21226 if test "x$TIFF_LINK" = "x" ; then
21227 if test "$wxUSE_LIBTIFF" = "sys" ; then
21228 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21229 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21230 { (exit 1); exit 1; }; }
21232 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21233 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21234 wxUSE_LIBTIFF
=builtin
21243 if test "$wxUSE_EXPAT" != "no"; then
21245 cat >>confdefs.h
<<\_ACEOF
21246 #define wxUSE_EXPAT 1
21249 cat >>confdefs.h
<<\_ACEOF
21250 #define wxUSE_XML 1
21254 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21255 if test "${ac_cv_header_expat_h+set}" = set; then
21256 echo "$as_me:$LINENO: checking for expat.h" >&5
21257 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21258 if test "${ac_cv_header_expat_h+set}" = set; then
21259 echo $ECHO_N "(cached) $ECHO_C" >&6
21261 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21262 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21264 # Is the header compilable?
21265 echo "$as_me:$LINENO: checking expat.h usability" >&5
21266 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21267 cat >conftest.
$ac_ext <<_ACEOF
21270 cat confdefs.h
>>conftest.
$ac_ext
21271 cat >>conftest.
$ac_ext <<_ACEOF
21272 /* end confdefs.h. */
21273 $ac_includes_default
21276 rm -f conftest.
$ac_objext
21277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21278 (eval $ac_compile) 2>conftest.er1
21280 grep -v '^ *+' conftest.er1
>conftest.err
21282 cat conftest.err
>&5
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); } &&
21285 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21287 (eval $ac_try) 2>&5
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); }; } &&
21291 { ac_try
='test -s conftest.$ac_objext'
21292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21293 (eval $ac_try) 2>&5
21295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21296 (exit $ac_status); }; }; then
21297 ac_header_compiler
=yes
21299 echo "$as_me: failed program was:" >&5
21300 sed 's/^/| /' conftest.
$ac_ext >&5
21302 ac_header_compiler
=no
21304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21305 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21306 echo "${ECHO_T}$ac_header_compiler" >&6
21308 # Is the header present?
21309 echo "$as_me:$LINENO: checking expat.h presence" >&5
21310 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21311 cat >conftest.
$ac_ext <<_ACEOF
21314 cat confdefs.h
>>conftest.
$ac_ext
21315 cat >>conftest.
$ac_ext <<_ACEOF
21316 /* end confdefs.h. */
21319 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21320 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21322 grep -v '^ *+' conftest.er1
>conftest.err
21324 cat conftest.err
>&5
21325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21326 (exit $ac_status); } >/dev
/null
; then
21327 if test -s conftest.err
; then
21328 ac_cpp_err
=$ac_c_preproc_warn_flag
21329 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21336 if test -z "$ac_cpp_err"; then
21337 ac_header_preproc
=yes
21339 echo "$as_me: failed program was:" >&5
21340 sed 's/^/| /' conftest.
$ac_ext >&5
21342 ac_header_preproc
=no
21344 rm -f conftest.err conftest.
$ac_ext
21345 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21346 echo "${ECHO_T}$ac_header_preproc" >&6
21348 # So? What about this header?
21349 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21351 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21352 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21353 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21354 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21355 ac_header_preproc
=yes
21358 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21359 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21360 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21361 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21362 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21363 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21364 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21365 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21366 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21367 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21368 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21369 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21372 ## ----------------------------------------- ##
21373 ## Report this to wx-dev@lists.wxwidgets.org ##
21374 ## ----------------------------------------- ##
21377 sed "s/^/$as_me: WARNING: /" >&2
21380 echo "$as_me:$LINENO: checking for expat.h" >&5
21381 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21382 if test "${ac_cv_header_expat_h+set}" = set; then
21383 echo $ECHO_N "(cached) $ECHO_C" >&6
21385 ac_cv_header_expat_h
=$ac_header_preproc
21387 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21388 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21391 if test $ac_cv_header_expat_h = yes; then
21396 if test "x$found_expat_h" = "x1"; then
21397 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21398 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21399 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21400 echo $ECHO_N "(cached) $ECHO_C" >&6
21406 ac_cpp
='$CXXCPP $CPPFLAGS'
21407 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21408 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21409 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21411 cat >conftest.
$ac_ext <<_ACEOF
21414 cat confdefs.h
>>conftest.
$ac_ext
21415 cat >>conftest.
$ac_ext <<_ACEOF
21416 /* end confdefs.h. */
21426 rm -f conftest.
$ac_objext
21427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21428 (eval $ac_compile) 2>conftest.er1
21430 grep -v '^ *+' conftest.er1
>conftest.err
21432 cat conftest.err
>&5
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); } &&
21435 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21437 (eval $ac_try) 2>&5
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); }; } &&
21441 { ac_try
='test -s conftest.$ac_objext'
21442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21443 (eval $ac_try) 2>&5
21445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446 (exit $ac_status); }; }; then
21447 wx_cv_expat_is_not_broken
=yes
21449 echo "$as_me: failed program was:" >&5
21450 sed 's/^/| /' conftest.
$ac_ext >&5
21452 wx_cv_expat_is_not_broken
=no
21455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21457 ac_cpp
='$CPP $CPPFLAGS'
21458 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21459 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21460 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21465 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21466 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21467 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21468 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21469 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21470 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21471 echo $ECHO_N "(cached) $ECHO_C" >&6
21473 ac_check_lib_save_LIBS
=$LIBS
21474 LIBS
="-lexpat $LIBS"
21475 cat >conftest.
$ac_ext <<_ACEOF
21478 cat confdefs.h
>>conftest.
$ac_ext
21479 cat >>conftest.
$ac_ext <<_ACEOF
21480 /* end confdefs.h. */
21482 /* Override any gcc2 internal prototype to avoid an error. */
21486 /* We use char because int might match the return type of a gcc2
21487 builtin and then its argument prototype would still apply. */
21488 char XML_ParserCreate ();
21492 XML_ParserCreate ();
21497 rm -f conftest.
$ac_objext conftest
$ac_exeext
21498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21499 (eval $ac_link) 2>conftest.er1
21501 grep -v '^ *+' conftest.er1
>conftest.err
21503 cat conftest.err
>&5
21504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21505 (exit $ac_status); } &&
21506 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21508 (eval $ac_try) 2>&5
21510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21511 (exit $ac_status); }; } &&
21512 { ac_try
='test -s conftest$ac_exeext'
21513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21514 (eval $ac_try) 2>&5
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); }; }; then
21518 ac_cv_lib_expat_XML_ParserCreate
=yes
21520 echo "$as_me: failed program was:" >&5
21521 sed 's/^/| /' conftest.
$ac_ext >&5
21523 ac_cv_lib_expat_XML_ParserCreate
=no
21525 rm -f conftest.err conftest.
$ac_objext \
21526 conftest
$ac_exeext conftest.
$ac_ext
21527 LIBS
=$ac_check_lib_save_LIBS
21529 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21530 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21531 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21532 EXPAT_LINK
=" -lexpat"
21537 if test "x$EXPAT_LINK" = "x" ; then
21538 if test "$wxUSE_EXPAT" = "sys" ; then
21539 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21540 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21541 { (exit 1); exit 1; }; }
21543 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21544 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21545 wxUSE_EXPAT
=builtin
21551 if test "$wxUSE_EXPAT" = "builtin" ; then
21554 subdirs
="$subdirs src/expat"
21561 if test "$wxUSE_LIBMSPACK" != "no"; then
21563 if test "${ac_cv_header_mspack_h+set}" = set; then
21564 echo "$as_me:$LINENO: checking for mspack.h" >&5
21565 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21566 if test "${ac_cv_header_mspack_h+set}" = set; then
21567 echo $ECHO_N "(cached) $ECHO_C" >&6
21569 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21570 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21572 # Is the header compilable?
21573 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21574 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21575 cat >conftest.
$ac_ext <<_ACEOF
21578 cat confdefs.h
>>conftest.
$ac_ext
21579 cat >>conftest.
$ac_ext <<_ACEOF
21580 /* end confdefs.h. */
21581 $ac_includes_default
21582 #include <mspack.h>
21584 rm -f conftest.
$ac_objext
21585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21586 (eval $ac_compile) 2>conftest.er1
21588 grep -v '^ *+' conftest.er1
>conftest.err
21590 cat conftest.err
>&5
21591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592 (exit $ac_status); } &&
21593 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21595 (eval $ac_try) 2>&5
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); }; } &&
21599 { ac_try
='test -s conftest.$ac_objext'
21600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21601 (eval $ac_try) 2>&5
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); }; }; then
21605 ac_header_compiler
=yes
21607 echo "$as_me: failed program was:" >&5
21608 sed 's/^/| /' conftest.
$ac_ext >&5
21610 ac_header_compiler
=no
21612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21613 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21614 echo "${ECHO_T}$ac_header_compiler" >&6
21616 # Is the header present?
21617 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21618 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21619 cat >conftest.
$ac_ext <<_ACEOF
21622 cat confdefs.h
>>conftest.
$ac_ext
21623 cat >>conftest.
$ac_ext <<_ACEOF
21624 /* end confdefs.h. */
21625 #include <mspack.h>
21627 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21628 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21630 grep -v '^ *+' conftest.er1
>conftest.err
21632 cat conftest.err
>&5
21633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634 (exit $ac_status); } >/dev
/null
; then
21635 if test -s conftest.err
; then
21636 ac_cpp_err
=$ac_c_preproc_warn_flag
21637 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21644 if test -z "$ac_cpp_err"; then
21645 ac_header_preproc
=yes
21647 echo "$as_me: failed program was:" >&5
21648 sed 's/^/| /' conftest.
$ac_ext >&5
21650 ac_header_preproc
=no
21652 rm -f conftest.err conftest.
$ac_ext
21653 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21654 echo "${ECHO_T}$ac_header_preproc" >&6
21656 # So? What about this header?
21657 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21659 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21660 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21661 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21662 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21663 ac_header_preproc
=yes
21666 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21667 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21668 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21669 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21670 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21671 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21672 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21673 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21674 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21675 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21676 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21677 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21680 ## ----------------------------------------- ##
21681 ## Report this to wx-dev@lists.wxwidgets.org ##
21682 ## ----------------------------------------- ##
21685 sed "s/^/$as_me: WARNING: /" >&2
21688 echo "$as_me:$LINENO: checking for mspack.h" >&5
21689 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21690 if test "${ac_cv_header_mspack_h+set}" = set; then
21691 echo $ECHO_N "(cached) $ECHO_C" >&6
21693 ac_cv_header_mspack_h
=$ac_header_preproc
21695 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21696 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21699 if test $ac_cv_header_mspack_h = yes; then
21704 if test "x$found_mspack_h" = "x1"; then
21705 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21706 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21707 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21708 echo $ECHO_N "(cached) $ECHO_C" >&6
21710 ac_check_lib_save_LIBS
=$LIBS
21711 LIBS
="-lmspack $LIBS"
21712 cat >conftest.
$ac_ext <<_ACEOF
21715 cat confdefs.h
>>conftest.
$ac_ext
21716 cat >>conftest.
$ac_ext <<_ACEOF
21717 /* end confdefs.h. */
21719 /* Override any gcc2 internal prototype to avoid an error. */
21723 /* We use char because int might match the return type of a gcc2
21724 builtin and then its argument prototype would still apply. */
21725 char mspack_create_chm_decompressor ();
21729 mspack_create_chm_decompressor ();
21734 rm -f conftest.
$ac_objext conftest
$ac_exeext
21735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21736 (eval $ac_link) 2>conftest.er1
21738 grep -v '^ *+' conftest.er1
>conftest.err
21740 cat conftest.err
>&5
21741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742 (exit $ac_status); } &&
21743 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21745 (eval $ac_try) 2>&5
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); }; } &&
21749 { ac_try
='test -s conftest$ac_exeext'
21750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21751 (eval $ac_try) 2>&5
21753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754 (exit $ac_status); }; }; then
21755 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
21757 echo "$as_me: failed program was:" >&5
21758 sed 's/^/| /' conftest.
$ac_ext >&5
21760 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
21762 rm -f conftest.err conftest.
$ac_objext \
21763 conftest
$ac_exeext conftest.
$ac_ext
21764 LIBS
=$ac_check_lib_save_LIBS
21766 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21767 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21768 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21769 MSPACK_LINK
=" -lmspack"
21773 if test "x$MSPACK_LINK" = "x" ; then
21776 cat >>confdefs.h
<<\_ACEOF
21777 #define wxUSE_LIBMSPACK 1
21792 if test "$USE_WIN32" = 1 ; then
21794 for ac_header
in w32api.h
21796 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21797 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21798 echo "$as_me:$LINENO: checking for $ac_header" >&5
21799 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21801 echo $ECHO_N "(cached) $ECHO_C" >&6
21803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21804 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21806 # Is the header compilable?
21807 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21808 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21809 cat >conftest.
$ac_ext <<_ACEOF
21812 cat confdefs.h
>>conftest.
$ac_ext
21813 cat >>conftest.
$ac_ext <<_ACEOF
21814 /* end confdefs.h. */
21815 $ac_includes_default
21816 #include <$ac_header>
21818 rm -f conftest.
$ac_objext
21819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21820 (eval $ac_compile) 2>conftest.er1
21822 grep -v '^ *+' conftest.er1
>conftest.err
21824 cat conftest.err
>&5
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); } &&
21827 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21829 (eval $ac_try) 2>&5
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); }; } &&
21833 { ac_try
='test -s conftest.$ac_objext'
21834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21835 (eval $ac_try) 2>&5
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); }; }; then
21839 ac_header_compiler
=yes
21841 echo "$as_me: failed program was:" >&5
21842 sed 's/^/| /' conftest.
$ac_ext >&5
21844 ac_header_compiler
=no
21846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21847 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21848 echo "${ECHO_T}$ac_header_compiler" >&6
21850 # Is the header present?
21851 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21852 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21853 cat >conftest.
$ac_ext <<_ACEOF
21856 cat confdefs.h
>>conftest.
$ac_ext
21857 cat >>conftest.
$ac_ext <<_ACEOF
21858 /* end confdefs.h. */
21859 #include <$ac_header>
21861 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21862 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21864 grep -v '^ *+' conftest.er1
>conftest.err
21866 cat conftest.err
>&5
21867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21868 (exit $ac_status); } >/dev
/null
; then
21869 if test -s conftest.err
; then
21870 ac_cpp_err
=$ac_c_preproc_warn_flag
21871 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21878 if test -z "$ac_cpp_err"; then
21879 ac_header_preproc
=yes
21881 echo "$as_me: failed program was:" >&5
21882 sed 's/^/| /' conftest.
$ac_ext >&5
21884 ac_header_preproc
=no
21886 rm -f conftest.err conftest.
$ac_ext
21887 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21888 echo "${ECHO_T}$ac_header_preproc" >&6
21890 # So? What about this header?
21891 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21893 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21894 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21896 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21897 ac_header_preproc
=yes
21900 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21901 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21902 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21903 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21904 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21905 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21906 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21907 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21910 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21911 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21914 ## ----------------------------------------- ##
21915 ## Report this to wx-dev@lists.wxwidgets.org ##
21916 ## ----------------------------------------- ##
21919 sed "s/^/$as_me: WARNING: /" >&2
21922 echo "$as_me:$LINENO: checking for $ac_header" >&5
21923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21925 echo $ECHO_N "(cached) $ECHO_C" >&6
21927 eval "$as_ac_Header=\$ac_header_preproc"
21929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21934 cat >>confdefs.h
<<_ACEOF
21935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21942 if test "${ac_cv_header_windows_h+set}" = set; then
21943 echo "$as_me:$LINENO: checking for windows.h" >&5
21944 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21945 if test "${ac_cv_header_windows_h+set}" = set; then
21946 echo $ECHO_N "(cached) $ECHO_C" >&6
21948 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21949 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21951 # Is the header compilable?
21952 echo "$as_me:$LINENO: checking windows.h usability" >&5
21953 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
21954 cat >conftest.
$ac_ext <<_ACEOF
21957 cat confdefs.h
>>conftest.
$ac_ext
21958 cat >>conftest.
$ac_ext <<_ACEOF
21959 /* end confdefs.h. */
21960 $ac_includes_default
21961 #include <windows.h>
21963 rm -f conftest.
$ac_objext
21964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21965 (eval $ac_compile) 2>conftest.er1
21967 grep -v '^ *+' conftest.er1
>conftest.err
21969 cat conftest.err
>&5
21970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21971 (exit $ac_status); } &&
21972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21974 (eval $ac_try) 2>&5
21976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21977 (exit $ac_status); }; } &&
21978 { ac_try
='test -s conftest.$ac_objext'
21979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21980 (eval $ac_try) 2>&5
21982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21983 (exit $ac_status); }; }; then
21984 ac_header_compiler
=yes
21986 echo "$as_me: failed program was:" >&5
21987 sed 's/^/| /' conftest.
$ac_ext >&5
21989 ac_header_compiler
=no
21991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21992 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21993 echo "${ECHO_T}$ac_header_compiler" >&6
21995 # Is the header present?
21996 echo "$as_me:$LINENO: checking windows.h presence" >&5
21997 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
21998 cat >conftest.
$ac_ext <<_ACEOF
22001 cat confdefs.h
>>conftest.
$ac_ext
22002 cat >>conftest.
$ac_ext <<_ACEOF
22003 /* end confdefs.h. */
22004 #include <windows.h>
22006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22007 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22009 grep -v '^ *+' conftest.er1
>conftest.err
22011 cat conftest.err
>&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); } >/dev
/null
; then
22014 if test -s conftest.err
; then
22015 ac_cpp_err
=$ac_c_preproc_warn_flag
22016 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22023 if test -z "$ac_cpp_err"; then
22024 ac_header_preproc
=yes
22026 echo "$as_me: failed program was:" >&5
22027 sed 's/^/| /' conftest.
$ac_ext >&5
22029 ac_header_preproc
=no
22031 rm -f conftest.err conftest.
$ac_ext
22032 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22033 echo "${ECHO_T}$ac_header_preproc" >&6
22035 # So? What about this header?
22036 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22038 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22039 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22040 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22041 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22042 ac_header_preproc
=yes
22045 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22046 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22047 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22048 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22049 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22050 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22051 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22052 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22053 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22054 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22055 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22056 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22059 ## ----------------------------------------- ##
22060 ## Report this to wx-dev@lists.wxwidgets.org ##
22061 ## ----------------------------------------- ##
22064 sed "s/^/$as_me: WARNING: /" >&2
22067 echo "$as_me:$LINENO: checking for windows.h" >&5
22068 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22069 if test "${ac_cv_header_windows_h+set}" = set; then
22070 echo $ECHO_N "(cached) $ECHO_C" >&6
22072 ac_cv_header_windows_h
=$ac_header_preproc
22074 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22075 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22078 if test $ac_cv_header_windows_h = yes; then
22082 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22083 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22084 { (exit 1); exit 1; }; }
22090 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22092 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22093 LIBS
="$LIBS -loleacc"
22098 LIBS
="$LIBS -lkernel32 -luser32"
22099 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
22102 if test "$wxUSE_ODBC" = "sys" ; then
22105 if test "$wxUSE_ODBC" = "yes" ; then
22106 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
22107 cat >>confdefs.h
<<\_ACEOF
22108 #define wxUSE_ODBC 1
22113 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22114 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22116 WIN32INSTALL
=win32install
22119 if test "$wxUSE_GUI" = "yes"; then
22129 if test "$wxUSE_MSW" = 1 ; then
22135 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22139 if test "$wxUSE_GTK" = 1; then
22140 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22141 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22143 gtk_version_cached
=1
22144 if test "${wx_cv_lib_gtk+set}" = set; then
22145 echo $ECHO_N "(cached) $ECHO_C" >&6
22148 gtk_version_cached
=0
22149 echo "$as_me:$LINENO: result: " >&5
22150 echo "${ECHO_T}" >&6
22153 if test "$wxUSE_THREADS" = "yes"; then
22154 GTK_MODULES
=gthread
22158 if test "x$wxUSE_GTK2" = "xyes"; then
22159 # Check whether --enable-gtktest or --disable-gtktest was given.
22160 if test "${enable_gtktest+set}" = set; then
22161 enableval
="$enable_gtktest"
22167 pkg_config_args
=gtk
+-2.0
22168 for module
in .
$GTK_MODULES
22172 pkg_config_args
="$pkg_config_args gthread-2.0"
22179 # Extract the first word of "pkg-config", so it can be a program name with args.
22180 set dummy pkg
-config; ac_word
=$2
22181 echo "$as_me:$LINENO: checking for $ac_word" >&5
22182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22183 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22184 echo $ECHO_N "(cached) $ECHO_C" >&6
22186 case $PKG_CONFIG in
22188 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22192 for as_dir
in $PATH
22195 test -z "$as_dir" && as_dir
=.
22196 for ac_exec_ext
in '' $ac_executable_extensions; do
22197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22198 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22205 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22209 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22211 if test -n "$PKG_CONFIG"; then
22212 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22213 echo "${ECHO_T}$PKG_CONFIG" >&6
22215 echo "$as_me:$LINENO: result: no" >&5
22216 echo "${ECHO_T}no" >&6
22220 if test x
$PKG_CONFIG != xno
; then
22221 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
22224 echo "*** pkg-config too old; version 0.7 or better required."
22232 min_gtk_version
=2.0.0
22233 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22234 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22236 if test x
$PKG_CONFIG != xno
; then
22237 ## don't try to run the test against uninstalled libtool libs
22238 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22239 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22243 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22250 if test x
"$no_gtk" = x
; then
22251 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
22252 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
22253 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22254 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22255 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22256 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22257 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22258 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22259 if test "x$enable_gtktest" = "xyes" ; then
22260 ac_save_CFLAGS
="$CFLAGS"
22261 ac_save_LIBS
="$LIBS"
22262 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22263 LIBS
="$GTK_LIBS $LIBS"
22265 if test "$cross_compiling" = yes; then
22266 echo $ac_n "cross compiling; assumed OK... $ac_c"
22268 cat >conftest.
$ac_ext <<_ACEOF
22271 cat confdefs.h
>>conftest.
$ac_ext
22272 cat >>conftest.
$ac_ext <<_ACEOF
22273 /* end confdefs.h. */
22275 #include <gtk/gtk.h>
22277 #include <stdlib.h>
22282 int major, minor, micro;
22285 system ("touch conf.gtktest");
22287 /* HP/UX 9 (%@#!) writes to sscanf strings */
22288 tmp_version = g_strdup("$min_gtk_version");
22289 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22290 printf("%s, bad version string\n", "$min_gtk_version");
22294 if ((gtk_major_version != $gtk_config_major_version) ||
22295 (gtk_minor_version != $gtk_config_minor_version) ||
22296 (gtk_micro_version != $gtk_config_micro_version))
22298 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22299 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22300 gtk_major_version, gtk_minor_version, gtk_micro_version);
22301 printf ("*** was found! If pkg-config was correct, then it is best\n");
22302 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22303 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22304 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22305 printf("*** required on your system.\n");
22306 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22307 printf("*** to point to the correct configuration files\n");
22309 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22310 (gtk_minor_version != GTK_MINOR_VERSION) ||
22311 (gtk_micro_version != GTK_MICRO_VERSION))
22313 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22314 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22315 printf("*** library (version %d.%d.%d)\n",
22316 gtk_major_version, gtk_minor_version, gtk_micro_version);
22320 if ((gtk_major_version > major) ||
22321 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22322 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22328 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22329 gtk_major_version, gtk_minor_version, gtk_micro_version);
22330 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22331 major, minor, micro);
22332 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22334 printf("*** If you have already installed a sufficiently new version, this error\n");
22335 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22336 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22337 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22338 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22339 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22340 printf("*** so that the correct libraries are found at run-time))\n");
22347 rm -f conftest
$ac_exeext
22348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22349 (eval $ac_link) 2>&5
22351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22352 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22354 (eval $ac_try) 2>&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); }; }; then
22360 echo "$as_me: program exited with status $ac_status" >&5
22361 echo "$as_me: failed program was:" >&5
22362 sed 's/^/| /' conftest.
$ac_ext >&5
22364 ( exit $ac_status )
22367 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22369 CFLAGS
="$ac_save_CFLAGS"
22370 LIBS
="$ac_save_LIBS"
22373 if test "x$no_gtk" = x
; then
22374 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22375 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22378 echo "$as_me:$LINENO: result: no" >&5
22379 echo "${ECHO_T}no" >&6
22380 if test "$PKG_CONFIG" = "no" ; then
22381 echo "*** A new enough version of pkg-config was not found."
22382 echo "*** See http://pkgconfig.sourceforge.net"
22384 if test -f conf.gtktest
; then
22387 echo "*** Could not run GTK+ test program, checking why..."
22388 ac_save_CFLAGS
="$CFLAGS"
22389 ac_save_LIBS
="$LIBS"
22390 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22391 LIBS
="$LIBS $GTK_LIBS"
22392 cat >conftest.
$ac_ext <<_ACEOF
22395 cat confdefs.h
>>conftest.
$ac_ext
22396 cat >>conftest.
$ac_ext <<_ACEOF
22397 /* end confdefs.h. */
22399 #include <gtk/gtk.h>
22405 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22410 rm -f conftest.
$ac_objext conftest
$ac_exeext
22411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22412 (eval $ac_link) 2>conftest.er1
22414 grep -v '^ *+' conftest.er1
>conftest.err
22416 cat conftest.err
>&5
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); } &&
22419 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22421 (eval $ac_try) 2>&5
22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424 (exit $ac_status); }; } &&
22425 { ac_try
='test -s conftest$ac_exeext'
22426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22427 (eval $ac_try) 2>&5
22429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22430 (exit $ac_status); }; }; then
22431 echo "*** The test program compiled, but did not run. This usually means"
22432 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22433 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22434 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22435 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22436 echo "*** is required on your system"
22438 echo "*** If you have an old version installed, it is best to remove it, although"
22439 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22441 echo "$as_me: failed program was:" >&5
22442 sed 's/^/| /' conftest.
$ac_ext >&5
22444 echo "*** The test program failed to compile or link. See the file config.log for the"
22445 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22447 rm -f conftest.err conftest.
$ac_objext \
22448 conftest
$ac_exeext conftest.
$ac_ext
22449 CFLAGS
="$ac_save_CFLAGS"
22450 LIBS
="$ac_save_LIBS"
22463 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22464 if test "${with_gtk_prefix+set}" = set; then
22465 withval
="$with_gtk_prefix"
22466 gtk_config_prefix
="$withval"
22468 gtk_config_prefix
=""
22471 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22472 if test "${with_gtk_exec_prefix+set}" = set; then
22473 withval
="$with_gtk_exec_prefix"
22474 gtk_config_exec_prefix
="$withval"
22476 gtk_config_exec_prefix
=""
22478 # Check whether --enable-gtktest or --disable-gtktest was given.
22479 if test "${enable_gtktest+set}" = set; then
22480 enableval
="$enable_gtktest"
22486 for module
in .
$GTK_MODULES
22490 gtk_config_args
="$gtk_config_args gthread"
22495 if test x
$gtk_config_exec_prefix != x
; then
22496 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22497 if test x
${GTK_CONFIG+set} != xset
; then
22498 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22501 if test x
$gtk_config_prefix != x
; then
22502 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22503 if test x
${GTK_CONFIG+set} != xset
; then
22504 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22508 # Extract the first word of "gtk-config", so it can be a program name with args.
22509 set dummy gtk
-config; ac_word
=$2
22510 echo "$as_me:$LINENO: checking for $ac_word" >&5
22511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22512 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22513 echo $ECHO_N "(cached) $ECHO_C" >&6
22515 case $GTK_CONFIG in
22517 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22521 for as_dir
in $PATH
22524 test -z "$as_dir" && as_dir
=.
22525 for ac_exec_ext
in '' $ac_executable_extensions; do
22526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22527 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22534 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22538 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22540 if test -n "$GTK_CONFIG"; then
22541 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22542 echo "${ECHO_T}$GTK_CONFIG" >&6
22544 echo "$as_me:$LINENO: result: no" >&5
22545 echo "${ECHO_T}no" >&6
22548 min_gtk_version
=1.2.7
22549 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22550 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22552 if test "$GTK_CONFIG" = "no" ; then
22555 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22556 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22557 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22558 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22559 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22560 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22561 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22562 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22563 if test "x$enable_gtktest" = "xyes" ; then
22564 ac_save_CFLAGS
="$CFLAGS"
22565 ac_save_LIBS
="$LIBS"
22566 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22567 LIBS
="$GTK_LIBS $LIBS"
22569 if test "$cross_compiling" = yes; then
22570 echo $ac_n "cross compiling; assumed OK... $ac_c"
22572 cat >conftest.
$ac_ext <<_ACEOF
22575 cat confdefs.h
>>conftest.
$ac_ext
22576 cat >>conftest.
$ac_ext <<_ACEOF
22577 /* end confdefs.h. */
22579 #include <gtk/gtk.h>
22581 #include <stdlib.h>
22586 int major, minor, micro;
22589 system ("touch conf.gtktest");
22591 /* HP/UX 9 (%@#!) writes to sscanf strings */
22592 tmp_version = g_strdup("$min_gtk_version");
22593 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22594 printf("%s, bad version string\n", "$min_gtk_version");
22598 if ((gtk_major_version != $gtk_config_major_version) ||
22599 (gtk_minor_version != $gtk_config_minor_version) ||
22600 (gtk_micro_version != $gtk_config_micro_version))
22602 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22603 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22604 gtk_major_version, gtk_minor_version, gtk_micro_version);
22605 printf ("*** was found! If gtk-config was correct, then it is best\n");
22606 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22607 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22608 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22609 printf("*** required on your system.\n");
22610 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22611 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22612 printf("*** before re-running configure\n");
22614 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22615 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22616 (gtk_minor_version != GTK_MINOR_VERSION) ||
22617 (gtk_micro_version != GTK_MICRO_VERSION))
22619 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22620 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22621 printf("*** library (version %d.%d.%d)\n",
22622 gtk_major_version, gtk_minor_version, gtk_micro_version);
22624 #endif /* defined (GTK_MAJOR_VERSION) ... */
22627 if ((gtk_major_version > major) ||
22628 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22629 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22635 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22636 gtk_major_version, gtk_minor_version, gtk_micro_version);
22637 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22638 major, minor, micro);
22639 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22641 printf("*** If you have already installed a sufficiently new version, this error\n");
22642 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22643 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22644 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22645 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22646 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22647 printf("*** so that the correct libraries are found at run-time))\n");
22654 rm -f conftest
$ac_exeext
22655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22656 (eval $ac_link) 2>&5
22658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22659 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22661 (eval $ac_try) 2>&5
22663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22664 (exit $ac_status); }; }; then
22667 echo "$as_me: program exited with status $ac_status" >&5
22668 echo "$as_me: failed program was:" >&5
22669 sed 's/^/| /' conftest.
$ac_ext >&5
22671 ( exit $ac_status )
22674 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22676 CFLAGS
="$ac_save_CFLAGS"
22677 LIBS
="$ac_save_LIBS"
22680 if test "x$no_gtk" = x
; then
22681 echo "$as_me:$LINENO: result: yes" >&5
22682 echo "${ECHO_T}yes" >&6
22683 wx_cv_lib_gtk
=1.2.7
22685 echo "$as_me:$LINENO: result: no" >&5
22686 echo "${ECHO_T}no" >&6
22687 if test "$GTK_CONFIG" = "no" ; then
22688 echo "*** The gtk-config script installed by GTK could not be found"
22689 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22690 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22691 echo "*** full path to gtk-config."
22693 if test -f conf.gtktest
; then
22696 echo "*** Could not run GTK test program, checking why..."
22697 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22698 LIBS
="$LIBS $GTK_LIBS"
22699 cat >conftest.
$ac_ext <<_ACEOF
22702 cat confdefs.h
>>conftest.
$ac_ext
22703 cat >>conftest.
$ac_ext <<_ACEOF
22704 /* end confdefs.h. */
22706 #include <gtk/gtk.h>
22712 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22717 rm -f conftest.
$ac_objext conftest
$ac_exeext
22718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22719 (eval $ac_link) 2>conftest.er1
22721 grep -v '^ *+' conftest.er1
>conftest.err
22723 cat conftest.err
>&5
22724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22725 (exit $ac_status); } &&
22726 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22728 (eval $ac_try) 2>&5
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); }; } &&
22732 { ac_try
='test -s conftest$ac_exeext'
22733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22734 (eval $ac_try) 2>&5
22736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22737 (exit $ac_status); }; }; then
22738 echo "*** The test program compiled, but did not run. This usually means"
22739 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22740 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22741 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22742 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22743 echo "*** is required on your system"
22745 echo "*** If you have an old version installed, it is best to remove it, although"
22746 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22748 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22749 echo "*** came with the system with the command"
22751 echo "*** rpm --erase --nodeps gtk gtk-devel"
22753 echo "$as_me: failed program was:" >&5
22754 sed 's/^/| /' conftest.
$ac_ext >&5
22756 echo "*** The test program failed to compile or link. See the file config.log for the"
22757 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22758 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22759 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22761 rm -f conftest.err conftest.
$ac_objext \
22762 conftest
$ac_exeext conftest.
$ac_ext
22763 CFLAGS
="$ac_save_CFLAGS"
22764 LIBS
="$ac_save_LIBS"
22776 if test -z "$wx_cv_lib_gtk"; then
22778 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22779 if test "${with_gtk_prefix+set}" = set; then
22780 withval
="$with_gtk_prefix"
22781 gtk_config_prefix
="$withval"
22783 gtk_config_prefix
=""
22786 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22787 if test "${with_gtk_exec_prefix+set}" = set; then
22788 withval
="$with_gtk_exec_prefix"
22789 gtk_config_exec_prefix
="$withval"
22791 gtk_config_exec_prefix
=""
22793 # Check whether --enable-gtktest or --disable-gtktest was given.
22794 if test "${enable_gtktest+set}" = set; then
22795 enableval
="$enable_gtktest"
22801 for module
in .
$GTK_MODULES
22805 gtk_config_args
="$gtk_config_args gthread"
22810 if test x
$gtk_config_exec_prefix != x
; then
22811 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22812 if test x
${GTK_CONFIG+set} != xset
; then
22813 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22816 if test x
$gtk_config_prefix != x
; then
22817 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22818 if test x
${GTK_CONFIG+set} != xset
; then
22819 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22823 # Extract the first word of "gtk-config", so it can be a program name with args.
22824 set dummy gtk
-config; ac_word
=$2
22825 echo "$as_me:$LINENO: checking for $ac_word" >&5
22826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22827 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22828 echo $ECHO_N "(cached) $ECHO_C" >&6
22830 case $GTK_CONFIG in
22832 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22836 for as_dir
in $PATH
22839 test -z "$as_dir" && as_dir
=.
22840 for ac_exec_ext
in '' $ac_executable_extensions; do
22841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22842 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22849 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22853 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22855 if test -n "$GTK_CONFIG"; then
22856 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22857 echo "${ECHO_T}$GTK_CONFIG" >&6
22859 echo "$as_me:$LINENO: result: no" >&5
22860 echo "${ECHO_T}no" >&6
22863 min_gtk_version
=1.2.3
22864 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22865 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22867 if test "$GTK_CONFIG" = "no" ; then
22870 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22871 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22872 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22873 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22874 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22875 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22876 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22877 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22878 if test "x$enable_gtktest" = "xyes" ; then
22879 ac_save_CFLAGS
="$CFLAGS"
22880 ac_save_LIBS
="$LIBS"
22881 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22882 LIBS
="$GTK_LIBS $LIBS"
22884 if test "$cross_compiling" = yes; then
22885 echo $ac_n "cross compiling; assumed OK... $ac_c"
22887 cat >conftest.
$ac_ext <<_ACEOF
22890 cat confdefs.h
>>conftest.
$ac_ext
22891 cat >>conftest.
$ac_ext <<_ACEOF
22892 /* end confdefs.h. */
22894 #include <gtk/gtk.h>
22896 #include <stdlib.h>
22901 int major, minor, micro;
22904 system ("touch conf.gtktest");
22906 /* HP/UX 9 (%@#!) writes to sscanf strings */
22907 tmp_version = g_strdup("$min_gtk_version");
22908 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22909 printf("%s, bad version string\n", "$min_gtk_version");
22913 if ((gtk_major_version != $gtk_config_major_version) ||
22914 (gtk_minor_version != $gtk_config_minor_version) ||
22915 (gtk_micro_version != $gtk_config_micro_version))
22917 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22918 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22919 gtk_major_version, gtk_minor_version, gtk_micro_version);
22920 printf ("*** was found! If gtk-config was correct, then it is best\n");
22921 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22922 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22923 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22924 printf("*** required on your system.\n");
22925 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22926 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22927 printf("*** before re-running configure\n");
22929 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22930 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22931 (gtk_minor_version != GTK_MINOR_VERSION) ||
22932 (gtk_micro_version != GTK_MICRO_VERSION))
22934 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22935 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22936 printf("*** library (version %d.%d.%d)\n",
22937 gtk_major_version, gtk_minor_version, gtk_micro_version);
22939 #endif /* defined (GTK_MAJOR_VERSION) ... */
22942 if ((gtk_major_version > major) ||
22943 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22944 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22950 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22951 gtk_major_version, gtk_minor_version, gtk_micro_version);
22952 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22953 major, minor, micro);
22954 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22956 printf("*** If you have already installed a sufficiently new version, this error\n");
22957 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22958 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22959 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22960 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22961 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22962 printf("*** so that the correct libraries are found at run-time))\n");
22969 rm -f conftest
$ac_exeext
22970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22971 (eval $ac_link) 2>&5
22973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22974 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22976 (eval $ac_try) 2>&5
22978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22979 (exit $ac_status); }; }; then
22982 echo "$as_me: program exited with status $ac_status" >&5
22983 echo "$as_me: failed program was:" >&5
22984 sed 's/^/| /' conftest.
$ac_ext >&5
22986 ( exit $ac_status )
22989 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22991 CFLAGS
="$ac_save_CFLAGS"
22992 LIBS
="$ac_save_LIBS"
22995 if test "x$no_gtk" = x
; then
22996 echo "$as_me:$LINENO: result: yes" >&5
22997 echo "${ECHO_T}yes" >&6
22998 wx_cv_lib_gtk
=1.2.3
23000 echo "$as_me:$LINENO: result: no" >&5
23001 echo "${ECHO_T}no" >&6
23002 if test "$GTK_CONFIG" = "no" ; then
23003 echo "*** The gtk-config script installed by GTK could not be found"
23004 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23005 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23006 echo "*** full path to gtk-config."
23008 if test -f conf.gtktest
; then
23011 echo "*** Could not run GTK test program, checking why..."
23012 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23013 LIBS
="$LIBS $GTK_LIBS"
23014 cat >conftest.
$ac_ext <<_ACEOF
23017 cat confdefs.h
>>conftest.
$ac_ext
23018 cat >>conftest.
$ac_ext <<_ACEOF
23019 /* end confdefs.h. */
23021 #include <gtk/gtk.h>
23027 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23032 rm -f conftest.
$ac_objext conftest
$ac_exeext
23033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23034 (eval $ac_link) 2>conftest.er1
23036 grep -v '^ *+' conftest.er1
>conftest.err
23038 cat conftest.err
>&5
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); } &&
23041 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23043 (eval $ac_try) 2>&5
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); }; } &&
23047 { ac_try
='test -s conftest$ac_exeext'
23048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23049 (eval $ac_try) 2>&5
23051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23052 (exit $ac_status); }; }; then
23053 echo "*** The test program compiled, but did not run. This usually means"
23054 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23055 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23056 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23057 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23058 echo "*** is required on your system"
23060 echo "*** If you have an old version installed, it is best to remove it, although"
23061 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23063 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23064 echo "*** came with the system with the command"
23066 echo "*** rpm --erase --nodeps gtk gtk-devel"
23068 echo "$as_me: failed program was:" >&5
23069 sed 's/^/| /' conftest.
$ac_ext >&5
23071 echo "*** The test program failed to compile or link. See the file config.log for the"
23072 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23073 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23074 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23076 rm -f conftest.err conftest.
$ac_objext \
23077 conftest
$ac_exeext conftest.
$ac_ext
23078 CFLAGS
="$ac_save_CFLAGS"
23079 LIBS
="$ac_save_LIBS"
23093 if test -z "$wx_cv_lib_gtk"; then
23096 wx_cv_cflags_gtk
=$GTK_CFLAGS
23097 wx_cv_libs_gtk
=$GTK_LIBS
23104 if test "$gtk_version_cached" = 1; then
23105 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23106 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23109 case "$wx_cv_lib_gtk" in
23118 *) { { echo "$as_me:$LINENO: error:
23119 Please check that gtk-config is in path, the directory
23120 where GTK+ libraries are installed (returned by
23121 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23122 equivalent variable and GTK+ is version 1.2.3 or above.
23124 echo "$as_me: error:
23125 Please check that gtk-config is in path, the directory
23126 where GTK+ libraries are installed (returned by
23127 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23128 equivalent variable and GTK+ is version 1.2.3 or above.
23130 { (exit 1); exit 1; }; }
23134 if test "$WXGTK20" = 1; then
23135 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
23139 if test -z "$PKG_CONFIG"; then
23140 # Extract the first word of "pkg-config", so it can be a program name with args.
23141 set dummy pkg
-config; ac_word
=$2
23142 echo "$as_me:$LINENO: checking for $ac_word" >&5
23143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23144 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23145 echo $ECHO_N "(cached) $ECHO_C" >&6
23147 case $PKG_CONFIG in
23149 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23153 for as_dir
in $PATH
23156 test -z "$as_dir" && as_dir
=.
23157 for ac_exec_ext
in '' $ac_executable_extensions; do
23158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23159 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23166 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23170 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23172 if test -n "$PKG_CONFIG"; then
23173 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23174 echo "${ECHO_T}$PKG_CONFIG" >&6
23176 echo "$as_me:$LINENO: result: no" >&5
23177 echo "${ECHO_T}no" >&6
23182 if test "$PKG_CONFIG" = "no" ; then
23183 echo "*** The pkg-config script could not be found. Make sure it is"
23184 echo "*** in your path, or set the PKG_CONFIG environment variable"
23185 echo "*** to the full path to pkg-config."
23186 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23188 PKG_CONFIG_MIN_VERSION
=0.9.0
23189 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23190 echo "$as_me:$LINENO: checking for pangoft2" >&5
23191 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23193 if $PKG_CONFIG --exists "pangoft2" ; then
23194 echo "$as_me:$LINENO: result: yes" >&5
23195 echo "${ECHO_T}yes" >&6
23198 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23199 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23200 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
23201 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23202 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23204 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23205 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23206 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
23207 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23208 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23212 ## If we have a custom action on failure, don't print errors, but
23213 ## do set a variable so people can do so.
23214 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23221 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23222 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23226 if test $succeeded = yes; then
23228 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
23229 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23233 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23234 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23235 wxUSE_PRINTING_ARCHITECTURE
="no"
23242 save_CFLAGS
="$CFLAGS"
23244 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23245 LIBS
="$LIBS $GTK_LIBS"
23247 for ac_func
in pango_font_family_is_monospace
23249 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23250 echo "$as_me:$LINENO: checking for $ac_func" >&5
23251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23252 if eval "test \"\${$as_ac_var+set}\" = set"; then
23253 echo $ECHO_N "(cached) $ECHO_C" >&6
23255 cat >conftest.
$ac_ext <<_ACEOF
23258 cat confdefs.h
>>conftest.
$ac_ext
23259 cat >>conftest.
$ac_ext <<_ACEOF
23260 /* end confdefs.h. */
23261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23263 #define $ac_func innocuous_$ac_func
23265 /* System header to define __stub macros and hopefully few prototypes,
23266 which can conflict with char $ac_func (); below.
23267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23268 <limits.h> exists even on freestanding compilers. */
23271 # include <limits.h>
23273 # include <assert.h>
23278 /* Override any gcc2 internal prototype to avoid an error. */
23283 /* We use char because int might match the return type of a gcc2
23284 builtin and then its argument prototype would still apply. */
23286 /* The GNU C library defines this for functions which it implements
23287 to always fail with ENOSYS. Some functions are actually named
23288 something starting with __ and the normal name is an alias. */
23289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23292 char (*f) () = $ac_func;
23301 return f != $ac_func;
23306 rm -f conftest.
$ac_objext conftest
$ac_exeext
23307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23308 (eval $ac_link) 2>conftest.er1
23310 grep -v '^ *+' conftest.er1
>conftest.err
23312 cat conftest.err
>&5
23313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23314 (exit $ac_status); } &&
23315 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23317 (eval $ac_try) 2>&5
23319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23320 (exit $ac_status); }; } &&
23321 { ac_try
='test -s conftest$ac_exeext'
23322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23323 (eval $ac_try) 2>&5
23325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23326 (exit $ac_status); }; }; then
23327 eval "$as_ac_var=yes"
23329 echo "$as_me: failed program was:" >&5
23330 sed 's/^/| /' conftest.
$ac_ext >&5
23332 eval "$as_ac_var=no"
23334 rm -f conftest.err conftest.
$ac_objext \
23335 conftest
$ac_exeext conftest.
$ac_ext
23337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23339 if test `eval echo '${'$as_ac_var'}'` = yes; then
23340 cat >>confdefs.h
<<_ACEOF
23341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23347 CFLAGS
="$save_CFLAGS"
23350 if test "$wxUSE_UNICODE" = "yes"; then
23351 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23352 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23357 if test "$USE_DARWIN" != 1; then
23359 for ac_func
in poll
23361 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23362 echo "$as_me:$LINENO: checking for $ac_func" >&5
23363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23364 if eval "test \"\${$as_ac_var+set}\" = set"; then
23365 echo $ECHO_N "(cached) $ECHO_C" >&6
23367 cat >conftest.
$ac_ext <<_ACEOF
23370 cat confdefs.h
>>conftest.
$ac_ext
23371 cat >>conftest.
$ac_ext <<_ACEOF
23372 /* end confdefs.h. */
23373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23375 #define $ac_func innocuous_$ac_func
23377 /* System header to define __stub macros and hopefully few prototypes,
23378 which can conflict with char $ac_func (); below.
23379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23380 <limits.h> exists even on freestanding compilers. */
23383 # include <limits.h>
23385 # include <assert.h>
23390 /* Override any gcc2 internal prototype to avoid an error. */
23395 /* We use char because int might match the return type of a gcc2
23396 builtin and then its argument prototype would still apply. */
23398 /* The GNU C library defines this for functions which it implements
23399 to always fail with ENOSYS. Some functions are actually named
23400 something starting with __ and the normal name is an alias. */
23401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23404 char (*f) () = $ac_func;
23413 return f != $ac_func;
23418 rm -f conftest.
$ac_objext conftest
$ac_exeext
23419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23420 (eval $ac_link) 2>conftest.er1
23422 grep -v '^ *+' conftest.er1
>conftest.err
23424 cat conftest.err
>&5
23425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23426 (exit $ac_status); } &&
23427 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23429 (eval $ac_try) 2>&5
23431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23432 (exit $ac_status); }; } &&
23433 { ac_try
='test -s conftest$ac_exeext'
23434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23435 (eval $ac_try) 2>&5
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); }; }; then
23439 eval "$as_ac_var=yes"
23441 echo "$as_me: failed program was:" >&5
23442 sed 's/^/| /' conftest.
$ac_ext >&5
23444 eval "$as_ac_var=no"
23446 rm -f conftest.err conftest.
$ac_objext \
23447 conftest
$ac_exeext conftest.
$ac_ext
23449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23451 if test `eval echo '${'$as_ac_var'}'` = yes; then
23452 cat >>confdefs.h
<<_ACEOF
23453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23461 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
23462 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23464 AFMINSTALL
=afminstall
23468 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23469 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23470 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23471 echo $ECHO_N "(cached) $ECHO_C" >&6
23473 ac_check_lib_save_LIBS
=$LIBS
23475 cat >conftest.
$ac_ext <<_ACEOF
23478 cat confdefs.h
>>conftest.
$ac_ext
23479 cat >>conftest.
$ac_ext <<_ACEOF
23480 /* end confdefs.h. */
23482 /* Override any gcc2 internal prototype to avoid an error. */
23486 /* We use char because int might match the return type of a gcc2
23487 builtin and then its argument prototype would still apply. */
23488 char gdk_im_open ();
23497 rm -f conftest.
$ac_objext conftest
$ac_exeext
23498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23499 (eval $ac_link) 2>conftest.er1
23501 grep -v '^ *+' conftest.er1
>conftest.err
23503 cat conftest.err
>&5
23504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23505 (exit $ac_status); } &&
23506 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23508 (eval $ac_try) 2>&5
23510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23511 (exit $ac_status); }; } &&
23512 { ac_try
='test -s conftest$ac_exeext'
23513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23514 (eval $ac_try) 2>&5
23516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23517 (exit $ac_status); }; }; then
23518 ac_cv_lib_gdk_gdk_im_open
=yes
23520 echo "$as_me: failed program was:" >&5
23521 sed 's/^/| /' conftest.
$ac_ext >&5
23523 ac_cv_lib_gdk_gdk_im_open
=no
23525 rm -f conftest.err conftest.
$ac_objext \
23526 conftest
$ac_exeext conftest.
$ac_ext
23527 LIBS
=$ac_check_lib_save_LIBS
23529 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23530 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23531 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23532 cat >>confdefs.h
<<\_ACEOF
23540 if test "$wxUSE_GPE" = "yes"; then
23541 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23542 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23545 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23547 for ac_extension
in a so sl dylib
; do
23548 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23549 ac_find_libraries
=$ac_dir
23555 if test "$ac_find_libraries" != "" ; then
23557 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23559 if test $result = 0; then
23562 ac_path_to_link
=" -L$ac_find_libraries"
23565 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23567 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23568 echo "${ECHO_T}found at $ac_find_libraries" >&6
23570 echo "$as_me:$LINENO: result: not found" >&5
23571 echo "${ECHO_T}not found" >&6
23577 if test "$wxUSE_MGL" = 1; then
23578 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23579 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23580 if test "x$MGL_ROOT" = x
; then
23581 echo "$as_me:$LINENO: result: not found" >&5
23582 echo "${ECHO_T}not found" >&6
23583 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23584 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23585 { (exit 1); exit 1; }; }
23587 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23588 echo "${ECHO_T}$MGL_ROOT" >&6
23591 echo "$as_me:$LINENO: checking for libmgl location" >&5
23592 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23595 if test "x$wxUSE_SHARED" = xyes
; then
23596 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23598 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23602 mgl_os_candidates
="dos32/dj2"
23605 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23606 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23607 { (exit 1); exit 1; }; }
23613 for mgl_os_i
in $mgl_os_candidates ; do
23614 if test "x$mgl_os" = x
; then
23615 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23616 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
23617 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
23622 if test "x$mgl_lib_type" = x
; then
23623 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
23624 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
23625 mgl_lib_type
=release
23632 if test "x$mgl_os" = x
; then
23633 echo "$as_me:$LINENO: result: not found" >&5
23634 echo "${ECHO_T}not found" >&6
23635 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23636 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23637 { (exit 1); exit 1; }; }
23639 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23640 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23642 wxUSE_UNIVERSAL
="yes"
23644 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
23645 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23647 AFMINSTALL
=afminstall
23652 if test "$wxUSE_MICROWIN" = 1; then
23653 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23654 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23655 if test "x$MICROWINDOWS" = x
; then
23656 echo "$as_me:$LINENO: result: not found" >&5
23657 echo "${ECHO_T}not found" >&6
23658 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23659 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23660 { (exit 1); exit 1; }; }
23662 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23663 echo "${ECHO_T}$MICROWINDOWS" >&6
23666 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
23667 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23668 echo "${ECHO_T}MicroWindows' libraries found." >&6
23670 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23671 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23672 { (exit 1); exit 1; }; }
23675 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
23676 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23678 wxUSE_UNIVERSAL
="yes"
23680 AFMINSTALL
=afminstall
23682 GUIDIST
=MICROWIN_DIST
23684 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23687 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
23689 if test "x$ac_path_x_has_been_run" != xyes
; then
23690 echo "$as_me:$LINENO: checking for X" >&5
23691 echo $ECHO_N "checking for X... $ECHO_C" >&6
23693 ac_path_x_has_been_run
=yes
23695 # Check whether --with-x or --without-x was given.
23696 if test "${with_x+set}" = set; then
23700 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23701 if test "x$with_x" = xno
; then
23702 # The user explicitly disabled X.
23705 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
23706 # Both variables are already set.
23709 if test "${ac_cv_have_x+set}" = set; then
23710 echo $ECHO_N "(cached) $ECHO_C" >&6
23712 # One or both of the vars are not set, and there is no cached value.
23713 ac_x_includes
=no ac_x_libraries
=no
23714 rm -fr conftest.dir
23715 if mkdir conftest.dir
; then
23717 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23718 cat >Imakefile
<<'_ACEOF'
23720 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23722 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
23723 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23724 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23725 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23726 for ac_extension
in a so sl
; do
23727 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
23728 test -f $ac_im_libdir/libX11.
$ac_extension; then
23729 ac_im_usrlibdir
=$ac_im_libdir; break
23732 # Screen out bogus values from the imake configuration. They are
23733 # bogus both because they are the default anyway, and because
23734 # using them would break gcc on systems where it needs fixed includes.
23735 case $ac_im_incroot in
23737 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
23739 case $ac_im_usrlibdir in
23740 /usr
/lib
| /lib
) ;;
23741 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
23745 rm -fr conftest.dir
23748 # Standard set of common directories for X headers.
23749 # Check X11 before X11Rn because it is often a symlink to the current release.
23761 /usr/local/X11/include
23762 /usr/local/X11R6/include
23763 /usr/local/X11R5/include
23764 /usr/local/X11R4/include
23766 /usr/local/include/X11
23767 /usr/local/include/X11R6
23768 /usr/local/include/X11R5
23769 /usr/local/include/X11R4
23773 /usr/XFree86/include/X11
23777 /usr/unsupported/include
23778 /usr/athena/include
23779 /usr/local/x11r5/include
23780 /usr/lpp/Xamples/include
23782 /usr/openwin/include
23783 /usr/openwin/share/include'
23785 if test "$ac_x_includes" = no
; then
23786 # Guess where to find include files, by looking for a specified header file.
23787 # First, try using that file with no special directory specified.
23788 cat >conftest.
$ac_ext <<_ACEOF
23791 cat confdefs.h
>>conftest.
$ac_ext
23792 cat >>conftest.
$ac_ext <<_ACEOF
23793 /* end confdefs.h. */
23794 #include <X11/Intrinsic.h>
23796 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23797 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23799 grep -v '^ *+' conftest.er1
>conftest.err
23801 cat conftest.err
>&5
23802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23803 (exit $ac_status); } >/dev
/null
; then
23804 if test -s conftest.err
; then
23805 ac_cpp_err
=$ac_c_preproc_warn_flag
23806 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23813 if test -z "$ac_cpp_err"; then
23814 # We can compile using X headers with no special include directory.
23817 echo "$as_me: failed program was:" >&5
23818 sed 's/^/| /' conftest.
$ac_ext >&5
23820 for ac_dir
in $ac_x_header_dirs; do
23821 if test -r "$ac_dir/X11/Intrinsic.h"; then
23822 ac_x_includes
=$ac_dir
23827 rm -f conftest.err conftest.
$ac_ext
23828 fi # $ac_x_includes = no
23830 if test "$ac_x_libraries" = no
; then
23831 # Check for the libraries.
23832 # See if we find them without any special options.
23833 # Don't add to $LIBS permanently.
23836 cat >conftest.
$ac_ext <<_ACEOF
23839 cat confdefs.h
>>conftest.
$ac_ext
23840 cat >>conftest.
$ac_ext <<_ACEOF
23841 /* end confdefs.h. */
23842 #include <X11/Intrinsic.h>
23851 rm -f conftest.
$ac_objext conftest
$ac_exeext
23852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23853 (eval $ac_link) 2>conftest.er1
23855 grep -v '^ *+' conftest.er1
>conftest.err
23857 cat conftest.err
>&5
23858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23859 (exit $ac_status); } &&
23860 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23862 (eval $ac_try) 2>&5
23864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23865 (exit $ac_status); }; } &&
23866 { ac_try
='test -s conftest$ac_exeext'
23867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23868 (eval $ac_try) 2>&5
23870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871 (exit $ac_status); }; }; then
23873 # We can link X programs with no special library path.
23876 echo "$as_me: failed program was:" >&5
23877 sed 's/^/| /' conftest.
$ac_ext >&5
23880 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23882 # Don't even attempt the hair of trying to link an X program!
23883 for ac_extension
in a so sl
; do
23884 if test -r $ac_dir/libXt.
$ac_extension; then
23885 ac_x_libraries
=$ac_dir
23891 rm -f conftest.err conftest.
$ac_objext \
23892 conftest
$ac_exeext conftest.
$ac_ext
23893 fi # $ac_x_libraries = no
23895 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
23896 # Didn't find X anywhere. Cache the known absence of X.
23897 ac_cv_have_x
="have_x=no"
23899 # Record where we found X for the cache.
23900 ac_cv_have_x
="have_x=yes \
23901 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
23906 eval "$ac_cv_have_x"
23909 if test "$have_x" != yes; then
23910 echo "$as_me:$LINENO: result: $have_x" >&5
23911 echo "${ECHO_T}$have_x" >&6
23914 # If each of the values was on the command line, it overrides each guess.
23915 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
23916 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
23917 # Update the cache value to reflect the command line values.
23918 ac_cv_have_x
="have_x=yes \
23919 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
23920 # It might be that x_includes is empty (headers are found in the
23921 # standard search path. Then output the corresponding message
23922 ac_out_x_includes
=$x_includes
23923 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
23924 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
23925 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
23929 if test "$no_x" = yes; then
23930 # Not all programs may use this symbol, but it does not hurt to define it.
23932 cat >>confdefs.h
<<\_ACEOF
23933 #define X_DISPLAY_MISSING 1
23936 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
23938 if test -n "$x_includes"; then
23939 X_CFLAGS
="$X_CFLAGS -I$x_includes"
23942 # It would also be nice to do this for all -L options, not just this one.
23943 if test -n "$x_libraries"; then
23944 X_LIBS
="$X_LIBS -L$x_libraries"
23945 # For Solaris; some versions of Sun CC require a space after -R and
23946 # others require no space. Words are not sufficient . . . .
23947 case `(uname -sr) 2>/dev/null` in
23949 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23950 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23951 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
23952 cat >conftest.
$ac_ext <<_ACEOF
23955 cat confdefs.h
>>conftest.
$ac_ext
23956 cat >>conftest.
$ac_ext <<_ACEOF
23957 /* end confdefs.h. */
23967 rm -f conftest.
$ac_objext conftest
$ac_exeext
23968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23969 (eval $ac_link) 2>conftest.er1
23971 grep -v '^ *+' conftest.er1
>conftest.err
23973 cat conftest.err
>&5
23974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23975 (exit $ac_status); } &&
23976 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23978 (eval $ac_try) 2>&5
23980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23981 (exit $ac_status); }; } &&
23982 { ac_try
='test -s conftest$ac_exeext'
23983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23984 (eval $ac_try) 2>&5
23986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23987 (exit $ac_status); }; }; then
23990 echo "$as_me: failed program was:" >&5
23991 sed 's/^/| /' conftest.
$ac_ext >&5
23995 rm -f conftest.err conftest.
$ac_objext \
23996 conftest
$ac_exeext conftest.
$ac_ext
23997 if test $ac_R_nospace = yes; then
23998 echo "$as_me:$LINENO: result: no" >&5
23999 echo "${ECHO_T}no" >&6
24000 X_LIBS
="$X_LIBS -R$x_libraries"
24002 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24003 cat >conftest.
$ac_ext <<_ACEOF
24006 cat confdefs.h
>>conftest.
$ac_ext
24007 cat >>conftest.
$ac_ext <<_ACEOF
24008 /* end confdefs.h. */
24018 rm -f conftest.
$ac_objext conftest
$ac_exeext
24019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24020 (eval $ac_link) 2>conftest.er1
24022 grep -v '^ *+' conftest.er1
>conftest.err
24024 cat conftest.err
>&5
24025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24026 (exit $ac_status); } &&
24027 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24029 (eval $ac_try) 2>&5
24031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24032 (exit $ac_status); }; } &&
24033 { ac_try
='test -s conftest$ac_exeext'
24034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24035 (eval $ac_try) 2>&5
24037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038 (exit $ac_status); }; }; then
24041 echo "$as_me: failed program was:" >&5
24042 sed 's/^/| /' conftest.
$ac_ext >&5
24046 rm -f conftest.err conftest.
$ac_objext \
24047 conftest
$ac_exeext conftest.
$ac_ext
24048 if test $ac_R_space = yes; then
24049 echo "$as_me:$LINENO: result: yes" >&5
24050 echo "${ECHO_T}yes" >&6
24051 X_LIBS
="$X_LIBS -R $x_libraries"
24053 echo "$as_me:$LINENO: result: neither works" >&5
24054 echo "${ECHO_T}neither works" >&6
24057 LIBS
=$ac_xsave_LIBS
24061 # Check for system-dependent libraries X programs must link with.
24062 # Do this before checking for the system-independent R6 libraries
24063 # (-lICE), since we may need -lsocket or whatever for X linking.
24065 if test "$ISC" = yes; then
24066 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24068 # Martyn Johnson says this is needed for Ultrix, if the X
24069 # libraries were built with DECnet support. And Karl Berry says
24070 # the Alpha needs dnet_stub (dnet does not exist).
24071 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24072 cat >conftest.
$ac_ext <<_ACEOF
24075 cat confdefs.h
>>conftest.
$ac_ext
24076 cat >>conftest.
$ac_ext <<_ACEOF
24077 /* end confdefs.h. */
24079 /* Override any gcc2 internal prototype to avoid an error. */
24083 /* We use char because int might match the return type of a gcc2
24084 builtin and then its argument prototype would still apply. */
24085 char XOpenDisplay ();
24094 rm -f conftest.
$ac_objext conftest
$ac_exeext
24095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24096 (eval $ac_link) 2>conftest.er1
24098 grep -v '^ *+' conftest.er1
>conftest.err
24100 cat conftest.err
>&5
24101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24102 (exit $ac_status); } &&
24103 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24105 (eval $ac_try) 2>&5
24107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24108 (exit $ac_status); }; } &&
24109 { ac_try
='test -s conftest$ac_exeext'
24110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24111 (eval $ac_try) 2>&5
24113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24114 (exit $ac_status); }; }; then
24117 echo "$as_me: failed program was:" >&5
24118 sed 's/^/| /' conftest.
$ac_ext >&5
24120 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24121 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24122 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24123 echo $ECHO_N "(cached) $ECHO_C" >&6
24125 ac_check_lib_save_LIBS
=$LIBS
24126 LIBS
="-ldnet $LIBS"
24127 cat >conftest.
$ac_ext <<_ACEOF
24130 cat confdefs.h
>>conftest.
$ac_ext
24131 cat >>conftest.
$ac_ext <<_ACEOF
24132 /* end confdefs.h. */
24134 /* Override any gcc2 internal prototype to avoid an error. */
24138 /* We use char because int might match the return type of a gcc2
24139 builtin and then its argument prototype would still apply. */
24149 rm -f conftest.
$ac_objext conftest
$ac_exeext
24150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24151 (eval $ac_link) 2>conftest.er1
24153 grep -v '^ *+' conftest.er1
>conftest.err
24155 cat conftest.err
>&5
24156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24157 (exit $ac_status); } &&
24158 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24160 (eval $ac_try) 2>&5
24162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24163 (exit $ac_status); }; } &&
24164 { ac_try
='test -s conftest$ac_exeext'
24165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24166 (eval $ac_try) 2>&5
24168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24169 (exit $ac_status); }; }; then
24170 ac_cv_lib_dnet_dnet_ntoa
=yes
24172 echo "$as_me: failed program was:" >&5
24173 sed 's/^/| /' conftest.
$ac_ext >&5
24175 ac_cv_lib_dnet_dnet_ntoa
=no
24177 rm -f conftest.err conftest.
$ac_objext \
24178 conftest
$ac_exeext conftest.
$ac_ext
24179 LIBS
=$ac_check_lib_save_LIBS
24181 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24182 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24183 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24184 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24187 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24188 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24189 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24190 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24191 echo $ECHO_N "(cached) $ECHO_C" >&6
24193 ac_check_lib_save_LIBS
=$LIBS
24194 LIBS
="-ldnet_stub $LIBS"
24195 cat >conftest.
$ac_ext <<_ACEOF
24198 cat confdefs.h
>>conftest.
$ac_ext
24199 cat >>conftest.
$ac_ext <<_ACEOF
24200 /* end confdefs.h. */
24202 /* Override any gcc2 internal prototype to avoid an error. */
24206 /* We use char because int might match the return type of a gcc2
24207 builtin and then its argument prototype would still apply. */
24217 rm -f conftest.
$ac_objext conftest
$ac_exeext
24218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24219 (eval $ac_link) 2>conftest.er1
24221 grep -v '^ *+' conftest.er1
>conftest.err
24223 cat conftest.err
>&5
24224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24225 (exit $ac_status); } &&
24226 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24228 (eval $ac_try) 2>&5
24230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24231 (exit $ac_status); }; } &&
24232 { ac_try
='test -s conftest$ac_exeext'
24233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24234 (eval $ac_try) 2>&5
24236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24237 (exit $ac_status); }; }; then
24238 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24240 echo "$as_me: failed program was:" >&5
24241 sed 's/^/| /' conftest.
$ac_ext >&5
24243 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24245 rm -f conftest.err conftest.
$ac_objext \
24246 conftest
$ac_exeext conftest.
$ac_ext
24247 LIBS
=$ac_check_lib_save_LIBS
24249 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24250 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24251 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24252 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24257 rm -f conftest.err conftest.
$ac_objext \
24258 conftest
$ac_exeext conftest.
$ac_ext
24259 LIBS
="$ac_xsave_LIBS"
24261 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24262 # to get the SysV transport functions.
24263 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24265 # The nsl library prevents programs from opening the X display
24266 # on Irix 5.2, according to T.E. Dickey.
24267 # The functions gethostbyname, getservbyname, and inet_addr are
24268 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24269 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24270 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24271 if test "${ac_cv_func_gethostbyname+set}" = set; then
24272 echo $ECHO_N "(cached) $ECHO_C" >&6
24274 cat >conftest.
$ac_ext <<_ACEOF
24277 cat confdefs.h
>>conftest.
$ac_ext
24278 cat >>conftest.
$ac_ext <<_ACEOF
24279 /* end confdefs.h. */
24280 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24282 #define gethostbyname innocuous_gethostbyname
24284 /* System header to define __stub macros and hopefully few prototypes,
24285 which can conflict with char gethostbyname (); below.
24286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24287 <limits.h> exists even on freestanding compilers. */
24290 # include <limits.h>
24292 # include <assert.h>
24295 #undef gethostbyname
24297 /* Override any gcc2 internal prototype to avoid an error. */
24302 /* We use char because int might match the return type of a gcc2
24303 builtin and then its argument prototype would still apply. */
24304 char gethostbyname ();
24305 /* The GNU C library defines this for functions which it implements
24306 to always fail with ENOSYS. Some functions are actually named
24307 something starting with __ and the normal name is an alias. */
24308 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24311 char (*f) () = gethostbyname;
24320 return f != gethostbyname;
24325 rm -f conftest.
$ac_objext conftest
$ac_exeext
24326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24327 (eval $ac_link) 2>conftest.er1
24329 grep -v '^ *+' conftest.er1
>conftest.err
24331 cat conftest.err
>&5
24332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24333 (exit $ac_status); } &&
24334 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24336 (eval $ac_try) 2>&5
24338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24339 (exit $ac_status); }; } &&
24340 { ac_try
='test -s conftest$ac_exeext'
24341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24342 (eval $ac_try) 2>&5
24344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24345 (exit $ac_status); }; }; then
24346 ac_cv_func_gethostbyname
=yes
24348 echo "$as_me: failed program was:" >&5
24349 sed 's/^/| /' conftest.
$ac_ext >&5
24351 ac_cv_func_gethostbyname
=no
24353 rm -f conftest.err conftest.
$ac_objext \
24354 conftest
$ac_exeext conftest.
$ac_ext
24356 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24357 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24359 if test $ac_cv_func_gethostbyname = no
; then
24360 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24361 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24362 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24363 echo $ECHO_N "(cached) $ECHO_C" >&6
24365 ac_check_lib_save_LIBS
=$LIBS
24367 cat >conftest.
$ac_ext <<_ACEOF
24370 cat confdefs.h
>>conftest.
$ac_ext
24371 cat >>conftest.
$ac_ext <<_ACEOF
24372 /* end confdefs.h. */
24374 /* Override any gcc2 internal prototype to avoid an error. */
24378 /* We use char because int might match the return type of a gcc2
24379 builtin and then its argument prototype would still apply. */
24380 char gethostbyname ();
24389 rm -f conftest.
$ac_objext conftest
$ac_exeext
24390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24391 (eval $ac_link) 2>conftest.er1
24393 grep -v '^ *+' conftest.er1
>conftest.err
24395 cat conftest.err
>&5
24396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24397 (exit $ac_status); } &&
24398 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24400 (eval $ac_try) 2>&5
24402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24403 (exit $ac_status); }; } &&
24404 { ac_try
='test -s conftest$ac_exeext'
24405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24406 (eval $ac_try) 2>&5
24408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24409 (exit $ac_status); }; }; then
24410 ac_cv_lib_nsl_gethostbyname
=yes
24412 echo "$as_me: failed program was:" >&5
24413 sed 's/^/| /' conftest.
$ac_ext >&5
24415 ac_cv_lib_nsl_gethostbyname
=no
24417 rm -f conftest.err conftest.
$ac_objext \
24418 conftest
$ac_exeext conftest.
$ac_ext
24419 LIBS
=$ac_check_lib_save_LIBS
24421 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24422 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24423 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24424 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
24427 if test $ac_cv_lib_nsl_gethostbyname = no
; then
24428 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24429 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24430 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24431 echo $ECHO_N "(cached) $ECHO_C" >&6
24433 ac_check_lib_save_LIBS
=$LIBS
24435 cat >conftest.
$ac_ext <<_ACEOF
24438 cat confdefs.h
>>conftest.
$ac_ext
24439 cat >>conftest.
$ac_ext <<_ACEOF
24440 /* end confdefs.h. */
24442 /* Override any gcc2 internal prototype to avoid an error. */
24446 /* We use char because int might match the return type of a gcc2
24447 builtin and then its argument prototype would still apply. */
24448 char gethostbyname ();
24457 rm -f conftest.
$ac_objext conftest
$ac_exeext
24458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24459 (eval $ac_link) 2>conftest.er1
24461 grep -v '^ *+' conftest.er1
>conftest.err
24463 cat conftest.err
>&5
24464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24465 (exit $ac_status); } &&
24466 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24468 (eval $ac_try) 2>&5
24470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24471 (exit $ac_status); }; } &&
24472 { ac_try
='test -s conftest$ac_exeext'
24473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24474 (eval $ac_try) 2>&5
24476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24477 (exit $ac_status); }; }; then
24478 ac_cv_lib_bsd_gethostbyname
=yes
24480 echo "$as_me: failed program was:" >&5
24481 sed 's/^/| /' conftest.
$ac_ext >&5
24483 ac_cv_lib_bsd_gethostbyname
=no
24485 rm -f conftest.err conftest.
$ac_objext \
24486 conftest
$ac_exeext conftest.
$ac_ext
24487 LIBS
=$ac_check_lib_save_LIBS
24489 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24490 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24491 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24492 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24498 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24499 # socket/setsockopt and other routines are undefined under SCO ODT
24500 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24501 # on later versions), says Simon Leinen: it contains gethostby*
24502 # variants that don't use the name server (or something). -lsocket
24503 # must be given before -lnsl if both are needed. We assume that
24504 # if connect needs -lnsl, so does gethostbyname.
24505 echo "$as_me:$LINENO: checking for connect" >&5
24506 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24507 if test "${ac_cv_func_connect+set}" = set; then
24508 echo $ECHO_N "(cached) $ECHO_C" >&6
24510 cat >conftest.
$ac_ext <<_ACEOF
24513 cat confdefs.h
>>conftest.
$ac_ext
24514 cat >>conftest.
$ac_ext <<_ACEOF
24515 /* end confdefs.h. */
24516 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24518 #define connect innocuous_connect
24520 /* System header to define __stub macros and hopefully few prototypes,
24521 which can conflict with char connect (); below.
24522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24523 <limits.h> exists even on freestanding compilers. */
24526 # include <limits.h>
24528 # include <assert.h>
24533 /* Override any gcc2 internal prototype to avoid an error. */
24538 /* We use char because int might match the return type of a gcc2
24539 builtin and then its argument prototype would still apply. */
24541 /* The GNU C library defines this for functions which it implements
24542 to always fail with ENOSYS. Some functions are actually named
24543 something starting with __ and the normal name is an alias. */
24544 #if defined (__stub_connect) || defined (__stub___connect)
24547 char (*f) () = connect;
24556 return f != connect;
24561 rm -f conftest.
$ac_objext conftest
$ac_exeext
24562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24563 (eval $ac_link) 2>conftest.er1
24565 grep -v '^ *+' conftest.er1
>conftest.err
24567 cat conftest.err
>&5
24568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24569 (exit $ac_status); } &&
24570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24572 (eval $ac_try) 2>&5
24574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24575 (exit $ac_status); }; } &&
24576 { ac_try
='test -s conftest$ac_exeext'
24577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24578 (eval $ac_try) 2>&5
24580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24581 (exit $ac_status); }; }; then
24582 ac_cv_func_connect
=yes
24584 echo "$as_me: failed program was:" >&5
24585 sed 's/^/| /' conftest.
$ac_ext >&5
24587 ac_cv_func_connect
=no
24589 rm -f conftest.err conftest.
$ac_objext \
24590 conftest
$ac_exeext conftest.
$ac_ext
24592 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24593 echo "${ECHO_T}$ac_cv_func_connect" >&6
24595 if test $ac_cv_func_connect = no
; then
24596 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24597 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24598 if test "${ac_cv_lib_socket_connect+set}" = set; then
24599 echo $ECHO_N "(cached) $ECHO_C" >&6
24601 ac_check_lib_save_LIBS
=$LIBS
24602 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24603 cat >conftest.
$ac_ext <<_ACEOF
24606 cat confdefs.h
>>conftest.
$ac_ext
24607 cat >>conftest.
$ac_ext <<_ACEOF
24608 /* end confdefs.h. */
24610 /* Override any gcc2 internal prototype to avoid an error. */
24614 /* We use char because int might match the return type of a gcc2
24615 builtin and then its argument prototype would still apply. */
24625 rm -f conftest.
$ac_objext conftest
$ac_exeext
24626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24627 (eval $ac_link) 2>conftest.er1
24629 grep -v '^ *+' conftest.er1
>conftest.err
24631 cat conftest.err
>&5
24632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24633 (exit $ac_status); } &&
24634 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24636 (eval $ac_try) 2>&5
24638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24639 (exit $ac_status); }; } &&
24640 { ac_try
='test -s conftest$ac_exeext'
24641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24642 (eval $ac_try) 2>&5
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); }; }; then
24646 ac_cv_lib_socket_connect
=yes
24648 echo "$as_me: failed program was:" >&5
24649 sed 's/^/| /' conftest.
$ac_ext >&5
24651 ac_cv_lib_socket_connect
=no
24653 rm -f conftest.err conftest.
$ac_objext \
24654 conftest
$ac_exeext conftest.
$ac_ext
24655 LIBS
=$ac_check_lib_save_LIBS
24657 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24658 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24659 if test $ac_cv_lib_socket_connect = yes; then
24660 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24665 # Guillermo Gomez says -lposix is necessary on A/UX.
24666 echo "$as_me:$LINENO: checking for remove" >&5
24667 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24668 if test "${ac_cv_func_remove+set}" = set; then
24669 echo $ECHO_N "(cached) $ECHO_C" >&6
24671 cat >conftest.
$ac_ext <<_ACEOF
24674 cat confdefs.h
>>conftest.
$ac_ext
24675 cat >>conftest.
$ac_ext <<_ACEOF
24676 /* end confdefs.h. */
24677 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24679 #define remove innocuous_remove
24681 /* System header to define __stub macros and hopefully few prototypes,
24682 which can conflict with char remove (); below.
24683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24684 <limits.h> exists even on freestanding compilers. */
24687 # include <limits.h>
24689 # include <assert.h>
24694 /* Override any gcc2 internal prototype to avoid an error. */
24699 /* We use char because int might match the return type of a gcc2
24700 builtin and then its argument prototype would still apply. */
24702 /* The GNU C library defines this for functions which it implements
24703 to always fail with ENOSYS. Some functions are actually named
24704 something starting with __ and the normal name is an alias. */
24705 #if defined (__stub_remove) || defined (__stub___remove)
24708 char (*f) () = remove;
24717 return f != remove;
24722 rm -f conftest.
$ac_objext conftest
$ac_exeext
24723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24724 (eval $ac_link) 2>conftest.er1
24726 grep -v '^ *+' conftest.er1
>conftest.err
24728 cat conftest.err
>&5
24729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24730 (exit $ac_status); } &&
24731 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24733 (eval $ac_try) 2>&5
24735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24736 (exit $ac_status); }; } &&
24737 { ac_try
='test -s conftest$ac_exeext'
24738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24739 (eval $ac_try) 2>&5
24741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24742 (exit $ac_status); }; }; then
24743 ac_cv_func_remove
=yes
24745 echo "$as_me: failed program was:" >&5
24746 sed 's/^/| /' conftest.
$ac_ext >&5
24748 ac_cv_func_remove
=no
24750 rm -f conftest.err conftest.
$ac_objext \
24751 conftest
$ac_exeext conftest.
$ac_ext
24753 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24754 echo "${ECHO_T}$ac_cv_func_remove" >&6
24756 if test $ac_cv_func_remove = no
; then
24757 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24758 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24759 if test "${ac_cv_lib_posix_remove+set}" = set; then
24760 echo $ECHO_N "(cached) $ECHO_C" >&6
24762 ac_check_lib_save_LIBS
=$LIBS
24763 LIBS
="-lposix $LIBS"
24764 cat >conftest.
$ac_ext <<_ACEOF
24767 cat confdefs.h
>>conftest.
$ac_ext
24768 cat >>conftest.
$ac_ext <<_ACEOF
24769 /* end confdefs.h. */
24771 /* Override any gcc2 internal prototype to avoid an error. */
24775 /* We use char because int might match the return type of a gcc2
24776 builtin and then its argument prototype would still apply. */
24786 rm -f conftest.
$ac_objext conftest
$ac_exeext
24787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24788 (eval $ac_link) 2>conftest.er1
24790 grep -v '^ *+' conftest.er1
>conftest.err
24792 cat conftest.err
>&5
24793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24794 (exit $ac_status); } &&
24795 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24797 (eval $ac_try) 2>&5
24799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24800 (exit $ac_status); }; } &&
24801 { ac_try
='test -s conftest$ac_exeext'
24802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24803 (eval $ac_try) 2>&5
24805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24806 (exit $ac_status); }; }; then
24807 ac_cv_lib_posix_remove
=yes
24809 echo "$as_me: failed program was:" >&5
24810 sed 's/^/| /' conftest.
$ac_ext >&5
24812 ac_cv_lib_posix_remove
=no
24814 rm -f conftest.err conftest.
$ac_objext \
24815 conftest
$ac_exeext conftest.
$ac_ext
24816 LIBS
=$ac_check_lib_save_LIBS
24818 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24819 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24820 if test $ac_cv_lib_posix_remove = yes; then
24821 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
24826 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24827 echo "$as_me:$LINENO: checking for shmat" >&5
24828 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24829 if test "${ac_cv_func_shmat+set}" = set; then
24830 echo $ECHO_N "(cached) $ECHO_C" >&6
24832 cat >conftest.
$ac_ext <<_ACEOF
24835 cat confdefs.h
>>conftest.
$ac_ext
24836 cat >>conftest.
$ac_ext <<_ACEOF
24837 /* end confdefs.h. */
24838 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24840 #define shmat innocuous_shmat
24842 /* System header to define __stub macros and hopefully few prototypes,
24843 which can conflict with char shmat (); below.
24844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24845 <limits.h> exists even on freestanding compilers. */
24848 # include <limits.h>
24850 # include <assert.h>
24855 /* Override any gcc2 internal prototype to avoid an error. */
24860 /* We use char because int might match the return type of a gcc2
24861 builtin and then its argument prototype would still apply. */
24863 /* The GNU C library defines this for functions which it implements
24864 to always fail with ENOSYS. Some functions are actually named
24865 something starting with __ and the normal name is an alias. */
24866 #if defined (__stub_shmat) || defined (__stub___shmat)
24869 char (*f) () = shmat;
24883 rm -f conftest.
$ac_objext conftest
$ac_exeext
24884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24885 (eval $ac_link) 2>conftest.er1
24887 grep -v '^ *+' conftest.er1
>conftest.err
24889 cat conftest.err
>&5
24890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24891 (exit $ac_status); } &&
24892 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24894 (eval $ac_try) 2>&5
24896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24897 (exit $ac_status); }; } &&
24898 { ac_try
='test -s conftest$ac_exeext'
24899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24900 (eval $ac_try) 2>&5
24902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24903 (exit $ac_status); }; }; then
24904 ac_cv_func_shmat
=yes
24906 echo "$as_me: failed program was:" >&5
24907 sed 's/^/| /' conftest.
$ac_ext >&5
24909 ac_cv_func_shmat
=no
24911 rm -f conftest.err conftest.
$ac_objext \
24912 conftest
$ac_exeext conftest.
$ac_ext
24914 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24915 echo "${ECHO_T}$ac_cv_func_shmat" >&6
24917 if test $ac_cv_func_shmat = no
; then
24918 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24919 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
24920 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24921 echo $ECHO_N "(cached) $ECHO_C" >&6
24923 ac_check_lib_save_LIBS
=$LIBS
24925 cat >conftest.
$ac_ext <<_ACEOF
24928 cat confdefs.h
>>conftest.
$ac_ext
24929 cat >>conftest.
$ac_ext <<_ACEOF
24930 /* end confdefs.h. */
24932 /* Override any gcc2 internal prototype to avoid an error. */
24936 /* We use char because int might match the return type of a gcc2
24937 builtin and then its argument prototype would still apply. */
24947 rm -f conftest.
$ac_objext conftest
$ac_exeext
24948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24949 (eval $ac_link) 2>conftest.er1
24951 grep -v '^ *+' conftest.er1
>conftest.err
24953 cat conftest.err
>&5
24954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24955 (exit $ac_status); } &&
24956 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24958 (eval $ac_try) 2>&5
24960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24961 (exit $ac_status); }; } &&
24962 { ac_try
='test -s conftest$ac_exeext'
24963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24964 (eval $ac_try) 2>&5
24966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24967 (exit $ac_status); }; }; then
24968 ac_cv_lib_ipc_shmat
=yes
24970 echo "$as_me: failed program was:" >&5
24971 sed 's/^/| /' conftest.
$ac_ext >&5
24973 ac_cv_lib_ipc_shmat
=no
24975 rm -f conftest.err conftest.
$ac_objext \
24976 conftest
$ac_exeext conftest.
$ac_ext
24977 LIBS
=$ac_check_lib_save_LIBS
24979 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24980 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24981 if test $ac_cv_lib_ipc_shmat = yes; then
24982 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
24988 # Check for libraries that X11R6 Xt/Xaw programs need.
24989 ac_save_LDFLAGS
=$LDFLAGS
24990 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
24991 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24992 # check for ICE first), but we must link in the order -lSM -lICE or
24993 # we get undefined symbols. So assume we have SM if we have ICE.
24994 # These have to be linked with before -lX11, unlike the other
24995 # libraries we check for below, so use a different variable.
24996 # John Interrante, Karl Berry
24997 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24998 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24999 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25000 echo $ECHO_N "(cached) $ECHO_C" >&6
25002 ac_check_lib_save_LIBS
=$LIBS
25003 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25004 cat >conftest.
$ac_ext <<_ACEOF
25007 cat confdefs.h
>>conftest.
$ac_ext
25008 cat >>conftest.
$ac_ext <<_ACEOF
25009 /* end confdefs.h. */
25011 /* Override any gcc2 internal prototype to avoid an error. */
25015 /* We use char because int might match the return type of a gcc2
25016 builtin and then its argument prototype would still apply. */
25017 char IceConnectionNumber ();
25021 IceConnectionNumber ();
25026 rm -f conftest.
$ac_objext conftest
$ac_exeext
25027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25028 (eval $ac_link) 2>conftest.er1
25030 grep -v '^ *+' conftest.er1
>conftest.err
25032 cat conftest.err
>&5
25033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25034 (exit $ac_status); } &&
25035 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25037 (eval $ac_try) 2>&5
25039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25040 (exit $ac_status); }; } &&
25041 { ac_try
='test -s conftest$ac_exeext'
25042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25043 (eval $ac_try) 2>&5
25045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25046 (exit $ac_status); }; }; then
25047 ac_cv_lib_ICE_IceConnectionNumber
=yes
25049 echo "$as_me: failed program was:" >&5
25050 sed 's/^/| /' conftest.
$ac_ext >&5
25052 ac_cv_lib_ICE_IceConnectionNumber
=no
25054 rm -f conftest.err conftest.
$ac_objext \
25055 conftest
$ac_exeext conftest.
$ac_ext
25056 LIBS
=$ac_check_lib_save_LIBS
25058 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25059 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25060 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25061 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25064 LDFLAGS
=$ac_save_LDFLAGS
25069 if test "$no_x" = "yes"; then
25070 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25071 echo "$as_me: error: X11 not found" >&2;}
25072 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25075 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25076 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25077 AFMINSTALL
=afminstall
25078 COMPILED_X_PROGRAM
=0
25082 if test "$wxUSE_X11" = 1; then
25083 if test "$wxUSE_NANOX" = "yes"; then
25084 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25085 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25086 if test "x$MICROWIN" = x
; then
25087 echo "$as_me:$LINENO: result: not found" >&5
25088 echo "${ECHO_T}not found" >&6
25089 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25090 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25091 { (exit 1); exit 1; }; }
25093 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25094 echo "${ECHO_T}$MICROWIN" >&6
25095 cat >>confdefs.h
<<\_ACEOF
25096 #define wxUSE_NANOX 1
25102 if test "$wxUSE_UNICODE" = "yes"; then
25106 if test -z "$PKG_CONFIG"; then
25107 # Extract the first word of "pkg-config", so it can be a program name with args.
25108 set dummy pkg
-config; ac_word
=$2
25109 echo "$as_me:$LINENO: checking for $ac_word" >&5
25110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25111 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25112 echo $ECHO_N "(cached) $ECHO_C" >&6
25114 case $PKG_CONFIG in
25116 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25120 for as_dir
in $PATH
25123 test -z "$as_dir" && as_dir
=.
25124 for ac_exec_ext
in '' $ac_executable_extensions; do
25125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25126 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25133 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25137 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25139 if test -n "$PKG_CONFIG"; then
25140 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25141 echo "${ECHO_T}$PKG_CONFIG" >&6
25143 echo "$as_me:$LINENO: result: no" >&5
25144 echo "${ECHO_T}no" >&6
25149 if test "$PKG_CONFIG" = "no" ; then
25150 echo "*** The pkg-config script could not be found. Make sure it is"
25151 echo "*** in your path, or set the PKG_CONFIG environment variable"
25152 echo "*** to the full path to pkg-config."
25153 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25155 PKG_CONFIG_MIN_VERSION
=0.9.0
25156 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25157 echo "$as_me:$LINENO: checking for pangox" >&5
25158 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25160 if $PKG_CONFIG --exists "pangox" ; then
25161 echo "$as_me:$LINENO: result: yes" >&5
25162 echo "${ECHO_T}yes" >&6
25165 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25166 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25167 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
25168 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25169 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25171 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25172 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25173 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
25174 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25175 echo "${ECHO_T}$PANGOX_LIBS" >&6
25179 ## If we have a custom action on failure, don't print errors, but
25180 ## do set a variable so people can do so.
25181 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25188 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25189 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25193 if test $succeeded = yes; then
25195 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
25196 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25200 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25201 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25202 { (exit 1); exit 1; }; }
25210 if test -z "$PKG_CONFIG"; then
25211 # Extract the first word of "pkg-config", so it can be a program name with args.
25212 set dummy pkg
-config; ac_word
=$2
25213 echo "$as_me:$LINENO: checking for $ac_word" >&5
25214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25215 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25216 echo $ECHO_N "(cached) $ECHO_C" >&6
25218 case $PKG_CONFIG in
25220 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25224 for as_dir
in $PATH
25227 test -z "$as_dir" && as_dir
=.
25228 for ac_exec_ext
in '' $ac_executable_extensions; do
25229 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25230 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25237 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25241 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25243 if test -n "$PKG_CONFIG"; then
25244 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25245 echo "${ECHO_T}$PKG_CONFIG" >&6
25247 echo "$as_me:$LINENO: result: no" >&5
25248 echo "${ECHO_T}no" >&6
25253 if test "$PKG_CONFIG" = "no" ; then
25254 echo "*** The pkg-config script could not be found. Make sure it is"
25255 echo "*** in your path, or set the PKG_CONFIG environment variable"
25256 echo "*** to the full path to pkg-config."
25257 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25259 PKG_CONFIG_MIN_VERSION
=0.9.0
25260 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25261 echo "$as_me:$LINENO: checking for pangoft2" >&5
25262 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25264 if $PKG_CONFIG --exists "pangoft2" ; then
25265 echo "$as_me:$LINENO: result: yes" >&5
25266 echo "${ECHO_T}yes" >&6
25269 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25270 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25271 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
25272 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25273 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25275 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25276 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25277 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
25278 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25279 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25283 ## If we have a custom action on failure, don't print errors, but
25284 ## do set a variable so people can do so.
25285 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25292 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25293 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25297 if test $succeeded = yes; then
25299 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
25300 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25304 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25305 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25306 wxUSE_PRINTING_ARCHITECTURE
="no"
25314 if test -z "$PKG_CONFIG"; then
25315 # Extract the first word of "pkg-config", so it can be a program name with args.
25316 set dummy pkg
-config; ac_word
=$2
25317 echo "$as_me:$LINENO: checking for $ac_word" >&5
25318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25319 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25320 echo $ECHO_N "(cached) $ECHO_C" >&6
25322 case $PKG_CONFIG in
25324 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25328 for as_dir
in $PATH
25331 test -z "$as_dir" && as_dir
=.
25332 for ac_exec_ext
in '' $ac_executable_extensions; do
25333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25334 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25341 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25345 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25347 if test -n "$PKG_CONFIG"; then
25348 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25349 echo "${ECHO_T}$PKG_CONFIG" >&6
25351 echo "$as_me:$LINENO: result: no" >&5
25352 echo "${ECHO_T}no" >&6
25357 if test "$PKG_CONFIG" = "no" ; then
25358 echo "*** The pkg-config script could not be found. Make sure it is"
25359 echo "*** in your path, or set the PKG_CONFIG environment variable"
25360 echo "*** to the full path to pkg-config."
25361 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25363 PKG_CONFIG_MIN_VERSION
=0.9.0
25364 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25365 echo "$as_me:$LINENO: checking for pangoxft" >&5
25366 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25368 if $PKG_CONFIG --exists "pangoxft" ; then
25369 echo "$as_me:$LINENO: result: yes" >&5
25370 echo "${ECHO_T}yes" >&6
25373 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25374 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25375 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
25376 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25377 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25379 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25380 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25381 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
25382 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25383 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25387 ## If we have a custom action on failure, don't print errors, but
25388 ## do set a variable so people can do so.
25389 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25396 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25397 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25401 if test $succeeded = yes; then
25403 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
25404 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25408 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25409 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25414 save_CFLAGS
="$CFLAGS"
25416 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
25417 LIBS
="$LIBS $PANGOX_LIBS"
25419 for ac_func
in pango_font_family_is_monospace
25421 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25422 echo "$as_me:$LINENO: checking for $ac_func" >&5
25423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25424 if eval "test \"\${$as_ac_var+set}\" = set"; then
25425 echo $ECHO_N "(cached) $ECHO_C" >&6
25427 cat >conftest.
$ac_ext <<_ACEOF
25430 cat confdefs.h
>>conftest.
$ac_ext
25431 cat >>conftest.
$ac_ext <<_ACEOF
25432 /* end confdefs.h. */
25433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25435 #define $ac_func innocuous_$ac_func
25437 /* System header to define __stub macros and hopefully few prototypes,
25438 which can conflict with char $ac_func (); below.
25439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25440 <limits.h> exists even on freestanding compilers. */
25443 # include <limits.h>
25445 # include <assert.h>
25450 /* Override any gcc2 internal prototype to avoid an error. */
25455 /* We use char because int might match the return type of a gcc2
25456 builtin and then its argument prototype would still apply. */
25458 /* The GNU C library defines this for functions which it implements
25459 to always fail with ENOSYS. Some functions are actually named
25460 something starting with __ and the normal name is an alias. */
25461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25464 char (*f) () = $ac_func;
25473 return f != $ac_func;
25478 rm -f conftest.
$ac_objext conftest
$ac_exeext
25479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25480 (eval $ac_link) 2>conftest.er1
25482 grep -v '^ *+' conftest.er1
>conftest.err
25484 cat conftest.err
>&5
25485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25486 (exit $ac_status); } &&
25487 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25489 (eval $ac_try) 2>&5
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); }; } &&
25493 { ac_try
='test -s conftest$ac_exeext'
25494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25495 (eval $ac_try) 2>&5
25497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25498 (exit $ac_status); }; }; then
25499 eval "$as_ac_var=yes"
25501 echo "$as_me: failed program was:" >&5
25502 sed 's/^/| /' conftest.
$ac_ext >&5
25504 eval "$as_ac_var=no"
25506 rm -f conftest.err conftest.
$ac_objext \
25507 conftest
$ac_exeext conftest.
$ac_ext
25509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25511 if test `eval echo '${'$as_ac_var'}'` = yes; then
25512 cat >>confdefs.h
<<_ACEOF
25513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25519 CFLAGS
="$save_CFLAGS"
25523 wxUSE_UNIVERSAL
="yes"
25525 if test "$wxUSE_NANOX" = "yes"; then
25526 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25527 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"
25528 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25530 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25533 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
25538 if test "$wxUSE_MOTIF" = 1; then
25539 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25540 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25543 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25545 if test -f "$ac_dir/Xm/Xm.h"; then
25546 ac_find_includes
=$ac_dir
25551 if test "$ac_find_includes" != "" ; then
25552 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25553 echo "${ECHO_T}found in $ac_find_includes" >&6
25555 if test "x$ac_find_includes" = "x/usr/include"; then
25556 ac_path_to_include
=""
25558 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
25560 if test $result = 0; then
25561 ac_path_to_include
=""
25563 ac_path_to_include
=" -I$ac_find_includes"
25567 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
25569 cat >conftest.
$ac_ext <<_ACEOF
25572 cat confdefs.h
>>conftest.
$ac_ext
25573 cat >>conftest.
$ac_ext <<_ACEOF
25574 /* end confdefs.h. */
25583 version = xmUseVersion;
25589 rm -f conftest.
$ac_objext
25590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25591 (eval $ac_compile) 2>conftest.er1
25593 grep -v '^ *+' conftest.er1
>conftest.err
25595 cat conftest.err
>&5
25596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25597 (exit $ac_status); } &&
25598 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25600 (eval $ac_try) 2>&5
25602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25603 (exit $ac_status); }; } &&
25604 { ac_try
='test -s conftest.$ac_objext'
25605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25606 (eval $ac_try) 2>&5
25608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25609 (exit $ac_status); }; }; then
25611 echo "$as_me:$LINENO: result: found in default search path" >&5
25612 echo "${ECHO_T}found in default search path" >&6
25613 COMPILED_X_PROGRAM
=1
25616 echo "$as_me: failed program was:" >&5
25617 sed 's/^/| /' conftest.
$ac_ext >&5
25620 echo "$as_me:$LINENO: result: no" >&5
25621 echo "${ECHO_T}no" >&6
25622 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
25623 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
25624 { (exit 1); exit 1; }; }
25628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25631 if test "$COMPILED_X_PROGRAM" = 0; then
25632 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
25633 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
25636 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25638 for ac_extension
in a so sl dylib
; do
25639 if test -f "$ac_dir/libXm.$ac_extension"; then
25640 ac_find_libraries
=$ac_dir
25646 if test "$ac_find_libraries" != "" ; then
25647 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25648 echo "${ECHO_T}found at $ac_find_libraries" >&6
25651 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25653 if test $result = 0; then
25656 ac_path_to_link
=" -L$ac_find_libraries"
25659 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
25661 save_CFLAGS
=$CFLAGS
25662 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25664 cat >conftest.
$ac_ext <<_ACEOF
25667 cat confdefs.h
>>conftest.
$ac_ext
25668 cat >>conftest.
$ac_ext <<_ACEOF
25669 /* end confdefs.h. */
25678 version = xmUseVersion;
25684 rm -f conftest.
$ac_objext
25685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25686 (eval $ac_compile) 2>conftest.er1
25688 grep -v '^ *+' conftest.er1
>conftest.err
25690 cat conftest.err
>&5
25691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25692 (exit $ac_status); } &&
25693 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25695 (eval $ac_try) 2>&5
25697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25698 (exit $ac_status); }; } &&
25699 { ac_try
='test -s conftest.$ac_objext'
25700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25701 (eval $ac_try) 2>&5
25703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25704 (exit $ac_status); }; }; then
25706 echo "$as_me:$LINENO: result: found in default search path" >&5
25707 echo "${ECHO_T}found in default search path" >&6
25708 COMPILED_X_PROGRAM
=1
25711 echo "$as_me: failed program was:" >&5
25712 sed 's/^/| /' conftest.
$ac_ext >&5
25715 echo "$as_me:$LINENO: result: no" >&5
25716 echo "${ECHO_T}no" >&6
25717 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
25718 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
25719 { (exit 1); exit 1; }; }
25723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25725 CFLAGS
=$save_CFLAGS
25729 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
25730 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
25734 for libp
in "" " -lXp"; do
25735 if test "$libs_found" = "0"; then
25736 for libsm_ice
in "" " -lSM -lICE"; do
25737 if test "$libs_found" = "0"; then
25739 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25740 save_CFLAGS
=$CFLAGS
25741 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25743 cat >conftest.
$ac_ext <<_ACEOF
25746 cat confdefs.h
>>conftest.
$ac_ext
25747 cat >>conftest.
$ac_ext <<_ACEOF
25748 /* end confdefs.h. */
25751 #include <Xm/List.h>
25757 XmString string = NULL;
25760 XmListAddItem(w, string, position);
25766 rm -f conftest.
$ac_objext conftest
$ac_exeext
25767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25768 (eval $ac_link) 2>conftest.er1
25770 grep -v '^ *+' conftest.er1
>conftest.err
25772 cat conftest.err
>&5
25773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25774 (exit $ac_status); } &&
25775 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25777 (eval $ac_try) 2>&5
25779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25780 (exit $ac_status); }; } &&
25781 { ac_try
='test -s conftest$ac_exeext'
25782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25783 (eval $ac_try) 2>&5
25785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25786 (exit $ac_status); }; }; then
25789 libsm_ice_link
="$libsm_ice"
25790 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
25791 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
25795 echo "$as_me: failed program was:" >&5
25796 sed 's/^/| /' conftest.
$ac_ext >&5
25801 rm -f conftest.err conftest.
$ac_objext \
25802 conftest
$ac_exeext conftest.
$ac_ext
25805 CFLAGS
=$save_CFLAGS
25811 if test "$libs_found" = "0"; then
25812 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
25813 echo "${ECHO_T}can't find the right libraries" >&6
25814 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
25815 echo "$as_me: error: can't link a simple motif program" >&2;}
25816 { (exit 1); exit 1; }; }
25819 save_CFLAGS
=$CFLAGS
25820 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25821 echo "$as_me:$LINENO: checking for Motif 2" >&5
25822 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
25823 cat >conftest.
$ac_ext <<_ACEOF
25826 cat confdefs.h
>>conftest.
$ac_ext
25827 cat >>conftest.
$ac_ext <<_ACEOF
25828 /* end confdefs.h. */
25836 #if XmVersion < 2000
25837 #error "Not Motif 2"
25844 rm -f conftest.
$ac_objext
25845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25846 (eval $ac_compile) 2>conftest.er1
25848 grep -v '^ *+' conftest.er1
>conftest.err
25850 cat conftest.err
>&5
25851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25852 (exit $ac_status); } &&
25853 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25855 (eval $ac_try) 2>&5
25857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25858 (exit $ac_status); }; } &&
25859 { ac_try
='test -s conftest.$ac_objext'
25860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25861 (eval $ac_try) 2>&5
25863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25864 (exit $ac_status); }; }; then
25866 cat >>confdefs.h
<<\_ACEOF
25867 #define __WXMOTIF20__ 1
25870 echo "$as_me:$LINENO: result: found" >&5
25871 echo "${ECHO_T}found" >&6
25874 echo "$as_me: failed program was:" >&5
25875 sed 's/^/| /' conftest.
$ac_ext >&5
25878 cat >>confdefs.h
<<\_ACEOF
25879 #define __WXMOTIF20__ 0
25882 echo "$as_me:$LINENO: result: not found" >&5
25883 echo "${ECHO_T}not found" >&6
25886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25887 CFLAGS
=$save_CFLAGS
25889 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
25890 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
25895 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25896 if test "$wxUSE_LIBXPM" = "sys"; then
25897 echo "$as_me:$LINENO: checking for Xpm library" >&5
25898 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
25901 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25903 for ac_extension
in a so sl dylib
; do
25904 if test -f "$ac_dir/libXpm.$ac_extension"; then
25905 ac_find_libraries
=$ac_dir
25911 if test "$ac_find_libraries" != "" ; then
25913 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25915 if test $result = 0; then
25918 ac_path_to_link
=" -L$ac_find_libraries"
25921 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
25922 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25923 echo "${ECHO_T}found at $ac_find_libraries" >&6
25925 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
25926 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
25927 if test "${wx_cv_x11_xpm_h+set}" = set; then
25928 echo $ECHO_N "(cached) $ECHO_C" >&6
25931 save_CFLAGS
=$CFLAGS
25932 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25934 cat >conftest.
$ac_ext <<_ACEOF
25937 cat confdefs.h
>>conftest.
$ac_ext
25938 cat >>conftest.
$ac_ext <<_ACEOF
25939 /* end confdefs.h. */
25941 #include <X11/xpm.h>
25948 version = XpmLibraryVersion();
25954 rm -f conftest.
$ac_objext
25955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25956 (eval $ac_compile) 2>conftest.er1
25958 grep -v '^ *+' conftest.er1
>conftest.err
25960 cat conftest.err
>&5
25961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25962 (exit $ac_status); } &&
25963 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25965 (eval $ac_try) 2>&5
25967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25968 (exit $ac_status); }; } &&
25969 { ac_try
='test -s conftest.$ac_objext'
25970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25971 (eval $ac_try) 2>&5
25973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25974 (exit $ac_status); }; }; then
25975 wx_cv_x11_xpm_h
=yes
25977 echo "$as_me: failed program was:" >&5
25978 sed 's/^/| /' conftest.
$ac_ext >&5
25983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25985 CFLAGS
=$save_CFLAGS
25989 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
25990 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
25992 if test $wx_cv_x11_xpm_h = "yes"; then
25993 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
25994 cat >>confdefs.h
<<\_ACEOF
25995 #define wxHAVE_LIB_XPM 1
25999 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26000 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26006 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26007 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26008 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26009 echo $ECHO_N "(cached) $ECHO_C" >&6
26011 ac_check_lib_save_LIBS
=$LIBS
26012 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26013 cat >conftest.
$ac_ext <<_ACEOF
26016 cat confdefs.h
>>conftest.
$ac_ext
26017 cat >>conftest.
$ac_ext <<_ACEOF
26018 /* end confdefs.h. */
26020 /* Override any gcc2 internal prototype to avoid an error. */
26024 /* We use char because int might match the return type of a gcc2
26025 builtin and then its argument prototype would still apply. */
26026 char XShapeQueryExtension ();
26030 XShapeQueryExtension ();
26035 rm -f conftest.
$ac_objext conftest
$ac_exeext
26036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26037 (eval $ac_link) 2>conftest.er1
26039 grep -v '^ *+' conftest.er1
>conftest.err
26041 cat conftest.err
>&5
26042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26043 (exit $ac_status); } &&
26044 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26046 (eval $ac_try) 2>&5
26048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26049 (exit $ac_status); }; } &&
26050 { ac_try
='test -s conftest$ac_exeext'
26051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26052 (eval $ac_try) 2>&5
26054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26055 (exit $ac_status); }; }; then
26056 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26058 echo "$as_me: failed program was:" >&5
26059 sed 's/^/| /' conftest.
$ac_ext >&5
26061 ac_cv_lib_Xext_XShapeQueryExtension
=no
26063 rm -f conftest.err conftest.
$ac_objext \
26064 conftest
$ac_exeext conftest.
$ac_ext
26065 LIBS
=$ac_check_lib_save_LIBS
26067 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26068 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26069 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26071 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26077 if test "$wxHAVE_XEXT_LIB" = 1; then
26078 save_CFLAGS
="$CFLAGS"
26079 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26081 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26082 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26083 cat >conftest.
$ac_ext <<_ACEOF
26086 cat confdefs.h
>>conftest.
$ac_ext
26087 cat >>conftest.
$ac_ext <<_ACEOF
26088 /* end confdefs.h. */
26090 #include <X11/Xlib.h>
26091 #include <X11/extensions/shape.h>
26097 int dummy1, dummy2;
26098 XShapeQueryExtension((Display*)NULL,
26099 (int*)NULL, (int*)NULL);
26105 rm -f conftest.
$ac_objext
26106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26107 (eval $ac_compile) 2>conftest.er1
26109 grep -v '^ *+' conftest.er1
>conftest.err
26111 cat conftest.err
>&5
26112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26113 (exit $ac_status); } &&
26114 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26116 (eval $ac_try) 2>&5
26118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26119 (exit $ac_status); }; } &&
26120 { ac_try
='test -s conftest.$ac_objext'
26121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26122 (eval $ac_try) 2>&5
26124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26125 (exit $ac_status); }; }; then
26127 cat >>confdefs.h
<<\_ACEOF
26128 #define HAVE_XSHAPE 1
26131 echo "$as_me:$LINENO: result: found" >&5
26132 echo "${ECHO_T}found" >&6
26135 echo "$as_me: failed program was:" >&5
26136 sed 's/^/| /' conftest.
$ac_ext >&5
26139 echo "$as_me:$LINENO: result: not found" >&5
26140 echo "${ECHO_T}not found" >&6
26143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26144 CFLAGS
="$save_CFLAGS"
26149 if test "$wxUSE_MAC" = 1; then
26150 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26151 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26152 if test "$GCC" = yes; then
26153 echo "$as_me:$LINENO: result: gcc" >&5
26154 echo "${ECHO_T}gcc" >&6
26155 CPPFLAGS_PASCAL
="-fpascal-strings"
26156 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26157 echo "$as_me:$LINENO: result: xlc" >&5
26158 echo "${ECHO_T}xlc" >&6
26159 CPPFLAGS_PASCAL
="-qmacpstr"
26161 echo "$as_me:$LINENO: result: none" >&5
26162 echo "${ECHO_T}none" >&6
26165 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26167 TOOLKIT_VPATH
="\${top_srcdir}/src/mac/carbon${PATH_IFS}\${top_srcdir}/src/mac/carbon/morefilex"
26170 WXBASEPORT
="_carbon"
26173 if test "$wxUSE_COCOA" = 1; then
26174 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
26179 if test "$wxUSE_PM" = 1; then
26182 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26183 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26184 if test "${wx_cv_spbcdata+set}" = set; then
26185 echo $ECHO_N "(cached) $ECHO_C" >&6
26188 cat >conftest.
$ac_ext <<_ACEOF
26191 cat confdefs.h
>>conftest.
$ac_ext
26192 cat >>conftest.
$ac_ext <<_ACEOF
26193 /* end confdefs.h. */
26208 rm -f conftest.
$ac_objext
26209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26210 (eval $ac_compile) 2>conftest.er1
26212 grep -v '^ *+' conftest.er1
>conftest.err
26214 cat conftest.err
>&5
26215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26216 (exit $ac_status); } &&
26217 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26219 (eval $ac_try) 2>&5
26221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26222 (exit $ac_status); }; } &&
26223 { ac_try
='test -s conftest.$ac_objext'
26224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26225 (eval $ac_try) 2>&5
26227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26228 (exit $ac_status); }; }; then
26231 echo "$as_me: failed program was:" >&5
26232 sed 's/^/| /' conftest.
$ac_ext >&5
26237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26241 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26242 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26244 if test $wx_cv_spbcdata = "yes"; then
26245 cat >>confdefs.h
<<\_ACEOF
26246 #define HAVE_SPBCDATA 1
26252 if test "$TOOLKIT" = "PM" ; then
26255 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26258 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26260 if test "$wxUSE_UNIVERSAL" = "yes"; then
26261 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26263 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26264 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26266 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26267 if test "$wxUSE_X11" = 1; then
26268 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26270 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26272 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26275 ALL_OBJECTS
="\$(GUIOBJS)"
26276 ALL_SOURCES
="\$(ALL_SOURCES)"
26277 ALL_HEADERS
="\$(ALL_HEADERS)"
26280 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26282 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26283 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
26286 if test "$wxUSE_HTML" = "yes"; then
26287 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
26290 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26291 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
26293 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26294 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
26296 if test "$wxUSE_LIBPNG" = "builtin" ; then
26297 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
26300 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26301 DISTDIR
="wx\$(TOOLKIT)"
26307 if test "$USE_WIN32" = 1 ; then
26308 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26309 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
26313 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26314 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
26317 ALL_SOURCES
="\$(ALL_SOURCES)"
26318 ALL_HEADERS
="\$(ALL_HEADERS)"
26320 PORT_FILES
="\${top_srcdir}/src/files.lst"
26322 GUIDIST
="BASE_DIST"
26332 if test "$TOOLKIT" != "MSW" ; then
26334 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26336 if test "${ac_cv_header_sql_h+set}" = set; then
26337 echo "$as_me:$LINENO: checking for sql.h" >&5
26338 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26339 if test "${ac_cv_header_sql_h+set}" = set; then
26340 echo $ECHO_N "(cached) $ECHO_C" >&6
26342 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26343 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26345 # Is the header compilable?
26346 echo "$as_me:$LINENO: checking sql.h usability" >&5
26347 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26348 cat >conftest.
$ac_ext <<_ACEOF
26351 cat confdefs.h
>>conftest.
$ac_ext
26352 cat >>conftest.
$ac_ext <<_ACEOF
26353 /* end confdefs.h. */
26354 $ac_includes_default
26357 rm -f conftest.
$ac_objext
26358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26359 (eval $ac_compile) 2>conftest.er1
26361 grep -v '^ *+' conftest.er1
>conftest.err
26363 cat conftest.err
>&5
26364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26365 (exit $ac_status); } &&
26366 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26368 (eval $ac_try) 2>&5
26370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26371 (exit $ac_status); }; } &&
26372 { ac_try
='test -s conftest.$ac_objext'
26373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26374 (eval $ac_try) 2>&5
26376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26377 (exit $ac_status); }; }; then
26378 ac_header_compiler
=yes
26380 echo "$as_me: failed program was:" >&5
26381 sed 's/^/| /' conftest.
$ac_ext >&5
26383 ac_header_compiler
=no
26385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26387 echo "${ECHO_T}$ac_header_compiler" >&6
26389 # Is the header present?
26390 echo "$as_me:$LINENO: checking sql.h presence" >&5
26391 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26392 cat >conftest.
$ac_ext <<_ACEOF
26395 cat confdefs.h
>>conftest.
$ac_ext
26396 cat >>conftest.
$ac_ext <<_ACEOF
26397 /* end confdefs.h. */
26400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26401 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26403 grep -v '^ *+' conftest.er1
>conftest.err
26405 cat conftest.err
>&5
26406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26407 (exit $ac_status); } >/dev
/null
; then
26408 if test -s conftest.err
; then
26409 ac_cpp_err
=$ac_c_preproc_warn_flag
26410 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26417 if test -z "$ac_cpp_err"; then
26418 ac_header_preproc
=yes
26420 echo "$as_me: failed program was:" >&5
26421 sed 's/^/| /' conftest.
$ac_ext >&5
26423 ac_header_preproc
=no
26425 rm -f conftest.err conftest.
$ac_ext
26426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26427 echo "${ECHO_T}$ac_header_preproc" >&6
26429 # So? What about this header?
26430 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26432 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26433 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26434 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26435 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26436 ac_header_preproc
=yes
26439 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26440 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26441 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26442 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26443 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26444 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26445 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26446 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26447 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26448 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26449 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26450 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26453 ## ----------------------------------------- ##
26454 ## Report this to wx-dev@lists.wxwidgets.org ##
26455 ## ----------------------------------------- ##
26458 sed "s/^/$as_me: WARNING: /" >&2
26461 echo "$as_me:$LINENO: checking for sql.h" >&5
26462 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26463 if test "${ac_cv_header_sql_h+set}" = set; then
26464 echo $ECHO_N "(cached) $ECHO_C" >&6
26466 ac_cv_header_sql_h
=$ac_header_preproc
26468 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26469 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26472 if test $ac_cv_header_sql_h = yes; then
26477 if test "x$found_sql_h" = "x1" ; then
26478 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26479 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26480 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26481 echo $ECHO_N "(cached) $ECHO_C" >&6
26483 ac_check_lib_save_LIBS
=$LIBS
26484 LIBS
="-liodbc $LIBS"
26485 cat >conftest.
$ac_ext <<_ACEOF
26488 cat confdefs.h
>>conftest.
$ac_ext
26489 cat >>conftest.
$ac_ext <<_ACEOF
26490 /* end confdefs.h. */
26492 /* Override any gcc2 internal prototype to avoid an error. */
26496 /* We use char because int might match the return type of a gcc2
26497 builtin and then its argument prototype would still apply. */
26498 char SQLAllocEnv ();
26507 rm -f conftest.
$ac_objext conftest
$ac_exeext
26508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26509 (eval $ac_link) 2>conftest.er1
26511 grep -v '^ *+' conftest.er1
>conftest.err
26513 cat conftest.err
>&5
26514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515 (exit $ac_status); } &&
26516 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26518 (eval $ac_try) 2>&5
26520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26521 (exit $ac_status); }; } &&
26522 { ac_try
='test -s conftest$ac_exeext'
26523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26524 (eval $ac_try) 2>&5
26526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26527 (exit $ac_status); }; }; then
26528 ac_cv_lib_iodbc_SQLAllocEnv
=yes
26530 echo "$as_me: failed program was:" >&5
26531 sed 's/^/| /' conftest.
$ac_ext >&5
26533 ac_cv_lib_iodbc_SQLAllocEnv
=no
26535 rm -f conftest.err conftest.
$ac_objext \
26536 conftest
$ac_exeext conftest.
$ac_ext
26537 LIBS
=$ac_check_lib_save_LIBS
26539 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26540 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26541 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26542 ODBC_LINK
=" -liodbc"
26545 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26546 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26547 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26548 echo $ECHO_N "(cached) $ECHO_C" >&6
26550 ac_check_lib_save_LIBS
=$LIBS
26551 LIBS
="-lunixodbc $LIBS"
26552 cat >conftest.
$ac_ext <<_ACEOF
26555 cat confdefs.h
>>conftest.
$ac_ext
26556 cat >>conftest.
$ac_ext <<_ACEOF
26557 /* end confdefs.h. */
26559 /* Override any gcc2 internal prototype to avoid an error. */
26563 /* We use char because int might match the return type of a gcc2
26564 builtin and then its argument prototype would still apply. */
26565 char SQLAllocEnv ();
26574 rm -f conftest.
$ac_objext conftest
$ac_exeext
26575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26576 (eval $ac_link) 2>conftest.er1
26578 grep -v '^ *+' conftest.er1
>conftest.err
26580 cat conftest.err
>&5
26581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26582 (exit $ac_status); } &&
26583 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26585 (eval $ac_try) 2>&5
26587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26588 (exit $ac_status); }; } &&
26589 { ac_try
='test -s conftest$ac_exeext'
26590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26591 (eval $ac_try) 2>&5
26593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26594 (exit $ac_status); }; }; then
26595 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
26597 echo "$as_me: failed program was:" >&5
26598 sed 's/^/| /' conftest.
$ac_ext >&5
26600 ac_cv_lib_unixodbc_SQLAllocEnv
=no
26602 rm -f conftest.err conftest.
$ac_objext \
26603 conftest
$ac_exeext conftest.
$ac_ext
26604 LIBS
=$ac_check_lib_save_LIBS
26606 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26607 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26608 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26609 ODBC_LINK
=" -lunixodbc"
26612 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26613 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26614 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26615 echo $ECHO_N "(cached) $ECHO_C" >&6
26617 ac_check_lib_save_LIBS
=$LIBS
26618 LIBS
="-lodbc $LIBS"
26619 cat >conftest.
$ac_ext <<_ACEOF
26622 cat confdefs.h
>>conftest.
$ac_ext
26623 cat >>conftest.
$ac_ext <<_ACEOF
26624 /* end confdefs.h. */
26626 /* Override any gcc2 internal prototype to avoid an error. */
26630 /* We use char because int might match the return type of a gcc2
26631 builtin and then its argument prototype would still apply. */
26632 char SQLAllocEnv ();
26641 rm -f conftest.
$ac_objext conftest
$ac_exeext
26642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26643 (eval $ac_link) 2>conftest.er1
26645 grep -v '^ *+' conftest.er1
>conftest.err
26647 cat conftest.err
>&5
26648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26649 (exit $ac_status); } &&
26650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26652 (eval $ac_try) 2>&5
26654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26655 (exit $ac_status); }; } &&
26656 { ac_try
='test -s conftest$ac_exeext'
26657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26658 (eval $ac_try) 2>&5
26660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26661 (exit $ac_status); }; }; then
26662 ac_cv_lib_odbc_SQLAllocEnv
=yes
26664 echo "$as_me: failed program was:" >&5
26665 sed 's/^/| /' conftest.
$ac_ext >&5
26667 ac_cv_lib_odbc_SQLAllocEnv
=no
26669 rm -f conftest.err conftest.
$ac_objext \
26670 conftest
$ac_exeext conftest.
$ac_ext
26671 LIBS
=$ac_check_lib_save_LIBS
26673 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
26674 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
26675 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
26676 ODBC_LINK
=" -lodbc"
26686 if test "x$ODBC_LINK" = "x" ; then
26687 if test "$wxUSE_ODBC" = "sys" ; then
26688 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
26689 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
26690 { (exit 1); exit 1; }; }
26692 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
26693 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
26700 if test "$wxUSE_ODBC" != "no" ; then
26701 cat >>confdefs.h
<<\_ACEOF
26702 #define wxUSE_ODBC 1
26705 if test "$wxUSE_ODBC" = "builtin" ; then
26706 cat >>confdefs.h
<<\_ACEOF
26707 #define wxUSE_BUILTIN_IODBC 1
26711 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
26713 WXODBCFLAG
="-D_IODBC_"
26717 if test "$wxUSE_REGEX" = "builtin" ; then
26718 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
26720 if test "$wxUSE_ZLIB" = "builtin" ; then
26721 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
26725 if test "$wxUSE_DISPLAY" = "yes"; then
26726 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
26727 echo "$as_me:$LINENO: checking for Xinerama" >&5
26728 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
26731 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26733 for ac_extension
in a so sl dylib
; do
26734 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26735 ac_find_libraries
=$ac_dir
26741 if test "$ac_find_libraries" != "" ; then
26743 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26745 if test $result = 0; then
26748 ac_path_to_link
=" -L$ac_find_libraries"
26751 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26752 LDFLAGS
="$LDFLAGS $ac_path_to_link"
26754 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
26755 echo "$as_me:$LINENO: result: yes" >&5
26756 echo "${ECHO_T}yes" >&6
26758 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
26759 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
26762 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26764 for ac_extension
in a so sl dylib
; do
26765 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
26766 ac_find_libraries
=$ac_dir
26772 if test "$ac_find_libraries" != "" ; then
26773 echo "$as_me:$LINENO: result: yes" >&5
26774 echo "${ECHO_T}yes" >&6
26776 for ac_header
in X
11/extensions
/xf86vmode.h
26778 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26779 echo "$as_me:$LINENO: checking for $ac_header" >&5
26780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26782 echo $ECHO_N "(cached) $ECHO_C" >&6
26784 cat >conftest.
$ac_ext <<_ACEOF
26787 cat confdefs.h
>>conftest.
$ac_ext
26788 cat >>conftest.
$ac_ext <<_ACEOF
26789 /* end confdefs.h. */
26791 #if HAVE_X11_XLIB_H
26792 #include <X11/Xlib.h>
26796 #include <$ac_header>
26798 rm -f conftest.
$ac_objext
26799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26800 (eval $ac_compile) 2>conftest.er1
26802 grep -v '^ *+' conftest.er1
>conftest.err
26804 cat conftest.err
>&5
26805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26806 (exit $ac_status); } &&
26807 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26809 (eval $ac_try) 2>&5
26811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26812 (exit $ac_status); }; } &&
26813 { ac_try
='test -s conftest.$ac_objext'
26814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26815 (eval $ac_try) 2>&5
26817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26818 (exit $ac_status); }; }; then
26819 eval "$as_ac_Header=yes"
26821 echo "$as_me: failed program was:" >&5
26822 sed 's/^/| /' conftest.
$ac_ext >&5
26824 eval "$as_ac_Header=no"
26826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26830 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26831 cat >>confdefs.h
<<_ACEOF
26832 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26835 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
26842 echo "$as_me:$LINENO: result: no" >&5
26843 echo "${ECHO_T}no" >&6
26847 echo "$as_me:$LINENO: result: no" >&5
26848 echo "${ECHO_T}no" >&6
26849 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
26850 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26853 elif test "$wxUSE_MSW" = 1; then
26856 for ac_header
in multimon.h ddraw.h
26858 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26860 echo "$as_me:$LINENO: checking for $ac_header" >&5
26861 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26862 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26863 echo $ECHO_N "(cached) $ECHO_C" >&6
26865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26866 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26868 # Is the header compilable?
26869 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26870 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26871 cat >conftest.
$ac_ext <<_ACEOF
26874 cat confdefs.h
>>conftest.
$ac_ext
26875 cat >>conftest.
$ac_ext <<_ACEOF
26876 /* end confdefs.h. */
26877 $ac_includes_default
26878 #include <$ac_header>
26880 rm -f conftest.
$ac_objext
26881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26882 (eval $ac_compile) 2>conftest.er1
26884 grep -v '^ *+' conftest.er1
>conftest.err
26886 cat conftest.err
>&5
26887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26888 (exit $ac_status); } &&
26889 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26891 (eval $ac_try) 2>&5
26893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894 (exit $ac_status); }; } &&
26895 { ac_try
='test -s conftest.$ac_objext'
26896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26897 (eval $ac_try) 2>&5
26899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26900 (exit $ac_status); }; }; then
26901 ac_header_compiler
=yes
26903 echo "$as_me: failed program was:" >&5
26904 sed 's/^/| /' conftest.
$ac_ext >&5
26906 ac_header_compiler
=no
26908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26909 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26910 echo "${ECHO_T}$ac_header_compiler" >&6
26912 # Is the header present?
26913 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26914 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26915 cat >conftest.
$ac_ext <<_ACEOF
26918 cat confdefs.h
>>conftest.
$ac_ext
26919 cat >>conftest.
$ac_ext <<_ACEOF
26920 /* end confdefs.h. */
26921 #include <$ac_header>
26923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26924 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26926 grep -v '^ *+' conftest.er1
>conftest.err
26928 cat conftest.err
>&5
26929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26930 (exit $ac_status); } >/dev
/null
; then
26931 if test -s conftest.err
; then
26932 ac_cpp_err
=$ac_c_preproc_warn_flag
26933 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26940 if test -z "$ac_cpp_err"; then
26941 ac_header_preproc
=yes
26943 echo "$as_me: failed program was:" >&5
26944 sed 's/^/| /' conftest.
$ac_ext >&5
26946 ac_header_preproc
=no
26948 rm -f conftest.err conftest.
$ac_ext
26949 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26950 echo "${ECHO_T}$ac_header_preproc" >&6
26952 # So? What about this header?
26953 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26955 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26956 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26957 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26958 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26959 ac_header_preproc
=yes
26962 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26963 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26964 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26965 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26966 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26967 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26968 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26969 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26971 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26972 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26973 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26976 ## ----------------------------------------- ##
26977 ## Report this to wx-dev@lists.wxwidgets.org ##
26978 ## ----------------------------------------- ##
26981 sed "s/^/$as_me: WARNING: /" >&2
26984 echo "$as_me:$LINENO: checking for $ac_header" >&5
26985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26987 echo $ECHO_N "(cached) $ECHO_C" >&6
26989 eval "$as_ac_Header=\$ac_header_preproc"
26991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26996 cat >>confdefs.h
<<_ACEOF
26997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27003 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27004 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27015 if test "$wxUSE_OPENGL" = "yes"; then
27016 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27017 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27018 elif test "$wxUSE_MSW" = 1; then
27019 OPENGL_LIBS
="-lopengl32 -lglu32"
27024 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27026 if test -f "$ac_dir/GL/gl.h"; then
27027 ac_find_includes
=$ac_dir
27032 if test "$ac_find_includes" != "" ; then
27033 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27034 echo "${ECHO_T}found in $ac_find_includes" >&6
27036 if test "x$ac_find_includes" = "x/usr/include"; then
27037 ac_path_to_include
=""
27039 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27041 if test $result = 0; then
27042 ac_path_to_include
=""
27044 ac_path_to_include
=" -I$ac_find_includes"
27048 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27051 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27052 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27053 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27054 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27055 echo $ECHO_N "(cached) $ECHO_C" >&6
27057 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27058 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27060 # Is the header compilable?
27061 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27062 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27063 cat >conftest.
$ac_ext <<_ACEOF
27066 cat confdefs.h
>>conftest.
$ac_ext
27067 cat >>conftest.
$ac_ext <<_ACEOF
27068 /* end confdefs.h. */
27069 $ac_includes_default
27072 rm -f conftest.
$ac_objext
27073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27074 (eval $ac_compile) 2>conftest.er1
27076 grep -v '^ *+' conftest.er1
>conftest.err
27078 cat conftest.err
>&5
27079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27080 (exit $ac_status); } &&
27081 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27083 (eval $ac_try) 2>&5
27085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27086 (exit $ac_status); }; } &&
27087 { ac_try
='test -s conftest.$ac_objext'
27088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27089 (eval $ac_try) 2>&5
27091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27092 (exit $ac_status); }; }; then
27093 ac_header_compiler
=yes
27095 echo "$as_me: failed program was:" >&5
27096 sed 's/^/| /' conftest.
$ac_ext >&5
27098 ac_header_compiler
=no
27100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27101 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27102 echo "${ECHO_T}$ac_header_compiler" >&6
27104 # Is the header present?
27105 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27106 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27107 cat >conftest.
$ac_ext <<_ACEOF
27110 cat confdefs.h
>>conftest.
$ac_ext
27111 cat >>conftest.
$ac_ext <<_ACEOF
27112 /* end confdefs.h. */
27115 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27116 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27118 grep -v '^ *+' conftest.er1
>conftest.err
27120 cat conftest.err
>&5
27121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27122 (exit $ac_status); } >/dev
/null
; then
27123 if test -s conftest.err
; then
27124 ac_cpp_err
=$ac_c_preproc_warn_flag
27125 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27132 if test -z "$ac_cpp_err"; then
27133 ac_header_preproc
=yes
27135 echo "$as_me: failed program was:" >&5
27136 sed 's/^/| /' conftest.
$ac_ext >&5
27138 ac_header_preproc
=no
27140 rm -f conftest.err conftest.
$ac_ext
27141 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27142 echo "${ECHO_T}$ac_header_preproc" >&6
27144 # So? What about this header?
27145 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27147 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27148 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27149 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27150 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27151 ac_header_preproc
=yes
27154 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27155 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27156 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27157 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27158 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27159 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27160 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27161 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27162 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27163 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27164 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27165 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27168 ## ----------------------------------------- ##
27169 ## Report this to wx-dev@lists.wxwidgets.org ##
27170 ## ----------------------------------------- ##
27173 sed "s/^/$as_me: WARNING: /" >&2
27176 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27177 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27178 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27179 echo $ECHO_N "(cached) $ECHO_C" >&6
27181 ac_cv_header_GL_gl_h
=$ac_header_preproc
27183 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27184 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27187 if test $ac_cv_header_GL_gl_h = yes; then
27191 echo "$as_me:$LINENO: checking for -lGL" >&5
27192 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27195 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27197 for ac_extension
in a so sl dylib
; do
27198 if test -f "$ac_dir/libGL.$ac_extension"; then
27199 ac_find_libraries
=$ac_dir
27205 if test "$ac_find_libraries" != "" ; then
27207 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27209 if test $result = 0; then
27212 ac_path_to_link
=" -L$ac_find_libraries"
27215 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27216 LDFLAGS_GL
="$ac_path_to_link"
27221 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27223 for ac_extension
in a so sl dylib
; do
27224 if test -f "$ac_dir/libGLU.$ac_extension"; then
27225 ac_find_libraries
=$ac_dir
27231 if test "$ac_find_libraries" != "" ; then
27233 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27235 if test $result = 0; then
27238 ac_path_to_link
=" -L$ac_find_libraries"
27241 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27242 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27243 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27247 OPENGL_LIBS
="-lGL -lGLU"
27248 echo "$as_me:$LINENO: result: yes" >&5
27249 echo "${ECHO_T}yes" >&6
27253 if test "$found_gl" != 1; then
27254 echo "$as_me:$LINENO: result: no" >&5
27255 echo "${ECHO_T}no" >&6
27256 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27257 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27260 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27262 for ac_extension
in a so sl dylib
; do
27263 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27264 ac_find_libraries
=$ac_dir
27270 if test "$ac_find_libraries" != "" ; then
27272 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27274 if test $result = 0; then
27277 ac_path_to_link
=" -L$ac_find_libraries"
27280 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27281 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27282 echo "$as_me:$LINENO: result: yes" >&5
27283 echo "${ECHO_T}yes" >&6
27285 echo "$as_me:$LINENO: result: no" >&5
27286 echo "${ECHO_T}no" >&6
27294 if test "x$OPENGL_LIBS" = "x"; then
27295 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27296 echo "$as_me: error: OpenGL libraries not available" >&2;}
27297 { (exit 1); exit 1; }; }
27301 if test "$wxUSE_OPENGL" = "yes"; then
27303 cat >>confdefs.h
<<\_ACEOF
27304 #define wxUSE_OPENGL 1
27307 cat >>confdefs.h
<<\_ACEOF
27308 #define wxUSE_GLCANVAS 1
27311 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27315 if test -z "$TOOLKIT_VPATH" ; then
27316 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
27319 if test -n "$TOOLKIT" ; then
27320 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27324 lib_unicode_suffix
=
27325 wxconfig_filename_unicode
="ansi"
27326 if test "$wxUSE_UNICODE" = "yes"; then
27327 lib_unicode_suffix
=u
27328 wxconfig_filename_unicode
="unicode"
27333 wxconfig_filename_debug
="release"
27335 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27337 wxconfig_filename_debug
="debug"
27342 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27346 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27348 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
27349 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
27351 WXCONFIG_DATA_FILE
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${wxconfig_filename_unicode}-${wxconfig_filename_debug}-${WX_RELEASE}"
27353 if test "$cross_compiling" = "yes"; then
27354 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
27355 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
27356 WXCONFIG_DATA_FILE
="${WXCONFIG_DATA_FILE}-${host_alias}"
27357 HOST_SUFFIX
="-${host_alias}"
27360 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
27361 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
27362 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
27363 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
27365 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27366 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27368 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
27369 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27370 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
27371 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27374 *-*-cygwin* | *-*-mingw32* )
27375 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27376 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27381 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27382 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27384 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
27385 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27386 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
27387 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27389 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27390 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
27391 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
27396 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
27397 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
27399 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
27400 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
27402 if test "$wxUSE_OPENGL" = "yes"; then
27403 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
27404 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
27409 if test "$wxUSE_SHARED" = "yes"; then
27413 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27414 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27420 if test "$wxUSE_SHARED" = "yes"; then
27424 found_versioning
=no
27427 if test $found_versioning = no
; then
27428 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27429 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27430 if test "${wx_cv_version_script+set}" = set; then
27431 echo $ECHO_N "(cached) $ECHO_C" >&6
27434 echo "VER_1 { *; };" >conftest.sym
27435 echo "int main() { return 0; }" >conftest.cpp
27438 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27439 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27441 (eval $ac_try) 2>&5
27443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27444 (exit $ac_status); }; } ; then
27445 if test -s conftest.stderr
; then
27446 wx_cv_version_script
=no
27448 wx_cv_version_script
=yes
27451 wx_cv_version_script
=no
27453 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27456 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27457 echo "${ECHO_T}$wx_cv_version_script" >&6
27458 if test $wx_cv_version_script = yes ; then
27459 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
27465 *-*-linux* | *-*-gnu* )
27466 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27470 if test "$GCC" = yes ; then
27471 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27473 saveLdflags
="$LDFLAGS"
27474 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27475 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27476 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27477 cat >conftest.
$ac_ext <<_ACEOF
27480 cat confdefs.h
>>conftest.
$ac_ext
27481 cat >>conftest.
$ac_ext <<_ACEOF
27482 /* end confdefs.h. */
27492 rm -f conftest.
$ac_objext conftest
$ac_exeext
27493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27494 (eval $ac_link) 2>conftest.er1
27496 grep -v '^ *+' conftest.er1
>conftest.err
27498 cat conftest.err
>&5
27499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27500 (exit $ac_status); } &&
27501 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27503 (eval $ac_try) 2>&5
27505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27506 (exit $ac_status); }; } &&
27507 { ac_try
='test -s conftest$ac_exeext'
27508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27509 (eval $ac_try) 2>&5
27511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27512 (exit $ac_status); }; }; then
27514 echo "$as_me:$LINENO: result: yes" >&5
27515 echo "${ECHO_T}yes" >&6
27516 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27519 echo "$as_me: failed program was:" >&5
27520 sed 's/^/| /' conftest.
$ac_ext >&5
27523 echo "$as_me:$LINENO: result: no" >&5
27524 echo "${ECHO_T}no" >&6
27525 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27526 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27527 LDFLAGS
="$saveLdflags -Wl,-R,/"
27528 cat >conftest.
$ac_ext <<_ACEOF
27531 cat confdefs.h
>>conftest.
$ac_ext
27532 cat >>conftest.
$ac_ext <<_ACEOF
27533 /* end confdefs.h. */
27543 rm -f conftest.
$ac_objext conftest
$ac_exeext
27544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27545 (eval $ac_link) 2>conftest.er1
27547 grep -v '^ *+' conftest.er1
>conftest.err
27549 cat conftest.err
>&5
27550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27551 (exit $ac_status); } &&
27552 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27554 (eval $ac_try) 2>&5
27556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27557 (exit $ac_status); }; } &&
27558 { ac_try
='test -s conftest$ac_exeext'
27559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27560 (eval $ac_try) 2>&5
27562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27563 (exit $ac_status); }; }; then
27565 echo "$as_me:$LINENO: result: yes" >&5
27566 echo "${ECHO_T}yes" >&6
27567 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
27569 echo "$as_me: failed program was:" >&5
27570 sed 's/^/| /' conftest.
$ac_ext >&5
27573 echo "$as_me:$LINENO: result: no" >&5
27574 echo "${ECHO_T}no" >&6
27577 rm -f conftest.err conftest.
$ac_objext \
27578 conftest
$ac_exeext conftest.
$ac_ext
27581 rm -f conftest.err conftest.
$ac_objext \
27582 conftest
$ac_exeext conftest.
$ac_ext
27583 LDFLAGS
="$saveLdflags"
27585 SHARED_LD
="${CXX} -G -o"
27587 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
27591 powerpc
-*-darwin* )
27592 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27593 cat <<EOF >change-install-names
27595 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27596 inst_cmd="install_name_tool "
27597 for i in \${libnames} ; do
27598 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27602 chmod +x change
-install-names
27605 *-*-cygwin* | *-*-mingw32* )
27606 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
27611 if test "x$WX_TARGET_LIBRARY" = "x"; then
27612 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
27613 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
27616 WX_TARGET_LIBRARY_TYPE
="so"
27617 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
27620 if test "$wxUSE_SHARED" = "no"; then
27622 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
27623 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
27626 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
27627 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
27630 if test "$wxUSE_OPENGL" = "yes"; then
27631 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
27632 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
27634 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
27637 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
27638 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
27640 WX_TARGET_LIBRARY_TYPE
="a"
27641 INSTALL_LIBRARY
='$(INSTALL_DATA)'
27648 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27649 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27650 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
27651 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
27653 # Extract the first word of "Rez", so it can be a program name with args.
27654 set dummy Rez
; ac_word
=$2
27655 echo "$as_me:$LINENO: checking for $ac_word" >&5
27656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27657 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27658 echo $ECHO_N "(cached) $ECHO_C" >&6
27660 if test -n "$RESCOMP"; then
27661 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
27663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27664 for as_dir
in $PATH
27667 test -z "$as_dir" && as_dir
=.
27668 for ac_exec_ext
in '' $ac_executable_extensions; do
27669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27670 ac_cv_prog_RESCOMP
="Rez"
27671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27677 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
27680 RESCOMP
=$ac_cv_prog_RESCOMP
27681 if test -n "$RESCOMP"; then
27682 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27683 echo "${ECHO_T}$RESCOMP" >&6
27685 echo "$as_me:$LINENO: result: no" >&5
27686 echo "${ECHO_T}no" >&6
27689 # Extract the first word of "DeRez", so it can be a program name with args.
27690 set dummy DeRez
; ac_word
=$2
27691 echo "$as_me:$LINENO: checking for $ac_word" >&5
27692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27693 if test "${ac_cv_prog_DEREZ+set}" = set; then
27694 echo $ECHO_N "(cached) $ECHO_C" >&6
27696 if test -n "$DEREZ"; then
27697 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
27699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27700 for as_dir
in $PATH
27703 test -z "$as_dir" && as_dir
=.
27704 for ac_exec_ext
in '' $ac_executable_extensions; do
27705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27706 ac_cv_prog_DEREZ
="DeRez"
27707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27713 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
27716 DEREZ
=$ac_cv_prog_DEREZ
27717 if test -n "$DEREZ"; then
27718 echo "$as_me:$LINENO: result: $DEREZ" >&5
27719 echo "${ECHO_T}$DEREZ" >&6
27721 echo "$as_me:$LINENO: result: no" >&5
27722 echo "${ECHO_T}no" >&6
27725 # Extract the first word of "SetFile", so it can be a program name with args.
27726 set dummy SetFile
; ac_word
=$2
27727 echo "$as_me:$LINENO: checking for $ac_word" >&5
27728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27729 if test "${ac_cv_prog_SETFILE+set}" = set; then
27730 echo $ECHO_N "(cached) $ECHO_C" >&6
27732 if test -n "$SETFILE"; then
27733 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
27735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27736 for as_dir
in $PATH
27739 test -z "$as_dir" && as_dir
=.
27740 for ac_exec_ext
in '' $ac_executable_extensions; do
27741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27742 ac_cv_prog_SETFILE
="SetFile"
27743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27749 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
27752 SETFILE
=$ac_cv_prog_SETFILE
27753 if test -n "$SETFILE"; then
27754 echo "$as_me:$LINENO: result: $SETFILE" >&5
27755 echo "${ECHO_T}$SETFILE" >&6
27757 echo "$as_me:$LINENO: result: no" >&5
27758 echo "${ECHO_T}no" >&6
27762 MACSETFILE
="\$(SETFILE)"
27764 if test "$wxUSE_MAC" = 1; then
27765 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
27767 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27769 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
27770 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27776 if test "$wxUSE_PM" = 1; then
27777 MACRESCOMP
="emxbind -ep"
27785 echo "$as_me:$LINENO: checking for mode_t" >&5
27786 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
27787 if test "${ac_cv_type_mode_t+set}" = set; then
27788 echo $ECHO_N "(cached) $ECHO_C" >&6
27790 cat >conftest.
$ac_ext <<_ACEOF
27793 cat confdefs.h
>>conftest.
$ac_ext
27794 cat >>conftest.
$ac_ext <<_ACEOF
27795 /* end confdefs.h. */
27796 $ac_includes_default
27802 if (sizeof (mode_t))
27808 rm -f conftest.
$ac_objext
27809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27810 (eval $ac_compile) 2>conftest.er1
27812 grep -v '^ *+' conftest.er1
>conftest.err
27814 cat conftest.err
>&5
27815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27816 (exit $ac_status); } &&
27817 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27819 (eval $ac_try) 2>&5
27821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27822 (exit $ac_status); }; } &&
27823 { ac_try
='test -s conftest.$ac_objext'
27824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27825 (eval $ac_try) 2>&5
27827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27828 (exit $ac_status); }; }; then
27829 ac_cv_type_mode_t
=yes
27831 echo "$as_me: failed program was:" >&5
27832 sed 's/^/| /' conftest.
$ac_ext >&5
27834 ac_cv_type_mode_t
=no
27836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27838 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
27839 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
27840 if test $ac_cv_type_mode_t = yes; then
27844 cat >>confdefs.h
<<_ACEOF
27850 echo "$as_me:$LINENO: checking for off_t" >&5
27851 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
27852 if test "${ac_cv_type_off_t+set}" = set; then
27853 echo $ECHO_N "(cached) $ECHO_C" >&6
27855 cat >conftest.
$ac_ext <<_ACEOF
27858 cat confdefs.h
>>conftest.
$ac_ext
27859 cat >>conftest.
$ac_ext <<_ACEOF
27860 /* end confdefs.h. */
27861 $ac_includes_default
27867 if (sizeof (off_t))
27873 rm -f conftest.
$ac_objext
27874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27875 (eval $ac_compile) 2>conftest.er1
27877 grep -v '^ *+' conftest.er1
>conftest.err
27879 cat conftest.err
>&5
27880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27881 (exit $ac_status); } &&
27882 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27884 (eval $ac_try) 2>&5
27886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27887 (exit $ac_status); }; } &&
27888 { ac_try
='test -s conftest.$ac_objext'
27889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27890 (eval $ac_try) 2>&5
27892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27893 (exit $ac_status); }; }; then
27894 ac_cv_type_off_t
=yes
27896 echo "$as_me: failed program was:" >&5
27897 sed 's/^/| /' conftest.
$ac_ext >&5
27899 ac_cv_type_off_t
=no
27901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27903 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
27904 echo "${ECHO_T}$ac_cv_type_off_t" >&6
27905 if test $ac_cv_type_off_t = yes; then
27909 cat >>confdefs.h
<<_ACEOF
27915 echo "$as_me:$LINENO: checking for pid_t" >&5
27916 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
27917 if test "${ac_cv_type_pid_t+set}" = set; then
27918 echo $ECHO_N "(cached) $ECHO_C" >&6
27920 cat >conftest.
$ac_ext <<_ACEOF
27923 cat confdefs.h
>>conftest.
$ac_ext
27924 cat >>conftest.
$ac_ext <<_ACEOF
27925 /* end confdefs.h. */
27926 $ac_includes_default
27932 if (sizeof (pid_t))
27938 rm -f conftest.
$ac_objext
27939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27940 (eval $ac_compile) 2>conftest.er1
27942 grep -v '^ *+' conftest.er1
>conftest.err
27944 cat conftest.err
>&5
27945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27946 (exit $ac_status); } &&
27947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27949 (eval $ac_try) 2>&5
27951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27952 (exit $ac_status); }; } &&
27953 { ac_try
='test -s conftest.$ac_objext'
27954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27955 (eval $ac_try) 2>&5
27957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27958 (exit $ac_status); }; }; then
27959 ac_cv_type_pid_t
=yes
27961 echo "$as_me: failed program was:" >&5
27962 sed 's/^/| /' conftest.
$ac_ext >&5
27964 ac_cv_type_pid_t
=no
27966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27968 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
27969 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
27970 if test $ac_cv_type_pid_t = yes; then
27974 cat >>confdefs.h
<<_ACEOF
27980 echo "$as_me:$LINENO: checking for size_t" >&5
27981 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
27982 if test "${ac_cv_type_size_t+set}" = set; then
27983 echo $ECHO_N "(cached) $ECHO_C" >&6
27985 cat >conftest.
$ac_ext <<_ACEOF
27988 cat confdefs.h
>>conftest.
$ac_ext
27989 cat >>conftest.
$ac_ext <<_ACEOF
27990 /* end confdefs.h. */
27991 $ac_includes_default
27997 if (sizeof (size_t))
28003 rm -f conftest.
$ac_objext
28004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28005 (eval $ac_compile) 2>conftest.er1
28007 grep -v '^ *+' conftest.er1
>conftest.err
28009 cat conftest.err
>&5
28010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28011 (exit $ac_status); } &&
28012 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28014 (eval $ac_try) 2>&5
28016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017 (exit $ac_status); }; } &&
28018 { ac_try
='test -s conftest.$ac_objext'
28019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28020 (eval $ac_try) 2>&5
28022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28023 (exit $ac_status); }; }; then
28024 ac_cv_type_size_t
=yes
28026 echo "$as_me: failed program was:" >&5
28027 sed 's/^/| /' conftest.
$ac_ext >&5
28029 ac_cv_type_size_t
=no
28031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28033 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28034 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28035 if test $ac_cv_type_size_t = yes; then
28039 cat >>confdefs.h
<<_ACEOF
28040 #define size_t unsigned
28045 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28046 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28047 if test "${ac_cv_type_uid_t+set}" = set; then
28048 echo $ECHO_N "(cached) $ECHO_C" >&6
28050 cat >conftest.
$ac_ext <<_ACEOF
28053 cat confdefs.h
>>conftest.
$ac_ext
28054 cat >>conftest.
$ac_ext <<_ACEOF
28055 /* end confdefs.h. */
28056 #include <sys/types.h>
28059 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28060 $EGREP "uid_t" >/dev
/null
2>&1; then
28061 ac_cv_type_uid_t
=yes
28063 ac_cv_type_uid_t
=no
28068 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28069 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28070 if test $ac_cv_type_uid_t = no
; then
28072 cat >>confdefs.h
<<\_ACEOF
28077 cat >>confdefs.h
<<\_ACEOF
28087 ac_cpp
='$CXXCPP $CPPFLAGS'
28088 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28089 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28090 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28092 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28093 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28094 if test "${wx_cv_size_t_is_uint+set}" = set; then
28095 echo $ECHO_N "(cached) $ECHO_C" >&6
28098 cat >conftest.
$ac_ext <<_ACEOF
28101 cat confdefs.h
>>conftest.
$ac_ext
28102 cat >>conftest.
$ac_ext <<_ACEOF
28103 /* end confdefs.h. */
28104 #include <stddef.h>
28111 struct Foo { void foo(size_t); void foo(unsigned int); };
28119 rm -f conftest.
$ac_objext
28120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28121 (eval $ac_compile) 2>conftest.er1
28123 grep -v '^ *+' conftest.er1
>conftest.err
28125 cat conftest.err
>&5
28126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28127 (exit $ac_status); } &&
28128 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28130 (eval $ac_try) 2>&5
28132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28133 (exit $ac_status); }; } &&
28134 { ac_try
='test -s conftest.$ac_objext'
28135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28136 (eval $ac_try) 2>&5
28138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28139 (exit $ac_status); }; }; then
28140 wx_cv_size_t_is_uint
=no
28142 echo "$as_me: failed program was:" >&5
28143 sed 's/^/| /' conftest.
$ac_ext >&5
28145 wx_cv_size_t_is_uint
=yes
28148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28152 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28153 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28155 if test "$wx_cv_size_t_is_uint" = "yes"; then
28156 cat >>confdefs.h
<<\_ACEOF
28157 #define wxSIZE_T_IS_UINT 1
28161 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28162 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28163 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28164 echo $ECHO_N "(cached) $ECHO_C" >&6
28166 cat >conftest.
$ac_ext <<_ACEOF
28169 cat confdefs.h
>>conftest.
$ac_ext
28170 cat >>conftest.
$ac_ext <<_ACEOF
28171 /* end confdefs.h. */
28172 #include <stddef.h>
28179 struct Foo { void foo(size_t); void foo(unsigned long); };
28187 rm -f conftest.
$ac_objext
28188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28189 (eval $ac_compile) 2>conftest.er1
28191 grep -v '^ *+' conftest.er1
>conftest.err
28193 cat conftest.err
>&5
28194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28195 (exit $ac_status); } &&
28196 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28198 (eval $ac_try) 2>&5
28200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28201 (exit $ac_status); }; } &&
28202 { ac_try
='test -s conftest.$ac_objext'
28203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28204 (eval $ac_try) 2>&5
28206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28207 (exit $ac_status); }; }; then
28208 wx_cv_size_t_is_ulong
=no
28210 echo "$as_me: failed program was:" >&5
28211 sed 's/^/| /' conftest.
$ac_ext >&5
28213 wx_cv_size_t_is_ulong
=yes
28216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28219 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28220 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28222 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28223 cat >>confdefs.h
<<\_ACEOF
28224 #define wxSIZE_T_IS_ULONG 1
28231 ac_cpp
='$CPP $CPPFLAGS'
28232 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28233 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28234 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28238 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28239 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28240 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28241 echo $ECHO_N "(cached) $ECHO_C" >&6
28244 cat >conftest.
$ac_ext <<_ACEOF
28247 cat confdefs.h
>>conftest.
$ac_ext
28248 cat >>conftest.
$ac_ext <<_ACEOF
28249 /* end confdefs.h. */
28263 rm -f conftest.
$ac_objext
28264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28265 (eval $ac_compile) 2>conftest.er1
28267 grep -v '^ *+' conftest.er1
>conftest.err
28269 cat conftest.err
>&5
28270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28271 (exit $ac_status); } &&
28272 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28274 (eval $ac_try) 2>&5
28276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28277 (exit $ac_status); }; } &&
28278 { ac_try
='test -s conftest.$ac_objext'
28279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28280 (eval $ac_try) 2>&5
28282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28283 (exit $ac_status); }; }; then
28285 wx_cv_struct_pw_gecos
=yes
28288 echo "$as_me: failed program was:" >&5
28289 sed 's/^/| /' conftest.
$ac_ext >&5
28292 wx_cv_struct_pw_gecos
=no
28296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28300 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28301 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28303 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28304 cat >>confdefs.h
<<\_ACEOF
28305 #define HAVE_PW_GECOS 1
28311 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28312 cat >>confdefs.h
<<\_ACEOF
28313 #define wxUSE_WCHAR_T 1
28320 for ac_func
in wcslen
28322 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28323 echo "$as_me:$LINENO: checking for $ac_func" >&5
28324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28325 if eval "test \"\${$as_ac_var+set}\" = set"; then
28326 echo $ECHO_N "(cached) $ECHO_C" >&6
28328 cat >conftest.
$ac_ext <<_ACEOF
28331 cat confdefs.h
>>conftest.
$ac_ext
28332 cat >>conftest.
$ac_ext <<_ACEOF
28333 /* end confdefs.h. */
28334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28336 #define $ac_func innocuous_$ac_func
28338 /* System header to define __stub macros and hopefully few prototypes,
28339 which can conflict with char $ac_func (); below.
28340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28341 <limits.h> exists even on freestanding compilers. */
28344 # include <limits.h>
28346 # include <assert.h>
28351 /* Override any gcc2 internal prototype to avoid an error. */
28356 /* We use char because int might match the return type of a gcc2
28357 builtin and then its argument prototype would still apply. */
28359 /* The GNU C library defines this for functions which it implements
28360 to always fail with ENOSYS. Some functions are actually named
28361 something starting with __ and the normal name is an alias. */
28362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28365 char (*f) () = $ac_func;
28374 return f != $ac_func;
28379 rm -f conftest.
$ac_objext conftest
$ac_exeext
28380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28381 (eval $ac_link) 2>conftest.er1
28383 grep -v '^ *+' conftest.er1
>conftest.err
28385 cat conftest.err
>&5
28386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28387 (exit $ac_status); } &&
28388 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28390 (eval $ac_try) 2>&5
28392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28393 (exit $ac_status); }; } &&
28394 { ac_try
='test -s conftest$ac_exeext'
28395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28396 (eval $ac_try) 2>&5
28398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28399 (exit $ac_status); }; }; then
28400 eval "$as_ac_var=yes"
28402 echo "$as_me: failed program was:" >&5
28403 sed 's/^/| /' conftest.
$ac_ext >&5
28405 eval "$as_ac_var=no"
28407 rm -f conftest.err conftest.
$ac_objext \
28408 conftest
$ac_exeext conftest.
$ac_ext
28410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28412 if test `eval echo '${'$as_ac_var'}'` = yes; then
28413 cat >>confdefs.h
<<_ACEOF
28414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28421 if test "$WCSLEN_FOUND" = 0; then
28422 if test "$TOOLKIT" = "MSW"; then
28423 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28424 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28425 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28426 echo $ECHO_N "(cached) $ECHO_C" >&6
28428 ac_check_lib_save_LIBS
=$LIBS
28429 LIBS
="-lmsvcrt $LIBS"
28430 cat >conftest.
$ac_ext <<_ACEOF
28433 cat confdefs.h
>>conftest.
$ac_ext
28434 cat >>conftest.
$ac_ext <<_ACEOF
28435 /* end confdefs.h. */
28437 /* Override any gcc2 internal prototype to avoid an error. */
28441 /* We use char because int might match the return type of a gcc2
28442 builtin and then its argument prototype would still apply. */
28452 rm -f conftest.
$ac_objext conftest
$ac_exeext
28453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28454 (eval $ac_link) 2>conftest.er1
28456 grep -v '^ *+' conftest.er1
>conftest.err
28458 cat conftest.err
>&5
28459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28460 (exit $ac_status); } &&
28461 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28463 (eval $ac_try) 2>&5
28465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28466 (exit $ac_status); }; } &&
28467 { ac_try
='test -s conftest$ac_exeext'
28468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28469 (eval $ac_try) 2>&5
28471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28472 (exit $ac_status); }; }; then
28473 ac_cv_lib_msvcrt_wcslen
=yes
28475 echo "$as_me: failed program was:" >&5
28476 sed 's/^/| /' conftest.
$ac_ext >&5
28478 ac_cv_lib_msvcrt_wcslen
=no
28480 rm -f conftest.err conftest.
$ac_objext \
28481 conftest
$ac_exeext conftest.
$ac_ext
28482 LIBS
=$ac_check_lib_save_LIBS
28484 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28485 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28486 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28491 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28492 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28493 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28494 echo $ECHO_N "(cached) $ECHO_C" >&6
28496 ac_check_lib_save_LIBS
=$LIBS
28498 cat >conftest.
$ac_ext <<_ACEOF
28501 cat confdefs.h
>>conftest.
$ac_ext
28502 cat >>conftest.
$ac_ext <<_ACEOF
28503 /* end confdefs.h. */
28505 /* Override any gcc2 internal prototype to avoid an error. */
28509 /* We use char because int might match the return type of a gcc2
28510 builtin and then its argument prototype would still apply. */
28520 rm -f conftest.
$ac_objext conftest
$ac_exeext
28521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28522 (eval $ac_link) 2>conftest.er1
28524 grep -v '^ *+' conftest.er1
>conftest.err
28526 cat conftest.err
>&5
28527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28528 (exit $ac_status); } &&
28529 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28531 (eval $ac_try) 2>&5
28533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28534 (exit $ac_status); }; } &&
28535 { ac_try
='test -s conftest$ac_exeext'
28536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28537 (eval $ac_try) 2>&5
28539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28540 (exit $ac_status); }; }; then
28541 ac_cv_lib_w_wcslen
=yes
28543 echo "$as_me: failed program was:" >&5
28544 sed 's/^/| /' conftest.
$ac_ext >&5
28546 ac_cv_lib_w_wcslen
=no
28548 rm -f conftest.err conftest.
$ac_objext \
28549 conftest
$ac_exeext conftest.
$ac_ext
28550 LIBS
=$ac_check_lib_save_LIBS
28552 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28553 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28554 if test $ac_cv_lib_w_wcslen = yes; then
28564 if test "$WCSLEN_FOUND" = 1; then
28565 cat >>confdefs.h
<<\_ACEOF
28566 #define HAVE_WCSLEN 1
28571 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
28572 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
28576 for ac_func
in wcsrtombs
28578 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28579 echo "$as_me:$LINENO: checking for $ac_func" >&5
28580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28581 if eval "test \"\${$as_ac_var+set}\" = set"; then
28582 echo $ECHO_N "(cached) $ECHO_C" >&6
28584 cat >conftest.
$ac_ext <<_ACEOF
28587 cat confdefs.h
>>conftest.
$ac_ext
28588 cat >>conftest.
$ac_ext <<_ACEOF
28589 /* end confdefs.h. */
28590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28592 #define $ac_func innocuous_$ac_func
28594 /* System header to define __stub macros and hopefully few prototypes,
28595 which can conflict with char $ac_func (); below.
28596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28597 <limits.h> exists even on freestanding compilers. */
28600 # include <limits.h>
28602 # include <assert.h>
28607 /* Override any gcc2 internal prototype to avoid an error. */
28612 /* We use char because int might match the return type of a gcc2
28613 builtin and then its argument prototype would still apply. */
28615 /* The GNU C library defines this for functions which it implements
28616 to always fail with ENOSYS. Some functions are actually named
28617 something starting with __ and the normal name is an alias. */
28618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28621 char (*f) () = $ac_func;
28630 return f != $ac_func;
28635 rm -f conftest.
$ac_objext conftest
$ac_exeext
28636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28637 (eval $ac_link) 2>conftest.er1
28639 grep -v '^ *+' conftest.er1
>conftest.err
28641 cat conftest.err
>&5
28642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28643 (exit $ac_status); } &&
28644 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28646 (eval $ac_try) 2>&5
28648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28649 (exit $ac_status); }; } &&
28650 { ac_try
='test -s conftest$ac_exeext'
28651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28652 (eval $ac_try) 2>&5
28654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28655 (exit $ac_status); }; }; then
28656 eval "$as_ac_var=yes"
28658 echo "$as_me: failed program was:" >&5
28659 sed 's/^/| /' conftest.
$ac_ext >&5
28661 eval "$as_ac_var=no"
28663 rm -f conftest.err conftest.
$ac_objext \
28664 conftest
$ac_exeext conftest.
$ac_ext
28666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28668 if test `eval echo '${'$as_ac_var'}'` = yes; then
28669 cat >>confdefs.h
<<_ACEOF
28670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28677 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
28678 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
28684 ac_cpp
='$CXXCPP $CPPFLAGS'
28685 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28686 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28687 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28691 for ac_func
in vsnprintf
28693 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28694 echo "$as_me:$LINENO: checking for $ac_func" >&5
28695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28696 if eval "test \"\${$as_ac_var+set}\" = set"; then
28697 echo $ECHO_N "(cached) $ECHO_C" >&6
28699 cat >conftest.
$ac_ext <<_ACEOF
28702 cat confdefs.h
>>conftest.
$ac_ext
28703 cat >>conftest.
$ac_ext <<_ACEOF
28704 /* end confdefs.h. */
28705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28707 #define $ac_func innocuous_$ac_func
28709 /* System header to define __stub macros and hopefully few prototypes,
28710 which can conflict with char $ac_func (); below.
28711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28712 <limits.h> exists even on freestanding compilers. */
28715 # include <limits.h>
28717 # include <assert.h>
28722 /* Override any gcc2 internal prototype to avoid an error. */
28727 /* We use char because int might match the return type of a gcc2
28728 builtin and then its argument prototype would still apply. */
28730 /* The GNU C library defines this for functions which it implements
28731 to always fail with ENOSYS. Some functions are actually named
28732 something starting with __ and the normal name is an alias. */
28733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28736 char (*f) () = $ac_func;
28745 return f != $ac_func;
28750 rm -f conftest.
$ac_objext conftest
$ac_exeext
28751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28752 (eval $ac_link) 2>conftest.er1
28754 grep -v '^ *+' conftest.er1
>conftest.err
28756 cat conftest.err
>&5
28757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28758 (exit $ac_status); } &&
28759 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28761 (eval $ac_try) 2>&5
28763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28764 (exit $ac_status); }; } &&
28765 { ac_try
='test -s conftest$ac_exeext'
28766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28767 (eval $ac_try) 2>&5
28769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28770 (exit $ac_status); }; }; then
28771 eval "$as_ac_var=yes"
28773 echo "$as_me: failed program was:" >&5
28774 sed 's/^/| /' conftest.
$ac_ext >&5
28776 eval "$as_ac_var=no"
28778 rm -f conftest.err conftest.
$ac_objext \
28779 conftest
$ac_exeext conftest.
$ac_ext
28781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28783 if test `eval echo '${'$as_ac_var'}'` = yes; then
28784 cat >>confdefs.h
<<_ACEOF
28785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28792 if test "$ac_cv_func_vsnprintf" = "yes"; then
28793 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
28794 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
28795 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
28796 echo $ECHO_N "(cached) $ECHO_C" >&6
28799 cat >conftest.
$ac_ext <<_ACEOF
28802 cat confdefs.h
>>conftest.
$ac_ext
28803 cat >>conftest.
$ac_ext <<_ACEOF
28804 /* end confdefs.h. */
28807 #include <stdarg.h>
28815 vsnprintf(buf, 10u, "%s", ap);
28821 rm -f conftest.
$ac_objext
28822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28823 (eval $ac_compile) 2>conftest.er1
28825 grep -v '^ *+' conftest.er1
>conftest.err
28827 cat conftest.err
>&5
28828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28829 (exit $ac_status); } &&
28830 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28832 (eval $ac_try) 2>&5
28834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28835 (exit $ac_status); }; } &&
28836 { ac_try
='test -s conftest.$ac_objext'
28837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28838 (eval $ac_try) 2>&5
28840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28841 (exit $ac_status); }; }; then
28842 wx_cv_func_vsnprintf_decl
=yes
28844 echo "$as_me: failed program was:" >&5
28845 sed 's/^/| /' conftest.
$ac_ext >&5
28847 wx_cv_func_vsnprintf_decl
=no
28850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28854 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
28855 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
28857 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
28858 cat >>confdefs.h
<<\_ACEOF
28859 #define HAVE_VSNPRINTF_DECL 1
28865 if test "$wxUSE_UNICODE" = yes; then
28872 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
28874 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28875 echo "$as_me:$LINENO: checking for $ac_func" >&5
28876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28877 if eval "test \"\${$as_ac_var+set}\" = set"; then
28878 echo $ECHO_N "(cached) $ECHO_C" >&6
28880 cat >conftest.
$ac_ext <<_ACEOF
28883 cat confdefs.h
>>conftest.
$ac_ext
28884 cat >>conftest.
$ac_ext <<_ACEOF
28885 /* end confdefs.h. */
28886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28888 #define $ac_func innocuous_$ac_func
28890 /* System header to define __stub macros and hopefully few prototypes,
28891 which can conflict with char $ac_func (); below.
28892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28893 <limits.h> exists even on freestanding compilers. */
28896 # include <limits.h>
28898 # include <assert.h>
28903 /* Override any gcc2 internal prototype to avoid an error. */
28908 /* We use char because int might match the return type of a gcc2
28909 builtin and then its argument prototype would still apply. */
28911 /* The GNU C library defines this for functions which it implements
28912 to always fail with ENOSYS. Some functions are actually named
28913 something starting with __ and the normal name is an alias. */
28914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28917 char (*f) () = $ac_func;
28926 return f != $ac_func;
28931 rm -f conftest.
$ac_objext conftest
$ac_exeext
28932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28933 (eval $ac_link) 2>conftest.er1
28935 grep -v '^ *+' conftest.er1
>conftest.err
28937 cat conftest.err
>&5
28938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28939 (exit $ac_status); } &&
28940 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28942 (eval $ac_try) 2>&5
28944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28945 (exit $ac_status); }; } &&
28946 { ac_try
='test -s conftest$ac_exeext'
28947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28948 (eval $ac_try) 2>&5
28950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28951 (exit $ac_status); }; }; then
28952 eval "$as_ac_var=yes"
28954 echo "$as_me: failed program was:" >&5
28955 sed 's/^/| /' conftest.
$ac_ext >&5
28957 eval "$as_ac_var=no"
28959 rm -f conftest.err conftest.
$ac_objext \
28960 conftest
$ac_exeext conftest.
$ac_ext
28962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28964 if test `eval echo '${'$as_ac_var'}'` = yes; then
28965 cat >>confdefs.h
<<_ACEOF
28966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28973 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
28974 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
28975 cat >conftest.
$ac_ext <<_ACEOF
28978 cat confdefs.h
>>conftest.
$ac_ext
28979 cat >>conftest.
$ac_ext <<_ACEOF
28980 /* end confdefs.h. */
28990 rm -f conftest.
$ac_objext
28991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28992 (eval $ac_compile) 2>conftest.er1
28994 grep -v '^ *+' conftest.er1
>conftest.err
28996 cat conftest.err
>&5
28997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28998 (exit $ac_status); } &&
28999 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29001 (eval $ac_try) 2>&5
29003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29004 (exit $ac_status); }; } &&
29005 { ac_try
='test -s conftest.$ac_objext'
29006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29007 (eval $ac_try) 2>&5
29009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29010 (exit $ac_status); }; }; then
29011 echo "$as_me:$LINENO: result: yes" >&5
29012 echo "${ECHO_T}yes" >&6
29013 cat >>confdefs.h
<<\_ACEOF
29014 #define HAVE__VSNWPRINTF 1
29018 echo "$as_me: failed program was:" >&5
29019 sed 's/^/| /' conftest.
$ac_ext >&5
29021 echo "$as_me:$LINENO: result: no" >&5
29022 echo "${ECHO_T}no" >&6
29024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29028 ac_cpp
='$CPP $CPPFLAGS'
29029 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29030 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29031 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29036 if test "$TOOLKIT" != "MSW"; then
29042 ac_cpp
='$CXXCPP $CPPFLAGS'
29043 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29044 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29045 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29050 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29051 if test "${with_libiconv_prefix+set}" = set; then
29052 withval
="$with_libiconv_prefix"
29054 for dir
in `echo "$withval" | tr : ' '`; do
29055 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29056 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29061 echo "$as_me:$LINENO: checking for iconv" >&5
29062 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29063 if test "${am_cv_func_iconv+set}" = set; then
29064 echo $ECHO_N "(cached) $ECHO_C" >&6
29067 am_cv_func_iconv
="no, consider installing GNU libiconv"
29069 cat >conftest.
$ac_ext <<_ACEOF
29072 cat confdefs.h
>>conftest.
$ac_ext
29073 cat >>conftest.
$ac_ext <<_ACEOF
29074 /* end confdefs.h. */
29075 #include <stdlib.h>
29080 iconv_t cd = iconv_open("","");
29081 iconv(cd,NULL,NULL,NULL,NULL);
29087 rm -f conftest.
$ac_objext conftest
$ac_exeext
29088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29089 (eval $ac_link) 2>conftest.er1
29091 grep -v '^ *+' conftest.er1
>conftest.err
29093 cat conftest.err
>&5
29094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29095 (exit $ac_status); } &&
29096 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29098 (eval $ac_try) 2>&5
29100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29101 (exit $ac_status); }; } &&
29102 { ac_try
='test -s conftest$ac_exeext'
29103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29104 (eval $ac_try) 2>&5
29106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29107 (exit $ac_status); }; }; then
29108 am_cv_func_iconv
=yes
29110 echo "$as_me: failed program was:" >&5
29111 sed 's/^/| /' conftest.
$ac_ext >&5
29114 rm -f conftest.err conftest.
$ac_objext \
29115 conftest
$ac_exeext conftest.
$ac_ext
29116 if test "$am_cv_func_iconv" != yes; then
29117 am_save_LIBS
="$LIBS"
29118 LIBS
="$LIBS -liconv"
29119 cat >conftest.
$ac_ext <<_ACEOF
29122 cat confdefs.h
>>conftest.
$ac_ext
29123 cat >>conftest.
$ac_ext <<_ACEOF
29124 /* end confdefs.h. */
29125 #include <stdlib.h>
29130 iconv_t cd = iconv_open("","");
29131 iconv(cd,NULL,NULL,NULL,NULL);
29137 rm -f conftest.
$ac_objext conftest
$ac_exeext
29138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29139 (eval $ac_link) 2>conftest.er1
29141 grep -v '^ *+' conftest.er1
>conftest.err
29143 cat conftest.err
>&5
29144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29145 (exit $ac_status); } &&
29146 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29148 (eval $ac_try) 2>&5
29150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29151 (exit $ac_status); }; } &&
29152 { ac_try
='test -s conftest$ac_exeext'
29153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29154 (eval $ac_try) 2>&5
29156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29157 (exit $ac_status); }; }; then
29158 am_cv_lib_iconv
=yes
29159 am_cv_func_iconv
=yes
29161 echo "$as_me: failed program was:" >&5
29162 sed 's/^/| /' conftest.
$ac_ext >&5
29165 rm -f conftest.err conftest.
$ac_objext \
29166 conftest
$ac_exeext conftest.
$ac_ext
29167 LIBS
="$am_save_LIBS"
29171 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29172 echo "${ECHO_T}$am_cv_func_iconv" >&6
29173 if test "$am_cv_func_iconv" = yes; then
29175 cat >>confdefs.h
<<\_ACEOF
29176 #define HAVE_ICONV 1
29179 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29180 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29181 if test "${wx_cv_func_iconv_const+set}" = set; then
29182 echo $ECHO_N "(cached) $ECHO_C" >&6
29184 cat >conftest.
$ac_ext <<_ACEOF
29187 cat confdefs.h
>>conftest.
$ac_ext
29188 cat >>conftest.
$ac_ext <<_ACEOF
29189 /* end confdefs.h. */
29191 #include <stdlib.h>
29197 #if defined(__STDC__) || defined(__cplusplus)
29198 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29211 rm -f conftest.
$ac_objext
29212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29213 (eval $ac_compile) 2>conftest.er1
29215 grep -v '^ *+' conftest.er1
>conftest.err
29217 cat conftest.err
>&5
29218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29219 (exit $ac_status); } &&
29220 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29222 (eval $ac_try) 2>&5
29224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29225 (exit $ac_status); }; } &&
29226 { ac_try
='test -s conftest.$ac_objext'
29227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29228 (eval $ac_try) 2>&5
29230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29231 (exit $ac_status); }; }; then
29232 wx_cv_func_iconv_const
="no"
29234 echo "$as_me: failed program was:" >&5
29235 sed 's/^/| /' conftest.
$ac_ext >&5
29237 wx_cv_func_iconv_const
="yes"
29240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29243 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29244 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29247 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29248 iconv_const
="const"
29252 cat >>confdefs.h
<<_ACEOF
29253 #define ICONV_CONST $iconv_const
29258 if test "$am_cv_lib_iconv" = yes; then
29263 LIBS
="$LIBICONV $LIBS"
29265 ac_cpp
='$CPP $CPPFLAGS'
29266 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29267 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29268 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29271 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29273 for ac_func
in sigaction
29275 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29276 echo "$as_me:$LINENO: checking for $ac_func" >&5
29277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29278 if eval "test \"\${$as_ac_var+set}\" = set"; then
29279 echo $ECHO_N "(cached) $ECHO_C" >&6
29281 cat >conftest.
$ac_ext <<_ACEOF
29284 cat confdefs.h
>>conftest.
$ac_ext
29285 cat >>conftest.
$ac_ext <<_ACEOF
29286 /* end confdefs.h. */
29287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29289 #define $ac_func innocuous_$ac_func
29291 /* System header to define __stub macros and hopefully few prototypes,
29292 which can conflict with char $ac_func (); below.
29293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29294 <limits.h> exists even on freestanding compilers. */
29297 # include <limits.h>
29299 # include <assert.h>
29304 /* Override any gcc2 internal prototype to avoid an error. */
29309 /* We use char because int might match the return type of a gcc2
29310 builtin and then its argument prototype would still apply. */
29312 /* The GNU C library defines this for functions which it implements
29313 to always fail with ENOSYS. Some functions are actually named
29314 something starting with __ and the normal name is an alias. */
29315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29318 char (*f) () = $ac_func;
29327 return f != $ac_func;
29332 rm -f conftest.
$ac_objext conftest
$ac_exeext
29333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29334 (eval $ac_link) 2>conftest.er1
29336 grep -v '^ *+' conftest.er1
>conftest.err
29338 cat conftest.err
>&5
29339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29340 (exit $ac_status); } &&
29341 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29343 (eval $ac_try) 2>&5
29345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29346 (exit $ac_status); }; } &&
29347 { ac_try
='test -s conftest$ac_exeext'
29348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29349 (eval $ac_try) 2>&5
29351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29352 (exit $ac_status); }; }; then
29353 eval "$as_ac_var=yes"
29355 echo "$as_me: failed program was:" >&5
29356 sed 's/^/| /' conftest.
$ac_ext >&5
29358 eval "$as_ac_var=no"
29360 rm -f conftest.err conftest.
$ac_objext \
29361 conftest
$ac_exeext conftest.
$ac_ext
29363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29365 if test `eval echo '${'$as_ac_var'}'` = yes; then
29366 cat >>confdefs.h
<<_ACEOF
29367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29374 if test "$ac_cv_func_sigaction" = "no"; then
29375 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29376 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29377 wxUSE_ON_FATAL_EXCEPTION
=no
29380 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29384 ac_cpp
='$CXXCPP $CPPFLAGS'
29385 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29386 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29387 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29390 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29391 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29392 if test "${wx_cv_type_sa_handler+set}" = set; then
29393 echo $ECHO_N "(cached) $ECHO_C" >&6
29396 cat >conftest.
$ac_ext <<_ACEOF
29399 cat confdefs.h
>>conftest.
$ac_ext
29400 cat >>conftest.
$ac_ext <<_ACEOF
29401 /* end confdefs.h. */
29402 #include <signal.h>
29407 extern void testSigHandler(int);
29409 struct sigaction sa;
29410 sa.sa_handler = testSigHandler;
29416 rm -f conftest.
$ac_objext
29417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29418 (eval $ac_compile) 2>conftest.er1
29420 grep -v '^ *+' conftest.er1
>conftest.err
29422 cat conftest.err
>&5
29423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29424 (exit $ac_status); } &&
29425 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29427 (eval $ac_try) 2>&5
29429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29430 (exit $ac_status); }; } &&
29431 { ac_try
='test -s conftest.$ac_objext'
29432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29433 (eval $ac_try) 2>&5
29435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29436 (exit $ac_status); }; }; then
29438 wx_cv_type_sa_handler
=int
29441 echo "$as_me: failed program was:" >&5
29442 sed 's/^/| /' conftest.
$ac_ext >&5
29445 wx_cv_type_sa_handler
=void
29448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29451 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29452 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29455 ac_cpp
='$CPP $CPPFLAGS'
29456 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29457 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29458 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29461 cat >>confdefs.h
<<_ACEOF
29462 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29470 for ac_func
in mkstemp mktemp
29472 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29473 echo "$as_me:$LINENO: checking for $ac_func" >&5
29474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29475 if eval "test \"\${$as_ac_var+set}\" = set"; then
29476 echo $ECHO_N "(cached) $ECHO_C" >&6
29478 cat >conftest.
$ac_ext <<_ACEOF
29481 cat confdefs.h
>>conftest.
$ac_ext
29482 cat >>conftest.
$ac_ext <<_ACEOF
29483 /* end confdefs.h. */
29484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29486 #define $ac_func innocuous_$ac_func
29488 /* System header to define __stub macros and hopefully few prototypes,
29489 which can conflict with char $ac_func (); below.
29490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29491 <limits.h> exists even on freestanding compilers. */
29494 # include <limits.h>
29496 # include <assert.h>
29501 /* Override any gcc2 internal prototype to avoid an error. */
29506 /* We use char because int might match the return type of a gcc2
29507 builtin and then its argument prototype would still apply. */
29509 /* The GNU C library defines this for functions which it implements
29510 to always fail with ENOSYS. Some functions are actually named
29511 something starting with __ and the normal name is an alias. */
29512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29515 char (*f) () = $ac_func;
29524 return f != $ac_func;
29529 rm -f conftest.
$ac_objext conftest
$ac_exeext
29530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29531 (eval $ac_link) 2>conftest.er1
29533 grep -v '^ *+' conftest.er1
>conftest.err
29535 cat conftest.err
>&5
29536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29537 (exit $ac_status); } &&
29538 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29540 (eval $ac_try) 2>&5
29542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29543 (exit $ac_status); }; } &&
29544 { ac_try
='test -s conftest$ac_exeext'
29545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29546 (eval $ac_try) 2>&5
29548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29549 (exit $ac_status); }; }; then
29550 eval "$as_ac_var=yes"
29552 echo "$as_me: failed program was:" >&5
29553 sed 's/^/| /' conftest.
$ac_ext >&5
29555 eval "$as_ac_var=no"
29557 rm -f conftest.err conftest.
$ac_objext \
29558 conftest
$ac_exeext conftest.
$ac_ext
29560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29562 if test `eval echo '${'$as_ac_var'}'` = yes; then
29563 cat >>confdefs.h
<<_ACEOF
29564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29571 echo "$as_me:$LINENO: checking for statfs" >&5
29572 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29573 if test "${wx_cv_func_statfs+set}" = set; then
29574 echo $ECHO_N "(cached) $ECHO_C" >&6
29576 cat >conftest.
$ac_ext <<_ACEOF
29579 cat confdefs.h
>>conftest.
$ac_ext
29580 cat >>conftest.
$ac_ext <<_ACEOF
29581 /* end confdefs.h. */
29583 #if defined(__BSD__)
29584 #include <sys/param.h>
29585 #include <sys/mount.h>
29587 #include <sys/vfs.h>
29605 rm -f conftest.
$ac_objext
29606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29607 (eval $ac_compile) 2>conftest.er1
29609 grep -v '^ *+' conftest.er1
>conftest.err
29611 cat conftest.err
>&5
29612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29613 (exit $ac_status); } &&
29614 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29616 (eval $ac_try) 2>&5
29618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29619 (exit $ac_status); }; } &&
29620 { ac_try
='test -s conftest.$ac_objext'
29621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29622 (eval $ac_try) 2>&5
29624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29625 (exit $ac_status); }; }; then
29627 wx_cv_func_statfs
=yes
29630 echo "$as_me: failed program was:" >&5
29631 sed 's/^/| /' conftest.
$ac_ext >&5
29634 wx_cv_func_statfs
=no
29638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29641 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29642 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29644 if test "$wx_cv_func_statfs" = "yes"; then
29645 wx_cv_type_statvfs_t
="struct statfs"
29646 cat >>confdefs.h
<<\_ACEOF
29647 #define HAVE_STATFS 1
29651 echo "$as_me:$LINENO: checking for statvfs" >&5
29652 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
29653 if test "${wx_cv_func_statvfs+set}" = set; then
29654 echo $ECHO_N "(cached) $ECHO_C" >&6
29656 cat >conftest.
$ac_ext <<_ACEOF
29659 cat confdefs.h
>>conftest.
$ac_ext
29660 cat >>conftest.
$ac_ext <<_ACEOF
29661 /* end confdefs.h. */
29663 #include <stddef.h>
29664 #include <sys/statvfs.h>
29670 statvfs("/", NULL);
29676 rm -f conftest.
$ac_objext
29677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29678 (eval $ac_compile) 2>conftest.er1
29680 grep -v '^ *+' conftest.er1
>conftest.err
29682 cat conftest.err
>&5
29683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29684 (exit $ac_status); } &&
29685 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29687 (eval $ac_try) 2>&5
29689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29690 (exit $ac_status); }; } &&
29691 { ac_try
='test -s conftest.$ac_objext'
29692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29693 (eval $ac_try) 2>&5
29695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29696 (exit $ac_status); }; }; then
29697 wx_cv_func_statvfs
=yes
29699 echo "$as_me: failed program was:" >&5
29700 sed 's/^/| /' conftest.
$ac_ext >&5
29702 wx_cv_func_statvfs
=no
29705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29708 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
29709 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
29711 if test "$wx_cv_func_statvfs" = "yes"; then
29715 ac_cpp
='$CXXCPP $CPPFLAGS'
29716 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29717 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29718 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29721 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
29722 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
29723 if test "${wx_cv_type_statvfs_t+set}" = set; then
29724 echo $ECHO_N "(cached) $ECHO_C" >&6
29726 cat >conftest.
$ac_ext <<_ACEOF
29729 cat confdefs.h
>>conftest.
$ac_ext
29730 cat >>conftest.
$ac_ext <<_ACEOF
29731 /* end confdefs.h. */
29733 #include <sys/statvfs.h>
29750 rm -f conftest.
$ac_objext
29751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29752 (eval $ac_compile) 2>conftest.er1
29754 grep -v '^ *+' conftest.er1
>conftest.err
29756 cat conftest.err
>&5
29757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29758 (exit $ac_status); } &&
29759 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29761 (eval $ac_try) 2>&5
29763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29764 (exit $ac_status); }; } &&
29765 { ac_try
='test -s conftest.$ac_objext'
29766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29767 (eval $ac_try) 2>&5
29769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29770 (exit $ac_status); }; }; then
29771 wx_cv_type_statvfs_t
=statvfs_t
29773 echo "$as_me: failed program was:" >&5
29774 sed 's/^/| /' conftest.
$ac_ext >&5
29777 cat >conftest.
$ac_ext <<_ACEOF
29780 cat confdefs.h
>>conftest.
$ac_ext
29781 cat >>conftest.
$ac_ext <<_ACEOF
29782 /* end confdefs.h. */
29784 #include <sys/statvfs.h>
29801 rm -f conftest.
$ac_objext
29802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29803 (eval $ac_compile) 2>conftest.er1
29805 grep -v '^ *+' conftest.er1
>conftest.err
29807 cat conftest.err
>&5
29808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29809 (exit $ac_status); } &&
29810 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29812 (eval $ac_try) 2>&5
29814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29815 (exit $ac_status); }; } &&
29816 { ac_try
='test -s conftest.$ac_objext'
29817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29818 (eval $ac_try) 2>&5
29820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29821 (exit $ac_status); }; }; then
29822 wx_cv_type_statvfs_t
="struct statvfs"
29824 echo "$as_me: failed program was:" >&5
29825 sed 's/^/| /' conftest.
$ac_ext >&5
29827 wx_cv_type_statvfs_t
="unknown"
29830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29837 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
29838 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
29841 ac_cpp
='$CPP $CPPFLAGS'
29842 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29843 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29844 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29847 if test "$wx_cv_type_statvfs_t" != "unknown"; then
29848 cat >>confdefs.h
<<\_ACEOF
29849 #define HAVE_STATVFS 1
29854 wx_cv_type_statvfs_t
="unknown"
29858 if test "$wx_cv_type_statvfs_t" != "unknown"; then
29859 cat >>confdefs.h
<<_ACEOF
29860 #define WX_STATFS_T $wx_cv_type_statvfs_t
29864 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
29865 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
29868 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
29871 for ac_func
in fcntl flock
29873 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29874 echo "$as_me:$LINENO: checking for $ac_func" >&5
29875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29876 if eval "test \"\${$as_ac_var+set}\" = set"; then
29877 echo $ECHO_N "(cached) $ECHO_C" >&6
29879 cat >conftest.
$ac_ext <<_ACEOF
29882 cat confdefs.h
>>conftest.
$ac_ext
29883 cat >>conftest.
$ac_ext <<_ACEOF
29884 /* end confdefs.h. */
29885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29887 #define $ac_func innocuous_$ac_func
29889 /* System header to define __stub macros and hopefully few prototypes,
29890 which can conflict with char $ac_func (); below.
29891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29892 <limits.h> exists even on freestanding compilers. */
29895 # include <limits.h>
29897 # include <assert.h>
29902 /* Override any gcc2 internal prototype to avoid an error. */
29907 /* We use char because int might match the return type of a gcc2
29908 builtin and then its argument prototype would still apply. */
29910 /* The GNU C library defines this for functions which it implements
29911 to always fail with ENOSYS. Some functions are actually named
29912 something starting with __ and the normal name is an alias. */
29913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29916 char (*f) () = $ac_func;
29925 return f != $ac_func;
29930 rm -f conftest.
$ac_objext conftest
$ac_exeext
29931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29932 (eval $ac_link) 2>conftest.er1
29934 grep -v '^ *+' conftest.er1
>conftest.err
29936 cat conftest.err
>&5
29937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29938 (exit $ac_status); } &&
29939 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29941 (eval $ac_try) 2>&5
29943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29944 (exit $ac_status); }; } &&
29945 { ac_try
='test -s conftest$ac_exeext'
29946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29947 (eval $ac_try) 2>&5
29949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29950 (exit $ac_status); }; }; then
29951 eval "$as_ac_var=yes"
29953 echo "$as_me: failed program was:" >&5
29954 sed 's/^/| /' conftest.
$ac_ext >&5
29956 eval "$as_ac_var=no"
29958 rm -f conftest.err conftest.
$ac_objext \
29959 conftest
$ac_exeext conftest.
$ac_ext
29961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29963 if test `eval echo '${'$as_ac_var'}'` = yes; then
29964 cat >>confdefs.h
<<_ACEOF
29965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29972 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
29973 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
29974 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
29975 wxUSE_SNGLINST_CHECKER
=no
29980 for ac_func
in timegm
29982 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29983 echo "$as_me:$LINENO: checking for $ac_func" >&5
29984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29985 if eval "test \"\${$as_ac_var+set}\" = set"; then
29986 echo $ECHO_N "(cached) $ECHO_C" >&6
29988 cat >conftest.
$ac_ext <<_ACEOF
29991 cat confdefs.h
>>conftest.
$ac_ext
29992 cat >>conftest.
$ac_ext <<_ACEOF
29993 /* end confdefs.h. */
29994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29996 #define $ac_func innocuous_$ac_func
29998 /* System header to define __stub macros and hopefully few prototypes,
29999 which can conflict with char $ac_func (); below.
30000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30001 <limits.h> exists even on freestanding compilers. */
30004 # include <limits.h>
30006 # include <assert.h>
30011 /* Override any gcc2 internal prototype to avoid an error. */
30016 /* We use char because int might match the return type of a gcc2
30017 builtin and then its argument prototype would still apply. */
30019 /* The GNU C library defines this for functions which it implements
30020 to always fail with ENOSYS. Some functions are actually named
30021 something starting with __ and the normal name is an alias. */
30022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30025 char (*f) () = $ac_func;
30034 return f != $ac_func;
30039 rm -f conftest.
$ac_objext conftest
$ac_exeext
30040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30041 (eval $ac_link) 2>conftest.er1
30043 grep -v '^ *+' conftest.er1
>conftest.err
30045 cat conftest.err
>&5
30046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30047 (exit $ac_status); } &&
30048 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30050 (eval $ac_try) 2>&5
30052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30053 (exit $ac_status); }; } &&
30054 { ac_try
='test -s conftest$ac_exeext'
30055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30056 (eval $ac_try) 2>&5
30058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30059 (exit $ac_status); }; }; then
30060 eval "$as_ac_var=yes"
30062 echo "$as_me: failed program was:" >&5
30063 sed 's/^/| /' conftest.
$ac_ext >&5
30065 eval "$as_ac_var=no"
30067 rm -f conftest.err conftest.
$ac_objext \
30068 conftest
$ac_exeext conftest.
$ac_ext
30070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30072 if test `eval echo '${'$as_ac_var'}'` = yes; then
30073 cat >>confdefs.h
<<_ACEOF
30074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30083 for ac_func
in putenv setenv
30085 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30086 echo "$as_me:$LINENO: checking for $ac_func" >&5
30087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30088 if eval "test \"\${$as_ac_var+set}\" = set"; then
30089 echo $ECHO_N "(cached) $ECHO_C" >&6
30091 cat >conftest.
$ac_ext <<_ACEOF
30094 cat confdefs.h
>>conftest.
$ac_ext
30095 cat >>conftest.
$ac_ext <<_ACEOF
30096 /* end confdefs.h. */
30097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30099 #define $ac_func innocuous_$ac_func
30101 /* System header to define __stub macros and hopefully few prototypes,
30102 which can conflict with char $ac_func (); below.
30103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30104 <limits.h> exists even on freestanding compilers. */
30107 # include <limits.h>
30109 # include <assert.h>
30114 /* Override any gcc2 internal prototype to avoid an error. */
30119 /* We use char because int might match the return type of a gcc2
30120 builtin and then its argument prototype would still apply. */
30122 /* The GNU C library defines this for functions which it implements
30123 to always fail with ENOSYS. Some functions are actually named
30124 something starting with __ and the normal name is an alias. */
30125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30128 char (*f) () = $ac_func;
30137 return f != $ac_func;
30142 rm -f conftest.
$ac_objext conftest
$ac_exeext
30143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30144 (eval $ac_link) 2>conftest.er1
30146 grep -v '^ *+' conftest.er1
>conftest.err
30148 cat conftest.err
>&5
30149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30150 (exit $ac_status); } &&
30151 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30153 (eval $ac_try) 2>&5
30155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30156 (exit $ac_status); }; } &&
30157 { ac_try
='test -s conftest$ac_exeext'
30158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30159 (eval $ac_try) 2>&5
30161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30162 (exit $ac_status); }; }; then
30163 eval "$as_ac_var=yes"
30165 echo "$as_me: failed program was:" >&5
30166 sed 's/^/| /' conftest.
$ac_ext >&5
30168 eval "$as_ac_var=no"
30170 rm -f conftest.err conftest.
$ac_objext \
30171 conftest
$ac_exeext conftest.
$ac_ext
30173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30175 if test `eval echo '${'$as_ac_var'}'` = yes; then
30176 cat >>confdefs.h
<<_ACEOF
30177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30184 HAVE_SOME_SLEEP_FUNC
=0
30185 if test "$USE_BEOS" = 1; then
30186 cat >>confdefs.h
<<\_ACEOF
30187 #define HAVE_SLEEP 1
30190 HAVE_SOME_SLEEP_FUNC
=1
30193 if test "$USE_DARWIN" = 1; then
30194 cat >>confdefs.h
<<\_ACEOF
30195 #define HAVE_USLEEP 1
30198 HAVE_SOME_SLEEP_FUNC
=1
30201 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30204 for ac_func
in nanosleep
30206 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30207 echo "$as_me:$LINENO: checking for $ac_func" >&5
30208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30209 if eval "test \"\${$as_ac_var+set}\" = set"; then
30210 echo $ECHO_N "(cached) $ECHO_C" >&6
30212 cat >conftest.
$ac_ext <<_ACEOF
30215 cat confdefs.h
>>conftest.
$ac_ext
30216 cat >>conftest.
$ac_ext <<_ACEOF
30217 /* end confdefs.h. */
30218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30220 #define $ac_func innocuous_$ac_func
30222 /* System header to define __stub macros and hopefully few prototypes,
30223 which can conflict with char $ac_func (); below.
30224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30225 <limits.h> exists even on freestanding compilers. */
30228 # include <limits.h>
30230 # include <assert.h>
30235 /* Override any gcc2 internal prototype to avoid an error. */
30240 /* We use char because int might match the return type of a gcc2
30241 builtin and then its argument prototype would still apply. */
30243 /* The GNU C library defines this for functions which it implements
30244 to always fail with ENOSYS. Some functions are actually named
30245 something starting with __ and the normal name is an alias. */
30246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30249 char (*f) () = $ac_func;
30258 return f != $ac_func;
30263 rm -f conftest.
$ac_objext conftest
$ac_exeext
30264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30265 (eval $ac_link) 2>conftest.er1
30267 grep -v '^ *+' conftest.er1
>conftest.err
30269 cat conftest.err
>&5
30270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30271 (exit $ac_status); } &&
30272 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30274 (eval $ac_try) 2>&5
30276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30277 (exit $ac_status); }; } &&
30278 { ac_try
='test -s conftest$ac_exeext'
30279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30280 (eval $ac_try) 2>&5
30282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30283 (exit $ac_status); }; }; then
30284 eval "$as_ac_var=yes"
30286 echo "$as_me: failed program was:" >&5
30287 sed 's/^/| /' conftest.
$ac_ext >&5
30289 eval "$as_ac_var=no"
30291 rm -f conftest.err conftest.
$ac_objext \
30292 conftest
$ac_exeext conftest.
$ac_ext
30294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30296 if test `eval echo '${'$as_ac_var'}'` = yes; then
30297 cat >>confdefs.h
<<_ACEOF
30298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30300 cat >>confdefs.h
<<\_ACEOF
30301 #define HAVE_NANOSLEEP 1
30306 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30307 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30308 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30309 echo $ECHO_N "(cached) $ECHO_C" >&6
30311 ac_check_lib_save_LIBS
=$LIBS
30312 LIBS
="-lposix4 $LIBS"
30313 cat >conftest.
$ac_ext <<_ACEOF
30316 cat confdefs.h
>>conftest.
$ac_ext
30317 cat >>conftest.
$ac_ext <<_ACEOF
30318 /* end confdefs.h. */
30320 /* Override any gcc2 internal prototype to avoid an error. */
30324 /* We use char because int might match the return type of a gcc2
30325 builtin and then its argument prototype would still apply. */
30335 rm -f conftest.
$ac_objext conftest
$ac_exeext
30336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30337 (eval $ac_link) 2>conftest.er1
30339 grep -v '^ *+' conftest.er1
>conftest.err
30341 cat conftest.err
>&5
30342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30343 (exit $ac_status); } &&
30344 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30346 (eval $ac_try) 2>&5
30348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30349 (exit $ac_status); }; } &&
30350 { ac_try
='test -s conftest$ac_exeext'
30351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30352 (eval $ac_try) 2>&5
30354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30355 (exit $ac_status); }; }; then
30356 ac_cv_lib_posix4_nanosleep
=yes
30358 echo "$as_me: failed program was:" >&5
30359 sed 's/^/| /' conftest.
$ac_ext >&5
30361 ac_cv_lib_posix4_nanosleep
=no
30363 rm -f conftest.err conftest.
$ac_objext \
30364 conftest
$ac_exeext conftest.
$ac_ext
30365 LIBS
=$ac_check_lib_save_LIBS
30367 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30368 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30369 if test $ac_cv_lib_posix4_nanosleep = yes; then
30371 cat >>confdefs.h
<<\_ACEOF
30372 #define HAVE_NANOSLEEP 1
30375 POSIX4_LINK
=" -lposix4"
30380 for ac_func
in usleep
30382 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30383 echo "$as_me:$LINENO: checking for $ac_func" >&5
30384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30385 if eval "test \"\${$as_ac_var+set}\" = set"; then
30386 echo $ECHO_N "(cached) $ECHO_C" >&6
30388 cat >conftest.
$ac_ext <<_ACEOF
30391 cat confdefs.h
>>conftest.
$ac_ext
30392 cat >>conftest.
$ac_ext <<_ACEOF
30393 /* end confdefs.h. */
30394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30396 #define $ac_func innocuous_$ac_func
30398 /* System header to define __stub macros and hopefully few prototypes,
30399 which can conflict with char $ac_func (); below.
30400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30401 <limits.h> exists even on freestanding compilers. */
30404 # include <limits.h>
30406 # include <assert.h>
30411 /* Override any gcc2 internal prototype to avoid an error. */
30416 /* We use char because int might match the return type of a gcc2
30417 builtin and then its argument prototype would still apply. */
30419 /* The GNU C library defines this for functions which it implements
30420 to always fail with ENOSYS. Some functions are actually named
30421 something starting with __ and the normal name is an alias. */
30422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30425 char (*f) () = $ac_func;
30434 return f != $ac_func;
30439 rm -f conftest.
$ac_objext conftest
$ac_exeext
30440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30441 (eval $ac_link) 2>conftest.er1
30443 grep -v '^ *+' conftest.er1
>conftest.err
30445 cat conftest.err
>&5
30446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30447 (exit $ac_status); } &&
30448 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30450 (eval $ac_try) 2>&5
30452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30453 (exit $ac_status); }; } &&
30454 { ac_try
='test -s conftest$ac_exeext'
30455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30456 (eval $ac_try) 2>&5
30458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30459 (exit $ac_status); }; }; then
30460 eval "$as_ac_var=yes"
30462 echo "$as_me: failed program was:" >&5
30463 sed 's/^/| /' conftest.
$ac_ext >&5
30465 eval "$as_ac_var=no"
30467 rm -f conftest.err conftest.
$ac_objext \
30468 conftest
$ac_exeext conftest.
$ac_ext
30470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30472 if test `eval echo '${'$as_ac_var'}'` = yes; then
30473 cat >>confdefs.h
<<_ACEOF
30474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30476 cat >>confdefs.h
<<\_ACEOF
30477 #define HAVE_USLEEP 1
30481 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30482 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30500 for ac_func
in uname gethostname
30502 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30503 echo "$as_me:$LINENO: checking for $ac_func" >&5
30504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30505 if eval "test \"\${$as_ac_var+set}\" = set"; then
30506 echo $ECHO_N "(cached) $ECHO_C" >&6
30508 cat >conftest.
$ac_ext <<_ACEOF
30511 cat confdefs.h
>>conftest.
$ac_ext
30512 cat >>conftest.
$ac_ext <<_ACEOF
30513 /* end confdefs.h. */
30514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30516 #define $ac_func innocuous_$ac_func
30518 /* System header to define __stub macros and hopefully few prototypes,
30519 which can conflict with char $ac_func (); below.
30520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30521 <limits.h> exists even on freestanding compilers. */
30524 # include <limits.h>
30526 # include <assert.h>
30531 /* Override any gcc2 internal prototype to avoid an error. */
30536 /* We use char because int might match the return type of a gcc2
30537 builtin and then its argument prototype would still apply. */
30539 /* The GNU C library defines this for functions which it implements
30540 to always fail with ENOSYS. Some functions are actually named
30541 something starting with __ and the normal name is an alias. */
30542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30545 char (*f) () = $ac_func;
30554 return f != $ac_func;
30559 rm -f conftest.
$ac_objext conftest
$ac_exeext
30560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30561 (eval $ac_link) 2>conftest.er1
30563 grep -v '^ *+' conftest.er1
>conftest.err
30565 cat conftest.err
>&5
30566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30567 (exit $ac_status); } &&
30568 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30570 (eval $ac_try) 2>&5
30572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30573 (exit $ac_status); }; } &&
30574 { ac_try
='test -s conftest$ac_exeext'
30575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30576 (eval $ac_try) 2>&5
30578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30579 (exit $ac_status); }; }; then
30580 eval "$as_ac_var=yes"
30582 echo "$as_me: failed program was:" >&5
30583 sed 's/^/| /' conftest.
$ac_ext >&5
30585 eval "$as_ac_var=no"
30587 rm -f conftest.err conftest.
$ac_objext \
30588 conftest
$ac_exeext conftest.
$ac_ext
30590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30592 if test `eval echo '${'$as_ac_var'}'` = yes; then
30593 cat >>confdefs.h
<<_ACEOF
30594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30604 ac_cpp
='$CXXCPP $CPPFLAGS'
30605 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30606 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30607 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30611 for ac_func
in strtok_r
30613 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30614 echo "$as_me:$LINENO: checking for $ac_func" >&5
30615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30616 if eval "test \"\${$as_ac_var+set}\" = set"; then
30617 echo $ECHO_N "(cached) $ECHO_C" >&6
30619 cat >conftest.
$ac_ext <<_ACEOF
30622 cat confdefs.h
>>conftest.
$ac_ext
30623 cat >>conftest.
$ac_ext <<_ACEOF
30624 /* end confdefs.h. */
30625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30627 #define $ac_func innocuous_$ac_func
30629 /* System header to define __stub macros and hopefully few prototypes,
30630 which can conflict with char $ac_func (); below.
30631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30632 <limits.h> exists even on freestanding compilers. */
30635 # include <limits.h>
30637 # include <assert.h>
30642 /* Override any gcc2 internal prototype to avoid an error. */
30647 /* We use char because int might match the return type of a gcc2
30648 builtin and then its argument prototype would still apply. */
30650 /* The GNU C library defines this for functions which it implements
30651 to always fail with ENOSYS. Some functions are actually named
30652 something starting with __ and the normal name is an alias. */
30653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30656 char (*f) () = $ac_func;
30665 return f != $ac_func;
30670 rm -f conftest.
$ac_objext conftest
$ac_exeext
30671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30672 (eval $ac_link) 2>conftest.er1
30674 grep -v '^ *+' conftest.er1
>conftest.err
30676 cat conftest.err
>&5
30677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30678 (exit $ac_status); } &&
30679 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30681 (eval $ac_try) 2>&5
30683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30684 (exit $ac_status); }; } &&
30685 { ac_try
='test -s conftest$ac_exeext'
30686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30687 (eval $ac_try) 2>&5
30689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30690 (exit $ac_status); }; }; then
30691 eval "$as_ac_var=yes"
30693 echo "$as_me: failed program was:" >&5
30694 sed 's/^/| /' conftest.
$ac_ext >&5
30696 eval "$as_ac_var=no"
30698 rm -f conftest.err conftest.
$ac_objext \
30699 conftest
$ac_exeext conftest.
$ac_ext
30701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30703 if test `eval echo '${'$as_ac_var'}'` = yes; then
30704 cat >>confdefs.h
<<_ACEOF
30705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30713 ac_cpp
='$CPP $CPPFLAGS'
30714 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30715 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30716 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30721 for ac_func
in inet_addr
30723 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30724 echo "$as_me:$LINENO: checking for $ac_func" >&5
30725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30726 if eval "test \"\${$as_ac_var+set}\" = set"; then
30727 echo $ECHO_N "(cached) $ECHO_C" >&6
30729 cat >conftest.
$ac_ext <<_ACEOF
30732 cat confdefs.h
>>conftest.
$ac_ext
30733 cat >>conftest.
$ac_ext <<_ACEOF
30734 /* end confdefs.h. */
30735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30737 #define $ac_func innocuous_$ac_func
30739 /* System header to define __stub macros and hopefully few prototypes,
30740 which can conflict with char $ac_func (); below.
30741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30742 <limits.h> exists even on freestanding compilers. */
30745 # include <limits.h>
30747 # include <assert.h>
30752 /* Override any gcc2 internal prototype to avoid an error. */
30757 /* We use char because int might match the return type of a gcc2
30758 builtin and then its argument prototype would still apply. */
30760 /* The GNU C library defines this for functions which it implements
30761 to always fail with ENOSYS. Some functions are actually named
30762 something starting with __ and the normal name is an alias. */
30763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30766 char (*f) () = $ac_func;
30775 return f != $ac_func;
30780 rm -f conftest.
$ac_objext conftest
$ac_exeext
30781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30782 (eval $ac_link) 2>conftest.er1
30784 grep -v '^ *+' conftest.er1
>conftest.err
30786 cat conftest.err
>&5
30787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30788 (exit $ac_status); } &&
30789 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30791 (eval $ac_try) 2>&5
30793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30794 (exit $ac_status); }; } &&
30795 { ac_try
='test -s conftest$ac_exeext'
30796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30797 (eval $ac_try) 2>&5
30799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30800 (exit $ac_status); }; }; then
30801 eval "$as_ac_var=yes"
30803 echo "$as_me: failed program was:" >&5
30804 sed 's/^/| /' conftest.
$ac_ext >&5
30806 eval "$as_ac_var=no"
30808 rm -f conftest.err conftest.
$ac_objext \
30809 conftest
$ac_exeext conftest.
$ac_ext
30811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30813 if test `eval echo '${'$as_ac_var'}'` = yes; then
30814 cat >>confdefs.h
<<_ACEOF
30815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30817 cat >>confdefs.h
<<\_ACEOF
30818 #define HAVE_INET_ADDR 1
30823 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
30824 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
30825 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
30826 echo $ECHO_N "(cached) $ECHO_C" >&6
30828 ac_check_lib_save_LIBS
=$LIBS
30830 cat >conftest.
$ac_ext <<_ACEOF
30833 cat confdefs.h
>>conftest.
$ac_ext
30834 cat >>conftest.
$ac_ext <<_ACEOF
30835 /* end confdefs.h. */
30837 /* Override any gcc2 internal prototype to avoid an error. */
30841 /* We use char because int might match the return type of a gcc2
30842 builtin and then its argument prototype would still apply. */
30852 rm -f conftest.
$ac_objext conftest
$ac_exeext
30853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30854 (eval $ac_link) 2>conftest.er1
30856 grep -v '^ *+' conftest.er1
>conftest.err
30858 cat conftest.err
>&5
30859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30860 (exit $ac_status); } &&
30861 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30863 (eval $ac_try) 2>&5
30865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30866 (exit $ac_status); }; } &&
30867 { ac_try
='test -s conftest$ac_exeext'
30868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30869 (eval $ac_try) 2>&5
30871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30872 (exit $ac_status); }; }; then
30873 ac_cv_lib_nsl_inet_addr
=yes
30875 echo "$as_me: failed program was:" >&5
30876 sed 's/^/| /' conftest.
$ac_ext >&5
30878 ac_cv_lib_nsl_inet_addr
=no
30880 rm -f conftest.err conftest.
$ac_objext \
30881 conftest
$ac_exeext conftest.
$ac_ext
30882 LIBS
=$ac_check_lib_save_LIBS
30884 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
30885 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
30886 if test $ac_cv_lib_nsl_inet_addr = yes; then
30890 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
30891 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
30892 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
30893 echo $ECHO_N "(cached) $ECHO_C" >&6
30895 ac_check_lib_save_LIBS
=$LIBS
30896 LIBS
="-lresolv $LIBS"
30897 cat >conftest.
$ac_ext <<_ACEOF
30900 cat confdefs.h
>>conftest.
$ac_ext
30901 cat >>conftest.
$ac_ext <<_ACEOF
30902 /* end confdefs.h. */
30904 /* Override any gcc2 internal prototype to avoid an error. */
30908 /* We use char because int might match the return type of a gcc2
30909 builtin and then its argument prototype would still apply. */
30919 rm -f conftest.
$ac_objext conftest
$ac_exeext
30920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30921 (eval $ac_link) 2>conftest.er1
30923 grep -v '^ *+' conftest.er1
>conftest.err
30925 cat conftest.err
>&5
30926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30927 (exit $ac_status); } &&
30928 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30930 (eval $ac_try) 2>&5
30932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30933 (exit $ac_status); }; } &&
30934 { ac_try
='test -s conftest$ac_exeext'
30935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30936 (eval $ac_try) 2>&5
30938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30939 (exit $ac_status); }; }; then
30940 ac_cv_lib_resolv_inet_addr
=yes
30942 echo "$as_me: failed program was:" >&5
30943 sed 's/^/| /' conftest.
$ac_ext >&5
30945 ac_cv_lib_resolv_inet_addr
=no
30947 rm -f conftest.err conftest.
$ac_objext \
30948 conftest
$ac_exeext conftest.
$ac_ext
30949 LIBS
=$ac_check_lib_save_LIBS
30951 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
30952 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
30953 if test $ac_cv_lib_resolv_inet_addr = yes; then
30957 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
30958 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
30959 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
30960 echo $ECHO_N "(cached) $ECHO_C" >&6
30962 ac_check_lib_save_LIBS
=$LIBS
30963 LIBS
="-lsocket $LIBS"
30964 cat >conftest.
$ac_ext <<_ACEOF
30967 cat confdefs.h
>>conftest.
$ac_ext
30968 cat >>conftest.
$ac_ext <<_ACEOF
30969 /* end confdefs.h. */
30971 /* Override any gcc2 internal prototype to avoid an error. */
30975 /* We use char because int might match the return type of a gcc2
30976 builtin and then its argument prototype would still apply. */
30986 rm -f conftest.
$ac_objext conftest
$ac_exeext
30987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30988 (eval $ac_link) 2>conftest.er1
30990 grep -v '^ *+' conftest.er1
>conftest.err
30992 cat conftest.err
>&5
30993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30994 (exit $ac_status); } &&
30995 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30997 (eval $ac_try) 2>&5
30999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31000 (exit $ac_status); }; } &&
31001 { ac_try
='test -s conftest$ac_exeext'
31002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31003 (eval $ac_try) 2>&5
31005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31006 (exit $ac_status); }; }; then
31007 ac_cv_lib_socket_inet_addr
=yes
31009 echo "$as_me: failed program was:" >&5
31010 sed 's/^/| /' conftest.
$ac_ext >&5
31012 ac_cv_lib_socket_inet_addr
=no
31014 rm -f conftest.err conftest.
$ac_objext \
31015 conftest
$ac_exeext conftest.
$ac_ext
31016 LIBS
=$ac_check_lib_save_LIBS
31018 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31019 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31020 if test $ac_cv_lib_socket_inet_addr = yes; then
31040 for ac_func
in inet_aton
31042 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31043 echo "$as_me:$LINENO: checking for $ac_func" >&5
31044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31045 if eval "test \"\${$as_ac_var+set}\" = set"; then
31046 echo $ECHO_N "(cached) $ECHO_C" >&6
31048 cat >conftest.
$ac_ext <<_ACEOF
31051 cat confdefs.h
>>conftest.
$ac_ext
31052 cat >>conftest.
$ac_ext <<_ACEOF
31053 /* end confdefs.h. */
31054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31056 #define $ac_func innocuous_$ac_func
31058 /* System header to define __stub macros and hopefully few prototypes,
31059 which can conflict with char $ac_func (); below.
31060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31061 <limits.h> exists even on freestanding compilers. */
31064 # include <limits.h>
31066 # include <assert.h>
31071 /* Override any gcc2 internal prototype to avoid an error. */
31076 /* We use char because int might match the return type of a gcc2
31077 builtin and then its argument prototype would still apply. */
31079 /* The GNU C library defines this for functions which it implements
31080 to always fail with ENOSYS. Some functions are actually named
31081 something starting with __ and the normal name is an alias. */
31082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31085 char (*f) () = $ac_func;
31094 return f != $ac_func;
31099 rm -f conftest.
$ac_objext conftest
$ac_exeext
31100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31101 (eval $ac_link) 2>conftest.er1
31103 grep -v '^ *+' conftest.er1
>conftest.err
31105 cat conftest.err
>&5
31106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31107 (exit $ac_status); } &&
31108 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31110 (eval $ac_try) 2>&5
31112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31113 (exit $ac_status); }; } &&
31114 { ac_try
='test -s conftest$ac_exeext'
31115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31116 (eval $ac_try) 2>&5
31118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31119 (exit $ac_status); }; }; then
31120 eval "$as_ac_var=yes"
31122 echo "$as_me: failed program was:" >&5
31123 sed 's/^/| /' conftest.
$ac_ext >&5
31125 eval "$as_ac_var=no"
31127 rm -f conftest.err conftest.
$ac_objext \
31128 conftest
$ac_exeext conftest.
$ac_ext
31130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31132 if test `eval echo '${'$as_ac_var'}'` = yes; then
31133 cat >>confdefs.h
<<_ACEOF
31134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31136 cat >>confdefs.h
<<\_ACEOF
31137 #define HAVE_INET_ATON 1
31142 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31143 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31144 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31145 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31146 echo $ECHO_N "(cached) $ECHO_C" >&6
31148 ac_check_lib_save_LIBS
=$LIBS
31149 LIBS
="-l$INET_LINK $LIBS"
31150 cat >conftest.
$ac_ext <<_ACEOF
31153 cat confdefs.h
>>conftest.
$ac_ext
31154 cat >>conftest.
$ac_ext <<_ACEOF
31155 /* end confdefs.h. */
31157 /* Override any gcc2 internal prototype to avoid an error. */
31161 /* We use char because int might match the return type of a gcc2
31162 builtin and then its argument prototype would still apply. */
31172 rm -f conftest.
$ac_objext conftest
$ac_exeext
31173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31174 (eval $ac_link) 2>conftest.er1
31176 grep -v '^ *+' conftest.er1
>conftest.err
31178 cat conftest.err
>&5
31179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31180 (exit $ac_status); } &&
31181 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31183 (eval $ac_try) 2>&5
31185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31186 (exit $ac_status); }; } &&
31187 { ac_try
='test -s conftest$ac_exeext'
31188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31189 (eval $ac_try) 2>&5
31191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31192 (exit $ac_status); }; }; then
31193 eval "$as_ac_Lib=yes"
31195 echo "$as_me: failed program was:" >&5
31196 sed 's/^/| /' conftest.
$ac_ext >&5
31198 eval "$as_ac_Lib=no"
31200 rm -f conftest.err conftest.
$ac_objext \
31201 conftest
$ac_exeext conftest.
$ac_ext
31202 LIBS
=$ac_check_lib_save_LIBS
31204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31205 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31206 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31207 cat >>confdefs.h
<<\_ACEOF
31208 #define HAVE_INET_ATON 1
31218 if test "x$INET_LINK" != "x"; then
31219 cat >>confdefs.h
<<\_ACEOF
31220 #define HAVE_INET_ADDR 1
31223 INET_LINK
=" -l$INET_LINK"
31231 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31232 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31233 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31234 echo $ECHO_N "(cached) $ECHO_C" >&6
31236 ac_check_lib_save_LIBS
=$LIBS
31238 cat >conftest.
$ac_ext <<_ACEOF
31241 cat confdefs.h
>>conftest.
$ac_ext
31242 cat >>conftest.
$ac_ext <<_ACEOF
31243 /* end confdefs.h. */
31245 /* Override any gcc2 internal prototype to avoid an error. */
31249 /* We use char because int might match the return type of a gcc2
31250 builtin and then its argument prototype would still apply. */
31260 rm -f conftest.
$ac_objext conftest
$ac_exeext
31261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31262 (eval $ac_link) 2>conftest.er1
31264 grep -v '^ *+' conftest.er1
>conftest.err
31266 cat conftest.err
>&5
31267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31268 (exit $ac_status); } &&
31269 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31271 (eval $ac_try) 2>&5
31273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31274 (exit $ac_status); }; } &&
31275 { ac_try
='test -s conftest$ac_exeext'
31276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31277 (eval $ac_try) 2>&5
31279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31280 (exit $ac_status); }; }; then
31281 ac_cv_lib_esd_esd_close
=yes
31283 echo "$as_me: failed program was:" >&5
31284 sed 's/^/| /' conftest.
$ac_ext >&5
31286 ac_cv_lib_esd_esd_close
=no
31288 rm -f conftest.err conftest.
$ac_objext \
31289 conftest
$ac_exeext conftest.
$ac_ext
31290 LIBS
=$ac_check_lib_save_LIBS
31292 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31293 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31294 if test $ac_cv_lib_esd_esd_close = yes; then
31297 for ac_header
in esd.h
31299 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31301 echo "$as_me:$LINENO: checking for $ac_header" >&5
31302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31303 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31304 echo $ECHO_N "(cached) $ECHO_C" >&6
31306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31307 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31309 # Is the header compilable?
31310 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31311 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31312 cat >conftest.
$ac_ext <<_ACEOF
31315 cat confdefs.h
>>conftest.
$ac_ext
31316 cat >>conftest.
$ac_ext <<_ACEOF
31317 /* end confdefs.h. */
31318 $ac_includes_default
31319 #include <$ac_header>
31321 rm -f conftest.
$ac_objext
31322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31323 (eval $ac_compile) 2>conftest.er1
31325 grep -v '^ *+' conftest.er1
>conftest.err
31327 cat conftest.err
>&5
31328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31329 (exit $ac_status); } &&
31330 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31332 (eval $ac_try) 2>&5
31334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31335 (exit $ac_status); }; } &&
31336 { ac_try
='test -s conftest.$ac_objext'
31337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31338 (eval $ac_try) 2>&5
31340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31341 (exit $ac_status); }; }; then
31342 ac_header_compiler
=yes
31344 echo "$as_me: failed program was:" >&5
31345 sed 's/^/| /' conftest.
$ac_ext >&5
31347 ac_header_compiler
=no
31349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31350 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31351 echo "${ECHO_T}$ac_header_compiler" >&6
31353 # Is the header present?
31354 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31355 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31356 cat >conftest.
$ac_ext <<_ACEOF
31359 cat confdefs.h
>>conftest.
$ac_ext
31360 cat >>conftest.
$ac_ext <<_ACEOF
31361 /* end confdefs.h. */
31362 #include <$ac_header>
31364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31365 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31367 grep -v '^ *+' conftest.er1
>conftest.err
31369 cat conftest.err
>&5
31370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31371 (exit $ac_status); } >/dev
/null
; then
31372 if test -s conftest.err
; then
31373 ac_cpp_err
=$ac_c_preproc_warn_flag
31374 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31381 if test -z "$ac_cpp_err"; then
31382 ac_header_preproc
=yes
31384 echo "$as_me: failed program was:" >&5
31385 sed 's/^/| /' conftest.
$ac_ext >&5
31387 ac_header_preproc
=no
31389 rm -f conftest.err conftest.
$ac_ext
31390 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31391 echo "${ECHO_T}$ac_header_preproc" >&6
31393 # So? What about this header?
31394 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31396 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31397 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31399 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31400 ac_header_preproc
=yes
31403 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31404 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31405 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31406 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31407 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31408 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31409 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31410 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31412 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31413 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31414 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31417 ## ----------------------------------------- ##
31418 ## Report this to wx-dev@lists.wxwidgets.org ##
31419 ## ----------------------------------------- ##
31422 sed "s/^/$as_me: WARNING: /" >&2
31425 echo "$as_me:$LINENO: checking for $ac_header" >&5
31426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31428 echo $ECHO_N "(cached) $ECHO_C" >&6
31430 eval "$as_ac_Header=\$ac_header_preproc"
31432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31436 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31437 cat >>confdefs.h
<<_ACEOF
31438 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31441 EXTRALIBS_ESD
="-lesd"
31452 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31453 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31454 cat >conftest.
$ac_ext <<_ACEOF
31457 cat confdefs.h
>>conftest.
$ac_ext
31458 cat >>conftest.
$ac_ext <<_ACEOF
31459 /* end confdefs.h. */
31461 #include <linux/cdrom.h>
31464 #include <sys/cdio.h>
31470 struct cdrom_tocentry entry, old_entry;
31475 rm -f conftest.
$ac_objext
31476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31477 (eval $ac_compile) 2>conftest.er1
31479 grep -v '^ *+' conftest.er1
>conftest.err
31481 cat conftest.err
>&5
31482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31483 (exit $ac_status); } &&
31484 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31486 (eval $ac_try) 2>&5
31488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31489 (exit $ac_status); }; } &&
31490 { ac_try
='test -s conftest.$ac_objext'
31491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31492 (eval $ac_try) 2>&5
31494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31495 (exit $ac_status); }; }; then
31496 echo "$as_me:$LINENO: result: yes" >&5
31497 echo "${ECHO_T}yes" >&6
31498 cat >>confdefs.h
<<\_ACEOF
31499 #define HAVE_KNOWN_CDROM_INTERFACE 1
31503 echo "$as_me: failed program was:" >&5
31504 sed 's/^/| /' conftest.
$ac_ext >&5
31506 echo "$as_me:$LINENO: result: no" >&5
31507 echo "${ECHO_T}no" >&6
31509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31512 cat >confcache
<<\_ACEOF
31513 # This file is a shell script that caches the results of configure
31514 # tests run on this system so they can be shared between configure
31515 # scripts and configure runs, see configure's option --config-cache.
31516 # It is not useful on other systems. If it contains results you don't
31517 # want to keep, you may remove or edit it.
31519 # config.status only pays attention to the cache file if you give it
31520 # the --recheck option to rerun configure.
31522 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31523 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31524 # following values.
31528 # The following way of writing the cache mishandles newlines in values,
31529 # but we know of no workaround that is simple, portable, and efficient.
31530 # So, don't put newlines in cache variables' values.
31531 # Ultrix sh set writes to stderr and can't be redirected directly,
31532 # and sets the high bit in the cache file unless we assign to the vars.
31535 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31537 # `set' does not quote correctly, so add quotes (double-quote
31538 # substitution turns \\\\ into \\, and sed turns \\ into \).
31541 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31544 # `set' quotes correctly as required by POSIX, so do not add quotes.
31546 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31553 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31555 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31557 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
31558 if test -w $cache_file; then
31559 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31560 cat confcache
>$cache_file
31562 echo "not updating unwritable cache $cache_file"
31569 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31575 if test "$wxUSE_THREADS" = "yes" ; then
31576 if test "$USE_BEOS" = 1; then
31577 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31578 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31583 if test "$wxUSE_THREADS" = "yes" ; then
31586 THREAD_OPTS
="-pthread"
31588 *-*-solaris2* | *-*-sunos4* )
31589 if test "x$GCC" = "xyes"; then
31590 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31592 THREAD_OPTS
="-mt $THREAD_OPTS"
31596 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31598 *-*-darwin* | *-*-cygwin* )
31602 THREAD_OPTS
="pthreads"
31605 if test "x$GCC" != "xyes"; then
31611 if test "x$GCC" = "xyes"; then
31617 if test "x$GCC" != "xyes"; then
31618 THREAD_OPTS
="-Ethread"
31623 THREAD_OPTS
="$THREAD_OPTS pthread none"
31626 for flag
in $THREAD_OPTS; do
31629 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31630 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31634 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31635 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
31636 THREADS_CFLAGS
="$flag"
31640 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
31641 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
31642 THREADS_LINK
="-l$flag"
31647 save_CFLAGS
="$CFLAGS"
31648 LIBS
="$THREADS_LINK $LIBS"
31649 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
31651 cat >conftest.
$ac_ext <<_ACEOF
31654 cat confdefs.h
>>conftest.
$ac_ext
31655 cat >>conftest.
$ac_ext <<_ACEOF
31656 /* end confdefs.h. */
31657 #include <pthread.h>
31661 pthread_create(0,0,0,0);
31666 rm -f conftest.
$ac_objext conftest
$ac_exeext
31667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31668 (eval $ac_link) 2>conftest.er1
31670 grep -v '^ *+' conftest.er1
>conftest.err
31672 cat conftest.err
>&5
31673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31674 (exit $ac_status); } &&
31675 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31677 (eval $ac_try) 2>&5
31679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31680 (exit $ac_status); }; } &&
31681 { ac_try
='test -s conftest$ac_exeext'
31682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31683 (eval $ac_try) 2>&5
31685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31686 (exit $ac_status); }; }; then
31689 echo "$as_me: failed program was:" >&5
31690 sed 's/^/| /' conftest.
$ac_ext >&5
31693 rm -f conftest.err conftest.
$ac_objext \
31694 conftest
$ac_exeext conftest.
$ac_ext
31697 CFLAGS
="$save_CFLAGS"
31699 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
31700 echo "${ECHO_T}$THREADS_OK" >&6
31701 if test "x$THREADS_OK" = "xyes"; then
31709 if test "x$THREADS_OK" != "xyes"; then
31711 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
31712 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31714 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
31715 LIBS
="$THREADS_LINK $LIBS"
31717 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
31718 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
31722 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
31723 flag
="-D_THREAD_SAFE"
31726 flag
="-D_THREAD_SAFE"
31729 flag
="-D_REENTRANT"
31730 if test "x$GCC" != "xyes"; then
31731 flag
="$flag -D_RWSTD_MULTI_THREAD"
31736 *solaris
* | alpha
*-osf*)
31737 flag
="-D_REENTRANT"
31740 echo "$as_me:$LINENO: result: ${flag}" >&5
31741 echo "${ECHO_T}${flag}" >&6
31742 if test "x$flag" != xno
; then
31743 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
31746 if test "x$THREADS_CFLAGS" != "x"; then
31747 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
31748 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
31753 if test "$wxUSE_THREADS" = "yes" ; then
31755 for ac_func
in thr_setconcurrency
31757 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31758 echo "$as_me:$LINENO: checking for $ac_func" >&5
31759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31760 if eval "test \"\${$as_ac_var+set}\" = set"; then
31761 echo $ECHO_N "(cached) $ECHO_C" >&6
31763 cat >conftest.
$ac_ext <<_ACEOF
31766 cat confdefs.h
>>conftest.
$ac_ext
31767 cat >>conftest.
$ac_ext <<_ACEOF
31768 /* end confdefs.h. */
31769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31771 #define $ac_func innocuous_$ac_func
31773 /* System header to define __stub macros and hopefully few prototypes,
31774 which can conflict with char $ac_func (); below.
31775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31776 <limits.h> exists even on freestanding compilers. */
31779 # include <limits.h>
31781 # include <assert.h>
31786 /* Override any gcc2 internal prototype to avoid an error. */
31791 /* We use char because int might match the return type of a gcc2
31792 builtin and then its argument prototype would still apply. */
31794 /* The GNU C library defines this for functions which it implements
31795 to always fail with ENOSYS. Some functions are actually named
31796 something starting with __ and the normal name is an alias. */
31797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31800 char (*f) () = $ac_func;
31809 return f != $ac_func;
31814 rm -f conftest.
$ac_objext conftest
$ac_exeext
31815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31816 (eval $ac_link) 2>conftest.er1
31818 grep -v '^ *+' conftest.er1
>conftest.err
31820 cat conftest.err
>&5
31821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31822 (exit $ac_status); } &&
31823 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31825 (eval $ac_try) 2>&5
31827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31828 (exit $ac_status); }; } &&
31829 { ac_try
='test -s conftest$ac_exeext'
31830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31831 (eval $ac_try) 2>&5
31833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31834 (exit $ac_status); }; }; then
31835 eval "$as_ac_var=yes"
31837 echo "$as_me: failed program was:" >&5
31838 sed 's/^/| /' conftest.
$ac_ext >&5
31840 eval "$as_ac_var=no"
31842 rm -f conftest.err conftest.
$ac_objext \
31843 conftest
$ac_exeext conftest.
$ac_ext
31845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31846 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31847 if test `eval echo '${'$as_ac_var'}'` = yes; then
31848 cat >>confdefs.h
<<_ACEOF
31849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31857 for ac_header
in sched.h
31859 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31861 echo "$as_me:$LINENO: checking for $ac_header" >&5
31862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31864 echo $ECHO_N "(cached) $ECHO_C" >&6
31866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31867 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31869 # Is the header compilable?
31870 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31871 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31872 cat >conftest.
$ac_ext <<_ACEOF
31875 cat confdefs.h
>>conftest.
$ac_ext
31876 cat >>conftest.
$ac_ext <<_ACEOF
31877 /* end confdefs.h. */
31878 $ac_includes_default
31879 #include <$ac_header>
31881 rm -f conftest.
$ac_objext
31882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31883 (eval $ac_compile) 2>conftest.er1
31885 grep -v '^ *+' conftest.er1
>conftest.err
31887 cat conftest.err
>&5
31888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31889 (exit $ac_status); } &&
31890 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31892 (eval $ac_try) 2>&5
31894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31895 (exit $ac_status); }; } &&
31896 { ac_try
='test -s conftest.$ac_objext'
31897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31898 (eval $ac_try) 2>&5
31900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31901 (exit $ac_status); }; }; then
31902 ac_header_compiler
=yes
31904 echo "$as_me: failed program was:" >&5
31905 sed 's/^/| /' conftest.
$ac_ext >&5
31907 ac_header_compiler
=no
31909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31910 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31911 echo "${ECHO_T}$ac_header_compiler" >&6
31913 # Is the header present?
31914 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31915 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31916 cat >conftest.
$ac_ext <<_ACEOF
31919 cat confdefs.h
>>conftest.
$ac_ext
31920 cat >>conftest.
$ac_ext <<_ACEOF
31921 /* end confdefs.h. */
31922 #include <$ac_header>
31924 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31925 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31927 grep -v '^ *+' conftest.er1
>conftest.err
31929 cat conftest.err
>&5
31930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31931 (exit $ac_status); } >/dev
/null
; then
31932 if test -s conftest.err
; then
31933 ac_cpp_err
=$ac_c_preproc_warn_flag
31934 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31941 if test -z "$ac_cpp_err"; then
31942 ac_header_preproc
=yes
31944 echo "$as_me: failed program was:" >&5
31945 sed 's/^/| /' conftest.
$ac_ext >&5
31947 ac_header_preproc
=no
31949 rm -f conftest.err conftest.
$ac_ext
31950 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31951 echo "${ECHO_T}$ac_header_preproc" >&6
31953 # So? What about this header?
31954 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31956 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31957 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31958 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31959 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31960 ac_header_preproc
=yes
31963 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31964 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31965 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31966 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31967 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31968 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31969 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31970 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31971 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31972 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31973 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31974 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31977 ## ----------------------------------------- ##
31978 ## Report this to wx-dev@lists.wxwidgets.org ##
31979 ## ----------------------------------------- ##
31982 sed "s/^/$as_me: WARNING: /" >&2
31985 echo "$as_me:$LINENO: checking for $ac_header" >&5
31986 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31987 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31988 echo $ECHO_N "(cached) $ECHO_C" >&6
31990 eval "$as_ac_Header=\$ac_header_preproc"
31992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31993 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31996 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31997 cat >>confdefs.h
<<_ACEOF
31998 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32005 if test "$ac_cv_header_sched_h" = "yes"; then
32006 echo "$as_me:$LINENO: checking for sched_yield" >&5
32007 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32008 if test "${ac_cv_func_sched_yield+set}" = set; then
32009 echo $ECHO_N "(cached) $ECHO_C" >&6
32011 cat >conftest.
$ac_ext <<_ACEOF
32014 cat confdefs.h
>>conftest.
$ac_ext
32015 cat >>conftest.
$ac_ext <<_ACEOF
32016 /* end confdefs.h. */
32017 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32019 #define sched_yield innocuous_sched_yield
32021 /* System header to define __stub macros and hopefully few prototypes,
32022 which can conflict with char sched_yield (); below.
32023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32024 <limits.h> exists even on freestanding compilers. */
32027 # include <limits.h>
32029 # include <assert.h>
32034 /* Override any gcc2 internal prototype to avoid an error. */
32039 /* We use char because int might match the return type of a gcc2
32040 builtin and then its argument prototype would still apply. */
32041 char sched_yield ();
32042 /* The GNU C library defines this for functions which it implements
32043 to always fail with ENOSYS. Some functions are actually named
32044 something starting with __ and the normal name is an alias. */
32045 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32048 char (*f) () = sched_yield;
32057 return f != sched_yield;
32062 rm -f conftest.
$ac_objext conftest
$ac_exeext
32063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32064 (eval $ac_link) 2>conftest.er1
32066 grep -v '^ *+' conftest.er1
>conftest.err
32068 cat conftest.err
>&5
32069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32070 (exit $ac_status); } &&
32071 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32073 (eval $ac_try) 2>&5
32075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32076 (exit $ac_status); }; } &&
32077 { ac_try
='test -s conftest$ac_exeext'
32078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32079 (eval $ac_try) 2>&5
32081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32082 (exit $ac_status); }; }; then
32083 ac_cv_func_sched_yield
=yes
32085 echo "$as_me: failed program was:" >&5
32086 sed 's/^/| /' conftest.
$ac_ext >&5
32088 ac_cv_func_sched_yield
=no
32090 rm -f conftest.err conftest.
$ac_objext \
32091 conftest
$ac_exeext conftest.
$ac_ext
32093 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32094 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32095 if test $ac_cv_func_sched_yield = yes; then
32096 cat >>confdefs.h
<<\_ACEOF
32097 #define HAVE_SCHED_YIELD 1
32102 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32103 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32104 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32105 echo $ECHO_N "(cached) $ECHO_C" >&6
32107 ac_check_lib_save_LIBS
=$LIBS
32108 LIBS
="-lposix4 $LIBS"
32109 cat >conftest.
$ac_ext <<_ACEOF
32112 cat confdefs.h
>>conftest.
$ac_ext
32113 cat >>conftest.
$ac_ext <<_ACEOF
32114 /* end confdefs.h. */
32116 /* Override any gcc2 internal prototype to avoid an error. */
32120 /* We use char because int might match the return type of a gcc2
32121 builtin and then its argument prototype would still apply. */
32122 char sched_yield ();
32131 rm -f conftest.
$ac_objext conftest
$ac_exeext
32132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32133 (eval $ac_link) 2>conftest.er1
32135 grep -v '^ *+' conftest.er1
>conftest.err
32137 cat conftest.err
>&5
32138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32139 (exit $ac_status); } &&
32140 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32142 (eval $ac_try) 2>&5
32144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32145 (exit $ac_status); }; } &&
32146 { ac_try
='test -s conftest$ac_exeext'
32147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32148 (eval $ac_try) 2>&5
32150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32151 (exit $ac_status); }; }; then
32152 ac_cv_lib_posix4_sched_yield
=yes
32154 echo "$as_me: failed program was:" >&5
32155 sed 's/^/| /' conftest.
$ac_ext >&5
32157 ac_cv_lib_posix4_sched_yield
=no
32159 rm -f conftest.err conftest.
$ac_objext \
32160 conftest
$ac_exeext conftest.
$ac_ext
32161 LIBS
=$ac_check_lib_save_LIBS
32163 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32164 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32165 if test $ac_cv_lib_posix4_sched_yield = yes; then
32166 cat >>confdefs.h
<<\_ACEOF
32167 #define HAVE_SCHED_YIELD 1
32169 POSIX4_LINK
=" -lposix4"
32171 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32172 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32183 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32184 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32185 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32186 echo $ECHO_N "(cached) $ECHO_C" >&6
32188 cat >conftest.
$ac_ext <<_ACEOF
32191 cat confdefs.h
>>conftest.
$ac_ext
32192 cat >>conftest.
$ac_ext <<_ACEOF
32193 /* end confdefs.h. */
32194 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32196 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32198 /* System header to define __stub macros and hopefully few prototypes,
32199 which can conflict with char pthread_attr_getschedpolicy (); below.
32200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32201 <limits.h> exists even on freestanding compilers. */
32204 # include <limits.h>
32206 # include <assert.h>
32209 #undef pthread_attr_getschedpolicy
32211 /* Override any gcc2 internal prototype to avoid an error. */
32216 /* We use char because int might match the return type of a gcc2
32217 builtin and then its argument prototype would still apply. */
32218 char pthread_attr_getschedpolicy ();
32219 /* The GNU C library defines this for functions which it implements
32220 to always fail with ENOSYS. Some functions are actually named
32221 something starting with __ and the normal name is an alias. */
32222 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32225 char (*f) () = pthread_attr_getschedpolicy;
32234 return f != pthread_attr_getschedpolicy;
32239 rm -f conftest.
$ac_objext conftest
$ac_exeext
32240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32241 (eval $ac_link) 2>conftest.er1
32243 grep -v '^ *+' conftest.er1
>conftest.err
32245 cat conftest.err
>&5
32246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32247 (exit $ac_status); } &&
32248 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32250 (eval $ac_try) 2>&5
32252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32253 (exit $ac_status); }; } &&
32254 { ac_try
='test -s conftest$ac_exeext'
32255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32256 (eval $ac_try) 2>&5
32258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32259 (exit $ac_status); }; }; then
32260 ac_cv_func_pthread_attr_getschedpolicy
=yes
32262 echo "$as_me: failed program was:" >&5
32263 sed 's/^/| /' conftest.
$ac_ext >&5
32265 ac_cv_func_pthread_attr_getschedpolicy
=no
32267 rm -f conftest.err conftest.
$ac_objext \
32268 conftest
$ac_exeext conftest.
$ac_ext
32270 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32271 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32272 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32273 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32274 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32275 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32276 echo $ECHO_N "(cached) $ECHO_C" >&6
32278 cat >conftest.
$ac_ext <<_ACEOF
32281 cat confdefs.h
>>conftest.
$ac_ext
32282 cat >>conftest.
$ac_ext <<_ACEOF
32283 /* end confdefs.h. */
32284 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32286 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32288 /* System header to define __stub macros and hopefully few prototypes,
32289 which can conflict with char pthread_attr_setschedparam (); below.
32290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32291 <limits.h> exists even on freestanding compilers. */
32294 # include <limits.h>
32296 # include <assert.h>
32299 #undef pthread_attr_setschedparam
32301 /* Override any gcc2 internal prototype to avoid an error. */
32306 /* We use char because int might match the return type of a gcc2
32307 builtin and then its argument prototype would still apply. */
32308 char pthread_attr_setschedparam ();
32309 /* The GNU C library defines this for functions which it implements
32310 to always fail with ENOSYS. Some functions are actually named
32311 something starting with __ and the normal name is an alias. */
32312 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32315 char (*f) () = pthread_attr_setschedparam;
32324 return f != pthread_attr_setschedparam;
32329 rm -f conftest.
$ac_objext conftest
$ac_exeext
32330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32331 (eval $ac_link) 2>conftest.er1
32333 grep -v '^ *+' conftest.er1
>conftest.err
32335 cat conftest.err
>&5
32336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32337 (exit $ac_status); } &&
32338 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32340 (eval $ac_try) 2>&5
32342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32343 (exit $ac_status); }; } &&
32344 { ac_try
='test -s conftest$ac_exeext'
32345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32346 (eval $ac_try) 2>&5
32348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32349 (exit $ac_status); }; }; then
32350 ac_cv_func_pthread_attr_setschedparam
=yes
32352 echo "$as_me: failed program was:" >&5
32353 sed 's/^/| /' conftest.
$ac_ext >&5
32355 ac_cv_func_pthread_attr_setschedparam
=no
32357 rm -f conftest.err conftest.
$ac_objext \
32358 conftest
$ac_exeext conftest.
$ac_ext
32360 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32361 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32362 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32363 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32364 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32365 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32366 echo $ECHO_N "(cached) $ECHO_C" >&6
32368 cat >conftest.
$ac_ext <<_ACEOF
32371 cat confdefs.h
>>conftest.
$ac_ext
32372 cat >>conftest.
$ac_ext <<_ACEOF
32373 /* end confdefs.h. */
32374 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32376 #define sched_get_priority_max innocuous_sched_get_priority_max
32378 /* System header to define __stub macros and hopefully few prototypes,
32379 which can conflict with char sched_get_priority_max (); below.
32380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32381 <limits.h> exists even on freestanding compilers. */
32384 # include <limits.h>
32386 # include <assert.h>
32389 #undef sched_get_priority_max
32391 /* Override any gcc2 internal prototype to avoid an error. */
32396 /* We use char because int might match the return type of a gcc2
32397 builtin and then its argument prototype would still apply. */
32398 char sched_get_priority_max ();
32399 /* The GNU C library defines this for functions which it implements
32400 to always fail with ENOSYS. Some functions are actually named
32401 something starting with __ and the normal name is an alias. */
32402 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32405 char (*f) () = sched_get_priority_max;
32414 return f != sched_get_priority_max;
32419 rm -f conftest.
$ac_objext conftest
$ac_exeext
32420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32421 (eval $ac_link) 2>conftest.er1
32423 grep -v '^ *+' conftest.er1
>conftest.err
32425 cat conftest.err
>&5
32426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32427 (exit $ac_status); } &&
32428 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32430 (eval $ac_try) 2>&5
32432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32433 (exit $ac_status); }; } &&
32434 { ac_try
='test -s conftest$ac_exeext'
32435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32436 (eval $ac_try) 2>&5
32438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32439 (exit $ac_status); }; }; then
32440 ac_cv_func_sched_get_priority_max
=yes
32442 echo "$as_me: failed program was:" >&5
32443 sed 's/^/| /' conftest.
$ac_ext >&5
32445 ac_cv_func_sched_get_priority_max
=no
32447 rm -f conftest.err conftest.
$ac_objext \
32448 conftest
$ac_exeext conftest.
$ac_ext
32450 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32451 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32452 if test $ac_cv_func_sched_get_priority_max = yes; then
32455 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32456 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32457 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32458 echo $ECHO_N "(cached) $ECHO_C" >&6
32460 ac_check_lib_save_LIBS
=$LIBS
32461 LIBS
="-lposix4 $LIBS"
32462 cat >conftest.
$ac_ext <<_ACEOF
32465 cat confdefs.h
>>conftest.
$ac_ext
32466 cat >>conftest.
$ac_ext <<_ACEOF
32467 /* end confdefs.h. */
32469 /* Override any gcc2 internal prototype to avoid an error. */
32473 /* We use char because int might match the return type of a gcc2
32474 builtin and then its argument prototype would still apply. */
32475 char sched_get_priority_max ();
32479 sched_get_priority_max ();
32484 rm -f conftest.
$ac_objext conftest
$ac_exeext
32485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32486 (eval $ac_link) 2>conftest.er1
32488 grep -v '^ *+' conftest.er1
>conftest.err
32490 cat conftest.err
>&5
32491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32492 (exit $ac_status); } &&
32493 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32495 (eval $ac_try) 2>&5
32497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32498 (exit $ac_status); }; } &&
32499 { ac_try
='test -s conftest$ac_exeext'
32500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32501 (eval $ac_try) 2>&5
32503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32504 (exit $ac_status); }; }; then
32505 ac_cv_lib_posix4_sched_get_priority_max
=yes
32507 echo "$as_me: failed program was:" >&5
32508 sed 's/^/| /' conftest.
$ac_ext >&5
32510 ac_cv_lib_posix4_sched_get_priority_max
=no
32512 rm -f conftest.err conftest.
$ac_objext \
32513 conftest
$ac_exeext conftest.
$ac_ext
32514 LIBS
=$ac_check_lib_save_LIBS
32516 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32517 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32518 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32521 POSIX4_LINK
=" -lposix4"
32535 if test "$HAVE_PRIOR_FUNCS" = 1; then
32536 cat >>confdefs.h
<<\_ACEOF
32537 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32541 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32542 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32545 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32546 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32547 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32548 echo $ECHO_N "(cached) $ECHO_C" >&6
32550 cat >conftest.
$ac_ext <<_ACEOF
32553 cat confdefs.h
>>conftest.
$ac_ext
32554 cat >>conftest.
$ac_ext <<_ACEOF
32555 /* end confdefs.h. */
32556 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32558 #define pthread_cancel innocuous_pthread_cancel
32560 /* System header to define __stub macros and hopefully few prototypes,
32561 which can conflict with char pthread_cancel (); below.
32562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32563 <limits.h> exists even on freestanding compilers. */
32566 # include <limits.h>
32568 # include <assert.h>
32571 #undef pthread_cancel
32573 /* Override any gcc2 internal prototype to avoid an error. */
32578 /* We use char because int might match the return type of a gcc2
32579 builtin and then its argument prototype would still apply. */
32580 char pthread_cancel ();
32581 /* The GNU C library defines this for functions which it implements
32582 to always fail with ENOSYS. Some functions are actually named
32583 something starting with __ and the normal name is an alias. */
32584 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32587 char (*f) () = pthread_cancel;
32596 return f != pthread_cancel;
32601 rm -f conftest.
$ac_objext conftest
$ac_exeext
32602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32603 (eval $ac_link) 2>conftest.er1
32605 grep -v '^ *+' conftest.er1
>conftest.err
32607 cat conftest.err
>&5
32608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32609 (exit $ac_status); } &&
32610 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32612 (eval $ac_try) 2>&5
32614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32615 (exit $ac_status); }; } &&
32616 { ac_try
='test -s conftest$ac_exeext'
32617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32618 (eval $ac_try) 2>&5
32620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32621 (exit $ac_status); }; }; then
32622 ac_cv_func_pthread_cancel
=yes
32624 echo "$as_me: failed program was:" >&5
32625 sed 's/^/| /' conftest.
$ac_ext >&5
32627 ac_cv_func_pthread_cancel
=no
32629 rm -f conftest.err conftest.
$ac_objext \
32630 conftest
$ac_exeext conftest.
$ac_ext
32632 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32633 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32634 if test $ac_cv_func_pthread_cancel = yes; then
32635 cat >>confdefs.h
<<\_ACEOF
32636 #define HAVE_PTHREAD_CANCEL 1
32640 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
32641 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32647 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
32648 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
32649 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
32650 echo $ECHO_N "(cached) $ECHO_C" >&6
32653 cat >conftest.
$ac_ext <<_ACEOF
32656 cat confdefs.h
>>conftest.
$ac_ext
32657 cat >>conftest.
$ac_ext <<_ACEOF
32658 /* end confdefs.h. */
32659 #include <pthread.h>
32664 pthread_mutexattr_t attr;
32665 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32671 rm -f conftest.
$ac_objext
32672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32673 (eval $ac_compile) 2>conftest.er1
32675 grep -v '^ *+' conftest.er1
>conftest.err
32677 cat conftest.err
>&5
32678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32679 (exit $ac_status); } &&
32680 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32682 (eval $ac_try) 2>&5
32684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32685 (exit $ac_status); }; } &&
32686 { ac_try
='test -s conftest.$ac_objext'
32687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32688 (eval $ac_try) 2>&5
32690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32691 (exit $ac_status); }; }; then
32693 wx_cv_type_pthread_mutexattr_t
=yes
32696 echo "$as_me: failed program was:" >&5
32697 sed 's/^/| /' conftest.
$ac_ext >&5
32700 wx_cv_type_pthread_mutexattr_t
=no
32704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32707 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
32708 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
32710 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32711 cat >>confdefs.h
<<\_ACEOF
32712 #define HAVE_PTHREAD_MUTEXATTR_T 1
32716 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32717 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
32718 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
32719 echo $ECHO_N "(cached) $ECHO_C" >&6
32722 cat >conftest.
$ac_ext <<_ACEOF
32725 cat confdefs.h
>>conftest.
$ac_ext
32726 cat >>conftest.
$ac_ext <<_ACEOF
32727 /* end confdefs.h. */
32728 #include <pthread.h>
32733 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32739 rm -f conftest.
$ac_objext
32740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32741 (eval $ac_compile) 2>conftest.er1
32743 grep -v '^ *+' conftest.er1
>conftest.err
32745 cat conftest.err
>&5
32746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32747 (exit $ac_status); } &&
32748 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32750 (eval $ac_try) 2>&5
32752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32753 (exit $ac_status); }; } &&
32754 { ac_try
='test -s conftest.$ac_objext'
32755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32756 (eval $ac_try) 2>&5
32758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32759 (exit $ac_status); }; }; then
32761 wx_cv_type_pthread_rec_mutex_init
=yes
32764 echo "$as_me: failed program was:" >&5
32765 sed 's/^/| /' conftest.
$ac_ext >&5
32768 wx_cv_type_pthread_rec_mutex_init
=no
32772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32775 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32776 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
32777 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32778 cat >>confdefs.h
<<\_ACEOF
32779 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
32783 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
32784 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32790 if test "$wxUSE_THREADS" = "yes" ; then
32793 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
32794 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
32795 if test "${wx_cv_cflags_mthread+set}" = set; then
32796 echo $ECHO_N "(cached) $ECHO_C" >&6
32799 CFLAGS_OLD
="$CFLAGS"
32800 CFLAGS
="$CFLAGS -mthreads"
32801 cat >conftest.
$ac_ext <<_ACEOF
32804 cat confdefs.h
>>conftest.
$ac_ext
32805 cat >>conftest.
$ac_ext <<_ACEOF
32806 /* end confdefs.h. */
32816 rm -f conftest.
$ac_objext
32817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32818 (eval $ac_compile) 2>conftest.er1
32820 grep -v '^ *+' conftest.er1
>conftest.err
32822 cat conftest.err
>&5
32823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32824 (exit $ac_status); } &&
32825 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32827 (eval $ac_try) 2>&5
32829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32830 (exit $ac_status); }; } &&
32831 { ac_try
='test -s conftest.$ac_objext'
32832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32833 (eval $ac_try) 2>&5
32835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32836 (exit $ac_status); }; }; then
32837 wx_cv_cflags_mthread
=yes
32839 echo "$as_me: failed program was:" >&5
32840 sed 's/^/| /' conftest.
$ac_ext >&5
32842 wx_cv_cflags_mthread
=no
32845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32849 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
32850 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
32852 if test "$wx_cv_cflags_mthread" = "yes"; then
32853 CXXFLAGS
="$CXXFLAGS -mthreads"
32854 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
32855 LDFLAGS
="$LDFLAGS -mthreads"
32857 CFLAGS
="$CFLAGS_OLD"
32861 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
32862 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
32863 LDFLAGS
="$LDFLAGS -Zmt"
32869 if test "$wxUSE_THREADS" = "yes"; then
32870 cat >>confdefs.h
<<\_ACEOF
32871 #define wxUSE_THREADS 1
32875 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
32877 if test "$ac_cv_func_strtok_r" = "yes"; then
32878 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
32879 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
32880 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32881 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
32882 echo "$as_me:$LINENO: result: yes" >&5
32883 echo "${ECHO_T}yes" >&6
32885 echo "$as_me:$LINENO: result: no" >&5
32886 echo "${ECHO_T}no" >&6
32891 if test "$WXGTK20" = 1 ; then
32892 cat >>confdefs.h
<<_ACEOF
32893 #define __WXGTK20__ $WXGTK20
32899 if test "$WXGTK12" = 1 ; then
32900 cat >>confdefs.h
<<_ACEOF
32901 #define __WXGTK12__ $WXGTK12
32906 if test "$WXGTK127" = 1 ; then
32907 cat >>confdefs.h
<<_ACEOF
32908 #define __WXGTK127__ $WXGTK127
32913 if test "$WXGPE" = 1 ; then
32914 cat >>confdefs.h
<<_ACEOF
32915 #define __WXGPE__ $WXGPE
32922 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
32927 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32928 wxUSE_DEBUG_INFO
=yes
32932 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
32933 cat >>confdefs.h
<<\_ACEOF
32937 WXDEBUG_DEFINE
="-D__WXDEBUG__"
32939 if test "$wxUSE_GTK" = 1 ; then
32940 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
32944 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32945 cat >>confdefs.h
<<\_ACEOF
32946 #define wxUSE_MEMORY_TRACING 1
32949 cat >>confdefs.h
<<\_ACEOF
32950 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
32953 cat >>confdefs.h
<<\_ACEOF
32954 #define wxUSE_DEBUG_NEW_ALWAYS 1
32957 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
32960 if test "$wxUSE_DMALLOC" = "yes" ; then
32961 DMALLOC_LIBS
="-ldmalloc"
32965 if test "$wxUSE_PROFILE" = "yes" ; then
32970 CODE_GEN_FLAGS_CXX
=
32971 if test "$GCC" = "yes" ; then
32972 if test "$wxUSE_NO_RTTI" = "yes" ; then
32973 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
32975 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32976 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
32978 if test "$wxUSE_PERMISSIVE" = "yes" ; then
32979 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
32984 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
32987 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
32993 if test "$wxUSE_OPTIMISE" = "no" ; then
32994 if test "$GCC" = yes ; then
32998 if test "$GCC" = yes ; then
33002 i586
-*-*|i686
-*-* )
33003 OPTIMISE
="${OPTIMISE} "
33012 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33013 cat >>confdefs.h
<<\_ACEOF
33014 #define WXWIN_COMPATIBILITY_2_2 1
33018 WXWIN_COMPATIBILITY_2_4
="yes"
33021 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33022 cat >>confdefs.h
<<\_ACEOF
33023 #define WXWIN_COMPATIBILITY_2_4 1
33029 if test "$wxUSE_GUI" = "yes"; then
33030 cat >>confdefs.h
<<\_ACEOF
33031 #define wxUSE_GUI 1
33036 cat >>confdefs.h
<<\_ACEOF
33037 #define wxUSE_NOGUI 1
33043 if test "$wxUSE_UNIX" = "yes"; then
33044 cat >>confdefs.h
<<\_ACEOF
33045 #define wxUSE_UNIX 1
33051 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33055 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33056 if test "$USE_DARWIN" = 1; then
33060 for ac_func
in dlopen
33062 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33063 echo "$as_me:$LINENO: checking for $ac_func" >&5
33064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33065 if eval "test \"\${$as_ac_var+set}\" = set"; then
33066 echo $ECHO_N "(cached) $ECHO_C" >&6
33068 cat >conftest.
$ac_ext <<_ACEOF
33071 cat confdefs.h
>>conftest.
$ac_ext
33072 cat >>conftest.
$ac_ext <<_ACEOF
33073 /* end confdefs.h. */
33074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33076 #define $ac_func innocuous_$ac_func
33078 /* System header to define __stub macros and hopefully few prototypes,
33079 which can conflict with char $ac_func (); below.
33080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33081 <limits.h> exists even on freestanding compilers. */
33084 # include <limits.h>
33086 # include <assert.h>
33091 /* Override any gcc2 internal prototype to avoid an error. */
33096 /* We use char because int might match the return type of a gcc2
33097 builtin and then its argument prototype would still apply. */
33099 /* The GNU C library defines this for functions which it implements
33100 to always fail with ENOSYS. Some functions are actually named
33101 something starting with __ and the normal name is an alias. */
33102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33105 char (*f) () = $ac_func;
33114 return f != $ac_func;
33119 rm -f conftest.
$ac_objext conftest
$ac_exeext
33120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33121 (eval $ac_link) 2>conftest.er1
33123 grep -v '^ *+' conftest.er1
>conftest.err
33125 cat conftest.err
>&5
33126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33127 (exit $ac_status); } &&
33128 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33130 (eval $ac_try) 2>&5
33132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33133 (exit $ac_status); }; } &&
33134 { ac_try
='test -s conftest$ac_exeext'
33135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33136 (eval $ac_try) 2>&5
33138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33139 (exit $ac_status); }; }; then
33140 eval "$as_ac_var=yes"
33142 echo "$as_me: failed program was:" >&5
33143 sed 's/^/| /' conftest.
$ac_ext >&5
33145 eval "$as_ac_var=no"
33147 rm -f conftest.err conftest.
$ac_objext \
33148 conftest
$ac_exeext conftest.
$ac_ext
33150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33152 if test `eval echo '${'$as_ac_var'}'` = yes; then
33153 cat >>confdefs.h
<<_ACEOF
33154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33157 cat >>confdefs.h
<<\_ACEOF
33158 #define HAVE_DLOPEN 1
33165 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33166 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33167 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33168 echo $ECHO_N "(cached) $ECHO_C" >&6
33170 ac_check_lib_save_LIBS
=$LIBS
33172 cat >conftest.
$ac_ext <<_ACEOF
33175 cat confdefs.h
>>conftest.
$ac_ext
33176 cat >>conftest.
$ac_ext <<_ACEOF
33177 /* end confdefs.h. */
33179 /* Override any gcc2 internal prototype to avoid an error. */
33183 /* We use char because int might match the return type of a gcc2
33184 builtin and then its argument prototype would still apply. */
33194 rm -f conftest.
$ac_objext conftest
$ac_exeext
33195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33196 (eval $ac_link) 2>conftest.er1
33198 grep -v '^ *+' conftest.er1
>conftest.err
33200 cat conftest.err
>&5
33201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33202 (exit $ac_status); } &&
33203 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33205 (eval $ac_try) 2>&5
33207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33208 (exit $ac_status); }; } &&
33209 { ac_try
='test -s conftest$ac_exeext'
33210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33211 (eval $ac_try) 2>&5
33213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33214 (exit $ac_status); }; }; then
33215 ac_cv_lib_dl_dlopen
=yes
33217 echo "$as_me: failed program was:" >&5
33218 sed 's/^/| /' conftest.
$ac_ext >&5
33220 ac_cv_lib_dl_dlopen
=no
33222 rm -f conftest.err conftest.
$ac_objext \
33223 conftest
$ac_exeext conftest.
$ac_ext
33224 LIBS
=$ac_check_lib_save_LIBS
33226 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33227 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33228 if test $ac_cv_lib_dl_dlopen = yes; then
33230 cat >>confdefs.h
<<\_ACEOF
33231 #define HAVE_DLOPEN 1
33235 DL_LINK
=" -ldl$DL_LINK"
33240 for ac_func
in shl_load
33242 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33243 echo "$as_me:$LINENO: checking for $ac_func" >&5
33244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33245 if eval "test \"\${$as_ac_var+set}\" = set"; then
33246 echo $ECHO_N "(cached) $ECHO_C" >&6
33248 cat >conftest.
$ac_ext <<_ACEOF
33251 cat confdefs.h
>>conftest.
$ac_ext
33252 cat >>conftest.
$ac_ext <<_ACEOF
33253 /* end confdefs.h. */
33254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33256 #define $ac_func innocuous_$ac_func
33258 /* System header to define __stub macros and hopefully few prototypes,
33259 which can conflict with char $ac_func (); below.
33260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33261 <limits.h> exists even on freestanding compilers. */
33264 # include <limits.h>
33266 # include <assert.h>
33271 /* Override any gcc2 internal prototype to avoid an error. */
33276 /* We use char because int might match the return type of a gcc2
33277 builtin and then its argument prototype would still apply. */
33279 /* The GNU C library defines this for functions which it implements
33280 to always fail with ENOSYS. Some functions are actually named
33281 something starting with __ and the normal name is an alias. */
33282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33285 char (*f) () = $ac_func;
33294 return f != $ac_func;
33299 rm -f conftest.
$ac_objext conftest
$ac_exeext
33300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33301 (eval $ac_link) 2>conftest.er1
33303 grep -v '^ *+' conftest.er1
>conftest.err
33305 cat conftest.err
>&5
33306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33307 (exit $ac_status); } &&
33308 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33310 (eval $ac_try) 2>&5
33312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33313 (exit $ac_status); }; } &&
33314 { ac_try
='test -s conftest$ac_exeext'
33315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33316 (eval $ac_try) 2>&5
33318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33319 (exit $ac_status); }; }; then
33320 eval "$as_ac_var=yes"
33322 echo "$as_me: failed program was:" >&5
33323 sed 's/^/| /' conftest.
$ac_ext >&5
33325 eval "$as_ac_var=no"
33327 rm -f conftest.err conftest.
$ac_objext \
33328 conftest
$ac_exeext conftest.
$ac_ext
33330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33332 if test `eval echo '${'$as_ac_var'}'` = yes; then
33333 cat >>confdefs.h
<<_ACEOF
33334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33337 cat >>confdefs.h
<<\_ACEOF
33338 #define HAVE_SHL_LOAD 1
33345 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33346 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33347 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33348 echo $ECHO_N "(cached) $ECHO_C" >&6
33350 ac_check_lib_save_LIBS
=$LIBS
33351 LIBS
="-lshl_load $LIBS"
33352 cat >conftest.
$ac_ext <<_ACEOF
33355 cat confdefs.h
>>conftest.
$ac_ext
33356 cat >>conftest.
$ac_ext <<_ACEOF
33357 /* end confdefs.h. */
33359 /* Override any gcc2 internal prototype to avoid an error. */
33363 /* We use char because int might match the return type of a gcc2
33364 builtin and then its argument prototype would still apply. */
33374 rm -f conftest.
$ac_objext conftest
$ac_exeext
33375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33376 (eval $ac_link) 2>conftest.er1
33378 grep -v '^ *+' conftest.er1
>conftest.err
33380 cat conftest.err
>&5
33381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33382 (exit $ac_status); } &&
33383 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33385 (eval $ac_try) 2>&5
33387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33388 (exit $ac_status); }; } &&
33389 { ac_try
='test -s conftest$ac_exeext'
33390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33391 (eval $ac_try) 2>&5
33393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33394 (exit $ac_status); }; }; then
33395 ac_cv_lib_shl_load_dld
=yes
33397 echo "$as_me: failed program was:" >&5
33398 sed 's/^/| /' conftest.
$ac_ext >&5
33400 ac_cv_lib_shl_load_dld
=no
33402 rm -f conftest.err conftest.
$ac_objext \
33403 conftest
$ac_exeext conftest.
$ac_ext
33404 LIBS
=$ac_check_lib_save_LIBS
33406 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33407 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33408 if test $ac_cv_lib_shl_load_dld = yes; then
33411 DL_LINK
=" -ldld$DL_LINK"
33427 if test "$HAVE_DL_FUNCS" = 1; then
33429 for ac_func
in dlerror
33431 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33432 echo "$as_me:$LINENO: checking for $ac_func" >&5
33433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33434 if eval "test \"\${$as_ac_var+set}\" = set"; then
33435 echo $ECHO_N "(cached) $ECHO_C" >&6
33437 cat >conftest.
$ac_ext <<_ACEOF
33440 cat confdefs.h
>>conftest.
$ac_ext
33441 cat >>conftest.
$ac_ext <<_ACEOF
33442 /* end confdefs.h. */
33443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33445 #define $ac_func innocuous_$ac_func
33447 /* System header to define __stub macros and hopefully few prototypes,
33448 which can conflict with char $ac_func (); below.
33449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33450 <limits.h> exists even on freestanding compilers. */
33453 # include <limits.h>
33455 # include <assert.h>
33460 /* Override any gcc2 internal prototype to avoid an error. */
33465 /* We use char because int might match the return type of a gcc2
33466 builtin and then its argument prototype would still apply. */
33468 /* The GNU C library defines this for functions which it implements
33469 to always fail with ENOSYS. Some functions are actually named
33470 something starting with __ and the normal name is an alias. */
33471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33474 char (*f) () = $ac_func;
33483 return f != $ac_func;
33488 rm -f conftest.
$ac_objext conftest
$ac_exeext
33489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33490 (eval $ac_link) 2>conftest.er1
33492 grep -v '^ *+' conftest.er1
>conftest.err
33494 cat conftest.err
>&5
33495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33496 (exit $ac_status); } &&
33497 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33499 (eval $ac_try) 2>&5
33501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33502 (exit $ac_status); }; } &&
33503 { ac_try
='test -s conftest$ac_exeext'
33504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33505 (eval $ac_try) 2>&5
33507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33508 (exit $ac_status); }; }; then
33509 eval "$as_ac_var=yes"
33511 echo "$as_me: failed program was:" >&5
33512 sed 's/^/| /' conftest.
$ac_ext >&5
33514 eval "$as_ac_var=no"
33516 rm -f conftest.err conftest.
$ac_objext \
33517 conftest
$ac_exeext conftest.
$ac_ext
33519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33521 if test `eval echo '${'$as_ac_var'}'` = yes; then
33522 cat >>confdefs.h
<<_ACEOF
33523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33525 cat >>confdefs.h
<<\_ACEOF
33526 #define HAVE_DLERROR 1
33531 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33532 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33533 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33534 echo $ECHO_N "(cached) $ECHO_C" >&6
33536 ac_check_lib_save_LIBS
=$LIBS
33538 cat >conftest.
$ac_ext <<_ACEOF
33541 cat confdefs.h
>>conftest.
$ac_ext
33542 cat >>conftest.
$ac_ext <<_ACEOF
33543 /* end confdefs.h. */
33545 /* Override any gcc2 internal prototype to avoid an error. */
33549 /* We use char because int might match the return type of a gcc2
33550 builtin and then its argument prototype would still apply. */
33560 rm -f conftest.
$ac_objext conftest
$ac_exeext
33561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33562 (eval $ac_link) 2>conftest.er1
33564 grep -v '^ *+' conftest.er1
>conftest.err
33566 cat conftest.err
>&5
33567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33568 (exit $ac_status); } &&
33569 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33571 (eval $ac_try) 2>&5
33573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33574 (exit $ac_status); }; } &&
33575 { ac_try
='test -s conftest$ac_exeext'
33576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33577 (eval $ac_try) 2>&5
33579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33580 (exit $ac_status); }; }; then
33581 ac_cv_lib_dl_dlerror
=yes
33583 echo "$as_me: failed program was:" >&5
33584 sed 's/^/| /' conftest.
$ac_ext >&5
33586 ac_cv_lib_dl_dlerror
=no
33588 rm -f conftest.err conftest.
$ac_objext \
33589 conftest
$ac_exeext conftest.
$ac_ext
33590 LIBS
=$ac_check_lib_save_LIBS
33592 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33593 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33594 if test $ac_cv_lib_dl_dlerror = yes; then
33595 cat >>confdefs.h
<<\_ACEOF
33596 #define HAVE_DLERROR 1
33609 if test "$HAVE_DL_FUNCS" = 0; then
33610 if test "$HAVE_SHL_FUNCS" = 0; then
33611 if test "$USE_UNIX" = 1; then
33612 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33613 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33614 wxUSE_DYNAMIC_LOADER
=no
33615 wxUSE_DYNLIB_CLASS
=no
33617 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
33618 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33625 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33626 cat >>confdefs.h
<<\_ACEOF
33627 #define wxUSE_DYNAMIC_LOADER 1
33631 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33632 cat >>confdefs.h
<<\_ACEOF
33633 #define wxUSE_DYNLIB_CLASS 1
33640 if test "$wxUSE_PLUGINS" = "yes" ; then
33641 if test "$wxUSE_SHARED" = "no" ; then
33642 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
33643 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33646 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33647 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
33648 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33651 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33652 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33653 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33656 if test "$wxUSE_PLUGINS" = "yes" ; then
33657 cat >>confdefs.h
<<\_ACEOF
33658 #define wxUSE_PLUGINS 1
33665 if test "$wxUSE_STL" = "yes"; then
33666 cat >>confdefs.h
<<\_ACEOF
33667 #define wxUSE_STL 1
33672 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33673 cat >>confdefs.h
<<\_ACEOF
33674 #define wxUSE_APPLE_IEEE 1
33679 if test "$wxUSE_TIMER" = "yes"; then
33680 cat >>confdefs.h
<<\_ACEOF
33681 #define wxUSE_TIMER 1
33687 if test "$wxUSE_SOUND" = "yes"; then
33688 if test "$USE_UNIX" = "1" ; then
33690 for ac_header
in sys
/soundcard.h
33692 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33694 echo "$as_me:$LINENO: checking for $ac_header" >&5
33695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33697 echo $ECHO_N "(cached) $ECHO_C" >&6
33699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33702 # Is the header compilable?
33703 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33704 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33705 cat >conftest.
$ac_ext <<_ACEOF
33708 cat confdefs.h
>>conftest.
$ac_ext
33709 cat >>conftest.
$ac_ext <<_ACEOF
33710 /* end confdefs.h. */
33711 $ac_includes_default
33712 #include <$ac_header>
33714 rm -f conftest.
$ac_objext
33715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33716 (eval $ac_compile) 2>conftest.er1
33718 grep -v '^ *+' conftest.er1
>conftest.err
33720 cat conftest.err
>&5
33721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722 (exit $ac_status); } &&
33723 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33725 (eval $ac_try) 2>&5
33727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33728 (exit $ac_status); }; } &&
33729 { ac_try
='test -s conftest.$ac_objext'
33730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33731 (eval $ac_try) 2>&5
33733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33734 (exit $ac_status); }; }; then
33735 ac_header_compiler
=yes
33737 echo "$as_me: failed program was:" >&5
33738 sed 's/^/| /' conftest.
$ac_ext >&5
33740 ac_header_compiler
=no
33742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33743 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33744 echo "${ECHO_T}$ac_header_compiler" >&6
33746 # Is the header present?
33747 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33748 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33749 cat >conftest.
$ac_ext <<_ACEOF
33752 cat confdefs.h
>>conftest.
$ac_ext
33753 cat >>conftest.
$ac_ext <<_ACEOF
33754 /* end confdefs.h. */
33755 #include <$ac_header>
33757 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33758 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33760 grep -v '^ *+' conftest.er1
>conftest.err
33762 cat conftest.err
>&5
33763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33764 (exit $ac_status); } >/dev
/null
; then
33765 if test -s conftest.err
; then
33766 ac_cpp_err
=$ac_c_preproc_warn_flag
33767 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33774 if test -z "$ac_cpp_err"; then
33775 ac_header_preproc
=yes
33777 echo "$as_me: failed program was:" >&5
33778 sed 's/^/| /' conftest.
$ac_ext >&5
33780 ac_header_preproc
=no
33782 rm -f conftest.err conftest.
$ac_ext
33783 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33784 echo "${ECHO_T}$ac_header_preproc" >&6
33786 # So? What about this header?
33787 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33789 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33790 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33791 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33792 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33793 ac_header_preproc
=yes
33796 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33797 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33798 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33799 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33800 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33801 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33802 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33803 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33804 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33805 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33806 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33807 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33810 ## ----------------------------------------- ##
33811 ## Report this to wx-dev@lists.wxwidgets.org ##
33812 ## ----------------------------------------- ##
33815 sed "s/^/$as_me: WARNING: /" >&2
33818 echo "$as_me:$LINENO: checking for $ac_header" >&5
33819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33821 echo $ECHO_N "(cached) $ECHO_C" >&6
33823 eval "$as_ac_Header=\$ac_header_preproc"
33825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33826 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33829 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33830 cat >>confdefs.h
<<_ACEOF
33831 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33839 if test "$wxUSE_LIBSDL" != "no"; then
33841 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
33842 if test "${with_sdl_prefix+set}" = set; then
33843 withval
="$with_sdl_prefix"
33844 sdl_prefix
="$withval"
33849 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
33850 if test "${with_sdl_exec_prefix+set}" = set; then
33851 withval
="$with_sdl_exec_prefix"
33852 sdl_exec_prefix
="$withval"
33856 # Check whether --enable-sdltest or --disable-sdltest was given.
33857 if test "${enable_sdltest+set}" = set; then
33858 enableval
="$enable_sdltest"
33864 if test x
$sdl_exec_prefix != x
; then
33865 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
33866 if test x
${SDL_CONFIG+set} != xset
; then
33867 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
33870 if test x
$sdl_prefix != x
; then
33871 sdl_args
="$sdl_args --prefix=$sdl_prefix"
33872 if test x
${SDL_CONFIG+set} != xset
; then
33873 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
33878 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
33879 # Extract the first word of "sdl-config", so it can be a program name with args.
33880 set dummy sdl
-config; ac_word
=$2
33881 echo "$as_me:$LINENO: checking for $ac_word" >&5
33882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33883 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
33884 echo $ECHO_N "(cached) $ECHO_C" >&6
33886 case $SDL_CONFIG in
33888 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
33891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33892 for as_dir
in $PATH
33895 test -z "$as_dir" && as_dir
=.
33896 for ac_exec_ext
in '' $ac_executable_extensions; do
33897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33898 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33905 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
33909 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
33911 if test -n "$SDL_CONFIG"; then
33912 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
33913 echo "${ECHO_T}$SDL_CONFIG" >&6
33915 echo "$as_me:$LINENO: result: no" >&5
33916 echo "${ECHO_T}no" >&6
33919 min_sdl_version
=1.2.0
33920 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
33921 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
33923 if test "$SDL_CONFIG" = "no" ; then
33926 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
33927 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
33929 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
33930 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33931 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
33932 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33933 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
33934 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33935 if test "x$enable_sdltest" = "xyes" ; then
33936 ac_save_CFLAGS
="$CFLAGS"
33937 ac_save_LIBS
="$LIBS"
33938 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33939 LIBS
="$LIBS $SDL_LIBS"
33941 if test "$cross_compiling" = yes; then
33942 echo $ac_n "cross compiling; assumed OK... $ac_c"
33944 cat >conftest.
$ac_ext <<_ACEOF
33947 cat confdefs.h
>>conftest.
$ac_ext
33948 cat >>conftest.
$ac_ext <<_ACEOF
33949 /* end confdefs.h. */
33952 #include <stdlib.h>
33953 #include <string.h>
33957 my_strdup (char *str)
33963 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33964 strcpy (new_str, str);
33972 int main (int argc, char *argv[])
33974 int major, minor, micro;
33977 /* This hangs on some systems (?)
33978 system ("touch conf.sdltest");
33980 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33982 /* HP/UX 9 (%@#!) writes to sscanf strings */
33983 tmp_version = my_strdup("$min_sdl_version");
33984 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
33985 printf("%s, bad version string\n", "$min_sdl_version");
33989 if (($sdl_major_version > major) ||
33990 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33991 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33997 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33998 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33999 printf("*** best to upgrade to the required version.\n");
34000 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34001 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34002 printf("*** config.cache before re-running configure\n");
34009 rm -f conftest
$ac_exeext
34010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34011 (eval $ac_link) 2>&5
34013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34014 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34016 (eval $ac_try) 2>&5
34018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34019 (exit $ac_status); }; }; then
34022 echo "$as_me: program exited with status $ac_status" >&5
34023 echo "$as_me: failed program was:" >&5
34024 sed 's/^/| /' conftest.
$ac_ext >&5
34026 ( exit $ac_status )
34029 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34031 CFLAGS
="$ac_save_CFLAGS"
34032 LIBS
="$ac_save_LIBS"
34035 if test "x$no_sdl" = x
; then
34036 echo "$as_me:$LINENO: result: yes" >&5
34037 echo "${ECHO_T}yes" >&6
34039 EXTRALIBS_SDL
="$SDL_LIBS"
34040 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34041 cat >>confdefs.h
<<\_ACEOF
34042 #define wxUSE_LIBSDL 1
34047 echo "$as_me:$LINENO: result: no" >&5
34048 echo "${ECHO_T}no" >&6
34049 if test "$SDL_CONFIG" = "no" ; then
34050 echo "*** The sdl-config script installed by SDL could not be found"
34051 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34052 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34053 echo "*** full path to sdl-config."
34055 if test -f conf.sdltest
; then
34058 echo "*** Could not run SDL test program, checking why..."
34059 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34060 LIBS
="$LIBS $SDL_LIBS"
34061 cat >conftest.
$ac_ext <<_ACEOF
34064 cat confdefs.h
>>conftest.
$ac_ext
34065 cat >>conftest.
$ac_ext <<_ACEOF
34066 /* end confdefs.h. */
34071 int main(int argc, char *argv[])
34074 #define main K_and_R_C_main
34084 rm -f conftest.
$ac_objext conftest
$ac_exeext
34085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34086 (eval $ac_link) 2>conftest.er1
34088 grep -v '^ *+' conftest.er1
>conftest.err
34090 cat conftest.err
>&5
34091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34092 (exit $ac_status); } &&
34093 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34095 (eval $ac_try) 2>&5
34097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34098 (exit $ac_status); }; } &&
34099 { ac_try
='test -s conftest$ac_exeext'
34100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34101 (eval $ac_try) 2>&5
34103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34104 (exit $ac_status); }; }; then
34105 echo "*** The test program compiled, but did not run. This usually means"
34106 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34107 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34108 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34109 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34110 echo "*** is required on your system"
34112 echo "*** If you have an old version installed, it is best to remove it, although"
34113 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34115 echo "$as_me: failed program was:" >&5
34116 sed 's/^/| /' conftest.
$ac_ext >&5
34118 echo "*** The test program failed to compile or link. See the file config.log for the"
34119 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34120 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34121 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34123 rm -f conftest.err conftest.
$ac_objext \
34124 conftest
$ac_exeext conftest.
$ac_ext
34125 CFLAGS
="$ac_save_CFLAGS"
34126 LIBS
="$ac_save_LIBS"
34137 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34143 cat >>confdefs.h
<<\_ACEOF
34144 #define wxUSE_SOUND 1
34147 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34150 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34151 cat >>confdefs.h
<<\_ACEOF
34152 #define wxUSE_CMDLINE_PARSER 1
34157 if test "$wxUSE_STOPWATCH" = "yes"; then
34158 cat >>confdefs.h
<<\_ACEOF
34159 #define wxUSE_STOPWATCH 1
34164 if test "$wxUSE_DATETIME" = "yes"; then
34165 cat >>confdefs.h
<<\_ACEOF
34166 #define wxUSE_DATETIME 1
34171 if test "$wxUSE_FILE" = "yes"; then
34172 cat >>confdefs.h
<<\_ACEOF
34173 #define wxUSE_FILE 1
34178 if test "$wxUSE_FFILE" = "yes"; then
34179 cat >>confdefs.h
<<\_ACEOF
34180 #define wxUSE_FFILE 1
34185 if test "$wxUSE_FILESYSTEM" = "yes"; then
34186 cat >>confdefs.h
<<\_ACEOF
34187 #define wxUSE_FILESYSTEM 1
34192 if test "$wxUSE_FS_ZIP" = "yes"; then
34193 cat >>confdefs.h
<<\_ACEOF
34194 #define wxUSE_FS_ZIP 1
34199 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34200 cat >>confdefs.h
<<\_ACEOF
34201 #define wxUSE_ZIPSTREAM 1
34206 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34207 cat >>confdefs.h
<<\_ACEOF
34208 #define wxUSE_ON_FATAL_EXCEPTION 1
34213 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34214 cat >>confdefs.h
<<\_ACEOF
34215 #define wxUSE_SNGLINST_CHECKER 1
34220 if test "$wxUSE_BUSYINFO" = "yes"; then
34221 cat >>confdefs.h
<<\_ACEOF
34222 #define wxUSE_BUSYINFO 1
34227 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34228 cat >>confdefs.h
<<\_ACEOF
34229 #define wxUSE_STD_IOSTREAM 1
34234 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34235 cat >>confdefs.h
<<\_ACEOF
34236 #define wxUSE_TEXTBUFFER 1
34241 if test "$wxUSE_TEXTFILE" = "yes"; then
34242 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34243 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34244 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34246 cat >>confdefs.h
<<\_ACEOF
34247 #define wxUSE_TEXTFILE 1
34253 if test "$wxUSE_CONFIG" = "yes" ; then
34254 if test "$wxUSE_TEXTFILE" != "yes"; then
34255 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34256 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34258 cat >>confdefs.h
<<\_ACEOF
34259 #define wxUSE_CONFIG 1
34262 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34266 if test "$wxUSE_INTL" = "yes" ; then
34267 if test "$wxUSE_FILE" != "yes"; then
34268 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34269 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34271 cat >>confdefs.h
<<\_ACEOF
34272 #define wxUSE_INTL 1
34275 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34276 GUIDIST
="$GUIDIST INTL_DIST"
34280 if test "$wxUSE_LOG" = "yes"; then
34281 cat >>confdefs.h
<<\_ACEOF
34282 #define wxUSE_LOG 1
34286 if test "$wxUSE_LOGGUI" = "yes"; then
34287 cat >>confdefs.h
<<\_ACEOF
34288 #define wxUSE_LOGGUI 1
34293 if test "$wxUSE_LOGWINDOW" = "yes"; then
34294 cat >>confdefs.h
<<\_ACEOF
34295 #define wxUSE_LOGWINDOW 1
34300 if test "$wxUSE_LOGDIALOG" = "yes"; then
34301 cat >>confdefs.h
<<\_ACEOF
34302 #define wxUSE_LOG_DIALOG 1
34308 if test "$wxUSE_LONGLONG" = "yes"; then
34309 cat >>confdefs.h
<<\_ACEOF
34310 #define wxUSE_LONGLONG 1
34315 if test "$wxUSE_GEOMETRY" = "yes"; then
34316 cat >>confdefs.h
<<\_ACEOF
34317 #define wxUSE_GEOMETRY 1
34322 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34323 cat >>confdefs.h
<<\_ACEOF
34324 #define wxUSE_DIALUP_MANAGER 1
34327 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
34330 if test "$wxUSE_STREAMS" = "yes" ; then
34331 cat >>confdefs.h
<<\_ACEOF
34332 #define wxUSE_STREAMS 1
34338 if test "$wxUSE_DATETIME" = "yes"; then
34340 for ac_func
in strptime
34342 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34343 echo "$as_me:$LINENO: checking for $ac_func" >&5
34344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34345 if eval "test \"\${$as_ac_var+set}\" = set"; then
34346 echo $ECHO_N "(cached) $ECHO_C" >&6
34348 cat >conftest.
$ac_ext <<_ACEOF
34351 cat confdefs.h
>>conftest.
$ac_ext
34352 cat >>conftest.
$ac_ext <<_ACEOF
34353 /* end confdefs.h. */
34354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34356 #define $ac_func innocuous_$ac_func
34358 /* System header to define __stub macros and hopefully few prototypes,
34359 which can conflict with char $ac_func (); below.
34360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34361 <limits.h> exists even on freestanding compilers. */
34364 # include <limits.h>
34366 # include <assert.h>
34371 /* Override any gcc2 internal prototype to avoid an error. */
34376 /* We use char because int might match the return type of a gcc2
34377 builtin and then its argument prototype would still apply. */
34379 /* The GNU C library defines this for functions which it implements
34380 to always fail with ENOSYS. Some functions are actually named
34381 something starting with __ and the normal name is an alias. */
34382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34385 char (*f) () = $ac_func;
34394 return f != $ac_func;
34399 rm -f conftest.
$ac_objext conftest
$ac_exeext
34400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34401 (eval $ac_link) 2>conftest.er1
34403 grep -v '^ *+' conftest.er1
>conftest.err
34405 cat conftest.err
>&5
34406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34407 (exit $ac_status); } &&
34408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34410 (eval $ac_try) 2>&5
34412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34413 (exit $ac_status); }; } &&
34414 { ac_try
='test -s conftest$ac_exeext'
34415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34416 (eval $ac_try) 2>&5
34418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34419 (exit $ac_status); }; }; then
34420 eval "$as_ac_var=yes"
34422 echo "$as_me: failed program was:" >&5
34423 sed 's/^/| /' conftest.
$ac_ext >&5
34425 eval "$as_ac_var=no"
34427 rm -f conftest.err conftest.
$ac_objext \
34428 conftest
$ac_exeext conftest.
$ac_ext
34430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34432 if test `eval echo '${'$as_ac_var'}'` = yes; then
34433 cat >>confdefs.h
<<_ACEOF
34434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34441 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34442 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34443 if test "${wx_cv_var_timezone+set}" = set; then
34444 echo $ECHO_N "(cached) $ECHO_C" >&6
34447 cat >conftest.
$ac_ext <<_ACEOF
34450 cat confdefs.h
>>conftest.
$ac_ext
34451 cat >>conftest.
$ac_ext <<_ACEOF
34452 /* end confdefs.h. */
34467 rm -f conftest.
$ac_objext
34468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34469 (eval $ac_compile) 2>conftest.er1
34471 grep -v '^ *+' conftest.er1
>conftest.err
34473 cat conftest.err
>&5
34474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34475 (exit $ac_status); } &&
34476 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34478 (eval $ac_try) 2>&5
34480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34481 (exit $ac_status); }; } &&
34482 { ac_try
='test -s conftest.$ac_objext'
34483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34484 (eval $ac_try) 2>&5
34486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34487 (exit $ac_status); }; }; then
34489 wx_cv_var_timezone
=timezone
34492 echo "$as_me: failed program was:" >&5
34493 sed 's/^/| /' conftest.
$ac_ext >&5
34496 cat >conftest.
$ac_ext <<_ACEOF
34499 cat confdefs.h
>>conftest.
$ac_ext
34500 cat >>conftest.
$ac_ext <<_ACEOF
34501 /* end confdefs.h. */
34516 rm -f conftest.
$ac_objext
34517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34518 (eval $ac_compile) 2>conftest.er1
34520 grep -v '^ *+' conftest.er1
>conftest.err
34522 cat conftest.err
>&5
34523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34524 (exit $ac_status); } &&
34525 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34527 (eval $ac_try) 2>&5
34529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34530 (exit $ac_status); }; } &&
34531 { ac_try
='test -s conftest.$ac_objext'
34532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34533 (eval $ac_try) 2>&5
34535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34536 (exit $ac_status); }; }; then
34538 wx_cv_var_timezone
=_timezone
34541 echo "$as_me: failed program was:" >&5
34542 sed 's/^/| /' conftest.
$ac_ext >&5
34545 cat >conftest.
$ac_ext <<_ACEOF
34548 cat confdefs.h
>>conftest.
$ac_ext
34549 cat >>conftest.
$ac_ext <<_ACEOF
34550 /* end confdefs.h. */
34565 rm -f conftest.
$ac_objext
34566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34567 (eval $ac_compile) 2>conftest.er1
34569 grep -v '^ *+' conftest.er1
>conftest.err
34571 cat conftest.err
>&5
34572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34573 (exit $ac_status); } &&
34574 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34576 (eval $ac_try) 2>&5
34578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34579 (exit $ac_status); }; } &&
34580 { ac_try
='test -s conftest.$ac_objext'
34581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34582 (eval $ac_try) 2>&5
34584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34585 (exit $ac_status); }; }; then
34587 wx_cv_var_timezone
=__timezone
34590 echo "$as_me: failed program was:" >&5
34591 sed 's/^/| /' conftest.
$ac_ext >&5
34594 if test "$USE_DOS" = 0 ; then
34595 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
34596 echo "$as_me: WARNING: no timezone variable" >&2;}
34601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34613 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
34614 echo "${ECHO_T}$wx_cv_var_timezone" >&6
34616 if test "x$wx_cv_var_timezone" != x
; then
34617 cat >>confdefs.h
<<_ACEOF
34618 #define WX_TIMEZONE $wx_cv_var_timezone
34624 for ac_func
in localtime
34626 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34627 echo "$as_me:$LINENO: checking for $ac_func" >&5
34628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34629 if eval "test \"\${$as_ac_var+set}\" = set"; then
34630 echo $ECHO_N "(cached) $ECHO_C" >&6
34632 cat >conftest.
$ac_ext <<_ACEOF
34635 cat confdefs.h
>>conftest.
$ac_ext
34636 cat >>conftest.
$ac_ext <<_ACEOF
34637 /* end confdefs.h. */
34638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34640 #define $ac_func innocuous_$ac_func
34642 /* System header to define __stub macros and hopefully few prototypes,
34643 which can conflict with char $ac_func (); below.
34644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34645 <limits.h> exists even on freestanding compilers. */
34648 # include <limits.h>
34650 # include <assert.h>
34655 /* Override any gcc2 internal prototype to avoid an error. */
34660 /* We use char because int might match the return type of a gcc2
34661 builtin and then its argument prototype would still apply. */
34663 /* The GNU C library defines this for functions which it implements
34664 to always fail with ENOSYS. Some functions are actually named
34665 something starting with __ and the normal name is an alias. */
34666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34669 char (*f) () = $ac_func;
34678 return f != $ac_func;
34683 rm -f conftest.
$ac_objext conftest
$ac_exeext
34684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34685 (eval $ac_link) 2>conftest.er1
34687 grep -v '^ *+' conftest.er1
>conftest.err
34689 cat conftest.err
>&5
34690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34691 (exit $ac_status); } &&
34692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34694 (eval $ac_try) 2>&5
34696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34697 (exit $ac_status); }; } &&
34698 { ac_try
='test -s conftest$ac_exeext'
34699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34700 (eval $ac_try) 2>&5
34702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34703 (exit $ac_status); }; }; then
34704 eval "$as_ac_var=yes"
34706 echo "$as_me: failed program was:" >&5
34707 sed 's/^/| /' conftest.
$ac_ext >&5
34709 eval "$as_ac_var=no"
34711 rm -f conftest.err conftest.
$ac_objext \
34712 conftest
$ac_exeext conftest.
$ac_ext
34714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34716 if test `eval echo '${'$as_ac_var'}'` = yes; then
34717 cat >>confdefs.h
<<_ACEOF
34718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34725 if test "$ac_cv_func_localtime" = "yes"; then
34726 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
34727 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
34728 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
34729 echo $ECHO_N "(cached) $ECHO_C" >&6
34732 cat >conftest.
$ac_ext <<_ACEOF
34735 cat confdefs.h
>>conftest.
$ac_ext
34736 cat >>conftest.
$ac_ext <<_ACEOF
34737 /* end confdefs.h. */
34752 rm -f conftest.
$ac_objext
34753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34754 (eval $ac_compile) 2>conftest.er1
34756 grep -v '^ *+' conftest.er1
>conftest.err
34758 cat conftest.err
>&5
34759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34760 (exit $ac_status); } &&
34761 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34763 (eval $ac_try) 2>&5
34765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34766 (exit $ac_status); }; } &&
34767 { ac_try
='test -s conftest.$ac_objext'
34768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34769 (eval $ac_try) 2>&5
34771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34772 (exit $ac_status); }; }; then
34774 wx_cv_struct_tm_has_gmtoff
=yes
34777 echo "$as_me: failed program was:" >&5
34778 sed 's/^/| /' conftest.
$ac_ext >&5
34780 wx_cv_struct_tm_has_gmtoff
=no
34783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34786 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
34787 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
34790 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
34791 cat >>confdefs.h
<<\_ACEOF
34792 #define WX_GMTOFF_IN_TM 1
34799 for ac_func
in gettimeofday ftime
34801 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34802 echo "$as_me:$LINENO: checking for $ac_func" >&5
34803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34804 if eval "test \"\${$as_ac_var+set}\" = set"; then
34805 echo $ECHO_N "(cached) $ECHO_C" >&6
34807 cat >conftest.
$ac_ext <<_ACEOF
34810 cat confdefs.h
>>conftest.
$ac_ext
34811 cat >>conftest.
$ac_ext <<_ACEOF
34812 /* end confdefs.h. */
34813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34815 #define $ac_func innocuous_$ac_func
34817 /* System header to define __stub macros and hopefully few prototypes,
34818 which can conflict with char $ac_func (); below.
34819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34820 <limits.h> exists even on freestanding compilers. */
34823 # include <limits.h>
34825 # include <assert.h>
34830 /* Override any gcc2 internal prototype to avoid an error. */
34835 /* We use char because int might match the return type of a gcc2
34836 builtin and then its argument prototype would still apply. */
34838 /* The GNU C library defines this for functions which it implements
34839 to always fail with ENOSYS. Some functions are actually named
34840 something starting with __ and the normal name is an alias. */
34841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34844 char (*f) () = $ac_func;
34853 return f != $ac_func;
34858 rm -f conftest.
$ac_objext conftest
$ac_exeext
34859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34860 (eval $ac_link) 2>conftest.er1
34862 grep -v '^ *+' conftest.er1
>conftest.err
34864 cat conftest.err
>&5
34865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34866 (exit $ac_status); } &&
34867 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34869 (eval $ac_try) 2>&5
34871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34872 (exit $ac_status); }; } &&
34873 { ac_try
='test -s conftest$ac_exeext'
34874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34875 (eval $ac_try) 2>&5
34877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34878 (exit $ac_status); }; }; then
34879 eval "$as_ac_var=yes"
34881 echo "$as_me: failed program was:" >&5
34882 sed 's/^/| /' conftest.
$ac_ext >&5
34884 eval "$as_ac_var=no"
34886 rm -f conftest.err conftest.
$ac_objext \
34887 conftest
$ac_exeext conftest.
$ac_ext
34889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34891 if test `eval echo '${'$as_ac_var'}'` = yes; then
34892 cat >>confdefs.h
<<_ACEOF
34893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34900 if test "$ac_cv_func_gettimeofday" = "yes"; then
34901 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
34902 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
34903 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
34904 echo $ECHO_N "(cached) $ECHO_C" >&6
34910 ac_cpp
='$CXXCPP $CPPFLAGS'
34911 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34912 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34913 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34916 cat >conftest.
$ac_ext <<_ACEOF
34919 cat confdefs.h
>>conftest.
$ac_ext
34920 cat >>conftest.
$ac_ext <<_ACEOF
34921 /* end confdefs.h. */
34923 #include <sys/time.h>
34924 #include <unistd.h>
34931 gettimeofday(&tv, NULL);
34937 rm -f conftest.
$ac_objext
34938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34939 (eval $ac_compile) 2>conftest.er1
34941 grep -v '^ *+' conftest.er1
>conftest.err
34943 cat conftest.err
>&5
34944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34945 (exit $ac_status); } &&
34946 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34948 (eval $ac_try) 2>&5
34950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34951 (exit $ac_status); }; } &&
34952 { ac_try
='test -s conftest.$ac_objext'
34953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34954 (eval $ac_try) 2>&5
34956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34957 (exit $ac_status); }; }; then
34958 wx_cv_func_gettimeofday_has_2_args
=yes
34960 echo "$as_me: failed program was:" >&5
34961 sed 's/^/| /' conftest.
$ac_ext >&5
34963 cat >conftest.
$ac_ext <<_ACEOF
34966 cat confdefs.h
>>conftest.
$ac_ext
34967 cat >>conftest.
$ac_ext <<_ACEOF
34968 /* end confdefs.h. */
34970 #include <sys/time.h>
34971 #include <unistd.h>
34984 rm -f conftest.
$ac_objext
34985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34986 (eval $ac_compile) 2>conftest.er1
34988 grep -v '^ *+' conftest.er1
>conftest.err
34990 cat conftest.err
>&5
34991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34992 (exit $ac_status); } &&
34993 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34995 (eval $ac_try) 2>&5
34997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34998 (exit $ac_status); }; } &&
34999 { ac_try
='test -s conftest.$ac_objext'
35000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35001 (eval $ac_try) 2>&5
35003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35004 (exit $ac_status); }; }; then
35005 wx_cv_func_gettimeofday_has_2_args
=no
35007 echo "$as_me: failed program was:" >&5
35008 sed 's/^/| /' conftest.
$ac_ext >&5
35011 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35012 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35013 wx_cv_func_gettimeofday_has_2_args
=unknown
35017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35022 ac_cpp
='$CPP $CPPFLAGS'
35023 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35024 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35025 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35029 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35030 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35032 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35033 cat >>confdefs.h
<<\_ACEOF
35034 #define WX_GETTIMEOFDAY_NO_TZ 1
35040 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35044 if test "$wxUSE_SOCKETS" = "yes"; then
35045 if test "$wxUSE_MGL" = "1"; then
35046 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35047 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35052 if test "$wxUSE_SOCKETS" = "yes"; then
35053 if test "$TOOLKIT" != "MSW"; then
35054 echo "$as_me:$LINENO: checking for socket" >&5
35055 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35056 if test "${ac_cv_func_socket+set}" = set; then
35057 echo $ECHO_N "(cached) $ECHO_C" >&6
35059 cat >conftest.
$ac_ext <<_ACEOF
35062 cat confdefs.h
>>conftest.
$ac_ext
35063 cat >>conftest.
$ac_ext <<_ACEOF
35064 /* end confdefs.h. */
35065 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35067 #define socket innocuous_socket
35069 /* System header to define __stub macros and hopefully few prototypes,
35070 which can conflict with char socket (); below.
35071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35072 <limits.h> exists even on freestanding compilers. */
35075 # include <limits.h>
35077 # include <assert.h>
35082 /* Override any gcc2 internal prototype to avoid an error. */
35087 /* We use char because int might match the return type of a gcc2
35088 builtin and then its argument prototype would still apply. */
35090 /* The GNU C library defines this for functions which it implements
35091 to always fail with ENOSYS. Some functions are actually named
35092 something starting with __ and the normal name is an alias. */
35093 #if defined (__stub_socket) || defined (__stub___socket)
35096 char (*f) () = socket;
35105 return f != socket;
35110 rm -f conftest.
$ac_objext conftest
$ac_exeext
35111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35112 (eval $ac_link) 2>conftest.er1
35114 grep -v '^ *+' conftest.er1
>conftest.err
35116 cat conftest.err
>&5
35117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35118 (exit $ac_status); } &&
35119 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35121 (eval $ac_try) 2>&5
35123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35124 (exit $ac_status); }; } &&
35125 { ac_try
='test -s conftest$ac_exeext'
35126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35127 (eval $ac_try) 2>&5
35129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35130 (exit $ac_status); }; }; then
35131 ac_cv_func_socket
=yes
35133 echo "$as_me: failed program was:" >&5
35134 sed 's/^/| /' conftest.
$ac_ext >&5
35136 ac_cv_func_socket
=no
35138 rm -f conftest.err conftest.
$ac_objext \
35139 conftest
$ac_exeext conftest.
$ac_ext
35141 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35142 echo "${ECHO_T}$ac_cv_func_socket" >&6
35143 if test $ac_cv_func_socket = yes; then
35147 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35148 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35149 if test "${ac_cv_lib_socket_socket+set}" = set; then
35150 echo $ECHO_N "(cached) $ECHO_C" >&6
35152 ac_check_lib_save_LIBS
=$LIBS
35153 LIBS
="-lsocket $LIBS"
35154 cat >conftest.
$ac_ext <<_ACEOF
35157 cat confdefs.h
>>conftest.
$ac_ext
35158 cat >>conftest.
$ac_ext <<_ACEOF
35159 /* end confdefs.h. */
35161 /* Override any gcc2 internal prototype to avoid an error. */
35165 /* We use char because int might match the return type of a gcc2
35166 builtin and then its argument prototype would still apply. */
35176 rm -f conftest.
$ac_objext conftest
$ac_exeext
35177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35178 (eval $ac_link) 2>conftest.er1
35180 grep -v '^ *+' conftest.er1
>conftest.err
35182 cat conftest.err
>&5
35183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35184 (exit $ac_status); } &&
35185 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35187 (eval $ac_try) 2>&5
35189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35190 (exit $ac_status); }; } &&
35191 { ac_try
='test -s conftest$ac_exeext'
35192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35193 (eval $ac_try) 2>&5
35195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35196 (exit $ac_status); }; }; then
35197 ac_cv_lib_socket_socket
=yes
35199 echo "$as_me: failed program was:" >&5
35200 sed 's/^/| /' conftest.
$ac_ext >&5
35202 ac_cv_lib_socket_socket
=no
35204 rm -f conftest.err conftest.
$ac_objext \
35205 conftest
$ac_exeext conftest.
$ac_ext
35206 LIBS
=$ac_check_lib_save_LIBS
35208 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35209 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35210 if test $ac_cv_lib_socket_socket = yes; then
35211 if test "$INET_LINK" != " -lsocket"; then
35212 INET_LINK
="$INET_LINK -lsocket"
35216 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35217 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35230 if test "$wxUSE_SOCKETS" = "yes" ; then
35231 if test "$TOOLKIT" != "MSW"; then
35232 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35233 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35234 if test "${wx_cv_type_getsockname3+set}" = set; then
35235 echo $ECHO_N "(cached) $ECHO_C" >&6
35238 cat >conftest.
$ac_ext <<_ACEOF
35241 cat confdefs.h
>>conftest.
$ac_ext
35242 cat >>conftest.
$ac_ext <<_ACEOF
35243 /* end confdefs.h. */
35245 #include <sys/types.h>
35246 #include <sys/socket.h>
35253 getsockname(0, 0, &len);
35259 rm -f conftest.
$ac_objext
35260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35261 (eval $ac_compile) 2>conftest.er1
35263 grep -v '^ *+' conftest.er1
>conftest.err
35265 cat conftest.err
>&5
35266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35267 (exit $ac_status); } &&
35268 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35270 (eval $ac_try) 2>&5
35272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35273 (exit $ac_status); }; } &&
35274 { ac_try
='test -s conftest.$ac_objext'
35275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35276 (eval $ac_try) 2>&5
35278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35279 (exit $ac_status); }; }; then
35280 wx_cv_type_getsockname3
=socklen_t
35282 echo "$as_me: failed program was:" >&5
35283 sed 's/^/| /' conftest.
$ac_ext >&5
35286 CFLAGS_OLD
="$CFLAGS"
35287 if test "$GCC" = yes ; then
35288 CFLAGS
="$CFLAGS -Werror"
35291 cat >conftest.
$ac_ext <<_ACEOF
35294 cat confdefs.h
>>conftest.
$ac_ext
35295 cat >>conftest.
$ac_ext <<_ACEOF
35296 /* end confdefs.h. */
35298 #include <sys/types.h>
35299 #include <sys/socket.h>
35306 getsockname(0, 0, &len);
35312 rm -f conftest.
$ac_objext
35313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35314 (eval $ac_compile) 2>conftest.er1
35316 grep -v '^ *+' conftest.er1
>conftest.err
35318 cat conftest.err
>&5
35319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35320 (exit $ac_status); } &&
35321 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35323 (eval $ac_try) 2>&5
35325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35326 (exit $ac_status); }; } &&
35327 { ac_try
='test -s conftest.$ac_objext'
35328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35329 (eval $ac_try) 2>&5
35331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35332 (exit $ac_status); }; }; then
35333 wx_cv_type_getsockname3
=size_t
35335 echo "$as_me: failed program was:" >&5
35336 sed 's/^/| /' conftest.
$ac_ext >&5
35338 cat >conftest.
$ac_ext <<_ACEOF
35341 cat confdefs.h
>>conftest.
$ac_ext
35342 cat >>conftest.
$ac_ext <<_ACEOF
35343 /* end confdefs.h. */
35345 #include <sys/types.h>
35346 #include <sys/socket.h>
35353 getsockname(0, 0, &len);
35359 rm -f conftest.
$ac_objext
35360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35361 (eval $ac_compile) 2>conftest.er1
35363 grep -v '^ *+' conftest.er1
>conftest.err
35365 cat conftest.err
>&5
35366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35367 (exit $ac_status); } &&
35368 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35370 (eval $ac_try) 2>&5
35372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35373 (exit $ac_status); }; } &&
35374 { ac_try
='test -s conftest.$ac_objext'
35375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35376 (eval $ac_try) 2>&5
35378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35379 (exit $ac_status); }; }; then
35380 wx_cv_type_getsockname3
=int
35382 echo "$as_me: failed program was:" >&5
35383 sed 's/^/| /' conftest.
$ac_ext >&5
35385 wx_cv_type_getsockname3
=unknown
35388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35393 CFLAGS
="$CFLAGS_OLD"
35397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35400 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35401 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35403 if test "$wx_cv_type_getsockname3" = "unknown"; then
35405 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35406 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35408 cat >>confdefs.h
<<_ACEOF
35409 #define SOCKLEN_T $wx_cv_type_getsockname3
35416 if test "$wxUSE_SOCKETS" = "yes" ; then
35417 cat >>confdefs.h
<<\_ACEOF
35418 #define wxUSE_SOCKETS 1
35421 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35424 if test "$wxUSE_PROTOCOL" = "yes"; then
35425 if test "$wxUSE_SOCKETS" != "yes"; then
35426 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35427 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35432 if test "$wxUSE_PROTOCOL" = "yes"; then
35433 cat >>confdefs.h
<<\_ACEOF
35434 #define wxUSE_PROTOCOL 1
35438 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35439 cat >>confdefs.h
<<\_ACEOF
35440 #define wxUSE_PROTOCOL_HTTP 1
35444 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35445 cat >>confdefs.h
<<\_ACEOF
35446 #define wxUSE_PROTOCOL_FTP 1
35450 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35451 cat >>confdefs.h
<<\_ACEOF
35452 #define wxUSE_PROTOCOL_FILE 1
35457 if test "$wxUSE_FS_INET" = "yes"; then
35458 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35459 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35464 if test "$wxUSE_URL" = "yes"; then
35465 if test "$wxUSE_PROTOCOL" != "yes"; then
35466 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35467 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35470 if test "$wxUSE_URL" = "yes"; then
35471 cat >>confdefs.h
<<\_ACEOF
35472 #define wxUSE_URL 1
35478 if test "$wxUSE_FS_INET" = "yes"; then
35479 cat >>confdefs.h
<<\_ACEOF
35480 #define wxUSE_FS_INET 1
35486 if test "$wxUSE_GUI" = "yes"; then
35488 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35489 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35490 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35494 if test "$TOOLKIT" != "MSW"; then
35495 if test "$wxUSE_JOYSTICK" = "yes"; then
35497 for ac_header
in linux
/joystick.h
35499 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35501 echo "$as_me:$LINENO: checking for $ac_header" >&5
35502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35504 echo $ECHO_N "(cached) $ECHO_C" >&6
35506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35509 # Is the header compilable?
35510 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35511 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35512 cat >conftest.
$ac_ext <<_ACEOF
35515 cat confdefs.h
>>conftest.
$ac_ext
35516 cat >>conftest.
$ac_ext <<_ACEOF
35517 /* end confdefs.h. */
35518 $ac_includes_default
35519 #include <$ac_header>
35521 rm -f conftest.
$ac_objext
35522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35523 (eval $ac_compile) 2>conftest.er1
35525 grep -v '^ *+' conftest.er1
>conftest.err
35527 cat conftest.err
>&5
35528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35529 (exit $ac_status); } &&
35530 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35532 (eval $ac_try) 2>&5
35534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35535 (exit $ac_status); }; } &&
35536 { ac_try
='test -s conftest.$ac_objext'
35537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35538 (eval $ac_try) 2>&5
35540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35541 (exit $ac_status); }; }; then
35542 ac_header_compiler
=yes
35544 echo "$as_me: failed program was:" >&5
35545 sed 's/^/| /' conftest.
$ac_ext >&5
35547 ac_header_compiler
=no
35549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35550 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35551 echo "${ECHO_T}$ac_header_compiler" >&6
35553 # Is the header present?
35554 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35555 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35556 cat >conftest.
$ac_ext <<_ACEOF
35559 cat confdefs.h
>>conftest.
$ac_ext
35560 cat >>conftest.
$ac_ext <<_ACEOF
35561 /* end confdefs.h. */
35562 #include <$ac_header>
35564 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35565 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35567 grep -v '^ *+' conftest.er1
>conftest.err
35569 cat conftest.err
>&5
35570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35571 (exit $ac_status); } >/dev
/null
; then
35572 if test -s conftest.err
; then
35573 ac_cpp_err
=$ac_c_preproc_warn_flag
35574 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35581 if test -z "$ac_cpp_err"; then
35582 ac_header_preproc
=yes
35584 echo "$as_me: failed program was:" >&5
35585 sed 's/^/| /' conftest.
$ac_ext >&5
35587 ac_header_preproc
=no
35589 rm -f conftest.err conftest.
$ac_ext
35590 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35591 echo "${ECHO_T}$ac_header_preproc" >&6
35593 # So? What about this header?
35594 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35596 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35597 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35598 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35599 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35600 ac_header_preproc
=yes
35603 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35604 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35605 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35606 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35607 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35608 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35609 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35610 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35611 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35612 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35613 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35614 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35617 ## ----------------------------------------- ##
35618 ## Report this to wx-dev@lists.wxwidgets.org ##
35619 ## ----------------------------------------- ##
35622 sed "s/^/$as_me: WARNING: /" >&2
35625 echo "$as_me:$LINENO: checking for $ac_header" >&5
35626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35628 echo $ECHO_N "(cached) $ECHO_C" >&6
35630 eval "$as_ac_Header=\$ac_header_preproc"
35632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35633 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35636 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35637 cat >>confdefs.h
<<_ACEOF
35638 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35645 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
35647 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
35648 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35653 if test "$wxUSE_JOYSTICK" = "yes"; then
35654 cat >>confdefs.h
<<\_ACEOF
35655 #define wxUSE_JOYSTICK 1
35658 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35664 if test "$wxUSE_FONTMAP" = "yes" ; then
35665 cat >>confdefs.h
<<\_ACEOF
35666 #define wxUSE_FONTMAP 1
35671 if test "$wxUSE_UNICODE" = "yes" ; then
35672 cat >>confdefs.h
<<\_ACEOF
35673 #define wxUSE_UNICODE 1
35677 if test "$USE_WIN32" != 1; then
35678 wxUSE_UNICODE_MSLU
=no
35681 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35682 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
35683 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
35684 if test "${ac_cv_lib_unicows_main+set}" = set; then
35685 echo $ECHO_N "(cached) $ECHO_C" >&6
35687 ac_check_lib_save_LIBS
=$LIBS
35688 LIBS
="-lunicows $LIBS"
35689 cat >conftest.
$ac_ext <<_ACEOF
35692 cat confdefs.h
>>conftest.
$ac_ext
35693 cat >>conftest.
$ac_ext <<_ACEOF
35694 /* end confdefs.h. */
35705 rm -f conftest.
$ac_objext conftest
$ac_exeext
35706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35707 (eval $ac_link) 2>conftest.er1
35709 grep -v '^ *+' conftest.er1
>conftest.err
35711 cat conftest.err
>&5
35712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35713 (exit $ac_status); } &&
35714 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35716 (eval $ac_try) 2>&5
35718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35719 (exit $ac_status); }; } &&
35720 { ac_try
='test -s conftest$ac_exeext'
35721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35722 (eval $ac_try) 2>&5
35724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35725 (exit $ac_status); }; }; then
35726 ac_cv_lib_unicows_main
=yes
35728 echo "$as_me: failed program was:" >&5
35729 sed 's/^/| /' conftest.
$ac_ext >&5
35731 ac_cv_lib_unicows_main
=no
35733 rm -f conftest.err conftest.
$ac_objext \
35734 conftest
$ac_exeext conftest.
$ac_ext
35735 LIBS
=$ac_check_lib_save_LIBS
35737 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
35738 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
35739 if test $ac_cv_lib_unicows_main = yes; then
35741 cat >>confdefs.h
<<\_ACEOF
35742 #define wxUSE_UNICODE_MSLU 1
35748 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35749 Applications will only run on Windows NT/2000/XP!" >&5
35750 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35751 Applications will only run on Windows NT/2000/XP!" >&2;}
35752 wxUSE_UNICODE_MSLU
=no
35759 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
35760 cat >>confdefs.h
<<\_ACEOF
35761 #define wxUSE_EXPERIMENTAL_PRINTF 1
35767 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35768 cat >>confdefs.h
<<\_ACEOF
35769 #define wxUSE_POSTSCRIPT 1
35774 cat >>confdefs.h
<<\_ACEOF
35775 #define wxUSE_AFM_FOR_POSTSCRIPT 1
35779 cat >>confdefs.h
<<\_ACEOF
35780 #define wxUSE_NORMALIZED_PS_FONTS 1
35785 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35786 cat >>confdefs.h
<<\_ACEOF
35787 #define wxUSE_CONSTRAINTS 1
35790 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
35793 if test "$wxUSE_MDI" = "yes"; then
35794 cat >>confdefs.h
<<\_ACEOF
35795 #define wxUSE_MDI 1
35799 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35800 cat >>confdefs.h
<<\_ACEOF
35801 #define wxUSE_MDI_ARCHITECTURE 1
35804 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
35808 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35809 cat >>confdefs.h
<<\_ACEOF
35810 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
35813 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
35814 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35815 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
35819 if test "$wxUSE_HELP" = "yes"; then
35820 cat >>confdefs.h
<<\_ACEOF
35821 #define wxUSE_HELP 1
35824 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
35826 if test "$wxUSE_MSW" = 1; then
35827 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35828 cat >>confdefs.h
<<\_ACEOF
35829 #define wxUSE_MS_HTML_HELP 1
35835 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35836 if test "$wxUSE_HTML" = "yes"; then
35837 cat >>confdefs.h
<<\_ACEOF
35838 #define wxUSE_WXHTML_HELP 1
35842 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35843 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35844 wxUSE_WXHTML_HELP
=no
35849 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35850 if test "$wxUSE_CONSTRAINTS" != "yes"; then
35851 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
35852 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
35854 cat >>confdefs.h
<<\_ACEOF
35855 #define wxUSE_PRINTING_ARCHITECTURE 1
35859 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
35862 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
35863 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
35864 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
35865 { (exit 1); exit 1; }; }
35869 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
35870 -o "$wxUSE_CLIPBOARD" = "yes" \
35871 -o "$wxUSE_OLE" = "yes" \
35872 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
35874 for ac_header
in ole2.h
35876 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35878 echo "$as_me:$LINENO: checking for $ac_header" >&5
35879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35881 echo $ECHO_N "(cached) $ECHO_C" >&6
35883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35884 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35886 # Is the header compilable?
35887 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35888 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35889 cat >conftest.
$ac_ext <<_ACEOF
35892 cat confdefs.h
>>conftest.
$ac_ext
35893 cat >>conftest.
$ac_ext <<_ACEOF
35894 /* end confdefs.h. */
35895 $ac_includes_default
35896 #include <$ac_header>
35898 rm -f conftest.
$ac_objext
35899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35900 (eval $ac_compile) 2>conftest.er1
35902 grep -v '^ *+' conftest.er1
>conftest.err
35904 cat conftest.err
>&5
35905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35906 (exit $ac_status); } &&
35907 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35909 (eval $ac_try) 2>&5
35911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35912 (exit $ac_status); }; } &&
35913 { ac_try
='test -s conftest.$ac_objext'
35914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35915 (eval $ac_try) 2>&5
35917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35918 (exit $ac_status); }; }; then
35919 ac_header_compiler
=yes
35921 echo "$as_me: failed program was:" >&5
35922 sed 's/^/| /' conftest.
$ac_ext >&5
35924 ac_header_compiler
=no
35926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35928 echo "${ECHO_T}$ac_header_compiler" >&6
35930 # Is the header present?
35931 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35932 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35933 cat >conftest.
$ac_ext <<_ACEOF
35936 cat confdefs.h
>>conftest.
$ac_ext
35937 cat >>conftest.
$ac_ext <<_ACEOF
35938 /* end confdefs.h. */
35939 #include <$ac_header>
35941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35942 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35944 grep -v '^ *+' conftest.er1
>conftest.err
35946 cat conftest.err
>&5
35947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35948 (exit $ac_status); } >/dev
/null
; then
35949 if test -s conftest.err
; then
35950 ac_cpp_err
=$ac_c_preproc_warn_flag
35951 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35958 if test -z "$ac_cpp_err"; then
35959 ac_header_preproc
=yes
35961 echo "$as_me: failed program was:" >&5
35962 sed 's/^/| /' conftest.
$ac_ext >&5
35964 ac_header_preproc
=no
35966 rm -f conftest.err conftest.
$ac_ext
35967 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35968 echo "${ECHO_T}$ac_header_preproc" >&6
35970 # So? What about this header?
35971 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35973 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35974 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35975 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35976 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35977 ac_header_preproc
=yes
35980 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35981 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35982 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35983 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35984 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35985 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35986 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35987 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35988 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35989 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35990 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35991 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35994 ## ----------------------------------------- ##
35995 ## Report this to wx-dev@lists.wxwidgets.org ##
35996 ## ----------------------------------------- ##
35999 sed "s/^/$as_me: WARNING: /" >&2
36002 echo "$as_me:$LINENO: checking for $ac_header" >&5
36003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36005 echo $ECHO_N "(cached) $ECHO_C" >&6
36007 eval "$as_ac_Header=\$ac_header_preproc"
36009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36013 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36014 cat >>confdefs.h
<<_ACEOF
36015 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36023 if test "$ac_cv_header_ole2_h" = "yes" ; then
36024 if test "$GCC" = yes ; then
36028 ac_cpp
='$CXXCPP $CPPFLAGS'
36029 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36030 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36031 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36034 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36035 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36036 cat >conftest.
$ac_ext <<_ACEOF
36039 cat confdefs.h
>>conftest.
$ac_ext
36040 cat >>conftest.
$ac_ext <<_ACEOF
36041 /* end confdefs.h. */
36042 #include <windows.h>
36052 rm -f conftest.
$ac_objext
36053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36054 (eval $ac_compile) 2>conftest.er1
36056 grep -v '^ *+' conftest.er1
>conftest.err
36058 cat conftest.err
>&5
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); } &&
36061 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36063 (eval $ac_try) 2>&5
36065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36066 (exit $ac_status); }; } &&
36067 { ac_try
='test -s conftest.$ac_objext'
36068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36069 (eval $ac_try) 2>&5
36071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36072 (exit $ac_status); }; }; then
36073 echo "$as_me:$LINENO: result: no" >&5
36074 echo "${ECHO_T}no" >&6
36076 echo "$as_me: failed program was:" >&5
36077 sed 's/^/| /' conftest.
$ac_ext >&5
36079 echo "$as_me:$LINENO: result: yes" >&5
36080 echo "${ECHO_T}yes" >&6
36081 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36085 ac_cpp
='$CPP $CPPFLAGS'
36086 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36087 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36088 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36090 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
36091 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36092 if test "$wxUSE_OLE" = "yes" ; then
36093 cat >>confdefs.h
<<\_ACEOF
36094 #define wxUSE_OLE 1
36100 if test "$wxUSE_DATAOBJ" = "yes" ; then
36101 cat >>confdefs.h
<<\_ACEOF
36102 #define wxUSE_DATAOBJ 1
36107 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36108 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36111 wxUSE_DRAG_AND_DROP
=no
36116 if test "$wxUSE_METAFILE" = "yes"; then
36117 cat >>confdefs.h
<<\_ACEOF
36118 #define wxUSE_METAFILE 1
36122 cat >>confdefs.h
<<\_ACEOF
36123 #define wxUSE_ENH_METAFILE 1
36129 if test "$wxUSE_IPC" = "yes"; then
36130 if test "$wxUSE_SOCKETS" != "yes"; then
36131 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36132 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36135 cat >>confdefs.h
<<\_ACEOF
36136 #define wxUSE_IPC 1
36141 if test "$wxUSE_CLIPBOARD" = "yes"; then
36142 if test "$wxUSE_MGL" = 1; then
36143 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36144 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36148 if test "$wxUSE_CLIPBOARD" = "yes"; then
36149 cat >>confdefs.h
<<\_ACEOF
36150 #define wxUSE_CLIPBOARD 1
36154 cat >>confdefs.h
<<\_ACEOF
36155 #define wxUSE_DATAOBJ 1
36161 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36162 if test "$wxUSE_GTK" = 1; then
36163 if test "$WXGTK12" != 1; then
36164 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36165 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36166 wxUSE_DRAG_AND_DROP
=no
36170 if test "$wxUSE_MOTIF" = 1; then
36171 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36172 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36173 wxUSE_DRAG_AND_DROP
=no
36176 if test "$wxUSE_X11" = 1; then
36177 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36178 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36179 wxUSE_DRAG_AND_DROP
=no
36182 if test "$wxUSE_MGL" = 1; then
36183 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36184 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36185 wxUSE_DRAG_AND_DROP
=no
36188 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36189 cat >>confdefs.h
<<\_ACEOF
36190 #define wxUSE_DRAG_AND_DROP 1
36197 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36198 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36201 if test "$wxUSE_SPLINES" = "yes" ; then
36202 cat >>confdefs.h
<<\_ACEOF
36203 #define wxUSE_SPLINES 1
36210 if test "$wxUSE_CONTROLS" = "yes"; then
36214 if test "$wxUSE_ACCEL" = "yes"; then
36215 cat >>confdefs.h
<<\_ACEOF
36216 #define wxUSE_ACCEL 1
36222 if test "$wxUSE_BUTTON" = "yes"; then
36223 cat >>confdefs.h
<<\_ACEOF
36224 #define wxUSE_BUTTON 1
36230 if test "$wxUSE_BMPBUTTON" = "yes"; then
36231 cat >>confdefs.h
<<\_ACEOF
36232 #define wxUSE_BMPBUTTON 1
36238 if test "$wxUSE_CALCTRL" = "yes"; then
36239 cat >>confdefs.h
<<\_ACEOF
36240 #define wxUSE_CALENDARCTRL 1
36244 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36247 if test "$wxUSE_CARET" = "yes"; then
36248 cat >>confdefs.h
<<\_ACEOF
36249 #define wxUSE_CARET 1
36253 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36256 if test "$wxUSE_COMBOBOX" = "yes"; then
36257 cat >>confdefs.h
<<\_ACEOF
36258 #define wxUSE_COMBOBOX 1
36264 if test "$wxUSE_CHOICE" = "yes"; then
36265 cat >>confdefs.h
<<\_ACEOF
36266 #define wxUSE_CHOICE 1
36272 if test "$wxUSE_CHECKBOX" = "yes"; then
36273 cat >>confdefs.h
<<\_ACEOF
36274 #define wxUSE_CHECKBOX 1
36280 if test "$wxUSE_CHECKLST" = "yes"; then
36281 cat >>confdefs.h
<<\_ACEOF
36282 #define wxUSE_CHECKLISTBOX 1
36286 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
36289 if test "$wxUSE_DISPLAY" = "yes"; then
36290 cat >>confdefs.h
<<\_ACEOF
36291 #define wxUSE_DISPLAY 1
36294 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36297 if test "$wxUSE_GAUGE" = "yes"; then
36298 cat >>confdefs.h
<<\_ACEOF
36299 #define wxUSE_GAUGE 1
36305 if test "$wxUSE_GRID" = "yes"; then
36306 cat >>confdefs.h
<<\_ACEOF
36307 #define wxUSE_GRID 1
36311 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36314 if test "$wxUSE_IMAGLIST" = "yes"; then
36315 cat >>confdefs.h
<<\_ACEOF
36316 #define wxUSE_IMAGLIST 1
36321 if test "$wxUSE_LISTBOOK" = "yes"; then
36322 cat >>confdefs.h
<<\_ACEOF
36323 #define wxUSE_LISTBOOK 1
36329 if test "$wxUSE_LISTBOX" = "yes"; then
36330 cat >>confdefs.h
<<\_ACEOF
36331 #define wxUSE_LISTBOX 1
36337 if test "$wxUSE_LISTCTRL" = "yes"; then
36338 if test "$wxUSE_IMAGLIST" = "yes"; then
36339 cat >>confdefs.h
<<\_ACEOF
36340 #define wxUSE_LISTCTRL 1
36344 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36346 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36347 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36351 if test "$wxUSE_NOTEBOOK" = "yes"; then
36352 cat >>confdefs.h
<<\_ACEOF
36353 #define wxUSE_NOTEBOOK 1
36357 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36361 if test "$wxUSE_RADIOBOX" = "yes"; then
36362 cat >>confdefs.h
<<\_ACEOF
36363 #define wxUSE_RADIOBOX 1
36369 if test "$wxUSE_RADIOBTN" = "yes"; then
36370 cat >>confdefs.h
<<\_ACEOF
36371 #define wxUSE_RADIOBTN 1
36377 if test "$wxUSE_SASH" = "yes"; then
36378 cat >>confdefs.h
<<\_ACEOF
36379 #define wxUSE_SASH 1
36382 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36385 if test "$wxUSE_SCROLLBAR" = "yes"; then
36386 cat >>confdefs.h
<<\_ACEOF
36387 #define wxUSE_SCROLLBAR 1
36391 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
36394 if test "$wxUSE_SLIDER" = "yes"; then
36395 cat >>confdefs.h
<<\_ACEOF
36396 #define wxUSE_SLIDER 1
36402 if test "$wxUSE_SPINBTN" = "yes"; then
36403 cat >>confdefs.h
<<\_ACEOF
36404 #define wxUSE_SPINBTN 1
36410 if test "$wxUSE_SPINCTRL" = "yes"; then
36411 cat >>confdefs.h
<<\_ACEOF
36412 #define wxUSE_SPINCTRL 1
36418 if test "$wxUSE_SPLITTER" = "yes"; then
36419 cat >>confdefs.h
<<\_ACEOF
36420 #define wxUSE_SPLITTER 1
36423 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36426 if test "$wxUSE_STATBMP" = "yes"; then
36427 cat >>confdefs.h
<<\_ACEOF
36428 #define wxUSE_STATBMP 1
36434 if test "$wxUSE_STATBOX" = "yes"; then
36435 cat >>confdefs.h
<<\_ACEOF
36436 #define wxUSE_STATBOX 1
36442 if test "$wxUSE_STATTEXT" = "yes"; then
36443 cat >>confdefs.h
<<\_ACEOF
36444 #define wxUSE_STATTEXT 1
36450 if test "$wxUSE_STATLINE" = "yes"; then
36451 cat >>confdefs.h
<<\_ACEOF
36452 #define wxUSE_STATLINE 1
36458 if test "$wxUSE_STATUSBAR" = "yes"; then
36459 cat >>confdefs.h
<<\_ACEOF
36460 #define wxUSE_STATUSBAR 1
36465 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36468 if test "$wxUSE_TABDIALOG" = "yes"; then
36469 cat >>confdefs.h
<<\_ACEOF
36470 #define wxUSE_TAB_DIALOG 1
36473 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
36476 if test "$wxUSE_TEXTCTRL" = "yes"; then
36477 cat >>confdefs.h
<<\_ACEOF
36478 #define wxUSE_TEXTCTRL 1
36482 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36485 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36486 if test "$wxUSE_COCOA" = 1 ; then
36487 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36488 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36491 if test "$wxUSE_PM" = 1; then
36492 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
36493 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
36497 if test "$wxUSE_UNIVERSAL" = "yes"; then
36498 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36499 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36503 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36504 cat >>confdefs.h
<<\_ACEOF
36505 #define wxUSE_TOGGLEBTN 1
36512 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36513 cat >>confdefs.h
<<\_ACEOF
36514 #define wxUSE_TOOLBAR_SIMPLE 1
36517 wxUSE_TOOLBAR
="yes"
36521 if test "$wxUSE_TOOLBAR" = "yes"; then
36522 cat >>confdefs.h
<<\_ACEOF
36523 #define wxUSE_TOOLBAR 1
36528 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36529 wxUSE_TOOLBAR_NATIVE
="yes"
36532 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36533 cat >>confdefs.h
<<\_ACEOF
36534 #define wxUSE_TOOLBAR_NATIVE 1
36540 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
36543 if test "$wxUSE_TOOLTIPS" = "yes"; then
36544 if test "$wxUSE_MOTIF" = 1; then
36545 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36546 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36548 if test "$wxUSE_UNIVERSAL" = "yes"; then
36549 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36550 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36552 cat >>confdefs.h
<<\_ACEOF
36553 #define wxUSE_TOOLTIPS 1
36560 if test "$wxUSE_TREECTRL" = "yes"; then
36561 if test "$wxUSE_IMAGLIST" = "yes"; then
36562 cat >>confdefs.h
<<\_ACEOF
36563 #define wxUSE_TREECTRL 1
36567 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
36569 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36570 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36574 if test "$wxUSE_POPUPWIN" = "yes"; then
36575 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
36576 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36577 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36579 if test "$wxUSE_PM" = 1; then
36580 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36581 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36583 cat >>confdefs.h
<<\_ACEOF
36584 #define wxUSE_POPUPWIN 1
36593 if test "$wxUSE_TIPWINDOW" = "yes"; then
36594 if test "$wxUSE_PM" = 1; then
36595 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36596 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36598 cat >>confdefs.h
<<\_ACEOF
36599 #define wxUSE_TIPWINDOW 1
36605 if test "$USES_CONTROLS" = 1; then
36606 cat >>confdefs.h
<<\_ACEOF
36607 #define wxUSE_CONTROLS 1
36613 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36614 cat >>confdefs.h
<<\_ACEOF
36615 #define wxUSE_ACCESSIBILITY 1
36618 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
36621 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36622 cat >>confdefs.h
<<\_ACEOF
36623 #define wxUSE_DRAGIMAGE 1
36626 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36629 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36630 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36631 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36632 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36634 cat >>confdefs.h
<<\_ACEOF
36635 #define wxUSE_EXCEPTIONS 1
36638 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
36643 if test "$wxUSE_HTML" = "yes"; then
36644 cat >>confdefs.h
<<\_ACEOF
36645 #define wxUSE_HTML 1
36649 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36650 if test "$wxUSE_MAC" = 1; then
36651 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
36654 if test "$wxUSE_WEBKIT" = "yes"; then
36655 if test "$wxUSE_MAC" = 1; then
36656 old_CPPFLAGS
="$CPPFLAGS"
36657 CPPFLAGS
="$CPPFLAGS -x objective-c++"
36658 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
36659 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
36660 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
36661 echo $ECHO_N "(cached) $ECHO_C" >&6
36663 cat >conftest.
$ac_ext <<_ACEOF
36666 cat confdefs.h
>>conftest.
$ac_ext
36667 cat >>conftest.
$ac_ext <<_ACEOF
36668 /* end confdefs.h. */
36669 #include <Carbon/Carbon.h>
36671 #include <WebKit/HIWebView.h>
36673 rm -f conftest.
$ac_objext
36674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36675 (eval $ac_compile) 2>conftest.er1
36677 grep -v '^ *+' conftest.er1
>conftest.err
36679 cat conftest.err
>&5
36680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36681 (exit $ac_status); } &&
36682 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36684 (eval $ac_try) 2>&5
36686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36687 (exit $ac_status); }; } &&
36688 { ac_try
='test -s conftest.$ac_objext'
36689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36690 (eval $ac_try) 2>&5
36692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36693 (exit $ac_status); }; }; then
36694 ac_cv_header_WebKit_HIWebView_h
=yes
36696 echo "$as_me: failed program was:" >&5
36697 sed 's/^/| /' conftest.
$ac_ext >&5
36699 ac_cv_header_WebKit_HIWebView_h
=no
36701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36703 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
36704 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
36705 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
36707 cat >>confdefs.h
<<\_ACEOF
36708 #define wxUSE_WEBKIT 1
36711 WEBKIT_LINK
="-framework WebKit"
36715 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36716 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36722 CPPFLAGS
="$old_CPPFLAGS"
36723 elif test "$wxUSE_COCOA" = 1; then
36724 cat >>confdefs.h
<<\_ACEOF
36725 #define wxUSE_WEBKIT 1
36734 if test "$wxUSE_MENUS" = "yes"; then
36735 cat >>confdefs.h
<<\_ACEOF
36736 #define wxUSE_MENUS 1
36739 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
36742 if test "$wxUSE_METAFILE" = "yes"; then
36743 cat >>confdefs.h
<<\_ACEOF
36744 #define wxUSE_METAFILE 1
36749 if test "$wxUSE_MIMETYPE" = "yes"; then
36750 cat >>confdefs.h
<<\_ACEOF
36751 #define wxUSE_MIMETYPE 1
36756 if test "$wxUSE_MINIFRAME" = "yes"; then
36757 cat >>confdefs.h
<<\_ACEOF
36758 #define wxUSE_MINIFRAME 1
36761 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
36764 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36765 cat >>confdefs.h
<<\_ACEOF
36766 #define wxUSE_SYSTEM_OPTIONS 1
36769 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
36770 "$TOOLKIT" = "MOTIF"; then
36771 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
36776 if test "$wxUSE_VALIDATORS" = "yes"; then
36777 cat >>confdefs.h
<<\_ACEOF
36778 #define wxUSE_VALIDATORS 1
36781 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
36784 if test "$wxUSE_PALETTE" = "yes" ; then
36785 cat >>confdefs.h
<<\_ACEOF
36786 #define wxUSE_PALETTE 1
36791 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36792 LIBS
=" -lunicows $LIBS"
36796 if test "$wxUSE_IMAGE" = "yes" ; then
36797 cat >>confdefs.h
<<\_ACEOF
36798 #define wxUSE_IMAGE 1
36802 if test "$wxUSE_GIF" = "yes" ; then
36803 cat >>confdefs.h
<<\_ACEOF
36804 #define wxUSE_GIF 1
36809 if test "$wxUSE_PCX" = "yes" ; then
36810 cat >>confdefs.h
<<\_ACEOF
36811 #define wxUSE_PCX 1
36816 if test "$wxUSE_IFF" = "yes" ; then
36817 cat >>confdefs.h
<<\_ACEOF
36818 #define wxUSE_IFF 1
36823 if test "$wxUSE_PNM" = "yes" ; then
36824 cat >>confdefs.h
<<\_ACEOF
36825 #define wxUSE_PNM 1
36830 if test "$wxUSE_XPM" = "yes" ; then
36831 cat >>confdefs.h
<<\_ACEOF
36832 #define wxUSE_XPM 1
36837 if test "$wxUSE_ICO_CUR" = "yes" ; then
36838 cat >>confdefs.h
<<\_ACEOF
36839 #define wxUSE_ICO_CUR 1
36846 if test "$wxUSE_CHOICEDLG" = "yes"; then
36847 cat >>confdefs.h
<<\_ACEOF
36848 #define wxUSE_CHOICEDLG 1
36853 if test "$wxUSE_COLOURDLG" = "yes"; then
36854 cat >>confdefs.h
<<\_ACEOF
36855 #define wxUSE_COLOURDLG 1
36860 if test "$wxUSE_FILEDLG" = "yes"; then
36861 cat >>confdefs.h
<<\_ACEOF
36862 #define wxUSE_FILEDLG 1
36867 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36868 cat >>confdefs.h
<<\_ACEOF
36869 #define wxUSE_FINDREPLDLG 1
36874 if test "$wxUSE_FONTDLG" = "yes"; then
36875 cat >>confdefs.h
<<\_ACEOF
36876 #define wxUSE_FONTDLG 1
36881 if test "$wxUSE_DIRDLG" = "yes"; then
36882 if test "$wxUSE_TREECTRL" != "yes"; then
36883 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36884 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36886 cat >>confdefs.h
<<\_ACEOF
36887 #define wxUSE_DIRDLG 1
36893 if test "$wxUSE_MSGDLG" = "yes"; then
36894 cat >>confdefs.h
<<\_ACEOF
36895 #define wxUSE_MSGDLG 1
36900 if test "$wxUSE_NUMBERDLG" = "yes"; then
36901 cat >>confdefs.h
<<\_ACEOF
36902 #define wxUSE_NUMBERDLG 1
36907 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36908 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36909 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
36910 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
36912 cat >>confdefs.h
<<\_ACEOF
36913 #define wxUSE_PROGRESSDLG 1
36919 if test "$wxUSE_SPLASH" = "yes"; then
36920 cat >>confdefs.h
<<\_ACEOF
36921 #define wxUSE_SPLASH 1
36926 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36927 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36928 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
36929 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
36931 cat >>confdefs.h
<<\_ACEOF
36932 #define wxUSE_STARTUP_TIPS 1
36938 if test "$wxUSE_TEXTDLG" = "yes"; then
36939 cat >>confdefs.h
<<\_ACEOF
36940 #define wxUSE_TEXTDLG 1
36945 if test "$wxUSE_WIZARDDLG" = "yes"; then
36946 cat >>confdefs.h
<<\_ACEOF
36947 #define wxUSE_WIZARDDLG 1
36950 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
36954 if test "$cross_compiling" = "yes"; then
36957 OSINFO
=`uname -s -r -m`
36958 OSINFO
="\"$OSINFO\""
36961 cat >>confdefs.h
<<_ACEOF
36962 #define WXWIN_OS_DESCRIPTION $OSINFO
36967 if test "x$prefix" != "xNONE"; then
36970 wxPREFIX
=$ac_default_prefix
36973 cat >>confdefs.h
<<_ACEOF
36974 #define wxINSTALL_PREFIX "$wxPREFIX"
36978 top_builddir_wxconfig
=`pwd`
36982 CORE_BASE_LIBS
="net base"
36983 CORE_GUI_LIBS
="adv core"
36985 if test "$wxUSE_XML" = "yes" ; then
36986 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
36988 if test "$wxUSE_ODBC" != "no" ; then
36989 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
36990 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
36992 if test "$wxUSE_HTML" = "yes" ; then
36993 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
36996 if test "$wxUSE_GUI" != "yes"; then
37007 if test "$wxUSE_MAC" = 1 ; then
37008 if test "$wxUSE_SOUND" = "yes"; then
37009 LDFLAGS
="$LDFLAGS -framework QuickTime"
37011 LDFLAGS
="$LDFLAGS -framework Carbon -framework Cocoa -framework System"
37013 if test "$wxUSE_COCOA" = 1 ; then
37014 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
37018 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37025 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37026 echo "$as_me:$LINENO: checking for $ac_func" >&5
37027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37028 if eval "test \"\${$as_ac_var+set}\" = set"; then
37029 echo $ECHO_N "(cached) $ECHO_C" >&6
37031 cat >conftest.
$ac_ext <<_ACEOF
37034 cat confdefs.h
>>conftest.
$ac_ext
37035 cat >>conftest.
$ac_ext <<_ACEOF
37036 /* end confdefs.h. */
37037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37039 #define $ac_func innocuous_$ac_func
37041 /* System header to define __stub macros and hopefully few prototypes,
37042 which can conflict with char $ac_func (); below.
37043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37044 <limits.h> exists even on freestanding compilers. */
37047 # include <limits.h>
37049 # include <assert.h>
37054 /* Override any gcc2 internal prototype to avoid an error. */
37059 /* We use char because int might match the return type of a gcc2
37060 builtin and then its argument prototype would still apply. */
37062 /* The GNU C library defines this for functions which it implements
37063 to always fail with ENOSYS. Some functions are actually named
37064 something starting with __ and the normal name is an alias. */
37065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37068 char (*f) () = $ac_func;
37077 return f != $ac_func;
37082 rm -f conftest.
$ac_objext conftest
$ac_exeext
37083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37084 (eval $ac_link) 2>conftest.er1
37086 grep -v '^ *+' conftest.er1
>conftest.err
37088 cat conftest.err
>&5
37089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37090 (exit $ac_status); } &&
37091 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37093 (eval $ac_try) 2>&5
37095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37096 (exit $ac_status); }; } &&
37097 { ac_try
='test -s conftest$ac_exeext'
37098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37099 (eval $ac_try) 2>&5
37101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37102 (exit $ac_status); }; }; then
37103 eval "$as_ac_var=yes"
37105 echo "$as_me: failed program was:" >&5
37106 sed 's/^/| /' conftest.
$ac_ext >&5
37108 eval "$as_ac_var=no"
37110 rm -f conftest.err conftest.
$ac_objext \
37111 conftest
$ac_exeext conftest.
$ac_ext
37113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37115 if test `eval echo '${'$as_ac_var'}'` = yes; then
37116 cat >>confdefs.h
<<_ACEOF
37117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37124 for ac_func
in floor
37126 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37127 echo "$as_me:$LINENO: checking for $ac_func" >&5
37128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37129 if eval "test \"\${$as_ac_var+set}\" = set"; then
37130 echo $ECHO_N "(cached) $ECHO_C" >&6
37132 cat >conftest.
$ac_ext <<_ACEOF
37135 cat confdefs.h
>>conftest.
$ac_ext
37136 cat >>conftest.
$ac_ext <<_ACEOF
37137 /* end confdefs.h. */
37138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37140 #define $ac_func innocuous_$ac_func
37142 /* System header to define __stub macros and hopefully few prototypes,
37143 which can conflict with char $ac_func (); below.
37144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37145 <limits.h> exists even on freestanding compilers. */
37148 # include <limits.h>
37150 # include <assert.h>
37155 /* Override any gcc2 internal prototype to avoid an error. */
37160 /* We use char because int might match the return type of a gcc2
37161 builtin and then its argument prototype would still apply. */
37163 /* The GNU C library defines this for functions which it implements
37164 to always fail with ENOSYS. Some functions are actually named
37165 something starting with __ and the normal name is an alias. */
37166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37169 char (*f) () = $ac_func;
37178 return f != $ac_func;
37183 rm -f conftest.
$ac_objext conftest
$ac_exeext
37184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37185 (eval $ac_link) 2>conftest.er1
37187 grep -v '^ *+' conftest.er1
>conftest.err
37189 cat conftest.err
>&5
37190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37191 (exit $ac_status); } &&
37192 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37194 (eval $ac_try) 2>&5
37196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37197 (exit $ac_status); }; } &&
37198 { ac_try
='test -s conftest$ac_exeext'
37199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37200 (eval $ac_try) 2>&5
37202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37203 (exit $ac_status); }; }; then
37204 eval "$as_ac_var=yes"
37206 echo "$as_me: failed program was:" >&5
37207 sed 's/^/| /' conftest.
$ac_ext >&5
37209 eval "$as_ac_var=no"
37211 rm -f conftest.err conftest.
$ac_objext \
37212 conftest
$ac_exeext conftest.
$ac_ext
37214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37216 if test `eval echo '${'$as_ac_var'}'` = yes; then
37217 cat >>confdefs.h
<<_ACEOF
37218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37224 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37225 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37226 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37227 echo "$as_me:$LINENO: result: yes" >&5
37228 echo "${ECHO_T}yes" >&6
37230 echo "$as_me:$LINENO: result: no" >&5
37231 echo "${ECHO_T}no" >&6
37233 # use different functions to avoid configure caching
37239 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37240 echo "$as_me:$LINENO: checking for $ac_func" >&5
37241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37242 if eval "test \"\${$as_ac_var+set}\" = set"; then
37243 echo $ECHO_N "(cached) $ECHO_C" >&6
37245 cat >conftest.
$ac_ext <<_ACEOF
37248 cat confdefs.h
>>conftest.
$ac_ext
37249 cat >>conftest.
$ac_ext <<_ACEOF
37250 /* end confdefs.h. */
37251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37253 #define $ac_func innocuous_$ac_func
37255 /* System header to define __stub macros and hopefully few prototypes,
37256 which can conflict with char $ac_func (); below.
37257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37258 <limits.h> exists even on freestanding compilers. */
37261 # include <limits.h>
37263 # include <assert.h>
37268 /* Override any gcc2 internal prototype to avoid an error. */
37273 /* We use char because int might match the return type of a gcc2
37274 builtin and then its argument prototype would still apply. */
37276 /* The GNU C library defines this for functions which it implements
37277 to always fail with ENOSYS. Some functions are actually named
37278 something starting with __ and the normal name is an alias. */
37279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37282 char (*f) () = $ac_func;
37291 return f != $ac_func;
37296 rm -f conftest.
$ac_objext conftest
$ac_exeext
37297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37298 (eval $ac_link) 2>conftest.er1
37300 grep -v '^ *+' conftest.er1
>conftest.err
37302 cat conftest.err
>&5
37303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37304 (exit $ac_status); } &&
37305 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37307 (eval $ac_try) 2>&5
37309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37310 (exit $ac_status); }; } &&
37311 { ac_try
='test -s conftest$ac_exeext'
37312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37313 (eval $ac_try) 2>&5
37315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37316 (exit $ac_status); }; }; then
37317 eval "$as_ac_var=yes"
37319 echo "$as_me: failed program was:" >&5
37320 sed 's/^/| /' conftest.
$ac_ext >&5
37322 eval "$as_ac_var=no"
37324 rm -f conftest.err conftest.
$ac_objext \
37325 conftest
$ac_exeext conftest.
$ac_ext
37327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37329 if test `eval echo '${'$as_ac_var'}'` = yes; then
37330 cat >>confdefs.h
<<_ACEOF
37331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37338 for ac_func
in ceil
37340 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37341 echo "$as_me:$LINENO: checking for $ac_func" >&5
37342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37343 if eval "test \"\${$as_ac_var+set}\" = set"; then
37344 echo $ECHO_N "(cached) $ECHO_C" >&6
37346 cat >conftest.
$ac_ext <<_ACEOF
37349 cat confdefs.h
>>conftest.
$ac_ext
37350 cat >>conftest.
$ac_ext <<_ACEOF
37351 /* end confdefs.h. */
37352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37354 #define $ac_func innocuous_$ac_func
37356 /* System header to define __stub macros and hopefully few prototypes,
37357 which can conflict with char $ac_func (); below.
37358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37359 <limits.h> exists even on freestanding compilers. */
37362 # include <limits.h>
37364 # include <assert.h>
37369 /* Override any gcc2 internal prototype to avoid an error. */
37374 /* We use char because int might match the return type of a gcc2
37375 builtin and then its argument prototype would still apply. */
37377 /* The GNU C library defines this for functions which it implements
37378 to always fail with ENOSYS. Some functions are actually named
37379 something starting with __ and the normal name is an alias. */
37380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37383 char (*f) () = $ac_func;
37392 return f != $ac_func;
37397 rm -f conftest.
$ac_objext conftest
$ac_exeext
37398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37399 (eval $ac_link) 2>conftest.er1
37401 grep -v '^ *+' conftest.er1
>conftest.err
37403 cat conftest.err
>&5
37404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37405 (exit $ac_status); } &&
37406 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37408 (eval $ac_try) 2>&5
37410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37411 (exit $ac_status); }; } &&
37412 { ac_try
='test -s conftest$ac_exeext'
37413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37414 (eval $ac_try) 2>&5
37416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37417 (exit $ac_status); }; }; then
37418 eval "$as_ac_var=yes"
37420 echo "$as_me: failed program was:" >&5
37421 sed 's/^/| /' conftest.
$ac_ext >&5
37423 eval "$as_ac_var=no"
37425 rm -f conftest.err conftest.
$ac_objext \
37426 conftest
$ac_exeext conftest.
$ac_ext
37428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37430 if test `eval echo '${'$as_ac_var'}'` = yes; then
37431 cat >>confdefs.h
<<_ACEOF
37432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37438 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37439 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37440 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37441 echo "$as_me:$LINENO: result: yes" >&5
37442 echo "${ECHO_T}yes" >&6
37444 echo "$as_me:$LINENO: result: no" >&5
37445 echo "${ECHO_T}no" >&6
37446 # not sure we should warn the user, crash, etc.
37450 if test "$wxUSE_GUI" = "yes"; then
37453 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
37454 drawing dynamic erase event exec font image \
37455 minimal propsize rotate shaped widgets render"
37457 if test "$wxUSE_MONOLITHIC" != "yes"; then
37458 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37461 SAMPLES_SUBDIRS
="console"
37465 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
37466 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37468 if test "$GXX" = yes ; then
37469 CXXWARNINGS
="-Wall"
37472 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37474 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
37475 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
37476 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
37479 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
37480 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37481 EXTRALIBS_XML
="$EXPAT_LINK"
37482 EXTRALIBS_HTML
="$MSPACK_LINK"
37483 EXTRALIBS_ODBC
="$ODBC_LINK"
37484 if test "$wxUSE_GUI" = "yes"; then
37485 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK | sed 's/ \+/ /g'`
37487 if test "$wxUSE_OPENGL" = "yes"; then
37488 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37491 LDFLAGS
="$LDFLAGS $PROFILE"
37493 if test "$wxUSE_GTK" = 1; then
37496 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
37499 WXCONFIG_EXTRALIBS
="$LIBS"
37501 if test "$wxUSE_REGEX" = "builtin" ; then
37502 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37504 if test "$wxUSE_EXPAT" = "builtin" ; then
37505 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
37507 if test "$wxUSE_ODBC" = "builtin" ; then
37508 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37510 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37511 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
37513 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37514 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
37516 if test "$wxUSE_LIBPNG" = "builtin" ; then
37517 wxconfig_3rdparty
="$wxconfig_3rdparty png"
37519 if test "$wxUSE_ZLIB" = "builtin" ; then
37520 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
37522 if test "$wxUSE_ODBC" = "builtin" ; then
37523 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37526 for i
in $wxconfig_3rdparty ; do
37527 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
37531 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37545 if test $wxUSE_MONOLITHIC = "yes" ; then
37551 if test $wxUSE_PLUGINS = "yes" ; then
37557 if test $wxUSE_ODBC != "no" ; then
37563 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37589 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
37599 if test "x$BAKEFILE_HOST" = "x"; then
37600 BAKEFILE_HOST
="${host}"
37603 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37605 if test -n "$ac_tool_prefix"; then
37606 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37607 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
37608 echo "$as_me:$LINENO: checking for $ac_word" >&5
37609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37610 if test "${ac_cv_prog_RANLIB+set}" = set; then
37611 echo $ECHO_N "(cached) $ECHO_C" >&6
37613 if test -n "$RANLIB"; then
37614 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
37616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37617 for as_dir
in $PATH
37620 test -z "$as_dir" && as_dir
=.
37621 for ac_exec_ext
in '' $ac_executable_extensions; do
37622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37623 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
37624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37632 RANLIB
=$ac_cv_prog_RANLIB
37633 if test -n "$RANLIB"; then
37634 echo "$as_me:$LINENO: result: $RANLIB" >&5
37635 echo "${ECHO_T}$RANLIB" >&6
37637 echo "$as_me:$LINENO: result: no" >&5
37638 echo "${ECHO_T}no" >&6
37642 if test -z "$ac_cv_prog_RANLIB"; then
37643 ac_ct_RANLIB
=$RANLIB
37644 # Extract the first word of "ranlib", so it can be a program name with args.
37645 set dummy ranlib
; ac_word
=$2
37646 echo "$as_me:$LINENO: checking for $ac_word" >&5
37647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37648 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
37649 echo $ECHO_N "(cached) $ECHO_C" >&6
37651 if test -n "$ac_ct_RANLIB"; then
37652 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
37654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37655 for as_dir
in $PATH
37658 test -z "$as_dir" && as_dir
=.
37659 for ac_exec_ext
in '' $ac_executable_extensions; do
37660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37661 ac_cv_prog_ac_ct_RANLIB
="ranlib"
37662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37668 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
37671 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
37672 if test -n "$ac_ct_RANLIB"; then
37673 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
37674 echo "${ECHO_T}$ac_ct_RANLIB" >&6
37676 echo "$as_me:$LINENO: result: no" >&5
37677 echo "${ECHO_T}no" >&6
37680 RANLIB
=$ac_ct_RANLIB
37682 RANLIB
="$ac_cv_prog_RANLIB"
37685 # Find a good install program. We prefer a C program (faster),
37686 # so one script is as good as another. But avoid the broken or
37687 # incompatible versions:
37688 # SysV /etc/install, /usr/sbin/install
37689 # SunOS /usr/etc/install
37690 # IRIX /sbin/install
37692 # AmigaOS /C/install, which installs bootblocks on floppy discs
37693 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37694 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37695 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37696 # OS/2's system install, which has a completely different semantic
37697 # ./install, which can be erroneously created by make from ./install.sh.
37698 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
37699 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
37700 if test -z "$INSTALL"; then
37701 if test "${ac_cv_path_install+set}" = set; then
37702 echo $ECHO_N "(cached) $ECHO_C" >&6
37704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37705 for as_dir
in $PATH
37708 test -z "$as_dir" && as_dir
=.
37709 # Account for people who put trailing slashes in PATH elements.
37711 .
/ | .
// | /cC
/* | \
37712 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
37713 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
37716 # OSF1 and SCO ODT 3.0 have their own names for install.
37717 # Don't use installbsd from OSF since it installs stuff as root
37719 for ac_prog
in ginstall scoinst
install; do
37720 for ac_exec_ext
in '' $ac_executable_extensions; do
37721 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37722 if test $ac_prog = install &&
37723 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37724 # AIX install. It has an incompatible calling convention.
37726 elif test $ac_prog = install &&
37727 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37728 # program-specific install script used by HP pwplus--don't use.
37731 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
37743 if test "${ac_cv_path_install+set}" = set; then
37744 INSTALL
=$ac_cv_path_install
37746 # As a last resort, use the slow shell script. We don't cache a
37747 # path for INSTALL within a source directory, because that will
37748 # break other packages using the cache if that directory is
37749 # removed, or if the path is relative.
37750 INSTALL
=$ac_install_sh
37753 echo "$as_me:$LINENO: result: $INSTALL" >&5
37754 echo "${ECHO_T}$INSTALL" >&6
37756 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37757 # It thinks the first close brace ends the variable substitution.
37758 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
37760 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
37762 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
37764 echo "$as_me:$LINENO: checking whether ln -s works" >&5
37765 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
37767 if test "$LN_S" = "ln -s"; then
37768 echo "$as_me:$LINENO: result: yes" >&5
37769 echo "${ECHO_T}yes" >&6
37771 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
37772 echo "${ECHO_T}no, using $LN_S" >&6
37776 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37777 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
37778 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
37779 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
37780 echo $ECHO_N "(cached) $ECHO_C" >&6
37782 cat >conftest.
make <<\_ACEOF
37784 @
echo 'ac_maketemp="$(MAKE)"'
37786 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
37787 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
37788 if test -n "$ac_maketemp"; then
37789 eval ac_cv_prog_make_
${ac_make}_set
=yes
37791 eval ac_cv_prog_make_
${ac_make}_set
=no
37793 rm -f conftest.
make
37795 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
37796 echo "$as_me:$LINENO: result: yes" >&5
37797 echo "${ECHO_T}yes" >&6
37800 echo "$as_me:$LINENO: result: no" >&5
37801 echo "${ECHO_T}no" >&6
37802 SET_MAKE
="MAKE=${MAKE-make}"
37807 if test -n "$ac_tool_prefix"; then
37808 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37809 set dummy
${ac_tool_prefix}ar; ac_word
=$2
37810 echo "$as_me:$LINENO: checking for $ac_word" >&5
37811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37812 if test "${ac_cv_prog_AR+set}" = set; then
37813 echo $ECHO_N "(cached) $ECHO_C" >&6
37815 if test -n "$AR"; then
37816 ac_cv_prog_AR
="$AR" # Let the user override the test.
37818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37819 for as_dir
in $PATH
37822 test -z "$as_dir" && as_dir
=.
37823 for ac_exec_ext
in '' $ac_executable_extensions; do
37824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37825 ac_cv_prog_AR
="${ac_tool_prefix}ar"
37826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37835 if test -n "$AR"; then
37836 echo "$as_me:$LINENO: result: $AR" >&5
37837 echo "${ECHO_T}$AR" >&6
37839 echo "$as_me:$LINENO: result: no" >&5
37840 echo "${ECHO_T}no" >&6
37844 if test -z "$ac_cv_prog_AR"; then
37846 # Extract the first word of "ar", so it can be a program name with args.
37847 set dummy
ar; ac_word
=$2
37848 echo "$as_me:$LINENO: checking for $ac_word" >&5
37849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37850 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
37851 echo $ECHO_N "(cached) $ECHO_C" >&6
37853 if test -n "$ac_ct_AR"; then
37854 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
37856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37857 for as_dir
in $PATH
37860 test -z "$as_dir" && as_dir
=.
37861 for ac_exec_ext
in '' $ac_executable_extensions; do
37862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37863 ac_cv_prog_ac_ct_AR
="ar"
37864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37870 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
37873 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
37874 if test -n "$ac_ct_AR"; then
37875 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
37876 echo "${ECHO_T}$ac_ct_AR" >&6
37878 echo "$as_me:$LINENO: result: no" >&5
37879 echo "${ECHO_T}no" >&6
37884 AR
="$ac_cv_prog_AR"
37887 if test -n "$ac_tool_prefix"; then
37888 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
37889 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
37890 echo "$as_me:$LINENO: checking for $ac_word" >&5
37891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37892 if test "${ac_cv_prog_STRIP+set}" = set; then
37893 echo $ECHO_N "(cached) $ECHO_C" >&6
37895 if test -n "$STRIP"; then
37896 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
37898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37899 for as_dir
in $PATH
37902 test -z "$as_dir" && as_dir
=.
37903 for ac_exec_ext
in '' $ac_executable_extensions; do
37904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37905 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
37906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37914 STRIP
=$ac_cv_prog_STRIP
37915 if test -n "$STRIP"; then
37916 echo "$as_me:$LINENO: result: $STRIP" >&5
37917 echo "${ECHO_T}$STRIP" >&6
37919 echo "$as_me:$LINENO: result: no" >&5
37920 echo "${ECHO_T}no" >&6
37924 if test -z "$ac_cv_prog_STRIP"; then
37926 # Extract the first word of "strip", so it can be a program name with args.
37927 set dummy strip
; ac_word
=$2
37928 echo "$as_me:$LINENO: checking for $ac_word" >&5
37929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37930 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
37931 echo $ECHO_N "(cached) $ECHO_C" >&6
37933 if test -n "$ac_ct_STRIP"; then
37934 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
37936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37937 for as_dir
in $PATH
37940 test -z "$as_dir" && as_dir
=.
37941 for ac_exec_ext
in '' $ac_executable_extensions; do
37942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37943 ac_cv_prog_ac_ct_STRIP
="strip"
37944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37950 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
37953 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
37954 if test -n "$ac_ct_STRIP"; then
37955 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
37956 echo "${ECHO_T}$ac_ct_STRIP" >&6
37958 echo "$as_me:$LINENO: result: no" >&5
37959 echo "${ECHO_T}no" >&6
37964 STRIP
="$ac_cv_prog_STRIP"
37967 if test -n "$ac_tool_prefix"; then
37968 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
37969 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
37970 echo "$as_me:$LINENO: checking for $ac_word" >&5
37971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37972 if test "${ac_cv_prog_NM+set}" = set; then
37973 echo $ECHO_N "(cached) $ECHO_C" >&6
37975 if test -n "$NM"; then
37976 ac_cv_prog_NM
="$NM" # Let the user override the test.
37978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37979 for as_dir
in $PATH
37982 test -z "$as_dir" && as_dir
=.
37983 for ac_exec_ext
in '' $ac_executable_extensions; do
37984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37985 ac_cv_prog_NM
="${ac_tool_prefix}nm"
37986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37995 if test -n "$NM"; then
37996 echo "$as_me:$LINENO: result: $NM" >&5
37997 echo "${ECHO_T}$NM" >&6
37999 echo "$as_me:$LINENO: result: no" >&5
38000 echo "${ECHO_T}no" >&6
38004 if test -z "$ac_cv_prog_NM"; then
38006 # Extract the first word of "nm", so it can be a program name with args.
38007 set dummy nm
; ac_word
=$2
38008 echo "$as_me:$LINENO: checking for $ac_word" >&5
38009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38010 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38011 echo $ECHO_N "(cached) $ECHO_C" >&6
38013 if test -n "$ac_ct_NM"; then
38014 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38017 for as_dir
in $PATH
38020 test -z "$as_dir" && as_dir
=.
38021 for ac_exec_ext
in '' $ac_executable_extensions; do
38022 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38023 ac_cv_prog_ac_ct_NM
="nm"
38024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38030 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
38033 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38034 if test -n "$ac_ct_NM"; then
38035 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38036 echo "${ECHO_T}$ac_ct_NM" >&6
38038 echo "$as_me:$LINENO: result: no" >&5
38039 echo "${ECHO_T}no" >&6
38044 NM
="$ac_cv_prog_NM"
38048 case ${BAKEFILE_HOST} in
38050 INSTALL_DIR
="mkdir"
38052 *) INSTALL_DIR
="$INSTALL -d"
38058 case ${BAKEFILE_HOST} in
38059 *-*-cygwin* | *-*-mingw32* )
38060 LDFLAGS_GUI
="-mwindows"
38066 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38067 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38068 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38069 echo $ECHO_N "(cached) $ECHO_C" >&6
38072 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38073 egrep -s GNU
> /dev
/null
); then
38074 bakefile_cv_prog_makeisgnu
="yes"
38076 bakefile_cv_prog_makeisgnu
="no"
38080 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38081 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38083 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38098 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38099 case "${BAKEFILE_HOST}" in
38100 *-*-cygwin* | *-*-mingw32* )
38106 *-pc-os2_emx | *-pc-os2-emx )
38109 powerpc
-*-darwin* )
38118 case "$BAKEFILE_FORCE_PLATFORM" in
38136 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38137 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38138 { (exit 1); exit 1; }; }
38151 # Check whether --enable-omf or --disable-omf was given.
38152 if test "${enable_omf+set}" = set; then
38153 enableval
="$enable_omf"
38154 bk_os2_use_omf
="$enableval"
38157 case "${BAKEFILE_HOST}" in
38159 CFLAGS
="$CFLAGS -fno-common"
38160 CXXFLAGS
="$CXXFLAGS -fno-common"
38163 *-pc-os2_emx | *-pc-os2-emx )
38164 if test "x$bk_os2_use_omf" = "xyes" ; then
38167 LDFLAGS
="-Zomf $LDFLAGS"
38168 CFLAGS
="-Zomf $CFLAGS"
38169 CXXFLAGS
="-Zomf $CXXFLAGS"
38179 SO_SUFFIX_MODULE
="so"
38184 DLLPREFIX_MODULE
=""
38187 case "${BAKEFILE_HOST}" in
38190 SO_SUFFIX_MODULE
="sl"
38194 SO_SUFFIX_MODULE
="a"
38196 *-*-cygwin* | *-*-mingw32* )
38198 SO_SUFFIX_MODULE
="dll"
38199 DLLIMP_SUFFIX
="dll.a"
38207 *-pc-os2_emx | *-pc-os2-emx )
38209 SO_SUFFIX_MODULE
="dll"
38210 DLLIMP_SUFFIX
=$OS2_LIBEXT
38214 LIBEXT
=".$OS2_LIBEXT"
38216 powerpc
-*-darwin* )
38218 SO_SUFFIX_MODULE
="bundle"
38222 if test "x$DLLIMP_SUFFIX" = "x" ; then
38223 DLLIMP_SUFFIX
="$SO_SUFFIX"
38236 SHARED_LD_CC
="\$(CC) -shared -o"
38237 SHARED_LD_CXX
="\$(CXX) -shared -o"
38239 if test "x$GCC" = "xyes"; then
38243 case "${BAKEFILE_HOST}" in
38245 if test "x$GCC" = "xyes"; then
38246 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
38247 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
38249 LDFLAGS
="$LDFLAGS -L/usr/lib"
38251 SHARED_LD_CC
="${CC} -b -o"
38252 SHARED_LD_CXX
="${CXX} -b -o"
38258 if test "x$GCC" != "xyes"; then
38259 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38260 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38261 if test "${bakefile_cv_prog_icc+set}" = set; then
38262 echo $ECHO_N "(cached) $ECHO_C" >&6
38265 cat >conftest.
$ac_ext <<_ACEOF
38268 cat confdefs.h
>>conftest.
$ac_ext
38269 cat >>conftest.
$ac_ext <<_ACEOF
38270 /* end confdefs.h. */
38276 #ifndef __INTEL_COMPILER
38284 rm -f conftest.
$ac_objext
38285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38286 (eval $ac_compile) 2>conftest.er1
38288 grep -v '^ *+' conftest.er1
>conftest.err
38290 cat conftest.err
>&5
38291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38292 (exit $ac_status); } &&
38293 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38295 (eval $ac_try) 2>&5
38297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38298 (exit $ac_status); }; } &&
38299 { ac_try
='test -s conftest.$ac_objext'
38300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38301 (eval $ac_try) 2>&5
38303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38304 (exit $ac_status); }; }; then
38305 bakefile_cv_prog_icc
=yes
38307 echo "$as_me: failed program was:" >&5
38308 sed 's/^/| /' conftest.
$ac_ext >&5
38310 bakefile_cv_prog_icc
=no
38313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38316 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38317 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38318 if test "$bakefile_cv_prog_icc" = "yes"; then
38325 if test "x$GCC" != xyes
; then
38326 SHARED_LD_CC
="${CC} -G -o"
38327 SHARED_LD_CXX
="${CXX} -G -o"
38334 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38335 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38336 if test "${wx_cv_gcc31+set}" = set; then
38337 echo $ECHO_N "(cached) $ECHO_C" >&6
38340 cat >conftest.
$ac_ext <<_ACEOF
38343 cat confdefs.h
>>conftest.
$ac_ext
38344 cat >>conftest.
$ac_ext <<_ACEOF
38345 /* end confdefs.h. */
38351 #if (__GNUC__ < 3) || \
38352 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38360 rm -f conftest.
$ac_objext
38361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38362 (eval $ac_compile) 2>conftest.er1
38364 grep -v '^ *+' conftest.er1
>conftest.err
38366 cat conftest.err
>&5
38367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38368 (exit $ac_status); } &&
38369 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38371 (eval $ac_try) 2>&5
38373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38374 (exit $ac_status); }; } &&
38375 { ac_try
='test -s conftest.$ac_objext'
38376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38377 (eval $ac_try) 2>&5
38379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38380 (exit $ac_status); }; }; then
38385 echo "$as_me: failed program was:" >&5
38386 sed 's/^/| /' conftest.
$ac_ext >&5
38393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38396 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38397 echo "${ECHO_T}$wx_cv_gcc31" >&6
38398 if test "$wx_cv_gcc31" = "no"; then
38401 cat <<EOF >shared-ld-sh
38403 #-----------------------------------------------------------------------------
38404 #-- Name: distrib/mac/shared-ld-sh
38405 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38406 #-- Author: Gilles Depeyrot
38407 #-- Copyright: (c) 2002 Gilles Depeyrot
38408 #-- Licence: any use permitted
38409 #-----------------------------------------------------------------------------
38414 linking_flag="-dynamiclib"
38416 while test ${D}# -gt 0; do
38423 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38424 # collect these options and values
38425 args="${D}{args} ${D}1 ${D}2"
38429 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38430 # collect these options
38431 args="${D}{args} ${D}1"
38434 -dynamiclib|-bundle)
38435 linking_flag="${D}1"
38439 echo "shared-ld: unhandled option '${D}1'"
38443 *.o | *.a | *.dylib)
38444 # collect object files
38445 objects="${D}{objects} ${D}1"
38449 echo "shared-ld: unhandled argument '${D}1'"
38458 # Link one module containing all the others
38460 if test ${D}{verbose} = 1; then
38461 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
38463 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
38465 if test ${D}{status} != 0; then
38470 # Link the shared library from the single module created
38472 if test ${D}{verbose} = 1; then
38473 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38475 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38477 if test ${D}{status} != 0; then
38482 # Remove intermediate module
38484 rm -f master.${D}${D}.o
38489 chmod +x shared
-ld-sh
38491 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38492 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38493 SHARED_LD_CXX
="$SHARED_LD_CC"
38494 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
38496 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38497 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38498 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38499 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38502 PIC_FLAG
="-dynamic -fPIC"
38506 if test "x$GCC" != "xyes"; then
38507 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38508 set dummy makeC
++SharedLib
; ac_word
=$2
38509 echo "$as_me:$LINENO: checking for $ac_word" >&5
38510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38511 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38512 echo $ECHO_N "(cached) $ECHO_C" >&6
38514 if test -n "$AIX_CXX_LD"; then
38515 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38518 for as_dir
in $PATH
38521 test -z "$as_dir" && as_dir
=.
38522 for ac_exec_ext
in '' $ac_executable_extensions; do
38523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38524 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38531 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38534 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38535 if test -n "$AIX_CXX_LD"; then
38536 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38537 echo "${ECHO_T}$AIX_CXX_LD" >&6
38539 echo "$as_me:$LINENO: result: no" >&5
38540 echo "${ECHO_T}no" >&6
38543 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
38544 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
38549 SHARED_LD_CC
="${LD} -shared -o"
38550 SHARED_LD_CXX
="${LD} -shared -o"
38554 if test "x$GCC" != "xyes"; then
38559 *-*-cygwin* | *-*-mingw32* )
38563 *-pc-os2_emx | *-pc-os2-emx )
38564 SHARED_LD_CC
="`pwd`/dllar.sh -o"
38565 SHARED_LD_CXX
="`pwd`/dllar.sh -o"
38569 cat <<EOF >dllar.sh
38572 # dllar - a tool to build both a .dll and an .a file
38573 # from a set of object (.o) files for EMX/OS2.
38575 # Written by Andrew Zabolotny, bit@freya.etu.ru
38576 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38578 # This script will accept a set of files on the command line.
38579 # All the public symbols from the .o files will be exported into
38580 # a .DEF file, then linker will be run (through gcc) against them to
38581 # build a shared library consisting of all given .o files. All libraries
38582 # (.a) will be first decompressed into component .o files then act as
38583 # described above. You can optionally give a description (-d "description")
38584 # which will be put into .DLL. To see the list of accepted options (as well
38585 # as command-line format) simply run this program without options. The .DLL
38586 # is built to be imported by name (there is no guarantee that new versions
38587 # of the library you build will have same ordinals for same symbols).
38589 # dllar is free software; you can redistribute it and/or modify
38590 # it under the terms of the GNU General Public License as published by
38591 # the Free Software Foundation; either version 2, or (at your option)
38592 # any later version.
38594 # dllar is distributed in the hope that it will be useful,
38595 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38596 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38597 # GNU General Public License for more details.
38599 # You should have received a copy of the GNU General Public License
38600 # along with dllar; see the file COPYING. If not, write to the Free
38601 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38604 # To successfuly run this program you will need:
38605 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38606 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38608 # (used to build the .dll)
38610 # (used to create .def file from .o files)
38612 # (used to create .a file from .def file)
38613 # - GNU text utilites (cat, sort, uniq)
38614 # used to process emxexp output
38615 # - GNU file utilities (mv, rm)
38617 # - lxlite (optional, see flag below)
38618 # (used for general .dll cleanup)
38625 # basnam, variant of basename, which does _not_ remove the path, _iff_
38626 # second argument (suffix to remove) is given
38630 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
38633 echo ${D}1 | sed 's/'${D}2'${D}//'
38636 echo "error in basnam ${D}*"
38642 # Cleanup temporary files and output
38645 for i in ${D}inputFiles ; do
38648 rm -rf \`basnam ${D}i !\`
38655 # Kill result in case of failure as there is just to many stupid make/nmake
38656 # things out there which doesn't do this.
38657 if ${D}# -eq 0 ; then
38658 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38662 # Print usage and exit script with rc=1.
38664 echo 'Usage: dllar -o[utput] output_file -i[mport] importlib_name'
38665 echo ' -d[escription] "dll descrption" -cc "CC" -f[lags] "CFLAGS"'
38666 echo ' -ord[inals] -exclude "symbol(s)"'
38667 echo ' -libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}" -nocrt[dll] -nolxl[ite]'
38669 echo '*> "output_file" should have no extension.'
38670 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38671 echo ' The import library name is derived from this and is set to "name".a,'
38672 echo ' unless overridden by -import'
38673 echo '*> "importlib_name" should have no extension.'
38674 echo ' If it has the .o, or .a extension, it is automatically removed.'
38675 echo ' This name is used as the import library name and may be longer and'
38676 echo ' more descriptive than the DLL name which has to follow the old '
38677 echo ' 8.3 convention of FAT.'
38678 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38679 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38680 echo ' These flags will be put at the start of GCC command line.'
38681 echo '*> -ordinals tells dllar to export entries by ordinals. Be careful.'
38682 echo '*> -exclude defines symbols which will not be exported. You can define'
38683 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38684 echo ' If the last character of a symbol is "*", all symbols beginning'
38685 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38686 echo '*> -libflags can be used to add INITGLOBAL/INITINSTANCE and/or'
38687 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38688 echo '*> -nocrtdll switch will disable linking the library against emx''s'
38689 echo ' C runtime DLLs.'
38690 echo '*> -nolxlite switch will disable running lxlite on the resulting DLL.'
38691 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38692 echo ' unchanged to GCC at the end of command line.'
38693 echo '*> If you create a DLL from a library and you do not specify -o,'
38694 echo ' the basename for DLL and import library will be set to library name,'
38695 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38696 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38697 echo ' library will be renamed into gcc_s.a.'
38700 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38701 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38706 # Execute a command.
38707 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38708 # @Uses Whatever CleanUp() uses.
38714 if ${D}rcCmd -ne 0 ; then
38715 echo "command failed, exit code="${D}rcCmd
38729 CFLAGS="-s -Zcrtdll"
38731 EXPORT_BY_ORDINALS=0
38736 case ${D}curDirS in
38740 curDirS=${D}{curDirS}"/"
38743 # Parse commandline
38748 EXPORT_BY_ORDINALS=1;
38775 exclude_symbols=${D}{exclude_symbols}${D}1" "
38779 library_flags=${D}{library_flags}${D}1" "
38795 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38799 if ${D}libsToLink -ne 0 ; then
38800 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38802 for file in ${D}1 ; do
38803 if -f ${D}file ; then
38804 inputFiles="${D}{inputFiles} ${D}file"
38808 if ${D}found -eq 0 ; then
38809 echo "ERROR: No file(s) found: "${D}1
38816 done # iterate cmdline words
38819 if -z "${D}inputFiles" ; then
38820 echo "dllar: no input files"
38824 # Now extract all .o files from .a files
38826 for file in ${D}inputFiles ; do
38837 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
38842 dirname=\`basnam ${D}file ${D}suffix\`"_%"
38844 if ${D}? -ne 0 ; then
38845 echo "Failed to create subdirectory ./${D}dirname"
38849 # Append '!' to indicate archive
38850 newInputFiles="${D}newInputFiles ${D}{dirname}!"
38851 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
38854 for subfile in ${D}dirname/*.o* ; do
38855 if -f ${D}subfile ; then
38857 if -s ${D}subfile ; then
38858 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
38859 newInputFiles="${D}newInputFiles ${D}subfile"
38863 if ${D}found -eq 0 ; then
38864 echo "WARNING: there are no files in archive \'${D}file\'"
38868 newInputFiles="${D}{newInputFiles} ${D}file"
38872 inputFiles="${D}newInputFiles"
38874 # Output filename(s).
38876 if -z ${D}outFile ; then
38878 set outFile ${D}inputFiles; outFile=${D}2
38881 # If it is an archive, remove the '!' and the '_%' suffixes
38882 case ${D}outFile in
38884 outFile=\`basnam ${D}outFile _%!\`
38889 case ${D}outFile in
38891 outFile=\`basnam ${D}outFile .dll\`
38894 outFile=\`basnam ${D}outFile .DLL\`
38897 outFile=\`basnam ${D}outFile .o\`
38900 outFile=\`basnam ${D}outFile .obj\`
38903 outFile=\`basnam ${D}outFile .a\`
38906 outFile=\`basnam ${D}outFile .lib\`
38911 case ${D}outimpFile in
38913 outimpFile=\`basnam ${D}outimpFile .a\`
38916 outimpFile=\`basnam ${D}outimpFile .lib\`
38921 if -z ${D}outimpFile ; then
38922 outimpFile=${D}outFile
38924 defFile="${D}{outFile}.def"
38925 arcFile="${D}{outimpFile}.a"
38926 arcFile2="${D}{outimpFile}.lib"
38927 dllFile="${D}outFile"
38928 # Add suffix to dllFile later, first we need a version to use as
38929 # name in .def file.
38931 if ${D}do_backup -ne 0 ; then
38932 if -f ${D}arcFile ; then
38933 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
38935 if -f ${D}arcFile2 ; then
38936 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
38940 # Extract public symbols from all the object files.
38941 tmpdefFile=${D}{defFile}_%
38942 rm -f ${D}tmpdefFile
38943 for file in ${D}inputFiles ; do
38948 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
38953 # Create the def file.
38955 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
38956 dllFile="${D}dllFile.dll"
38957 if -n ${D}description ; then
38958 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
38960 echo "EXPORTS" >> ${D}defFile
38962 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
38963 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
38965 # Checks if the export is ok or not.
38966 for word in ${D}exclude_symbols; do
38967 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
38968 mv ${D}{tmpdefFile}% ${D}tmpdefFile
38972 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
38973 sed "=" < ${D}tmpdefFile | \
38977 s/^\(0-9\+\)\(^;*\)\(;.*\)\?/\2 @\1 NONAME/
38979 ' > ${D}{tmpdefFile}%
38980 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
38982 rm -f ${D}{tmpdefFile}%
38984 cat ${D}tmpdefFile >> ${D}defFile
38985 rm -f ${D}tmpdefFile
38987 # Do linking, create implib, and apply lxlite.
38989 for file in ${D}inputFiles ; do
38994 gccCmdl="${D}gccCmdl ${D}file"
38998 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
38999 touch "${D}{outFile}.dll"
39001 doCommand "emximp -o ${D}arcFile ${D}defFile"
39002 if ${D}flag_USE_LXLITE -ne 0 ; then
39004 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
39007 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39009 doCommand "emxomf -s -l ${D}arcFile"
39019 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39027 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39028 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39029 { (exit 1); exit 1; }; }
39032 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39033 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39035 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39036 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39053 case "${BAKEFILE_HOST}" in
39055 SONAME_FLAG
="-Wl,-soname,"
39083 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39084 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39087 if test "x$GCC" = "xyes"; then
39090 case "${BAKEFILE_HOST}" in
39091 powerpc
-*-darwin* )
39092 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
39095 DEPSFLAG_GCC
="-MMD"
39098 echo "$as_me:$LINENO: result: gcc" >&5
39099 echo "${ECHO_T}gcc" >&6
39101 echo "$as_me:$LINENO: result: none" >&5
39102 echo "${ECHO_T}none" >&6
39105 if test $DEPS_TRACKING = 1 ; then
39111 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39112 # script. It is used to track C/C++ files dependencies in portable way.
39114 # Permission is given to use this file in any way.
39116 DEPSMODE=${DEPSMODE}
39118 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39120 mkdir -p ${D}DEPSDIR
39122 if test ${D}DEPSMODE = gcc ; then
39123 ${D}* ${D}{DEPSFLAG_GCC}
39125 if test ${D}{status} != 0 ; then
39128 # move created file to the location we want it in:
39129 while test ${D}# -gt 0; do
39143 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39144 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39145 if test -f ${D}depfile ; then
39146 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39149 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39150 if test -f ${D}depfile ; then
39151 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39171 case ${BAKEFILE_HOST} in
39172 *-*-cygwin* | *-*-mingw32* )
39173 if test "$build" != "$host" ; then
39174 RESCOMP
=$host_alias-windres
39176 # Extract the first word of "windres", so it can be a program name with args.
39177 set dummy windres
; ac_word
=$2
39178 echo "$as_me:$LINENO: checking for $ac_word" >&5
39179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39180 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39181 echo $ECHO_N "(cached) $ECHO_C" >&6
39183 if test -n "$RESCOMP"; then
39184 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39187 for as_dir
in $PATH
39190 test -z "$as_dir" && as_dir
=.
39191 for ac_exec_ext
in '' $ac_executable_extensions; do
39192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39193 ac_cv_prog_RESCOMP
="windres"
39194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39200 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
39203 RESCOMP
=$ac_cv_prog_RESCOMP
39204 if test -n "$RESCOMP"; then
39205 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39206 echo "${ECHO_T}$RESCOMP" >&6
39208 echo "$as_me:$LINENO: result: no" >&5
39209 echo "${ECHO_T}no" >&6
39216 # Extract the first word of "Rez", so it can be a program name with args.
39217 set dummy Rez
; ac_word
=$2
39218 echo "$as_me:$LINENO: checking for $ac_word" >&5
39219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39220 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39221 echo $ECHO_N "(cached) $ECHO_C" >&6
39223 if test -n "$RESCOMP"; then
39224 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39227 for as_dir
in $PATH
39230 test -z "$as_dir" && as_dir
=.
39231 for ac_exec_ext
in '' $ac_executable_extensions; do
39232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39233 ac_cv_prog_RESCOMP
="Rez"
39234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39240 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
39243 RESCOMP
=$ac_cv_prog_RESCOMP
39244 if test -n "$RESCOMP"; then
39245 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39246 echo "${ECHO_T}$RESCOMP" >&6
39248 echo "$as_me:$LINENO: result: no" >&5
39249 echo "${ECHO_T}no" >&6
39252 # Extract the first word of "SetFile", so it can be a program name with args.
39253 set dummy SetFile
; ac_word
=$2
39254 echo "$as_me:$LINENO: checking for $ac_word" >&5
39255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39256 if test "${ac_cv_prog_SETFILE+set}" = set; then
39257 echo $ECHO_N "(cached) $ECHO_C" >&6
39259 if test -n "$SETFILE"; then
39260 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39263 for as_dir
in $PATH
39266 test -z "$as_dir" && as_dir
=.
39267 for ac_exec_ext
in '' $ac_executable_extensions; do
39268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39269 ac_cv_prog_SETFILE
="SetFile"
39270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39276 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39279 SETFILE
=$ac_cv_prog_SETFILE
39280 if test -n "$SETFILE"; then
39281 echo "$as_me:$LINENO: result: $SETFILE" >&5
39282 echo "${ECHO_T}$SETFILE" >&6
39284 echo "$as_me:$LINENO: result: no" >&5
39285 echo "${ECHO_T}no" >&6
39299 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.4"
39303 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39304 if test "${enable_precomp_headers+set}" = set; then
39305 enableval
="$enable_precomp_headers"
39306 bk_use_pch
="$enableval"
39311 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39312 if test "x$GCC" = "xyes"; then
39313 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39314 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39315 cat >conftest.
$ac_ext <<_ACEOF
39318 cat confdefs.h
>>conftest.
$ac_ext
39319 cat >>conftest.
$ac_ext <<_ACEOF
39320 /* end confdefs.h. */
39326 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39327 #error "no pch support"
39330 #error "no pch support"
39332 #if (__GNUC__ == 3) && \
39333 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39334 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39335 #error "no pch support"
39342 rm -f conftest.
$ac_objext
39343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39344 (eval $ac_compile) 2>conftest.er1
39346 grep -v '^ *+' conftest.er1
>conftest.err
39348 cat conftest.err
>&5
39349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39350 (exit $ac_status); } &&
39351 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39353 (eval $ac_try) 2>&5
39355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39356 (exit $ac_status); }; } &&
39357 { ac_try
='test -s conftest.$ac_objext'
39358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39359 (eval $ac_try) 2>&5
39361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39362 (exit $ac_status); }; }; then
39364 echo "$as_me:$LINENO: result: yes" >&5
39365 echo "${ECHO_T}yes" >&6
39366 CPPFLAGS
="-fpch-deps $CPPFLAGS"
39370 echo "$as_me: failed program was:" >&5
39371 sed 's/^/| /' conftest.
$ac_ext >&5
39374 echo "$as_me:$LINENO: result: no" >&5
39375 echo "${ECHO_T}no" >&6
39378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39379 if test $GCC_PCH = 1 ; then
39380 cat <<EOF >bk-make-pch
39383 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39384 # script. It is used to generated precompiled headers.
39386 # Permission is given to use this file in any way.
39395 while test \${#} -gt 0; do
39398 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39399 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39400 headerfile="\${incdir}/\${header}"
39404 compiler="\${compiler} \${1}"
39408 if test "x\${headerfile}" = "x" ; then
39409 echo "error: can't find header \${header} in include paths" >2
39411 if test -f \${outfile} ; then
39414 mkdir -p \`dirname \${outfile}\`
39416 depsfile=".deps/\`basename \${outfile}\`.d"
39418 # can do this because gcc is >= 3.4:
39419 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39423 chmod +x bk
-make-pch
39434 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39435 if test "${enable_precomp_headers+set}" = set; then
39436 enableval
="$enable_precomp_headers"
39437 bk_use_pch
="$enableval"
39442 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39443 if test "x$GCC" = "xyes"; then
39444 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39445 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39446 cat >conftest.
$ac_ext <<_ACEOF
39449 cat confdefs.h
>>conftest.
$ac_ext
39450 cat >>conftest.
$ac_ext <<_ACEOF
39451 /* end confdefs.h. */
39457 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39458 #error "no pch support"
39461 #error "no pch support"
39463 #if (__GNUC__ == 3) && \
39464 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39465 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39466 #error "no pch support"
39473 rm -f conftest.
$ac_objext
39474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39475 (eval $ac_compile) 2>conftest.er1
39477 grep -v '^ *+' conftest.er1
>conftest.err
39479 cat conftest.err
>&5
39480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39481 (exit $ac_status); } &&
39482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39484 (eval $ac_try) 2>&5
39486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39487 (exit $ac_status); }; } &&
39488 { ac_try
='test -s conftest.$ac_objext'
39489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39490 (eval $ac_try) 2>&5
39492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39493 (exit $ac_status); }; }; then
39495 echo "$as_me:$LINENO: result: yes" >&5
39496 echo "${ECHO_T}yes" >&6
39497 CPPFLAGS
="-fpch-deps $CPPFLAGS"
39501 echo "$as_me: failed program was:" >&5
39502 sed 's/^/| /' conftest.
$ac_ext >&5
39505 echo "$as_me:$LINENO: result: no" >&5
39506 echo "${ECHO_T}no" >&6
39509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39510 if test $GCC_PCH = 1 ; then
39511 cat <<EOF >bk-make-pch
39514 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39515 # script. It is used to generated precompiled headers.
39517 # Permission is given to use this file in any way.
39526 while test \${#} -gt 0; do
39529 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39530 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39531 headerfile="\${incdir}/\${header}"
39535 compiler="\${compiler} \${1}"
39539 if test "x\${headerfile}" = "x" ; then
39540 echo "error: can't find header \${header} in include paths" >2
39542 if test -f \${outfile} ; then
39545 mkdir -p \`dirname \${outfile}\`
39547 depsfile=".deps/\`basename \${outfile}\`.d"
39549 # can do this because gcc is >= 3.4:
39550 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39554 chmod +x bk
-make-pch
39562 COND_BUILD_DEBUG
="#"
39563 if test "x$BUILD" = "xdebug" ; then
39564 COND_BUILD_DEBUG
=""
39567 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
39568 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39569 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
39572 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
39573 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39574 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
39577 COND_BUILD_DEBUG_UNICODE_0
="#"
39578 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39579 COND_BUILD_DEBUG_UNICODE_0
=""
39582 COND_BUILD_DEBUG_UNICODE_1
="#"
39583 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39584 COND_BUILD_DEBUG_UNICODE_1
=""
39587 COND_BUILD_RELEASE
="#"
39588 if test "x$BUILD" = "xrelease" ; then
39589 COND_BUILD_RELEASE
=""
39592 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
39593 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39594 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
39597 COND_BUILD_RELEASE_UNICODE_0
="#"
39598 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39599 COND_BUILD_RELEASE_UNICODE_0
=""
39602 COND_BUILD_RELEASE_UNICODE_1
="#"
39603 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39604 COND_BUILD_RELEASE_UNICODE_1
=""
39607 COND_DEBUG_FLAG_1
="#"
39608 if test "x$DEBUG_FLAG" = "x1" ; then
39609 COND_DEBUG_FLAG_1
=""
39612 COND_DEBUG_INFO_0
="#"
39613 if test "x$DEBUG_INFO" = "x0" ; then
39614 COND_DEBUG_INFO_0
=""
39617 COND_DEBUG_INFO_1
="#"
39618 if test "x$DEBUG_INFO" = "x1" ; then
39619 COND_DEBUG_INFO_1
=""
39622 COND_DEPS_TRACKING_0
="#"
39623 if test "x$DEPS_TRACKING" = "x0" ; then
39624 COND_DEPS_TRACKING_0
=""
39627 COND_DEPS_TRACKING_1
="#"
39628 if test "x$DEPS_TRACKING" = "x1" ; then
39629 COND_DEPS_TRACKING_1
=""
39633 if test "x$GCC_PCH" = "x1" ; then
39637 COND_MONOLITHIC_0
="#"
39638 if test "x$MONOLITHIC" = "x0" ; then
39639 COND_MONOLITHIC_0
=""
39642 COND_MONOLITHIC_0_SHARED_0
="#"
39643 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39644 COND_MONOLITHIC_0_SHARED_0
=""
39647 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
39648 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39649 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
39652 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
39653 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39654 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
39657 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
39658 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39659 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
39662 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
39663 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39664 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
39667 COND_MONOLITHIC_0_SHARED_1
="#"
39668 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39669 COND_MONOLITHIC_0_SHARED_1
=""
39672 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
39673 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39674 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
39677 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
39678 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39679 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
39682 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
39683 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
39684 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
39687 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
39688 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
39689 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
39692 COND_MONOLITHIC_0_USE_ODBC_1
="#"
39693 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
39694 COND_MONOLITHIC_0_USE_ODBC_1
=""
39697 COND_MONOLITHIC_1
="#"
39698 if test "x$MONOLITHIC" = "x1" ; then
39699 COND_MONOLITHIC_1
=""
39702 COND_MONOLITHIC_1_SHARED_0
="#"
39703 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39704 COND_MONOLITHIC_1_SHARED_0
=""
39707 COND_MONOLITHIC_1_SHARED_1
="#"
39708 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39709 COND_MONOLITHIC_1_SHARED_1
=""
39712 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
39713 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39714 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
39717 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
39718 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39719 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
39722 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
39723 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39724 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
39727 COND_PLATFORM_MACOSX_1
="#"
39728 if test "x$PLATFORM_MACOSX" = "x1" ; then
39729 COND_PLATFORM_MACOSX_1
=""
39732 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
39733 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
39734 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
39737 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
39738 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
39739 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
39742 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
39743 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
39744 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
39747 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
39748 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39749 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
39752 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
39753 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39754 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
39757 COND_PLATFORM_MAC_1
="#"
39758 if test "x$PLATFORM_MAC" = "x1" ; then
39759 COND_PLATFORM_MAC_1
=""
39762 COND_PLATFORM_OS2_1
="#"
39763 if test "x$PLATFORM_OS2" = "x1" ; then
39764 COND_PLATFORM_OS2_1
=""
39767 COND_PLATFORM_UNIX_0
="#"
39768 if test "x$PLATFORM_UNIX" = "x0" ; then
39769 COND_PLATFORM_UNIX_0
=""
39772 COND_PLATFORM_UNIX_1
="#"
39773 if test "x$PLATFORM_UNIX" = "x1" ; then
39774 COND_PLATFORM_UNIX_1
=""
39777 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
39778 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
39779 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
39782 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
39783 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
39784 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
39787 COND_PLATFORM_WIN32_0
="#"
39788 if test "x$PLATFORM_WIN32" = "x0" ; then
39789 COND_PLATFORM_WIN32_0
=""
39792 COND_PLATFORM_WIN32_1
="#"
39793 if test "x$PLATFORM_WIN32" = "x1" ; then
39794 COND_PLATFORM_WIN32_1
=""
39798 if test "x$SHARED" = "x0" ; then
39802 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
39803 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39804 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
39807 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
39808 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39809 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
39812 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
39813 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39814 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
39817 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
39818 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39819 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
39822 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
39823 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
39824 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
39827 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
39828 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
39829 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
39832 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
39833 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
39834 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
39837 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
39838 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
39839 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
39843 if test "x$SHARED" = "x1" ; then
39847 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
39848 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39849 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
39852 COND_TOOLKIT_COCOA
="#"
39853 if test "x$TOOLKIT" = "xCOCOA" ; then
39854 COND_TOOLKIT_COCOA
=""
39857 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
39858 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39859 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
39862 COND_TOOLKIT_GTK
="#"
39863 if test "x$TOOLKIT" = "xGTK" ; then
39864 COND_TOOLKIT_GTK
=""
39867 COND_TOOLKIT_GTK_USE_GUI_1
="#"
39868 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
39869 COND_TOOLKIT_GTK_USE_GUI_1
=""
39872 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
39873 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39874 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
39877 COND_TOOLKIT_MAC
="#"
39878 if test "x$TOOLKIT" = "xMAC" ; then
39879 COND_TOOLKIT_MAC
=""
39882 COND_TOOLKIT_MAC_USE_GUI_1
="#"
39883 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
39884 COND_TOOLKIT_MAC_USE_GUI_1
=""
39887 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
39888 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39889 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
39892 COND_TOOLKIT_MAC_WXUNIV_0
="#"
39893 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
39894 COND_TOOLKIT_MAC_WXUNIV_0
=""
39897 COND_TOOLKIT_MGL
="#"
39898 if test "x$TOOLKIT" = "xMGL" ; then
39899 COND_TOOLKIT_MGL
=""
39902 COND_TOOLKIT_MGL_USE_GUI_1
="#"
39903 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
39904 COND_TOOLKIT_MGL_USE_GUI_1
=""
39907 COND_TOOLKIT_MOTIF
="#"
39908 if test "x$TOOLKIT" = "xMOTIF" ; then
39909 COND_TOOLKIT_MOTIF
=""
39912 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
39913 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
39914 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
39917 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
39918 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39919 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
39922 COND_TOOLKIT_MSW
="#"
39923 if test "x$TOOLKIT" = "xMSW" ; then
39924 COND_TOOLKIT_MSW
=""
39927 COND_TOOLKIT_MSW_USE_GUI_1
="#"
39928 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
39929 COND_TOOLKIT_MSW_USE_GUI_1
=""
39932 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
39933 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39934 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
39937 COND_TOOLKIT_MSW_WXUNIV_0
="#"
39938 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
39939 COND_TOOLKIT_MSW_WXUNIV_0
=""
39942 COND_TOOLKIT_PM
="#"
39943 if test "x$TOOLKIT" = "xPM" ; then
39947 COND_TOOLKIT_PM_USE_GUI_1
="#"
39948 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
39949 COND_TOOLKIT_PM_USE_GUI_1
=""
39952 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
39953 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39954 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
39957 COND_TOOLKIT_PM_WXUNIV_0
="#"
39958 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
39959 COND_TOOLKIT_PM_WXUNIV_0
=""
39962 COND_TOOLKIT_WINCE
="#"
39963 if test "x$TOOLKIT" = "xWINCE" ; then
39964 COND_TOOLKIT_WINCE
=""
39967 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
39968 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
39969 COND_TOOLKIT_WINCE_USE_GUI_1
=""
39972 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
39973 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39974 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
39977 COND_TOOLKIT_X11
="#"
39978 if test "x$TOOLKIT" = "xX11" ; then
39979 COND_TOOLKIT_X11
=""
39982 COND_TOOLKIT_X11_USE_GUI_1
="#"
39983 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
39984 COND_TOOLKIT_X11_USE_GUI_1
=""
39988 if test "x$UNICODE" = "x1" ; then
39992 COND_USE_EXCEPTIONS_0
="#"
39993 if test "x$USE_EXCEPTIONS" = "x0" ; then
39994 COND_USE_EXCEPTIONS_0
=""
39997 COND_USE_EXCEPTIONS_1
="#"
39998 if test "x$USE_EXCEPTIONS" = "x1" ; then
39999 COND_USE_EXCEPTIONS_1
=""
40003 if test "x$USE_GUI" = "x0" ; then
40008 if test "x$USE_GUI" = "x1" ; then
40012 COND_USE_GUI_1_WXUNIV_0
="#"
40013 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40014 COND_USE_GUI_1_WXUNIV_0
=""
40017 COND_USE_GUI_1_WXUNIV_1
="#"
40018 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40019 COND_USE_GUI_1_WXUNIV_1
=""
40022 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40023 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40024 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40027 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40028 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40029 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40032 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40033 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40034 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40037 COND_USE_ODBC_1
="#"
40038 if test "x$USE_ODBC" = "x1" ; then
40042 COND_USE_PLUGINS_0
="#"
40043 if test "x$USE_PLUGINS" = "x0" ; then
40044 COND_USE_PLUGINS_0
=""
40047 COND_USE_SOSYMLINKS_1
="#"
40048 if test "x$USE_SOSYMLINKS" = "x1" ; then
40049 COND_USE_SOSYMLINKS_1
=""
40052 COND_USE_SOVERLINUX_1
="#"
40053 if test "x$USE_SOVERLINUX" = "x1" ; then
40054 COND_USE_SOVERLINUX_1
=""
40057 COND_USE_SOVERSION_0
="#"
40058 if test "x$USE_SOVERSION" = "x0" ; then
40059 COND_USE_SOVERSION_0
=""
40062 COND_USE_SOVERSOLARIS_1
="#"
40063 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40064 COND_USE_SOVERSOLARIS_1
=""
40067 COND_WITH_PLUGIN_SDL_1
="#"
40068 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40069 COND_WITH_PLUGIN_SDL_1
=""
40072 COND_WITH_SDL_1
="#"
40073 if test "x$WITH_SDL" = "x1" ; then
40078 if test "x$WXUNIV" = "x1" ; then
40082 COND_WXUSE_EXPAT_BUILTIN
="#"
40083 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40084 COND_WXUSE_EXPAT_BUILTIN
=""
40087 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40088 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40089 COND_WXUSE_LIBJPEG_BUILTIN
=""
40092 COND_WXUSE_LIBPNG_BUILTIN
="#"
40093 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40094 COND_WXUSE_LIBPNG_BUILTIN
=""
40097 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40098 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40099 COND_WXUSE_LIBTIFF_BUILTIN
=""
40102 COND_WXUSE_ODBC_BUILTIN
="#"
40103 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40104 COND_WXUSE_ODBC_BUILTIN
=""
40107 COND_WXUSE_REGEX_BUILTIN
="#"
40108 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40109 COND_WXUSE_REGEX_BUILTIN
=""
40112 COND_WXUSE_ZLIB_BUILTIN
="#"
40113 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40114 COND_WXUSE_ZLIB_BUILTIN
=""
40117 COND_BUILD_DEBUG
="#"
40118 if test "x$BUILD" = "xdebug" ; then
40119 COND_BUILD_DEBUG
=""
40122 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40123 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40124 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40127 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40128 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40129 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40132 COND_BUILD_DEBUG_UNICODE_0
="#"
40133 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40134 COND_BUILD_DEBUG_UNICODE_0
=""
40137 COND_BUILD_DEBUG_UNICODE_1
="#"
40138 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40139 COND_BUILD_DEBUG_UNICODE_1
=""
40142 COND_BUILD_RELEASE
="#"
40143 if test "x$BUILD" = "xrelease" ; then
40144 COND_BUILD_RELEASE
=""
40147 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40148 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40149 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40152 COND_BUILD_RELEASE_UNICODE_0
="#"
40153 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40154 COND_BUILD_RELEASE_UNICODE_0
=""
40157 COND_BUILD_RELEASE_UNICODE_1
="#"
40158 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40159 COND_BUILD_RELEASE_UNICODE_1
=""
40162 COND_DEBUG_FLAG_1
="#"
40163 if test "x$DEBUG_FLAG" = "x1" ; then
40164 COND_DEBUG_FLAG_1
=""
40167 COND_DEBUG_INFO_0
="#"
40168 if test "x$DEBUG_INFO" = "x0" ; then
40169 COND_DEBUG_INFO_0
=""
40172 COND_DEBUG_INFO_1
="#"
40173 if test "x$DEBUG_INFO" = "x1" ; then
40174 COND_DEBUG_INFO_1
=""
40177 COND_DEPS_TRACKING_0
="#"
40178 if test "x$DEPS_TRACKING" = "x0" ; then
40179 COND_DEPS_TRACKING_0
=""
40182 COND_DEPS_TRACKING_1
="#"
40183 if test "x$DEPS_TRACKING" = "x1" ; then
40184 COND_DEPS_TRACKING_1
=""
40188 if test "x$GCC_PCH" = "x1" ; then
40192 COND_MONOLITHIC_0
="#"
40193 if test "x$MONOLITHIC" = "x0" ; then
40194 COND_MONOLITHIC_0
=""
40197 COND_MONOLITHIC_0_SHARED_0
="#"
40198 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40199 COND_MONOLITHIC_0_SHARED_0
=""
40202 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40203 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40204 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40207 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40208 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40209 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40212 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
40213 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40214 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
40217 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40218 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40219 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40222 COND_MONOLITHIC_0_SHARED_1
="#"
40223 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40224 COND_MONOLITHIC_0_SHARED_1
=""
40227 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40228 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40229 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40232 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40233 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40234 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40237 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
40238 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40239 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
40242 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40243 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40244 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40247 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40248 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40249 COND_MONOLITHIC_0_USE_ODBC_1
=""
40252 COND_MONOLITHIC_1
="#"
40253 if test "x$MONOLITHIC" = "x1" ; then
40254 COND_MONOLITHIC_1
=""
40257 COND_MONOLITHIC_1_SHARED_0
="#"
40258 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40259 COND_MONOLITHIC_1_SHARED_0
=""
40262 COND_MONOLITHIC_1_SHARED_1
="#"
40263 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40264 COND_MONOLITHIC_1_SHARED_1
=""
40267 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40268 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40269 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40272 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40273 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40274 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40277 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40278 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40279 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40282 COND_PLATFORM_MACOSX_1
="#"
40283 if test "x$PLATFORM_MACOSX" = "x1" ; then
40284 COND_PLATFORM_MACOSX_1
=""
40287 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40288 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40289 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40292 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40293 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40294 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40297 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40298 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40299 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40302 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40303 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40304 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40307 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40308 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40309 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40312 COND_PLATFORM_MAC_1
="#"
40313 if test "x$PLATFORM_MAC" = "x1" ; then
40314 COND_PLATFORM_MAC_1
=""
40317 COND_PLATFORM_OS2_1
="#"
40318 if test "x$PLATFORM_OS2" = "x1" ; then
40319 COND_PLATFORM_OS2_1
=""
40322 COND_PLATFORM_UNIX_0
="#"
40323 if test "x$PLATFORM_UNIX" = "x0" ; then
40324 COND_PLATFORM_UNIX_0
=""
40327 COND_PLATFORM_UNIX_1
="#"
40328 if test "x$PLATFORM_UNIX" = "x1" ; then
40329 COND_PLATFORM_UNIX_1
=""
40332 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40333 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40334 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40337 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40338 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40339 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40342 COND_PLATFORM_WIN32_0
="#"
40343 if test "x$PLATFORM_WIN32" = "x0" ; then
40344 COND_PLATFORM_WIN32_0
=""
40347 COND_PLATFORM_WIN32_1
="#"
40348 if test "x$PLATFORM_WIN32" = "x1" ; then
40349 COND_PLATFORM_WIN32_1
=""
40353 if test "x$SHARED" = "x0" ; then
40357 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40358 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40359 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40362 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40363 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40364 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40367 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40368 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40369 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40372 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40373 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40374 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40377 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40378 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40379 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40382 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40383 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40384 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40387 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40388 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40389 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40392 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40393 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40394 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40398 if test "x$SHARED" = "x1" ; then
40402 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40403 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40404 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40407 COND_TOOLKIT_COCOA
="#"
40408 if test "x$TOOLKIT" = "xCOCOA" ; then
40409 COND_TOOLKIT_COCOA
=""
40412 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40413 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40414 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40417 COND_TOOLKIT_GTK
="#"
40418 if test "x$TOOLKIT" = "xGTK" ; then
40419 COND_TOOLKIT_GTK
=""
40422 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40423 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40424 COND_TOOLKIT_GTK_USE_GUI_1
=""
40427 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40428 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40429 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40432 COND_TOOLKIT_MAC
="#"
40433 if test "x$TOOLKIT" = "xMAC" ; then
40434 COND_TOOLKIT_MAC
=""
40437 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40438 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40439 COND_TOOLKIT_MAC_USE_GUI_1
=""
40442 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40443 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40444 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40447 COND_TOOLKIT_MGL
="#"
40448 if test "x$TOOLKIT" = "xMGL" ; then
40449 COND_TOOLKIT_MGL
=""
40452 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40453 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40454 COND_TOOLKIT_MGL_USE_GUI_1
=""
40457 COND_TOOLKIT_MOTIF
="#"
40458 if test "x$TOOLKIT" = "xMOTIF" ; then
40459 COND_TOOLKIT_MOTIF
=""
40462 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40463 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40464 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40467 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40468 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40469 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40472 COND_TOOLKIT_MSW
="#"
40473 if test "x$TOOLKIT" = "xMSW" ; then
40474 COND_TOOLKIT_MSW
=""
40477 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40478 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40479 COND_TOOLKIT_MSW_USE_GUI_1
=""
40482 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40483 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40484 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40487 COND_TOOLKIT_PM
="#"
40488 if test "x$TOOLKIT" = "xPM" ; then
40492 COND_TOOLKIT_PM_USE_GUI_1
="#"
40493 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40494 COND_TOOLKIT_PM_USE_GUI_1
=""
40497 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40498 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40499 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40502 COND_TOOLKIT_WINCE
="#"
40503 if test "x$TOOLKIT" = "xWINCE" ; then
40504 COND_TOOLKIT_WINCE
=""
40507 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40508 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40509 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40512 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40513 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40514 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40517 COND_TOOLKIT_X11
="#"
40518 if test "x$TOOLKIT" = "xX11" ; then
40519 COND_TOOLKIT_X11
=""
40522 COND_TOOLKIT_X11_USE_GUI_1
="#"
40523 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40524 COND_TOOLKIT_X11_USE_GUI_1
=""
40528 if test "x$UNICODE" = "x1" ; then
40532 COND_USE_EXCEPTIONS_0
="#"
40533 if test "x$USE_EXCEPTIONS" = "x0" ; then
40534 COND_USE_EXCEPTIONS_0
=""
40537 COND_USE_EXCEPTIONS_1
="#"
40538 if test "x$USE_EXCEPTIONS" = "x1" ; then
40539 COND_USE_EXCEPTIONS_1
=""
40543 if test "x$USE_GUI" = "x0" ; then
40548 if test "x$USE_GUI" = "x1" ; then
40552 COND_USE_GUI_1_WXUNIV_0
="#"
40553 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40554 COND_USE_GUI_1_WXUNIV_0
=""
40557 COND_USE_GUI_1_WXUNIV_1
="#"
40558 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40559 COND_USE_GUI_1_WXUNIV_1
=""
40562 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40563 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40564 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40567 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40568 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40569 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40572 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40573 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40574 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40577 COND_USE_ODBC_1
="#"
40578 if test "x$USE_ODBC" = "x1" ; then
40582 COND_USE_PLUGINS_0
="#"
40583 if test "x$USE_PLUGINS" = "x0" ; then
40584 COND_USE_PLUGINS_0
=""
40587 COND_USE_SOSYMLINKS_1
="#"
40588 if test "x$USE_SOSYMLINKS" = "x1" ; then
40589 COND_USE_SOSYMLINKS_1
=""
40592 COND_USE_SOVERLINUX_1
="#"
40593 if test "x$USE_SOVERLINUX" = "x1" ; then
40594 COND_USE_SOVERLINUX_1
=""
40597 COND_USE_SOVERSION_0
="#"
40598 if test "x$USE_SOVERSION" = "x0" ; then
40599 COND_USE_SOVERSION_0
=""
40602 COND_USE_SOVERSOLARIS_1
="#"
40603 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40604 COND_USE_SOVERSOLARIS_1
=""
40607 COND_WITH_PLUGIN_SDL_1
="#"
40608 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40609 COND_WITH_PLUGIN_SDL_1
=""
40613 if test "x$WXUNIV" = "x1" ; then
40617 COND_WXUSE_EXPAT_BUILTIN
="#"
40618 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40619 COND_WXUSE_EXPAT_BUILTIN
=""
40622 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40623 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40624 COND_WXUSE_LIBJPEG_BUILTIN
=""
40627 COND_WXUSE_LIBPNG_BUILTIN
="#"
40628 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40629 COND_WXUSE_LIBPNG_BUILTIN
=""
40632 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40633 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40634 COND_WXUSE_LIBTIFF_BUILTIN
=""
40637 COND_WXUSE_ODBC_BUILTIN
="#"
40638 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40639 COND_WXUSE_ODBC_BUILTIN
=""
40642 COND_WXUSE_REGEX_BUILTIN
="#"
40643 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40644 COND_WXUSE_REGEX_BUILTIN
=""
40647 COND_WXUSE_ZLIB_BUILTIN
="#"
40648 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40649 COND_WXUSE_ZLIB_BUILTIN
=""
40656 GCC_PRAGMA_FLAGS
=""
40657 if test $GCC_PCH = 1 ; then
40658 GCC_PRAGMA_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA"
40661 powerpc
-*-darwin* )
40662 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
40665 if test "$wxUSE_STL" = "yes" -o \
40666 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
40667 "$wxUSE_NO_RTTI" != "yes"; then
40668 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
40669 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
40670 cat >conftest.
$ac_ext <<_ACEOF
40673 cat confdefs.h
>>conftest.
$ac_ext
40674 cat >>conftest.
$ac_ext <<_ACEOF
40675 /* end confdefs.h. */
40680 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
40681 #error "Not GCC 3.2 or greater"
40688 rm -f conftest.
$ac_objext
40689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40690 (eval $ac_compile) 2>conftest.er1
40692 grep -v '^ *+' conftest.er1
>conftest.err
40694 cat conftest.err
>&5
40695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40696 (exit $ac_status); } &&
40697 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40699 (eval $ac_try) 2>&5
40701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40702 (exit $ac_status); }; } &&
40703 { ac_try
='test -s conftest.$ac_objext'
40704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40705 (eval $ac_try) 2>&5
40707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40708 (exit $ac_status); }; }; then
40709 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
40710 echo "$as_me:$LINENO: result: yes" >&5
40711 echo "${ECHO_T}yes" >&6
40713 echo "$as_me: failed program was:" >&5
40714 sed 's/^/| /' conftest.
$ac_ext >&5
40716 echo "$as_me:$LINENO: result: no" >&5
40717 echo "${ECHO_T}no" >&6
40719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40724 CPPFLAGS
="$GCC_PRAGMA_FLAGS $CPPFLAGS"
40727 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
40830 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40831 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
40832 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
40833 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
40834 echo $ECHO_N "(cached) $ECHO_C" >&6
40836 cat >conftest.
make <<\_ACEOF
40838 @
echo 'ac_maketemp="$(MAKE)"'
40840 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40841 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
40842 if test -n "$ac_maketemp"; then
40843 eval ac_cv_prog_make_
${ac_make}_set
=yes
40845 eval ac_cv_prog_make_
${ac_make}_set
=no
40847 rm -f conftest.
make
40849 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
40850 echo "$as_me:$LINENO: result: yes" >&5
40851 echo "${ECHO_T}yes" >&6
40854 echo "$as_me:$LINENO: result: no" >&5
40855 echo "${ECHO_T}no" >&6
40856 SET_MAKE
="MAKE=${MAKE-make}"
40860 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
40861 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
40864 ac_config_headers
="$ac_config_headers setup.h"
40867 ac_config_files
="$ac_config_files wx-config wx-config-wrapper version-script Makefile"
40870 ac_config_commands
="$ac_config_commands default"
40874 if test "$wxUSE_GUI" = "yes"; then
40875 SUBDIRS
="samples demos utils contrib"
40876 else SUBDIRS
="samples utils"
40881 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
40882 if test "${with_cppunit_prefix+set}" = set; then
40883 withval
="$with_cppunit_prefix"
40884 cppunit_config_prefix
="$withval"
40886 cppunit_config_prefix
=""
40889 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
40890 if test "${with_cppunit_exec_prefix+set}" = set; then
40891 withval
="$with_cppunit_exec_prefix"
40892 cppunit_config_exec_prefix
="$withval"
40894 cppunit_config_exec_prefix
=""
40897 if test x
$cppunit_config_exec_prefix != x
; then
40898 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
40899 if test x
${CPPUNIT_CONFIG+set} != xset
; then
40900 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
40903 if test x
$cppunit_config_prefix != x
; then
40904 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
40905 if test x
${CPPUNIT_CONFIG+set} != xset
; then
40906 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
40910 # Extract the first word of "cppunit-config", so it can be a program name with args.
40911 set dummy cppunit
-config; ac_word
=$2
40912 echo "$as_me:$LINENO: checking for $ac_word" >&5
40913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40914 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
40915 echo $ECHO_N "(cached) $ECHO_C" >&6
40917 case $CPPUNIT_CONFIG in
40919 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
40922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40923 for as_dir
in $PATH
40926 test -z "$as_dir" && as_dir
=.
40927 for ac_exec_ext
in '' $ac_executable_extensions; do
40928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40929 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40936 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
40940 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
40942 if test -n "$CPPUNIT_CONFIG"; then
40943 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
40944 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
40946 echo "$as_me:$LINENO: result: no" >&5
40947 echo "${ECHO_T}no" >&6
40950 cppunit_version_min
=1.8.0
40952 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
40953 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
40955 if test "$CPPUNIT_CONFIG" = "no" ; then
40957 echo "$as_me:$LINENO: result: no" >&5
40958 echo "${ECHO_T}no" >&6
40960 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
40961 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
40962 cppunit_version
=`$CPPUNIT_CONFIG --version`
40964 cppunit_major_version
=`echo $cppunit_version | \
40965 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40966 cppunit_minor_version
=`echo $cppunit_version | \
40967 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40968 cppunit_micro_version
=`echo $cppunit_version | \
40969 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40971 cppunit_major_min
=`echo $cppunit_version_min | \
40972 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40973 cppunit_minor_min
=`echo $cppunit_version_min | \
40974 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40975 cppunit_micro_min
=`echo $cppunit_version_min | \
40976 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40978 cppunit_version_proper
=`expr \
40979 $cppunit_major_version \> $cppunit_major_min \| \
40980 $cppunit_major_version \= $cppunit_major_min \& \
40981 $cppunit_minor_version \> $cppunit_minor_min \| \
40982 $cppunit_major_version \= $cppunit_major_min \& \
40983 $cppunit_minor_version \= $cppunit_minor_min \& \
40984 $cppunit_micro_version \>= $cppunit_micro_min `
40986 if test "$cppunit_version_proper" = "1" ; then
40987 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
40988 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
40990 echo "$as_me:$LINENO: result: no" >&5
40991 echo "${ECHO_T}no" >&6
40996 if test "x$no_cppunit" = x
; then
40997 SUBDIRS
="$SUBDIRS tests"
41008 for subdir
in `echo $SUBDIRS`; do
41009 if test -d ${srcdir}/${subdir} ; then
41010 if test "$wxUSE_GUI" = "yes"; then
41011 if test ${subdir} = "samples"; then
41012 makefiles
="samples/Makefile.in $makefiles"
41013 for sample
in `echo $SAMPLES_SUBDIRS`; do
41014 if test -d $srcdir/samples
/$sample; then
41015 makefiles
="samples/$sample/Makefile.in $makefiles"
41018 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41020 else if test ${subdir} = "samples"; then
41021 makefiles
="samples/Makefile.in samples/console/Makefile.in"
41022 elif test ${subdir} = "utils"; then
41023 makefiles
="utils/HelpGen/Makefile.in \
41024 utils/HelpGen/src/Makefile.in \
41025 utils/tex2rtf/Makefile.in \
41026 utils/tex2rtf/src/Makefile.in"
41027 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41031 for mkin
in $makefiles ; do
41032 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41033 ac_config_files
="$ac_config_files $mk"
41040 cat >confcache
<<\_ACEOF
41041 # This file is a shell script that caches the results of configure
41042 # tests run on this system so they can be shared between configure
41043 # scripts and configure runs, see configure's option --config-cache.
41044 # It is not useful on other systems. If it contains results you don't
41045 # want to keep, you may remove or edit it.
41047 # config.status only pays attention to the cache file if you give it
41048 # the --recheck option to rerun configure.
41050 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41051 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41052 # following values.
41056 # The following way of writing the cache mishandles newlines in values,
41057 # but we know of no workaround that is simple, portable, and efficient.
41058 # So, don't put newlines in cache variables' values.
41059 # Ultrix sh set writes to stderr and can't be redirected directly,
41060 # and sets the high bit in the cache file unless we assign to the vars.
41063 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41065 # `set' does not quote correctly, so add quotes (double-quote
41066 # substitution turns \\\\ into \\, and sed turns \\ into \).
41069 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41072 # `set' quotes correctly as required by POSIX, so do not add quotes.
41074 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41081 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41083 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41085 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
41086 if test -w $cache_file; then
41087 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41088 cat confcache
>$cache_file
41090 echo "not updating unwritable cache $cache_file"
41095 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41096 # Let make expand exec_prefix.
41097 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41099 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41100 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41101 # trailing colons and then remove the whole line if VPATH becomes empty
41102 # (actually we leave an empty line to preserve line numbers).
41103 if test "x$srcdir" = x.
; then
41104 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
41105 s/:*\$(srcdir):*/:/;
41106 s/:*\${srcdir}:*/:/;
41108 s/^\([^=]*=[ ]*\):*/\1/;
41114 DEFS
=-DHAVE_CONFIG_H
41118 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41119 # 1. Remove the extension, and $U if already installed.
41120 ac_i
=`echo "$ac_i" |
41121 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41123 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
41124 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
41126 LIBOBJS
=$ac_libobjs
41128 LTLIBOBJS
=$ac_ltlibobjs
41132 : ${CONFIG_STATUS=./config.status}
41133 ac_clean_files_save
=$ac_clean_files
41134 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41135 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41136 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41137 cat >$CONFIG_STATUS <<_ACEOF
41139 # Generated by $as_me.
41140 # Run this file to recreate the current configuration.
41141 # Compiler output produced by configure, useful for debugging
41142 # configure, is in config.log if it exists.
41145 ac_cs_recheck=false
41147 SHELL=\${CONFIG_SHELL-$SHELL}
41150 cat >>$CONFIG_STATUS <<\_ACEOF
41151 ## --------------------- ##
41152 ## M4sh Initialization. ##
41153 ## --------------------- ##
41155 # Be Bourne compatible
41156 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
41159 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41160 # is contrary to our usage. Disable this feature.
41161 alias -g '${1+"$@"}'='"$@"'
41162 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
41165 DUALCASE
=1; export DUALCASE
# for MKS sh
41167 # Support unset when possible.
41168 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
41175 # Work around bugs in pre-3.0 UWIN ksh.
41176 $as_unset ENV MAIL MAILPATH
41183 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41184 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41185 LC_TELEPHONE LC_TIME
41187 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41188 eval $as_var=C
; export $as_var
41194 # Required to use basename.
41195 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41201 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
41202 as_basename
=basename
41208 # Name of the executable.
41209 as_me
=`$as_basename "$0" ||
41210 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41211 X"$0" : 'X\(//\)$' \| \
41212 X"$0" : 'X\(/\)$' \| \
41213 . : '\(.\)' 2>/dev/null ||
41215 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
41216 /^X\/\(\/\/\)$/{ s//\1/; q; }
41217 /^X\/\(\/\).*/{ s//\1/; q; }
41221 # PATH needs CR, and LINENO needs CR and PATH.
41222 # Avoid depending upon Character Ranges.
41223 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41224 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41225 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41226 as_cr_digits
='0123456789'
41227 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41229 # The user is always right.
41230 if test "${PATH_SEPARATOR+set}" != set; then
41231 echo "#! /bin/sh" >conf$$.sh
41232 echo "exit 0" >>conf$$.sh
41234 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
41243 as_lineno_1
=$LINENO
41244 as_lineno_2
=$LINENO
41245 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
41246 test "x$as_lineno_1" != "x$as_lineno_2" &&
41247 test "x$as_lineno_3" = "x$as_lineno_2" || {
41248 # Find who we are. Look in the path if we contain no path at all
41251 *[\\/]* ) as_myself
=$0 ;;
41252 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41253 for as_dir
in $PATH
41256 test -z "$as_dir" && as_dir
=.
41257 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
41262 # We did not find ourselves, most probably we were run as `sh COMMAND'
41263 # in which case we are not to be found in the path.
41264 if test "x$as_myself" = x
; then
41267 if test ! -f "$as_myself"; then
41268 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
41269 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
41270 { (exit 1); exit 1; }; }
41272 case $CONFIG_SHELL in
41274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41275 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
41278 test -z "$as_dir" && as_dir
=.
41279 for as_base
in sh bash ksh sh5
; do
41282 if ("$as_dir/$as_base" -c '
41283 as_lineno_1=$LINENO
41284 as_lineno_2=$LINENO
41285 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41286 test "x$as_lineno_1" != "x$as_lineno_2" &&
41287 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
41288 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
41289 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
41290 CONFIG_SHELL
=$as_dir/$as_base
41291 export CONFIG_SHELL
41292 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
41300 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41301 # uniformly replaced by the line number. The first 'sed' inserts a
41302 # line-number line before each line; the second 'sed' does the real
41303 # work. The second script uses 'N' to pair each line-number line
41304 # with the numbered line, and appends trailing '-' during
41305 # substitution so that $LINENO is not a special case at line end.
41306 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41307 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
41308 sed '=' <$as_myself |
41313 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
41316 s,^['$as_cr_digits']*\n,,
41317 ' >$as_me.lineno
&&
41318 chmod +x
$as_me.lineno
||
41319 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
41320 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
41321 { (exit 1); exit 1; }; }
41323 # Don't try to exec as it changes $[0], causing all sort of problems
41324 # (the dirname of $[0] is not the place where we might find the
41325 # original and so on. Autoconf is especially sensible to this).
41327 # Exit status is that of the last command.
41332 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
41333 *c
*,-n*) ECHO_N
= ECHO_C
='
41335 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
41336 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
41339 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41345 rm -f conf$$ conf$$.exe conf$$.
file
41347 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
41348 # We could just check for DJGPP; but this test a) works b) is more generic
41349 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
41350 if test -f conf$$.exe
; then
41351 # Don't use ln at all; we don't have any links
41356 elif ln conf$$.
file conf$$
2>/dev
/null
; then
41361 rm -f conf$$ conf$$.exe conf$$.
file
41363 if mkdir -p .
2>/dev
/null
; then
41366 test -d .
/-p && rmdir .
/-p
41370 as_executable_p
="test -f"
41372 # Sed expression to map a string onto a valid CPP name.
41373 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41375 # Sed expression to map a string onto a valid variable name.
41376 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41380 # We need space, tab and new line, in precisely that order.
41390 # Open the log real soon, to keep \$[0] and so on meaningful, and to
41391 # report actual input values of CONFIG_FILES etc. instead of their
41392 # values after options handling. Logging --version etc. is OK.
41396 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41397 ## Running $as_me. ##
41402 This file was extended by wxWidgets $as_me 2.5.2, which was
41403 generated by GNU Autoconf 2.59. Invocation command line was
41405 CONFIG_FILES = $CONFIG_FILES
41406 CONFIG_HEADERS = $CONFIG_HEADERS
41407 CONFIG_LINKS = $CONFIG_LINKS
41408 CONFIG_COMMANDS = $CONFIG_COMMANDS
41412 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
41416 # Files that config.status was made for.
41417 if test -n "$ac_config_files"; then
41418 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
41421 if test -n "$ac_config_headers"; then
41422 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
41425 if test -n "$ac_config_links"; then
41426 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
41429 if test -n "$ac_config_commands"; then
41430 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
41433 cat >>$CONFIG_STATUS <<\_ACEOF
41436 \`$as_me' instantiates files from templates according to the
41437 current configuration.
41439 Usage: $0 [OPTIONS] [FILE]...
41441 -h, --help print this help, then exit
41442 -V, --version print version number, then exit
41443 -q, --quiet do not print progress messages
41444 -d, --debug don't remove temporary files
41445 --recheck update $as_me by reconfiguring in the same conditions
41446 --file=FILE[:TEMPLATE]
41447 instantiate the configuration file FILE
41448 --header=FILE[:TEMPLATE]
41449 instantiate the configuration header FILE
41451 Configuration files:
41454 Configuration headers:
41457 Configuration commands:
41460 Report bugs to <bug-autoconf@gnu.org>."
41463 cat >>$CONFIG_STATUS <<_ACEOF
41465 wxWidgets config.status 2.5.2
41466 configured by $0, generated by GNU Autoconf 2.59,
41467 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
41469 Copyright (C) 2003 Free Software Foundation, Inc.
41470 This config.status script is free software; the Free Software Foundation
41471 gives unlimited permission to copy, distribute and modify it."
41476 cat >>$CONFIG_STATUS <<\_ACEOF
41477 # If no file are specified by the user, then we need to provide default
41478 # value. By we need to know if files were specified by the user.
41484 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
41485 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
41493 *) # This is not an option, so the user has probably given explicit
41496 ac_need_defaults
=false
;;
41500 # Handling of the options.
41502 cat >>$CONFIG_STATUS <<\_ACEOF
41503 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41505 --version | --vers* | -V )
41506 echo "$ac_cs_version"; exit 0 ;;
41508 # Conflict between --help and --header
41509 { { echo "$as_me:$LINENO: error: ambiguous option: $1
41510 Try \`$0 --help' for more information." >&5
41511 echo "$as_me: error: ambiguous option: $1
41512 Try \`$0 --help' for more information." >&2;}
41513 { (exit 1); exit 1; }; };;
41514 --help | --hel | -h )
41515 echo "$ac_cs_usage"; exit 0 ;;
41516 --debug | --d* | -d )
41518 --file | --fil | --fi | --f )
41520 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
41521 ac_need_defaults
=false
;;
41522 --header | --heade | --head | --hea )
41524 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
41525 ac_need_defaults
=false
;;
41526 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41527 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41530 # This is an error.
41531 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
41532 Try \`$0 --help' for more information." >&5
41533 echo "$as_me: error: unrecognized option: $1
41534 Try \`$0 --help' for more information." >&2;}
41535 { (exit 1); exit 1; }; } ;;
41537 *) ac_config_targets
="$ac_config_targets $1" ;;
41543 ac_configure_extra_args
=
41545 if $ac_cs_silent; then
41547 ac_configure_extra_args
="$ac_configure_extra_args --silent"
41551 cat >>$CONFIG_STATUS <<_ACEOF
41552 if \$ac_cs_recheck; then
41553 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
41554 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41559 cat >>$CONFIG_STATUS <<_ACEOF
41561 # INIT-COMMANDS section.
41565 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
41566 WXCONFIG_DATA_FILE="${WXCONFIG_DATA_FILE}"
41575 cat >>$CONFIG_STATUS <<\_ACEOF
41576 for ac_config_target
in $ac_config_targets
41578 case "$ac_config_target" in
41579 # Handling of arguments.
41580 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
41581 "wx-config-wrapper" ) CONFIG_FILES
="$CONFIG_FILES wx-config-wrapper" ;;
41582 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
41583 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
41584 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
41585 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
41586 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
41587 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
41588 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
41589 { (exit 1); exit 1; }; };;
41593 # If the user did not use the arguments to specify the items to instantiate,
41594 # then the envvar interface is used. Set only those that are not.
41595 # We use the long form for the default assignment because of an extremely
41596 # bizarre bug on SunOS 4.1.3.
41597 if $ac_need_defaults; then
41598 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
41599 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
41600 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
41603 # Have a temporary directory for convenience. Make it in the build tree
41604 # simply because there is no reason to put it here, and in addition,
41605 # creating and moving files from /tmp can sometimes cause problems.
41606 # Create a temporary directory, and hook for its removal unless debugging.
41609 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
41610 trap '{ (exit 1); exit 1; }' 1 2 13 15
41613 # Create a (secure) tmp directory for tmp files.
41616 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
41617 test -n "$tmp" && test -d "$tmp"
41620 tmp
=.
/confstat$$
-$RANDOM
41621 (umask 077 && mkdir $tmp)
41624 echo "$me: cannot create a temporary directory in ." >&2
41625 { (exit 1); exit 1; }
41630 cat >>$CONFIG_STATUS <<_ACEOF
41633 # CONFIG_FILES section.
41636 # No need to generate the scripts if there are no CONFIG_FILES.
41637 # This happens for instance when ./config.status config.h
41638 if test -n "\$CONFIG_FILES"; then
41639 # Protect against being on the right side of a sed subst in config.status.
41640 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
41641 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
41642 s,@SHELL@,$SHELL,;t t
41643 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
41644 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
41645 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
41646 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
41647 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
41648 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
41649 s,@exec_prefix@,$exec_prefix,;t t
41650 s,@prefix@,$prefix,;t t
41651 s,@program_transform_name@,$program_transform_name,;t t
41652 s,@bindir@,$bindir,;t t
41653 s,@sbindir@,$sbindir,;t t
41654 s,@libexecdir@,$libexecdir,;t t
41655 s,@datadir@,$datadir,;t t
41656 s,@sysconfdir@,$sysconfdir,;t t
41657 s,@sharedstatedir@,$sharedstatedir,;t t
41658 s,@localstatedir@,$localstatedir,;t t
41659 s,@libdir@,$libdir,;t t
41660 s,@includedir@,$includedir,;t t
41661 s,@oldincludedir@,$oldincludedir,;t t
41662 s,@infodir@,$infodir,;t t
41663 s,@mandir@,$mandir,;t t
41664 s,@build_alias@,$build_alias,;t t
41665 s,@host_alias@,$host_alias,;t t
41666 s,@target_alias@,$target_alias,;t t
41667 s,@DEFS@,$DEFS,;t t
41668 s,@ECHO_C@,$ECHO_C,;t t
41669 s,@ECHO_N@,$ECHO_N,;t t
41670 s,@ECHO_T@,$ECHO_T,;t t
41671 s,@LIBS@,$LIBS,;t t
41672 s,@build@,$build,;t t
41673 s,@build_cpu@,$build_cpu,;t t
41674 s,@build_vendor@,$build_vendor,;t t
41675 s,@build_os@,$build_os,;t t
41676 s,@host@,$host,;t t
41677 s,@host_cpu@,$host_cpu,;t t
41678 s,@host_vendor@,$host_vendor,;t t
41679 s,@host_os@,$host_os,;t t
41680 s,@target@,$target,;t t
41681 s,@target_cpu@,$target_cpu,;t t
41682 s,@target_vendor@,$target_vendor,;t t
41683 s,@target_os@,$target_os,;t t
41685 s,@CFLAGS@,$CFLAGS,;t t
41686 s,@LDFLAGS@,$LDFLAGS,;t t
41687 s,@CPPFLAGS@,$CPPFLAGS,;t t
41688 s,@ac_ct_CC@,$ac_ct_CC,;t t
41689 s,@EXEEXT@,$EXEEXT,;t t
41690 s,@OBJEXT@,$OBJEXT,;t t
41692 s,@EGREP@,$EGREP,;t t
41694 s,@CXXFLAGS@,$CXXFLAGS,;t t
41695 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
41696 s,@RANLIB@,$RANLIB,;t t
41697 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
41699 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
41700 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
41701 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
41702 s,@STRIP@,$STRIP,;t t
41703 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
41704 s,@LN_S@,$LN_S,;t t
41705 s,@CXXCPP@,$CXXCPP,;t t
41706 s,@subdirs@,$subdirs,;t t
41707 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
41708 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
41709 s,@GTK_LIBS@,$GTK_LIBS,;t t
41710 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
41711 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
41712 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
41713 s,@X_CFLAGS@,$X_CFLAGS,;t t
41714 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
41715 s,@X_LIBS@,$X_LIBS,;t t
41716 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
41717 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
41718 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
41719 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
41720 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
41721 s,@RESCOMP@,$RESCOMP,;t t
41722 s,@DEREZ@,$DEREZ,;t t
41723 s,@SETFILE@,$SETFILE,;t t
41724 s,@LIBICONV@,$LIBICONV,;t t
41725 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
41726 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
41727 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
41728 s,@SDL_LIBS@,$SDL_LIBS,;t t
41729 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
41730 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
41731 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
41732 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
41733 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
41734 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
41735 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
41736 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
41737 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
41738 s,@VENDOR@,$VENDOR,;t t
41739 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
41740 s,@WXUNIV@,$WXUNIV,;t t
41741 s,@MONOLITHIC@,$MONOLITHIC,;t t
41742 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
41743 s,@EXTRALIBS@,$EXTRALIBS,;t t
41744 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
41745 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
41746 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
41747 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
41748 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
41749 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
41750 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
41751 s,@UNICODE@,$UNICODE,;t t
41752 s,@BUILD@,$BUILD,;t t
41753 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
41754 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
41755 s,@SHARED@,$SHARED,;t t
41756 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
41757 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
41758 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
41759 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
41760 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
41761 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
41762 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
41763 s,@SET_MAKE@,$SET_MAKE,;t t
41764 s,@MAKE_SET@,$MAKE_SET,;t t
41765 s,@ac_ct_AR@,$ac_ct_AR,;t t
41766 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
41768 s,@ac_ct_NM@,$ac_ct_NM,;t t
41769 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
41770 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
41771 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
41772 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
41773 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
41774 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
41775 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
41776 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
41777 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
41778 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
41779 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
41780 s,@LIBPREFIX@,$LIBPREFIX,;t t
41781 s,@LIBEXT@,$LIBEXT,;t t
41782 s,@DLLPREFIX@,$DLLPREFIX,;t t
41783 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
41784 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
41785 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
41786 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
41787 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
41788 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
41789 s,@PIC_FLAG@,$PIC_FLAG,;t t
41790 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
41791 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
41792 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
41793 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
41794 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
41795 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
41796 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
41797 s,@GCC_PCH@,$GCC_PCH,;t t
41798 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
41799 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
41800 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
41801 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
41802 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
41803 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
41804 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
41805 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
41806 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
41807 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
41808 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
41809 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
41810 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
41811 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
41812 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
41813 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
41814 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
41815 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
41816 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
41817 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
41818 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
41819 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
41820 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
41821 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
41822 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
41823 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
41824 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
41825 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
41826 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
41827 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
41828 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
41829 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
41830 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
41831 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
41832 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
41833 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
41834 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
41835 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
41836 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
41837 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
41838 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
41839 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
41840 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
41841 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
41842 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
41843 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
41844 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
41845 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
41846 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
41847 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
41848 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
41849 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
41850 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
41851 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
41852 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
41853 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
41854 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
41855 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
41856 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
41857 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
41858 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
41859 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
41860 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
41861 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
41862 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
41863 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
41864 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
41865 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
41866 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
41867 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
41868 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
41869 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
41870 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
41871 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
41872 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
41873 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
41874 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
41875 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
41876 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
41877 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
41878 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
41879 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
41880 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
41881 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
41882 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
41883 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
41884 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
41885 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
41886 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
41887 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
41888 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
41889 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
41890 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
41891 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
41892 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
41893 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
41894 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
41895 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
41896 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
41897 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
41898 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
41899 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
41900 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
41901 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
41902 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
41903 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
41904 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
41905 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
41906 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
41907 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
41908 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
41909 s,@PATH_IFS@,$PATH_IFS,;t t
41910 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
41911 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
41912 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
41913 s,@WX_SUBRELEASE_NUMBER@,$WX_SUBRELEASE_NUMBER,;t t
41914 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
41915 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
41916 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
41917 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
41918 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
41919 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
41920 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
41921 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
41922 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
41923 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
41924 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
41925 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
41926 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
41927 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
41928 s,@WX_ALL@,$WX_ALL,;t t
41929 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
41930 s,@SHARED_LD@,$SHARED_LD,;t t
41931 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
41932 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
41933 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
41934 s,@USE_GUI@,$USE_GUI,;t t
41935 s,@AFMINSTALL@,$AFMINSTALL,;t t
41936 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
41937 s,@TOOLKIT@,$TOOLKIT,;t t
41938 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
41939 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
41940 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
41941 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
41942 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
41943 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
41944 s,@cross_compiling@,$cross_compiling,;t t
41945 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
41946 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
41947 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
41948 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
41949 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
41950 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
41951 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
41952 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
41953 s,@WXCONFIG_DATA_FILE@,$WXCONFIG_DATA_FILE,;t t
41954 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
41955 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
41956 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
41957 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
41958 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
41959 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
41960 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
41961 s,@GUIDIST@,$GUIDIST,;t t
41962 s,@PORT_FILES@,$PORT_FILES,;t t
41963 s,@DISTDIR@,$DISTDIR,;t t
41964 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
41965 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
41966 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
41967 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
41968 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
41969 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
41970 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
41971 s,@RESFLAGS@,$RESFLAGS,;t t
41972 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
41973 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
41974 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
41975 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
41976 s,@MACRESCOMP@,$MACRESCOMP,;t t
41977 s,@MACSETFILE@,$MACSETFILE,;t t
41978 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
41980 s,@DLLTOOL@,$DLLTOOL,;t t
41983 s,@MAKEINFO@,$MAKEINFO,;t t
41984 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
41985 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
41986 s,@LIBOBJS@,$LIBOBJS,;t t
41987 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
41992 cat >>$CONFIG_STATUS <<\_ACEOF
41993 # Split the substitutions into bite-sized pieces for seds with
41994 # small command number limits, like on Digital OSF/1 and HP-UX.
41995 ac_max_sed_lines
=48
41996 ac_sed_frag
=1 # Number of current file.
41997 ac_beg
=1 # First line for current file.
41998 ac_end
=$ac_max_sed_lines # Line after last line for current file.
42001 while $ac_more_lines; do
42002 if test $ac_beg -gt 1; then
42003 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42005 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42007 if test ! -s $tmp/subs.frag
; then
42008 ac_more_lines
=false
42010 # The purpose of the label and of the branching condition is to
42011 # speed up the sed processing (if there are no `@' at all, there
42012 # is no need to browse any of the substitutions).
42013 # These are the two extra sed commands mentioned above.
42015 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
42016 if test -z "$ac_sed_cmds"; then
42017 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
42019 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42021 ac_sed_frag
=`expr $ac_sed_frag + 1`
42023 ac_end
=`expr $ac_end + $ac_max_sed_lines`
42026 if test -z "$ac_sed_cmds"; then
42029 fi # test -n "$CONFIG_FILES"
42032 cat >>$CONFIG_STATUS <<\_ACEOF
42033 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
42034 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42036 - | *:- | *:-:* ) # input from stdin
42038 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42039 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42040 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42041 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42042 * ) ac_file_in
=$ac_file.
in ;;
42045 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42046 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42047 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42048 X"$ac_file" : 'X\(//\)[^/]' \| \
42049 X"$ac_file" : 'X\(//\)$' \| \
42050 X"$ac_file" : 'X\(/\)' \| \
42051 . : '\(.\)' 2>/dev/null ||
42053 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42054 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42055 /^X\(\/\/\)$/{ s//\1/; q; }
42056 /^X\(\/\).*/{ s//\1/; q; }
42058 { if $as_mkdir_p; then
42063 while test ! -d "$as_dir"; do
42064 as_dirs
="$as_dir $as_dirs"
42065 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42066 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42067 X"$as_dir" : 'X\(//\)[^/]' \| \
42068 X"$as_dir" : 'X\(//\)$' \| \
42069 X"$as_dir" : 'X\(/\)' \| \
42070 . : '\(.\)' 2>/dev/null ||
42072 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42073 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42074 /^X\(\/\/\)$/{ s//\1/; q; }
42075 /^X\(\/\).*/{ s//\1/; q; }
42078 test ! -n "$as_dirs" || mkdir $as_dirs
42079 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42080 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42081 { (exit 1); exit 1; }; }; }
42085 if test "$ac_dir" != .
; then
42086 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42087 # A "../" for each directory in $ac_dir_suffix.
42088 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42090 ac_dir_suffix
= ac_top_builddir
=
42094 .
) # No --srcdir option. We are building in place.
42096 if test -z "$ac_top_builddir"; then
42099 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42101 [\\/]* | ?
:[\\/]* ) # Absolute path.
42102 ac_srcdir
=$srcdir$ac_dir_suffix;
42103 ac_top_srcdir
=$srcdir ;;
42104 *) # Relative path.
42105 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42106 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42109 # Do not use `cd foo && pwd` to compute absolute paths, because
42110 # the directories may not exist.
42112 .
) ac_abs_builddir
="$ac_dir";;
42115 .
) ac_abs_builddir
=`pwd`;;
42116 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42117 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42120 case $ac_abs_builddir in
42121 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42123 case ${ac_top_builddir}.
in
42124 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42125 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42126 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42129 case $ac_abs_builddir in
42130 .
) ac_abs_srcdir
=$ac_srcdir;;
42133 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42134 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42135 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42138 case $ac_abs_builddir in
42139 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42141 case $ac_top_srcdir in
42142 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42143 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42144 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42150 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42151 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
42154 # Let's still pretend it is `configure' which instantiates (i.e., don't
42155 # use $as_me), people would be surprised to read:
42156 # /* config.h. Generated by config.status. */
42157 if test x
"$ac_file" = x
-; then
42160 configure_input
="$ac_file. "
42162 configure_input
=$configure_input"Generated from `echo $ac_file_in |
42163 sed 's,.*/,,'` by configure."
42165 # First look for the input files in the build tree, otherwise in the
42167 ac_file_inputs
=`IFS=:
42168 for f in $ac_file_in; do
42170 -) echo $tmp/stdin ;;
42172 # Absolute (can't be DOS-style, as IFS=:)
42173 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42174 echo "$as_me: error: cannot find input file: $f" >&2;}
42175 { (exit 1); exit 1; }; }
42178 if test -f "$f"; then
42181 elif test -f "$srcdir/$f"; then
42186 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42187 echo "$as_me: error: cannot find input file: $f" >&2;}
42188 { (exit 1); exit 1; }; }
42191 done` || { (exit 1); exit 1; }
42193 if test x
"$ac_file" != x
-; then
42194 { echo "$as_me:$LINENO: creating $ac_file" >&5
42195 echo "$as_me: creating $ac_file" >&6;}
42199 cat >>$CONFIG_STATUS <<_ACEOF
42203 cat >>$CONFIG_STATUS <<\_ACEOF
42205 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42206 s
,@configure_input@
,$configure_input,;t t
42207 s
,@srcdir@
,$ac_srcdir,;t t
42208 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
42209 s
,@top_srcdir@
,$ac_top_srcdir,;t t
42210 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
42211 s
,@builddir@
,$ac_builddir,;t t
42212 s
,@abs_builddir@
,$ac_abs_builddir,;t t
42213 s
,@top_builddir@
,$ac_top_builddir,;t t
42214 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
42215 s
,@INSTALL@
,$ac_INSTALL,;t t
42216 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42218 if test x"$ac_file" != x-; then
42219 mv $tmp/out $ac_file
42227 cat >>$CONFIG_STATUS <<\_ACEOF
42230 # CONFIG_HEADER section.
42233 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
42234 # NAME is the cpp macro being defined and VALUE is the value it is being given.
42236 # ac_d sets the value in "#define NAME VALUE" lines.
42237 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
42238 ac_dB
='[ ].*$,\1#\2'
42241 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
42242 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
42243 ac_uB
='$,\1#\2define\3'
42247 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
42248 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42250 - | *:- | *:-:* ) # input from stdin
42252 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42253 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42254 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42255 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42256 * ) ac_file_in
=$ac_file.
in ;;
42259 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
42260 echo "$as_me: creating $ac_file" >&6;}
42262 # First look for the input files in the build tree, otherwise in the
42264 ac_file_inputs
=`IFS=:
42265 for f in $ac_file_in; do
42267 -) echo $tmp/stdin ;;
42269 # Absolute (can't be DOS-style, as IFS=:)
42270 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42271 echo "$as_me: error: cannot find input file: $f" >&2;}
42272 { (exit 1); exit 1; }; }
42273 # Do quote $f, to prevent DOS paths from being IFS'd.
42276 if test -f "$f"; then
42279 elif test -f "$srcdir/$f"; then
42284 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42285 echo "$as_me: error: cannot find input file: $f" >&2;}
42286 { (exit 1); exit 1; }; }
42289 done` || { (exit 1); exit 1; }
42290 # Remove the trailing spaces.
42291 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
42295 # Transform confdefs.h into two sed scripts, `conftest.defines' and
42296 # `conftest.undefs', that substitutes the proper values into
42297 # config.h.in to produce config.h. The first handles `#define'
42298 # templates, and the second `#undef' templates.
42299 # And first: Protect against being on the right side of a sed subst in
42300 # config.status. Protect against being in an unquoted here document
42301 # in config.status.
42302 rm -f conftest.defines conftest.undefs
42303 # Using a here document instead of a string reduces the quoting nightmare.
42304 # Putting comments in sed scripts is not portable.
42306 # `end' is used to avoid that the second main sed command (meant for
42307 # 0-ary CPP macros) applies to n-ary macro definitions.
42308 # See the Autoconf documentation for `clear'.
42309 cat >confdef2sed.
sed <<\_ACEOF
42314 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
42316 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
42319 # If some macros were called several times there might be several times
42320 # the same #defines, which is useless. Nevertheless, we may not want to
42321 # sort them, since we want the *last* AC-DEFINE to be honored.
42322 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
42323 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
42324 rm -f confdef2sed.sed
42326 # This sed command replaces #undef with comments. This is necessary, for
42327 # example, in the case of _POSIX_SOURCE, which is predefined and required
42328 # on some systems where configure will not decide to define it.
42329 cat >>conftest.undefs <<\_ACEOF
42330 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
42333 # Break up conftest.defines because some shells have a limit on the size
42334 # of here documents, and old seds have small limits too (100 cmds).
42335 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
42336 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
42337 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
42338 echo ' :' >>$CONFIG_STATUS
42339 rm -f conftest.tail
42340 while grep . conftest.defines >/dev/null
42342 # Write a limited-size here document to $tmp/defines.sed.
42343 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
42344 # Speed up: don't consider the non `#define' lines.
42345 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
42346 # Work around the forget-to-reset-the-flag bug.
42347 echo 't clr' >>$CONFIG_STATUS
42348 echo ': clr' >>$CONFIG_STATUS
42349 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
42351 sed -f $tmp/defines.sed $tmp/in >$tmp/out
42353 mv $tmp/out $tmp/in
42355 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
42356 rm -f conftest.defines
42357 mv conftest.
tail conftest.defines
42359 rm -f conftest.defines
42360 echo ' fi # grep' >>$CONFIG_STATUS
42361 echo >>$CONFIG_STATUS
42363 # Break up conftest.undefs because some shells have a limit on the size
42364 # of here documents, and old seds have small limits too (100 cmds).
42365 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
42366 rm -f conftest.
tail
42367 while grep . conftest.undefs
>/dev
/null
42369 # Write a limited-size here document to $tmp/undefs.sed.
42370 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
42371 # Speed up: don't consider the non
`#undef'
42372 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
42373 # Work around the forget-to-reset-the-flag bug.
42374 echo 't clr' >>$CONFIG_STATUS
42375 echo ': clr' >>$CONFIG_STATUS
42376 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
42378 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
42380 mv $tmp/out $tmp/in
42382 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
42383 rm -f conftest.undefs
42384 mv conftest.tail conftest.undefs
42386 rm -f conftest.undefs
42388 cat >>$CONFIG_STATUS <<\_ACEOF
42389 # Let's still pretend it is `configure
' which instantiates (i.e., don't
42390 # use $as_me), people would be surprised to read:
42391 # /* config.h. Generated by config.status. */
42392 if test x
"$ac_file" = x
-; then
42393 echo "/* Generated by configure. */" >$tmp/config.h
42395 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
42397 cat $tmp/in >>$tmp/config.h
42399 if test x
"$ac_file" != x
-; then
42400 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
42401 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
42402 echo "$as_me: $ac_file is unchanged" >&6;}
42404 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42405 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42406 X"$ac_file" : 'X\(//\)[^/]' \| \
42407 X"$ac_file" : 'X\(//\)$' \| \
42408 X"$ac_file" : 'X\(/\)' \| \
42409 . : '\(.\)' 2>/dev/null ||
42411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42412 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42413 /^X\(\/\/\)$/{ s//\1/; q; }
42414 /^X\(\/\).*/{ s//\1/; q; }
42416 { if $as_mkdir_p; then
42421 while test ! -d "$as_dir"; do
42422 as_dirs
="$as_dir $as_dirs"
42423 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42424 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42425 X"$as_dir" : 'X\(//\)[^/]' \| \
42426 X"$as_dir" : 'X\(//\)$' \| \
42427 X"$as_dir" : 'X\(/\)' \| \
42428 . : '\(.\)' 2>/dev/null ||
42430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42431 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42432 /^X\(\/\/\)$/{ s//\1/; q; }
42433 /^X\(\/\).*/{ s//\1/; q; }
42436 test ! -n "$as_dirs" || mkdir $as_dirs
42437 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42438 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42439 { (exit 1); exit 1; }; }; }
42442 mv $tmp/config.h
$ac_file
42446 rm -f $tmp/config.h
42450 cat >>$CONFIG_STATUS <<\_ACEOF
42453 # CONFIG_COMMANDS section.
42455 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
42456 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
42457 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42458 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
42459 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42460 X"$ac_dest" : 'X\(//\)[^/]' \| \
42461 X"$ac_dest" : 'X\(//\)$' \| \
42462 X"$ac_dest" : 'X\(/\)' \| \
42463 . : '\(.\)' 2>/dev/null ||
42465 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42466 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42467 /^X\(\/\/\)$/{ s//\1/; q; }
42468 /^X\(\/\).*/{ s//\1/; q; }
42470 { if $as_mkdir_p; then
42475 while test ! -d "$as_dir"; do
42476 as_dirs
="$as_dir $as_dirs"
42477 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42478 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42479 X"$as_dir" : 'X\(//\)[^/]' \| \
42480 X"$as_dir" : 'X\(//\)$' \| \
42481 X"$as_dir" : 'X\(/\)' \| \
42482 . : '\(.\)' 2>/dev/null ||
42484 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42485 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42486 /^X\(\/\/\)$/{ s//\1/; q; }
42487 /^X\(\/\).*/{ s//\1/; q; }
42490 test ! -n "$as_dirs" || mkdir $as_dirs
42491 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42492 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42493 { (exit 1); exit 1; }; }; }
42497 if test "$ac_dir" != .
; then
42498 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42499 # A "../" for each directory in $ac_dir_suffix.
42500 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42502 ac_dir_suffix
= ac_top_builddir
=
42506 .
) # No --srcdir option. We are building in place.
42508 if test -z "$ac_top_builddir"; then
42511 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42513 [\\/]* | ?
:[\\/]* ) # Absolute path.
42514 ac_srcdir
=$srcdir$ac_dir_suffix;
42515 ac_top_srcdir
=$srcdir ;;
42516 *) # Relative path.
42517 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42518 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42521 # Do not use `cd foo && pwd` to compute absolute paths, because
42522 # the directories may not exist.
42524 .
) ac_abs_builddir
="$ac_dir";;
42527 .
) ac_abs_builddir
=`pwd`;;
42528 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42529 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42532 case $ac_abs_builddir in
42533 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42535 case ${ac_top_builddir}.
in
42536 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42537 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42538 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42541 case $ac_abs_builddir in
42542 .
) ac_abs_srcdir
=$ac_srcdir;;
42545 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42546 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42547 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42550 case $ac_abs_builddir in
42551 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42553 case $ac_top_srcdir in
42554 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42555 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42556 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42561 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
42562 echo "$as_me: executing $ac_dest commands" >&6;}
42565 if test ! -d lib
; then
42568 if test ! -d lib
/wx
; then
42571 if test ! -d lib
/wx
/config
; then
42572 mkdir lib
/wx
/config
42574 if test ! -d lib
/wx
/include
; then
42575 mkdir lib
/wx
/include
42577 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
42578 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
42580 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
42581 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
42583 if test -f setup.h
; then
42584 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
42587 if test -f wx
-config; then
42589 mv -f wx
-config lib
/wx
/config
/${WXCONFIG_DATA_FILE}
42590 ( cd lib
/wx
/config
;
42591 rm -f ${TOOLCHAIN_NAME}
42592 ${LN_S} ${WXCONFIG_DATA_FILE} ${TOOLCHAIN_NAME} )
42594 if test -f wx
-config-wrapper; then
42595 chmod +x wx
-config-wrapper
42596 mv -f wx
-config-wrapper wx
-config
42597 rm -f wx
${TOOLCHAIN_NAME}-config
42598 ${LN_S} wx
-config wx
${TOOLCHAIN_NAME}-config
42605 cat >>$CONFIG_STATUS <<\_ACEOF
42607 { (exit 0); exit 0; }
42609 chmod +x
$CONFIG_STATUS
42610 ac_clean_files
=$ac_clean_files_save
42613 # configure is writing to config.log, and then calls config.status.
42614 # config.status does its own redirection, appending to config.log.
42615 # Unfortunately, on DOS this fails, as config.log is still kept open
42616 # by configure, so config.status won't be able to write to it; its
42617 # output is simply discarded. So we exec the FD to /dev/null,
42618 # effectively closing config.log, so it can be properly (re)opened and
42619 # appended to by config.status. When coming back to configure, we
42620 # need to make the FD available again.
42621 if test "$no_create" != yes; then
42623 ac_config_status_args
=
42624 test "$silent" = yes &&
42625 ac_config_status_args
="$ac_config_status_args --quiet"
42627 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
42629 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42630 # would make configure fail if this is the last instruction.
42631 $ac_cs_success || { (exit 1); exit 1; }
42635 # CONFIG_SUBDIRS section.
42637 if test "$no_recursion" != yes; then
42639 # Remove --cache-file and --srcdir arguments so they do not pile up.
42640 ac_sub_configure_args
=
42642 for ac_arg
in $ac_configure_args; do
42643 if test -n "$ac_prev"; then
42648 -cache-file | --cache-file | --cache-fil | --cache-fi \
42649 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42650 ac_prev
=cache_file
;;
42651 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42652 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42655 --config-cache | -C)
42657 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42659 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42661 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42663 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42665 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
42669 # Always prepend --prefix to ensure using the same prefix
42670 # in subdir configurations.
42671 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
42674 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
42676 # Do not complain, so a configure script can configure whichever
42677 # parts of a large source tree are present.
42678 test -d $srcdir/$ac_dir || continue
42680 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
42681 echo "$as_me: configuring in $ac_dir" >&6;}
42682 { if $as_mkdir_p; then
42687 while test ! -d "$as_dir"; do
42688 as_dirs
="$as_dir $as_dirs"
42689 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42690 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42691 X"$as_dir" : 'X\(//\)[^/]' \| \
42692 X"$as_dir" : 'X\(//\)$' \| \
42693 X"$as_dir" : 'X\(/\)' \| \
42694 . : '\(.\)' 2>/dev/null ||
42696 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42697 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42698 /^X\(\/\/\)$/{ s//\1/; q; }
42699 /^X\(\/\).*/{ s//\1/; q; }
42702 test ! -n "$as_dirs" || mkdir $as_dirs
42703 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42704 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42705 { (exit 1); exit 1; }; }; }
42709 if test "$ac_dir" != .
; then
42710 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42711 # A "../" for each directory in $ac_dir_suffix.
42712 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42714 ac_dir_suffix
= ac_top_builddir
=
42718 .
) # No --srcdir option. We are building in place.
42720 if test -z "$ac_top_builddir"; then
42723 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42725 [\\/]* | ?
:[\\/]* ) # Absolute path.
42726 ac_srcdir
=$srcdir$ac_dir_suffix;
42727 ac_top_srcdir
=$srcdir ;;
42728 *) # Relative path.
42729 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42730 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42733 # Do not use `cd foo && pwd` to compute absolute paths, because
42734 # the directories may not exist.
42736 .
) ac_abs_builddir
="$ac_dir";;
42739 .
) ac_abs_builddir
=`pwd`;;
42740 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42741 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42744 case $ac_abs_builddir in
42745 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42747 case ${ac_top_builddir}.
in
42748 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42749 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42750 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42753 case $ac_abs_builddir in
42754 .
) ac_abs_srcdir
=$ac_srcdir;;
42757 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42758 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42759 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42762 case $ac_abs_builddir in
42763 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42765 case $ac_top_srcdir in
42766 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42767 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42768 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42775 # Check for guested configure; otherwise get Cygnus style configure.
42776 if test -f $ac_srcdir/configure.gnu
; then
42777 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
42778 elif test -f $ac_srcdir/configure
; then
42779 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
42780 elif test -f $ac_srcdir/configure.
in; then
42781 ac_sub_configure
=$ac_configure
42783 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
42784 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42788 # The recursion is here.
42789 if test -n "$ac_sub_configure"; then
42790 # Make the cache file name correct relative to the subdirectory.
42791 case $cache_file in
42792 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
42793 *) # Relative path.
42794 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
42797 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
42798 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42799 # The eval makes quoting arguments work.
42800 eval $ac_sub_configure $ac_sub_configure_args \
42801 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
42802 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
42803 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
42804 { (exit 1); exit 1; }; }
42813 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42815 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_LOWERCASE:-base only}"
42816 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
42818 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
42819 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
42820 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
42822 echo " What level of wxWidgets compatibility should be enabled?"
42823 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
42824 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
42826 echo " Which libraries should wxWidgets use?"
42827 echo " jpeg ${wxUSE_LIBJPEG-none}"
42828 echo " png ${wxUSE_LIBPNG-none}"
42829 echo " regex ${wxUSE_REGEX}"
42830 echo " tiff ${wxUSE_LIBTIFF-none}"
42831 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42832 echo " xpm ${wxUSE_LIBXPM-none}"
42834 echo " zlib ${wxUSE_ZLIB}"
42835 echo " odbc ${wxUSE_ODBC}"
42836 echo " expat ${wxUSE_EXPAT}"
42837 echo " libmspack ${wxUSE_LIBMSPACK}"
42838 echo " sdl ${wxUSE_LIBSDL}"