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_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 WX_LARGEFILE_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 GCC_SEARCHES_USR_LOCAL_INCLUDE 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 --enable-gtk2 use GTK
+ 2.0 if available
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
1654 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1655 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1657 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1673 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1679 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1685 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1687 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1689 DEFAULT_wxUSE_COCOA
=0
1693 DEFAULT_wxUSE_MICROWIN
=0
1694 DEFAULT_wxUSE_MOTIF
=0
1699 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1700 DEFAULT_DEFAULT_wxUSE_GTK
=0
1701 DEFAULT_DEFAULT_wxUSE_MAC
=0
1702 DEFAULT_DEFAULT_wxUSE_MGL
=0
1703 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1704 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1705 DEFAULT_DEFAULT_wxUSE_MSW
=0
1706 DEFAULT_DEFAULT_wxUSE_PM
=0
1707 DEFAULT_DEFAULT_wxUSE_X11
=0
1712 SAMPLES_RPATH_POSTLINK
=
1717 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1718 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1720 cat >>confdefs.h
<<\_ACEOF
1727 cat >>confdefs.h
<<\_ACEOF
1732 if test "x$TMP" = "xalpha"; then
1734 cat >>confdefs.h
<<\_ACEOF
1739 DEFAULT_DEFAULT_wxUSE_GTK
=1
1741 *-*-gnu* | *-*-k*bsd
*-gnu )
1744 if test "x$TMP" = "xalpha"; then
1746 cat >>confdefs.h
<<\_ACEOF
1751 DEFAULT_DEFAULT_wxUSE_GTK
=1
1753 *-*-irix5* | *-*-irix6* )
1756 cat >>confdefs.h
<<\_ACEOF
1760 cat >>confdefs.h
<<\_ACEOF
1764 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1770 cat >>confdefs.h
<<\_ACEOF
1774 cat >>confdefs.h
<<\_ACEOF
1775 #define __SOLARIS__ 1
1778 cat >>confdefs.h
<<\_ACEOF
1782 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1783 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1789 cat >>confdefs.h
<<\_ACEOF
1793 cat >>confdefs.h
<<\_ACEOF
1797 cat >>confdefs.h
<<\_ACEOF
1801 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1806 cat >>confdefs.h
<<\_ACEOF
1807 #define __FREEBSD__ 1
1810 cat >>confdefs.h
<<\_ACEOF
1814 DEFAULT_DEFAULT_wxUSE_GTK
=1
1819 cat >>confdefs.h
<<\_ACEOF
1820 #define __OPENBSD__ 1
1823 cat >>confdefs.h
<<\_ACEOF
1827 DEFAULT_DEFAULT_wxUSE_GTK
=1
1832 cat >>confdefs.h
<<\_ACEOF
1833 #define __NETBSD__ 1
1836 cat >>confdefs.h
<<\_ACEOF
1840 DEFAULT_DEFAULT_wxUSE_GTK
=1
1845 cat >>confdefs.h
<<\_ACEOF
1849 cat >>confdefs.h
<<\_ACEOF
1853 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1854 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1859 cat >>confdefs.h
<<\_ACEOF
1863 cat >>confdefs.h
<<\_ACEOF
1867 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1872 cat >>confdefs.h
<<\_ACEOF
1876 cat >>confdefs.h
<<\_ACEOF
1880 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1887 cat >>confdefs.h
<<\_ACEOF
1891 cat >>confdefs.h
<<\_ACEOF
1895 cat >>confdefs.h
<<\_ACEOF
1899 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1906 cat >>confdefs.h
<<\_ACEOF
1907 #define __UNIXWARE__ 1
1912 *-*-cygwin* | *-*-mingw32* )
1916 DEFAULT_DEFAULT_wxUSE_MSW
=1
1922 cat >>confdefs.h
<<\_ACEOF
1927 DEFAULT_DEFAULT_wxUSE_MGL
=1
1928 LIBS
="$LIBS -lstdc++"
1931 *-pc-os2_emx | *-pc-os2-emx )
1932 cat >>confdefs.h
<<\_ACEOF
1937 cat >>confdefs.h
<<\_ACEOF
1942 DEFAULT_DEFAULT_wxUSE_PM
=1
1944 LDFLAGS
="$LDFLAGS -Zcrtdll"
1945 ac_executable_extensions
=".exe"
1946 export ac_executable_extensions
1950 for ac_dir
in $PATH; do
1952 if test -z "$ac_TEMP_PATH"; then
1953 ac_TEMP_PATH
="$ac_dir"
1955 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1958 export PATH
="$ac_TEMP_PATH"
1966 cat >>confdefs.h
<<\_ACEOF
1970 cat >>confdefs.h
<<\_ACEOF
1971 #define __DARWIN__ 1
1974 cat >>confdefs.h
<<\_ACEOF
1975 #define __POWERPC__ 1
1978 cat >>confdefs.h
<<\_ACEOF
1979 #define TARGET_CARBON 1
1982 DEFAULT_DEFAULT_wxUSE_MAC
=1
1987 cat >>confdefs.h
<<\_ACEOF
1994 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1995 echo "$as_me: error: unknown system type ${host}." >&2;}
1996 { (exit 1); exit 1; }; }
2002 wx_arg_cache_file
="configarg.cache"
2003 echo "loading argument cache $wx_arg_cache_file"
2004 rm -f ${wx_arg_cache_file}.tmp
2005 touch ${wx_arg_cache_file}.tmp
2006 touch ${wx_arg_cache_file}
2010 if test $DEBUG_CONFIGURE = 1; then
2011 DEFAULT_wxUSE_UNIVERSAL
=no
2012 DEFAULT_wxUSE_STL
=no
2014 DEFAULT_wxUSE_NANOX
=no
2016 DEFAULT_wxUSE_THREADS
=yes
2018 DEFAULT_wxUSE_SHARED
=yes
2019 DEFAULT_wxUSE_OPTIMISE
=no
2020 DEFAULT_wxUSE_PROFILE
=no
2021 DEFAULT_wxUSE_NO_DEPS
=no
2022 DEFAULT_wxUSE_NO_RTTI
=no
2023 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2024 DEFAULT_wxUSE_PERMISSIVE
=no
2025 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2026 DEFAULT_wxUSE_DEBUG_INFO
=yes
2027 DEFAULT_wxUSE_DEBUG_GDB
=yes
2028 DEFAULT_wxUSE_MEM_TRACING
=no
2029 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2030 DEFAULT_wxUSE_DMALLOC
=no
2031 DEFAULT_wxUSE_APPLE_IEEE
=no
2033 DEFAULT_wxUSE_EXCEPTIONS
=no
2034 DEFAULT_wxUSE_LOG
=yes
2035 DEFAULT_wxUSE_LOGWINDOW
=no
2036 DEFAULT_wxUSE_LOGGUI
=no
2037 DEFAULT_wxUSE_LOGDIALOG
=no
2039 DEFAULT_wxUSE_GUI
=yes
2040 DEFAULT_wxUSE_CONTROLS
=no
2042 DEFAULT_wxUSE_REGEX
=no
2043 DEFAULT_wxUSE_XML
=no
2044 DEFAULT_wxUSE_EXPAT
=no
2045 DEFAULT_wxUSE_ZLIB
=no
2046 DEFAULT_wxUSE_LIBPNG
=no
2047 DEFAULT_wxUSE_LIBJPEG
=no
2048 DEFAULT_wxUSE_LIBTIFF
=no
2049 DEFAULT_wxUSE_LIBXPM
=no
2050 DEFAULT_wxUSE_LIBMSPACK
=no
2051 DEFAULT_wxUSE_LIBSDL
=no
2052 DEFAULT_wxUSE_ODBC
=no
2053 DEFAULT_wxUSE_OPENGL
=no
2055 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2056 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2057 DEFAULT_wxUSE_STD_IOSTREAM
=no
2058 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2059 DEFAULT_wxUSE_DATETIME
=no
2060 DEFAULT_wxUSE_TIMER
=no
2061 DEFAULT_wxUSE_STOPWATCH
=no
2062 DEFAULT_wxUSE_FILE
=no
2063 DEFAULT_wxUSE_FFILE
=no
2064 DEFAULT_wxUSE_TEXTBUFFER
=no
2065 DEFAULT_wxUSE_TEXTFILE
=no
2066 DEFAULT_wxUSE_SOUND
=no
2067 DEFAULT_wxUSE_INTL
=no
2068 DEFAULT_wxUSE_CONFIG
=no
2069 DEFAULT_wxUSE_FONTMAP
=no
2070 DEFAULT_wxUSE_STREAMS
=no
2071 DEFAULT_wxUSE_SOCKETS
=no
2072 DEFAULT_wxUSE_OLE
=no
2073 DEFAULT_wxUSE_DATAOBJ
=no
2074 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2075 DEFAULT_wxUSE_JOYSTICK
=no
2076 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2077 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2078 DEFAULT_wxUSE_LONGLONG
=no
2079 DEFAULT_wxUSE_GEOMETRY
=no
2081 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2082 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2083 DEFAULT_wxUSE_POSTSCRIPT
=no
2085 DEFAULT_wxUSE_CLIPBOARD
=no
2086 DEFAULT_wxUSE_TOOLTIPS
=no
2087 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2088 DEFAULT_wxUSE_DRAGIMAGE
=no
2089 DEFAULT_wxUSE_SPLINES
=no
2091 DEFAULT_wxUSE_MDI
=no
2092 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2093 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2094 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2096 DEFAULT_wxUSE_RESOURCES
=no
2097 DEFAULT_wxUSE_CONSTRAINTS
=no
2098 DEFAULT_wxUSE_IPC
=no
2099 DEFAULT_wxUSE_HELP
=no
2100 DEFAULT_wxUSE_MS_HTML_HELP
=no
2101 DEFAULT_wxUSE_WXHTML_HELP
=no
2102 DEFAULT_wxUSE_TREELAYOUT
=no
2103 DEFAULT_wxUSE_METAFILE
=no
2104 DEFAULT_wxUSE_MIMETYPE
=no
2105 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2106 DEFAULT_wxUSE_PROTOCOL
=no
2107 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2108 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2109 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2110 DEFAULT_wxUSE_URL
=no
2112 DEFAULT_wxUSE_COMMONDLGS
=no
2113 DEFAULT_wxUSE_CHOICEDLG
=no
2114 DEFAULT_wxUSE_COLOURDLG
=no
2115 DEFAULT_wxUSE_DIRDLG
=no
2116 DEFAULT_wxUSE_FILEDLG
=no
2117 DEFAULT_wxUSE_FINDREPLDLG
=no
2118 DEFAULT_wxUSE_FONTDLG
=no
2119 DEFAULT_wxUSE_MSGDLG
=no
2120 DEFAULT_wxUSE_NUMBERDLG
=no
2121 DEFAULT_wxUSE_TEXTDLG
=no
2122 DEFAULT_wxUSE_SPLASH
=no
2123 DEFAULT_wxUSE_STARTUP_TIPS
=no
2124 DEFAULT_wxUSE_PROGRESSDLG
=no
2125 DEFAULT_wxUSE_WIZARDDLG
=no
2127 DEFAULT_wxUSE_MENUS
=no
2128 DEFAULT_wxUSE_MINIFRAME
=no
2129 DEFAULT_wxUSE_HTML
=no
2130 DEFAULT_wxUSE_WEBKIT
=no
2131 DEFAULT_wxUSE_FILESYSTEM
=no
2132 DEFAULT_wxUSE_FS_INET
=no
2133 DEFAULT_wxUSE_FS_ZIP
=no
2134 DEFAULT_wxUSE_BUSYINFO
=no
2135 DEFAULT_wxUSE_ZIPSTREAM
=no
2136 DEFAULT_wxUSE_VALIDATORS
=no
2138 DEFAULT_wxUSE_ACCEL
=no
2139 DEFAULT_wxUSE_BUTTON
=no
2140 DEFAULT_wxUSE_BMPBUTTON
=no
2141 DEFAULT_wxUSE_CALCTRL
=no
2142 DEFAULT_wxUSE_CARET
=no
2143 DEFAULT_wxUSE_CHECKBOX
=no
2144 DEFAULT_wxUSE_CHECKLST
=no
2145 DEFAULT_wxUSE_CHOICE
=no
2146 DEFAULT_wxUSE_COMBOBOX
=no
2147 DEFAULT_wxUSE_DISPLAY
=no
2148 DEFAULT_wxUSE_GAUGE
=no
2149 DEFAULT_wxUSE_GRID
=no
2150 DEFAULT_wxUSE_IMAGLIST
=no
2151 DEFAULT_wxUSE_LISTBOOK
=no
2152 DEFAULT_wxUSE_LISTBOX
=no
2153 DEFAULT_wxUSE_LISTCTRL
=no
2154 DEFAULT_wxUSE_NOTEBOOK
=no
2155 DEFAULT_wxUSE_RADIOBOX
=no
2156 DEFAULT_wxUSE_RADIOBTN
=no
2157 DEFAULT_wxUSE_SASH
=no
2158 DEFAULT_wxUSE_SCROLLBAR
=no
2159 DEFAULT_wxUSE_SLIDER
=no
2160 DEFAULT_wxUSE_SPINBTN
=no
2161 DEFAULT_wxUSE_SPINCTRL
=no
2162 DEFAULT_wxUSE_SPLITTER
=no
2163 DEFAULT_wxUSE_STATBMP
=no
2164 DEFAULT_wxUSE_STATBOX
=no
2165 DEFAULT_wxUSE_STATLINE
=no
2166 DEFAULT_wxUSE_STATTEXT
=no
2167 DEFAULT_wxUSE_STATUSBAR
=yes
2168 DEFAULT_wxUSE_TABDIALOG
=no
2169 DEFAULT_wxUSE_TEXTCTRL
=no
2170 DEFAULT_wxUSE_TOGGLEBTN
=no
2171 DEFAULT_wxUSE_TOOLBAR
=no
2172 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2173 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2174 DEFAULT_wxUSE_TREECTRL
=no
2175 DEFAULT_wxUSE_POPUPWIN
=no
2176 DEFAULT_wxUSE_TIPWINDOW
=no
2178 DEFAULT_wxUSE_UNICODE
=no
2179 DEFAULT_wxUSE_UNICODE_MSLU
=no
2180 DEFAULT_wxUSE_WCSRTOMBS
=no
2182 DEFAULT_wxUSE_PALETTE
=no
2183 DEFAULT_wxUSE_IMAGE
=no
2184 DEFAULT_wxUSE_GIF
=no
2185 DEFAULT_wxUSE_PCX
=no
2186 DEFAULT_wxUSE_PNM
=no
2187 DEFAULT_wxUSE_IFF
=no
2188 DEFAULT_wxUSE_XPM
=no
2189 DEFAULT_wxUSE_ICO_CUR
=no
2190 DEFAULT_wxUSE_ACCESSIBILITY
=no
2192 DEFAULT_wxUSE_MONOLITHIC
=no
2193 DEFAULT_wxUSE_PLUGINS
=no
2194 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2196 DEFAULT_wxUSE_UNIVERSAL
=no
2197 DEFAULT_wxUSE_STL
=no
2199 DEFAULT_wxUSE_NANOX
=no
2201 DEFAULT_wxUSE_THREADS
=yes
2203 DEFAULT_wxUSE_SHARED
=yes
2204 DEFAULT_wxUSE_OPTIMISE
=yes
2205 DEFAULT_wxUSE_PROFILE
=no
2206 DEFAULT_wxUSE_NO_DEPS
=no
2207 DEFAULT_wxUSE_NO_RTTI
=no
2208 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2209 DEFAULT_wxUSE_PERMISSIVE
=no
2210 DEFAULT_wxUSE_DEBUG_FLAG
=no
2211 DEFAULT_wxUSE_DEBUG_INFO
=no
2212 DEFAULT_wxUSE_DEBUG_GDB
=no
2213 DEFAULT_wxUSE_MEM_TRACING
=no
2214 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2215 DEFAULT_wxUSE_DMALLOC
=no
2216 DEFAULT_wxUSE_APPLE_IEEE
=yes
2218 DEFAULT_wxUSE_EXCEPTIONS
=yes
2219 DEFAULT_wxUSE_LOG
=yes
2220 DEFAULT_wxUSE_LOGWINDOW
=yes
2221 DEFAULT_wxUSE_LOGGUI
=yes
2222 DEFAULT_wxUSE_LOGDIALOG
=yes
2224 DEFAULT_wxUSE_GUI
=yes
2226 DEFAULT_wxUSE_REGEX
=yes
2227 DEFAULT_wxUSE_XML
=yes
2228 DEFAULT_wxUSE_EXPAT
=yes
2229 DEFAULT_wxUSE_ZLIB
=yes
2230 DEFAULT_wxUSE_LIBPNG
=yes
2231 DEFAULT_wxUSE_LIBJPEG
=yes
2232 DEFAULT_wxUSE_LIBTIFF
=yes
2233 DEFAULT_wxUSE_LIBXPM
=yes
2234 DEFAULT_wxUSE_LIBMSPACK
=yes
2235 DEFAULT_wxUSE_LIBSDL
=no
2236 DEFAULT_wxUSE_ODBC
=no
2237 DEFAULT_wxUSE_OPENGL
=no
2239 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2240 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2241 DEFAULT_wxUSE_STD_IOSTREAM
=no
2242 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2243 DEFAULT_wxUSE_DATETIME
=yes
2244 DEFAULT_wxUSE_TIMER
=yes
2245 DEFAULT_wxUSE_STOPWATCH
=yes
2246 DEFAULT_wxUSE_FILE
=yes
2247 DEFAULT_wxUSE_FFILE
=yes
2248 DEFAULT_wxUSE_TEXTBUFFER
=yes
2249 DEFAULT_wxUSE_TEXTFILE
=yes
2250 DEFAULT_wxUSE_SOUND
=yes
2251 DEFAULT_wxUSE_INTL
=yes
2252 DEFAULT_wxUSE_CONFIG
=yes
2253 DEFAULT_wxUSE_FONTMAP
=yes
2254 DEFAULT_wxUSE_STREAMS
=yes
2255 DEFAULT_wxUSE_SOCKETS
=yes
2256 DEFAULT_wxUSE_OLE
=yes
2257 DEFAULT_wxUSE_DATAOBJ
=yes
2258 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2259 DEFAULT_wxUSE_JOYSTICK
=yes
2260 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2261 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2262 DEFAULT_wxUSE_LONGLONG
=yes
2263 DEFAULT_wxUSE_GEOMETRY
=yes
2265 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2266 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2267 DEFAULT_wxUSE_POSTSCRIPT
=yes
2269 DEFAULT_wxUSE_CLIPBOARD
=yes
2270 DEFAULT_wxUSE_TOOLTIPS
=yes
2271 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2272 DEFAULT_wxUSE_DRAGIMAGE
=yes
2273 DEFAULT_wxUSE_SPLINES
=yes
2275 DEFAULT_wxUSE_MDI
=yes
2276 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2277 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2278 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2280 DEFAULT_wxUSE_RESOURCES
=no
2281 DEFAULT_wxUSE_CONSTRAINTS
=yes
2282 DEFAULT_wxUSE_IPC
=yes
2283 DEFAULT_wxUSE_HELP
=yes
2284 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2285 DEFAULT_wxUSE_WXHTML_HELP
=yes
2286 DEFAULT_wxUSE_TREELAYOUT
=yes
2287 DEFAULT_wxUSE_METAFILE
=yes
2288 DEFAULT_wxUSE_MIMETYPE
=yes
2289 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2290 DEFAULT_wxUSE_PROTOCOL
=yes
2291 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2292 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2293 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2294 DEFAULT_wxUSE_URL
=yes
2296 DEFAULT_wxUSE_COMMONDLGS
=yes
2297 DEFAULT_wxUSE_CHOICEDLG
=yes
2298 DEFAULT_wxUSE_COLOURDLG
=yes
2299 DEFAULT_wxUSE_DIRDLG
=yes
2300 DEFAULT_wxUSE_FILEDLG
=yes
2301 DEFAULT_wxUSE_FINDREPLDLG
=yes
2302 DEFAULT_wxUSE_FONTDLG
=yes
2303 DEFAULT_wxUSE_MSGDLG
=yes
2304 DEFAULT_wxUSE_NUMBERDLG
=yes
2305 DEFAULT_wxUSE_TEXTDLG
=yes
2306 DEFAULT_wxUSE_SPLASH
=yes
2307 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2308 DEFAULT_wxUSE_PROGRESSDLG
=yes
2309 DEFAULT_wxUSE_WIZARDDLG
=yes
2311 DEFAULT_wxUSE_MENUS
=yes
2312 DEFAULT_wxUSE_MINIFRAME
=yes
2313 DEFAULT_wxUSE_HTML
=yes
2314 DEFAULT_wxUSE_WEBKIT
=yes
2315 DEFAULT_wxUSE_FILESYSTEM
=yes
2316 DEFAULT_wxUSE_FS_INET
=yes
2317 DEFAULT_wxUSE_FS_ZIP
=yes
2318 DEFAULT_wxUSE_BUSYINFO
=yes
2319 DEFAULT_wxUSE_ZIPSTREAM
=yes
2320 DEFAULT_wxUSE_VALIDATORS
=yes
2322 DEFAULT_wxUSE_ACCEL
=yes
2323 DEFAULT_wxUSE_BUTTON
=yes
2324 DEFAULT_wxUSE_BMPBUTTON
=yes
2325 DEFAULT_wxUSE_CALCTRL
=yes
2326 DEFAULT_wxUSE_CARET
=yes
2327 DEFAULT_wxUSE_CHECKBOX
=yes
2328 DEFAULT_wxUSE_CHECKLST
=yes
2329 DEFAULT_wxUSE_CHOICE
=yes
2330 DEFAULT_wxUSE_COMBOBOX
=yes
2331 DEFAULT_wxUSE_DISPLAY
=yes
2332 DEFAULT_wxUSE_GAUGE
=yes
2333 DEFAULT_wxUSE_GRID
=yes
2334 DEFAULT_wxUSE_IMAGLIST
=yes
2335 DEFAULT_wxUSE_LISTBOOK
=yes
2336 DEFAULT_wxUSE_LISTBOX
=yes
2337 DEFAULT_wxUSE_LISTCTRL
=yes
2338 DEFAULT_wxUSE_NOTEBOOK
=yes
2339 DEFAULT_wxUSE_RADIOBOX
=yes
2340 DEFAULT_wxUSE_RADIOBTN
=yes
2341 DEFAULT_wxUSE_SASH
=yes
2342 DEFAULT_wxUSE_SCROLLBAR
=yes
2343 DEFAULT_wxUSE_SLIDER
=yes
2344 DEFAULT_wxUSE_SPINBTN
=yes
2345 DEFAULT_wxUSE_SPINCTRL
=yes
2346 DEFAULT_wxUSE_SPLITTER
=yes
2347 DEFAULT_wxUSE_STATBMP
=yes
2348 DEFAULT_wxUSE_STATBOX
=yes
2349 DEFAULT_wxUSE_STATLINE
=yes
2350 DEFAULT_wxUSE_STATTEXT
=yes
2351 DEFAULT_wxUSE_STATUSBAR
=yes
2352 DEFAULT_wxUSE_TABDIALOG
=no
2353 DEFAULT_wxUSE_TEXTCTRL
=yes
2354 DEFAULT_wxUSE_TOGGLEBTN
=yes
2355 DEFAULT_wxUSE_TOOLBAR
=yes
2356 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2357 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2358 DEFAULT_wxUSE_TREECTRL
=yes
2359 DEFAULT_wxUSE_POPUPWIN
=yes
2360 DEFAULT_wxUSE_TIPWINDOW
=yes
2362 DEFAULT_wxUSE_UNICODE
=no
2363 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2364 DEFAULT_wxUSE_WCSRTOMBS
=no
2366 DEFAULT_wxUSE_PALETTE
=yes
2367 DEFAULT_wxUSE_IMAGE
=yes
2368 DEFAULT_wxUSE_GIF
=yes
2369 DEFAULT_wxUSE_PCX
=yes
2370 DEFAULT_wxUSE_IFF
=no
2371 DEFAULT_wxUSE_PNM
=yes
2372 DEFAULT_wxUSE_XPM
=yes
2373 DEFAULT_wxUSE_ICO_CUR
=yes
2374 DEFAULT_wxUSE_ACCESSIBILITY
=no
2376 DEFAULT_wxUSE_MONOLITHIC
=no
2377 DEFAULT_wxUSE_PLUGINS
=no
2378 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2383 for toolkit
in `echo $ALL_TOOLKITS`; do
2384 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2385 if test "x$LINE" != "x" ; then
2386 has_toolkit_in_cache
=1
2387 eval "DEFAULT_$LINE"
2388 eval "CACHE_$toolkit=1"
2395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2396 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2398 # Check whether --enable-gui or --disable-gui was given.
2399 if test "${enable_gui+set}" = set; then
2400 enableval
="$enable_gui"
2402 if test "$enableval" = yes; then
2403 ac_cv_use_gui
='wxUSE_GUI=yes'
2405 ac_cv_use_gui
='wxUSE_GUI=no'
2410 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2411 if test "x$LINE" != x
; then
2412 eval "DEFAULT_$LINE"
2417 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2421 eval "$ac_cv_use_gui"
2422 if test "$no_cache" != 1; then
2423 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2426 if test "$wxUSE_GUI" = yes; then
2427 echo "$as_me:$LINENO: result: yes" >&5
2428 echo "${ECHO_T}yes" >&6
2430 echo "$as_me:$LINENO: result: no" >&5
2431 echo "${ECHO_T}no" >&6
2436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2437 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2439 # Check whether --enable-monolithic or --disable-monolithic was given.
2440 if test "${enable_monolithic+set}" = set; then
2441 enableval
="$enable_monolithic"
2443 if test "$enableval" = yes; then
2444 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2446 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2451 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2452 if test "x$LINE" != x
; then
2453 eval "DEFAULT_$LINE"
2458 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2462 eval "$ac_cv_use_monolithic"
2463 if test "$no_cache" != 1; then
2464 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2467 if test "$wxUSE_MONOLITHIC" = yes; then
2468 echo "$as_me:$LINENO: result: yes" >&5
2469 echo "${ECHO_T}yes" >&6
2471 echo "$as_me:$LINENO: result: no" >&5
2472 echo "${ECHO_T}no" >&6
2477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2478 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2480 # Check whether --enable-plugins or --disable-plugins was given.
2481 if test "${enable_plugins+set}" = set; then
2482 enableval
="$enable_plugins"
2484 if test "$enableval" = yes; then
2485 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2487 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2492 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2493 if test "x$LINE" != x
; then
2494 eval "DEFAULT_$LINE"
2499 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2503 eval "$ac_cv_use_plugins"
2504 if test "$no_cache" != 1; then
2505 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2508 if test "$wxUSE_PLUGINS" = yes; then
2509 echo "$as_me:$LINENO: result: yes" >&5
2510 echo "${ECHO_T}yes" >&6
2512 echo "$as_me:$LINENO: result: no" >&5
2513 echo "${ECHO_T}no" >&6
2517 if test "$wxUSE_GUI" = "yes"; then
2521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2522 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2524 # Check whether --enable-universal or --disable-universal was given.
2525 if test "${enable_universal+set}" = set; then
2526 enableval
="$enable_universal"
2528 if test "$enableval" = yes; then
2529 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2531 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2536 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2537 if test "x$LINE" != x
; then
2538 eval "DEFAULT_$LINE"
2543 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2547 eval "$ac_cv_use_universal"
2548 if test "$no_cache" != 1; then
2549 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2552 if test "$wxUSE_UNIVERSAL" = yes; then
2553 echo "$as_me:$LINENO: result: yes" >&5
2554 echo "${ECHO_T}yes" >&6
2556 echo "$as_me:$LINENO: result: no" >&5
2557 echo "${ECHO_T}no" >&6
2561 # Check whether --with-gtk or --without-gtk was given.
2562 if test "${with_gtk+set}" = set; then
2564 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2567 # Check whether --with-motif or --without-motif was given.
2568 if test "${with_motif+set}" = set; then
2569 withval
="$with_motif"
2570 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2573 # Check whether --with-mac or --without-mac was given.
2574 if test "${with_mac+set}" = set; then
2576 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
2579 # Check whether --with-cocoa or --without-cocoa was given.
2580 if test "${with_cocoa+set}" = set; then
2581 withval
="$with_cocoa"
2582 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
2585 # Check whether --with-wine or --without-wine was given.
2586 if test "${with_wine+set}" = set; then
2587 withval
="$with_wine"
2588 wxUSE_WINE
="$withval" CACHE_WINE
=1
2591 # Check whether --with-msw or --without-msw was given.
2592 if test "${with_msw+set}" = set; then
2594 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2597 # Check whether --with-pm or --without-pm was given.
2598 if test "${with_pm+set}" = set; then
2600 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2603 # Check whether --with-mgl or --without-mgl was given.
2604 if test "${with_mgl+set}" = set; then
2606 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2609 # Check whether --with-microwin or --without-microwin was given.
2610 if test "${with_microwin+set}" = set; then
2611 withval
="$with_microwin"
2612 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2615 # Check whether --with-x11 or --without-x11 was given.
2616 if test "${with_x11+set}" = set; then
2618 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2623 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2625 # Check whether --enable-nanox or --disable-nanox was given.
2626 if test "${enable_nanox+set}" = set; then
2627 enableval
="$enable_nanox"
2629 if test "$enableval" = yes; then
2630 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2632 ac_cv_use_nanox
='wxUSE_NANOX=no'
2637 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2638 if test "x$LINE" != x
; then
2639 eval "DEFAULT_$LINE"
2644 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2648 eval "$ac_cv_use_nanox"
2649 if test "$no_cache" != 1; then
2650 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2653 if test "$wxUSE_NANOX" = yes; then
2654 echo "$as_me:$LINENO: result: yes" >&5
2655 echo "${ECHO_T}yes" >&6
2657 echo "$as_me:$LINENO: result: no" >&5
2658 echo "${ECHO_T}no" >&6
2664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2665 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2667 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2668 if test "${enable_gtk2+set}" = set; then
2669 enableval
="$enable_gtk2"
2671 if test "$enableval" = yes; then
2672 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2674 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2679 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2680 if test "x$LINE" != x
; then
2681 eval "DEFAULT_$LINE"
2686 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2690 eval "$ac_cv_use_gtk2"
2691 if test "$no_cache" != 1; then
2692 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2695 if test "$wxUSE_GTK2" = yes; then
2696 echo "$as_me:$LINENO: result: yes" >&5
2697 echo "${ECHO_T}yes" >&6
2699 echo "$as_me:$LINENO: result: no" >&5
2700 echo "${ECHO_T}no" >&6
2705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2706 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2708 # Check whether --enable-gpe or --disable-gpe was given.
2709 if test "${enable_gpe+set}" = set; then
2710 enableval
="$enable_gpe"
2712 if test "$enableval" = yes; then
2713 ac_cv_use_gpe
='wxUSE_GPE=yes'
2715 ac_cv_use_gpe
='wxUSE_GPE=no'
2720 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2721 if test "x$LINE" != x
; then
2722 eval "DEFAULT_$LINE"
2727 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2731 eval "$ac_cv_use_gpe"
2732 if test "$no_cache" != 1; then
2733 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2736 if test "$wxUSE_GPE" = yes; then
2737 echo "$as_me:$LINENO: result: yes" >&5
2738 echo "${ECHO_T}yes" >&6
2740 echo "$as_me:$LINENO: result: no" >&5
2741 echo "${ECHO_T}no" >&6
2746 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2747 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2750 # Check whether --with-libpng or --without-libpng was given.
2751 if test "${with_libpng+set}" = set; then
2752 withval
="$with_libpng"
2754 if test "$withval" = yes; then
2755 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2756 elif test "$withval" = no
; then
2757 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2758 elif test "$withval" = sys
; then
2759 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2760 elif test "$withval" = builtin; then
2761 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2763 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2764 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2765 { (exit 1); exit 1; }; }
2770 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2771 if test "x$LINE" != x
; then
2772 eval "DEFAULT_$LINE"
2777 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2781 eval "$ac_cv_use_libpng"
2782 if test "$no_cache" != 1; then
2783 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2786 if test "$wxUSE_LIBPNG" = yes; then
2787 echo "$as_me:$LINENO: result: yes" >&5
2788 echo "${ECHO_T}yes" >&6
2789 elif test "$wxUSE_LIBPNG" = no
; then
2790 echo "$as_me:$LINENO: result: no" >&5
2791 echo "${ECHO_T}no" >&6
2792 elif test "$wxUSE_LIBPNG" = sys
; then
2793 echo "$as_me:$LINENO: result: system version" >&5
2794 echo "${ECHO_T}system version" >&6
2795 elif test "$wxUSE_LIBPNG" = builtin; then
2796 echo "$as_me:$LINENO: result: builtin version" >&5
2797 echo "${ECHO_T}builtin version" >&6
2799 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2800 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2801 { (exit 1); exit 1; }; }
2805 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2806 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2809 # Check whether --with-libjpeg or --without-libjpeg was given.
2810 if test "${with_libjpeg+set}" = set; then
2811 withval
="$with_libjpeg"
2813 if test "$withval" = yes; then
2814 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2815 elif test "$withval" = no
; then
2816 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2817 elif test "$withval" = sys
; then
2818 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2819 elif test "$withval" = builtin; then
2820 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2822 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2823 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2824 { (exit 1); exit 1; }; }
2829 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2830 if test "x$LINE" != x
; then
2831 eval "DEFAULT_$LINE"
2836 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2840 eval "$ac_cv_use_libjpeg"
2841 if test "$no_cache" != 1; then
2842 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2845 if test "$wxUSE_LIBJPEG" = yes; then
2846 echo "$as_me:$LINENO: result: yes" >&5
2847 echo "${ECHO_T}yes" >&6
2848 elif test "$wxUSE_LIBJPEG" = no
; then
2849 echo "$as_me:$LINENO: result: no" >&5
2850 echo "${ECHO_T}no" >&6
2851 elif test "$wxUSE_LIBJPEG" = sys
; then
2852 echo "$as_me:$LINENO: result: system version" >&5
2853 echo "${ECHO_T}system version" >&6
2854 elif test "$wxUSE_LIBJPEG" = builtin; then
2855 echo "$as_me:$LINENO: result: builtin version" >&5
2856 echo "${ECHO_T}builtin version" >&6
2858 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2859 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2860 { (exit 1); exit 1; }; }
2864 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2865 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2868 # Check whether --with-libtiff or --without-libtiff was given.
2869 if test "${with_libtiff+set}" = set; then
2870 withval
="$with_libtiff"
2872 if test "$withval" = yes; then
2873 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2874 elif test "$withval" = no
; then
2875 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2876 elif test "$withval" = sys
; then
2877 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2878 elif test "$withval" = builtin; then
2879 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2881 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2882 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2883 { (exit 1); exit 1; }; }
2888 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2889 if test "x$LINE" != x
; then
2890 eval "DEFAULT_$LINE"
2895 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2899 eval "$ac_cv_use_libtiff"
2900 if test "$no_cache" != 1; then
2901 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2904 if test "$wxUSE_LIBTIFF" = yes; then
2905 echo "$as_me:$LINENO: result: yes" >&5
2906 echo "${ECHO_T}yes" >&6
2907 elif test "$wxUSE_LIBTIFF" = no
; then
2908 echo "$as_me:$LINENO: result: no" >&5
2909 echo "${ECHO_T}no" >&6
2910 elif test "$wxUSE_LIBTIFF" = sys
; then
2911 echo "$as_me:$LINENO: result: system version" >&5
2912 echo "${ECHO_T}system version" >&6
2913 elif test "$wxUSE_LIBTIFF" = builtin; then
2914 echo "$as_me:$LINENO: result: builtin version" >&5
2915 echo "${ECHO_T}builtin version" >&6
2917 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2918 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2919 { (exit 1); exit 1; }; }
2923 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2924 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2927 # Check whether --with-libxpm or --without-libxpm was given.
2928 if test "${with_libxpm+set}" = set; then
2929 withval
="$with_libxpm"
2931 if test "$withval" = yes; then
2932 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2933 elif test "$withval" = no
; then
2934 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2935 elif test "$withval" = sys
; then
2936 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2937 elif test "$withval" = builtin; then
2938 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2940 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2941 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2942 { (exit 1); exit 1; }; }
2947 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2948 if test "x$LINE" != x
; then
2949 eval "DEFAULT_$LINE"
2954 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2958 eval "$ac_cv_use_libxpm"
2959 if test "$no_cache" != 1; then
2960 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2963 if test "$wxUSE_LIBXPM" = yes; then
2964 echo "$as_me:$LINENO: result: yes" >&5
2965 echo "${ECHO_T}yes" >&6
2966 elif test "$wxUSE_LIBXPM" = no
; then
2967 echo "$as_me:$LINENO: result: no" >&5
2968 echo "${ECHO_T}no" >&6
2969 elif test "$wxUSE_LIBXPM" = sys
; then
2970 echo "$as_me:$LINENO: result: system version" >&5
2971 echo "${ECHO_T}system version" >&6
2972 elif test "$wxUSE_LIBXPM" = builtin; then
2973 echo "$as_me:$LINENO: result: builtin version" >&5
2974 echo "${ECHO_T}builtin version" >&6
2976 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2977 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2978 { (exit 1); exit 1; }; }
2982 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2983 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2986 # Check whether --with-libmspack or --without-libmspack was given.
2987 if test "${with_libmspack+set}" = set; then
2988 withval
="$with_libmspack"
2990 if test "$withval" = yes; then
2991 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
2993 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
2998 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2999 if test "x$LINE" != x
; then
3000 eval "DEFAULT_$LINE"
3005 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3009 eval "$ac_cv_use_libmspack"
3010 if test "$no_cache" != 1; then
3011 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3014 if test "$wxUSE_LIBMSPACK" = yes; then
3015 echo "$as_me:$LINENO: result: yes" >&5
3016 echo "${ECHO_T}yes" >&6
3018 echo "$as_me:$LINENO: result: no" >&5
3019 echo "${ECHO_T}no" >&6
3023 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3024 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3027 # Check whether --with-sdl or --without-sdl was given.
3028 if test "${with_sdl+set}" = set; then
3031 if test "$withval" = yes; then
3032 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3034 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3039 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3040 if test "x$LINE" != x
; then
3041 eval "DEFAULT_$LINE"
3046 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3050 eval "$ac_cv_use_sdl"
3051 if test "$no_cache" != 1; then
3052 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3055 if test "$wxUSE_LIBSDL" = yes; then
3056 echo "$as_me:$LINENO: result: yes" >&5
3057 echo "${ECHO_T}yes" >&6
3059 echo "$as_me:$LINENO: result: no" >&5
3060 echo "${ECHO_T}no" >&6
3064 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3065 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3068 # Check whether --with-opengl or --without-opengl was given.
3069 if test "${with_opengl+set}" = set; then
3070 withval
="$with_opengl"
3072 if test "$withval" = yes; then
3073 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3075 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3080 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3081 if test "x$LINE" != x
; then
3082 eval "DEFAULT_$LINE"
3087 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3091 eval "$ac_cv_use_opengl"
3092 if test "$no_cache" != 1; then
3093 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3096 if test "$wxUSE_OPENGL" = yes; then
3097 echo "$as_me:$LINENO: result: yes" >&5
3098 echo "${ECHO_T}yes" >&6
3100 echo "$as_me:$LINENO: result: no" >&5
3101 echo "${ECHO_T}no" >&6
3108 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3109 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3112 # Check whether --with-dmalloc or --without-dmalloc was given.
3113 if test "${with_dmalloc+set}" = set; then
3114 withval
="$with_dmalloc"
3116 if test "$withval" = yes; then
3117 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3119 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3124 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3125 if test "x$LINE" != x
; then
3126 eval "DEFAULT_$LINE"
3131 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3135 eval "$ac_cv_use_dmalloc"
3136 if test "$no_cache" != 1; then
3137 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3140 if test "$wxUSE_DMALLOC" = yes; then
3141 echo "$as_me:$LINENO: result: yes" >&5
3142 echo "${ECHO_T}yes" >&6
3144 echo "$as_me:$LINENO: result: no" >&5
3145 echo "${ECHO_T}no" >&6
3149 echo "$as_me:$LINENO: checking for --with-regex" >&5
3150 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3153 # Check whether --with-regex or --without-regex was given.
3154 if test "${with_regex+set}" = set; then
3155 withval
="$with_regex"
3157 if test "$withval" = yes; then
3158 ac_cv_use_regex
='wxUSE_REGEX=yes'
3159 elif test "$withval" = no
; then
3160 ac_cv_use_regex
='wxUSE_REGEX=no'
3161 elif test "$withval" = sys
; then
3162 ac_cv_use_regex
='wxUSE_REGEX=sys'
3163 elif test "$withval" = builtin; then
3164 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3166 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3167 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3168 { (exit 1); exit 1; }; }
3173 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3174 if test "x$LINE" != x
; then
3175 eval "DEFAULT_$LINE"
3180 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3184 eval "$ac_cv_use_regex"
3185 if test "$no_cache" != 1; then
3186 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3189 if test "$wxUSE_REGEX" = yes; then
3190 echo "$as_me:$LINENO: result: yes" >&5
3191 echo "${ECHO_T}yes" >&6
3192 elif test "$wxUSE_REGEX" = no
; then
3193 echo "$as_me:$LINENO: result: no" >&5
3194 echo "${ECHO_T}no" >&6
3195 elif test "$wxUSE_REGEX" = sys
; then
3196 echo "$as_me:$LINENO: result: system version" >&5
3197 echo "${ECHO_T}system version" >&6
3198 elif test "$wxUSE_REGEX" = builtin; then
3199 echo "$as_me:$LINENO: result: builtin version" >&5
3200 echo "${ECHO_T}builtin version" >&6
3202 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3203 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3204 { (exit 1); exit 1; }; }
3208 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3209 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3212 # Check whether --with-zlib or --without-zlib was given.
3213 if test "${with_zlib+set}" = set; then
3214 withval
="$with_zlib"
3216 if test "$withval" = yes; then
3217 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3218 elif test "$withval" = no
; then
3219 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3220 elif test "$withval" = sys
; then
3221 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3222 elif test "$withval" = builtin; then
3223 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3225 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3226 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3227 { (exit 1); exit 1; }; }
3232 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3233 if test "x$LINE" != x
; then
3234 eval "DEFAULT_$LINE"
3239 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3243 eval "$ac_cv_use_zlib"
3244 if test "$no_cache" != 1; then
3245 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3248 if test "$wxUSE_ZLIB" = yes; then
3249 echo "$as_me:$LINENO: result: yes" >&5
3250 echo "${ECHO_T}yes" >&6
3251 elif test "$wxUSE_ZLIB" = no
; then
3252 echo "$as_me:$LINENO: result: no" >&5
3253 echo "${ECHO_T}no" >&6
3254 elif test "$wxUSE_ZLIB" = sys
; then
3255 echo "$as_me:$LINENO: result: system version" >&5
3256 echo "${ECHO_T}system version" >&6
3257 elif test "$wxUSE_ZLIB" = builtin; then
3258 echo "$as_me:$LINENO: result: builtin version" >&5
3259 echo "${ECHO_T}builtin version" >&6
3261 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3262 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3263 { (exit 1); exit 1; }; }
3267 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3268 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3271 # Check whether --with-odbc or --without-odbc was given.
3272 if test "${with_odbc+set}" = set; then
3273 withval
="$with_odbc"
3275 if test "$withval" = yes; then
3276 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3277 elif test "$withval" = no
; then
3278 ac_cv_use_odbc
='wxUSE_ODBC=no'
3279 elif test "$withval" = sys
; then
3280 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3281 elif test "$withval" = builtin; then
3282 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3284 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3285 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3286 { (exit 1); exit 1; }; }
3291 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3292 if test "x$LINE" != x
; then
3293 eval "DEFAULT_$LINE"
3298 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3302 eval "$ac_cv_use_odbc"
3303 if test "$no_cache" != 1; then
3304 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3307 if test "$wxUSE_ODBC" = yes; then
3308 echo "$as_me:$LINENO: result: yes" >&5
3309 echo "${ECHO_T}yes" >&6
3310 elif test "$wxUSE_ODBC" = no
; then
3311 echo "$as_me:$LINENO: result: no" >&5
3312 echo "${ECHO_T}no" >&6
3313 elif test "$wxUSE_ODBC" = sys
; then
3314 echo "$as_me:$LINENO: result: system version" >&5
3315 echo "${ECHO_T}system version" >&6
3316 elif test "$wxUSE_ODBC" = builtin; then
3317 echo "$as_me:$LINENO: result: builtin version" >&5
3318 echo "${ECHO_T}builtin version" >&6
3320 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3321 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3322 { (exit 1); exit 1; }; }
3326 echo "$as_me:$LINENO: checking for --with-expat" >&5
3327 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3330 # Check whether --with-expat or --without-expat was given.
3331 if test "${with_expat+set}" = set; then
3332 withval
="$with_expat"
3334 if test "$withval" = yes; then
3335 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3336 elif test "$withval" = no
; then
3337 ac_cv_use_expat
='wxUSE_EXPAT=no'
3338 elif test "$withval" = sys
; then
3339 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3340 elif test "$withval" = builtin; then
3341 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3343 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3344 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3345 { (exit 1); exit 1; }; }
3350 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3351 if test "x$LINE" != x
; then
3352 eval "DEFAULT_$LINE"
3357 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3361 eval "$ac_cv_use_expat"
3362 if test "$no_cache" != 1; then
3363 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3366 if test "$wxUSE_EXPAT" = yes; then
3367 echo "$as_me:$LINENO: result: yes" >&5
3368 echo "${ECHO_T}yes" >&6
3369 elif test "$wxUSE_EXPAT" = no
; then
3370 echo "$as_me:$LINENO: result: no" >&5
3371 echo "${ECHO_T}no" >&6
3372 elif test "$wxUSE_EXPAT" = sys
; then
3373 echo "$as_me:$LINENO: result: system version" >&5
3374 echo "${ECHO_T}system version" >&6
3375 elif test "$wxUSE_EXPAT" = builtin; then
3376 echo "$as_me:$LINENO: result: builtin version" >&5
3377 echo "${ECHO_T}builtin version" >&6
3379 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3380 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3381 { (exit 1); exit 1; }; }
3388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3389 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3391 # Check whether --enable-shared or --disable-shared was given.
3392 if test "${enable_shared+set}" = set; then
3393 enableval
="$enable_shared"
3395 if test "$enableval" = yes; then
3396 ac_cv_use_shared
='wxUSE_SHARED=yes'
3398 ac_cv_use_shared
='wxUSE_SHARED=no'
3403 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3404 if test "x$LINE" != x
; then
3405 eval "DEFAULT_$LINE"
3410 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3414 eval "$ac_cv_use_shared"
3415 if test "$no_cache" != 1; then
3416 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3419 if test "$wxUSE_SHARED" = yes; then
3420 echo "$as_me:$LINENO: result: yes" >&5
3421 echo "${ECHO_T}yes" >&6
3423 echo "$as_me:$LINENO: result: no" >&5
3424 echo "${ECHO_T}no" >&6
3429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3430 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3432 # Check whether --enable-optimise or --disable-optimise was given.
3433 if test "${enable_optimise+set}" = set; then
3434 enableval
="$enable_optimise"
3436 if test "$enableval" = yes; then
3437 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3439 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3444 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3445 if test "x$LINE" != x
; then
3446 eval "DEFAULT_$LINE"
3451 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3455 eval "$ac_cv_use_optimise"
3456 if test "$no_cache" != 1; then
3457 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3460 if test "$wxUSE_OPTIMISE" = yes; then
3461 echo "$as_me:$LINENO: result: yes" >&5
3462 echo "${ECHO_T}yes" >&6
3464 echo "$as_me:$LINENO: result: no" >&5
3465 echo "${ECHO_T}no" >&6
3470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3471 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3473 # Check whether --enable-debug or --disable-debug was given.
3474 if test "${enable_debug+set}" = set; then
3475 enableval
="$enable_debug"
3477 if test "$enableval" = yes; then
3478 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3480 ac_cv_use_debug
='wxUSE_DEBUG=no'
3485 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3486 if test "x$LINE" != x
; then
3487 eval "DEFAULT_$LINE"
3492 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3496 eval "$ac_cv_use_debug"
3497 if test "$no_cache" != 1; then
3498 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3501 if test "$wxUSE_DEBUG" = yes; then
3502 echo "$as_me:$LINENO: result: yes" >&5
3503 echo "${ECHO_T}yes" >&6
3505 echo "$as_me:$LINENO: result: no" >&5
3506 echo "${ECHO_T}no" >&6
3511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3512 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3514 # Check whether --enable-stl or --disable-stl was given.
3515 if test "${enable_stl+set}" = set; then
3516 enableval
="$enable_stl"
3518 if test "$enableval" = yes; then
3519 ac_cv_use_stl
='wxUSE_STL=yes'
3521 ac_cv_use_stl
='wxUSE_STL=no'
3526 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3527 if test "x$LINE" != x
; then
3528 eval "DEFAULT_$LINE"
3533 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3537 eval "$ac_cv_use_stl"
3538 if test "$no_cache" != 1; then
3539 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3542 if test "$wxUSE_STL" = yes; then
3543 echo "$as_me:$LINENO: result: yes" >&5
3544 echo "${ECHO_T}yes" >&6
3546 echo "$as_me:$LINENO: result: no" >&5
3547 echo "${ECHO_T}no" >&6
3550 if test "$USE_OS2" = "1"; then
3553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3554 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3556 # Check whether --enable-omf or --disable-omf was given.
3557 if test "${enable_omf+set}" = set; then
3558 enableval
="$enable_omf"
3560 if test "$enableval" = yes; then
3561 ac_cv_use_omf
='wxUSE_OMF=yes'
3563 ac_cv_use_omf
='wxUSE_OMF=no'
3568 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3569 if test "x$LINE" != x
; then
3570 eval "DEFAULT_$LINE"
3575 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3579 eval "$ac_cv_use_omf"
3580 if test "$no_cache" != 1; then
3581 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3584 if test "$wxUSE_OMF" = yes; then
3585 echo "$as_me:$LINENO: result: yes" >&5
3586 echo "${ECHO_T}yes" >&6
3588 echo "$as_me:$LINENO: result: no" >&5
3589 echo "${ECHO_T}no" >&6
3594 if test "$wxUSE_DEBUG" = "yes"; then
3595 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3596 DEFAULT_wxUSE_DEBUG_INFO
=yes
3598 elif test "$wxUSE_DEBUG" = "no"; then
3599 DEFAULT_wxUSE_DEBUG_FLAG
=no
3600 DEFAULT_wxUSE_DEBUG_INFO
=no
3606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3607 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3609 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3610 if test "${enable_debug_flag+set}" = set; then
3611 enableval
="$enable_debug_flag"
3613 if test "$enableval" = yes; then
3614 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3616 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3621 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3622 if test "x$LINE" != x
; then
3623 eval "DEFAULT_$LINE"
3628 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3632 eval "$ac_cv_use_debug_flag"
3633 if test "$no_cache" != 1; then
3634 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3637 if test "$wxUSE_DEBUG_FLAG" = yes; then
3638 echo "$as_me:$LINENO: result: yes" >&5
3639 echo "${ECHO_T}yes" >&6
3641 echo "$as_me:$LINENO: result: no" >&5
3642 echo "${ECHO_T}no" >&6
3647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3648 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3650 # Check whether --enable-debug_info or --disable-debug_info was given.
3651 if test "${enable_debug_info+set}" = set; then
3652 enableval
="$enable_debug_info"
3654 if test "$enableval" = yes; then
3655 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3657 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3662 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3663 if test "x$LINE" != x
; then
3664 eval "DEFAULT_$LINE"
3669 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3673 eval "$ac_cv_use_debug_info"
3674 if test "$no_cache" != 1; then
3675 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3678 if test "$wxUSE_DEBUG_INFO" = yes; then
3679 echo "$as_me:$LINENO: result: yes" >&5
3680 echo "${ECHO_T}yes" >&6
3682 echo "$as_me:$LINENO: result: no" >&5
3683 echo "${ECHO_T}no" >&6
3688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3689 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3691 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3692 if test "${enable_debug_gdb+set}" = set; then
3693 enableval
="$enable_debug_gdb"
3695 if test "$enableval" = yes; then
3696 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3698 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3703 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3704 if test "x$LINE" != x
; then
3705 eval "DEFAULT_$LINE"
3710 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3714 eval "$ac_cv_use_debug_gdb"
3715 if test "$no_cache" != 1; then
3716 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3719 if test "$wxUSE_DEBUG_GDB" = yes; then
3720 echo "$as_me:$LINENO: result: yes" >&5
3721 echo "${ECHO_T}yes" >&6
3723 echo "$as_me:$LINENO: result: no" >&5
3724 echo "${ECHO_T}no" >&6
3729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3730 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3732 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3733 if test "${enable_debug_cntxt+set}" = set; then
3734 enableval
="$enable_debug_cntxt"
3736 if test "$enableval" = yes; then
3737 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3739 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3744 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3745 if test "x$LINE" != x
; then
3746 eval "DEFAULT_$LINE"
3751 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3755 eval "$ac_cv_use_debug_cntxt"
3756 if test "$no_cache" != 1; then
3757 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3760 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3761 echo "$as_me:$LINENO: result: yes" >&5
3762 echo "${ECHO_T}yes" >&6
3764 echo "$as_me:$LINENO: result: no" >&5
3765 echo "${ECHO_T}no" >&6
3770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3771 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3773 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3774 if test "${enable_mem_tracing+set}" = set; then
3775 enableval
="$enable_mem_tracing"
3777 if test "$enableval" = yes; then
3778 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3780 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3785 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3786 if test "x$LINE" != x
; then
3787 eval "DEFAULT_$LINE"
3792 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3796 eval "$ac_cv_use_mem_tracing"
3797 if test "$no_cache" != 1; then
3798 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3801 if test "$wxUSE_MEM_TRACING" = yes; then
3802 echo "$as_me:$LINENO: result: yes" >&5
3803 echo "${ECHO_T}yes" >&6
3805 echo "$as_me:$LINENO: result: no" >&5
3806 echo "${ECHO_T}no" >&6
3811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3812 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3814 # Check whether --enable-profile or --disable-profile was given.
3815 if test "${enable_profile+set}" = set; then
3816 enableval
="$enable_profile"
3818 if test "$enableval" = yes; then
3819 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3821 ac_cv_use_profile
='wxUSE_PROFILE=no'
3826 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3827 if test "x$LINE" != x
; then
3828 eval "DEFAULT_$LINE"
3833 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3837 eval "$ac_cv_use_profile"
3838 if test "$no_cache" != 1; then
3839 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3842 if test "$wxUSE_PROFILE" = yes; then
3843 echo "$as_me:$LINENO: result: yes" >&5
3844 echo "${ECHO_T}yes" >&6
3846 echo "$as_me:$LINENO: result: no" >&5
3847 echo "${ECHO_T}no" >&6
3852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3853 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3855 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3856 if test "${enable_no_rtti+set}" = set; then
3857 enableval
="$enable_no_rtti"
3859 if test "$enableval" = yes; then
3860 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3862 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3867 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3868 if test "x$LINE" != x
; then
3869 eval "DEFAULT_$LINE"
3874 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3878 eval "$ac_cv_use_no_rtti"
3879 if test "$no_cache" != 1; then
3880 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3883 if test "$wxUSE_NO_RTTI" = yes; then
3884 echo "$as_me:$LINENO: result: yes" >&5
3885 echo "${ECHO_T}yes" >&6
3887 echo "$as_me:$LINENO: result: no" >&5
3888 echo "${ECHO_T}no" >&6
3893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3894 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3896 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3897 if test "${enable_no_exceptions+set}" = set; then
3898 enableval
="$enable_no_exceptions"
3900 if test "$enableval" = yes; then
3901 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3903 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3908 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3909 if test "x$LINE" != x
; then
3910 eval "DEFAULT_$LINE"
3915 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3919 eval "$ac_cv_use_no_exceptions"
3920 if test "$no_cache" != 1; then
3921 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3924 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3925 echo "$as_me:$LINENO: result: yes" >&5
3926 echo "${ECHO_T}yes" >&6
3928 echo "$as_me:$LINENO: result: no" >&5
3929 echo "${ECHO_T}no" >&6
3934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3935 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3937 # Check whether --enable-permissive or --disable-permissive was given.
3938 if test "${enable_permissive+set}" = set; then
3939 enableval
="$enable_permissive"
3941 if test "$enableval" = yes; then
3942 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3944 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3949 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3950 if test "x$LINE" != x
; then
3951 eval "DEFAULT_$LINE"
3956 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3960 eval "$ac_cv_use_permissive"
3961 if test "$no_cache" != 1; then
3962 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3965 if test "$wxUSE_PERMISSIVE" = yes; then
3966 echo "$as_me:$LINENO: result: yes" >&5
3967 echo "${ECHO_T}yes" >&6
3969 echo "$as_me:$LINENO: result: no" >&5
3970 echo "${ECHO_T}no" >&6
3975 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3976 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3978 # Check whether --enable-no_deps or --disable-no_deps was given.
3979 if test "${enable_no_deps+set}" = set; then
3980 enableval
="$enable_no_deps"
3982 if test "$enableval" = yes; then
3983 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3985 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
3990 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3991 if test "x$LINE" != x
; then
3992 eval "DEFAULT_$LINE"
3997 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4001 eval "$ac_cv_use_no_deps"
4002 if test "$no_cache" != 1; then
4003 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4006 if test "$wxUSE_NO_DEPS" = yes; then
4007 echo "$as_me:$LINENO: result: yes" >&5
4008 echo "${ECHO_T}yes" >&6
4010 echo "$as_me:$LINENO: result: no" >&5
4011 echo "${ECHO_T}no" >&6
4017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4018 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4020 # Check whether --enable-compat22 or --disable-compat22 was given.
4021 if test "${enable_compat22+set}" = set; then
4022 enableval
="$enable_compat22"
4024 if test "$enableval" = yes; then
4025 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4027 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4032 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4033 if test "x$LINE" != x
; then
4034 eval "DEFAULT_$LINE"
4039 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4043 eval "$ac_cv_use_compat22"
4044 if test "$no_cache" != 1; then
4045 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4048 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4049 echo "$as_me:$LINENO: result: yes" >&5
4050 echo "${ECHO_T}yes" >&6
4052 echo "$as_me:$LINENO: result: no" >&5
4053 echo "${ECHO_T}no" >&6
4057 enablestring
=disable
4058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4059 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4061 # Check whether --enable-compat24 or --disable-compat24 was given.
4062 if test "${enable_compat24+set}" = set; then
4063 enableval
="$enable_compat24"
4065 if test "$enableval" = yes; then
4066 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4068 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4073 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4074 if test "x$LINE" != x
; then
4075 eval "DEFAULT_$LINE"
4080 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4084 eval "$ac_cv_use_compat24"
4085 if test "$no_cache" != 1; then
4086 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4089 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4090 echo "$as_me:$LINENO: result: yes" >&5
4091 echo "${ECHO_T}yes" >&6
4093 echo "$as_me:$LINENO: result: no" >&5
4094 echo "${ECHO_T}no" >&6
4098 # Check whether --enable-rpath or --disable-rpath was given.
4099 if test "${enable_rpath+set}" = set; then
4100 enableval
="$enable_rpath"
4101 wxRPATH_DIR
="$enableval"
4104 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable" -a "$wxRPATH_DIR" != "no"; then
4105 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
4112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4113 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4115 # Check whether --enable-intl or --disable-intl was given.
4116 if test "${enable_intl+set}" = set; then
4117 enableval
="$enable_intl"
4119 if test "$enableval" = yes; then
4120 ac_cv_use_intl
='wxUSE_INTL=yes'
4122 ac_cv_use_intl
='wxUSE_INTL=no'
4127 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4128 if test "x$LINE" != x
; then
4129 eval "DEFAULT_$LINE"
4134 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4138 eval "$ac_cv_use_intl"
4139 if test "$no_cache" != 1; then
4140 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4143 if test "$wxUSE_INTL" = yes; then
4144 echo "$as_me:$LINENO: result: yes" >&5
4145 echo "${ECHO_T}yes" >&6
4147 echo "$as_me:$LINENO: result: no" >&5
4148 echo "${ECHO_T}no" >&6
4153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4154 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4156 # Check whether --enable-config or --disable-config was given.
4157 if test "${enable_config+set}" = set; then
4158 enableval
="$enable_config"
4160 if test "$enableval" = yes; then
4161 ac_cv_use_config
='wxUSE_CONFIG=yes'
4163 ac_cv_use_config
='wxUSE_CONFIG=no'
4168 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4169 if test "x$LINE" != x
; then
4170 eval "DEFAULT_$LINE"
4175 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4179 eval "$ac_cv_use_config"
4180 if test "$no_cache" != 1; then
4181 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4184 if test "$wxUSE_CONFIG" = yes; then
4185 echo "$as_me:$LINENO: result: yes" >&5
4186 echo "${ECHO_T}yes" >&6
4188 echo "$as_me:$LINENO: result: no" >&5
4189 echo "${ECHO_T}no" >&6
4195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4196 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4198 # Check whether --enable-protocols or --disable-protocols was given.
4199 if test "${enable_protocols+set}" = set; then
4200 enableval
="$enable_protocols"
4202 if test "$enableval" = yes; then
4203 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4205 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4210 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4211 if test "x$LINE" != x
; then
4212 eval "DEFAULT_$LINE"
4217 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4221 eval "$ac_cv_use_protocols"
4222 if test "$no_cache" != 1; then
4223 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4226 if test "$wxUSE_PROTOCOL" = yes; then
4227 echo "$as_me:$LINENO: result: yes" >&5
4228 echo "${ECHO_T}yes" >&6
4230 echo "$as_me:$LINENO: result: no" >&5
4231 echo "${ECHO_T}no" >&6
4236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4237 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4239 # Check whether --enable-ftp or --disable-ftp was given.
4240 if test "${enable_ftp+set}" = set; then
4241 enableval
="$enable_ftp"
4243 if test "$enableval" = yes; then
4244 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4246 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4251 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4252 if test "x$LINE" != x
; then
4253 eval "DEFAULT_$LINE"
4258 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4262 eval "$ac_cv_use_ftp"
4263 if test "$no_cache" != 1; then
4264 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4267 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4268 echo "$as_me:$LINENO: result: yes" >&5
4269 echo "${ECHO_T}yes" >&6
4271 echo "$as_me:$LINENO: result: no" >&5
4272 echo "${ECHO_T}no" >&6
4277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4278 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4280 # Check whether --enable-http or --disable-http was given.
4281 if test "${enable_http+set}" = set; then
4282 enableval
="$enable_http"
4284 if test "$enableval" = yes; then
4285 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4287 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4292 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4293 if test "x$LINE" != x
; then
4294 eval "DEFAULT_$LINE"
4299 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4303 eval "$ac_cv_use_http"
4304 if test "$no_cache" != 1; then
4305 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4308 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4309 echo "$as_me:$LINENO: result: yes" >&5
4310 echo "${ECHO_T}yes" >&6
4312 echo "$as_me:$LINENO: result: no" >&5
4313 echo "${ECHO_T}no" >&6
4318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4319 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4321 # Check whether --enable-fileproto or --disable-fileproto was given.
4322 if test "${enable_fileproto+set}" = set; then
4323 enableval
="$enable_fileproto"
4325 if test "$enableval" = yes; then
4326 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4328 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4333 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4334 if test "x$LINE" != x
; then
4335 eval "DEFAULT_$LINE"
4340 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4344 eval "$ac_cv_use_fileproto"
4345 if test "$no_cache" != 1; then
4346 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4349 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4350 echo "$as_me:$LINENO: result: yes" >&5
4351 echo "${ECHO_T}yes" >&6
4353 echo "$as_me:$LINENO: result: no" >&5
4354 echo "${ECHO_T}no" >&6
4359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4360 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4362 # Check whether --enable-sockets or --disable-sockets was given.
4363 if test "${enable_sockets+set}" = set; then
4364 enableval
="$enable_sockets"
4366 if test "$enableval" = yes; then
4367 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4369 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4374 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4375 if test "x$LINE" != x
; then
4376 eval "DEFAULT_$LINE"
4381 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4385 eval "$ac_cv_use_sockets"
4386 if test "$no_cache" != 1; then
4387 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4390 if test "$wxUSE_SOCKETS" = yes; then
4391 echo "$as_me:$LINENO: result: yes" >&5
4392 echo "${ECHO_T}yes" >&6
4394 echo "$as_me:$LINENO: result: no" >&5
4395 echo "${ECHO_T}no" >&6
4400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4401 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4403 # Check whether --enable-ole or --disable-ole was given.
4404 if test "${enable_ole+set}" = set; then
4405 enableval
="$enable_ole"
4407 if test "$enableval" = yes; then
4408 ac_cv_use_ole
='wxUSE_OLE=yes'
4410 ac_cv_use_ole
='wxUSE_OLE=no'
4415 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4416 if test "x$LINE" != x
; then
4417 eval "DEFAULT_$LINE"
4422 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4426 eval "$ac_cv_use_ole"
4427 if test "$no_cache" != 1; then
4428 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4431 if test "$wxUSE_OLE" = yes; then
4432 echo "$as_me:$LINENO: result: yes" >&5
4433 echo "${ECHO_T}yes" >&6
4435 echo "$as_me:$LINENO: result: no" >&5
4436 echo "${ECHO_T}no" >&6
4441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4442 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4444 # Check whether --enable-dataobj or --disable-dataobj was given.
4445 if test "${enable_dataobj+set}" = set; then
4446 enableval
="$enable_dataobj"
4448 if test "$enableval" = yes; then
4449 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4451 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4456 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4457 if test "x$LINE" != x
; then
4458 eval "DEFAULT_$LINE"
4463 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4467 eval "$ac_cv_use_dataobj"
4468 if test "$no_cache" != 1; then
4469 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4472 if test "$wxUSE_DATAOBJ" = yes; then
4473 echo "$as_me:$LINENO: result: yes" >&5
4474 echo "${ECHO_T}yes" >&6
4476 echo "$as_me:$LINENO: result: no" >&5
4477 echo "${ECHO_T}no" >&6
4483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4484 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4486 # Check whether --enable-ipc or --disable-ipc was given.
4487 if test "${enable_ipc+set}" = set; then
4488 enableval
="$enable_ipc"
4490 if test "$enableval" = yes; then
4491 ac_cv_use_ipc
='wxUSE_IPC=yes'
4493 ac_cv_use_ipc
='wxUSE_IPC=no'
4498 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4499 if test "x$LINE" != x
; then
4500 eval "DEFAULT_$LINE"
4505 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4509 eval "$ac_cv_use_ipc"
4510 if test "$no_cache" != 1; then
4511 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4514 if test "$wxUSE_IPC" = yes; then
4515 echo "$as_me:$LINENO: result: yes" >&5
4516 echo "${ECHO_T}yes" >&6
4518 echo "$as_me:$LINENO: result: no" >&5
4519 echo "${ECHO_T}no" >&6
4525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4526 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4528 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4529 if test "${enable_apple_ieee+set}" = set; then
4530 enableval
="$enable_apple_ieee"
4532 if test "$enableval" = yes; then
4533 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4535 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4540 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4541 if test "x$LINE" != x
; then
4542 eval "DEFAULT_$LINE"
4547 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4551 eval "$ac_cv_use_apple_ieee"
4552 if test "$no_cache" != 1; then
4553 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4556 if test "$wxUSE_APPLE_IEEE" = yes; then
4557 echo "$as_me:$LINENO: result: yes" >&5
4558 echo "${ECHO_T}yes" >&6
4560 echo "$as_me:$LINENO: result: no" >&5
4561 echo "${ECHO_T}no" >&6
4566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4567 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4569 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4570 if test "${enable_catch_segvs+set}" = set; then
4571 enableval
="$enable_catch_segvs"
4573 if test "$enableval" = yes; then
4574 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4576 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4581 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4582 if test "x$LINE" != x
; then
4583 eval "DEFAULT_$LINE"
4588 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4592 eval "$ac_cv_use_catch_segvs"
4593 if test "$no_cache" != 1; then
4594 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4597 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4598 echo "$as_me:$LINENO: result: yes" >&5
4599 echo "${ECHO_T}yes" >&6
4601 echo "$as_me:$LINENO: result: no" >&5
4602 echo "${ECHO_T}no" >&6
4607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4608 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4610 # Check whether --enable-cmdline or --disable-cmdline was given.
4611 if test "${enable_cmdline+set}" = set; then
4612 enableval
="$enable_cmdline"
4614 if test "$enableval" = yes; then
4615 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4617 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4622 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4623 if test "x$LINE" != x
; then
4624 eval "DEFAULT_$LINE"
4629 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4633 eval "$ac_cv_use_cmdline"
4634 if test "$no_cache" != 1; then
4635 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4638 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4639 echo "$as_me:$LINENO: result: yes" >&5
4640 echo "${ECHO_T}yes" >&6
4642 echo "$as_me:$LINENO: result: no" >&5
4643 echo "${ECHO_T}no" >&6
4648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4649 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4651 # Check whether --enable-datetime or --disable-datetime was given.
4652 if test "${enable_datetime+set}" = set; then
4653 enableval
="$enable_datetime"
4655 if test "$enableval" = yes; then
4656 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4658 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4663 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4664 if test "x$LINE" != x
; then
4665 eval "DEFAULT_$LINE"
4670 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4674 eval "$ac_cv_use_datetime"
4675 if test "$no_cache" != 1; then
4676 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4679 if test "$wxUSE_DATETIME" = yes; then
4680 echo "$as_me:$LINENO: result: yes" >&5
4681 echo "${ECHO_T}yes" >&6
4683 echo "$as_me:$LINENO: result: no" >&5
4684 echo "${ECHO_T}no" >&6
4689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4690 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4692 # Check whether --enable-dialupman or --disable-dialupman was given.
4693 if test "${enable_dialupman+set}" = set; then
4694 enableval
="$enable_dialupman"
4696 if test "$enableval" = yes; then
4697 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4699 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4704 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4705 if test "x$LINE" != x
; then
4706 eval "DEFAULT_$LINE"
4711 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4715 eval "$ac_cv_use_dialupman"
4716 if test "$no_cache" != 1; then
4717 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4720 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4721 echo "$as_me:$LINENO: result: yes" >&5
4722 echo "${ECHO_T}yes" >&6
4724 echo "$as_me:$LINENO: result: no" >&5
4725 echo "${ECHO_T}no" >&6
4730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4731 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4733 # Check whether --enable-dynlib or --disable-dynlib was given.
4734 if test "${enable_dynlib+set}" = set; then
4735 enableval
="$enable_dynlib"
4737 if test "$enableval" = yes; then
4738 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4740 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4745 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4746 if test "x$LINE" != x
; then
4747 eval "DEFAULT_$LINE"
4752 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4756 eval "$ac_cv_use_dynlib"
4757 if test "$no_cache" != 1; then
4758 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4761 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4762 echo "$as_me:$LINENO: result: yes" >&5
4763 echo "${ECHO_T}yes" >&6
4765 echo "$as_me:$LINENO: result: no" >&5
4766 echo "${ECHO_T}no" >&6
4771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4772 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4774 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4775 if test "${enable_dynamicloader+set}" = set; then
4776 enableval
="$enable_dynamicloader"
4778 if test "$enableval" = yes; then
4779 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4781 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4786 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4787 if test "x$LINE" != x
; then
4788 eval "DEFAULT_$LINE"
4793 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4797 eval "$ac_cv_use_dynamicloader"
4798 if test "$no_cache" != 1; then
4799 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4802 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4803 echo "$as_me:$LINENO: result: yes" >&5
4804 echo "${ECHO_T}yes" >&6
4806 echo "$as_me:$LINENO: result: no" >&5
4807 echo "${ECHO_T}no" >&6
4812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4813 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4815 # Check whether --enable-exceptions or --disable-exceptions was given.
4816 if test "${enable_exceptions+set}" = set; then
4817 enableval
="$enable_exceptions"
4819 if test "$enableval" = yes; then
4820 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4822 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4827 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4828 if test "x$LINE" != x
; then
4829 eval "DEFAULT_$LINE"
4834 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4838 eval "$ac_cv_use_exceptions"
4839 if test "$no_cache" != 1; then
4840 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4843 if test "$wxUSE_EXCEPTIONS" = yes; then
4844 echo "$as_me:$LINENO: result: yes" >&5
4845 echo "${ECHO_T}yes" >&6
4847 echo "$as_me:$LINENO: result: no" >&5
4848 echo "${ECHO_T}no" >&6
4853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4854 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4856 # Check whether --enable-ffile or --disable-ffile was given.
4857 if test "${enable_ffile+set}" = set; then
4858 enableval
="$enable_ffile"
4860 if test "$enableval" = yes; then
4861 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4863 ac_cv_use_ffile
='wxUSE_FFILE=no'
4868 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4869 if test "x$LINE" != x
; then
4870 eval "DEFAULT_$LINE"
4875 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4879 eval "$ac_cv_use_ffile"
4880 if test "$no_cache" != 1; then
4881 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4884 if test "$wxUSE_FFILE" = yes; then
4885 echo "$as_me:$LINENO: result: yes" >&5
4886 echo "${ECHO_T}yes" >&6
4888 echo "$as_me:$LINENO: result: no" >&5
4889 echo "${ECHO_T}no" >&6
4894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4895 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4897 # Check whether --enable-file or --disable-file was given.
4898 if test "${enable_file+set}" = set; then
4899 enableval
="$enable_file"
4901 if test "$enableval" = yes; then
4902 ac_cv_use_file
='wxUSE_FILE=yes'
4904 ac_cv_use_file
='wxUSE_FILE=no'
4909 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4910 if test "x$LINE" != x
; then
4911 eval "DEFAULT_$LINE"
4916 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4920 eval "$ac_cv_use_file"
4921 if test "$no_cache" != 1; then
4922 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4925 if test "$wxUSE_FILE" = yes; then
4926 echo "$as_me:$LINENO: result: yes" >&5
4927 echo "${ECHO_T}yes" >&6
4929 echo "$as_me:$LINENO: result: no" >&5
4930 echo "${ECHO_T}no" >&6
4935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4936 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4938 # Check whether --enable-filesystem or --disable-filesystem was given.
4939 if test "${enable_filesystem+set}" = set; then
4940 enableval
="$enable_filesystem"
4942 if test "$enableval" = yes; then
4943 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4945 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4950 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4951 if test "x$LINE" != x
; then
4952 eval "DEFAULT_$LINE"
4957 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4961 eval "$ac_cv_use_filesystem"
4962 if test "$no_cache" != 1; then
4963 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4966 if test "$wxUSE_FILESYSTEM" = yes; then
4967 echo "$as_me:$LINENO: result: yes" >&5
4968 echo "${ECHO_T}yes" >&6
4970 echo "$as_me:$LINENO: result: no" >&5
4971 echo "${ECHO_T}no" >&6
4976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4977 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4979 # Check whether --enable-fontmap or --disable-fontmap was given.
4980 if test "${enable_fontmap+set}" = set; then
4981 enableval
="$enable_fontmap"
4983 if test "$enableval" = yes; then
4984 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4986 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4991 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4992 if test "x$LINE" != x
; then
4993 eval "DEFAULT_$LINE"
4998 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5002 eval "$ac_cv_use_fontmap"
5003 if test "$no_cache" != 1; then
5004 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5007 if test "$wxUSE_FONTMAP" = yes; then
5008 echo "$as_me:$LINENO: result: yes" >&5
5009 echo "${ECHO_T}yes" >&6
5011 echo "$as_me:$LINENO: result: no" >&5
5012 echo "${ECHO_T}no" >&6
5017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5018 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5020 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5021 if test "${enable_fs_inet+set}" = set; then
5022 enableval
="$enable_fs_inet"
5024 if test "$enableval" = yes; then
5025 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5027 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5032 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5033 if test "x$LINE" != x
; then
5034 eval "DEFAULT_$LINE"
5039 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5043 eval "$ac_cv_use_fs_inet"
5044 if test "$no_cache" != 1; then
5045 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5048 if test "$wxUSE_FS_INET" = yes; then
5049 echo "$as_me:$LINENO: result: yes" >&5
5050 echo "${ECHO_T}yes" >&6
5052 echo "$as_me:$LINENO: result: no" >&5
5053 echo "${ECHO_T}no" >&6
5058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5059 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5061 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5062 if test "${enable_fs_zip+set}" = set; then
5063 enableval
="$enable_fs_zip"
5065 if test "$enableval" = yes; then
5066 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5068 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5073 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5074 if test "x$LINE" != x
; then
5075 eval "DEFAULT_$LINE"
5080 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5084 eval "$ac_cv_use_fs_zip"
5085 if test "$no_cache" != 1; then
5086 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5089 if test "$wxUSE_FS_ZIP" = yes; then
5090 echo "$as_me:$LINENO: result: yes" >&5
5091 echo "${ECHO_T}yes" >&6
5093 echo "$as_me:$LINENO: result: no" >&5
5094 echo "${ECHO_T}no" >&6
5099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5100 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5102 # Check whether --enable-geometry or --disable-geometry was given.
5103 if test "${enable_geometry+set}" = set; then
5104 enableval
="$enable_geometry"
5106 if test "$enableval" = yes; then
5107 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5109 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5114 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5115 if test "x$LINE" != x
; then
5116 eval "DEFAULT_$LINE"
5121 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5125 eval "$ac_cv_use_geometry"
5126 if test "$no_cache" != 1; then
5127 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5130 if test "$wxUSE_GEOMETRY" = yes; then
5131 echo "$as_me:$LINENO: result: yes" >&5
5132 echo "${ECHO_T}yes" >&6
5134 echo "$as_me:$LINENO: result: no" >&5
5135 echo "${ECHO_T}no" >&6
5140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5141 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5143 # Check whether --enable-log or --disable-log was given.
5144 if test "${enable_log+set}" = set; then
5145 enableval
="$enable_log"
5147 if test "$enableval" = yes; then
5148 ac_cv_use_log
='wxUSE_LOG=yes'
5150 ac_cv_use_log
='wxUSE_LOG=no'
5155 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5156 if test "x$LINE" != x
; then
5157 eval "DEFAULT_$LINE"
5162 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5166 eval "$ac_cv_use_log"
5167 if test "$no_cache" != 1; then
5168 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5171 if test "$wxUSE_LOG" = yes; then
5172 echo "$as_me:$LINENO: result: yes" >&5
5173 echo "${ECHO_T}yes" >&6
5175 echo "$as_me:$LINENO: result: no" >&5
5176 echo "${ECHO_T}no" >&6
5181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5182 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5184 # Check whether --enable-longlong or --disable-longlong was given.
5185 if test "${enable_longlong+set}" = set; then
5186 enableval
="$enable_longlong"
5188 if test "$enableval" = yes; then
5189 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5191 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5196 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5197 if test "x$LINE" != x
; then
5198 eval "DEFAULT_$LINE"
5203 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5207 eval "$ac_cv_use_longlong"
5208 if test "$no_cache" != 1; then
5209 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5212 if test "$wxUSE_LONGLONG" = yes; then
5213 echo "$as_me:$LINENO: result: yes" >&5
5214 echo "${ECHO_T}yes" >&6
5216 echo "$as_me:$LINENO: result: no" >&5
5217 echo "${ECHO_T}no" >&6
5222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5223 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5225 # Check whether --enable-mimetype or --disable-mimetype was given.
5226 if test "${enable_mimetype+set}" = set; then
5227 enableval
="$enable_mimetype"
5229 if test "$enableval" = yes; then
5230 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5232 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5237 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5238 if test "x$LINE" != x
; then
5239 eval "DEFAULT_$LINE"
5244 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5248 eval "$ac_cv_use_mimetype"
5249 if test "$no_cache" != 1; then
5250 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5253 if test "$wxUSE_MIMETYPE" = yes; then
5254 echo "$as_me:$LINENO: result: yes" >&5
5255 echo "${ECHO_T}yes" >&6
5257 echo "$as_me:$LINENO: result: no" >&5
5258 echo "${ECHO_T}no" >&6
5263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5264 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5266 # Check whether --enable-mslu or --disable-mslu was given.
5267 if test "${enable_mslu+set}" = set; then
5268 enableval
="$enable_mslu"
5270 if test "$enableval" = yes; then
5271 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5273 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5278 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5279 if test "x$LINE" != x
; then
5280 eval "DEFAULT_$LINE"
5285 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5289 eval "$ac_cv_use_mslu"
5290 if test "$no_cache" != 1; then
5291 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5294 if test "$wxUSE_UNICODE_MSLU" = yes; then
5295 echo "$as_me:$LINENO: result: yes" >&5
5296 echo "${ECHO_T}yes" >&6
5298 echo "$as_me:$LINENO: result: no" >&5
5299 echo "${ECHO_T}no" >&6
5304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5305 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5307 # Check whether --enable-snglinst or --disable-snglinst was given.
5308 if test "${enable_snglinst+set}" = set; then
5309 enableval
="$enable_snglinst"
5311 if test "$enableval" = yes; then
5312 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5314 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5319 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5320 if test "x$LINE" != x
; then
5321 eval "DEFAULT_$LINE"
5326 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5330 eval "$ac_cv_use_snglinst"
5331 if test "$no_cache" != 1; then
5332 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5335 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5336 echo "$as_me:$LINENO: result: yes" >&5
5337 echo "${ECHO_T}yes" >&6
5339 echo "$as_me:$LINENO: result: no" >&5
5340 echo "${ECHO_T}no" >&6
5345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5346 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5348 # Check whether --enable-streams or --disable-streams was given.
5349 if test "${enable_streams+set}" = set; then
5350 enableval
="$enable_streams"
5352 if test "$enableval" = yes; then
5353 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5355 ac_cv_use_streams
='wxUSE_STREAMS=no'
5360 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5361 if test "x$LINE" != x
; then
5362 eval "DEFAULT_$LINE"
5367 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5371 eval "$ac_cv_use_streams"
5372 if test "$no_cache" != 1; then
5373 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5376 if test "$wxUSE_STREAMS" = yes; then
5377 echo "$as_me:$LINENO: result: yes" >&5
5378 echo "${ECHO_T}yes" >&6
5380 echo "$as_me:$LINENO: result: no" >&5
5381 echo "${ECHO_T}no" >&6
5386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5387 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5389 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5390 if test "${enable_std_iostreams+set}" = set; then
5391 enableval
="$enable_std_iostreams"
5393 if test "$enableval" = yes; then
5394 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5396 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5401 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5402 if test "x$LINE" != x
; then
5403 eval "DEFAULT_$LINE"
5408 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5412 eval "$ac_cv_use_std_iostreams"
5413 if test "$no_cache" != 1; then
5414 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5417 if test "$wxUSE_STD_IOSTREAM" = yes; then
5418 echo "$as_me:$LINENO: result: yes" >&5
5419 echo "${ECHO_T}yes" >&6
5421 echo "$as_me:$LINENO: result: no" >&5
5422 echo "${ECHO_T}no" >&6
5427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5428 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5430 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5431 if test "${enable_stopwatch+set}" = set; then
5432 enableval
="$enable_stopwatch"
5434 if test "$enableval" = yes; then
5435 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5437 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5442 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5443 if test "x$LINE" != x
; then
5444 eval "DEFAULT_$LINE"
5449 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5453 eval "$ac_cv_use_stopwatch"
5454 if test "$no_cache" != 1; then
5455 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5458 if test "$wxUSE_STOPWATCH" = yes; then
5459 echo "$as_me:$LINENO: result: yes" >&5
5460 echo "${ECHO_T}yes" >&6
5462 echo "$as_me:$LINENO: result: no" >&5
5463 echo "${ECHO_T}no" >&6
5468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5469 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5471 # Check whether --enable-system_options or --disable-system_options was given.
5472 if test "${enable_system_options+set}" = set; then
5473 enableval
="$enable_system_options"
5475 if test "$enableval" = yes; then
5476 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5478 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5483 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5484 if test "x$LINE" != x
; then
5485 eval "DEFAULT_$LINE"
5490 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5494 eval "$ac_cv_use_system_options"
5495 if test "$no_cache" != 1; then
5496 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5499 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5500 echo "$as_me:$LINENO: result: yes" >&5
5501 echo "${ECHO_T}yes" >&6
5503 echo "$as_me:$LINENO: result: no" >&5
5504 echo "${ECHO_T}no" >&6
5509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5510 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5512 # Check whether --enable-textbuf or --disable-textbuf was given.
5513 if test "${enable_textbuf+set}" = set; then
5514 enableval
="$enable_textbuf"
5516 if test "$enableval" = yes; then
5517 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5519 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5524 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5525 if test "x$LINE" != x
; then
5526 eval "DEFAULT_$LINE"
5531 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5535 eval "$ac_cv_use_textbuf"
5536 if test "$no_cache" != 1; then
5537 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5540 if test "$wxUSE_TEXTBUFFER" = yes; then
5541 echo "$as_me:$LINENO: result: yes" >&5
5542 echo "${ECHO_T}yes" >&6
5544 echo "$as_me:$LINENO: result: no" >&5
5545 echo "${ECHO_T}no" >&6
5550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5551 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5553 # Check whether --enable-textfile or --disable-textfile was given.
5554 if test "${enable_textfile+set}" = set; then
5555 enableval
="$enable_textfile"
5557 if test "$enableval" = yes; then
5558 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5560 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5565 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5566 if test "x$LINE" != x
; then
5567 eval "DEFAULT_$LINE"
5572 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5576 eval "$ac_cv_use_textfile"
5577 if test "$no_cache" != 1; then
5578 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5581 if test "$wxUSE_TEXTFILE" = yes; then
5582 echo "$as_me:$LINENO: result: yes" >&5
5583 echo "${ECHO_T}yes" >&6
5585 echo "$as_me:$LINENO: result: no" >&5
5586 echo "${ECHO_T}no" >&6
5591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5592 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5594 # Check whether --enable-timer or --disable-timer was given.
5595 if test "${enable_timer+set}" = set; then
5596 enableval
="$enable_timer"
5598 if test "$enableval" = yes; then
5599 ac_cv_use_timer
='wxUSE_TIMER=yes'
5601 ac_cv_use_timer
='wxUSE_TIMER=no'
5606 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5607 if test "x$LINE" != x
; then
5608 eval "DEFAULT_$LINE"
5613 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5617 eval "$ac_cv_use_timer"
5618 if test "$no_cache" != 1; then
5619 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5622 if test "$wxUSE_TIMER" = yes; then
5623 echo "$as_me:$LINENO: result: yes" >&5
5624 echo "${ECHO_T}yes" >&6
5626 echo "$as_me:$LINENO: result: no" >&5
5627 echo "${ECHO_T}no" >&6
5632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5633 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5635 # Check whether --enable-unicode or --disable-unicode was given.
5636 if test "${enable_unicode+set}" = set; then
5637 enableval
="$enable_unicode"
5639 if test "$enableval" = yes; then
5640 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5642 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5647 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5648 if test "x$LINE" != x
; then
5649 eval "DEFAULT_$LINE"
5654 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5658 eval "$ac_cv_use_unicode"
5659 if test "$no_cache" != 1; then
5660 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5663 if test "$wxUSE_UNICODE" = yes; then
5664 echo "$as_me:$LINENO: result: yes" >&5
5665 echo "${ECHO_T}yes" >&6
5667 echo "$as_me:$LINENO: result: no" >&5
5668 echo "${ECHO_T}no" >&6
5673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5674 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5676 # Check whether --enable-sound or --disable-sound was given.
5677 if test "${enable_sound+set}" = set; then
5678 enableval
="$enable_sound"
5680 if test "$enableval" = yes; then
5681 ac_cv_use_sound
='wxUSE_SOUND=yes'
5683 ac_cv_use_sound
='wxUSE_SOUND=no'
5688 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5689 if test "x$LINE" != x
; then
5690 eval "DEFAULT_$LINE"
5695 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5699 eval "$ac_cv_use_sound"
5700 if test "$no_cache" != 1; then
5701 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5704 if test "$wxUSE_SOUND" = yes; then
5705 echo "$as_me:$LINENO: result: yes" >&5
5706 echo "${ECHO_T}yes" >&6
5708 echo "$as_me:$LINENO: result: no" >&5
5709 echo "${ECHO_T}no" >&6
5714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5715 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5717 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5718 if test "${enable_wxprintfv+set}" = set; then
5719 enableval
="$enable_wxprintfv"
5721 if test "$enableval" = yes; then
5722 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5724 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5729 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5730 if test "x$LINE" != x
; then
5731 eval "DEFAULT_$LINE"
5736 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5740 eval "$ac_cv_use_wxprintfv"
5741 if test "$no_cache" != 1; then
5742 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5745 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5746 echo "$as_me:$LINENO: result: yes" >&5
5747 echo "${ECHO_T}yes" >&6
5749 echo "$as_me:$LINENO: result: no" >&5
5750 echo "${ECHO_T}no" >&6
5755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5756 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5758 # Check whether --enable-zipstream or --disable-zipstream was given.
5759 if test "${enable_zipstream+set}" = set; then
5760 enableval
="$enable_zipstream"
5762 if test "$enableval" = yes; then
5763 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5765 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5770 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5771 if test "x$LINE" != x
; then
5772 eval "DEFAULT_$LINE"
5777 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5781 eval "$ac_cv_use_zipstream"
5782 if test "$no_cache" != 1; then
5783 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5786 if test "$wxUSE_ZIPSTREAM" = yes; then
5787 echo "$as_me:$LINENO: result: yes" >&5
5788 echo "${ECHO_T}yes" >&6
5790 echo "$as_me:$LINENO: result: no" >&5
5791 echo "${ECHO_T}no" >&6
5797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5798 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5800 # Check whether --enable-url or --disable-url was given.
5801 if test "${enable_url+set}" = set; then
5802 enableval
="$enable_url"
5804 if test "$enableval" = yes; then
5805 ac_cv_use_url
='wxUSE_URL=yes'
5807 ac_cv_use_url
='wxUSE_URL=no'
5812 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5813 if test "x$LINE" != x
; then
5814 eval "DEFAULT_$LINE"
5819 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5823 eval "$ac_cv_use_url"
5824 if test "$no_cache" != 1; then
5825 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5828 if test "$wxUSE_URL" = yes; then
5829 echo "$as_me:$LINENO: result: yes" >&5
5830 echo "${ECHO_T}yes" >&6
5832 echo "$as_me:$LINENO: result: no" >&5
5833 echo "${ECHO_T}no" >&6
5838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5839 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5841 # Check whether --enable-protocol or --disable-protocol was given.
5842 if test "${enable_protocol+set}" = set; then
5843 enableval
="$enable_protocol"
5845 if test "$enableval" = yes; then
5846 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5848 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5853 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5854 if test "x$LINE" != x
; then
5855 eval "DEFAULT_$LINE"
5860 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5864 eval "$ac_cv_use_protocol"
5865 if test "$no_cache" != 1; then
5866 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5869 if test "$wxUSE_PROTOCOL" = yes; then
5870 echo "$as_me:$LINENO: result: yes" >&5
5871 echo "${ECHO_T}yes" >&6
5873 echo "$as_me:$LINENO: result: no" >&5
5874 echo "${ECHO_T}no" >&6
5879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5880 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5882 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5883 if test "${enable_protocol_http+set}" = set; then
5884 enableval
="$enable_protocol_http"
5886 if test "$enableval" = yes; then
5887 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5889 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5894 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5895 if test "x$LINE" != x
; then
5896 eval "DEFAULT_$LINE"
5901 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5905 eval "$ac_cv_use_protocol_http"
5906 if test "$no_cache" != 1; then
5907 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5910 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5911 echo "$as_me:$LINENO: result: yes" >&5
5912 echo "${ECHO_T}yes" >&6
5914 echo "$as_me:$LINENO: result: no" >&5
5915 echo "${ECHO_T}no" >&6
5920 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5921 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5923 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5924 if test "${enable_protocol_ftp+set}" = set; then
5925 enableval
="$enable_protocol_ftp"
5927 if test "$enableval" = yes; then
5928 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5930 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5935 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5936 if test "x$LINE" != x
; then
5937 eval "DEFAULT_$LINE"
5942 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5946 eval "$ac_cv_use_protocol_ftp"
5947 if test "$no_cache" != 1; then
5948 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5951 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5952 echo "$as_me:$LINENO: result: yes" >&5
5953 echo "${ECHO_T}yes" >&6
5955 echo "$as_me:$LINENO: result: no" >&5
5956 echo "${ECHO_T}no" >&6
5961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5962 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5964 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5965 if test "${enable_protocol_file+set}" = set; then
5966 enableval
="$enable_protocol_file"
5968 if test "$enableval" = yes; then
5969 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
5971 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
5976 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5977 if test "x$LINE" != x
; then
5978 eval "DEFAULT_$LINE"
5983 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5987 eval "$ac_cv_use_protocol_file"
5988 if test "$no_cache" != 1; then
5989 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5992 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5993 echo "$as_me:$LINENO: result: yes" >&5
5994 echo "${ECHO_T}yes" >&6
5996 echo "$as_me:$LINENO: result: no" >&5
5997 echo "${ECHO_T}no" >&6
6005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6006 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6008 # Check whether --enable-threads or --disable-threads was given.
6009 if test "${enable_threads+set}" = set; then
6010 enableval
="$enable_threads"
6012 if test "$enableval" = yes; then
6013 ac_cv_use_threads
='wxUSE_THREADS=yes'
6015 ac_cv_use_threads
='wxUSE_THREADS=no'
6020 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6021 if test "x$LINE" != x
; then
6022 eval "DEFAULT_$LINE"
6027 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6031 eval "$ac_cv_use_threads"
6032 if test "$no_cache" != 1; then
6033 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6036 if test "$wxUSE_THREADS" = yes; then
6037 echo "$as_me:$LINENO: result: yes" >&5
6038 echo "${ECHO_T}yes" >&6
6040 echo "$as_me:$LINENO: result: no" >&5
6041 echo "${ECHO_T}no" >&6
6045 if test "$wxUSE_GUI" = "yes"; then
6050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6051 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6053 # Check whether --enable-docview or --disable-docview was given.
6054 if test "${enable_docview+set}" = set; then
6055 enableval
="$enable_docview"
6057 if test "$enableval" = yes; then
6058 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6060 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6065 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6066 if test "x$LINE" != x
; then
6067 eval "DEFAULT_$LINE"
6072 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6076 eval "$ac_cv_use_docview"
6077 if test "$no_cache" != 1; then
6078 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6081 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6082 echo "$as_me:$LINENO: result: yes" >&5
6083 echo "${ECHO_T}yes" >&6
6085 echo "$as_me:$LINENO: result: no" >&5
6086 echo "${ECHO_T}no" >&6
6091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6092 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6094 # Check whether --enable-help or --disable-help was given.
6095 if test "${enable_help+set}" = set; then
6096 enableval
="$enable_help"
6098 if test "$enableval" = yes; then
6099 ac_cv_use_help
='wxUSE_HELP=yes'
6101 ac_cv_use_help
='wxUSE_HELP=no'
6106 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6107 if test "x$LINE" != x
; then
6108 eval "DEFAULT_$LINE"
6113 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6117 eval "$ac_cv_use_help"
6118 if test "$no_cache" != 1; then
6119 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6122 if test "$wxUSE_HELP" = yes; then
6123 echo "$as_me:$LINENO: result: yes" >&5
6124 echo "${ECHO_T}yes" >&6
6126 echo "$as_me:$LINENO: result: no" >&5
6127 echo "${ECHO_T}no" >&6
6132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6133 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6135 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6136 if test "${enable_mshtmlhelp+set}" = set; then
6137 enableval
="$enable_mshtmlhelp"
6139 if test "$enableval" = yes; then
6140 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6142 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6147 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6148 if test "x$LINE" != x
; then
6149 eval "DEFAULT_$LINE"
6154 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6158 eval "$ac_cv_use_mshtmlhelp"
6159 if test "$no_cache" != 1; then
6160 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6163 if test "$wxUSE_MS_HTML_HELP" = yes; then
6164 echo "$as_me:$LINENO: result: yes" >&5
6165 echo "${ECHO_T}yes" >&6
6167 echo "$as_me:$LINENO: result: no" >&5
6168 echo "${ECHO_T}no" >&6
6173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6174 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6176 # Check whether --enable-html or --disable-html was given.
6177 if test "${enable_html+set}" = set; then
6178 enableval
="$enable_html"
6180 if test "$enableval" = yes; then
6181 ac_cv_use_html
='wxUSE_HTML=yes'
6183 ac_cv_use_html
='wxUSE_HTML=no'
6188 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6189 if test "x$LINE" != x
; then
6190 eval "DEFAULT_$LINE"
6195 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6199 eval "$ac_cv_use_html"
6200 if test "$no_cache" != 1; then
6201 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6204 if test "$wxUSE_HTML" = yes; then
6205 echo "$as_me:$LINENO: result: yes" >&5
6206 echo "${ECHO_T}yes" >&6
6208 echo "$as_me:$LINENO: result: no" >&5
6209 echo "${ECHO_T}no" >&6
6214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6215 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6217 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6218 if test "${enable_htmlhelp+set}" = set; then
6219 enableval
="$enable_htmlhelp"
6221 if test "$enableval" = yes; then
6222 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6224 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6229 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6230 if test "x$LINE" != x
; then
6231 eval "DEFAULT_$LINE"
6236 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6240 eval "$ac_cv_use_htmlhelp"
6241 if test "$no_cache" != 1; then
6242 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6245 if test "$wxUSE_WXHTML_HELP" = yes; then
6246 echo "$as_me:$LINENO: result: yes" >&5
6247 echo "${ECHO_T}yes" >&6
6249 echo "$as_me:$LINENO: result: no" >&5
6250 echo "${ECHO_T}no" >&6
6255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6256 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6258 # Check whether --enable-constraints or --disable-constraints was given.
6259 if test "${enable_constraints+set}" = set; then
6260 enableval
="$enable_constraints"
6262 if test "$enableval" = yes; then
6263 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6265 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6270 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6271 if test "x$LINE" != x
; then
6272 eval "DEFAULT_$LINE"
6277 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6281 eval "$ac_cv_use_constraints"
6282 if test "$no_cache" != 1; then
6283 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6286 if test "$wxUSE_CONSTRAINTS" = yes; then
6287 echo "$as_me:$LINENO: result: yes" >&5
6288 echo "${ECHO_T}yes" >&6
6290 echo "$as_me:$LINENO: result: no" >&5
6291 echo "${ECHO_T}no" >&6
6296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6297 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6299 # Check whether --enable-printarch or --disable-printarch was given.
6300 if test "${enable_printarch+set}" = set; then
6301 enableval
="$enable_printarch"
6303 if test "$enableval" = yes; then
6304 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6306 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6311 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6312 if test "x$LINE" != x
; then
6313 eval "DEFAULT_$LINE"
6318 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6322 eval "$ac_cv_use_printarch"
6323 if test "$no_cache" != 1; then
6324 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6327 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6328 echo "$as_me:$LINENO: result: yes" >&5
6329 echo "${ECHO_T}yes" >&6
6331 echo "$as_me:$LINENO: result: no" >&5
6332 echo "${ECHO_T}no" >&6
6337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6338 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6340 # Check whether --enable-mdi or --disable-mdi was given.
6341 if test "${enable_mdi+set}" = set; then
6342 enableval
="$enable_mdi"
6344 if test "$enableval" = yes; then
6345 ac_cv_use_mdi
='wxUSE_MDI=yes'
6347 ac_cv_use_mdi
='wxUSE_MDI=no'
6352 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6353 if test "x$LINE" != x
; then
6354 eval "DEFAULT_$LINE"
6359 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6363 eval "$ac_cv_use_mdi"
6364 if test "$no_cache" != 1; then
6365 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6368 if test "$wxUSE_MDI" = yes; then
6369 echo "$as_me:$LINENO: result: yes" >&5
6370 echo "${ECHO_T}yes" >&6
6372 echo "$as_me:$LINENO: result: no" >&5
6373 echo "${ECHO_T}no" >&6
6378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6379 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6381 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6382 if test "${enable_mdidoc+set}" = set; then
6383 enableval
="$enable_mdidoc"
6385 if test "$enableval" = yes; then
6386 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6388 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6393 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6394 if test "x$LINE" != x
; then
6395 eval "DEFAULT_$LINE"
6400 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6404 eval "$ac_cv_use_mdidoc"
6405 if test "$no_cache" != 1; then
6406 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6409 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6410 echo "$as_me:$LINENO: result: yes" >&5
6411 echo "${ECHO_T}yes" >&6
6413 echo "$as_me:$LINENO: result: no" >&5
6414 echo "${ECHO_T}no" >&6
6419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6420 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6422 # Check whether --enable-loggui or --disable-loggui was given.
6423 if test "${enable_loggui+set}" = set; then
6424 enableval
="$enable_loggui"
6426 if test "$enableval" = yes; then
6427 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6429 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6434 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6435 if test "x$LINE" != x
; then
6436 eval "DEFAULT_$LINE"
6441 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6445 eval "$ac_cv_use_loggui"
6446 if test "$no_cache" != 1; then
6447 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6450 if test "$wxUSE_LOGGUI" = yes; then
6451 echo "$as_me:$LINENO: result: yes" >&5
6452 echo "${ECHO_T}yes" >&6
6454 echo "$as_me:$LINENO: result: no" >&5
6455 echo "${ECHO_T}no" >&6
6460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6461 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6463 # Check whether --enable-logwin or --disable-logwin was given.
6464 if test "${enable_logwin+set}" = set; then
6465 enableval
="$enable_logwin"
6467 if test "$enableval" = yes; then
6468 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6470 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6475 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6476 if test "x$LINE" != x
; then
6477 eval "DEFAULT_$LINE"
6482 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6486 eval "$ac_cv_use_logwin"
6487 if test "$no_cache" != 1; then
6488 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6491 if test "$wxUSE_LOGWINDOW" = yes; then
6492 echo "$as_me:$LINENO: result: yes" >&5
6493 echo "${ECHO_T}yes" >&6
6495 echo "$as_me:$LINENO: result: no" >&5
6496 echo "${ECHO_T}no" >&6
6501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6502 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6504 # Check whether --enable-logdialog or --disable-logdialog was given.
6505 if test "${enable_logdialog+set}" = set; then
6506 enableval
="$enable_logdialog"
6508 if test "$enableval" = yes; then
6509 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6511 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6516 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6517 if test "x$LINE" != x
; then
6518 eval "DEFAULT_$LINE"
6523 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6527 eval "$ac_cv_use_logdialog"
6528 if test "$no_cache" != 1; then
6529 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6532 if test "$wxUSE_LOGDIALOG" = yes; then
6533 echo "$as_me:$LINENO: result: yes" >&5
6534 echo "${ECHO_T}yes" >&6
6536 echo "$as_me:$LINENO: result: no" >&5
6537 echo "${ECHO_T}no" >&6
6542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6543 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6545 # Check whether --enable-webkit or --disable-webkit was given.
6546 if test "${enable_webkit+set}" = set; then
6547 enableval
="$enable_webkit"
6549 if test "$enableval" = yes; then
6550 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6552 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6557 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6558 if test "x$LINE" != x
; then
6559 eval "DEFAULT_$LINE"
6564 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6568 eval "$ac_cv_use_webkit"
6569 if test "$no_cache" != 1; then
6570 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6573 if test "$wxUSE_WEBKIT" = yes; then
6574 echo "$as_me:$LINENO: result: yes" >&5
6575 echo "${ECHO_T}yes" >&6
6577 echo "$as_me:$LINENO: result: no" >&5
6578 echo "${ECHO_T}no" >&6
6584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6585 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6587 # Check whether --enable-postscript or --disable-postscript was given.
6588 if test "${enable_postscript+set}" = set; then
6589 enableval
="$enable_postscript"
6591 if test "$enableval" = yes; then
6592 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6594 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6599 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6600 if test "x$LINE" != x
; then
6601 eval "DEFAULT_$LINE"
6606 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6610 eval "$ac_cv_use_postscript"
6611 if test "$no_cache" != 1; then
6612 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6615 if test "$wxUSE_POSTSCRIPT" = yes; then
6616 echo "$as_me:$LINENO: result: yes" >&5
6617 echo "${ECHO_T}yes" >&6
6619 echo "$as_me:$LINENO: result: no" >&5
6620 echo "${ECHO_T}no" >&6
6628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6629 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6631 # Check whether --enable-prologio or --disable-prologio was given.
6632 if test "${enable_prologio+set}" = set; then
6633 enableval
="$enable_prologio"
6635 if test "$enableval" = yes; then
6636 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6638 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6643 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6644 if test "x$LINE" != x
; then
6645 eval "DEFAULT_$LINE"
6650 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6654 eval "$ac_cv_use_prologio"
6655 if test "$no_cache" != 1; then
6656 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6659 if test "$wxUSE_PROLOGIO" = yes; then
6660 echo "$as_me:$LINENO: result: yes" >&5
6661 echo "${ECHO_T}yes" >&6
6663 echo "$as_me:$LINENO: result: no" >&5
6664 echo "${ECHO_T}no" >&6
6669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6670 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6672 # Check whether --enable-resources or --disable-resources was given.
6673 if test "${enable_resources+set}" = set; then
6674 enableval
="$enable_resources"
6676 if test "$enableval" = yes; then
6677 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6679 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6684 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6685 if test "x$LINE" != x
; then
6686 eval "DEFAULT_$LINE"
6691 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6695 eval "$ac_cv_use_resources"
6696 if test "$no_cache" != 1; then
6697 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6700 if test "$wxUSE_RESOURCES" = yes; then
6701 echo "$as_me:$LINENO: result: yes" >&5
6702 echo "${ECHO_T}yes" >&6
6704 echo "$as_me:$LINENO: result: no" >&5
6705 echo "${ECHO_T}no" >&6
6712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6713 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6715 # Check whether --enable-clipboard or --disable-clipboard was given.
6716 if test "${enable_clipboard+set}" = set; then
6717 enableval
="$enable_clipboard"
6719 if test "$enableval" = yes; then
6720 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6722 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6727 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6728 if test "x$LINE" != x
; then
6729 eval "DEFAULT_$LINE"
6734 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6738 eval "$ac_cv_use_clipboard"
6739 if test "$no_cache" != 1; then
6740 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6743 if test "$wxUSE_CLIPBOARD" = yes; then
6744 echo "$as_me:$LINENO: result: yes" >&5
6745 echo "${ECHO_T}yes" >&6
6747 echo "$as_me:$LINENO: result: no" >&5
6748 echo "${ECHO_T}no" >&6
6753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6754 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6756 # Check whether --enable-dnd or --disable-dnd was given.
6757 if test "${enable_dnd+set}" = set; then
6758 enableval
="$enable_dnd"
6760 if test "$enableval" = yes; then
6761 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6763 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6768 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6769 if test "x$LINE" != x
; then
6770 eval "DEFAULT_$LINE"
6775 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6779 eval "$ac_cv_use_dnd"
6780 if test "$no_cache" != 1; then
6781 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6784 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6785 echo "$as_me:$LINENO: result: yes" >&5
6786 echo "${ECHO_T}yes" >&6
6788 echo "$as_me:$LINENO: result: no" >&5
6789 echo "${ECHO_T}no" >&6
6794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6795 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6797 # Check whether --enable-metafile or --disable-metafile was given.
6798 if test "${enable_metafile+set}" = set; then
6799 enableval
="$enable_metafile"
6801 if test "$enableval" = yes; then
6802 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6804 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6809 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6810 if test "x$LINE" != x
; then
6811 eval "DEFAULT_$LINE"
6816 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6820 eval "$ac_cv_use_metafile"
6821 if test "$no_cache" != 1; then
6822 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6825 if test "$wxUSE_METAFILE" = yes; then
6826 echo "$as_me:$LINENO: result: yes" >&5
6827 echo "${ECHO_T}yes" >&6
6829 echo "$as_me:$LINENO: result: no" >&5
6830 echo "${ECHO_T}no" >&6
6838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6839 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6841 # Check whether --enable-controls or --disable-controls was given.
6842 if test "${enable_controls+set}" = set; then
6843 enableval
="$enable_controls"
6845 if test "$enableval" = yes; then
6846 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6848 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6853 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6854 if test "x$LINE" != x
; then
6855 eval "DEFAULT_$LINE"
6860 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6864 eval "$ac_cv_use_controls"
6865 if test "$no_cache" != 1; then
6866 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6869 if test "$wxUSE_CONTROLS" = yes; then
6870 echo "$as_me:$LINENO: result: yes" >&5
6871 echo "${ECHO_T}yes" >&6
6873 echo "$as_me:$LINENO: result: no" >&5
6874 echo "${ECHO_T}no" >&6
6878 if test "$wxUSE_CONTROLS" = "yes"; then
6879 DEFAULT_wxUSE_ACCEL
=yes
6880 DEFAULT_wxUSE_BMPBUTTON
=yes
6881 DEFAULT_wxUSE_BUTTON
=yes
6882 DEFAULT_wxUSE_CALCTRL
=no
6883 DEFAULT_wxUSE_CARET
=yes
6884 DEFAULT_wxUSE_COMBOBOX
=yes
6885 DEFAULT_wxUSE_CHECKBOX
=yes
6886 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6887 DEFAULT_wxUSE_CHOICE
=yes
6888 DEFAULT_wxUSE_GAUGE
=yes
6889 DEFAULT_wxUSE_GRID
=yes
6890 DEFAULT_wxUSE_IMAGLIST
=yes
6891 DEFAULT_wxUSE_LISTBOOK
=yes
6892 DEFAULT_wxUSE_LISTBOX
=yes
6893 DEFAULT_wxUSE_LISTCTRL
=yes
6894 DEFAULT_wxUSE_NOTEBOOK
=yes
6895 DEFAULT_wxUSE_RADIOBOX
=yes
6896 DEFAULT_wxUSE_RADIOBTN
=yes
6897 DEFAULT_wxUSE_SASH
=yes
6898 DEFAULT_wxUSE_SCROLLBAR
=yes
6899 DEFAULT_wxUSE_SLIDER
=yes
6900 DEFAULT_wxUSE_SPINBTN
=yes
6901 DEFAULT_wxUSE_SPINCTRL
=yes
6902 DEFAULT_wxUSE_SPLITTER
=yes
6903 DEFAULT_wxUSE_STATBMP
=yes
6904 DEFAULT_wxUSE_STATBOX
=yes
6905 DEFAULT_wxUSE_STATLINE
=yes
6906 DEFAULT_wxUSE_STATUSBAR
=yes
6907 DEFAULT_wxUSE_TAB_DIALOG
=yes
6908 DEFAULT_wxUSE_TOGGLEBTN
=yes
6909 DEFAULT_wxUSE_TOOLBAR
=yes
6910 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6911 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
6912 DEFAULT_wxUSE_TOOLTIPS
=yes
6913 DEFAULT_wxUSE_TREECTRL
=yes
6914 DEFAULT_wxUSE_POPUPWIN
=yes
6915 DEFAULT_wxUSE_TIPWINDOW
=yes
6916 elif test "$wxUSE_CONTROLS" = "no"; then
6917 DEFAULT_wxUSE_ACCEL
=no
6918 DEFAULT_wxUSE_BMPBUTTON
=no
6919 DEFAULT_wxUSE_BUTTON
=no
6920 DEFAULT_wxUSE_CALCTRL
=no
6921 DEFAULT_wxUSE_CARET
=no
6922 DEFAULT_wxUSE_COMBOBOX
=no
6923 DEFAULT_wxUSE_CHECKBOX
=no
6924 DEFAULT_wxUSE_CHECKLISTBOX
=no
6925 DEFAULT_wxUSE_CHOICE
=no
6926 DEFAULT_wxUSE_GAUGE
=no
6927 DEFAULT_wxUSE_GRID
=no
6928 DEFAULT_wxUSE_IMAGLIST
=no
6929 DEFAULT_wxUSE_LISTBOOK
=no
6930 DEFAULT_wxUSE_LISTBOX
=no
6931 DEFAULT_wxUSE_LISTCTRL
=no
6932 DEFAULT_wxUSE_NOTEBOOK
=no
6933 DEFAULT_wxUSE_RADIOBOX
=no
6934 DEFAULT_wxUSE_RADIOBTN
=no
6935 DEFAULT_wxUSE_SASH
=no
6936 DEFAULT_wxUSE_SCROLLBAR
=no
6937 DEFAULT_wxUSE_SLIDER
=no
6938 DEFAULT_wxUSE_SPINBTN
=no
6939 DEFAULT_wxUSE_SPINCTRL
=no
6940 DEFAULT_wxUSE_SPLITTER
=no
6941 DEFAULT_wxUSE_STATBMP
=no
6942 DEFAULT_wxUSE_STATBOX
=no
6943 DEFAULT_wxUSE_STATLINE
=no
6944 DEFAULT_wxUSE_STATUSBAR
=no
6945 DEFAULT_wxUSE_TAB_DIALOG
=no
6946 DEFAULT_wxUSE_TOGGLEBTN
=no
6947 DEFAULT_wxUSE_TOOLBAR
=no
6948 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6949 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
6950 DEFAULT_wxUSE_TOOLTIPS
=no
6951 DEFAULT_wxUSE_TREECTRL
=no
6952 DEFAULT_wxUSE_POPUPWIN
=no
6953 DEFAULT_wxUSE_TIPWINDOW
=no
6956 ## FIXME: This is a blatant hack
6957 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6958 wxUSE_PRINTING_ARCHITECTURE
=no
6959 wxUSE_DRAG_AND_DROP
=no
6960 DEFAULT_wxUSE_SCROLLBAR
=no
6961 DEFAULT_wxUSE_TOOLTIPS
=no
6962 DEFAULT_wxUSE_DRAGIMAGE
=no
6967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6968 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6970 # Check whether --enable-accel or --disable-accel was given.
6971 if test "${enable_accel+set}" = set; then
6972 enableval
="$enable_accel"
6974 if test "$enableval" = yes; then
6975 ac_cv_use_accel
='wxUSE_ACCEL=yes'
6977 ac_cv_use_accel
='wxUSE_ACCEL=no'
6982 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6983 if test "x$LINE" != x
; then
6984 eval "DEFAULT_$LINE"
6989 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6993 eval "$ac_cv_use_accel"
6994 if test "$no_cache" != 1; then
6995 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6998 if test "$wxUSE_ACCEL" = yes; then
6999 echo "$as_me:$LINENO: result: yes" >&5
7000 echo "${ECHO_T}yes" >&6
7002 echo "$as_me:$LINENO: result: no" >&5
7003 echo "${ECHO_T}no" >&6
7008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7009 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7011 # Check whether --enable-button or --disable-button was given.
7012 if test "${enable_button+set}" = set; then
7013 enableval
="$enable_button"
7015 if test "$enableval" = yes; then
7016 ac_cv_use_button
='wxUSE_BUTTON=yes'
7018 ac_cv_use_button
='wxUSE_BUTTON=no'
7023 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7024 if test "x$LINE" != x
; then
7025 eval "DEFAULT_$LINE"
7030 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7034 eval "$ac_cv_use_button"
7035 if test "$no_cache" != 1; then
7036 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7039 if test "$wxUSE_BUTTON" = yes; then
7040 echo "$as_me:$LINENO: result: yes" >&5
7041 echo "${ECHO_T}yes" >&6
7043 echo "$as_me:$LINENO: result: no" >&5
7044 echo "${ECHO_T}no" >&6
7049 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7050 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7052 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7053 if test "${enable_bmpbutton+set}" = set; then
7054 enableval
="$enable_bmpbutton"
7056 if test "$enableval" = yes; then
7057 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7059 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7064 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7065 if test "x$LINE" != x
; then
7066 eval "DEFAULT_$LINE"
7071 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7075 eval "$ac_cv_use_bmpbutton"
7076 if test "$no_cache" != 1; then
7077 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7080 if test "$wxUSE_BMPBUTTON" = yes; then
7081 echo "$as_me:$LINENO: result: yes" >&5
7082 echo "${ECHO_T}yes" >&6
7084 echo "$as_me:$LINENO: result: no" >&5
7085 echo "${ECHO_T}no" >&6
7090 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7091 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7093 # Check whether --enable-calendar or --disable-calendar was given.
7094 if test "${enable_calendar+set}" = set; then
7095 enableval
="$enable_calendar"
7097 if test "$enableval" = yes; then
7098 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7100 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7105 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7106 if test "x$LINE" != x
; then
7107 eval "DEFAULT_$LINE"
7112 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7116 eval "$ac_cv_use_calendar"
7117 if test "$no_cache" != 1; then
7118 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7121 if test "$wxUSE_CALCTRL" = yes; then
7122 echo "$as_me:$LINENO: result: yes" >&5
7123 echo "${ECHO_T}yes" >&6
7125 echo "$as_me:$LINENO: result: no" >&5
7126 echo "${ECHO_T}no" >&6
7131 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7132 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7134 # Check whether --enable-caret or --disable-caret was given.
7135 if test "${enable_caret+set}" = set; then
7136 enableval
="$enable_caret"
7138 if test "$enableval" = yes; then
7139 ac_cv_use_caret
='wxUSE_CARET=yes'
7141 ac_cv_use_caret
='wxUSE_CARET=no'
7146 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7147 if test "x$LINE" != x
; then
7148 eval "DEFAULT_$LINE"
7153 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7157 eval "$ac_cv_use_caret"
7158 if test "$no_cache" != 1; then
7159 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7162 if test "$wxUSE_CARET" = yes; then
7163 echo "$as_me:$LINENO: result: yes" >&5
7164 echo "${ECHO_T}yes" >&6
7166 echo "$as_me:$LINENO: result: no" >&5
7167 echo "${ECHO_T}no" >&6
7172 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7173 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7175 # Check whether --enable-checkbox or --disable-checkbox was given.
7176 if test "${enable_checkbox+set}" = set; then
7177 enableval
="$enable_checkbox"
7179 if test "$enableval" = yes; then
7180 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7182 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7187 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7188 if test "x$LINE" != x
; then
7189 eval "DEFAULT_$LINE"
7194 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7198 eval "$ac_cv_use_checkbox"
7199 if test "$no_cache" != 1; then
7200 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7203 if test "$wxUSE_CHECKBOX" = yes; then
7204 echo "$as_me:$LINENO: result: yes" >&5
7205 echo "${ECHO_T}yes" >&6
7207 echo "$as_me:$LINENO: result: no" >&5
7208 echo "${ECHO_T}no" >&6
7213 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7214 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7216 # Check whether --enable-checklst or --disable-checklst was given.
7217 if test "${enable_checklst+set}" = set; then
7218 enableval
="$enable_checklst"
7220 if test "$enableval" = yes; then
7221 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7223 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7228 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7229 if test "x$LINE" != x
; then
7230 eval "DEFAULT_$LINE"
7235 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7239 eval "$ac_cv_use_checklst"
7240 if test "$no_cache" != 1; then
7241 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7244 if test "$wxUSE_CHECKLST" = yes; then
7245 echo "$as_me:$LINENO: result: yes" >&5
7246 echo "${ECHO_T}yes" >&6
7248 echo "$as_me:$LINENO: result: no" >&5
7249 echo "${ECHO_T}no" >&6
7254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7255 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7257 # Check whether --enable-choice or --disable-choice was given.
7258 if test "${enable_choice+set}" = set; then
7259 enableval
="$enable_choice"
7261 if test "$enableval" = yes; then
7262 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7264 ac_cv_use_choice
='wxUSE_CHOICE=no'
7269 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7270 if test "x$LINE" != x
; then
7271 eval "DEFAULT_$LINE"
7276 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7280 eval "$ac_cv_use_choice"
7281 if test "$no_cache" != 1; then
7282 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7285 if test "$wxUSE_CHOICE" = yes; then
7286 echo "$as_me:$LINENO: result: yes" >&5
7287 echo "${ECHO_T}yes" >&6
7289 echo "$as_me:$LINENO: result: no" >&5
7290 echo "${ECHO_T}no" >&6
7295 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7296 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7298 # Check whether --enable-combobox or --disable-combobox was given.
7299 if test "${enable_combobox+set}" = set; then
7300 enableval
="$enable_combobox"
7302 if test "$enableval" = yes; then
7303 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7305 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7310 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7311 if test "x$LINE" != x
; then
7312 eval "DEFAULT_$LINE"
7317 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7321 eval "$ac_cv_use_combobox"
7322 if test "$no_cache" != 1; then
7323 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7326 if test "$wxUSE_COMBOBOX" = yes; then
7327 echo "$as_me:$LINENO: result: yes" >&5
7328 echo "${ECHO_T}yes" >&6
7330 echo "$as_me:$LINENO: result: no" >&5
7331 echo "${ECHO_T}no" >&6
7336 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7337 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7339 # Check whether --enable-display or --disable-display was given.
7340 if test "${enable_display+set}" = set; then
7341 enableval
="$enable_display"
7343 if test "$enableval" = yes; then
7344 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7346 ac_cv_use_display
='wxUSE_DISPLAY=no'
7351 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7352 if test "x$LINE" != x
; then
7353 eval "DEFAULT_$LINE"
7358 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7362 eval "$ac_cv_use_display"
7363 if test "$no_cache" != 1; then
7364 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7367 if test "$wxUSE_DISPLAY" = yes; then
7368 echo "$as_me:$LINENO: result: yes" >&5
7369 echo "${ECHO_T}yes" >&6
7371 echo "$as_me:$LINENO: result: no" >&5
7372 echo "${ECHO_T}no" >&6
7377 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7378 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7380 # Check whether --enable-gauge or --disable-gauge was given.
7381 if test "${enable_gauge+set}" = set; then
7382 enableval
="$enable_gauge"
7384 if test "$enableval" = yes; then
7385 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7387 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7392 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7393 if test "x$LINE" != x
; then
7394 eval "DEFAULT_$LINE"
7399 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7403 eval "$ac_cv_use_gauge"
7404 if test "$no_cache" != 1; then
7405 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7408 if test "$wxUSE_GAUGE" = yes; then
7409 echo "$as_me:$LINENO: result: yes" >&5
7410 echo "${ECHO_T}yes" >&6
7412 echo "$as_me:$LINENO: result: no" >&5
7413 echo "${ECHO_T}no" >&6
7418 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7419 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7421 # Check whether --enable-grid or --disable-grid was given.
7422 if test "${enable_grid+set}" = set; then
7423 enableval
="$enable_grid"
7425 if test "$enableval" = yes; then
7426 ac_cv_use_grid
='wxUSE_GRID=yes'
7428 ac_cv_use_grid
='wxUSE_GRID=no'
7433 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7434 if test "x$LINE" != x
; then
7435 eval "DEFAULT_$LINE"
7440 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7444 eval "$ac_cv_use_grid"
7445 if test "$no_cache" != 1; then
7446 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7449 if test "$wxUSE_GRID" = yes; then
7450 echo "$as_me:$LINENO: result: yes" >&5
7451 echo "${ECHO_T}yes" >&6
7453 echo "$as_me:$LINENO: result: no" >&5
7454 echo "${ECHO_T}no" >&6
7459 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7460 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7462 # Check whether --enable-imaglist or --disable-imaglist was given.
7463 if test "${enable_imaglist+set}" = set; then
7464 enableval
="$enable_imaglist"
7466 if test "$enableval" = yes; then
7467 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7469 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7474 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7475 if test "x$LINE" != x
; then
7476 eval "DEFAULT_$LINE"
7481 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7485 eval "$ac_cv_use_imaglist"
7486 if test "$no_cache" != 1; then
7487 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7490 if test "$wxUSE_IMAGLIST" = yes; then
7491 echo "$as_me:$LINENO: result: yes" >&5
7492 echo "${ECHO_T}yes" >&6
7494 echo "$as_me:$LINENO: result: no" >&5
7495 echo "${ECHO_T}no" >&6
7500 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7501 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7503 # Check whether --enable-listbook or --disable-listbook was given.
7504 if test "${enable_listbook+set}" = set; then
7505 enableval
="$enable_listbook"
7507 if test "$enableval" = yes; then
7508 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7510 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7515 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7516 if test "x$LINE" != x
; then
7517 eval "DEFAULT_$LINE"
7522 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7526 eval "$ac_cv_use_listbook"
7527 if test "$no_cache" != 1; then
7528 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7531 if test "$wxUSE_LISTBOOK" = yes; then
7532 echo "$as_me:$LINENO: result: yes" >&5
7533 echo "${ECHO_T}yes" >&6
7535 echo "$as_me:$LINENO: result: no" >&5
7536 echo "${ECHO_T}no" >&6
7541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7542 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7544 # Check whether --enable-listbox or --disable-listbox was given.
7545 if test "${enable_listbox+set}" = set; then
7546 enableval
="$enable_listbox"
7548 if test "$enableval" = yes; then
7549 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7551 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7556 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7557 if test "x$LINE" != x
; then
7558 eval "DEFAULT_$LINE"
7563 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7567 eval "$ac_cv_use_listbox"
7568 if test "$no_cache" != 1; then
7569 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7572 if test "$wxUSE_LISTBOX" = yes; then
7573 echo "$as_me:$LINENO: result: yes" >&5
7574 echo "${ECHO_T}yes" >&6
7576 echo "$as_me:$LINENO: result: no" >&5
7577 echo "${ECHO_T}no" >&6
7582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7583 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7585 # Check whether --enable-listctrl or --disable-listctrl was given.
7586 if test "${enable_listctrl+set}" = set; then
7587 enableval
="$enable_listctrl"
7589 if test "$enableval" = yes; then
7590 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7592 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7597 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7598 if test "x$LINE" != x
; then
7599 eval "DEFAULT_$LINE"
7604 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7608 eval "$ac_cv_use_listctrl"
7609 if test "$no_cache" != 1; then
7610 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7613 if test "$wxUSE_LISTCTRL" = yes; then
7614 echo "$as_me:$LINENO: result: yes" >&5
7615 echo "${ECHO_T}yes" >&6
7617 echo "$as_me:$LINENO: result: no" >&5
7618 echo "${ECHO_T}no" >&6
7623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7624 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7626 # Check whether --enable-notebook or --disable-notebook was given.
7627 if test "${enable_notebook+set}" = set; then
7628 enableval
="$enable_notebook"
7630 if test "$enableval" = yes; then
7631 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7633 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7638 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7639 if test "x$LINE" != x
; then
7640 eval "DEFAULT_$LINE"
7645 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7649 eval "$ac_cv_use_notebook"
7650 if test "$no_cache" != 1; then
7651 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7654 if test "$wxUSE_NOTEBOOK" = yes; then
7655 echo "$as_me:$LINENO: result: yes" >&5
7656 echo "${ECHO_T}yes" >&6
7658 echo "$as_me:$LINENO: result: no" >&5
7659 echo "${ECHO_T}no" >&6
7664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7665 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7667 # Check whether --enable-radiobox or --disable-radiobox was given.
7668 if test "${enable_radiobox+set}" = set; then
7669 enableval
="$enable_radiobox"
7671 if test "$enableval" = yes; then
7672 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7674 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7679 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7680 if test "x$LINE" != x
; then
7681 eval "DEFAULT_$LINE"
7686 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7690 eval "$ac_cv_use_radiobox"
7691 if test "$no_cache" != 1; then
7692 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7695 if test "$wxUSE_RADIOBOX" = yes; then
7696 echo "$as_me:$LINENO: result: yes" >&5
7697 echo "${ECHO_T}yes" >&6
7699 echo "$as_me:$LINENO: result: no" >&5
7700 echo "${ECHO_T}no" >&6
7705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7706 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7708 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7709 if test "${enable_radiobtn+set}" = set; then
7710 enableval
="$enable_radiobtn"
7712 if test "$enableval" = yes; then
7713 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7715 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7720 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7721 if test "x$LINE" != x
; then
7722 eval "DEFAULT_$LINE"
7727 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7731 eval "$ac_cv_use_radiobtn"
7732 if test "$no_cache" != 1; then
7733 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7736 if test "$wxUSE_RADIOBTN" = yes; then
7737 echo "$as_me:$LINENO: result: yes" >&5
7738 echo "${ECHO_T}yes" >&6
7740 echo "$as_me:$LINENO: result: no" >&5
7741 echo "${ECHO_T}no" >&6
7746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7747 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7749 # Check whether --enable-sash or --disable-sash was given.
7750 if test "${enable_sash+set}" = set; then
7751 enableval
="$enable_sash"
7753 if test "$enableval" = yes; then
7754 ac_cv_use_sash
='wxUSE_SASH=yes'
7756 ac_cv_use_sash
='wxUSE_SASH=no'
7761 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7762 if test "x$LINE" != x
; then
7763 eval "DEFAULT_$LINE"
7768 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7772 eval "$ac_cv_use_sash"
7773 if test "$no_cache" != 1; then
7774 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7777 if test "$wxUSE_SASH" = yes; then
7778 echo "$as_me:$LINENO: result: yes" >&5
7779 echo "${ECHO_T}yes" >&6
7781 echo "$as_me:$LINENO: result: no" >&5
7782 echo "${ECHO_T}no" >&6
7787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7788 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7790 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7791 if test "${enable_scrollbar+set}" = set; then
7792 enableval
="$enable_scrollbar"
7794 if test "$enableval" = yes; then
7795 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7797 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7802 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7803 if test "x$LINE" != x
; then
7804 eval "DEFAULT_$LINE"
7809 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7813 eval "$ac_cv_use_scrollbar"
7814 if test "$no_cache" != 1; then
7815 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7818 if test "$wxUSE_SCROLLBAR" = yes; then
7819 echo "$as_me:$LINENO: result: yes" >&5
7820 echo "${ECHO_T}yes" >&6
7822 echo "$as_me:$LINENO: result: no" >&5
7823 echo "${ECHO_T}no" >&6
7828 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7829 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7831 # Check whether --enable-slider or --disable-slider was given.
7832 if test "${enable_slider+set}" = set; then
7833 enableval
="$enable_slider"
7835 if test "$enableval" = yes; then
7836 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7838 ac_cv_use_slider
='wxUSE_SLIDER=no'
7843 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7844 if test "x$LINE" != x
; then
7845 eval "DEFAULT_$LINE"
7850 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7854 eval "$ac_cv_use_slider"
7855 if test "$no_cache" != 1; then
7856 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7859 if test "$wxUSE_SLIDER" = yes; then
7860 echo "$as_me:$LINENO: result: yes" >&5
7861 echo "${ECHO_T}yes" >&6
7863 echo "$as_me:$LINENO: result: no" >&5
7864 echo "${ECHO_T}no" >&6
7869 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7870 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7872 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7873 if test "${enable_spinbtn+set}" = set; then
7874 enableval
="$enable_spinbtn"
7876 if test "$enableval" = yes; then
7877 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7879 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7884 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7885 if test "x$LINE" != x
; then
7886 eval "DEFAULT_$LINE"
7891 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7895 eval "$ac_cv_use_spinbtn"
7896 if test "$no_cache" != 1; then
7897 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7900 if test "$wxUSE_SPINBTN" = yes; then
7901 echo "$as_me:$LINENO: result: yes" >&5
7902 echo "${ECHO_T}yes" >&6
7904 echo "$as_me:$LINENO: result: no" >&5
7905 echo "${ECHO_T}no" >&6
7910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7911 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7913 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7914 if test "${enable_spinctrl+set}" = set; then
7915 enableval
="$enable_spinctrl"
7917 if test "$enableval" = yes; then
7918 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
7920 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
7925 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7926 if test "x$LINE" != x
; then
7927 eval "DEFAULT_$LINE"
7932 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7936 eval "$ac_cv_use_spinctrl"
7937 if test "$no_cache" != 1; then
7938 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7941 if test "$wxUSE_SPINCTRL" = yes; then
7942 echo "$as_me:$LINENO: result: yes" >&5
7943 echo "${ECHO_T}yes" >&6
7945 echo "$as_me:$LINENO: result: no" >&5
7946 echo "${ECHO_T}no" >&6
7951 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7952 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7954 # Check whether --enable-splitter or --disable-splitter was given.
7955 if test "${enable_splitter+set}" = set; then
7956 enableval
="$enable_splitter"
7958 if test "$enableval" = yes; then
7959 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
7961 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
7966 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7967 if test "x$LINE" != x
; then
7968 eval "DEFAULT_$LINE"
7973 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7977 eval "$ac_cv_use_splitter"
7978 if test "$no_cache" != 1; then
7979 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7982 if test "$wxUSE_SPLITTER" = yes; then
7983 echo "$as_me:$LINENO: result: yes" >&5
7984 echo "${ECHO_T}yes" >&6
7986 echo "$as_me:$LINENO: result: no" >&5
7987 echo "${ECHO_T}no" >&6
7992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7993 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7995 # Check whether --enable-statbmp or --disable-statbmp was given.
7996 if test "${enable_statbmp+set}" = set; then
7997 enableval
="$enable_statbmp"
7999 if test "$enableval" = yes; then
8000 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8002 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8007 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8008 if test "x$LINE" != x
; then
8009 eval "DEFAULT_$LINE"
8014 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8018 eval "$ac_cv_use_statbmp"
8019 if test "$no_cache" != 1; then
8020 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8023 if test "$wxUSE_STATBMP" = yes; then
8024 echo "$as_me:$LINENO: result: yes" >&5
8025 echo "${ECHO_T}yes" >&6
8027 echo "$as_me:$LINENO: result: no" >&5
8028 echo "${ECHO_T}no" >&6
8033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8034 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8036 # Check whether --enable-statbox or --disable-statbox was given.
8037 if test "${enable_statbox+set}" = set; then
8038 enableval
="$enable_statbox"
8040 if test "$enableval" = yes; then
8041 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8043 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8048 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8049 if test "x$LINE" != x
; then
8050 eval "DEFAULT_$LINE"
8055 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8059 eval "$ac_cv_use_statbox"
8060 if test "$no_cache" != 1; then
8061 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8064 if test "$wxUSE_STATBOX" = yes; then
8065 echo "$as_me:$LINENO: result: yes" >&5
8066 echo "${ECHO_T}yes" >&6
8068 echo "$as_me:$LINENO: result: no" >&5
8069 echo "${ECHO_T}no" >&6
8074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8075 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8077 # Check whether --enable-statline or --disable-statline was given.
8078 if test "${enable_statline+set}" = set; then
8079 enableval
="$enable_statline"
8081 if test "$enableval" = yes; then
8082 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8084 ac_cv_use_statline
='wxUSE_STATLINE=no'
8089 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8090 if test "x$LINE" != x
; then
8091 eval "DEFAULT_$LINE"
8096 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8100 eval "$ac_cv_use_statline"
8101 if test "$no_cache" != 1; then
8102 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8105 if test "$wxUSE_STATLINE" = yes; then
8106 echo "$as_me:$LINENO: result: yes" >&5
8107 echo "${ECHO_T}yes" >&6
8109 echo "$as_me:$LINENO: result: no" >&5
8110 echo "${ECHO_T}no" >&6
8115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8116 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8118 # Check whether --enable-stattext or --disable-stattext was given.
8119 if test "${enable_stattext+set}" = set; then
8120 enableval
="$enable_stattext"
8122 if test "$enableval" = yes; then
8123 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8125 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8130 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8131 if test "x$LINE" != x
; then
8132 eval "DEFAULT_$LINE"
8137 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8141 eval "$ac_cv_use_stattext"
8142 if test "$no_cache" != 1; then
8143 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8146 if test "$wxUSE_STATTEXT" = yes; then
8147 echo "$as_me:$LINENO: result: yes" >&5
8148 echo "${ECHO_T}yes" >&6
8150 echo "$as_me:$LINENO: result: no" >&5
8151 echo "${ECHO_T}no" >&6
8156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8157 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8159 # Check whether --enable-statusbar or --disable-statusbar was given.
8160 if test "${enable_statusbar+set}" = set; then
8161 enableval
="$enable_statusbar"
8163 if test "$enableval" = yes; then
8164 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8166 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8171 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8172 if test "x$LINE" != x
; then
8173 eval "DEFAULT_$LINE"
8178 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8182 eval "$ac_cv_use_statusbar"
8183 if test "$no_cache" != 1; then
8184 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8187 if test "$wxUSE_STATUSBAR" = yes; then
8188 echo "$as_me:$LINENO: result: yes" >&5
8189 echo "${ECHO_T}yes" >&6
8191 echo "$as_me:$LINENO: result: no" >&5
8192 echo "${ECHO_T}no" >&6
8197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8198 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8200 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8201 if test "${enable_tabdialog+set}" = set; then
8202 enableval
="$enable_tabdialog"
8204 if test "$enableval" = yes; then
8205 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8207 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8212 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8213 if test "x$LINE" != x
; then
8214 eval "DEFAULT_$LINE"
8219 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8223 eval "$ac_cv_use_tabdialog"
8224 if test "$no_cache" != 1; then
8225 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8228 if test "$wxUSE_TABDIALOG" = yes; then
8229 echo "$as_me:$LINENO: result: yes" >&5
8230 echo "${ECHO_T}yes" >&6
8232 echo "$as_me:$LINENO: result: no" >&5
8233 echo "${ECHO_T}no" >&6
8238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8239 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8241 # Check whether --enable-textctrl or --disable-textctrl was given.
8242 if test "${enable_textctrl+set}" = set; then
8243 enableval
="$enable_textctrl"
8245 if test "$enableval" = yes; then
8246 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8248 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8253 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8254 if test "x$LINE" != x
; then
8255 eval "DEFAULT_$LINE"
8260 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8264 eval "$ac_cv_use_textctrl"
8265 if test "$no_cache" != 1; then
8266 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8269 if test "$wxUSE_TEXTCTRL" = yes; then
8270 echo "$as_me:$LINENO: result: yes" >&5
8271 echo "${ECHO_T}yes" >&6
8273 echo "$as_me:$LINENO: result: no" >&5
8274 echo "${ECHO_T}no" >&6
8279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8280 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8282 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8283 if test "${enable_togglebtn+set}" = set; then
8284 enableval
="$enable_togglebtn"
8286 if test "$enableval" = yes; then
8287 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8289 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8294 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8295 if test "x$LINE" != x
; then
8296 eval "DEFAULT_$LINE"
8301 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8305 eval "$ac_cv_use_togglebtn"
8306 if test "$no_cache" != 1; then
8307 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8310 if test "$wxUSE_TOGGLEBTN" = yes; then
8311 echo "$as_me:$LINENO: result: yes" >&5
8312 echo "${ECHO_T}yes" >&6
8314 echo "$as_me:$LINENO: result: no" >&5
8315 echo "${ECHO_T}no" >&6
8320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8321 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8323 # Check whether --enable-toolbar or --disable-toolbar was given.
8324 if test "${enable_toolbar+set}" = set; then
8325 enableval
="$enable_toolbar"
8327 if test "$enableval" = yes; then
8328 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8330 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8335 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8336 if test "x$LINE" != x
; then
8337 eval "DEFAULT_$LINE"
8342 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8346 eval "$ac_cv_use_toolbar"
8347 if test "$no_cache" != 1; then
8348 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8351 if test "$wxUSE_TOOLBAR" = yes; then
8352 echo "$as_me:$LINENO: result: yes" >&5
8353 echo "${ECHO_T}yes" >&6
8355 echo "$as_me:$LINENO: result: no" >&5
8356 echo "${ECHO_T}no" >&6
8361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8362 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8364 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8365 if test "${enable_tbarnative+set}" = set; then
8366 enableval
="$enable_tbarnative"
8368 if test "$enableval" = yes; then
8369 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8371 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8376 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8377 if test "x$LINE" != x
; then
8378 eval "DEFAULT_$LINE"
8383 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8387 eval "$ac_cv_use_tbarnative"
8388 if test "$no_cache" != 1; then
8389 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8392 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8393 echo "$as_me:$LINENO: result: yes" >&5
8394 echo "${ECHO_T}yes" >&6
8396 echo "$as_me:$LINENO: result: no" >&5
8397 echo "${ECHO_T}no" >&6
8402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8403 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8405 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8406 if test "${enable_tbarsmpl+set}" = set; then
8407 enableval
="$enable_tbarsmpl"
8409 if test "$enableval" = yes; then
8410 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8412 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8417 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8418 if test "x$LINE" != x
; then
8419 eval "DEFAULT_$LINE"
8424 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8428 eval "$ac_cv_use_tbarsmpl"
8429 if test "$no_cache" != 1; then
8430 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8433 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8434 echo "$as_me:$LINENO: result: yes" >&5
8435 echo "${ECHO_T}yes" >&6
8437 echo "$as_me:$LINENO: result: no" >&5
8438 echo "${ECHO_T}no" >&6
8443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8444 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8446 # Check whether --enable-treectrl or --disable-treectrl was given.
8447 if test "${enable_treectrl+set}" = set; then
8448 enableval
="$enable_treectrl"
8450 if test "$enableval" = yes; then
8451 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8453 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8458 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8459 if test "x$LINE" != x
; then
8460 eval "DEFAULT_$LINE"
8465 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8469 eval "$ac_cv_use_treectrl"
8470 if test "$no_cache" != 1; then
8471 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8474 if test "$wxUSE_TREECTRL" = yes; then
8475 echo "$as_me:$LINENO: result: yes" >&5
8476 echo "${ECHO_T}yes" >&6
8478 echo "$as_me:$LINENO: result: no" >&5
8479 echo "${ECHO_T}no" >&6
8484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8485 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8487 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8488 if test "${enable_tipwindow+set}" = set; then
8489 enableval
="$enable_tipwindow"
8491 if test "$enableval" = yes; then
8492 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8494 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8499 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8500 if test "x$LINE" != x
; then
8501 eval "DEFAULT_$LINE"
8506 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8510 eval "$ac_cv_use_tipwindow"
8511 if test "$no_cache" != 1; then
8512 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8515 if test "$wxUSE_TIPWINDOW" = yes; then
8516 echo "$as_me:$LINENO: result: yes" >&5
8517 echo "${ECHO_T}yes" >&6
8519 echo "$as_me:$LINENO: result: no" >&5
8520 echo "${ECHO_T}no" >&6
8525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8526 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8528 # Check whether --enable-popupwin or --disable-popupwin was given.
8529 if test "${enable_popupwin+set}" = set; then
8530 enableval
="$enable_popupwin"
8532 if test "$enableval" = yes; then
8533 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8535 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8540 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8541 if test "x$LINE" != x
; then
8542 eval "DEFAULT_$LINE"
8547 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8551 eval "$ac_cv_use_popupwin"
8552 if test "$no_cache" != 1; then
8553 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8556 if test "$wxUSE_POPUPWIN" = yes; then
8557 echo "$as_me:$LINENO: result: yes" >&5
8558 echo "${ECHO_T}yes" >&6
8560 echo "$as_me:$LINENO: result: no" >&5
8561 echo "${ECHO_T}no" >&6
8568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8569 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8571 # Check whether --enable-commondlg or --disable-commondlg was given.
8572 if test "${enable_commondlg+set}" = set; then
8573 enableval
="$enable_commondlg"
8575 if test "$enableval" = yes; then
8576 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8578 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8583 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8584 if test "x$LINE" != x
; then
8585 eval "DEFAULT_$LINE"
8590 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8594 eval "$ac_cv_use_commondlg"
8595 if test "$no_cache" != 1; then
8596 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8599 if test "$wxUSE_COMMONDLGS" = yes; then
8600 echo "$as_me:$LINENO: result: yes" >&5
8601 echo "${ECHO_T}yes" >&6
8603 echo "$as_me:$LINENO: result: no" >&5
8604 echo "${ECHO_T}no" >&6
8609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8610 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8612 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8613 if test "${enable_choicedlg+set}" = set; then
8614 enableval
="$enable_choicedlg"
8616 if test "$enableval" = yes; then
8617 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8619 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8624 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8625 if test "x$LINE" != x
; then
8626 eval "DEFAULT_$LINE"
8631 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8635 eval "$ac_cv_use_choicedlg"
8636 if test "$no_cache" != 1; then
8637 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8640 if test "$wxUSE_CHOICEDLG" = yes; then
8641 echo "$as_me:$LINENO: result: yes" >&5
8642 echo "${ECHO_T}yes" >&6
8644 echo "$as_me:$LINENO: result: no" >&5
8645 echo "${ECHO_T}no" >&6
8650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8651 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8653 # Check whether --enable-coldlg or --disable-coldlg was given.
8654 if test "${enable_coldlg+set}" = set; then
8655 enableval
="$enable_coldlg"
8657 if test "$enableval" = yes; then
8658 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8660 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8665 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8666 if test "x$LINE" != x
; then
8667 eval "DEFAULT_$LINE"
8672 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8676 eval "$ac_cv_use_coldlg"
8677 if test "$no_cache" != 1; then
8678 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8681 if test "$wxUSE_COLOURDLG" = yes; then
8682 echo "$as_me:$LINENO: result: yes" >&5
8683 echo "${ECHO_T}yes" >&6
8685 echo "$as_me:$LINENO: result: no" >&5
8686 echo "${ECHO_T}no" >&6
8691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8692 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8694 # Check whether --enable-filedlg or --disable-filedlg was given.
8695 if test "${enable_filedlg+set}" = set; then
8696 enableval
="$enable_filedlg"
8698 if test "$enableval" = yes; then
8699 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8701 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8706 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8707 if test "x$LINE" != x
; then
8708 eval "DEFAULT_$LINE"
8713 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8717 eval "$ac_cv_use_filedlg"
8718 if test "$no_cache" != 1; then
8719 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8722 if test "$wxUSE_FILEDLG" = yes; then
8723 echo "$as_me:$LINENO: result: yes" >&5
8724 echo "${ECHO_T}yes" >&6
8726 echo "$as_me:$LINENO: result: no" >&5
8727 echo "${ECHO_T}no" >&6
8732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8733 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8735 # Check whether --enable-finddlg or --disable-finddlg was given.
8736 if test "${enable_finddlg+set}" = set; then
8737 enableval
="$enable_finddlg"
8739 if test "$enableval" = yes; then
8740 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8742 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8747 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8748 if test "x$LINE" != x
; then
8749 eval "DEFAULT_$LINE"
8754 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8758 eval "$ac_cv_use_finddlg"
8759 if test "$no_cache" != 1; then
8760 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8763 if test "$wxUSE_FINDREPLDLG" = yes; then
8764 echo "$as_me:$LINENO: result: yes" >&5
8765 echo "${ECHO_T}yes" >&6
8767 echo "$as_me:$LINENO: result: no" >&5
8768 echo "${ECHO_T}no" >&6
8773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8774 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8776 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8777 if test "${enable_fontdlg+set}" = set; then
8778 enableval
="$enable_fontdlg"
8780 if test "$enableval" = yes; then
8781 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8783 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8788 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8789 if test "x$LINE" != x
; then
8790 eval "DEFAULT_$LINE"
8795 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8799 eval "$ac_cv_use_fontdlg"
8800 if test "$no_cache" != 1; then
8801 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8804 if test "$wxUSE_FONTDLG" = yes; then
8805 echo "$as_me:$LINENO: result: yes" >&5
8806 echo "${ECHO_T}yes" >&6
8808 echo "$as_me:$LINENO: result: no" >&5
8809 echo "${ECHO_T}no" >&6
8814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8815 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8817 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8818 if test "${enable_dirdlg+set}" = set; then
8819 enableval
="$enable_dirdlg"
8821 if test "$enableval" = yes; then
8822 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8824 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8829 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8830 if test "x$LINE" != x
; then
8831 eval "DEFAULT_$LINE"
8836 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8840 eval "$ac_cv_use_dirdlg"
8841 if test "$no_cache" != 1; then
8842 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8845 if test "$wxUSE_DIRDLG" = yes; then
8846 echo "$as_me:$LINENO: result: yes" >&5
8847 echo "${ECHO_T}yes" >&6
8849 echo "$as_me:$LINENO: result: no" >&5
8850 echo "${ECHO_T}no" >&6
8855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8856 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8858 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8859 if test "${enable_msgdlg+set}" = set; then
8860 enableval
="$enable_msgdlg"
8862 if test "$enableval" = yes; then
8863 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8865 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8870 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8871 if test "x$LINE" != x
; then
8872 eval "DEFAULT_$LINE"
8877 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8881 eval "$ac_cv_use_msgdlg"
8882 if test "$no_cache" != 1; then
8883 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8886 if test "$wxUSE_MSGDLG" = yes; then
8887 echo "$as_me:$LINENO: result: yes" >&5
8888 echo "${ECHO_T}yes" >&6
8890 echo "$as_me:$LINENO: result: no" >&5
8891 echo "${ECHO_T}no" >&6
8896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8897 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8899 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8900 if test "${enable_numberdlg+set}" = set; then
8901 enableval
="$enable_numberdlg"
8903 if test "$enableval" = yes; then
8904 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
8906 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
8911 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8912 if test "x$LINE" != x
; then
8913 eval "DEFAULT_$LINE"
8918 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8922 eval "$ac_cv_use_numberdlg"
8923 if test "$no_cache" != 1; then
8924 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8927 if test "$wxUSE_NUMBERDLG" = yes; then
8928 echo "$as_me:$LINENO: result: yes" >&5
8929 echo "${ECHO_T}yes" >&6
8931 echo "$as_me:$LINENO: result: no" >&5
8932 echo "${ECHO_T}no" >&6
8937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8938 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8940 # Check whether --enable-splash or --disable-splash was given.
8941 if test "${enable_splash+set}" = set; then
8942 enableval
="$enable_splash"
8944 if test "$enableval" = yes; then
8945 ac_cv_use_splash
='wxUSE_SPLASH=yes'
8947 ac_cv_use_splash
='wxUSE_SPLASH=no'
8952 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8953 if test "x$LINE" != x
; then
8954 eval "DEFAULT_$LINE"
8959 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8963 eval "$ac_cv_use_splash"
8964 if test "$no_cache" != 1; then
8965 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8968 if test "$wxUSE_SPLASH" = yes; then
8969 echo "$as_me:$LINENO: result: yes" >&5
8970 echo "${ECHO_T}yes" >&6
8972 echo "$as_me:$LINENO: result: no" >&5
8973 echo "${ECHO_T}no" >&6
8978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8979 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8981 # Check whether --enable-textdlg or --disable-textdlg was given.
8982 if test "${enable_textdlg+set}" = set; then
8983 enableval
="$enable_textdlg"
8985 if test "$enableval" = yes; then
8986 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
8988 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
8993 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8994 if test "x$LINE" != x
; then
8995 eval "DEFAULT_$LINE"
9000 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9004 eval "$ac_cv_use_textdlg"
9005 if test "$no_cache" != 1; then
9006 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9009 if test "$wxUSE_TEXTDLG" = yes; then
9010 echo "$as_me:$LINENO: result: yes" >&5
9011 echo "${ECHO_T}yes" >&6
9013 echo "$as_me:$LINENO: result: no" >&5
9014 echo "${ECHO_T}no" >&6
9019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9020 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9022 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9023 if test "${enable_tipdlg+set}" = set; then
9024 enableval
="$enable_tipdlg"
9026 if test "$enableval" = yes; then
9027 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9029 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9034 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9035 if test "x$LINE" != x
; then
9036 eval "DEFAULT_$LINE"
9041 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9045 eval "$ac_cv_use_tipdlg"
9046 if test "$no_cache" != 1; then
9047 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9050 if test "$wxUSE_STARTUP_TIPS" = yes; then
9051 echo "$as_me:$LINENO: result: yes" >&5
9052 echo "${ECHO_T}yes" >&6
9054 echo "$as_me:$LINENO: result: no" >&5
9055 echo "${ECHO_T}no" >&6
9060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9061 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9063 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9064 if test "${enable_progressdlg+set}" = set; then
9065 enableval
="$enable_progressdlg"
9067 if test "$enableval" = yes; then
9068 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9070 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9075 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9076 if test "x$LINE" != x
; then
9077 eval "DEFAULT_$LINE"
9082 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9086 eval "$ac_cv_use_progressdlg"
9087 if test "$no_cache" != 1; then
9088 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9091 if test "$wxUSE_PROGRESSDLG" = yes; then
9092 echo "$as_me:$LINENO: result: yes" >&5
9093 echo "${ECHO_T}yes" >&6
9095 echo "$as_me:$LINENO: result: no" >&5
9096 echo "${ECHO_T}no" >&6
9101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9102 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9104 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9105 if test "${enable_wizarddlg+set}" = set; then
9106 enableval
="$enable_wizarddlg"
9108 if test "$enableval" = yes; then
9109 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9111 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9116 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9117 if test "x$LINE" != x
; then
9118 eval "DEFAULT_$LINE"
9123 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9127 eval "$ac_cv_use_wizarddlg"
9128 if test "$no_cache" != 1; then
9129 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9132 if test "$wxUSE_WIZARDDLG" = yes; then
9133 echo "$as_me:$LINENO: result: yes" >&5
9134 echo "${ECHO_T}yes" >&6
9136 echo "$as_me:$LINENO: result: no" >&5
9137 echo "${ECHO_T}no" >&6
9144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9145 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9147 # Check whether --enable-menus or --disable-menus was given.
9148 if test "${enable_menus+set}" = set; then
9149 enableval
="$enable_menus"
9151 if test "$enableval" = yes; then
9152 ac_cv_use_menus
='wxUSE_MENUS=yes'
9154 ac_cv_use_menus
='wxUSE_MENUS=no'
9159 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9160 if test "x$LINE" != x
; then
9161 eval "DEFAULT_$LINE"
9166 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9170 eval "$ac_cv_use_menus"
9171 if test "$no_cache" != 1; then
9172 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9175 if test "$wxUSE_MENUS" = yes; then
9176 echo "$as_me:$LINENO: result: yes" >&5
9177 echo "${ECHO_T}yes" >&6
9179 echo "$as_me:$LINENO: result: no" >&5
9180 echo "${ECHO_T}no" >&6
9185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9186 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9188 # Check whether --enable-miniframe or --disable-miniframe was given.
9189 if test "${enable_miniframe+set}" = set; then
9190 enableval
="$enable_miniframe"
9192 if test "$enableval" = yes; then
9193 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9195 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9200 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9201 if test "x$LINE" != x
; then
9202 eval "DEFAULT_$LINE"
9207 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9211 eval "$ac_cv_use_miniframe"
9212 if test "$no_cache" != 1; then
9213 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9216 if test "$wxUSE_MINIFRAME" = yes; then
9217 echo "$as_me:$LINENO: result: yes" >&5
9218 echo "${ECHO_T}yes" >&6
9220 echo "$as_me:$LINENO: result: no" >&5
9221 echo "${ECHO_T}no" >&6
9226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9227 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9229 # Check whether --enable-tooltips or --disable-tooltips was given.
9230 if test "${enable_tooltips+set}" = set; then
9231 enableval
="$enable_tooltips"
9233 if test "$enableval" = yes; then
9234 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9236 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9241 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9242 if test "x$LINE" != x
; then
9243 eval "DEFAULT_$LINE"
9248 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9252 eval "$ac_cv_use_tooltips"
9253 if test "$no_cache" != 1; then
9254 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9257 if test "$wxUSE_TOOLTIPS" = yes; then
9258 echo "$as_me:$LINENO: result: yes" >&5
9259 echo "${ECHO_T}yes" >&6
9261 echo "$as_me:$LINENO: result: no" >&5
9262 echo "${ECHO_T}no" >&6
9267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9268 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9270 # Check whether --enable-splines or --disable-splines was given.
9271 if test "${enable_splines+set}" = set; then
9272 enableval
="$enable_splines"
9274 if test "$enableval" = yes; then
9275 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9277 ac_cv_use_splines
='wxUSE_SPLINES=no'
9282 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9283 if test "x$LINE" != x
; then
9284 eval "DEFAULT_$LINE"
9289 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9293 eval "$ac_cv_use_splines"
9294 if test "$no_cache" != 1; then
9295 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9298 if test "$wxUSE_SPLINES" = yes; then
9299 echo "$as_me:$LINENO: result: yes" >&5
9300 echo "${ECHO_T}yes" >&6
9302 echo "$as_me:$LINENO: result: no" >&5
9303 echo "${ECHO_T}no" >&6
9308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9309 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9311 # Check whether --enable-validators or --disable-validators was given.
9312 if test "${enable_validators+set}" = set; then
9313 enableval
="$enable_validators"
9315 if test "$enableval" = yes; then
9316 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9318 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9323 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9324 if test "x$LINE" != x
; then
9325 eval "DEFAULT_$LINE"
9330 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9334 eval "$ac_cv_use_validators"
9335 if test "$no_cache" != 1; then
9336 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9339 if test "$wxUSE_VALIDATORS" = yes; then
9340 echo "$as_me:$LINENO: result: yes" >&5
9341 echo "${ECHO_T}yes" >&6
9343 echo "$as_me:$LINENO: result: no" >&5
9344 echo "${ECHO_T}no" >&6
9349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9350 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9352 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9353 if test "${enable_busyinfo+set}" = set; then
9354 enableval
="$enable_busyinfo"
9356 if test "$enableval" = yes; then
9357 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9359 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9364 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9365 if test "x$LINE" != x
; then
9366 eval "DEFAULT_$LINE"
9371 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9375 eval "$ac_cv_use_busyinfo"
9376 if test "$no_cache" != 1; then
9377 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9380 if test "$wxUSE_BUSYINFO" = yes; then
9381 echo "$as_me:$LINENO: result: yes" >&5
9382 echo "${ECHO_T}yes" >&6
9384 echo "$as_me:$LINENO: result: no" >&5
9385 echo "${ECHO_T}no" >&6
9390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9391 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9393 # Check whether --enable-joystick or --disable-joystick was given.
9394 if test "${enable_joystick+set}" = set; then
9395 enableval
="$enable_joystick"
9397 if test "$enableval" = yes; then
9398 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9400 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9405 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9406 if test "x$LINE" != x
; then
9407 eval "DEFAULT_$LINE"
9412 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9416 eval "$ac_cv_use_joystick"
9417 if test "$no_cache" != 1; then
9418 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9421 if test "$wxUSE_JOYSTICK" = yes; then
9422 echo "$as_me:$LINENO: result: yes" >&5
9423 echo "${ECHO_T}yes" >&6
9425 echo "$as_me:$LINENO: result: no" >&5
9426 echo "${ECHO_T}no" >&6
9431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9432 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9434 # Check whether --enable-metafile or --disable-metafile was given.
9435 if test "${enable_metafile+set}" = set; then
9436 enableval
="$enable_metafile"
9438 if test "$enableval" = yes; then
9439 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9441 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9446 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9447 if test "x$LINE" != x
; then
9448 eval "DEFAULT_$LINE"
9453 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9457 eval "$ac_cv_use_metafile"
9458 if test "$no_cache" != 1; then
9459 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9462 if test "$wxUSE_METAFILE" = yes; then
9463 echo "$as_me:$LINENO: result: yes" >&5
9464 echo "${ECHO_T}yes" >&6
9466 echo "$as_me:$LINENO: result: no" >&5
9467 echo "${ECHO_T}no" >&6
9472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9473 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9475 # Check whether --enable-dragimage or --disable-dragimage was given.
9476 if test "${enable_dragimage+set}" = set; then
9477 enableval
="$enable_dragimage"
9479 if test "$enableval" = yes; then
9480 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9482 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9487 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9488 if test "x$LINE" != x
; then
9489 eval "DEFAULT_$LINE"
9494 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9498 eval "$ac_cv_use_dragimage"
9499 if test "$no_cache" != 1; then
9500 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9503 if test "$wxUSE_DRAGIMAGE" = yes; then
9504 echo "$as_me:$LINENO: result: yes" >&5
9505 echo "${ECHO_T}yes" >&6
9507 echo "$as_me:$LINENO: result: no" >&5
9508 echo "${ECHO_T}no" >&6
9513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9514 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9516 # Check whether --enable-accessibility or --disable-accessibility was given.
9517 if test "${enable_accessibility+set}" = set; then
9518 enableval
="$enable_accessibility"
9520 if test "$enableval" = yes; then
9521 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9523 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9528 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9529 if test "x$LINE" != x
; then
9530 eval "DEFAULT_$LINE"
9535 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9539 eval "$ac_cv_use_accessibility"
9540 if test "$no_cache" != 1; then
9541 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9544 if test "$wxUSE_ACCESSIBILITY" = yes; then
9545 echo "$as_me:$LINENO: result: yes" >&5
9546 echo "${ECHO_T}yes" >&6
9548 echo "$as_me:$LINENO: result: no" >&5
9549 echo "${ECHO_T}no" >&6
9556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9557 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9559 # Check whether --enable-palette or --disable-palette was given.
9560 if test "${enable_palette+set}" = set; then
9561 enableval
="$enable_palette"
9563 if test "$enableval" = yes; then
9564 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9566 ac_cv_use_palette
='wxUSE_PALETTE=no'
9571 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9572 if test "x$LINE" != x
; then
9573 eval "DEFAULT_$LINE"
9578 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9582 eval "$ac_cv_use_palette"
9583 if test "$no_cache" != 1; then
9584 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9587 if test "$wxUSE_PALETTE" = yes; then
9588 echo "$as_me:$LINENO: result: yes" >&5
9589 echo "${ECHO_T}yes" >&6
9591 echo "$as_me:$LINENO: result: no" >&5
9592 echo "${ECHO_T}no" >&6
9597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9598 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9600 # Check whether --enable-image or --disable-image was given.
9601 if test "${enable_image+set}" = set; then
9602 enableval
="$enable_image"
9604 if test "$enableval" = yes; then
9605 ac_cv_use_image
='wxUSE_IMAGE=yes'
9607 ac_cv_use_image
='wxUSE_IMAGE=no'
9612 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9613 if test "x$LINE" != x
; then
9614 eval "DEFAULT_$LINE"
9619 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9623 eval "$ac_cv_use_image"
9624 if test "$no_cache" != 1; then
9625 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9628 if test "$wxUSE_IMAGE" = yes; then
9629 echo "$as_me:$LINENO: result: yes" >&5
9630 echo "${ECHO_T}yes" >&6
9632 echo "$as_me:$LINENO: result: no" >&5
9633 echo "${ECHO_T}no" >&6
9638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9639 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9641 # Check whether --enable-gif or --disable-gif was given.
9642 if test "${enable_gif+set}" = set; then
9643 enableval
="$enable_gif"
9645 if test "$enableval" = yes; then
9646 ac_cv_use_gif
='wxUSE_GIF=yes'
9648 ac_cv_use_gif
='wxUSE_GIF=no'
9653 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9654 if test "x$LINE" != x
; then
9655 eval "DEFAULT_$LINE"
9660 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9664 eval "$ac_cv_use_gif"
9665 if test "$no_cache" != 1; then
9666 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9669 if test "$wxUSE_GIF" = yes; then
9670 echo "$as_me:$LINENO: result: yes" >&5
9671 echo "${ECHO_T}yes" >&6
9673 echo "$as_me:$LINENO: result: no" >&5
9674 echo "${ECHO_T}no" >&6
9679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9680 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9682 # Check whether --enable-pcx or --disable-pcx was given.
9683 if test "${enable_pcx+set}" = set; then
9684 enableval
="$enable_pcx"
9686 if test "$enableval" = yes; then
9687 ac_cv_use_pcx
='wxUSE_PCX=yes'
9689 ac_cv_use_pcx
='wxUSE_PCX=no'
9694 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9695 if test "x$LINE" != x
; then
9696 eval "DEFAULT_$LINE"
9701 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9705 eval "$ac_cv_use_pcx"
9706 if test "$no_cache" != 1; then
9707 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9710 if test "$wxUSE_PCX" = yes; then
9711 echo "$as_me:$LINENO: result: yes" >&5
9712 echo "${ECHO_T}yes" >&6
9714 echo "$as_me:$LINENO: result: no" >&5
9715 echo "${ECHO_T}no" >&6
9720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9721 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9723 # Check whether --enable-iff or --disable-iff was given.
9724 if test "${enable_iff+set}" = set; then
9725 enableval
="$enable_iff"
9727 if test "$enableval" = yes; then
9728 ac_cv_use_iff
='wxUSE_IFF=yes'
9730 ac_cv_use_iff
='wxUSE_IFF=no'
9735 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9736 if test "x$LINE" != x
; then
9737 eval "DEFAULT_$LINE"
9742 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9746 eval "$ac_cv_use_iff"
9747 if test "$no_cache" != 1; then
9748 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9751 if test "$wxUSE_IFF" = yes; then
9752 echo "$as_me:$LINENO: result: yes" >&5
9753 echo "${ECHO_T}yes" >&6
9755 echo "$as_me:$LINENO: result: no" >&5
9756 echo "${ECHO_T}no" >&6
9761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9762 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9764 # Check whether --enable-pnm or --disable-pnm was given.
9765 if test "${enable_pnm+set}" = set; then
9766 enableval
="$enable_pnm"
9768 if test "$enableval" = yes; then
9769 ac_cv_use_pnm
='wxUSE_PNM=yes'
9771 ac_cv_use_pnm
='wxUSE_PNM=no'
9776 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9777 if test "x$LINE" != x
; then
9778 eval "DEFAULT_$LINE"
9783 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9787 eval "$ac_cv_use_pnm"
9788 if test "$no_cache" != 1; then
9789 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9792 if test "$wxUSE_PNM" = yes; then
9793 echo "$as_me:$LINENO: result: yes" >&5
9794 echo "${ECHO_T}yes" >&6
9796 echo "$as_me:$LINENO: result: no" >&5
9797 echo "${ECHO_T}no" >&6
9802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9803 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9805 # Check whether --enable-xpm or --disable-xpm was given.
9806 if test "${enable_xpm+set}" = set; then
9807 enableval
="$enable_xpm"
9809 if test "$enableval" = yes; then
9810 ac_cv_use_xpm
='wxUSE_XPM=yes'
9812 ac_cv_use_xpm
='wxUSE_XPM=no'
9817 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9818 if test "x$LINE" != x
; then
9819 eval "DEFAULT_$LINE"
9824 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9828 eval "$ac_cv_use_xpm"
9829 if test "$no_cache" != 1; then
9830 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9833 if test "$wxUSE_XPM" = yes; then
9834 echo "$as_me:$LINENO: result: yes" >&5
9835 echo "${ECHO_T}yes" >&6
9837 echo "$as_me:$LINENO: result: no" >&5
9838 echo "${ECHO_T}no" >&6
9843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9844 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9846 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9847 if test "${enable_ico_cur+set}" = set; then
9848 enableval
="$enable_ico_cur"
9850 if test "$enableval" = yes; then
9851 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9853 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9858 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9859 if test "x$LINE" != x
; then
9860 eval "DEFAULT_$LINE"
9865 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9869 eval "$ac_cv_use_ico_cur"
9870 if test "$no_cache" != 1; then
9871 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9874 if test "$wxUSE_ICO_CUR" = yes; then
9875 echo "$as_me:$LINENO: result: yes" >&5
9876 echo "${ECHO_T}yes" >&6
9878 echo "$as_me:$LINENO: result: no" >&5
9879 echo "${ECHO_T}no" >&6
9888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9889 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9891 # Check whether --enable-official_build or --disable-official_build was given.
9892 if test "${enable_official_build+set}" = set; then
9893 enableval
="$enable_official_build"
9895 if test "$enableval" = yes; then
9896 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
9898 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
9903 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9904 if test "x$LINE" != x
; then
9905 eval "DEFAULT_$LINE"
9910 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9914 eval "$ac_cv_use_official_build"
9915 if test "$no_cache" != 1; then
9916 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9919 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9920 echo "$as_me:$LINENO: result: yes" >&5
9921 echo "${ECHO_T}yes" >&6
9923 echo "$as_me:$LINENO: result: no" >&5
9924 echo "${ECHO_T}no" >&6
9927 # Check whether --enable-vendor or --disable-vendor was given.
9928 if test "${enable_vendor+set}" = set; then
9929 enableval
="$enable_vendor"
9932 if test "x$VENDOR" = "x"; then
9937 *-pc-os2_emx | *-pc-os2-emx )
9947 echo "saving argument cache $wx_arg_cache_file"
9948 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
9952 echo "$as_me:$LINENO: checking for toolkit" >&5
9953 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9955 # In Wine, we need to default to MSW, not GTK or MOTIF
9956 if test "$wxUSE_WINE" = "yes"; then
9957 DEFAULT_DEFAULT_wxUSE_GTK
=0
9958 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
9959 DEFAULT_DEFAULT_wxUSE_MSW
=1
9963 if test "$wxUSE_GUI" = "yes"; then
9965 if test "$USE_BEOS" = 1; then
9966 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9967 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9968 { (exit 1); exit 1; }; }
9971 if test "$TOOLKIT_GIVEN" = 1; then
9972 for toolkit
in `echo $ALL_TOOLKITS`; do
9974 eval "value=\$${var}"
9975 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
9978 for toolkit
in `echo $ALL_TOOLKITS`; do
9979 if test "$has_toolkit_in_cache" != 1; then
9980 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
9982 var
=DEFAULT_wxUSE_
$toolkit
9984 eval "wxUSE_$toolkit=\$${var}"
9988 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9989 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9990 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9993 *-pc-os2_emx | *-pc-os2-emx )
9994 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9997 case "$NUM_TOOLKITS" in
10001 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10002 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10003 { (exit 1); exit 1; }; }
10006 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10007 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10008 { (exit 1); exit 1; }; }
10011 for toolkit
in `echo $ALL_TOOLKITS`; do
10013 eval "value=\$${var}"
10014 if test "x$value" != x
; then
10015 cache_var
=CACHE_
$toolkit
10016 eval "cache=\$${cache_var}"
10017 if test "$cache" = 1; then
10018 echo "$var=$value" >> ${wx_arg_cache_file}
10020 if test "$value" = 1; then
10021 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10022 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10023 echo "${ECHO_T}$toolkit_echo" >&6
10028 if test "x$host_alias" != "x"; then
10029 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10030 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10032 echo "$as_me:$LINENO: result: base only" >&5
10033 echo "${ECHO_T}base only" >&6
10038 doesnt_want_win32
=0
10041 if test "$wxUSE_MSW" = 1 ; then
10044 doesnt_want_win32
=1
10052 if test "$wxUSE_WINE" = "yes"; then
10057 LDFLAGS_GUI
="-mwindows"
10060 if test "$wants_win32" = 1 ; then
10063 cat >>confdefs.h
<<\_ACEOF
10064 #define __WIN32__ 1
10067 cat >>confdefs.h
<<\_ACEOF
10068 #define __WIN95__ 1
10071 cat >>confdefs.h
<<\_ACEOF
10072 #define __WINDOWS__ 1
10075 cat >>confdefs.h
<<\_ACEOF
10076 #define __GNUWIN32__ 1
10079 cat >>confdefs.h
<<\_ACEOF
10083 cat >>confdefs.h
<<\_ACEOF
10084 #define WINVER 0x0400
10088 if test "$doesnt_want_win32" = 1 ; then
10093 if test "$USE_UNIX" = 1 ; then
10095 cat >>confdefs.h
<<\_ACEOF
10102 cat >confcache
<<\_ACEOF
10103 # This file is a shell script that caches the results of configure
10104 # tests run on this system so they can be shared between configure
10105 # scripts and configure runs, see configure's option --config-cache.
10106 # It is not useful on other systems. If it contains results you don't
10107 # want to keep, you may remove or edit it.
10109 # config.status only pays attention to the cache file if you give it
10110 # the --recheck option to rerun configure.
10112 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10113 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10114 # following values.
10118 # The following way of writing the cache mishandles newlines in values,
10119 # but we know of no workaround that is simple, portable, and efficient.
10120 # So, don't put newlines in cache variables' values.
10121 # Ultrix sh set writes to stderr and can't be redirected directly,
10122 # and sets the high bit in the cache file unless we assign to the vars.
10125 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10127 # `set' does not quote correctly, so add quotes (double-quote
10128 # substitution turns \\\\ into \\, and sed turns \\ into \).
10131 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10134 # `set' quotes correctly as required by POSIX, so do not add quotes.
10136 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10143 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10145 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10147 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10148 if test -w $cache_file; then
10149 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10150 cat confcache
>$cache_file
10152 echo "not updating unwritable cache $cache_file"
10157 if test "$build" != "$host" ; then
10158 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10160 CXX
=$host_alias-c++
10162 RANLIB
=$host_alias-ranlib
10163 DLLTOOL
=$host_alias-dlltool
10164 RESCOMP
=$host_alias-windres
10167 STRIP
=$host_alias-strip
10169 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10170 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10171 { (exit 1); exit 1; }; }
10177 ac_cpp
='$CPP $CPPFLAGS'
10178 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10179 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10180 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10181 if test -n "$ac_tool_prefix"; then
10182 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10183 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10184 echo "$as_me:$LINENO: checking for $ac_word" >&5
10185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10186 if test "${ac_cv_prog_CC+set}" = set; then
10187 echo $ECHO_N "(cached) $ECHO_C" >&6
10189 if test -n "$CC"; then
10190 ac_cv_prog_CC
="$CC" # Let the user override the test.
10192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10193 for as_dir
in $PATH
10196 test -z "$as_dir" && as_dir
=.
10197 for ac_exec_ext
in '' $ac_executable_extensions; do
10198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10199 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10209 if test -n "$CC"; then
10210 echo "$as_me:$LINENO: result: $CC" >&5
10211 echo "${ECHO_T}$CC" >&6
10213 echo "$as_me:$LINENO: result: no" >&5
10214 echo "${ECHO_T}no" >&6
10218 if test -z "$ac_cv_prog_CC"; then
10220 # Extract the first word of "gcc", so it can be a program name with args.
10221 set dummy gcc
; ac_word
=$2
10222 echo "$as_me:$LINENO: checking for $ac_word" >&5
10223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10224 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10225 echo $ECHO_N "(cached) $ECHO_C" >&6
10227 if test -n "$ac_ct_CC"; then
10228 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10231 for as_dir
in $PATH
10234 test -z "$as_dir" && as_dir
=.
10235 for ac_exec_ext
in '' $ac_executable_extensions; do
10236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10237 ac_cv_prog_ac_ct_CC
="gcc"
10238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10246 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10247 if test -n "$ac_ct_CC"; then
10248 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10249 echo "${ECHO_T}$ac_ct_CC" >&6
10251 echo "$as_me:$LINENO: result: no" >&5
10252 echo "${ECHO_T}no" >&6
10257 CC
="$ac_cv_prog_CC"
10260 if test -z "$CC"; then
10261 if test -n "$ac_tool_prefix"; then
10262 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10263 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10264 echo "$as_me:$LINENO: checking for $ac_word" >&5
10265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10266 if test "${ac_cv_prog_CC+set}" = set; then
10267 echo $ECHO_N "(cached) $ECHO_C" >&6
10269 if test -n "$CC"; then
10270 ac_cv_prog_CC
="$CC" # Let the user override the test.
10272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10273 for as_dir
in $PATH
10276 test -z "$as_dir" && as_dir
=.
10277 for ac_exec_ext
in '' $ac_executable_extensions; do
10278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10279 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10289 if test -n "$CC"; then
10290 echo "$as_me:$LINENO: result: $CC" >&5
10291 echo "${ECHO_T}$CC" >&6
10293 echo "$as_me:$LINENO: result: no" >&5
10294 echo "${ECHO_T}no" >&6
10298 if test -z "$ac_cv_prog_CC"; then
10300 # Extract the first word of "cc", so it can be a program name with args.
10301 set dummy cc
; ac_word
=$2
10302 echo "$as_me:$LINENO: checking for $ac_word" >&5
10303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10304 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10305 echo $ECHO_N "(cached) $ECHO_C" >&6
10307 if test -n "$ac_ct_CC"; then
10308 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10311 for as_dir
in $PATH
10314 test -z "$as_dir" && as_dir
=.
10315 for ac_exec_ext
in '' $ac_executable_extensions; do
10316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10317 ac_cv_prog_ac_ct_CC
="cc"
10318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10326 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10327 if test -n "$ac_ct_CC"; then
10328 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10329 echo "${ECHO_T}$ac_ct_CC" >&6
10331 echo "$as_me:$LINENO: result: no" >&5
10332 echo "${ECHO_T}no" >&6
10337 CC
="$ac_cv_prog_CC"
10341 if test -z "$CC"; then
10342 # Extract the first word of "cc", so it can be a program name with args.
10343 set dummy cc
; ac_word
=$2
10344 echo "$as_me:$LINENO: checking for $ac_word" >&5
10345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10346 if test "${ac_cv_prog_CC+set}" = set; then
10347 echo $ECHO_N "(cached) $ECHO_C" >&6
10349 if test -n "$CC"; then
10350 ac_cv_prog_CC
="$CC" # Let the user override the test.
10352 ac_prog_rejected
=no
10353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10354 for as_dir
in $PATH
10357 test -z "$as_dir" && as_dir
=.
10358 for ac_exec_ext
in '' $ac_executable_extensions; do
10359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10360 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10361 ac_prog_rejected
=yes
10365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10371 if test $ac_prog_rejected = yes; then
10372 # We found a bogon in the path, so make sure we never use it.
10373 set dummy
$ac_cv_prog_CC
10375 if test $# != 0; then
10376 # We chose a different compiler from the bogus one.
10377 # However, it has the same basename, so the bogon will be chosen
10378 # first if we set CC to just the basename; use the full file name.
10380 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10386 if test -n "$CC"; then
10387 echo "$as_me:$LINENO: result: $CC" >&5
10388 echo "${ECHO_T}$CC" >&6
10390 echo "$as_me:$LINENO: result: no" >&5
10391 echo "${ECHO_T}no" >&6
10395 if test -z "$CC"; then
10396 if test -n "$ac_tool_prefix"; then
10399 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10400 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10401 echo "$as_me:$LINENO: checking for $ac_word" >&5
10402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10403 if test "${ac_cv_prog_CC+set}" = set; then
10404 echo $ECHO_N "(cached) $ECHO_C" >&6
10406 if test -n "$CC"; then
10407 ac_cv_prog_CC
="$CC" # Let the user override the test.
10409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10410 for as_dir
in $PATH
10413 test -z "$as_dir" && as_dir
=.
10414 for ac_exec_ext
in '' $ac_executable_extensions; do
10415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10416 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10426 if test -n "$CC"; then
10427 echo "$as_me:$LINENO: result: $CC" >&5
10428 echo "${ECHO_T}$CC" >&6
10430 echo "$as_me:$LINENO: result: no" >&5
10431 echo "${ECHO_T}no" >&6
10434 test -n "$CC" && break
10437 if test -z "$CC"; then
10441 # Extract the first word of "$ac_prog", so it can be a program name with args.
10442 set dummy
$ac_prog; ac_word
=$2
10443 echo "$as_me:$LINENO: checking for $ac_word" >&5
10444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10445 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10446 echo $ECHO_N "(cached) $ECHO_C" >&6
10448 if test -n "$ac_ct_CC"; then
10449 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10452 for as_dir
in $PATH
10455 test -z "$as_dir" && as_dir
=.
10456 for ac_exec_ext
in '' $ac_executable_extensions; do
10457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10458 ac_cv_prog_ac_ct_CC
="$ac_prog"
10459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10467 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10468 if test -n "$ac_ct_CC"; then
10469 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10470 echo "${ECHO_T}$ac_ct_CC" >&6
10472 echo "$as_me:$LINENO: result: no" >&5
10473 echo "${ECHO_T}no" >&6
10476 test -n "$ac_ct_CC" && break
10485 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10486 See \`config.log' for more details." >&5
10487 echo "$as_me: error: no acceptable C compiler found in \$PATH
10488 See \`config.log' for more details." >&2;}
10489 { (exit 1); exit 1; }; }
10491 # Provide some information about the compiler.
10492 echo "$as_me:$LINENO:" \
10493 "checking for C compiler version" >&5
10494 ac_compiler
=`set X $ac_compile; echo $2`
10495 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10496 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10499 (exit $ac_status); }
10500 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10501 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10504 (exit $ac_status); }
10505 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10506 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509 (exit $ac_status); }
10511 cat >conftest.
$ac_ext <<_ACEOF
10514 cat confdefs.h
>>conftest.
$ac_ext
10515 cat >>conftest.
$ac_ext <<_ACEOF
10516 /* end confdefs.h. */
10526 ac_clean_files_save
=$ac_clean_files
10527 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10528 # Try to create an executable without -o first, disregard a.out.
10529 # It will help us diagnose broken compilers, and finding out an intuition
10531 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10532 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10533 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10534 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10535 (eval $ac_link_default) 2>&5
10537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10538 (exit $ac_status); }; then
10539 # Find the output, starting from the most likely. This scheme is
10540 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10543 # Be careful to initialize this variable, since it used to be cached.
10544 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10546 # b.out is created by i960 compilers.
10547 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10549 test -f "$ac_file" || continue
10551 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10554 # This is the source file.
10557 # We found the default executable, but exeext='' is most
10561 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10562 # FIXME: I believe we export ac_cv_exeext for Libtool,
10563 # but it would be cool to find out if it's true. Does anybody
10564 # maintain Libtool? --akim.
10565 export ac_cv_exeext
10572 echo "$as_me: failed program was:" >&5
10573 sed 's/^/| /' conftest.
$ac_ext >&5
10575 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10576 See \`config.log' for more details." >&5
10577 echo "$as_me: error: C compiler cannot create executables
10578 See \`config.log' for more details." >&2;}
10579 { (exit 77); exit 77; }; }
10582 ac_exeext
=$ac_cv_exeext
10583 echo "$as_me:$LINENO: result: $ac_file" >&5
10584 echo "${ECHO_T}$ac_file" >&6
10586 # Check the compiler produces executables we can run. If not, either
10587 # the compiler is broken, or we cross compile.
10588 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10589 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10590 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10591 # If not cross compiling, check that we can run a simple program.
10592 if test "$cross_compiling" != yes; then
10593 if { ac_try
='./$ac_file'
10594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10595 (eval $ac_try) 2>&5
10597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10598 (exit $ac_status); }; }; then
10601 if test "$cross_compiling" = maybe
; then
10602 cross_compiling
=yes
10604 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10605 If you meant to cross compile, use \`--host'.
10606 See \`config.log' for more details." >&5
10607 echo "$as_me: error: cannot run C compiled programs.
10608 If you meant to cross compile, use \`--host'.
10609 See \`config.log' for more details." >&2;}
10610 { (exit 1); exit 1; }; }
10614 echo "$as_me:$LINENO: result: yes" >&5
10615 echo "${ECHO_T}yes" >&6
10617 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10618 ac_clean_files
=$ac_clean_files_save
10619 # Check the compiler produces executables we can run. If not, either
10620 # the compiler is broken, or we cross compile.
10621 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10622 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10623 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10624 echo "${ECHO_T}$cross_compiling" >&6
10626 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10627 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10629 (eval $ac_link) 2>&5
10631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10632 (exit $ac_status); }; then
10633 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10634 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10635 # work properly (i.e., refer to `conftest.exe'), while it won't with
10637 for ac_file
in conftest.exe conftest conftest.
*; do
10638 test -f "$ac_file" || continue
10640 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10641 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10642 export ac_cv_exeext
10648 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10649 See \`config.log' for more details." >&5
10650 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10651 See \`config.log' for more details." >&2;}
10652 { (exit 1); exit 1; }; }
10655 rm -f conftest
$ac_cv_exeext
10656 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10657 echo "${ECHO_T}$ac_cv_exeext" >&6
10659 rm -f conftest.
$ac_ext
10660 EXEEXT
=$ac_cv_exeext
10662 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10663 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10664 if test "${ac_cv_objext+set}" = set; then
10665 echo $ECHO_N "(cached) $ECHO_C" >&6
10667 cat >conftest.
$ac_ext <<_ACEOF
10670 cat confdefs.h
>>conftest.
$ac_ext
10671 cat >>conftest.
$ac_ext <<_ACEOF
10672 /* end confdefs.h. */
10682 rm -f conftest.o conftest.obj
10683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10684 (eval $ac_compile) 2>&5
10686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10687 (exit $ac_status); }; then
10688 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10690 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10691 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10696 echo "$as_me: failed program was:" >&5
10697 sed 's/^/| /' conftest.
$ac_ext >&5
10699 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10700 See \`config.log' for more details." >&5
10701 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10702 See \`config.log' for more details." >&2;}
10703 { (exit 1); exit 1; }; }
10706 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10708 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10709 echo "${ECHO_T}$ac_cv_objext" >&6
10710 OBJEXT
=$ac_cv_objext
10712 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10713 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10714 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10715 echo $ECHO_N "(cached) $ECHO_C" >&6
10717 cat >conftest.
$ac_ext <<_ACEOF
10720 cat confdefs.h
>>conftest.
$ac_ext
10721 cat >>conftest.
$ac_ext <<_ACEOF
10722 /* end confdefs.h. */
10735 rm -f conftest.
$ac_objext
10736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10737 (eval $ac_compile) 2>conftest.er1
10739 grep -v '^ *+' conftest.er1
>conftest.err
10741 cat conftest.err
>&5
10742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10743 (exit $ac_status); } &&
10744 { ac_try
='test -z "$ac_c_werror_flag"
10745 || test ! -s conftest.err'
10746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10747 (eval $ac_try) 2>&5
10749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10750 (exit $ac_status); }; } &&
10751 { ac_try
='test -s conftest.$ac_objext'
10752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10753 (eval $ac_try) 2>&5
10755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10756 (exit $ac_status); }; }; then
10757 ac_compiler_gnu
=yes
10759 echo "$as_me: failed program was:" >&5
10760 sed 's/^/| /' conftest.
$ac_ext >&5
10764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10765 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10768 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10769 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10770 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10771 ac_test_CFLAGS
=${CFLAGS+set}
10772 ac_save_CFLAGS
=$CFLAGS
10774 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10775 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10776 if test "${ac_cv_prog_cc_g+set}" = set; then
10777 echo $ECHO_N "(cached) $ECHO_C" >&6
10779 cat >conftest.
$ac_ext <<_ACEOF
10782 cat confdefs.h
>>conftest.
$ac_ext
10783 cat >>conftest.
$ac_ext <<_ACEOF
10784 /* end confdefs.h. */
10794 rm -f conftest.
$ac_objext
10795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10796 (eval $ac_compile) 2>conftest.er1
10798 grep -v '^ *+' conftest.er1
>conftest.err
10800 cat conftest.err
>&5
10801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10802 (exit $ac_status); } &&
10803 { ac_try
='test -z "$ac_c_werror_flag"
10804 || 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"
10921 || test ! -s conftest.err'
10922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10923 (eval $ac_try) 2>&5
10925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10926 (exit $ac_status); }; } &&
10927 { ac_try
='test -s conftest.$ac_objext'
10928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10929 (eval $ac_try) 2>&5
10931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10932 (exit $ac_status); }; }; then
10933 ac_cv_prog_cc_stdc
=$ac_arg
10936 echo "$as_me: failed program was:" >&5
10937 sed 's/^/| /' conftest.
$ac_ext >&5
10940 rm -f conftest.err conftest.
$ac_objext
10942 rm -f conftest.
$ac_ext conftest.
$ac_objext
10947 case "x$ac_cv_prog_cc_stdc" in
10949 echo "$as_me:$LINENO: result: none needed" >&5
10950 echo "${ECHO_T}none needed" >&6 ;;
10952 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10953 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10954 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10957 # Some people use a C++ compiler to compile C. Since we use `exit',
10958 # in C++ we need to declare it. In case someone uses the same compiler
10959 # for both compiling C and C++ we need to have the C++ compiler decide
10960 # the declaration of exit, since it's the most demanding environment.
10961 cat >conftest.
$ac_ext <<_ACEOF
10962 #ifndef __cplusplus
10966 rm -f conftest.
$ac_objext
10967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10968 (eval $ac_compile) 2>conftest.er1
10970 grep -v '^ *+' conftest.er1
>conftest.err
10972 cat conftest.err
>&5
10973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10974 (exit $ac_status); } &&
10975 { ac_try
='test -z "$ac_c_werror_flag"
10976 || test ! -s conftest.err'
10977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10978 (eval $ac_try) 2>&5
10980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10981 (exit $ac_status); }; } &&
10982 { ac_try
='test -s conftest.$ac_objext'
10983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10984 (eval $ac_try) 2>&5
10986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987 (exit $ac_status); }; }; then
10988 for ac_declaration
in \
10990 'extern "C" void std::exit (int) throw (); using std::exit;' \
10991 'extern "C" void std::exit (int); using std::exit;' \
10992 'extern "C" void exit (int) throw ();' \
10993 'extern "C" void exit (int);' \
10996 cat >conftest.
$ac_ext <<_ACEOF
10999 cat confdefs.h
>>conftest.
$ac_ext
11000 cat >>conftest.
$ac_ext <<_ACEOF
11001 /* end confdefs.h. */
11003 #include <stdlib.h>
11012 rm -f conftest.
$ac_objext
11013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11014 (eval $ac_compile) 2>conftest.er1
11016 grep -v '^ *+' conftest.er1
>conftest.err
11018 cat conftest.err
>&5
11019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11020 (exit $ac_status); } &&
11021 { ac_try
='test -z "$ac_c_werror_flag"
11022 || test ! -s conftest.err'
11023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11024 (eval $ac_try) 2>&5
11026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11027 (exit $ac_status); }; } &&
11028 { ac_try
='test -s conftest.$ac_objext'
11029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11030 (eval $ac_try) 2>&5
11032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11033 (exit $ac_status); }; }; then
11036 echo "$as_me: failed program was:" >&5
11037 sed 's/^/| /' conftest.
$ac_ext >&5
11041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11042 cat >conftest.
$ac_ext <<_ACEOF
11045 cat confdefs.h
>>conftest.
$ac_ext
11046 cat >>conftest.
$ac_ext <<_ACEOF
11047 /* end confdefs.h. */
11057 rm -f conftest.
$ac_objext
11058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11059 (eval $ac_compile) 2>conftest.er1
11061 grep -v '^ *+' conftest.er1
>conftest.err
11063 cat conftest.err
>&5
11064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11065 (exit $ac_status); } &&
11066 { ac_try
='test -z "$ac_c_werror_flag"
11067 || test ! -s conftest.err'
11068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11069 (eval $ac_try) 2>&5
11071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11072 (exit $ac_status); }; } &&
11073 { ac_try
='test -s conftest.$ac_objext'
11074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11075 (eval $ac_try) 2>&5
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); }; }; then
11081 echo "$as_me: failed program was:" >&5
11082 sed 's/^/| /' conftest.
$ac_ext >&5
11085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11088 if test -n "$ac_declaration"; then
11089 echo '#ifdef __cplusplus' >>confdefs.h
11090 echo $ac_declaration >>confdefs.h
11091 echo '#endif' >>confdefs.h
11095 echo "$as_me: failed program was:" >&5
11096 sed 's/^/| /' conftest.
$ac_ext >&5
11099 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11101 ac_cpp
='$CPP $CPPFLAGS'
11102 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11103 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11104 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11109 ac_cpp
='$CPP $CPPFLAGS'
11110 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11111 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11112 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11113 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11114 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11115 # On Suns, sometimes $CPP names a directory.
11116 if test -n "$CPP" && test -d "$CPP"; then
11119 if test -z "$CPP"; then
11120 if test "${ac_cv_prog_CPP+set}" = set; then
11121 echo $ECHO_N "(cached) $ECHO_C" >&6
11123 # Double quotes because CPP needs to be expanded
11124 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11126 ac_preproc_ok
=false
11127 for ac_c_preproc_warn_flag
in '' yes
11129 # Use a header file that comes with gcc, so configuring glibc
11130 # with a fresh cross-compiler works.
11131 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11132 # <limits.h> exists even on freestanding compilers.
11133 # On the NeXT, cc -E runs the code through the compiler's parser,
11134 # not just through cpp. "Syntax error" is here to catch this case.
11135 cat >conftest.
$ac_ext <<_ACEOF
11138 cat confdefs.h
>>conftest.
$ac_ext
11139 cat >>conftest.
$ac_ext <<_ACEOF
11140 /* end confdefs.h. */
11142 # include <limits.h>
11144 # include <assert.h>
11148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11149 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11151 grep -v '^ *+' conftest.er1
>conftest.err
11153 cat conftest.err
>&5
11154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11155 (exit $ac_status); } >/dev
/null
; then
11156 if test -s conftest.err
; then
11157 ac_cpp_err
=$ac_c_preproc_warn_flag
11158 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11165 if test -z "$ac_cpp_err"; then
11168 echo "$as_me: failed program was:" >&5
11169 sed 's/^/| /' conftest.
$ac_ext >&5
11171 # Broken: fails on valid input.
11174 rm -f conftest.err conftest.
$ac_ext
11176 # OK, works on sane cases. Now check whether non-existent headers
11177 # can be detected and how.
11178 cat >conftest.
$ac_ext <<_ACEOF
11181 cat confdefs.h
>>conftest.
$ac_ext
11182 cat >>conftest.
$ac_ext <<_ACEOF
11183 /* end confdefs.h. */
11184 #include <ac_nonexistent.h>
11186 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11187 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11189 grep -v '^ *+' conftest.er1
>conftest.err
11191 cat conftest.err
>&5
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); } >/dev
/null
; then
11194 if test -s conftest.err
; then
11195 ac_cpp_err
=$ac_c_preproc_warn_flag
11196 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11203 if test -z "$ac_cpp_err"; then
11204 # Broken: success on invalid input.
11207 echo "$as_me: failed program was:" >&5
11208 sed 's/^/| /' conftest.
$ac_ext >&5
11210 # Passes both tests.
11214 rm -f conftest.err conftest.
$ac_ext
11217 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11218 rm -f conftest.err conftest.
$ac_ext
11219 if $ac_preproc_ok; then
11224 ac_cv_prog_CPP
=$CPP
11227 CPP
=$ac_cv_prog_CPP
11229 ac_cv_prog_CPP
=$CPP
11231 echo "$as_me:$LINENO: result: $CPP" >&5
11232 echo "${ECHO_T}$CPP" >&6
11233 ac_preproc_ok
=false
11234 for ac_c_preproc_warn_flag
in '' yes
11236 # Use a header file that comes with gcc, so configuring glibc
11237 # with a fresh cross-compiler works.
11238 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11239 # <limits.h> exists even on freestanding compilers.
11240 # On the NeXT, cc -E runs the code through the compiler's parser,
11241 # not just through cpp. "Syntax error" is here to catch this case.
11242 cat >conftest.
$ac_ext <<_ACEOF
11245 cat confdefs.h
>>conftest.
$ac_ext
11246 cat >>conftest.
$ac_ext <<_ACEOF
11247 /* end confdefs.h. */
11249 # include <limits.h>
11251 # include <assert.h>
11255 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11256 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11258 grep -v '^ *+' conftest.er1
>conftest.err
11260 cat conftest.err
>&5
11261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11262 (exit $ac_status); } >/dev
/null
; then
11263 if test -s conftest.err
; then
11264 ac_cpp_err
=$ac_c_preproc_warn_flag
11265 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11272 if test -z "$ac_cpp_err"; then
11275 echo "$as_me: failed program was:" >&5
11276 sed 's/^/| /' conftest.
$ac_ext >&5
11278 # Broken: fails on valid input.
11281 rm -f conftest.err conftest.
$ac_ext
11283 # OK, works on sane cases. Now check whether non-existent headers
11284 # can be detected and how.
11285 cat >conftest.
$ac_ext <<_ACEOF
11288 cat confdefs.h
>>conftest.
$ac_ext
11289 cat >>conftest.
$ac_ext <<_ACEOF
11290 /* end confdefs.h. */
11291 #include <ac_nonexistent.h>
11293 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11294 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11296 grep -v '^ *+' conftest.er1
>conftest.err
11298 cat conftest.err
>&5
11299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11300 (exit $ac_status); } >/dev
/null
; then
11301 if test -s conftest.err
; then
11302 ac_cpp_err
=$ac_c_preproc_warn_flag
11303 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11310 if test -z "$ac_cpp_err"; then
11311 # Broken: success on invalid input.
11314 echo "$as_me: failed program was:" >&5
11315 sed 's/^/| /' conftest.
$ac_ext >&5
11317 # Passes both tests.
11321 rm -f conftest.err conftest.
$ac_ext
11324 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11325 rm -f conftest.err conftest.
$ac_ext
11326 if $ac_preproc_ok; then
11329 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11330 See \`config.log' for more details." >&5
11331 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11332 See \`config.log' for more details." >&2;}
11333 { (exit 1); exit 1; }; }
11337 ac_cpp
='$CPP $CPPFLAGS'
11338 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11339 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11340 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11343 echo "$as_me:$LINENO: checking for egrep" >&5
11344 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11345 if test "${ac_cv_prog_egrep+set}" = set; then
11346 echo $ECHO_N "(cached) $ECHO_C" >&6
11348 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11349 then ac_cv_prog_egrep
='grep -E'
11350 else ac_cv_prog_egrep
='egrep'
11353 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11354 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11355 EGREP
=$ac_cv_prog_egrep
11358 if test $ac_cv_c_compiler_gnu = yes; then
11359 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11360 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11361 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11362 echo $ECHO_N "(cached) $ECHO_C" >&6
11364 ac_pattern
="Autoconf.*'x'"
11365 cat >conftest.
$ac_ext <<_ACEOF
11368 cat confdefs.h
>>conftest.
$ac_ext
11369 cat >>conftest.
$ac_ext <<_ACEOF
11370 /* end confdefs.h. */
11374 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11375 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11376 ac_cv_prog_gcc_traditional
=yes
11378 ac_cv_prog_gcc_traditional
=no
11383 if test $ac_cv_prog_gcc_traditional = no
; then
11384 cat >conftest.
$ac_ext <<_ACEOF
11387 cat confdefs.h
>>conftest.
$ac_ext
11388 cat >>conftest.
$ac_ext <<_ACEOF
11389 /* end confdefs.h. */
11390 #include <termio.h>
11393 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11394 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11395 ac_cv_prog_gcc_traditional
=yes
11401 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11402 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11403 if test $ac_cv_prog_gcc_traditional = yes; then
11404 CC
="$CC -traditional"
11412 ac_cpp
='$CXXCPP $CPPFLAGS'
11413 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11414 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11415 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11418 CXXFLAGS
=${CXXFLAGS:=}
11420 ac_cpp
='$CXXCPP $CPPFLAGS'
11421 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11422 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11423 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11424 if test -n "$ac_tool_prefix"; then
11425 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11427 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11428 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11429 echo "$as_me:$LINENO: checking for $ac_word" >&5
11430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11431 if test "${ac_cv_prog_CXX+set}" = set; then
11432 echo $ECHO_N "(cached) $ECHO_C" >&6
11434 if test -n "$CXX"; then
11435 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11438 for as_dir
in $PATH
11441 test -z "$as_dir" && as_dir
=.
11442 for ac_exec_ext
in '' $ac_executable_extensions; do
11443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11444 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11453 CXX
=$ac_cv_prog_CXX
11454 if test -n "$CXX"; then
11455 echo "$as_me:$LINENO: result: $CXX" >&5
11456 echo "${ECHO_T}$CXX" >&6
11458 echo "$as_me:$LINENO: result: no" >&5
11459 echo "${ECHO_T}no" >&6
11462 test -n "$CXX" && break
11465 if test -z "$CXX"; then
11467 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11469 # Extract the first word of "$ac_prog", so it can be a program name with args.
11470 set dummy
$ac_prog; ac_word
=$2
11471 echo "$as_me:$LINENO: checking for $ac_word" >&5
11472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11473 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11474 echo $ECHO_N "(cached) $ECHO_C" >&6
11476 if test -n "$ac_ct_CXX"; then
11477 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11480 for as_dir
in $PATH
11483 test -z "$as_dir" && as_dir
=.
11484 for ac_exec_ext
in '' $ac_executable_extensions; do
11485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11486 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11495 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11496 if test -n "$ac_ct_CXX"; then
11497 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11498 echo "${ECHO_T}$ac_ct_CXX" >&6
11500 echo "$as_me:$LINENO: result: no" >&5
11501 echo "${ECHO_T}no" >&6
11504 test -n "$ac_ct_CXX" && break
11506 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11512 # Provide some information about the compiler.
11513 echo "$as_me:$LINENO:" \
11514 "checking for C++ compiler version" >&5
11515 ac_compiler
=`set X $ac_compile; echo $2`
11516 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11517 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11520 (exit $ac_status); }
11521 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11522 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11525 (exit $ac_status); }
11526 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11527 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); }
11532 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11533 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11534 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11535 echo $ECHO_N "(cached) $ECHO_C" >&6
11537 cat >conftest.
$ac_ext <<_ACEOF
11540 cat confdefs.h
>>conftest.
$ac_ext
11541 cat >>conftest.
$ac_ext <<_ACEOF
11542 /* end confdefs.h. */
11555 rm -f conftest.
$ac_objext
11556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11557 (eval $ac_compile) 2>conftest.er1
11559 grep -v '^ *+' conftest.er1
>conftest.err
11561 cat conftest.err
>&5
11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11563 (exit $ac_status); } &&
11564 { ac_try
='test -z "$ac_cxx_werror_flag"
11565 || test ! -s conftest.err'
11566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11567 (eval $ac_try) 2>&5
11569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11570 (exit $ac_status); }; } &&
11571 { ac_try
='test -s conftest.$ac_objext'
11572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11573 (eval $ac_try) 2>&5
11575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11576 (exit $ac_status); }; }; then
11577 ac_compiler_gnu
=yes
11579 echo "$as_me: failed program was:" >&5
11580 sed 's/^/| /' conftest.
$ac_ext >&5
11584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11585 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11588 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11589 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11590 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11591 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11592 ac_save_CXXFLAGS
=$CXXFLAGS
11594 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11595 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11596 if test "${ac_cv_prog_cxx_g+set}" = set; then
11597 echo $ECHO_N "(cached) $ECHO_C" >&6
11599 cat >conftest.
$ac_ext <<_ACEOF
11602 cat confdefs.h
>>conftest.
$ac_ext
11603 cat >>conftest.
$ac_ext <<_ACEOF
11604 /* end confdefs.h. */
11614 rm -f conftest.
$ac_objext
11615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11616 (eval $ac_compile) 2>conftest.er1
11618 grep -v '^ *+' conftest.er1
>conftest.err
11620 cat conftest.err
>&5
11621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11622 (exit $ac_status); } &&
11623 { ac_try
='test -z "$ac_cxx_werror_flag"
11624 || test ! -s conftest.err'
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); }; } &&
11630 { ac_try
='test -s conftest.$ac_objext'
11631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11632 (eval $ac_try) 2>&5
11634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11635 (exit $ac_status); }; }; then
11636 ac_cv_prog_cxx_g
=yes
11638 echo "$as_me: failed program was:" >&5
11639 sed 's/^/| /' conftest.
$ac_ext >&5
11641 ac_cv_prog_cxx_g
=no
11643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11645 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11646 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11647 if test "$ac_test_CXXFLAGS" = set; then
11648 CXXFLAGS
=$ac_save_CXXFLAGS
11649 elif test $ac_cv_prog_cxx_g = yes; then
11650 if test "$GXX" = yes; then
11656 if test "$GXX" = yes; then
11662 for ac_declaration
in \
11664 'extern "C" void std::exit (int) throw (); using std::exit;' \
11665 'extern "C" void std::exit (int); using std::exit;' \
11666 'extern "C" void exit (int) throw ();' \
11667 'extern "C" void exit (int);' \
11670 cat >conftest.
$ac_ext <<_ACEOF
11673 cat confdefs.h
>>conftest.
$ac_ext
11674 cat >>conftest.
$ac_ext <<_ACEOF
11675 /* end confdefs.h. */
11677 #include <stdlib.h>
11686 rm -f conftest.
$ac_objext
11687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11688 (eval $ac_compile) 2>conftest.er1
11690 grep -v '^ *+' conftest.er1
>conftest.err
11692 cat conftest.err
>&5
11693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11694 (exit $ac_status); } &&
11695 { ac_try
='test -z "$ac_cxx_werror_flag"
11696 || test ! -s conftest.err'
11697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11698 (eval $ac_try) 2>&5
11700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11701 (exit $ac_status); }; } &&
11702 { ac_try
='test -s conftest.$ac_objext'
11703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11704 (eval $ac_try) 2>&5
11706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11707 (exit $ac_status); }; }; then
11710 echo "$as_me: failed program was:" >&5
11711 sed 's/^/| /' conftest.
$ac_ext >&5
11715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11716 cat >conftest.
$ac_ext <<_ACEOF
11719 cat confdefs.h
>>conftest.
$ac_ext
11720 cat >>conftest.
$ac_ext <<_ACEOF
11721 /* end confdefs.h. */
11731 rm -f conftest.
$ac_objext
11732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11733 (eval $ac_compile) 2>conftest.er1
11735 grep -v '^ *+' conftest.er1
>conftest.err
11737 cat conftest.err
>&5
11738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11739 (exit $ac_status); } &&
11740 { ac_try
='test -z "$ac_cxx_werror_flag"
11741 || test ! -s conftest.err'
11742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11743 (eval $ac_try) 2>&5
11745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11746 (exit $ac_status); }; } &&
11747 { ac_try
='test -s conftest.$ac_objext'
11748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11749 (eval $ac_try) 2>&5
11751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11752 (exit $ac_status); }; }; then
11755 echo "$as_me: failed program was:" >&5
11756 sed 's/^/| /' conftest.
$ac_ext >&5
11759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11762 if test -n "$ac_declaration"; then
11763 echo '#ifdef __cplusplus' >>confdefs.h
11764 echo $ac_declaration >>confdefs.h
11765 echo '#endif' >>confdefs.h
11769 ac_cpp
='$CXXCPP $CPPFLAGS'
11770 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11771 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11772 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11776 ac_cpp
='$CPP $CPPFLAGS'
11777 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11778 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11779 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11782 echo "$as_me:$LINENO: checking for /usr/local/include in default include path" >&5
11783 echo $ECHO_N "checking for /usr/local/include in default include path... $ECHO_C" >&6
11784 GCC_SEARCHES_USR_LOCAL_INCLUDE
="no"
11785 if test "$GCC" = "yes" ; then
11786 echo | gcc
-v -x c
++ -E - 2>&1 | sed -n '/^#include </,$p' | \
11787 sed -n '1,/End of search list\./p' | \
11788 grep '^ */usr/local/include$' 2>&1 /dev
/null \
11789 && GCC_SEARCHES_USR_LOCAL_INCLUDE
="yes"
11791 echo "$as_me:$LINENO: result: $GCC_SEARCHES_USR_LOCAL_INCLUDE" >&5
11792 echo "${ECHO_T}$GCC_SEARCHES_USR_LOCAL_INCLUDE" >&6
11794 if test -n "$ac_tool_prefix"; then
11795 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11796 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11797 echo "$as_me:$LINENO: checking for $ac_word" >&5
11798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11799 if test "${ac_cv_prog_RANLIB+set}" = set; then
11800 echo $ECHO_N "(cached) $ECHO_C" >&6
11802 if test -n "$RANLIB"; then
11803 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11806 for as_dir
in $PATH
11809 test -z "$as_dir" && as_dir
=.
11810 for ac_exec_ext
in '' $ac_executable_extensions; do
11811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11812 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11821 RANLIB
=$ac_cv_prog_RANLIB
11822 if test -n "$RANLIB"; then
11823 echo "$as_me:$LINENO: result: $RANLIB" >&5
11824 echo "${ECHO_T}$RANLIB" >&6
11826 echo "$as_me:$LINENO: result: no" >&5
11827 echo "${ECHO_T}no" >&6
11831 if test -z "$ac_cv_prog_RANLIB"; then
11832 ac_ct_RANLIB
=$RANLIB
11833 # Extract the first word of "ranlib", so it can be a program name with args.
11834 set dummy ranlib
; ac_word
=$2
11835 echo "$as_me:$LINENO: checking for $ac_word" >&5
11836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11837 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11838 echo $ECHO_N "(cached) $ECHO_C" >&6
11840 if test -n "$ac_ct_RANLIB"; then
11841 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11844 for as_dir
in $PATH
11847 test -z "$as_dir" && as_dir
=.
11848 for ac_exec_ext
in '' $ac_executable_extensions; do
11849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11850 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11857 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11860 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11861 if test -n "$ac_ct_RANLIB"; then
11862 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11863 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11865 echo "$as_me:$LINENO: result: no" >&5
11866 echo "${ECHO_T}no" >&6
11869 RANLIB
=$ac_ct_RANLIB
11871 RANLIB
="$ac_cv_prog_RANLIB"
11875 # Extract the first word of "ar", so it can be a program name with args.
11876 set dummy
ar; ac_word
=$2
11877 echo "$as_me:$LINENO: checking for $ac_word" >&5
11878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11879 if test "${ac_cv_prog_AR+set}" = set; then
11880 echo $ECHO_N "(cached) $ECHO_C" >&6
11882 if test -n "$AR"; then
11883 ac_cv_prog_AR
="$AR" # Let the user override the test.
11885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11886 for as_dir
in $PATH
11889 test -z "$as_dir" && as_dir
=.
11890 for ac_exec_ext
in '' $ac_executable_extensions; do
11891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11902 if test -n "$AR"; then
11903 echo "$as_me:$LINENO: result: $AR" >&5
11904 echo "${ECHO_T}$AR" >&6
11906 echo "$as_me:$LINENO: result: no" >&5
11907 echo "${ECHO_T}no" >&6
11910 if test "x$AR" = "x" ; then
11911 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
11912 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
11913 { (exit 1); exit 1; }; }
11916 # Find a good install program. We prefer a C program (faster),
11917 # so one script is as good as another. But avoid the broken or
11918 # incompatible versions:
11919 # SysV /etc/install, /usr/sbin/install
11920 # SunOS /usr/etc/install
11921 # IRIX /sbin/install
11923 # AmigaOS /C/install, which installs bootblocks on floppy discs
11924 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11925 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11926 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11927 # OS/2's system install, which has a completely different semantic
11928 # ./install, which can be erroneously created by make from ./install.sh.
11929 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11930 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11931 if test -z "$INSTALL"; then
11932 if test "${ac_cv_path_install+set}" = set; then
11933 echo $ECHO_N "(cached) $ECHO_C" >&6
11935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11936 for as_dir
in $PATH
11939 test -z "$as_dir" && as_dir
=.
11940 # Account for people who put trailing slashes in PATH elements.
11942 .
/ | .
// | /cC
/* | \
11943 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11944 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11947 # OSF1 and SCO ODT 3.0 have their own names for install.
11948 # Don't use installbsd from OSF since it installs stuff as root
11950 for ac_prog
in ginstall scoinst
install; do
11951 for ac_exec_ext
in '' $ac_executable_extensions; do
11952 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11953 if test $ac_prog = install &&
11954 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11955 # AIX install. It has an incompatible calling convention.
11957 elif test $ac_prog = install &&
11958 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11959 # program-specific install script used by HP pwplus--don't use.
11962 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11974 if test "${ac_cv_path_install+set}" = set; then
11975 INSTALL
=$ac_cv_path_install
11977 # As a last resort, use the slow shell script. We don't cache a
11978 # path for INSTALL within a source directory, because that will
11979 # break other packages using the cache if that directory is
11980 # removed, or if the path is relative.
11981 INSTALL
=$ac_install_sh
11984 echo "$as_me:$LINENO: result: $INSTALL" >&5
11985 echo "${ECHO_T}$INSTALL" >&6
11987 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11988 # It thinks the first close brace ends the variable substitution.
11989 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11991 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11993 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11999 ?
:* ) # Drive letter, considered as absolute.
12002 INSTALL
=`pwd`/${INSTALL} ;;
12007 INSTALL_DIR
="mkdir"
12010 *) INSTALL_DIR
="$INSTALL -d"
12017 powerpc
-*-darwin* )
12018 INSTALL_PROGRAM
="cp -fp"
12019 INSTALL_DATA
="cp -fp"
12025 # Extract the first word of "strip", so it can be a program name with args.
12026 set dummy strip
; ac_word
=$2
12027 echo "$as_me:$LINENO: checking for $ac_word" >&5
12028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12029 if test "${ac_cv_prog_STRIP+set}" = set; then
12030 echo $ECHO_N "(cached) $ECHO_C" >&6
12032 if test -n "$STRIP"; then
12033 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12036 for as_dir
in $PATH
12039 test -z "$as_dir" && as_dir
=.
12040 for ac_exec_ext
in '' $ac_executable_extensions; do
12041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12042 ac_cv_prog_STRIP
="strip"
12043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12049 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12052 STRIP
=$ac_cv_prog_STRIP
12053 if test -n "$STRIP"; then
12054 echo "$as_me:$LINENO: result: $STRIP" >&5
12055 echo "${ECHO_T}$STRIP" >&6
12057 echo "$as_me:$LINENO: result: no" >&5
12058 echo "${ECHO_T}no" >&6
12062 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12063 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12064 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12065 echo $ECHO_N "(cached) $ECHO_C" >&6
12068 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12069 egrep -s GNU
> /dev
/null
); then
12070 wx_cv_prog_makeisgnu
="yes"
12072 wx_cv_prog_makeisgnu
="no"
12076 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12077 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12079 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12087 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12088 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12089 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12090 if test "${wx_cv_prog_makevpath+set}" = set; then
12091 echo $ECHO_N "(cached) $ECHO_C" >&6
12094 cat - << EOF > confMake
12100 if test ! -d sub
; then
12103 echo dummy
> sub
/file
12104 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12106 rm -f sub
/file check final_file confMake
12108 if test "$RESULT" = 0; then
12109 wx_cv_prog_makevpath
="yes"
12111 wx_cv_prog_makevpath
="no"
12115 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12116 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12118 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12119 { { echo "$as_me:$LINENO: error:
12120 You need a make-utility that is able to use the variable
12122 If your version of make does not support VPATH correctly,
12123 please install GNU-make (possibly as gmake), and start
12124 configure with the following command:
12125 export MAKE=gmake; ./configure for sh-type shells
12126 setenv MAKE gmake; ./configure for csh-type shells
12127 Also please do remember to use gmake in this case every time
12128 you are trying to compile.
12130 echo "$as_me: error:
12131 You need a make-utility that is able to use the variable
12133 If your version of make does not support VPATH correctly,
12134 please install GNU-make (possibly as gmake), and start
12135 configure with the following command:
12136 export MAKE=gmake; ./configure for sh-type shells
12137 setenv MAKE gmake; ./configure for csh-type shells
12138 Also please do remember to use gmake in this case every time
12139 you are trying to compile.
12141 { (exit 1); exit 1; }; }
12143 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12144 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12146 if test "$LN_S" = "ln -s"; then
12147 echo "$as_me:$LINENO: result: yes" >&5
12148 echo "${ECHO_T}yes" >&6
12150 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12151 echo "${ECHO_T}no, using $LN_S" >&6
12157 *-pc-os2_emx | *-pc-os2-emx )
12158 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12159 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12160 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12161 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12162 echo $ECHO_N "(cached) $ECHO_C" >&6
12164 ac_check_lib_save_LIBS
=$LIBS
12165 LIBS
="-lcExt $LIBS"
12166 cat >conftest.
$ac_ext <<_ACEOF
12169 cat confdefs.h
>>conftest.
$ac_ext
12170 cat >>conftest.
$ac_ext <<_ACEOF
12171 /* end confdefs.h. */
12173 /* Override any gcc2 internal prototype to avoid an error. */
12177 /* We use char because int might match the return type of a gcc2
12178 builtin and then its argument prototype would still apply. */
12188 rm -f conftest.
$ac_objext conftest
$ac_exeext
12189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12190 (eval $ac_link) 2>conftest.er1
12192 grep -v '^ *+' conftest.er1
>conftest.err
12194 cat conftest.err
>&5
12195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12196 (exit $ac_status); } &&
12197 { ac_try
='test -z "$ac_c_werror_flag"
12198 || test ! -s conftest.err'
12199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12200 (eval $ac_try) 2>&5
12202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12203 (exit $ac_status); }; } &&
12204 { ac_try
='test -s conftest$ac_exeext'
12205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12206 (eval $ac_try) 2>&5
12208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12209 (exit $ac_status); }; }; then
12210 ac_cv_lib_cExt_drand48
=yes
12212 echo "$as_me: failed program was:" >&5
12213 sed 's/^/| /' conftest.
$ac_ext >&5
12215 ac_cv_lib_cExt_drand48
=no
12217 rm -f conftest.err conftest.
$ac_objext \
12218 conftest
$ac_exeext conftest.
$ac_ext
12219 LIBS
=$ac_check_lib_save_LIBS
12221 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12222 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12223 if test $ac_cv_lib_cExt_drand48 = yes; then
12224 LIBS
="$LIBS -lcExt"
12228 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12230 echo "$as_me:$LINENO: checking for gcc version" >&5
12231 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12232 if test "${wx_cv_gccversion+set}" = set; then
12233 echo $ECHO_N "(cached) $ECHO_C" >&6
12236 cat >conftest.
$ac_ext <<_ACEOF
12239 cat confdefs.h
>>conftest.
$ac_ext
12240 cat >>conftest.
$ac_ext <<_ACEOF
12241 /* end confdefs.h. */
12255 rm -f conftest.
$ac_objext
12256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12257 (eval $ac_compile) 2>conftest.er1
12259 grep -v '^ *+' conftest.er1
>conftest.err
12261 cat conftest.err
>&5
12262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263 (exit $ac_status); } &&
12264 { ac_try
='test -z "$ac_c_werror_flag"
12265 || test ! -s conftest.err'
12266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12267 (eval $ac_try) 2>&5
12269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270 (exit $ac_status); }; } &&
12271 { ac_try
='test -s conftest.$ac_objext'
12272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12273 (eval $ac_try) 2>&5
12275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12276 (exit $ac_status); }; }; then
12278 cat >conftest.
$ac_ext <<_ACEOF
12281 cat confdefs.h
>>conftest.
$ac_ext
12282 cat >>conftest.
$ac_ext <<_ACEOF
12283 /* end confdefs.h. */
12289 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12290 #error intermediate gcc
12297 rm -f conftest.
$ac_objext
12298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12299 (eval $ac_compile) 2>conftest.er1
12301 grep -v '^ *+' conftest.er1
>conftest.err
12303 cat conftest.err
>&5
12304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12305 (exit $ac_status); } &&
12306 { ac_try
='test -z "$ac_c_werror_flag"
12307 || test ! -s conftest.err'
12308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12309 (eval $ac_try) 2>&5
12311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12312 (exit $ac_status); }; } &&
12313 { ac_try
='test -s conftest.$ac_objext'
12314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12315 (eval $ac_try) 2>&5
12317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12318 (exit $ac_status); }; }; then
12320 wx_cv_gccversion
=Innotek
12323 echo "$as_me: failed program was:" >&5
12324 sed 's/^/| /' conftest.
$ac_ext >&5
12331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12334 echo "$as_me: failed program was:" >&5
12335 sed 's/^/| /' conftest.
$ac_ext >&5
12342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12345 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12346 echo "${ECHO_T}$wx_cv_gccversion" >&6
12347 if test "$wx_cv_gccversion" = "2"; then
12348 LIBS
="$LIBS -lstdcpp"
12349 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12351 if test "$wx_cv_gccversion" = "3"; then
12352 LIBS
="$LIBS -lstdcxx"
12353 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12355 LIBS
="$LIBS -lstdc++"
12358 if test "$wxUSE_OMF" = "yes"; then
12359 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12367 ac_cpp
='$CXXCPP $CPPFLAGS'
12368 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12369 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12370 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12374 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12375 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12376 if test "${ac_cv_string_strcasecmp+set}" = set; then
12377 echo $ECHO_N "(cached) $ECHO_C" >&6
12380 cat >conftest.
$ac_ext <<_ACEOF
12383 cat confdefs.h
>>conftest.
$ac_ext
12384 cat >>conftest.
$ac_ext <<_ACEOF
12385 /* end confdefs.h. */
12387 #include <string.h>
12393 strcasecmp("foo", "bar");
12399 rm -f conftest.
$ac_objext conftest
$ac_exeext
12400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12401 (eval $ac_link) 2>conftest.er1
12403 grep -v '^ *+' conftest.er1
>conftest.err
12405 cat conftest.err
>&5
12406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12407 (exit $ac_status); } &&
12408 { ac_try
='test -z "$ac_cxx_werror_flag"
12409 || test ! -s conftest.err'
12410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12411 (eval $ac_try) 2>&5
12413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12414 (exit $ac_status); }; } &&
12415 { ac_try
='test -s conftest$ac_exeext'
12416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12417 (eval $ac_try) 2>&5
12419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12420 (exit $ac_status); }; }; then
12421 ac_cv_string_strcasecmp
=yes
12423 echo "$as_me: failed program was:" >&5
12424 sed 's/^/| /' conftest.
$ac_ext >&5
12426 ac_cv_string_strcasecmp
=no
12429 rm -f conftest.err conftest.
$ac_objext \
12430 conftest
$ac_exeext conftest.
$ac_ext
12433 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12434 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12436 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12437 cat >>confdefs.h
<<\_ACEOF
12438 #define HAVE_STRCASECMP_IN_STRING_H 1
12442 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12443 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12444 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12445 echo $ECHO_N "(cached) $ECHO_C" >&6
12448 cat >conftest.
$ac_ext <<_ACEOF
12451 cat confdefs.h
>>conftest.
$ac_ext
12452 cat >>conftest.
$ac_ext <<_ACEOF
12453 /* end confdefs.h. */
12455 #include <strings.h>
12461 strcasecmp("foo", "bar");
12467 rm -f conftest.
$ac_objext conftest
$ac_exeext
12468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12469 (eval $ac_link) 2>conftest.er1
12471 grep -v '^ *+' conftest.er1
>conftest.err
12473 cat conftest.err
>&5
12474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12475 (exit $ac_status); } &&
12476 { ac_try
='test -z "$ac_cxx_werror_flag"
12477 || test ! -s conftest.err'
12478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12479 (eval $ac_try) 2>&5
12481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12482 (exit $ac_status); }; } &&
12483 { ac_try
='test -s conftest$ac_exeext'
12484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12485 (eval $ac_try) 2>&5
12487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12488 (exit $ac_status); }; }; then
12489 ac_cv_strings_strcasecmp
=yes
12491 echo "$as_me: failed program was:" >&5
12492 sed 's/^/| /' conftest.
$ac_ext >&5
12494 ac_cv_strings_strcasecmp
=no
12497 rm -f conftest.err conftest.
$ac_objext \
12498 conftest
$ac_exeext conftest.
$ac_ext
12501 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12502 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12504 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12505 cat >>confdefs.h
<<\_ACEOF
12506 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12510 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12511 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12512 { (exit 1); exit 1; }; }
12517 ac_cpp
='$CPP $CPPFLAGS'
12518 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12519 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12520 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12526 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12527 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12528 if test "${ac_cv_header_stdc+set}" = set; then
12529 echo $ECHO_N "(cached) $ECHO_C" >&6
12531 cat >conftest.
$ac_ext <<_ACEOF
12534 cat confdefs.h
>>conftest.
$ac_ext
12535 cat >>conftest.
$ac_ext <<_ACEOF
12536 /* end confdefs.h. */
12537 #include <stdlib.h>
12538 #include <stdarg.h>
12539 #include <string.h>
12550 rm -f conftest.
$ac_objext
12551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12552 (eval $ac_compile) 2>conftest.er1
12554 grep -v '^ *+' conftest.er1
>conftest.err
12556 cat conftest.err
>&5
12557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12558 (exit $ac_status); } &&
12559 { ac_try
='test -z "$ac_c_werror_flag"
12560 || test ! -s conftest.err'
12561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12562 (eval $ac_try) 2>&5
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); }; } &&
12566 { ac_try
='test -s conftest.$ac_objext'
12567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12568 (eval $ac_try) 2>&5
12570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12571 (exit $ac_status); }; }; then
12572 ac_cv_header_stdc
=yes
12574 echo "$as_me: failed program was:" >&5
12575 sed 's/^/| /' conftest.
$ac_ext >&5
12577 ac_cv_header_stdc
=no
12579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12581 if test $ac_cv_header_stdc = yes; then
12582 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12583 cat >conftest.
$ac_ext <<_ACEOF
12586 cat confdefs.h
>>conftest.
$ac_ext
12587 cat >>conftest.
$ac_ext <<_ACEOF
12588 /* end confdefs.h. */
12589 #include <string.h>
12592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12593 $EGREP "memchr" >/dev
/null
2>&1; then
12596 ac_cv_header_stdc
=no
12602 if test $ac_cv_header_stdc = yes; then
12603 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12604 cat >conftest.
$ac_ext <<_ACEOF
12607 cat confdefs.h
>>conftest.
$ac_ext
12608 cat >>conftest.
$ac_ext <<_ACEOF
12609 /* end confdefs.h. */
12610 #include <stdlib.h>
12613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12614 $EGREP "free" >/dev
/null
2>&1; then
12617 ac_cv_header_stdc
=no
12623 if test $ac_cv_header_stdc = yes; then
12624 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12625 if test "$cross_compiling" = yes; then
12628 cat >conftest.
$ac_ext <<_ACEOF
12631 cat confdefs.h
>>conftest.
$ac_ext
12632 cat >>conftest.
$ac_ext <<_ACEOF
12633 /* end confdefs.h. */
12635 #if ((' ' & 0x0FF) == 0x020)
12636 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12637 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12639 # define ISLOWER(c) \
12640 (('a' <= (c) && (c) <= 'i') \
12641 || ('j' <= (c) && (c) <= 'r') \
12642 || ('s' <= (c) && (c) <= 'z'))
12643 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12646 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12651 for (i = 0; i < 256; i++)
12652 if (XOR (islower (i), ISLOWER (i))
12653 || toupper (i) != TOUPPER (i))
12658 rm -f conftest
$ac_exeext
12659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12660 (eval $ac_link) 2>&5
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12665 (eval $ac_try) 2>&5
12667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668 (exit $ac_status); }; }; then
12671 echo "$as_me: program exited with status $ac_status" >&5
12672 echo "$as_me: failed program was:" >&5
12673 sed 's/^/| /' conftest.
$ac_ext >&5
12675 ( exit $ac_status )
12676 ac_cv_header_stdc
=no
12678 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12682 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12683 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12684 if test $ac_cv_header_stdc = yes; then
12686 cat >>confdefs.h
<<\_ACEOF
12687 #define STDC_HEADERS 1
12692 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12702 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12703 inttypes.h stdint.h unistd.h
12705 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12706 echo "$as_me:$LINENO: checking for $ac_header" >&5
12707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12708 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12709 echo $ECHO_N "(cached) $ECHO_C" >&6
12711 cat >conftest.
$ac_ext <<_ACEOF
12714 cat confdefs.h
>>conftest.
$ac_ext
12715 cat >>conftest.
$ac_ext <<_ACEOF
12716 /* end confdefs.h. */
12717 $ac_includes_default
12719 #include <$ac_header>
12721 rm -f conftest.
$ac_objext
12722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12723 (eval $ac_compile) 2>conftest.er1
12725 grep -v '^ *+' conftest.er1
>conftest.err
12727 cat conftest.err
>&5
12728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12729 (exit $ac_status); } &&
12730 { ac_try
='test -z "$ac_c_werror_flag"
12731 || test ! -s conftest.err'
12732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12733 (eval $ac_try) 2>&5
12735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736 (exit $ac_status); }; } &&
12737 { ac_try
='test -s conftest.$ac_objext'
12738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12739 (eval $ac_try) 2>&5
12741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12742 (exit $ac_status); }; }; then
12743 eval "$as_ac_Header=yes"
12745 echo "$as_me: failed program was:" >&5
12746 sed 's/^/| /' conftest.
$ac_ext >&5
12748 eval "$as_ac_Header=no"
12750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12753 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12754 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12755 cat >>confdefs.h
<<_ACEOF
12756 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12765 for ac_header
in stdlib.h
12767 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12769 echo "$as_me:$LINENO: checking for $ac_header" >&5
12770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12771 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12772 echo $ECHO_N "(cached) $ECHO_C" >&6
12774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12777 # Is the header compilable?
12778 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12779 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12780 cat >conftest.
$ac_ext <<_ACEOF
12783 cat confdefs.h
>>conftest.
$ac_ext
12784 cat >>conftest.
$ac_ext <<_ACEOF
12785 /* end confdefs.h. */
12786 $ac_includes_default
12787 #include <$ac_header>
12789 rm -f conftest.
$ac_objext
12790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12791 (eval $ac_compile) 2>conftest.er1
12793 grep -v '^ *+' conftest.er1
>conftest.err
12795 cat conftest.err
>&5
12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); } &&
12798 { ac_try
='test -z "$ac_c_werror_flag"
12799 || test ! -s conftest.err'
12800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12801 (eval $ac_try) 2>&5
12803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12804 (exit $ac_status); }; } &&
12805 { ac_try
='test -s conftest.$ac_objext'
12806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12807 (eval $ac_try) 2>&5
12809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12810 (exit $ac_status); }; }; then
12811 ac_header_compiler
=yes
12813 echo "$as_me: failed program was:" >&5
12814 sed 's/^/| /' conftest.
$ac_ext >&5
12816 ac_header_compiler
=no
12818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12819 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12820 echo "${ECHO_T}$ac_header_compiler" >&6
12822 # Is the header present?
12823 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12824 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12825 cat >conftest.
$ac_ext <<_ACEOF
12828 cat confdefs.h
>>conftest.
$ac_ext
12829 cat >>conftest.
$ac_ext <<_ACEOF
12830 /* end confdefs.h. */
12831 #include <$ac_header>
12833 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12834 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12836 grep -v '^ *+' conftest.er1
>conftest.err
12838 cat conftest.err
>&5
12839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12840 (exit $ac_status); } >/dev
/null
; then
12841 if test -s conftest.err
; then
12842 ac_cpp_err
=$ac_c_preproc_warn_flag
12843 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12850 if test -z "$ac_cpp_err"; then
12851 ac_header_preproc
=yes
12853 echo "$as_me: failed program was:" >&5
12854 sed 's/^/| /' conftest.
$ac_ext >&5
12856 ac_header_preproc
=no
12858 rm -f conftest.err conftest.
$ac_ext
12859 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12860 echo "${ECHO_T}$ac_header_preproc" >&6
12862 # So? What about this header?
12863 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12865 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12866 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12867 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12868 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12869 ac_header_preproc
=yes
12872 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12873 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12874 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12875 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12876 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12877 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12878 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12879 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12881 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12882 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12883 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12886 ## ----------------------------------------- ##
12887 ## Report this to wx-dev@lists.wxwidgets.org ##
12888 ## ----------------------------------------- ##
12891 sed "s/^/$as_me: WARNING: /" >&2
12894 echo "$as_me:$LINENO: checking for $ac_header" >&5
12895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12897 echo $ECHO_N "(cached) $ECHO_C" >&6
12899 eval "$as_ac_Header=\$ac_header_preproc"
12901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12902 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12905 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12906 cat >>confdefs.h
<<_ACEOF
12907 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12915 for ac_header
in malloc.h
12917 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12918 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12919 echo "$as_me:$LINENO: checking for $ac_header" >&5
12920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12922 echo $ECHO_N "(cached) $ECHO_C" >&6
12924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12925 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12927 # Is the header compilable?
12928 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12929 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12930 cat >conftest.
$ac_ext <<_ACEOF
12933 cat confdefs.h
>>conftest.
$ac_ext
12934 cat >>conftest.
$ac_ext <<_ACEOF
12935 /* end confdefs.h. */
12936 $ac_includes_default
12937 #include <$ac_header>
12939 rm -f conftest.
$ac_objext
12940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12941 (eval $ac_compile) 2>conftest.er1
12943 grep -v '^ *+' conftest.er1
>conftest.err
12945 cat conftest.err
>&5
12946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12947 (exit $ac_status); } &&
12948 { ac_try
='test -z "$ac_c_werror_flag"
12949 || test ! -s conftest.err'
12950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12951 (eval $ac_try) 2>&5
12953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12954 (exit $ac_status); }; } &&
12955 { ac_try
='test -s conftest.$ac_objext'
12956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12957 (eval $ac_try) 2>&5
12959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12960 (exit $ac_status); }; }; then
12961 ac_header_compiler
=yes
12963 echo "$as_me: failed program was:" >&5
12964 sed 's/^/| /' conftest.
$ac_ext >&5
12966 ac_header_compiler
=no
12968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12969 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12970 echo "${ECHO_T}$ac_header_compiler" >&6
12972 # Is the header present?
12973 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12974 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12975 cat >conftest.
$ac_ext <<_ACEOF
12978 cat confdefs.h
>>conftest.
$ac_ext
12979 cat >>conftest.
$ac_ext <<_ACEOF
12980 /* end confdefs.h. */
12981 #include <$ac_header>
12983 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12984 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12986 grep -v '^ *+' conftest.er1
>conftest.err
12988 cat conftest.err
>&5
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); } >/dev
/null
; then
12991 if test -s conftest.err
; then
12992 ac_cpp_err
=$ac_c_preproc_warn_flag
12993 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13000 if test -z "$ac_cpp_err"; then
13001 ac_header_preproc
=yes
13003 echo "$as_me: failed program was:" >&5
13004 sed 's/^/| /' conftest.
$ac_ext >&5
13006 ac_header_preproc
=no
13008 rm -f conftest.err conftest.
$ac_ext
13009 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13010 echo "${ECHO_T}$ac_header_preproc" >&6
13012 # So? What about this header?
13013 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13015 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13016 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13017 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13018 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13019 ac_header_preproc
=yes
13022 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13023 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13024 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13025 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13026 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13027 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13028 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13029 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13030 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13031 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13032 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13033 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13036 ## ----------------------------------------- ##
13037 ## Report this to wx-dev@lists.wxwidgets.org ##
13038 ## ----------------------------------------- ##
13041 sed "s/^/$as_me: WARNING: /" >&2
13044 echo "$as_me:$LINENO: checking for $ac_header" >&5
13045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13047 echo $ECHO_N "(cached) $ECHO_C" >&6
13049 eval "$as_ac_Header=\$ac_header_preproc"
13051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13055 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13056 cat >>confdefs.h
<<_ACEOF
13057 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13065 for ac_header
in unistd.h
13067 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13069 echo "$as_me:$LINENO: checking for $ac_header" >&5
13070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13072 echo $ECHO_N "(cached) $ECHO_C" >&6
13074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13075 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13077 # Is the header compilable?
13078 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13079 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13080 cat >conftest.
$ac_ext <<_ACEOF
13083 cat confdefs.h
>>conftest.
$ac_ext
13084 cat >>conftest.
$ac_ext <<_ACEOF
13085 /* end confdefs.h. */
13086 $ac_includes_default
13087 #include <$ac_header>
13089 rm -f conftest.
$ac_objext
13090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13091 (eval $ac_compile) 2>conftest.er1
13093 grep -v '^ *+' conftest.er1
>conftest.err
13095 cat conftest.err
>&5
13096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097 (exit $ac_status); } &&
13098 { ac_try
='test -z "$ac_c_werror_flag"
13099 || test ! -s conftest.err'
13100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13101 (eval $ac_try) 2>&5
13103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13104 (exit $ac_status); }; } &&
13105 { ac_try
='test -s conftest.$ac_objext'
13106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13107 (eval $ac_try) 2>&5
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); }; }; then
13111 ac_header_compiler
=yes
13113 echo "$as_me: failed program was:" >&5
13114 sed 's/^/| /' conftest.
$ac_ext >&5
13116 ac_header_compiler
=no
13118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13119 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13120 echo "${ECHO_T}$ac_header_compiler" >&6
13122 # Is the header present?
13123 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13124 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13125 cat >conftest.
$ac_ext <<_ACEOF
13128 cat confdefs.h
>>conftest.
$ac_ext
13129 cat >>conftest.
$ac_ext <<_ACEOF
13130 /* end confdefs.h. */
13131 #include <$ac_header>
13133 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13134 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13136 grep -v '^ *+' conftest.er1
>conftest.err
13138 cat conftest.err
>&5
13139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13140 (exit $ac_status); } >/dev
/null
; then
13141 if test -s conftest.err
; then
13142 ac_cpp_err
=$ac_c_preproc_warn_flag
13143 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13150 if test -z "$ac_cpp_err"; then
13151 ac_header_preproc
=yes
13153 echo "$as_me: failed program was:" >&5
13154 sed 's/^/| /' conftest.
$ac_ext >&5
13156 ac_header_preproc
=no
13158 rm -f conftest.err conftest.
$ac_ext
13159 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13160 echo "${ECHO_T}$ac_header_preproc" >&6
13162 # So? What about this header?
13163 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13165 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13166 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13168 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13169 ac_header_preproc
=yes
13172 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13173 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13174 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13175 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13176 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13177 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13178 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13179 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13180 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13181 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13182 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13183 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13186 ## ----------------------------------------- ##
13187 ## Report this to wx-dev@lists.wxwidgets.org ##
13188 ## ----------------------------------------- ##
13191 sed "s/^/$as_me: WARNING: /" >&2
13194 echo "$as_me:$LINENO: checking for $ac_header" >&5
13195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13197 echo $ECHO_N "(cached) $ECHO_C" >&6
13199 eval "$as_ac_Header=\$ac_header_preproc"
13201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13206 cat >>confdefs.h
<<_ACEOF
13207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13215 for ac_header
in wchar.h
13217 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13219 echo "$as_me:$LINENO: checking for $ac_header" >&5
13220 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13222 echo $ECHO_N "(cached) $ECHO_C" >&6
13224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13225 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13227 # Is the header compilable?
13228 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13229 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13230 cat >conftest.
$ac_ext <<_ACEOF
13233 cat confdefs.h
>>conftest.
$ac_ext
13234 cat >>conftest.
$ac_ext <<_ACEOF
13235 /* end confdefs.h. */
13236 $ac_includes_default
13237 #include <$ac_header>
13239 rm -f conftest.
$ac_objext
13240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13241 (eval $ac_compile) 2>conftest.er1
13243 grep -v '^ *+' conftest.er1
>conftest.err
13245 cat conftest.err
>&5
13246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13247 (exit $ac_status); } &&
13248 { ac_try
='test -z "$ac_c_werror_flag"
13249 || test ! -s conftest.err'
13250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13251 (eval $ac_try) 2>&5
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); }; } &&
13255 { ac_try
='test -s conftest.$ac_objext'
13256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13257 (eval $ac_try) 2>&5
13259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260 (exit $ac_status); }; }; then
13261 ac_header_compiler
=yes
13263 echo "$as_me: failed program was:" >&5
13264 sed 's/^/| /' conftest.
$ac_ext >&5
13266 ac_header_compiler
=no
13268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13269 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13270 echo "${ECHO_T}$ac_header_compiler" >&6
13272 # Is the header present?
13273 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13274 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13275 cat >conftest.
$ac_ext <<_ACEOF
13278 cat confdefs.h
>>conftest.
$ac_ext
13279 cat >>conftest.
$ac_ext <<_ACEOF
13280 /* end confdefs.h. */
13281 #include <$ac_header>
13283 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13284 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13286 grep -v '^ *+' conftest.er1
>conftest.err
13288 cat conftest.err
>&5
13289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13290 (exit $ac_status); } >/dev
/null
; then
13291 if test -s conftest.err
; then
13292 ac_cpp_err
=$ac_c_preproc_warn_flag
13293 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13300 if test -z "$ac_cpp_err"; then
13301 ac_header_preproc
=yes
13303 echo "$as_me: failed program was:" >&5
13304 sed 's/^/| /' conftest.
$ac_ext >&5
13306 ac_header_preproc
=no
13308 rm -f conftest.err conftest.
$ac_ext
13309 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13310 echo "${ECHO_T}$ac_header_preproc" >&6
13312 # So? What about this header?
13313 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13315 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13316 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13317 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13318 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13319 ac_header_preproc
=yes
13322 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13323 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13324 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13325 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13326 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13327 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13328 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13329 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13330 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13331 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13332 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13333 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13336 ## ----------------------------------------- ##
13337 ## Report this to wx-dev@lists.wxwidgets.org ##
13338 ## ----------------------------------------- ##
13341 sed "s/^/$as_me: WARNING: /" >&2
13344 echo "$as_me:$LINENO: checking for $ac_header" >&5
13345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13347 echo $ECHO_N "(cached) $ECHO_C" >&6
13349 eval "$as_ac_Header=\$ac_header_preproc"
13351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13352 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13355 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13356 cat >>confdefs.h
<<_ACEOF
13357 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13365 if test "$ac_cv_header_wchar_h" != "yes"; then
13367 for ac_header
in wcstr.h
13369 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13371 echo "$as_me:$LINENO: checking for $ac_header" >&5
13372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13374 echo $ECHO_N "(cached) $ECHO_C" >&6
13376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13379 # Is the header compilable?
13380 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13381 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13382 cat >conftest.
$ac_ext <<_ACEOF
13385 cat confdefs.h
>>conftest.
$ac_ext
13386 cat >>conftest.
$ac_ext <<_ACEOF
13387 /* end confdefs.h. */
13388 $ac_includes_default
13389 #include <$ac_header>
13391 rm -f conftest.
$ac_objext
13392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13393 (eval $ac_compile) 2>conftest.er1
13395 grep -v '^ *+' conftest.er1
>conftest.err
13397 cat conftest.err
>&5
13398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13399 (exit $ac_status); } &&
13400 { ac_try
='test -z "$ac_c_werror_flag"
13401 || test ! -s conftest.err'
13402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13403 (eval $ac_try) 2>&5
13405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13406 (exit $ac_status); }; } &&
13407 { ac_try
='test -s conftest.$ac_objext'
13408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13409 (eval $ac_try) 2>&5
13411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13412 (exit $ac_status); }; }; then
13413 ac_header_compiler
=yes
13415 echo "$as_me: failed program was:" >&5
13416 sed 's/^/| /' conftest.
$ac_ext >&5
13418 ac_header_compiler
=no
13420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13421 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13422 echo "${ECHO_T}$ac_header_compiler" >&6
13424 # Is the header present?
13425 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13426 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13427 cat >conftest.
$ac_ext <<_ACEOF
13430 cat confdefs.h
>>conftest.
$ac_ext
13431 cat >>conftest.
$ac_ext <<_ACEOF
13432 /* end confdefs.h. */
13433 #include <$ac_header>
13435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13436 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13438 grep -v '^ *+' conftest.er1
>conftest.err
13440 cat conftest.err
>&5
13441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13442 (exit $ac_status); } >/dev
/null
; then
13443 if test -s conftest.err
; then
13444 ac_cpp_err
=$ac_c_preproc_warn_flag
13445 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13452 if test -z "$ac_cpp_err"; then
13453 ac_header_preproc
=yes
13455 echo "$as_me: failed program was:" >&5
13456 sed 's/^/| /' conftest.
$ac_ext >&5
13458 ac_header_preproc
=no
13460 rm -f conftest.err conftest.
$ac_ext
13461 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13462 echo "${ECHO_T}$ac_header_preproc" >&6
13464 # So? What about this header?
13465 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13467 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13468 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13470 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13471 ac_header_preproc
=yes
13474 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13475 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13476 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13477 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13478 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13479 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13480 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13481 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13483 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13484 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13485 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13488 ## ----------------------------------------- ##
13489 ## Report this to wx-dev@lists.wxwidgets.org ##
13490 ## ----------------------------------------- ##
13493 sed "s/^/$as_me: WARNING: /" >&2
13496 echo "$as_me:$LINENO: checking for $ac_header" >&5
13497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13499 echo $ECHO_N "(cached) $ECHO_C" >&6
13501 eval "$as_ac_Header=\$ac_header_preproc"
13503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13507 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13508 cat >>confdefs.h
<<_ACEOF
13509 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13519 for ac_header
in fnmatch.h
13521 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13523 echo "$as_me:$LINENO: checking for $ac_header" >&5
13524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13526 echo $ECHO_N "(cached) $ECHO_C" >&6
13528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13531 # Is the header compilable?
13532 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13533 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13534 cat >conftest.
$ac_ext <<_ACEOF
13537 cat confdefs.h
>>conftest.
$ac_ext
13538 cat >>conftest.
$ac_ext <<_ACEOF
13539 /* end confdefs.h. */
13540 $ac_includes_default
13541 #include <$ac_header>
13543 rm -f conftest.
$ac_objext
13544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13545 (eval $ac_compile) 2>conftest.er1
13547 grep -v '^ *+' conftest.er1
>conftest.err
13549 cat conftest.err
>&5
13550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13551 (exit $ac_status); } &&
13552 { ac_try
='test -z "$ac_c_werror_flag"
13553 || test ! -s conftest.err'
13554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13555 (eval $ac_try) 2>&5
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); }; } &&
13559 { ac_try
='test -s conftest.$ac_objext'
13560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13561 (eval $ac_try) 2>&5
13563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13564 (exit $ac_status); }; }; then
13565 ac_header_compiler
=yes
13567 echo "$as_me: failed program was:" >&5
13568 sed 's/^/| /' conftest.
$ac_ext >&5
13570 ac_header_compiler
=no
13572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13573 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13574 echo "${ECHO_T}$ac_header_compiler" >&6
13576 # Is the header present?
13577 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13578 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13579 cat >conftest.
$ac_ext <<_ACEOF
13582 cat confdefs.h
>>conftest.
$ac_ext
13583 cat >>conftest.
$ac_ext <<_ACEOF
13584 /* end confdefs.h. */
13585 #include <$ac_header>
13587 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13588 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13590 grep -v '^ *+' conftest.er1
>conftest.err
13592 cat conftest.err
>&5
13593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13594 (exit $ac_status); } >/dev
/null
; then
13595 if test -s conftest.err
; then
13596 ac_cpp_err
=$ac_c_preproc_warn_flag
13597 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13604 if test -z "$ac_cpp_err"; then
13605 ac_header_preproc
=yes
13607 echo "$as_me: failed program was:" >&5
13608 sed 's/^/| /' conftest.
$ac_ext >&5
13610 ac_header_preproc
=no
13612 rm -f conftest.err conftest.
$ac_ext
13613 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13614 echo "${ECHO_T}$ac_header_preproc" >&6
13616 # So? What about this header?
13617 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13619 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13620 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13621 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13622 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13623 ac_header_preproc
=yes
13626 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13627 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13628 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13629 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13630 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13631 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13632 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13633 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13634 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13635 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13636 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13637 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13640 ## ----------------------------------------- ##
13641 ## Report this to wx-dev@lists.wxwidgets.org ##
13642 ## ----------------------------------------- ##
13645 sed "s/^/$as_me: WARNING: /" >&2
13648 echo "$as_me:$LINENO: checking for $ac_header" >&5
13649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13651 echo $ECHO_N "(cached) $ECHO_C" >&6
13653 eval "$as_ac_Header=\$ac_header_preproc"
13655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13656 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13659 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13660 cat >>confdefs.h
<<_ACEOF
13661 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13669 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13671 for ac_func
in fnmatch
13673 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13674 echo "$as_me:$LINENO: checking for $ac_func" >&5
13675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13676 if eval "test \"\${$as_ac_var+set}\" = set"; then
13677 echo $ECHO_N "(cached) $ECHO_C" >&6
13679 cat >conftest.
$ac_ext <<_ACEOF
13682 cat confdefs.h
>>conftest.
$ac_ext
13683 cat >>conftest.
$ac_ext <<_ACEOF
13684 /* end confdefs.h. */
13685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13687 #define $ac_func innocuous_$ac_func
13689 /* System header to define __stub macros and hopefully few prototypes,
13690 which can conflict with char $ac_func (); below.
13691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13692 <limits.h> exists even on freestanding compilers. */
13695 # include <limits.h>
13697 # include <assert.h>
13702 /* Override any gcc2 internal prototype to avoid an error. */
13707 /* We use char because int might match the return type of a gcc2
13708 builtin and then its argument prototype would still apply. */
13710 /* The GNU C library defines this for functions which it implements
13711 to always fail with ENOSYS. Some functions are actually named
13712 something starting with __ and the normal name is an alias. */
13713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13716 char (*f) () = $ac_func;
13725 return f != $ac_func;
13730 rm -f conftest.
$ac_objext conftest
$ac_exeext
13731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13732 (eval $ac_link) 2>conftest.er1
13734 grep -v '^ *+' conftest.er1
>conftest.err
13736 cat conftest.err
>&5
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); } &&
13739 { ac_try
='test -z "$ac_c_werror_flag"
13740 || test ! -s conftest.err'
13741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13742 (eval $ac_try) 2>&5
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); }; } &&
13746 { ac_try
='test -s conftest$ac_exeext'
13747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13748 (eval $ac_try) 2>&5
13750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 (exit $ac_status); }; }; then
13752 eval "$as_ac_var=yes"
13754 echo "$as_me: failed program was:" >&5
13755 sed 's/^/| /' conftest.
$ac_ext >&5
13757 eval "$as_ac_var=no"
13759 rm -f conftest.err conftest.
$ac_objext \
13760 conftest
$ac_exeext conftest.
$ac_ext
13762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13764 if test `eval echo '${'$as_ac_var'}'` = yes; then
13765 cat >>confdefs.h
<<_ACEOF
13766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13775 for ac_header
in langinfo.h
13777 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13779 echo "$as_me:$LINENO: checking for $ac_header" >&5
13780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13782 echo $ECHO_N "(cached) $ECHO_C" >&6
13784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13785 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13787 # Is the header compilable?
13788 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13789 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13790 cat >conftest.
$ac_ext <<_ACEOF
13793 cat confdefs.h
>>conftest.
$ac_ext
13794 cat >>conftest.
$ac_ext <<_ACEOF
13795 /* end confdefs.h. */
13796 $ac_includes_default
13797 #include <$ac_header>
13799 rm -f conftest.
$ac_objext
13800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13801 (eval $ac_compile) 2>conftest.er1
13803 grep -v '^ *+' conftest.er1
>conftest.err
13805 cat conftest.err
>&5
13806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13807 (exit $ac_status); } &&
13808 { ac_try
='test -z "$ac_c_werror_flag"
13809 || test ! -s conftest.err'
13810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13811 (eval $ac_try) 2>&5
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); }; } &&
13815 { ac_try
='test -s conftest.$ac_objext'
13816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13817 (eval $ac_try) 2>&5
13819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13820 (exit $ac_status); }; }; then
13821 ac_header_compiler
=yes
13823 echo "$as_me: failed program was:" >&5
13824 sed 's/^/| /' conftest.
$ac_ext >&5
13826 ac_header_compiler
=no
13828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13829 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13830 echo "${ECHO_T}$ac_header_compiler" >&6
13832 # Is the header present?
13833 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13834 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13835 cat >conftest.
$ac_ext <<_ACEOF
13838 cat confdefs.h
>>conftest.
$ac_ext
13839 cat >>conftest.
$ac_ext <<_ACEOF
13840 /* end confdefs.h. */
13841 #include <$ac_header>
13843 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13844 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13846 grep -v '^ *+' conftest.er1
>conftest.err
13848 cat conftest.err
>&5
13849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); } >/dev
/null
; then
13851 if test -s conftest.err
; then
13852 ac_cpp_err
=$ac_c_preproc_warn_flag
13853 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13860 if test -z "$ac_cpp_err"; then
13861 ac_header_preproc
=yes
13863 echo "$as_me: failed program was:" >&5
13864 sed 's/^/| /' conftest.
$ac_ext >&5
13866 ac_header_preproc
=no
13868 rm -f conftest.err conftest.
$ac_ext
13869 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13870 echo "${ECHO_T}$ac_header_preproc" >&6
13872 # So? What about this header?
13873 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13875 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13876 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13878 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13879 ac_header_preproc
=yes
13882 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13883 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13884 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13885 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13886 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13887 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13888 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13889 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13892 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13893 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13896 ## ----------------------------------------- ##
13897 ## Report this to wx-dev@lists.wxwidgets.org ##
13898 ## ----------------------------------------- ##
13901 sed "s/^/$as_me: WARNING: /" >&2
13904 echo "$as_me:$LINENO: checking for $ac_header" >&5
13905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13907 echo $ECHO_N "(cached) $ECHO_C" >&6
13909 eval "$as_ac_Header=\$ac_header_preproc"
13911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13912 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13915 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13916 cat >>confdefs.h
<<_ACEOF
13917 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13926 *-pc-os2_emx | *-pc-os2-emx )
13927 if test $ac_cv_header_langinfo_h = "yes"; then
13928 LIBS
="$LIBS -lintl"
13933 if test "$wxUSE_GUI" = "yes"; then
13934 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13936 for ac_header
in X
11/Xlib.h
13938 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13940 echo "$as_me:$LINENO: checking for $ac_header" >&5
13941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13943 echo $ECHO_N "(cached) $ECHO_C" >&6
13945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13946 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13948 # Is the header compilable?
13949 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13950 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13951 cat >conftest.
$ac_ext <<_ACEOF
13954 cat confdefs.h
>>conftest.
$ac_ext
13955 cat >>conftest.
$ac_ext <<_ACEOF
13956 /* end confdefs.h. */
13957 $ac_includes_default
13958 #include <$ac_header>
13960 rm -f conftest.
$ac_objext
13961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13962 (eval $ac_compile) 2>conftest.er1
13964 grep -v '^ *+' conftest.er1
>conftest.err
13966 cat conftest.err
>&5
13967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13968 (exit $ac_status); } &&
13969 { ac_try
='test -z "$ac_c_werror_flag"
13970 || test ! -s conftest.err'
13971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13972 (eval $ac_try) 2>&5
13974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13975 (exit $ac_status); }; } &&
13976 { ac_try
='test -s conftest.$ac_objext'
13977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13978 (eval $ac_try) 2>&5
13980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13981 (exit $ac_status); }; }; then
13982 ac_header_compiler
=yes
13984 echo "$as_me: failed program was:" >&5
13985 sed 's/^/| /' conftest.
$ac_ext >&5
13987 ac_header_compiler
=no
13989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13990 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13991 echo "${ECHO_T}$ac_header_compiler" >&6
13993 # Is the header present?
13994 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13995 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13996 cat >conftest.
$ac_ext <<_ACEOF
13999 cat confdefs.h
>>conftest.
$ac_ext
14000 cat >>conftest.
$ac_ext <<_ACEOF
14001 /* end confdefs.h. */
14002 #include <$ac_header>
14004 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14005 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14007 grep -v '^ *+' conftest.er1
>conftest.err
14009 cat conftest.err
>&5
14010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011 (exit $ac_status); } >/dev
/null
; then
14012 if test -s conftest.err
; then
14013 ac_cpp_err
=$ac_c_preproc_warn_flag
14014 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14021 if test -z "$ac_cpp_err"; then
14022 ac_header_preproc
=yes
14024 echo "$as_me: failed program was:" >&5
14025 sed 's/^/| /' conftest.
$ac_ext >&5
14027 ac_header_preproc
=no
14029 rm -f conftest.err conftest.
$ac_ext
14030 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14031 echo "${ECHO_T}$ac_header_preproc" >&6
14033 # So? What about this header?
14034 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14036 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14037 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14039 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14040 ac_header_preproc
=yes
14043 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14044 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14045 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14046 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14047 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14048 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14049 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14050 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14052 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14053 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14054 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14057 ## ----------------------------------------- ##
14058 ## Report this to wx-dev@lists.wxwidgets.org ##
14059 ## ----------------------------------------- ##
14062 sed "s/^/$as_me: WARNING: /" >&2
14065 echo "$as_me:$LINENO: checking for $ac_header" >&5
14066 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14068 echo $ECHO_N "(cached) $ECHO_C" >&6
14070 eval "$as_ac_Header=\$ac_header_preproc"
14072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14073 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14076 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14077 cat >>confdefs.h
<<_ACEOF
14078 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14086 for ac_header
in X
11/XKBlib.h
14088 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14089 echo "$as_me:$LINENO: checking for $ac_header" >&5
14090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14092 echo $ECHO_N "(cached) $ECHO_C" >&6
14094 cat >conftest.
$ac_ext <<_ACEOF
14097 cat confdefs.h
>>conftest.
$ac_ext
14098 cat >>conftest.
$ac_ext <<_ACEOF
14099 /* end confdefs.h. */
14101 #if HAVE_X11_XLIB_H
14102 #include <X11/Xlib.h>
14106 #include <$ac_header>
14108 rm -f conftest.
$ac_objext
14109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14110 (eval $ac_compile) 2>conftest.er1
14112 grep -v '^ *+' conftest.er1
>conftest.err
14114 cat conftest.err
>&5
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); } &&
14117 { ac_try
='test -z "$ac_c_werror_flag"
14118 || test ! -s conftest.err'
14119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14120 (eval $ac_try) 2>&5
14122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14123 (exit $ac_status); }; } &&
14124 { ac_try
='test -s conftest.$ac_objext'
14125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14126 (eval $ac_try) 2>&5
14128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14129 (exit $ac_status); }; }; then
14130 eval "$as_ac_Header=yes"
14132 echo "$as_me: failed program was:" >&5
14133 sed 's/^/| /' conftest.
$ac_ext >&5
14135 eval "$as_ac_Header=no"
14137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14140 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14141 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14142 cat >>confdefs.h
<<_ACEOF
14143 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14154 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14155 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14156 if test "${ac_cv_c_const+set}" = set; then
14157 echo $ECHO_N "(cached) $ECHO_C" >&6
14159 cat >conftest.
$ac_ext <<_ACEOF
14162 cat confdefs.h
>>conftest.
$ac_ext
14163 cat >>conftest.
$ac_ext <<_ACEOF
14164 /* end confdefs.h. */
14169 /* FIXME: Include the comments suggested by Paul. */
14170 #ifndef __cplusplus
14171 /* Ultrix mips cc rejects this. */
14172 typedef int charset[2];
14174 /* SunOS 4.1.1 cc rejects this. */
14175 char const *const *ccp;
14177 /* NEC SVR4.0.2 mips cc rejects this. */
14178 struct point {int x, y;};
14179 static struct point const zero = {0,0};
14180 /* AIX XL C 1.02.0.0 rejects this.
14181 It does not let you subtract one const X* pointer from another in
14182 an arm of an if-expression whose if-part is not a constant
14184 const char *g = "string";
14185 ccp = &g + (g ? g-g : 0);
14186 /* HPUX 7.0 cc rejects these. */
14189 ccp = (char const *const *) p;
14190 { /* SCO 3.2v4 cc rejects this. */
14192 char const *s = 0 ? (char *) 0 : (char const *) 0;
14196 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14197 int x[] = {25, 17};
14198 const int *foo = &x[0];
14201 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14202 typedef const int *iptr;
14206 { /* AIX XL C 1.02.0.0 rejects this saying
14207 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14208 struct s { int j; const int *ap[3]; };
14209 struct s *b; b->j = 5;
14211 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14212 const int foo = 10;
14220 rm -f conftest.
$ac_objext
14221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14222 (eval $ac_compile) 2>conftest.er1
14224 grep -v '^ *+' conftest.er1
>conftest.err
14226 cat conftest.err
>&5
14227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14228 (exit $ac_status); } &&
14229 { ac_try
='test -z "$ac_c_werror_flag"
14230 || test ! -s conftest.err'
14231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14232 (eval $ac_try) 2>&5
14234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14235 (exit $ac_status); }; } &&
14236 { ac_try
='test -s conftest.$ac_objext'
14237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14238 (eval $ac_try) 2>&5
14240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14241 (exit $ac_status); }; }; then
14244 echo "$as_me: failed program was:" >&5
14245 sed 's/^/| /' conftest.
$ac_ext >&5
14249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14251 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14252 echo "${ECHO_T}$ac_cv_c_const" >&6
14253 if test $ac_cv_c_const = no
; then
14255 cat >>confdefs.h
<<\_ACEOF
14261 echo "$as_me:$LINENO: checking for inline" >&5
14262 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14263 if test "${ac_cv_c_inline+set}" = set; then
14264 echo $ECHO_N "(cached) $ECHO_C" >&6
14267 for ac_kw
in inline __inline__ __inline
; do
14268 cat >conftest.
$ac_ext <<_ACEOF
14271 cat confdefs.h
>>conftest.
$ac_ext
14272 cat >>conftest.
$ac_ext <<_ACEOF
14273 /* end confdefs.h. */
14274 #ifndef __cplusplus
14276 static $ac_kw foo_t static_foo () {return 0; }
14277 $ac_kw foo_t foo () {return 0; }
14281 rm -f conftest.
$ac_objext
14282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14283 (eval $ac_compile) 2>conftest.er1
14285 grep -v '^ *+' conftest.er1
>conftest.err
14287 cat conftest.err
>&5
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); } &&
14290 { ac_try
='test -z "$ac_c_werror_flag"
14291 || test ! -s conftest.err'
14292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14293 (eval $ac_try) 2>&5
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); }; } &&
14297 { ac_try
='test -s conftest.$ac_objext'
14298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14299 (eval $ac_try) 2>&5
14301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302 (exit $ac_status); }; }; then
14303 ac_cv_c_inline
=$ac_kw; break
14305 echo "$as_me: failed program was:" >&5
14306 sed 's/^/| /' conftest.
$ac_ext >&5
14309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14313 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14314 echo "${ECHO_T}$ac_cv_c_inline" >&6
14317 case $ac_cv_c_inline in
14320 case $ac_cv_c_inline in
14322 *) ac_val
=$ac_cv_c_inline;;
14324 cat >>confdefs.h
<<_ACEOF
14325 #ifndef __cplusplus
14326 #define inline $ac_val
14333 echo "$as_me:$LINENO: checking for char" >&5
14334 echo $ECHO_N "checking for char... $ECHO_C" >&6
14335 if test "${ac_cv_type_char+set}" = set; then
14336 echo $ECHO_N "(cached) $ECHO_C" >&6
14338 cat >conftest.
$ac_ext <<_ACEOF
14341 cat confdefs.h
>>conftest.
$ac_ext
14342 cat >>conftest.
$ac_ext <<_ACEOF
14343 /* end confdefs.h. */
14344 $ac_includes_default
14356 rm -f conftest.
$ac_objext
14357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14358 (eval $ac_compile) 2>conftest.er1
14360 grep -v '^ *+' conftest.er1
>conftest.err
14362 cat conftest.err
>&5
14363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14364 (exit $ac_status); } &&
14365 { ac_try
='test -z "$ac_c_werror_flag"
14366 || test ! -s conftest.err'
14367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14368 (eval $ac_try) 2>&5
14370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14371 (exit $ac_status); }; } &&
14372 { ac_try
='test -s conftest.$ac_objext'
14373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14374 (eval $ac_try) 2>&5
14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377 (exit $ac_status); }; }; then
14378 ac_cv_type_char
=yes
14380 echo "$as_me: failed program was:" >&5
14381 sed 's/^/| /' conftest.
$ac_ext >&5
14385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14387 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14388 echo "${ECHO_T}$ac_cv_type_char" >&6
14390 echo "$as_me:$LINENO: checking size of char" >&5
14391 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14392 if test "${ac_cv_sizeof_char+set}" = set; then
14393 echo $ECHO_N "(cached) $ECHO_C" >&6
14395 if test "$ac_cv_type_char" = yes; then
14396 # The cast to unsigned long works around a bug in the HP C Compiler
14397 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14398 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14399 # This bug is HP SR number 8606223364.
14400 if test "$cross_compiling" = yes; then
14401 # Depending upon the size, compute the lo and hi bounds.
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))) >= 0)];
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"
14429 || test ! -s conftest.err'
14430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14431 (eval $ac_try) 2>&5
14433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14434 (exit $ac_status); }; } &&
14435 { ac_try
='test -s conftest.$ac_objext'
14436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14437 (eval $ac_try) 2>&5
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 (exit $ac_status); }; }; then
14443 cat >conftest.
$ac_ext <<_ACEOF
14446 cat confdefs.h
>>conftest.
$ac_ext
14447 cat >>conftest.
$ac_ext <<_ACEOF
14448 /* end confdefs.h. */
14449 $ac_includes_default
14453 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14460 rm -f conftest.
$ac_objext
14461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14462 (eval $ac_compile) 2>conftest.er1
14464 grep -v '^ *+' conftest.er1
>conftest.err
14466 cat conftest.err
>&5
14467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14468 (exit $ac_status); } &&
14469 { ac_try
='test -z "$ac_c_werror_flag"
14470 || test ! -s conftest.err'
14471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14472 (eval $ac_try) 2>&5
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); }; } &&
14476 { ac_try
='test -s conftest.$ac_objext'
14477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14478 (eval $ac_try) 2>&5
14480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14481 (exit $ac_status); }; }; then
14482 ac_hi
=$ac_mid; break
14484 echo "$as_me: failed program was:" >&5
14485 sed 's/^/| /' conftest.
$ac_ext >&5
14487 ac_lo
=`expr $ac_mid + 1`
14488 if test $ac_lo -le $ac_mid; then
14492 ac_mid
=`expr 2 '*' $ac_mid + 1`
14494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14497 echo "$as_me: failed program was:" >&5
14498 sed 's/^/| /' conftest.
$ac_ext >&5
14500 cat >conftest.
$ac_ext <<_ACEOF
14503 cat confdefs.h
>>conftest.
$ac_ext
14504 cat >>conftest.
$ac_ext <<_ACEOF
14505 /* end confdefs.h. */
14506 $ac_includes_default
14510 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14517 rm -f conftest.
$ac_objext
14518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14519 (eval $ac_compile) 2>conftest.er1
14521 grep -v '^ *+' conftest.er1
>conftest.err
14523 cat conftest.err
>&5
14524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14525 (exit $ac_status); } &&
14526 { ac_try
='test -z "$ac_c_werror_flag"
14527 || test ! -s conftest.err'
14528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14529 (eval $ac_try) 2>&5
14531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14532 (exit $ac_status); }; } &&
14533 { ac_try
='test -s conftest.$ac_objext'
14534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14535 (eval $ac_try) 2>&5
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); }; }; then
14541 cat >conftest.
$ac_ext <<_ACEOF
14544 cat confdefs.h
>>conftest.
$ac_ext
14545 cat >>conftest.
$ac_ext <<_ACEOF
14546 /* end confdefs.h. */
14547 $ac_includes_default
14551 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14558 rm -f conftest.
$ac_objext
14559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14560 (eval $ac_compile) 2>conftest.er1
14562 grep -v '^ *+' conftest.er1
>conftest.err
14564 cat conftest.err
>&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } &&
14567 { ac_try
='test -z "$ac_c_werror_flag"
14568 || test ! -s conftest.err'
14569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14570 (eval $ac_try) 2>&5
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); }; } &&
14574 { ac_try
='test -s conftest.$ac_objext'
14575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14576 (eval $ac_try) 2>&5
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); }; }; then
14580 ac_lo
=$ac_mid; break
14582 echo "$as_me: failed program was:" >&5
14583 sed 's/^/| /' conftest.
$ac_ext >&5
14585 ac_hi
=`expr '(' $ac_mid ')' - 1`
14586 if test $ac_mid -le $ac_hi; then
14590 ac_mid
=`expr 2 '*' $ac_mid`
14592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14595 echo "$as_me: failed program was:" >&5
14596 sed 's/^/| /' conftest.
$ac_ext >&5
14600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14603 # Binary search between lo and hi bounds.
14604 while test "x$ac_lo" != "x$ac_hi"; do
14605 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14606 cat >conftest.
$ac_ext <<_ACEOF
14609 cat confdefs.h
>>conftest.
$ac_ext
14610 cat >>conftest.
$ac_ext <<_ACEOF
14611 /* end confdefs.h. */
14612 $ac_includes_default
14616 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14623 rm -f conftest.
$ac_objext
14624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14625 (eval $ac_compile) 2>conftest.er1
14627 grep -v '^ *+' conftest.er1
>conftest.err
14629 cat conftest.err
>&5
14630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14631 (exit $ac_status); } &&
14632 { ac_try
='test -z "$ac_c_werror_flag"
14633 || test ! -s conftest.err'
14634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14635 (eval $ac_try) 2>&5
14637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14638 (exit $ac_status); }; } &&
14639 { ac_try
='test -s conftest.$ac_objext'
14640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14641 (eval $ac_try) 2>&5
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); }; }; then
14647 echo "$as_me: failed program was:" >&5
14648 sed 's/^/| /' conftest.
$ac_ext >&5
14650 ac_lo
=`expr '(' $ac_mid ')' + 1`
14652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14655 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14656 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14657 See \`config.log' for more details." >&5
14658 echo "$as_me: error: cannot compute sizeof (char), 77
14659 See \`config.log' for more details." >&2;}
14660 { (exit 1); exit 1; }; } ;;
14663 if test "$cross_compiling" = yes; then
14664 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14665 See \`config.log' for more details." >&5
14666 echo "$as_me: error: cannot run test program while cross compiling
14667 See \`config.log' for more details." >&2;}
14668 { (exit 1); exit 1; }; }
14670 cat >conftest.
$ac_ext <<_ACEOF
14673 cat confdefs.h
>>conftest.
$ac_ext
14674 cat >>conftest.
$ac_ext <<_ACEOF
14675 /* end confdefs.h. */
14676 $ac_includes_default
14677 long longval () { return (long) (sizeof (char)); }
14678 unsigned long ulongval () { return (long) (sizeof (char)); }
14680 #include <stdlib.h>
14685 FILE *f = fopen ("conftest.val", "w");
14688 if (((long) (sizeof (char))) < 0)
14690 long i = longval ();
14691 if (i != ((long) (sizeof (char))))
14693 fprintf (f, "%ld\n", i);
14697 unsigned long i = ulongval ();
14698 if (i != ((long) (sizeof (char))))
14700 fprintf (f, "%lu\n", i);
14702 exit (ferror (f) || fclose (f) != 0);
14708 rm -f conftest
$ac_exeext
14709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14710 (eval $ac_link) 2>&5
14712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14713 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14715 (eval $ac_try) 2>&5
14717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14718 (exit $ac_status); }; }; then
14719 ac_cv_sizeof_char
=`cat conftest.val`
14721 echo "$as_me: program exited with status $ac_status" >&5
14722 echo "$as_me: failed program was:" >&5
14723 sed 's/^/| /' conftest.
$ac_ext >&5
14725 ( exit $ac_status )
14726 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14727 See \`config.log' for more details." >&5
14728 echo "$as_me: error: cannot compute sizeof (char), 77
14729 See \`config.log' for more details." >&2;}
14730 { (exit 1); exit 1; }; }
14732 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14737 ac_cv_sizeof_char
=0
14740 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14741 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14742 cat >>confdefs.h
<<_ACEOF
14743 #define SIZEOF_CHAR $ac_cv_sizeof_char
14747 echo "$as_me:$LINENO: checking for short" >&5
14748 echo $ECHO_N "checking for short... $ECHO_C" >&6
14749 if test "${ac_cv_type_short+set}" = set; then
14750 echo $ECHO_N "(cached) $ECHO_C" >&6
14752 cat >conftest.
$ac_ext <<_ACEOF
14755 cat confdefs.h
>>conftest.
$ac_ext
14756 cat >>conftest.
$ac_ext <<_ACEOF
14757 /* end confdefs.h. */
14758 $ac_includes_default
14764 if (sizeof (short))
14770 rm -f conftest.
$ac_objext
14771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14772 (eval $ac_compile) 2>conftest.er1
14774 grep -v '^ *+' conftest.er1
>conftest.err
14776 cat conftest.err
>&5
14777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14778 (exit $ac_status); } &&
14779 { ac_try
='test -z "$ac_c_werror_flag"
14780 || test ! -s conftest.err'
14781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14782 (eval $ac_try) 2>&5
14784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14785 (exit $ac_status); }; } &&
14786 { ac_try
='test -s conftest.$ac_objext'
14787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14788 (eval $ac_try) 2>&5
14790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14791 (exit $ac_status); }; }; then
14792 ac_cv_type_short
=yes
14794 echo "$as_me: failed program was:" >&5
14795 sed 's/^/| /' conftest.
$ac_ext >&5
14797 ac_cv_type_short
=no
14799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14801 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14802 echo "${ECHO_T}$ac_cv_type_short" >&6
14804 echo "$as_me:$LINENO: checking size of short" >&5
14805 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14806 if test "${ac_cv_sizeof_short+set}" = set; then
14807 echo $ECHO_N "(cached) $ECHO_C" >&6
14809 if test "$ac_cv_type_short" = yes; then
14810 # The cast to unsigned long works around a bug in the HP C Compiler
14811 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14812 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14813 # This bug is HP SR number 8606223364.
14814 if test "$cross_compiling" = yes; then
14815 # Depending upon the size, compute the lo and hi bounds.
14816 cat >conftest.
$ac_ext <<_ACEOF
14819 cat confdefs.h
>>conftest.
$ac_ext
14820 cat >>conftest.
$ac_ext <<_ACEOF
14821 /* end confdefs.h. */
14822 $ac_includes_default
14826 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14833 rm -f conftest.
$ac_objext
14834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14835 (eval $ac_compile) 2>conftest.er1
14837 grep -v '^ *+' conftest.er1
>conftest.err
14839 cat conftest.err
>&5
14840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14841 (exit $ac_status); } &&
14842 { ac_try
='test -z "$ac_c_werror_flag"
14843 || test ! -s conftest.err'
14844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14845 (eval $ac_try) 2>&5
14847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14848 (exit $ac_status); }; } &&
14849 { ac_try
='test -s conftest.$ac_objext'
14850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14851 (eval $ac_try) 2>&5
14853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14854 (exit $ac_status); }; }; then
14857 cat >conftest.
$ac_ext <<_ACEOF
14860 cat confdefs.h
>>conftest.
$ac_ext
14861 cat >>conftest.
$ac_ext <<_ACEOF
14862 /* end confdefs.h. */
14863 $ac_includes_default
14867 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14874 rm -f conftest.
$ac_objext
14875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14876 (eval $ac_compile) 2>conftest.er1
14878 grep -v '^ *+' conftest.er1
>conftest.err
14880 cat conftest.err
>&5
14881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14882 (exit $ac_status); } &&
14883 { ac_try
='test -z "$ac_c_werror_flag"
14884 || test ! -s conftest.err'
14885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14886 (eval $ac_try) 2>&5
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); }; } &&
14890 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
14896 ac_hi
=$ac_mid; break
14898 echo "$as_me: failed program was:" >&5
14899 sed 's/^/| /' conftest.
$ac_ext >&5
14901 ac_lo
=`expr $ac_mid + 1`
14902 if test $ac_lo -le $ac_mid; then
14906 ac_mid
=`expr 2 '*' $ac_mid + 1`
14908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14911 echo "$as_me: failed program was:" >&5
14912 sed 's/^/| /' conftest.
$ac_ext >&5
14914 cat >conftest.
$ac_ext <<_ACEOF
14917 cat confdefs.h
>>conftest.
$ac_ext
14918 cat >>conftest.
$ac_ext <<_ACEOF
14919 /* end confdefs.h. */
14920 $ac_includes_default
14924 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14931 rm -f conftest.
$ac_objext
14932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14933 (eval $ac_compile) 2>conftest.er1
14935 grep -v '^ *+' conftest.er1
>conftest.err
14937 cat conftest.err
>&5
14938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14939 (exit $ac_status); } &&
14940 { ac_try
='test -z "$ac_c_werror_flag"
14941 || test ! -s conftest.err'
14942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14943 (eval $ac_try) 2>&5
14945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14946 (exit $ac_status); }; } &&
14947 { ac_try
='test -s conftest.$ac_objext'
14948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14949 (eval $ac_try) 2>&5
14951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14952 (exit $ac_status); }; }; then
14955 cat >conftest.
$ac_ext <<_ACEOF
14958 cat confdefs.h
>>conftest.
$ac_ext
14959 cat >>conftest.
$ac_ext <<_ACEOF
14960 /* end confdefs.h. */
14961 $ac_includes_default
14965 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14972 rm -f conftest.
$ac_objext
14973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14974 (eval $ac_compile) 2>conftest.er1
14976 grep -v '^ *+' conftest.er1
>conftest.err
14978 cat conftest.err
>&5
14979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980 (exit $ac_status); } &&
14981 { ac_try
='test -z "$ac_c_werror_flag"
14982 || test ! -s conftest.err'
14983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14984 (eval $ac_try) 2>&5
14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987 (exit $ac_status); }; } &&
14988 { ac_try
='test -s conftest.$ac_objext'
14989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14990 (eval $ac_try) 2>&5
14992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14993 (exit $ac_status); }; }; then
14994 ac_lo
=$ac_mid; break
14996 echo "$as_me: failed program was:" >&5
14997 sed 's/^/| /' conftest.
$ac_ext >&5
14999 ac_hi
=`expr '(' $ac_mid ')' - 1`
15000 if test $ac_mid -le $ac_hi; then
15004 ac_mid
=`expr 2 '*' $ac_mid`
15006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15009 echo "$as_me: failed program was:" >&5
15010 sed 's/^/| /' conftest.
$ac_ext >&5
15014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15017 # Binary search between lo and hi bounds.
15018 while test "x$ac_lo" != "x$ac_hi"; do
15019 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15020 cat >conftest.
$ac_ext <<_ACEOF
15023 cat confdefs.h
>>conftest.
$ac_ext
15024 cat >>conftest.
$ac_ext <<_ACEOF
15025 /* end confdefs.h. */
15026 $ac_includes_default
15030 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15037 rm -f conftest.
$ac_objext
15038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15039 (eval $ac_compile) 2>conftest.er1
15041 grep -v '^ *+' conftest.er1
>conftest.err
15043 cat conftest.err
>&5
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045 (exit $ac_status); } &&
15046 { ac_try
='test -z "$ac_c_werror_flag"
15047 || test ! -s conftest.err'
15048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15049 (eval $ac_try) 2>&5
15051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15052 (exit $ac_status); }; } &&
15053 { ac_try
='test -s conftest.$ac_objext'
15054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15055 (eval $ac_try) 2>&5
15057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15058 (exit $ac_status); }; }; then
15061 echo "$as_me: failed program was:" >&5
15062 sed 's/^/| /' conftest.
$ac_ext >&5
15064 ac_lo
=`expr '(' $ac_mid ')' + 1`
15066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15069 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15070 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15071 See \`config.log' for more details." >&5
15072 echo "$as_me: error: cannot compute sizeof (short), 77
15073 See \`config.log' for more details." >&2;}
15074 { (exit 1); exit 1; }; } ;;
15077 if test "$cross_compiling" = yes; then
15078 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15079 See \`config.log' for more details." >&5
15080 echo "$as_me: error: cannot run test program while cross compiling
15081 See \`config.log' for more details." >&2;}
15082 { (exit 1); exit 1; }; }
15084 cat >conftest.
$ac_ext <<_ACEOF
15087 cat confdefs.h
>>conftest.
$ac_ext
15088 cat >>conftest.
$ac_ext <<_ACEOF
15089 /* end confdefs.h. */
15090 $ac_includes_default
15091 long longval () { return (long) (sizeof (short)); }
15092 unsigned long ulongval () { return (long) (sizeof (short)); }
15094 #include <stdlib.h>
15099 FILE *f = fopen ("conftest.val", "w");
15102 if (((long) (sizeof (short))) < 0)
15104 long i = longval ();
15105 if (i != ((long) (sizeof (short))))
15107 fprintf (f, "%ld\n", i);
15111 unsigned long i = ulongval ();
15112 if (i != ((long) (sizeof (short))))
15114 fprintf (f, "%lu\n", i);
15116 exit (ferror (f) || fclose (f) != 0);
15122 rm -f conftest
$ac_exeext
15123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15124 (eval $ac_link) 2>&5
15126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15127 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15129 (eval $ac_try) 2>&5
15131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15132 (exit $ac_status); }; }; then
15133 ac_cv_sizeof_short
=`cat conftest.val`
15135 echo "$as_me: program exited with status $ac_status" >&5
15136 echo "$as_me: failed program was:" >&5
15137 sed 's/^/| /' conftest.
$ac_ext >&5
15139 ( exit $ac_status )
15140 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15141 See \`config.log' for more details." >&5
15142 echo "$as_me: error: cannot compute sizeof (short), 77
15143 See \`config.log' for more details." >&2;}
15144 { (exit 1); exit 1; }; }
15146 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15151 ac_cv_sizeof_short
=0
15154 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15155 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15156 cat >>confdefs.h
<<_ACEOF
15157 #define SIZEOF_SHORT $ac_cv_sizeof_short
15161 echo "$as_me:$LINENO: checking for void *" >&5
15162 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15163 if test "${ac_cv_type_void_p+set}" = set; then
15164 echo $ECHO_N "(cached) $ECHO_C" >&6
15166 cat >conftest.
$ac_ext <<_ACEOF
15169 cat confdefs.h
>>conftest.
$ac_ext
15170 cat >>conftest.
$ac_ext <<_ACEOF
15171 /* end confdefs.h. */
15172 $ac_includes_default
15178 if (sizeof (void *))
15184 rm -f conftest.
$ac_objext
15185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15186 (eval $ac_compile) 2>conftest.er1
15188 grep -v '^ *+' conftest.er1
>conftest.err
15190 cat conftest.err
>&5
15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); } &&
15193 { ac_try
='test -z "$ac_c_werror_flag"
15194 || test ! -s conftest.err'
15195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15196 (eval $ac_try) 2>&5
15198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199 (exit $ac_status); }; } &&
15200 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
15206 ac_cv_type_void_p
=yes
15208 echo "$as_me: failed program was:" >&5
15209 sed 's/^/| /' conftest.
$ac_ext >&5
15211 ac_cv_type_void_p
=no
15213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15215 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15216 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15218 echo "$as_me:$LINENO: checking size of void *" >&5
15219 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15220 if test "${ac_cv_sizeof_void_p+set}" = set; then
15221 echo $ECHO_N "(cached) $ECHO_C" >&6
15223 if test "$ac_cv_type_void_p" = yes; then
15224 # The cast to unsigned long works around a bug in the HP C Compiler
15225 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15226 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15227 # This bug is HP SR number 8606223364.
15228 if test "$cross_compiling" = yes; then
15229 # Depending upon the size, compute the lo and hi bounds.
15230 cat >conftest.
$ac_ext <<_ACEOF
15233 cat confdefs.h
>>conftest.
$ac_ext
15234 cat >>conftest.
$ac_ext <<_ACEOF
15235 /* end confdefs.h. */
15236 $ac_includes_default
15240 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15247 rm -f conftest.
$ac_objext
15248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15249 (eval $ac_compile) 2>conftest.er1
15251 grep -v '^ *+' conftest.er1
>conftest.err
15253 cat conftest.err
>&5
15254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15255 (exit $ac_status); } &&
15256 { ac_try
='test -z "$ac_c_werror_flag"
15257 || test ! -s conftest.err'
15258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15259 (eval $ac_try) 2>&5
15261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262 (exit $ac_status); }; } &&
15263 { ac_try
='test -s conftest.$ac_objext'
15264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15265 (eval $ac_try) 2>&5
15267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15268 (exit $ac_status); }; }; then
15271 cat >conftest.
$ac_ext <<_ACEOF
15274 cat confdefs.h
>>conftest.
$ac_ext
15275 cat >>conftest.
$ac_ext <<_ACEOF
15276 /* end confdefs.h. */
15277 $ac_includes_default
15281 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15288 rm -f conftest.
$ac_objext
15289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15290 (eval $ac_compile) 2>conftest.er1
15292 grep -v '^ *+' conftest.er1
>conftest.err
15294 cat conftest.err
>&5
15295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15296 (exit $ac_status); } &&
15297 { ac_try
='test -z "$ac_c_werror_flag"
15298 || test ! -s conftest.err'
15299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15300 (eval $ac_try) 2>&5
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); }; } &&
15304 { ac_try
='test -s conftest.$ac_objext'
15305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15306 (eval $ac_try) 2>&5
15308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309 (exit $ac_status); }; }; then
15310 ac_hi
=$ac_mid; break
15312 echo "$as_me: failed program was:" >&5
15313 sed 's/^/| /' conftest.
$ac_ext >&5
15315 ac_lo
=`expr $ac_mid + 1`
15316 if test $ac_lo -le $ac_mid; then
15320 ac_mid
=`expr 2 '*' $ac_mid + 1`
15322 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15325 echo "$as_me: failed program was:" >&5
15326 sed 's/^/| /' conftest.
$ac_ext >&5
15328 cat >conftest.
$ac_ext <<_ACEOF
15331 cat confdefs.h
>>conftest.
$ac_ext
15332 cat >>conftest.
$ac_ext <<_ACEOF
15333 /* end confdefs.h. */
15334 $ac_includes_default
15338 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15345 rm -f conftest.
$ac_objext
15346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15347 (eval $ac_compile) 2>conftest.er1
15349 grep -v '^ *+' conftest.er1
>conftest.err
15351 cat conftest.err
>&5
15352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15353 (exit $ac_status); } &&
15354 { ac_try
='test -z "$ac_c_werror_flag"
15355 || test ! -s conftest.err'
15356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15357 (eval $ac_try) 2>&5
15359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15360 (exit $ac_status); }; } &&
15361 { ac_try
='test -s conftest.$ac_objext'
15362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15363 (eval $ac_try) 2>&5
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); }; }; then
15369 cat >conftest.
$ac_ext <<_ACEOF
15372 cat confdefs.h
>>conftest.
$ac_ext
15373 cat >>conftest.
$ac_ext <<_ACEOF
15374 /* end confdefs.h. */
15375 $ac_includes_default
15379 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15386 rm -f conftest.
$ac_objext
15387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15388 (eval $ac_compile) 2>conftest.er1
15390 grep -v '^ *+' conftest.er1
>conftest.err
15392 cat conftest.err
>&5
15393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15394 (exit $ac_status); } &&
15395 { ac_try
='test -z "$ac_c_werror_flag"
15396 || test ! -s conftest.err'
15397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15398 (eval $ac_try) 2>&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); }; } &&
15402 { ac_try
='test -s conftest.$ac_objext'
15403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15404 (eval $ac_try) 2>&5
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); }; }; then
15408 ac_lo
=$ac_mid; break
15410 echo "$as_me: failed program was:" >&5
15411 sed 's/^/| /' conftest.
$ac_ext >&5
15413 ac_hi
=`expr '(' $ac_mid ')' - 1`
15414 if test $ac_mid -le $ac_hi; then
15418 ac_mid
=`expr 2 '*' $ac_mid`
15420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15423 echo "$as_me: failed program was:" >&5
15424 sed 's/^/| /' conftest.
$ac_ext >&5
15428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15431 # Binary search between lo and hi bounds.
15432 while test "x$ac_lo" != "x$ac_hi"; do
15433 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15434 cat >conftest.
$ac_ext <<_ACEOF
15437 cat confdefs.h
>>conftest.
$ac_ext
15438 cat >>conftest.
$ac_ext <<_ACEOF
15439 /* end confdefs.h. */
15440 $ac_includes_default
15444 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15451 rm -f conftest.
$ac_objext
15452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15453 (eval $ac_compile) 2>conftest.er1
15455 grep -v '^ *+' conftest.er1
>conftest.err
15457 cat conftest.err
>&5
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); } &&
15460 { ac_try
='test -z "$ac_c_werror_flag"
15461 || test ! -s conftest.err'
15462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15463 (eval $ac_try) 2>&5
15465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15466 (exit $ac_status); }; } &&
15467 { ac_try
='test -s conftest.$ac_objext'
15468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15469 (eval $ac_try) 2>&5
15471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472 (exit $ac_status); }; }; then
15475 echo "$as_me: failed program was:" >&5
15476 sed 's/^/| /' conftest.
$ac_ext >&5
15478 ac_lo
=`expr '(' $ac_mid ')' + 1`
15480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15483 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15484 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15485 See \`config.log' for more details." >&5
15486 echo "$as_me: error: cannot compute sizeof (void *), 77
15487 See \`config.log' for more details." >&2;}
15488 { (exit 1); exit 1; }; } ;;
15491 if test "$cross_compiling" = yes; then
15492 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15493 See \`config.log' for more details." >&5
15494 echo "$as_me: error: cannot run test program while cross compiling
15495 See \`config.log' for more details." >&2;}
15496 { (exit 1); exit 1; }; }
15498 cat >conftest.
$ac_ext <<_ACEOF
15501 cat confdefs.h
>>conftest.
$ac_ext
15502 cat >>conftest.
$ac_ext <<_ACEOF
15503 /* end confdefs.h. */
15504 $ac_includes_default
15505 long longval () { return (long) (sizeof (void *)); }
15506 unsigned long ulongval () { return (long) (sizeof (void *)); }
15508 #include <stdlib.h>
15513 FILE *f = fopen ("conftest.val", "w");
15516 if (((long) (sizeof (void *))) < 0)
15518 long i = longval ();
15519 if (i != ((long) (sizeof (void *))))
15521 fprintf (f, "%ld\n", i);
15525 unsigned long i = ulongval ();
15526 if (i != ((long) (sizeof (void *))))
15528 fprintf (f, "%lu\n", i);
15530 exit (ferror (f) || fclose (f) != 0);
15536 rm -f conftest
$ac_exeext
15537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15538 (eval $ac_link) 2>&5
15540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15541 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15543 (eval $ac_try) 2>&5
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 (exit $ac_status); }; }; then
15547 ac_cv_sizeof_void_p
=`cat conftest.val`
15549 echo "$as_me: program exited with status $ac_status" >&5
15550 echo "$as_me: failed program was:" >&5
15551 sed 's/^/| /' conftest.
$ac_ext >&5
15553 ( exit $ac_status )
15554 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15555 See \`config.log' for more details." >&5
15556 echo "$as_me: error: cannot compute sizeof (void *), 77
15557 See \`config.log' for more details." >&2;}
15558 { (exit 1); exit 1; }; }
15560 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15565 ac_cv_sizeof_void_p
=0
15568 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15569 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15570 cat >>confdefs.h
<<_ACEOF
15571 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15575 echo "$as_me:$LINENO: checking for int" >&5
15576 echo $ECHO_N "checking for int... $ECHO_C" >&6
15577 if test "${ac_cv_type_int+set}" = set; then
15578 echo $ECHO_N "(cached) $ECHO_C" >&6
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
15598 rm -f conftest.
$ac_objext
15599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15600 (eval $ac_compile) 2>conftest.er1
15602 grep -v '^ *+' conftest.er1
>conftest.err
15604 cat conftest.err
>&5
15605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15606 (exit $ac_status); } &&
15607 { ac_try
='test -z "$ac_c_werror_flag"
15608 || test ! -s conftest.err'
15609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15610 (eval $ac_try) 2>&5
15612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15613 (exit $ac_status); }; } &&
15614 { ac_try
='test -s conftest.$ac_objext'
15615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15616 (eval $ac_try) 2>&5
15618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15619 (exit $ac_status); }; }; then
15622 echo "$as_me: failed program was:" >&5
15623 sed 's/^/| /' conftest.
$ac_ext >&5
15627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15629 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15630 echo "${ECHO_T}$ac_cv_type_int" >&6
15632 echo "$as_me:$LINENO: checking size of int" >&5
15633 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15634 if test "${ac_cv_sizeof_int+set}" = set; then
15635 echo $ECHO_N "(cached) $ECHO_C" >&6
15637 if test "$ac_cv_type_int" = yes; then
15638 # The cast to unsigned long works around a bug in the HP C Compiler
15639 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15640 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15641 # This bug is HP SR number 8606223364.
15642 if test "$cross_compiling" = yes; then
15643 # Depending upon the size, compute the lo and hi bounds.
15644 cat >conftest.
$ac_ext <<_ACEOF
15647 cat confdefs.h
>>conftest.
$ac_ext
15648 cat >>conftest.
$ac_ext <<_ACEOF
15649 /* end confdefs.h. */
15650 $ac_includes_default
15654 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15661 rm -f conftest.
$ac_objext
15662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15663 (eval $ac_compile) 2>conftest.er1
15665 grep -v '^ *+' conftest.er1
>conftest.err
15667 cat conftest.err
>&5
15668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15669 (exit $ac_status); } &&
15670 { ac_try
='test -z "$ac_c_werror_flag"
15671 || test ! -s conftest.err'
15672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15673 (eval $ac_try) 2>&5
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); }; } &&
15677 { ac_try
='test -s conftest.$ac_objext'
15678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15679 (eval $ac_try) 2>&5
15681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15682 (exit $ac_status); }; }; then
15685 cat >conftest.
$ac_ext <<_ACEOF
15688 cat confdefs.h
>>conftest.
$ac_ext
15689 cat >>conftest.
$ac_ext <<_ACEOF
15690 /* end confdefs.h. */
15691 $ac_includes_default
15695 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15702 rm -f conftest.
$ac_objext
15703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15704 (eval $ac_compile) 2>conftest.er1
15706 grep -v '^ *+' conftest.er1
>conftest.err
15708 cat conftest.err
>&5
15709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15710 (exit $ac_status); } &&
15711 { ac_try
='test -z "$ac_c_werror_flag"
15712 || test ! -s conftest.err'
15713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15714 (eval $ac_try) 2>&5
15716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717 (exit $ac_status); }; } &&
15718 { ac_try
='test -s conftest.$ac_objext'
15719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15720 (eval $ac_try) 2>&5
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); }; }; then
15724 ac_hi
=$ac_mid; break
15726 echo "$as_me: failed program was:" >&5
15727 sed 's/^/| /' conftest.
$ac_ext >&5
15729 ac_lo
=`expr $ac_mid + 1`
15730 if test $ac_lo -le $ac_mid; then
15734 ac_mid
=`expr 2 '*' $ac_mid + 1`
15736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15739 echo "$as_me: failed program was:" >&5
15740 sed 's/^/| /' conftest.
$ac_ext >&5
15742 cat >conftest.
$ac_ext <<_ACEOF
15745 cat confdefs.h
>>conftest.
$ac_ext
15746 cat >>conftest.
$ac_ext <<_ACEOF
15747 /* end confdefs.h. */
15748 $ac_includes_default
15752 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15759 rm -f conftest.
$ac_objext
15760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15761 (eval $ac_compile) 2>conftest.er1
15763 grep -v '^ *+' conftest.er1
>conftest.err
15765 cat conftest.err
>&5
15766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15767 (exit $ac_status); } &&
15768 { ac_try
='test -z "$ac_c_werror_flag"
15769 || test ! -s conftest.err'
15770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15771 (eval $ac_try) 2>&5
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); }; } &&
15775 { ac_try
='test -s conftest.$ac_objext'
15776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15777 (eval $ac_try) 2>&5
15779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780 (exit $ac_status); }; }; then
15783 cat >conftest.
$ac_ext <<_ACEOF
15786 cat confdefs.h
>>conftest.
$ac_ext
15787 cat >>conftest.
$ac_ext <<_ACEOF
15788 /* end confdefs.h. */
15789 $ac_includes_default
15793 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15800 rm -f conftest.
$ac_objext
15801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15802 (eval $ac_compile) 2>conftest.er1
15804 grep -v '^ *+' conftest.er1
>conftest.err
15806 cat conftest.err
>&5
15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15808 (exit $ac_status); } &&
15809 { ac_try
='test -z "$ac_c_werror_flag"
15810 || test ! -s conftest.err'
15811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15812 (eval $ac_try) 2>&5
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); }; } &&
15816 { ac_try
='test -s conftest.$ac_objext'
15817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15818 (eval $ac_try) 2>&5
15820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15821 (exit $ac_status); }; }; then
15822 ac_lo
=$ac_mid; break
15824 echo "$as_me: failed program was:" >&5
15825 sed 's/^/| /' conftest.
$ac_ext >&5
15827 ac_hi
=`expr '(' $ac_mid ')' - 1`
15828 if test $ac_mid -le $ac_hi; then
15832 ac_mid
=`expr 2 '*' $ac_mid`
15834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15837 echo "$as_me: failed program was:" >&5
15838 sed 's/^/| /' conftest.
$ac_ext >&5
15842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15845 # Binary search between lo and hi bounds.
15846 while test "x$ac_lo" != "x$ac_hi"; do
15847 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15848 cat >conftest.
$ac_ext <<_ACEOF
15851 cat confdefs.h
>>conftest.
$ac_ext
15852 cat >>conftest.
$ac_ext <<_ACEOF
15853 /* end confdefs.h. */
15854 $ac_includes_default
15858 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15865 rm -f conftest.
$ac_objext
15866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15867 (eval $ac_compile) 2>conftest.er1
15869 grep -v '^ *+' conftest.er1
>conftest.err
15871 cat conftest.err
>&5
15872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15873 (exit $ac_status); } &&
15874 { ac_try
='test -z "$ac_c_werror_flag"
15875 || test ! -s conftest.err'
15876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15877 (eval $ac_try) 2>&5
15879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15880 (exit $ac_status); }; } &&
15881 { ac_try
='test -s conftest.$ac_objext'
15882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15883 (eval $ac_try) 2>&5
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); }; }; then
15889 echo "$as_me: failed program was:" >&5
15890 sed 's/^/| /' conftest.
$ac_ext >&5
15892 ac_lo
=`expr '(' $ac_mid ')' + 1`
15894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15897 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15898 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15899 See \`config.log' for more details." >&5
15900 echo "$as_me: error: cannot compute sizeof (int), 77
15901 See \`config.log' for more details." >&2;}
15902 { (exit 1); exit 1; }; } ;;
15905 if test "$cross_compiling" = yes; then
15906 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15907 See \`config.log' for more details." >&5
15908 echo "$as_me: error: cannot run test program while cross compiling
15909 See \`config.log' for more details." >&2;}
15910 { (exit 1); exit 1; }; }
15912 cat >conftest.
$ac_ext <<_ACEOF
15915 cat confdefs.h
>>conftest.
$ac_ext
15916 cat >>conftest.
$ac_ext <<_ACEOF
15917 /* end confdefs.h. */
15918 $ac_includes_default
15919 long longval () { return (long) (sizeof (int)); }
15920 unsigned long ulongval () { return (long) (sizeof (int)); }
15922 #include <stdlib.h>
15927 FILE *f = fopen ("conftest.val", "w");
15930 if (((long) (sizeof (int))) < 0)
15932 long i = longval ();
15933 if (i != ((long) (sizeof (int))))
15935 fprintf (f, "%ld\n", i);
15939 unsigned long i = ulongval ();
15940 if (i != ((long) (sizeof (int))))
15942 fprintf (f, "%lu\n", i);
15944 exit (ferror (f) || fclose (f) != 0);
15950 rm -f conftest
$ac_exeext
15951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15952 (eval $ac_link) 2>&5
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15957 (eval $ac_try) 2>&5
15959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15960 (exit $ac_status); }; }; then
15961 ac_cv_sizeof_int
=`cat conftest.val`
15963 echo "$as_me: program exited with status $ac_status" >&5
15964 echo "$as_me: failed program was:" >&5
15965 sed 's/^/| /' conftest.
$ac_ext >&5
15967 ( exit $ac_status )
15968 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15969 See \`config.log' for more details." >&5
15970 echo "$as_me: error: cannot compute sizeof (int), 77
15971 See \`config.log' for more details." >&2;}
15972 { (exit 1); exit 1; }; }
15974 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15982 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15983 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15984 cat >>confdefs.h
<<_ACEOF
15985 #define SIZEOF_INT $ac_cv_sizeof_int
15989 echo "$as_me:$LINENO: checking for long" >&5
15990 echo $ECHO_N "checking for long... $ECHO_C" >&6
15991 if test "${ac_cv_type_long+set}" = set; then
15992 echo $ECHO_N "(cached) $ECHO_C" >&6
15994 cat >conftest.
$ac_ext <<_ACEOF
15997 cat confdefs.h
>>conftest.
$ac_ext
15998 cat >>conftest.
$ac_ext <<_ACEOF
15999 /* end confdefs.h. */
16000 $ac_includes_default
16012 rm -f conftest.
$ac_objext
16013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16014 (eval $ac_compile) 2>conftest.er1
16016 grep -v '^ *+' conftest.er1
>conftest.err
16018 cat conftest.err
>&5
16019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); } &&
16021 { ac_try
='test -z "$ac_c_werror_flag"
16022 || test ! -s conftest.err'
16023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16024 (eval $ac_try) 2>&5
16026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16027 (exit $ac_status); }; } &&
16028 { ac_try
='test -s conftest.$ac_objext'
16029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16030 (eval $ac_try) 2>&5
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); }; }; then
16034 ac_cv_type_long
=yes
16036 echo "$as_me: failed program was:" >&5
16037 sed 's/^/| /' conftest.
$ac_ext >&5
16041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16043 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16044 echo "${ECHO_T}$ac_cv_type_long" >&6
16046 echo "$as_me:$LINENO: checking size of long" >&5
16047 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16048 if test "${ac_cv_sizeof_long+set}" = set; then
16049 echo $ECHO_N "(cached) $ECHO_C" >&6
16051 if test "$ac_cv_type_long" = yes; then
16052 # The cast to unsigned long works around a bug in the HP C Compiler
16053 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16054 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16055 # This bug is HP SR number 8606223364.
16056 if test "$cross_compiling" = yes; then
16057 # Depending upon the size, compute the lo and hi bounds.
16058 cat >conftest.
$ac_ext <<_ACEOF
16061 cat confdefs.h
>>conftest.
$ac_ext
16062 cat >>conftest.
$ac_ext <<_ACEOF
16063 /* end confdefs.h. */
16064 $ac_includes_default
16068 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16075 rm -f conftest.
$ac_objext
16076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16077 (eval $ac_compile) 2>conftest.er1
16079 grep -v '^ *+' conftest.er1
>conftest.err
16081 cat conftest.err
>&5
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); } &&
16084 { ac_try
='test -z "$ac_c_werror_flag"
16085 || test ! -s conftest.err'
16086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16087 (eval $ac_try) 2>&5
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; } &&
16091 { ac_try
='test -s conftest.$ac_objext'
16092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16093 (eval $ac_try) 2>&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); }; }; then
16099 cat >conftest.
$ac_ext <<_ACEOF
16102 cat confdefs.h
>>conftest.
$ac_ext
16103 cat >>conftest.
$ac_ext <<_ACEOF
16104 /* end confdefs.h. */
16105 $ac_includes_default
16109 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16116 rm -f conftest.
$ac_objext
16117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16118 (eval $ac_compile) 2>conftest.er1
16120 grep -v '^ *+' conftest.er1
>conftest.err
16122 cat conftest.err
>&5
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); } &&
16125 { ac_try
='test -z "$ac_c_werror_flag"
16126 || test ! -s conftest.err'
16127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16128 (eval $ac_try) 2>&5
16130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16131 (exit $ac_status); }; } &&
16132 { ac_try
='test -s conftest.$ac_objext'
16133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16134 (eval $ac_try) 2>&5
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); }; }; then
16138 ac_hi
=$ac_mid; break
16140 echo "$as_me: failed program was:" >&5
16141 sed 's/^/| /' conftest.
$ac_ext >&5
16143 ac_lo
=`expr $ac_mid + 1`
16144 if test $ac_lo -le $ac_mid; then
16148 ac_mid
=`expr 2 '*' $ac_mid + 1`
16150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16153 echo "$as_me: failed program was:" >&5
16154 sed 's/^/| /' conftest.
$ac_ext >&5
16156 cat >conftest.
$ac_ext <<_ACEOF
16159 cat confdefs.h
>>conftest.
$ac_ext
16160 cat >>conftest.
$ac_ext <<_ACEOF
16161 /* end confdefs.h. */
16162 $ac_includes_default
16166 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16173 rm -f conftest.
$ac_objext
16174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16175 (eval $ac_compile) 2>conftest.er1
16177 grep -v '^ *+' conftest.er1
>conftest.err
16179 cat conftest.err
>&5
16180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16181 (exit $ac_status); } &&
16182 { ac_try
='test -z "$ac_c_werror_flag"
16183 || test ! -s conftest.err'
16184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16185 (eval $ac_try) 2>&5
16187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188 (exit $ac_status); }; } &&
16189 { ac_try
='test -s conftest.$ac_objext'
16190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16191 (eval $ac_try) 2>&5
16193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16194 (exit $ac_status); }; }; then
16197 cat >conftest.
$ac_ext <<_ACEOF
16200 cat confdefs.h
>>conftest.
$ac_ext
16201 cat >>conftest.
$ac_ext <<_ACEOF
16202 /* end confdefs.h. */
16203 $ac_includes_default
16207 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16214 rm -f conftest.
$ac_objext
16215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16216 (eval $ac_compile) 2>conftest.er1
16218 grep -v '^ *+' conftest.er1
>conftest.err
16220 cat conftest.err
>&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); } &&
16223 { ac_try
='test -z "$ac_c_werror_flag"
16224 || test ! -s conftest.err'
16225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16226 (eval $ac_try) 2>&5
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); }; } &&
16230 { ac_try
='test -s conftest.$ac_objext'
16231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16232 (eval $ac_try) 2>&5
16234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 (exit $ac_status); }; }; then
16236 ac_lo
=$ac_mid; break
16238 echo "$as_me: failed program was:" >&5
16239 sed 's/^/| /' conftest.
$ac_ext >&5
16241 ac_hi
=`expr '(' $ac_mid ')' - 1`
16242 if test $ac_mid -le $ac_hi; then
16246 ac_mid
=`expr 2 '*' $ac_mid`
16248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16251 echo "$as_me: failed program was:" >&5
16252 sed 's/^/| /' conftest.
$ac_ext >&5
16256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16259 # Binary search between lo and hi bounds.
16260 while test "x$ac_lo" != "x$ac_hi"; do
16261 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16262 cat >conftest.
$ac_ext <<_ACEOF
16265 cat confdefs.h
>>conftest.
$ac_ext
16266 cat >>conftest.
$ac_ext <<_ACEOF
16267 /* end confdefs.h. */
16268 $ac_includes_default
16272 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16279 rm -f conftest.
$ac_objext
16280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16281 (eval $ac_compile) 2>conftest.er1
16283 grep -v '^ *+' conftest.er1
>conftest.err
16285 cat conftest.err
>&5
16286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 (exit $ac_status); } &&
16288 { ac_try
='test -z "$ac_c_werror_flag"
16289 || test ! -s conftest.err'
16290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16291 (eval $ac_try) 2>&5
16293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16294 (exit $ac_status); }; } &&
16295 { ac_try
='test -s conftest.$ac_objext'
16296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16297 (eval $ac_try) 2>&5
16299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300 (exit $ac_status); }; }; then
16303 echo "$as_me: failed program was:" >&5
16304 sed 's/^/| /' conftest.
$ac_ext >&5
16306 ac_lo
=`expr '(' $ac_mid ')' + 1`
16308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16311 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16312 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16313 See \`config.log' for more details." >&5
16314 echo "$as_me: error: cannot compute sizeof (long), 77
16315 See \`config.log' for more details." >&2;}
16316 { (exit 1); exit 1; }; } ;;
16319 if test "$cross_compiling" = yes; then
16320 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16321 See \`config.log' for more details." >&5
16322 echo "$as_me: error: cannot run test program while cross compiling
16323 See \`config.log' for more details." >&2;}
16324 { (exit 1); exit 1; }; }
16326 cat >conftest.
$ac_ext <<_ACEOF
16329 cat confdefs.h
>>conftest.
$ac_ext
16330 cat >>conftest.
$ac_ext <<_ACEOF
16331 /* end confdefs.h. */
16332 $ac_includes_default
16333 long longval () { return (long) (sizeof (long)); }
16334 unsigned long ulongval () { return (long) (sizeof (long)); }
16336 #include <stdlib.h>
16341 FILE *f = fopen ("conftest.val", "w");
16344 if (((long) (sizeof (long))) < 0)
16346 long i = longval ();
16347 if (i != ((long) (sizeof (long))))
16349 fprintf (f, "%ld\n", i);
16353 unsigned long i = ulongval ();
16354 if (i != ((long) (sizeof (long))))
16356 fprintf (f, "%lu\n", i);
16358 exit (ferror (f) || fclose (f) != 0);
16364 rm -f conftest
$ac_exeext
16365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16366 (eval $ac_link) 2>&5
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16371 (eval $ac_try) 2>&5
16373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16374 (exit $ac_status); }; }; then
16375 ac_cv_sizeof_long
=`cat conftest.val`
16377 echo "$as_me: program exited with status $ac_status" >&5
16378 echo "$as_me: failed program was:" >&5
16379 sed 's/^/| /' conftest.
$ac_ext >&5
16381 ( exit $ac_status )
16382 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16383 See \`config.log' for more details." >&5
16384 echo "$as_me: error: cannot compute sizeof (long), 77
16385 See \`config.log' for more details." >&2;}
16386 { (exit 1); exit 1; }; }
16388 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16393 ac_cv_sizeof_long
=0
16396 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16397 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16398 cat >>confdefs.h
<<_ACEOF
16399 #define SIZEOF_LONG $ac_cv_sizeof_long
16403 echo "$as_me:$LINENO: checking for size_t" >&5
16404 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16405 if test "${ac_cv_type_size_t+set}" = set; then
16406 echo $ECHO_N "(cached) $ECHO_C" >&6
16408 cat >conftest.
$ac_ext <<_ACEOF
16411 cat confdefs.h
>>conftest.
$ac_ext
16412 cat >>conftest.
$ac_ext <<_ACEOF
16413 /* end confdefs.h. */
16414 $ac_includes_default
16420 if (sizeof (size_t))
16426 rm -f conftest.
$ac_objext
16427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16428 (eval $ac_compile) 2>conftest.er1
16430 grep -v '^ *+' conftest.er1
>conftest.err
16432 cat conftest.err
>&5
16433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16434 (exit $ac_status); } &&
16435 { ac_try
='test -z "$ac_c_werror_flag"
16436 || test ! -s conftest.err'
16437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16438 (eval $ac_try) 2>&5
16440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16441 (exit $ac_status); }; } &&
16442 { ac_try
='test -s conftest.$ac_objext'
16443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16444 (eval $ac_try) 2>&5
16446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447 (exit $ac_status); }; }; then
16448 ac_cv_type_size_t
=yes
16450 echo "$as_me: failed program was:" >&5
16451 sed 's/^/| /' conftest.
$ac_ext >&5
16453 ac_cv_type_size_t
=no
16455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16457 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16458 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16460 echo "$as_me:$LINENO: checking size of size_t" >&5
16461 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16462 if test "${ac_cv_sizeof_size_t+set}" = set; then
16463 echo $ECHO_N "(cached) $ECHO_C" >&6
16465 if test "$ac_cv_type_size_t" = yes; then
16466 # The cast to unsigned long works around a bug in the HP C Compiler
16467 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16468 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16469 # This bug is HP SR number 8606223364.
16470 if test "$cross_compiling" = yes; then
16471 # Depending upon the size, compute the lo and hi bounds.
16472 cat >conftest.
$ac_ext <<_ACEOF
16475 cat confdefs.h
>>conftest.
$ac_ext
16476 cat >>conftest.
$ac_ext <<_ACEOF
16477 /* end confdefs.h. */
16478 $ac_includes_default
16482 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16489 rm -f conftest.
$ac_objext
16490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16491 (eval $ac_compile) 2>conftest.er1
16493 grep -v '^ *+' conftest.er1
>conftest.err
16495 cat conftest.err
>&5
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); } &&
16498 { ac_try
='test -z "$ac_c_werror_flag"
16499 || test ! -s conftest.err'
16500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16501 (eval $ac_try) 2>&5
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); }; } &&
16505 { ac_try
='test -s conftest.$ac_objext'
16506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16507 (eval $ac_try) 2>&5
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); }; }; then
16513 cat >conftest.
$ac_ext <<_ACEOF
16516 cat confdefs.h
>>conftest.
$ac_ext
16517 cat >>conftest.
$ac_ext <<_ACEOF
16518 /* end confdefs.h. */
16519 $ac_includes_default
16523 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16530 rm -f conftest.
$ac_objext
16531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16532 (eval $ac_compile) 2>conftest.er1
16534 grep -v '^ *+' conftest.er1
>conftest.err
16536 cat conftest.err
>&5
16537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16538 (exit $ac_status); } &&
16539 { ac_try
='test -z "$ac_c_werror_flag"
16540 || test ! -s conftest.err'
16541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16542 (eval $ac_try) 2>&5
16544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545 (exit $ac_status); }; } &&
16546 { ac_try
='test -s conftest.$ac_objext'
16547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16548 (eval $ac_try) 2>&5
16550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16551 (exit $ac_status); }; }; then
16552 ac_hi
=$ac_mid; break
16554 echo "$as_me: failed program was:" >&5
16555 sed 's/^/| /' conftest.
$ac_ext >&5
16557 ac_lo
=`expr $ac_mid + 1`
16558 if test $ac_lo -le $ac_mid; then
16562 ac_mid
=`expr 2 '*' $ac_mid + 1`
16564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16567 echo "$as_me: failed program was:" >&5
16568 sed 's/^/| /' conftest.
$ac_ext >&5
16570 cat >conftest.
$ac_ext <<_ACEOF
16573 cat confdefs.h
>>conftest.
$ac_ext
16574 cat >>conftest.
$ac_ext <<_ACEOF
16575 /* end confdefs.h. */
16576 $ac_includes_default
16580 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16587 rm -f conftest.
$ac_objext
16588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16589 (eval $ac_compile) 2>conftest.er1
16591 grep -v '^ *+' conftest.er1
>conftest.err
16593 cat conftest.err
>&5
16594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595 (exit $ac_status); } &&
16596 { ac_try
='test -z "$ac_c_werror_flag"
16597 || test ! -s conftest.err'
16598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16599 (eval $ac_try) 2>&5
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); }; } &&
16603 { ac_try
='test -s conftest.$ac_objext'
16604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16605 (eval $ac_try) 2>&5
16607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); }; }; then
16611 cat >conftest.
$ac_ext <<_ACEOF
16614 cat confdefs.h
>>conftest.
$ac_ext
16615 cat >>conftest.
$ac_ext <<_ACEOF
16616 /* end confdefs.h. */
16617 $ac_includes_default
16621 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16628 rm -f conftest.
$ac_objext
16629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16630 (eval $ac_compile) 2>conftest.er1
16632 grep -v '^ *+' conftest.er1
>conftest.err
16634 cat conftest.err
>&5
16635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16636 (exit $ac_status); } &&
16637 { ac_try
='test -z "$ac_c_werror_flag"
16638 || test ! -s conftest.err'
16639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16640 (eval $ac_try) 2>&5
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); }; } &&
16644 { ac_try
='test -s conftest.$ac_objext'
16645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16646 (eval $ac_try) 2>&5
16648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); }; }; then
16650 ac_lo
=$ac_mid; break
16652 echo "$as_me: failed program was:" >&5
16653 sed 's/^/| /' conftest.
$ac_ext >&5
16655 ac_hi
=`expr '(' $ac_mid ')' - 1`
16656 if test $ac_mid -le $ac_hi; then
16660 ac_mid
=`expr 2 '*' $ac_mid`
16662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16665 echo "$as_me: failed program was:" >&5
16666 sed 's/^/| /' conftest.
$ac_ext >&5
16670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16673 # Binary search between lo and hi bounds.
16674 while test "x$ac_lo" != "x$ac_hi"; do
16675 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16676 cat >conftest.
$ac_ext <<_ACEOF
16679 cat confdefs.h
>>conftest.
$ac_ext
16680 cat >>conftest.
$ac_ext <<_ACEOF
16681 /* end confdefs.h. */
16682 $ac_includes_default
16686 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16693 rm -f conftest.
$ac_objext
16694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16695 (eval $ac_compile) 2>conftest.er1
16697 grep -v '^ *+' conftest.er1
>conftest.err
16699 cat conftest.err
>&5
16700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701 (exit $ac_status); } &&
16702 { ac_try
='test -z "$ac_c_werror_flag"
16703 || test ! -s conftest.err'
16704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16705 (eval $ac_try) 2>&5
16707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); }; } &&
16709 { ac_try
='test -s conftest.$ac_objext'
16710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16711 (eval $ac_try) 2>&5
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); }; }; then
16717 echo "$as_me: failed program was:" >&5
16718 sed 's/^/| /' conftest.
$ac_ext >&5
16720 ac_lo
=`expr '(' $ac_mid ')' + 1`
16722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16725 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16726 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16727 See \`config.log' for more details." >&5
16728 echo "$as_me: error: cannot compute sizeof (size_t), 77
16729 See \`config.log' for more details." >&2;}
16730 { (exit 1); exit 1; }; } ;;
16733 if test "$cross_compiling" = yes; then
16734 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16735 See \`config.log' for more details." >&5
16736 echo "$as_me: error: cannot run test program while cross compiling
16737 See \`config.log' for more details." >&2;}
16738 { (exit 1); exit 1; }; }
16740 cat >conftest.
$ac_ext <<_ACEOF
16743 cat confdefs.h
>>conftest.
$ac_ext
16744 cat >>conftest.
$ac_ext <<_ACEOF
16745 /* end confdefs.h. */
16746 $ac_includes_default
16747 long longval () { return (long) (sizeof (size_t)); }
16748 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16750 #include <stdlib.h>
16755 FILE *f = fopen ("conftest.val", "w");
16758 if (((long) (sizeof (size_t))) < 0)
16760 long i = longval ();
16761 if (i != ((long) (sizeof (size_t))))
16763 fprintf (f, "%ld\n", i);
16767 unsigned long i = ulongval ();
16768 if (i != ((long) (sizeof (size_t))))
16770 fprintf (f, "%lu\n", i);
16772 exit (ferror (f) || fclose (f) != 0);
16778 rm -f conftest
$ac_exeext
16779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16780 (eval $ac_link) 2>&5
16782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16785 (eval $ac_try) 2>&5
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); }; }; then
16789 ac_cv_sizeof_size_t
=`cat conftest.val`
16791 echo "$as_me: program exited with status $ac_status" >&5
16792 echo "$as_me: failed program was:" >&5
16793 sed 's/^/| /' conftest.
$ac_ext >&5
16795 ( exit $ac_status )
16796 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16797 See \`config.log' for more details." >&5
16798 echo "$as_me: error: cannot compute sizeof (size_t), 77
16799 See \`config.log' for more details." >&2;}
16800 { (exit 1); exit 1; }; }
16802 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16807 ac_cv_sizeof_size_t
=0
16810 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16811 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16812 cat >>confdefs.h
<<_ACEOF
16813 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16820 echo "$as_me:$LINENO: checking for long long" >&5
16821 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16822 if test "${ac_cv_type_long_long+set}" = set; then
16823 echo $ECHO_N "(cached) $ECHO_C" >&6
16825 cat >conftest.
$ac_ext <<_ACEOF
16828 cat confdefs.h
>>conftest.
$ac_ext
16829 cat >>conftest.
$ac_ext <<_ACEOF
16830 /* end confdefs.h. */
16831 $ac_includes_default
16835 if ((long long *) 0)
16837 if (sizeof (long long))
16843 rm -f conftest.
$ac_objext
16844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16845 (eval $ac_compile) 2>conftest.er1
16847 grep -v '^ *+' conftest.er1
>conftest.err
16849 cat conftest.err
>&5
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); } &&
16852 { ac_try
='test -z "$ac_c_werror_flag"
16853 || test ! -s conftest.err'
16854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16855 (eval $ac_try) 2>&5
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); }; } &&
16859 { ac_try
='test -s conftest.$ac_objext'
16860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16861 (eval $ac_try) 2>&5
16863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16864 (exit $ac_status); }; }; then
16865 ac_cv_type_long_long
=yes
16867 echo "$as_me: failed program was:" >&5
16868 sed 's/^/| /' conftest.
$ac_ext >&5
16870 ac_cv_type_long_long
=no
16872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16874 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16875 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16877 echo "$as_me:$LINENO: checking size of long long" >&5
16878 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16879 if test "${ac_cv_sizeof_long_long+set}" = set; then
16880 echo $ECHO_N "(cached) $ECHO_C" >&6
16882 if test "$ac_cv_type_long_long" = yes; then
16883 # The cast to unsigned long works around a bug in the HP C Compiler
16884 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16885 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16886 # This bug is HP SR number 8606223364.
16887 if test "$cross_compiling" = yes; then
16888 # Depending upon the size, compute the lo and hi bounds.
16889 cat >conftest.
$ac_ext <<_ACEOF
16892 cat confdefs.h
>>conftest.
$ac_ext
16893 cat >>conftest.
$ac_ext <<_ACEOF
16894 /* end confdefs.h. */
16895 $ac_includes_default
16899 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16906 rm -f conftest.
$ac_objext
16907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16908 (eval $ac_compile) 2>conftest.er1
16910 grep -v '^ *+' conftest.er1
>conftest.err
16912 cat conftest.err
>&5
16913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16914 (exit $ac_status); } &&
16915 { ac_try
='test -z "$ac_c_werror_flag"
16916 || test ! -s conftest.err'
16917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16918 (eval $ac_try) 2>&5
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); }; } &&
16922 { ac_try
='test -s conftest.$ac_objext'
16923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16924 (eval $ac_try) 2>&5
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); }; }; then
16930 cat >conftest.
$ac_ext <<_ACEOF
16933 cat confdefs.h
>>conftest.
$ac_ext
16934 cat >>conftest.
$ac_ext <<_ACEOF
16935 /* end confdefs.h. */
16936 $ac_includes_default
16940 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16947 rm -f conftest.
$ac_objext
16948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16949 (eval $ac_compile) 2>conftest.er1
16951 grep -v '^ *+' conftest.er1
>conftest.err
16953 cat conftest.err
>&5
16954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16955 (exit $ac_status); } &&
16956 { ac_try
='test -z "$ac_c_werror_flag"
16957 || test ! -s conftest.err'
16958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16959 (eval $ac_try) 2>&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); }; } &&
16963 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16969 ac_hi
=$ac_mid; break
16971 echo "$as_me: failed program was:" >&5
16972 sed 's/^/| /' conftest.
$ac_ext >&5
16974 ac_lo
=`expr $ac_mid + 1`
16975 if test $ac_lo -le $ac_mid; then
16979 ac_mid
=`expr 2 '*' $ac_mid + 1`
16981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16984 echo "$as_me: failed program was:" >&5
16985 sed 's/^/| /' conftest.
$ac_ext >&5
16987 cat >conftest.
$ac_ext <<_ACEOF
16990 cat confdefs.h
>>conftest.
$ac_ext
16991 cat >>conftest.
$ac_ext <<_ACEOF
16992 /* end confdefs.h. */
16993 $ac_includes_default
16997 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17004 rm -f conftest.
$ac_objext
17005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17006 (eval $ac_compile) 2>conftest.er1
17008 grep -v '^ *+' conftest.er1
>conftest.err
17010 cat conftest.err
>&5
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); } &&
17013 { ac_try
='test -z "$ac_c_werror_flag"
17014 || test ! -s conftest.err'
17015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17016 (eval $ac_try) 2>&5
17018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019 (exit $ac_status); }; } &&
17020 { ac_try
='test -s conftest.$ac_objext'
17021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17022 (eval $ac_try) 2>&5
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); }; }; then
17028 cat >conftest.
$ac_ext <<_ACEOF
17031 cat confdefs.h
>>conftest.
$ac_ext
17032 cat >>conftest.
$ac_ext <<_ACEOF
17033 /* end confdefs.h. */
17034 $ac_includes_default
17038 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17045 rm -f conftest.
$ac_objext
17046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17047 (eval $ac_compile) 2>conftest.er1
17049 grep -v '^ *+' conftest.er1
>conftest.err
17051 cat conftest.err
>&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } &&
17054 { ac_try
='test -z "$ac_c_werror_flag"
17055 || test ! -s conftest.err'
17056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17057 (eval $ac_try) 2>&5
17059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17060 (exit $ac_status); }; } &&
17061 { ac_try
='test -s conftest.$ac_objext'
17062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17063 (eval $ac_try) 2>&5
17065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17066 (exit $ac_status); }; }; then
17067 ac_lo
=$ac_mid; break
17069 echo "$as_me: failed program was:" >&5
17070 sed 's/^/| /' conftest.
$ac_ext >&5
17072 ac_hi
=`expr '(' $ac_mid ')' - 1`
17073 if test $ac_mid -le $ac_hi; then
17077 ac_mid
=`expr 2 '*' $ac_mid`
17079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17082 echo "$as_me: failed program was:" >&5
17083 sed 's/^/| /' conftest.
$ac_ext >&5
17087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17090 # Binary search between lo and hi bounds.
17091 while test "x$ac_lo" != "x$ac_hi"; do
17092 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17093 cat >conftest.
$ac_ext <<_ACEOF
17096 cat confdefs.h
>>conftest.
$ac_ext
17097 cat >>conftest.
$ac_ext <<_ACEOF
17098 /* end confdefs.h. */
17099 $ac_includes_default
17103 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17110 rm -f conftest.
$ac_objext
17111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17112 (eval $ac_compile) 2>conftest.er1
17114 grep -v '^ *+' conftest.er1
>conftest.err
17116 cat conftest.err
>&5
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); } &&
17119 { ac_try
='test -z "$ac_c_werror_flag"
17120 || test ! -s conftest.err'
17121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17122 (eval $ac_try) 2>&5
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); }; } &&
17126 { ac_try
='test -s conftest.$ac_objext'
17127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17128 (eval $ac_try) 2>&5
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); }; }; then
17134 echo "$as_me: failed program was:" >&5
17135 sed 's/^/| /' conftest.
$ac_ext >&5
17137 ac_lo
=`expr '(' $ac_mid ')' + 1`
17139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17142 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17143 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17144 See \`config.log' for more details." >&5
17145 echo "$as_me: error: cannot compute sizeof (long long), 77
17146 See \`config.log' for more details." >&2;}
17147 { (exit 1); exit 1; }; } ;;
17150 if test "$cross_compiling" = yes; then
17151 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17152 See \`config.log' for more details." >&5
17153 echo "$as_me: error: cannot run test program while cross compiling
17154 See \`config.log' for more details." >&2;}
17155 { (exit 1); exit 1; }; }
17157 cat >conftest.
$ac_ext <<_ACEOF
17160 cat confdefs.h
>>conftest.
$ac_ext
17161 cat >>conftest.
$ac_ext <<_ACEOF
17162 /* end confdefs.h. */
17163 $ac_includes_default
17164 long longval () { return (long) (sizeof (long long)); }
17165 unsigned long ulongval () { return (long) (sizeof (long long)); }
17167 #include <stdlib.h>
17172 FILE *f = fopen ("conftest.val", "w");
17175 if (((long) (sizeof (long long))) < 0)
17177 long i = longval ();
17178 if (i != ((long) (sizeof (long long))))
17180 fprintf (f, "%ld\n", i);
17184 unsigned long i = ulongval ();
17185 if (i != ((long) (sizeof (long long))))
17187 fprintf (f, "%lu\n", i);
17189 exit (ferror (f) || fclose (f) != 0);
17195 rm -f conftest
$ac_exeext
17196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17197 (eval $ac_link) 2>&5
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17202 (eval $ac_try) 2>&5
17204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 (exit $ac_status); }; }; then
17206 ac_cv_sizeof_long_long
=`cat conftest.val`
17208 echo "$as_me: program exited with status $ac_status" >&5
17209 echo "$as_me: failed program was:" >&5
17210 sed 's/^/| /' conftest.
$ac_ext >&5
17212 ( exit $ac_status )
17213 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17214 See \`config.log' for more details." >&5
17215 echo "$as_me: error: cannot compute sizeof (long long), 77
17216 See \`config.log' for more details." >&2;}
17217 { (exit 1); exit 1; }; }
17219 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17224 ac_cv_sizeof_long_long
=0
17227 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17228 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17229 cat >>confdefs.h
<<_ACEOF
17230 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17236 echo "$as_me:$LINENO: checking for long long" >&5
17237 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17238 if test "${ac_cv_type_long_long+set}" = set; then
17239 echo $ECHO_N "(cached) $ECHO_C" >&6
17241 cat >conftest.
$ac_ext <<_ACEOF
17244 cat confdefs.h
>>conftest.
$ac_ext
17245 cat >>conftest.
$ac_ext <<_ACEOF
17246 /* end confdefs.h. */
17247 $ac_includes_default
17251 if ((long long *) 0)
17253 if (sizeof (long long))
17259 rm -f conftest.
$ac_objext
17260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17261 (eval $ac_compile) 2>conftest.er1
17263 grep -v '^ *+' conftest.er1
>conftest.err
17265 cat conftest.err
>&5
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); } &&
17268 { ac_try
='test -z "$ac_c_werror_flag"
17269 || test ! -s conftest.err'
17270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17271 (eval $ac_try) 2>&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); }; } &&
17275 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17281 ac_cv_type_long_long
=yes
17283 echo "$as_me: failed program was:" >&5
17284 sed 's/^/| /' conftest.
$ac_ext >&5
17286 ac_cv_type_long_long
=no
17288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17290 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17291 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17293 echo "$as_me:$LINENO: checking size of long long" >&5
17294 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17295 if test "${ac_cv_sizeof_long_long+set}" = set; then
17296 echo $ECHO_N "(cached) $ECHO_C" >&6
17298 if test "$ac_cv_type_long_long" = yes; then
17299 # The cast to unsigned long works around a bug in the HP C Compiler
17300 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17301 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17302 # This bug is HP SR number 8606223364.
17303 if test "$cross_compiling" = yes; then
17304 # Depending upon the size, compute the lo and hi bounds.
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"
17332 || test ! -s conftest.err'
17333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17334 (eval $ac_try) 2>&5
17336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17337 (exit $ac_status); }; } &&
17338 { ac_try
='test -s conftest.$ac_objext'
17339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17340 (eval $ac_try) 2>&5
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); }; }; then
17346 cat >conftest.
$ac_ext <<_ACEOF
17349 cat confdefs.h
>>conftest.
$ac_ext
17350 cat >>conftest.
$ac_ext <<_ACEOF
17351 /* end confdefs.h. */
17352 $ac_includes_default
17356 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17363 rm -f conftest.
$ac_objext
17364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17365 (eval $ac_compile) 2>conftest.er1
17367 grep -v '^ *+' conftest.er1
>conftest.err
17369 cat conftest.err
>&5
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); } &&
17372 { ac_try
='test -z "$ac_c_werror_flag"
17373 || test ! -s conftest.err'
17374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17375 (eval $ac_try) 2>&5
17377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17378 (exit $ac_status); }; } &&
17379 { ac_try
='test -s conftest.$ac_objext'
17380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17381 (eval $ac_try) 2>&5
17383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); }; }; then
17385 ac_hi
=$ac_mid; break
17387 echo "$as_me: failed program was:" >&5
17388 sed 's/^/| /' conftest.
$ac_ext >&5
17390 ac_lo
=`expr $ac_mid + 1`
17391 if test $ac_lo -le $ac_mid; then
17395 ac_mid
=`expr 2 '*' $ac_mid + 1`
17397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17400 echo "$as_me: failed program was:" >&5
17401 sed 's/^/| /' conftest.
$ac_ext >&5
17403 cat >conftest.
$ac_ext <<_ACEOF
17406 cat confdefs.h
>>conftest.
$ac_ext
17407 cat >>conftest.
$ac_ext <<_ACEOF
17408 /* end confdefs.h. */
17409 $ac_includes_default
17413 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17420 rm -f conftest.
$ac_objext
17421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17422 (eval $ac_compile) 2>conftest.er1
17424 grep -v '^ *+' conftest.er1
>conftest.err
17426 cat conftest.err
>&5
17427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17428 (exit $ac_status); } &&
17429 { ac_try
='test -z "$ac_c_werror_flag"
17430 || test ! -s conftest.err'
17431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17432 (eval $ac_try) 2>&5
17434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 (exit $ac_status); }; } &&
17436 { ac_try
='test -s conftest.$ac_objext'
17437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17438 (eval $ac_try) 2>&5
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); }; }; then
17444 cat >conftest.
$ac_ext <<_ACEOF
17447 cat confdefs.h
>>conftest.
$ac_ext
17448 cat >>conftest.
$ac_ext <<_ACEOF
17449 /* end confdefs.h. */
17450 $ac_includes_default
17454 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17461 rm -f conftest.
$ac_objext
17462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17463 (eval $ac_compile) 2>conftest.er1
17465 grep -v '^ *+' conftest.er1
>conftest.err
17467 cat conftest.err
>&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); } &&
17470 { ac_try
='test -z "$ac_c_werror_flag"
17471 || test ! -s conftest.err'
17472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17473 (eval $ac_try) 2>&5
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; } &&
17477 { ac_try
='test -s conftest.$ac_objext'
17478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17479 (eval $ac_try) 2>&5
17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482 (exit $ac_status); }; }; then
17483 ac_lo
=$ac_mid; break
17485 echo "$as_me: failed program was:" >&5
17486 sed 's/^/| /' conftest.
$ac_ext >&5
17488 ac_hi
=`expr '(' $ac_mid ')' - 1`
17489 if test $ac_mid -le $ac_hi; then
17493 ac_mid
=`expr 2 '*' $ac_mid`
17495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17498 echo "$as_me: failed program was:" >&5
17499 sed 's/^/| /' conftest.
$ac_ext >&5
17503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17506 # Binary search between lo and hi bounds.
17507 while test "x$ac_lo" != "x$ac_hi"; do
17508 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17509 cat >conftest.
$ac_ext <<_ACEOF
17512 cat confdefs.h
>>conftest.
$ac_ext
17513 cat >>conftest.
$ac_ext <<_ACEOF
17514 /* end confdefs.h. */
17515 $ac_includes_default
17519 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17526 rm -f conftest.
$ac_objext
17527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17528 (eval $ac_compile) 2>conftest.er1
17530 grep -v '^ *+' conftest.er1
>conftest.err
17532 cat conftest.err
>&5
17533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17534 (exit $ac_status); } &&
17535 { ac_try
='test -z "$ac_c_werror_flag"
17536 || test ! -s conftest.err'
17537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17538 (eval $ac_try) 2>&5
17540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541 (exit $ac_status); }; } &&
17542 { ac_try
='test -s conftest.$ac_objext'
17543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17544 (eval $ac_try) 2>&5
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); }; }; then
17550 echo "$as_me: failed program was:" >&5
17551 sed 's/^/| /' conftest.
$ac_ext >&5
17553 ac_lo
=`expr '(' $ac_mid ')' + 1`
17555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17558 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17559 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17560 See \`config.log' for more details." >&5
17561 echo "$as_me: error: cannot compute sizeof (long long), 77
17562 See \`config.log' for more details." >&2;}
17563 { (exit 1); exit 1; }; } ;;
17566 if test "$cross_compiling" = yes; then
17567 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17568 See \`config.log' for more details." >&5
17569 echo "$as_me: error: cannot run test program while cross compiling
17570 See \`config.log' for more details." >&2;}
17571 { (exit 1); exit 1; }; }
17573 cat >conftest.
$ac_ext <<_ACEOF
17576 cat confdefs.h
>>conftest.
$ac_ext
17577 cat >>conftest.
$ac_ext <<_ACEOF
17578 /* end confdefs.h. */
17579 $ac_includes_default
17580 long longval () { return (long) (sizeof (long long)); }
17581 unsigned long ulongval () { return (long) (sizeof (long long)); }
17583 #include <stdlib.h>
17588 FILE *f = fopen ("conftest.val", "w");
17591 if (((long) (sizeof (long long))) < 0)
17593 long i = longval ();
17594 if (i != ((long) (sizeof (long long))))
17596 fprintf (f, "%ld\n", i);
17600 unsigned long i = ulongval ();
17601 if (i != ((long) (sizeof (long long))))
17603 fprintf (f, "%lu\n", i);
17605 exit (ferror (f) || fclose (f) != 0);
17611 rm -f conftest
$ac_exeext
17612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17613 (eval $ac_link) 2>&5
17615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17618 (eval $ac_try) 2>&5
17620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17621 (exit $ac_status); }; }; then
17622 ac_cv_sizeof_long_long
=`cat conftest.val`
17624 echo "$as_me: program exited with status $ac_status" >&5
17625 echo "$as_me: failed program was:" >&5
17626 sed 's/^/| /' conftest.
$ac_ext >&5
17628 ( exit $ac_status )
17629 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17630 See \`config.log' for more details." >&5
17631 echo "$as_me: error: cannot compute sizeof (long long), 77
17632 See \`config.log' for more details." >&2;}
17633 { (exit 1); exit 1; }; }
17635 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17640 ac_cv_sizeof_long_long
=0
17643 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17644 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17645 cat >>confdefs.h
<<_ACEOF
17646 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17650 if test "$ac_cv_sizeof_long_long" != "0"; then
17651 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17655 echo "$as_me:$LINENO: checking for long long" >&5
17656 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17657 if test "${ac_cv_type_long_long+set}" = set; then
17658 echo $ECHO_N "(cached) $ECHO_C" >&6
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 if ((long long *) 0)
17672 if (sizeof (long long))
17678 rm -f conftest.
$ac_objext
17679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17680 (eval $ac_compile) 2>conftest.er1
17682 grep -v '^ *+' conftest.er1
>conftest.err
17684 cat conftest.err
>&5
17685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 (exit $ac_status); } &&
17687 { ac_try
='test -z "$ac_c_werror_flag"
17688 || test ! -s conftest.err'
17689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17690 (eval $ac_try) 2>&5
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); }; } &&
17694 { ac_try
='test -s conftest.$ac_objext'
17695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17696 (eval $ac_try) 2>&5
17698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17699 (exit $ac_status); }; }; then
17700 ac_cv_type_long_long
=yes
17702 echo "$as_me: failed program was:" >&5
17703 sed 's/^/| /' conftest.
$ac_ext >&5
17705 ac_cv_type_long_long
=no
17707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17709 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17710 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17712 echo "$as_me:$LINENO: checking size of long long" >&5
17713 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17714 if test "${ac_cv_sizeof_long_long+set}" = set; then
17715 echo $ECHO_N "(cached) $ECHO_C" >&6
17717 if test "$ac_cv_type_long_long" = yes; then
17718 # The cast to unsigned long works around a bug in the HP C Compiler
17719 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17720 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17721 # This bug is HP SR number 8606223364.
17722 if test "$cross_compiling" = yes; then
17723 # Depending upon the size, compute the lo and hi bounds.
17724 cat >conftest.
$ac_ext <<_ACEOF
17727 cat confdefs.h
>>conftest.
$ac_ext
17728 cat >>conftest.
$ac_ext <<_ACEOF
17729 /* end confdefs.h. */
17730 $ac_includes_default
17734 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17741 rm -f conftest.
$ac_objext
17742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17743 (eval $ac_compile) 2>conftest.er1
17745 grep -v '^ *+' conftest.er1
>conftest.err
17747 cat conftest.err
>&5
17748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17749 (exit $ac_status); } &&
17750 { ac_try
='test -z "$ac_c_werror_flag"
17751 || test ! -s conftest.err'
17752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17753 (eval $ac_try) 2>&5
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); }; } &&
17757 { ac_try
='test -s conftest.$ac_objext'
17758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17759 (eval $ac_try) 2>&5
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); }; }; then
17765 cat >conftest.
$ac_ext <<_ACEOF
17768 cat confdefs.h
>>conftest.
$ac_ext
17769 cat >>conftest.
$ac_ext <<_ACEOF
17770 /* end confdefs.h. */
17771 $ac_includes_default
17775 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17782 rm -f conftest.
$ac_objext
17783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17784 (eval $ac_compile) 2>conftest.er1
17786 grep -v '^ *+' conftest.er1
>conftest.err
17788 cat conftest.err
>&5
17789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790 (exit $ac_status); } &&
17791 { ac_try
='test -z "$ac_c_werror_flag"
17792 || test ! -s conftest.err'
17793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17794 (eval $ac_try) 2>&5
17796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17797 (exit $ac_status); }; } &&
17798 { ac_try
='test -s conftest.$ac_objext'
17799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17800 (eval $ac_try) 2>&5
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); }; }; then
17804 ac_hi
=$ac_mid; break
17806 echo "$as_me: failed program was:" >&5
17807 sed 's/^/| /' conftest.
$ac_ext >&5
17809 ac_lo
=`expr $ac_mid + 1`
17810 if test $ac_lo -le $ac_mid; then
17814 ac_mid
=`expr 2 '*' $ac_mid + 1`
17816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17819 echo "$as_me: failed program was:" >&5
17820 sed 's/^/| /' conftest.
$ac_ext >&5
17822 cat >conftest.
$ac_ext <<_ACEOF
17825 cat confdefs.h
>>conftest.
$ac_ext
17826 cat >>conftest.
$ac_ext <<_ACEOF
17827 /* end confdefs.h. */
17828 $ac_includes_default
17832 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17839 rm -f conftest.
$ac_objext
17840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17841 (eval $ac_compile) 2>conftest.er1
17843 grep -v '^ *+' conftest.er1
>conftest.err
17845 cat conftest.err
>&5
17846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17847 (exit $ac_status); } &&
17848 { ac_try
='test -z "$ac_c_werror_flag"
17849 || test ! -s conftest.err'
17850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17851 (eval $ac_try) 2>&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); }; } &&
17855 { ac_try
='test -s conftest.$ac_objext'
17856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17857 (eval $ac_try) 2>&5
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); }; }; then
17863 cat >conftest.
$ac_ext <<_ACEOF
17866 cat confdefs.h
>>conftest.
$ac_ext
17867 cat >>conftest.
$ac_ext <<_ACEOF
17868 /* end confdefs.h. */
17869 $ac_includes_default
17873 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17880 rm -f conftest.
$ac_objext
17881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17882 (eval $ac_compile) 2>conftest.er1
17884 grep -v '^ *+' conftest.er1
>conftest.err
17886 cat conftest.err
>&5
17887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17888 (exit $ac_status); } &&
17889 { ac_try
='test -z "$ac_c_werror_flag"
17890 || test ! -s conftest.err'
17891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17892 (eval $ac_try) 2>&5
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); }; } &&
17896 { ac_try
='test -s conftest.$ac_objext'
17897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17898 (eval $ac_try) 2>&5
17900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17901 (exit $ac_status); }; }; then
17902 ac_lo
=$ac_mid; break
17904 echo "$as_me: failed program was:" >&5
17905 sed 's/^/| /' conftest.
$ac_ext >&5
17907 ac_hi
=`expr '(' $ac_mid ')' - 1`
17908 if test $ac_mid -le $ac_hi; then
17912 ac_mid
=`expr 2 '*' $ac_mid`
17914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17917 echo "$as_me: failed program was:" >&5
17918 sed 's/^/| /' conftest.
$ac_ext >&5
17922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17925 # Binary search between lo and hi bounds.
17926 while test "x$ac_lo" != "x$ac_hi"; do
17927 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17928 cat >conftest.
$ac_ext <<_ACEOF
17931 cat confdefs.h
>>conftest.
$ac_ext
17932 cat >>conftest.
$ac_ext <<_ACEOF
17933 /* end confdefs.h. */
17934 $ac_includes_default
17938 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17945 rm -f conftest.
$ac_objext
17946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17947 (eval $ac_compile) 2>conftest.er1
17949 grep -v '^ *+' conftest.er1
>conftest.err
17951 cat conftest.err
>&5
17952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953 (exit $ac_status); } &&
17954 { ac_try
='test -z "$ac_c_werror_flag"
17955 || test ! -s conftest.err'
17956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17957 (eval $ac_try) 2>&5
17959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960 (exit $ac_status); }; } &&
17961 { ac_try
='test -s conftest.$ac_objext'
17962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17963 (eval $ac_try) 2>&5
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); }; }; then
17969 echo "$as_me: failed program was:" >&5
17970 sed 's/^/| /' conftest.
$ac_ext >&5
17972 ac_lo
=`expr '(' $ac_mid ')' + 1`
17974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17977 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17978 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17979 See \`config.log' for more details." >&5
17980 echo "$as_me: error: cannot compute sizeof (long long), 77
17981 See \`config.log' for more details." >&2;}
17982 { (exit 1); exit 1; }; } ;;
17985 if test "$cross_compiling" = yes; then
17986 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17987 See \`config.log' for more details." >&5
17988 echo "$as_me: error: cannot run test program while cross compiling
17989 See \`config.log' for more details." >&2;}
17990 { (exit 1); exit 1; }; }
17992 cat >conftest.
$ac_ext <<_ACEOF
17995 cat confdefs.h
>>conftest.
$ac_ext
17996 cat >>conftest.
$ac_ext <<_ACEOF
17997 /* end confdefs.h. */
17998 $ac_includes_default
17999 long longval () { return (long) (sizeof (long long)); }
18000 unsigned long ulongval () { return (long) (sizeof (long long)); }
18002 #include <stdlib.h>
18007 FILE *f = fopen ("conftest.val", "w");
18010 if (((long) (sizeof (long long))) < 0)
18012 long i = longval ();
18013 if (i != ((long) (sizeof (long long))))
18015 fprintf (f, "%ld\n", i);
18019 unsigned long i = ulongval ();
18020 if (i != ((long) (sizeof (long long))))
18022 fprintf (f, "%lu\n", i);
18024 exit (ferror (f) || fclose (f) != 0);
18030 rm -f conftest
$ac_exeext
18031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18032 (eval $ac_link) 2>&5
18034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18035 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18037 (eval $ac_try) 2>&5
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); }; }; then
18041 ac_cv_sizeof_long_long
=`cat conftest.val`
18043 echo "$as_me: program exited with status $ac_status" >&5
18044 echo "$as_me: failed program was:" >&5
18045 sed 's/^/| /' conftest.
$ac_ext >&5
18047 ( exit $ac_status )
18048 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18049 See \`config.log' for more details." >&5
18050 echo "$as_me: error: cannot compute sizeof (long long), 77
18051 See \`config.log' for more details." >&2;}
18052 { (exit 1); exit 1; }; }
18054 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18059 ac_cv_sizeof_long_long
=0
18062 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18063 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18064 cat >>confdefs.h
<<_ACEOF
18065 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18071 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18072 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18073 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18074 echo $ECHO_N "(cached) $ECHO_C" >&6
18077 if test "$cross_compiling" = yes; then
18081 wx_cv_sizeof_wchar_t
=0
18084 wx_cv_sizeof_wchar_t
=4
18090 cat >conftest.
$ac_ext <<_ACEOF
18093 cat confdefs.h
>>conftest.
$ac_ext
18094 cat >>conftest.
$ac_ext <<_ACEOF
18095 /* end confdefs.h. */
18097 /* DJGPP only has fake wchar_t: */
18099 # error "fake wchar_t"
18101 #ifdef HAVE_WCHAR_H
18103 # include <stddef.h>
18105 # include <wchar.h>
18107 #ifdef HAVE_STDLIB_H
18108 # include <stdlib.h>
18113 FILE *f=fopen("conftestval", "w");
18115 fprintf(f, "%i", sizeof(wchar_t));
18120 rm -f conftest
$ac_exeext
18121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18122 (eval $ac_link) 2>&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18127 (eval $ac_try) 2>&5
18129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130 (exit $ac_status); }; }; then
18131 wx_cv_sizeof_wchar_t
=`cat conftestval`
18133 echo "$as_me: program exited with status $ac_status" >&5
18134 echo "$as_me: failed program was:" >&5
18135 sed 's/^/| /' conftest.
$ac_ext >&5
18137 ( exit $ac_status )
18138 wx_cv_sizeof_wchar_t
=0
18140 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18144 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18145 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18147 cat >>confdefs.h
<<_ACEOF
18148 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18152 # Check whether --enable-largefile or --disable-largefile was given.
18153 if test "${enable_largefile+set}" = set; then
18154 enableval
="$enable_largefile"
18157 if test "$enable_largefile" != no
; then
18160 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18161 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18162 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18163 echo $ECHO_N "(cached) $ECHO_C" >&6
18166 cat >conftest.
$ac_ext <<_ACEOF
18169 cat confdefs.h
>>conftest.
$ac_ext
18170 cat >>conftest.
$ac_ext <<_ACEOF
18171 /* end confdefs.h. */
18172 #define _FILE_OFFSET_BITS 64
18173 #include <sys/types.h>
18178 unsigned int field: sizeof(off_t) == 8;
18185 rm -f conftest.
$ac_objext
18186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18187 (eval $ac_compile) 2>conftest.er1
18189 grep -v '^ *+' conftest.er1
>conftest.err
18191 cat conftest.err
>&5
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); } &&
18194 { ac_try
='test -z "$ac_c_werror_flag"
18195 || test ! -s conftest.err'
18196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18197 (eval $ac_try) 2>&5
18199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200 (exit $ac_status); }; } &&
18201 { ac_try
='test -s conftest.$ac_objext'
18202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18203 (eval $ac_try) 2>&5
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); }; }; then
18207 ac_cv_sys_file_offset_bits
=64
18209 echo "$as_me: failed program was:" >&5
18210 sed 's/^/| /' conftest.
$ac_ext >&5
18212 ac_cv_sys_file_offset_bits
=no
18214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18218 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18219 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18221 if test "$ac_cv_sys_file_offset_bits" != no
; then
18223 cat >>confdefs.h
<<_ACEOF
18224 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18229 if test "x$wx_largefile" != "xyes"; then
18231 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18232 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18233 if test "${ac_cv_sys_large_files+set}" = set; then
18234 echo $ECHO_N "(cached) $ECHO_C" >&6
18237 cat >conftest.
$ac_ext <<_ACEOF
18240 cat confdefs.h
>>conftest.
$ac_ext
18241 cat >>conftest.
$ac_ext <<_ACEOF
18242 /* end confdefs.h. */
18243 #define _LARGE_FILES 1
18244 #include <sys/types.h>
18249 unsigned int field: sizeof(off_t) == 8;
18256 rm -f conftest.
$ac_objext
18257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18258 (eval $ac_compile) 2>conftest.er1
18260 grep -v '^ *+' conftest.er1
>conftest.err
18262 cat conftest.err
>&5
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264 (exit $ac_status); } &&
18265 { ac_try
='test -z "$ac_c_werror_flag"
18266 || test ! -s conftest.err'
18267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18268 (eval $ac_try) 2>&5
18270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18271 (exit $ac_status); }; } &&
18272 { ac_try
='test -s conftest.$ac_objext'
18273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18274 (eval $ac_try) 2>&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); }; }; then
18278 ac_cv_sys_large_files
=1
18280 echo "$as_me: failed program was:" >&5
18281 sed 's/^/| /' conftest.
$ac_ext >&5
18283 ac_cv_sys_large_files
=no
18285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18289 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18290 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18292 if test "$ac_cv_sys_large_files" != no
; then
18294 cat >>confdefs.h
<<_ACEOF
18295 #define _LARGE_FILES $ac_cv_sys_large_files
18302 echo "$as_me:$LINENO: checking if large file support is available" >&5
18303 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18304 if test "x$wx_largefile" = "xyes"; then
18305 cat >>confdefs.h
<<\_ACEOF
18306 #define HAVE_LARGEFILE_SUPPORT 1
18310 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18311 echo "${ECHO_T}$wx_largefile" >&6
18315 if test "x$wx_largefile" = "xyes"; then
18316 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18317 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18319 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18321 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18324 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18325 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18326 if test "${ac_cv_c_bigendian+set}" = set; then
18327 echo $ECHO_N "(cached) $ECHO_C" >&6
18329 ac_cv_c_bigendian
=unknown
18330 # See if sys/param.h defines the BYTE_ORDER macro.
18331 cat >conftest.
$ac_ext <<_ACEOF
18334 cat confdefs.h
>>conftest.
$ac_ext
18335 cat >>conftest.
$ac_ext <<_ACEOF
18336 /* end confdefs.h. */
18337 #include <sys/types.h>
18338 #include <sys/param.h>
18343 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18344 bogus endian macros
18350 rm -f conftest.
$ac_objext
18351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18352 (eval $ac_compile) 2>conftest.er1
18354 grep -v '^ *+' conftest.er1
>conftest.err
18356 cat conftest.err
>&5
18357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18358 (exit $ac_status); } &&
18359 { ac_try
='test -z "$ac_c_werror_flag"
18360 || test ! -s conftest.err'
18361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18362 (eval $ac_try) 2>&5
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); }; } &&
18366 { ac_try
='test -s conftest.$ac_objext'
18367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18368 (eval $ac_try) 2>&5
18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371 (exit $ac_status); }; }; then
18372 # It does; now see whether it defined to BIG_ENDIAN or not.
18373 cat >conftest.
$ac_ext <<_ACEOF
18376 cat confdefs.h
>>conftest.
$ac_ext
18377 cat >>conftest.
$ac_ext <<_ACEOF
18378 /* end confdefs.h. */
18379 #include <sys/types.h>
18380 #include <sys/param.h>
18385 #if BYTE_ORDER != BIG_ENDIAN
18392 rm -f conftest.
$ac_objext
18393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18394 (eval $ac_compile) 2>conftest.er1
18396 grep -v '^ *+' conftest.er1
>conftest.err
18398 cat conftest.err
>&5
18399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18400 (exit $ac_status); } &&
18401 { ac_try
='test -z "$ac_c_werror_flag"
18402 || test ! -s conftest.err'
18403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18404 (eval $ac_try) 2>&5
18406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18407 (exit $ac_status); }; } &&
18408 { ac_try
='test -s conftest.$ac_objext'
18409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18410 (eval $ac_try) 2>&5
18412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18413 (exit $ac_status); }; }; then
18414 ac_cv_c_bigendian
=yes
18416 echo "$as_me: failed program was:" >&5
18417 sed 's/^/| /' conftest.
$ac_ext >&5
18419 ac_cv_c_bigendian
=no
18421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18423 echo "$as_me: failed program was:" >&5
18424 sed 's/^/| /' conftest.
$ac_ext >&5
18427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18428 if test $ac_cv_c_bigendian = unknown
; then
18429 if test "$cross_compiling" = yes; then
18430 ac_cv_c_bigendian
=unknown
18432 cat >conftest.
$ac_ext <<_ACEOF
18435 cat confdefs.h
>>conftest.
$ac_ext
18436 cat >>conftest.
$ac_ext <<_ACEOF
18437 /* end confdefs.h. */
18439 /* Are we little or big endian? From Harbison&Steele. */
18443 char c[sizeof (long)];
18446 exit (u.c[sizeof (long) - 1] == 1);
18449 rm -f conftest
$ac_exeext
18450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18451 (eval $ac_link) 2>&5
18453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18454 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18456 (eval $ac_try) 2>&5
18458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18459 (exit $ac_status); }; }; then
18460 ac_cv_c_bigendian
=no
18462 echo "$as_me: program exited with status $ac_status" >&5
18463 echo "$as_me: failed program was:" >&5
18464 sed 's/^/| /' conftest.
$ac_ext >&5
18466 ( exit $ac_status )
18467 ac_cv_c_bigendian
=yes
18469 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18473 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18474 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18475 if test $ac_cv_c_bigendian = unknown
; then
18476 { 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
18477 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;}
18479 if test $ac_cv_c_bigendian = yes; then
18480 cat >>confdefs.h
<<\_ACEOF
18481 #define WORDS_BIGENDIAN 1
18488 ac_cpp
='$CXXCPP $CPPFLAGS'
18489 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18490 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18491 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18492 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18493 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18494 if test -z "$CXXCPP"; then
18495 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18496 echo $ECHO_N "(cached) $ECHO_C" >&6
18498 # Double quotes because CXXCPP needs to be expanded
18499 for CXXCPP
in "$CXX -E" "/lib/cpp"
18501 ac_preproc_ok
=false
18502 for ac_cxx_preproc_warn_flag
in '' yes
18504 # Use a header file that comes with gcc, so configuring glibc
18505 # with a fresh cross-compiler works.
18506 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18507 # <limits.h> exists even on freestanding compilers.
18508 # On the NeXT, cc -E runs the code through the compiler's parser,
18509 # not just through cpp. "Syntax error" is here to catch this case.
18510 cat >conftest.
$ac_ext <<_ACEOF
18513 cat confdefs.h
>>conftest.
$ac_ext
18514 cat >>conftest.
$ac_ext <<_ACEOF
18515 /* end confdefs.h. */
18517 # include <limits.h>
18519 # include <assert.h>
18523 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18524 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18526 grep -v '^ *+' conftest.er1
>conftest.err
18528 cat conftest.err
>&5
18529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18530 (exit $ac_status); } >/dev
/null
; then
18531 if test -s conftest.err
; then
18532 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18533 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18540 if test -z "$ac_cpp_err"; then
18543 echo "$as_me: failed program was:" >&5
18544 sed 's/^/| /' conftest.
$ac_ext >&5
18546 # Broken: fails on valid input.
18549 rm -f conftest.err conftest.
$ac_ext
18551 # OK, works on sane cases. Now check whether non-existent headers
18552 # can be detected and how.
18553 cat >conftest.
$ac_ext <<_ACEOF
18556 cat confdefs.h
>>conftest.
$ac_ext
18557 cat >>conftest.
$ac_ext <<_ACEOF
18558 /* end confdefs.h. */
18559 #include <ac_nonexistent.h>
18561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18562 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18564 grep -v '^ *+' conftest.er1
>conftest.err
18566 cat conftest.err
>&5
18567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18568 (exit $ac_status); } >/dev
/null
; then
18569 if test -s conftest.err
; then
18570 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18571 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18578 if test -z "$ac_cpp_err"; then
18579 # Broken: success on invalid input.
18582 echo "$as_me: failed program was:" >&5
18583 sed 's/^/| /' conftest.
$ac_ext >&5
18585 # Passes both tests.
18589 rm -f conftest.err conftest.
$ac_ext
18592 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18593 rm -f conftest.err conftest.
$ac_ext
18594 if $ac_preproc_ok; then
18599 ac_cv_prog_CXXCPP
=$CXXCPP
18602 CXXCPP
=$ac_cv_prog_CXXCPP
18604 ac_cv_prog_CXXCPP
=$CXXCPP
18606 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18607 echo "${ECHO_T}$CXXCPP" >&6
18608 ac_preproc_ok
=false
18609 for ac_cxx_preproc_warn_flag
in '' yes
18611 # Use a header file that comes with gcc, so configuring glibc
18612 # with a fresh cross-compiler works.
18613 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18614 # <limits.h> exists even on freestanding compilers.
18615 # On the NeXT, cc -E runs the code through the compiler's parser,
18616 # not just through cpp. "Syntax error" is here to catch this case.
18617 cat >conftest.
$ac_ext <<_ACEOF
18620 cat confdefs.h
>>conftest.
$ac_ext
18621 cat >>conftest.
$ac_ext <<_ACEOF
18622 /* end confdefs.h. */
18624 # include <limits.h>
18626 # include <assert.h>
18630 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18631 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18633 grep -v '^ *+' conftest.er1
>conftest.err
18635 cat conftest.err
>&5
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); } >/dev
/null
; then
18638 if test -s conftest.err
; then
18639 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18640 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18647 if test -z "$ac_cpp_err"; then
18650 echo "$as_me: failed program was:" >&5
18651 sed 's/^/| /' conftest.
$ac_ext >&5
18653 # Broken: fails on valid input.
18656 rm -f conftest.err conftest.
$ac_ext
18658 # OK, works on sane cases. Now check whether non-existent headers
18659 # can be detected and how.
18660 cat >conftest.
$ac_ext <<_ACEOF
18663 cat confdefs.h
>>conftest.
$ac_ext
18664 cat >>conftest.
$ac_ext <<_ACEOF
18665 /* end confdefs.h. */
18666 #include <ac_nonexistent.h>
18668 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18669 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18671 grep -v '^ *+' conftest.er1
>conftest.err
18673 cat conftest.err
>&5
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); } >/dev
/null
; then
18676 if test -s conftest.err
; then
18677 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18678 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18685 if test -z "$ac_cpp_err"; then
18686 # Broken: success on invalid input.
18689 echo "$as_me: failed program was:" >&5
18690 sed 's/^/| /' conftest.
$ac_ext >&5
18692 # Passes both tests.
18696 rm -f conftest.err conftest.
$ac_ext
18699 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18700 rm -f conftest.err conftest.
$ac_ext
18701 if $ac_preproc_ok; then
18704 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18705 See \`config.log' for more details." >&5
18706 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18707 See \`config.log' for more details." >&2;}
18708 { (exit 1); exit 1; }; }
18712 ac_cpp
='$CXXCPP $CPPFLAGS'
18713 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18714 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18715 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18722 ac_cpp
='$CXXCPP $CPPFLAGS'
18723 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18724 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18725 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18729 for ac_header
in iostream
18731 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18733 echo "$as_me:$LINENO: checking for $ac_header" >&5
18734 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18735 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18736 echo $ECHO_N "(cached) $ECHO_C" >&6
18738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18739 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18741 # Is the header compilable?
18742 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18743 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18744 cat >conftest.
$ac_ext <<_ACEOF
18747 cat confdefs.h
>>conftest.
$ac_ext
18748 cat >>conftest.
$ac_ext <<_ACEOF
18749 /* end confdefs.h. */
18750 $ac_includes_default
18751 #include <$ac_header>
18753 rm -f conftest.
$ac_objext
18754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18755 (eval $ac_compile) 2>conftest.er1
18757 grep -v '^ *+' conftest.er1
>conftest.err
18759 cat conftest.err
>&5
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); } &&
18762 { ac_try
='test -z "$ac_cxx_werror_flag"
18763 || test ! -s conftest.err'
18764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18765 (eval $ac_try) 2>&5
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); }; } &&
18769 { ac_try
='test -s conftest.$ac_objext'
18770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18771 (eval $ac_try) 2>&5
18773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18774 (exit $ac_status); }; }; then
18775 ac_header_compiler
=yes
18777 echo "$as_me: failed program was:" >&5
18778 sed 's/^/| /' conftest.
$ac_ext >&5
18780 ac_header_compiler
=no
18782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18783 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18784 echo "${ECHO_T}$ac_header_compiler" >&6
18786 # Is the header present?
18787 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18788 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18789 cat >conftest.
$ac_ext <<_ACEOF
18792 cat confdefs.h
>>conftest.
$ac_ext
18793 cat >>conftest.
$ac_ext <<_ACEOF
18794 /* end confdefs.h. */
18795 #include <$ac_header>
18797 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18798 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18800 grep -v '^ *+' conftest.er1
>conftest.err
18802 cat conftest.err
>&5
18803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18804 (exit $ac_status); } >/dev
/null
; then
18805 if test -s conftest.err
; then
18806 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18807 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18814 if test -z "$ac_cpp_err"; then
18815 ac_header_preproc
=yes
18817 echo "$as_me: failed program was:" >&5
18818 sed 's/^/| /' conftest.
$ac_ext >&5
18820 ac_header_preproc
=no
18822 rm -f conftest.err conftest.
$ac_ext
18823 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18824 echo "${ECHO_T}$ac_header_preproc" >&6
18826 # So? What about this header?
18827 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18829 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18830 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18832 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18833 ac_header_preproc
=yes
18836 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18837 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18838 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18839 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18840 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18841 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18842 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18843 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18845 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18846 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18847 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18850 ## ----------------------------------------- ##
18851 ## Report this to wx-dev@lists.wxwidgets.org ##
18852 ## ----------------------------------------- ##
18855 sed "s/^/$as_me: WARNING: /" >&2
18858 echo "$as_me:$LINENO: checking for $ac_header" >&5
18859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18861 echo $ECHO_N "(cached) $ECHO_C" >&6
18863 eval "$as_ac_Header=\$ac_header_preproc"
18865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18866 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18869 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18870 cat >>confdefs.h
<<_ACEOF
18871 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18879 if test "$ac_cv_header_iostream" = "yes" ; then
18882 cat >>confdefs.h
<<\_ACEOF
18883 #define wxUSE_IOSTREAMH 1
18889 ac_cpp
='$CPP $CPPFLAGS'
18890 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18891 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18892 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18897 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18898 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18899 if test "${wx_cv_cpp_bool+set}" = set; then
18900 echo $ECHO_N "(cached) $ECHO_C" >&6
18906 ac_cpp
='$CXXCPP $CPPFLAGS'
18907 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18908 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18909 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18912 cat >conftest.
$ac_ext <<_ACEOF
18915 cat confdefs.h
>>conftest.
$ac_ext
18916 cat >>conftest.
$ac_ext <<_ACEOF
18917 /* end confdefs.h. */
18932 rm -f conftest.
$ac_objext
18933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18934 (eval $ac_compile) 2>conftest.er1
18936 grep -v '^ *+' conftest.er1
>conftest.err
18938 cat conftest.err
>&5
18939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18940 (exit $ac_status); } &&
18941 { ac_try
='test -z "$ac_cxx_werror_flag"
18942 || test ! -s conftest.err'
18943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18944 (eval $ac_try) 2>&5
18946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18947 (exit $ac_status); }; } &&
18948 { ac_try
='test -s conftest.$ac_objext'
18949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18950 (eval $ac_try) 2>&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); }; }; then
18958 echo "$as_me: failed program was:" >&5
18959 sed 's/^/| /' conftest.
$ac_ext >&5
18966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18969 ac_cpp
='$CPP $CPPFLAGS'
18970 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18971 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18972 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18976 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18977 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18979 if test "$wx_cv_cpp_bool" = "yes"; then
18980 cat >>confdefs.h
<<\_ACEOF
18981 #define HAVE_BOOL 1
18988 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18989 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18990 if test "${wx_cv_explicit+set}" = set; then
18991 echo $ECHO_N "(cached) $ECHO_C" >&6
18997 ac_cpp
='$CXXCPP $CPPFLAGS'
18998 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18999 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19000 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19003 cat >conftest.
$ac_ext <<_ACEOF
19006 cat confdefs.h
>>conftest.
$ac_ext
19007 cat >>conftest.
$ac_ext <<_ACEOF
19008 /* end confdefs.h. */
19010 class Foo { public: explicit Foo(int) {} };
19022 rm -f conftest.
$ac_objext
19023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19024 (eval $ac_compile) 2>conftest.er1
19026 grep -v '^ *+' conftest.er1
>conftest.err
19028 cat conftest.err
>&5
19029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19030 (exit $ac_status); } &&
19031 { ac_try
='test -z "$ac_cxx_werror_flag"
19032 || test ! -s conftest.err'
19033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19034 (eval $ac_try) 2>&5
19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037 (exit $ac_status); }; } &&
19038 { ac_try
='test -s conftest.$ac_objext'
19039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19040 (eval $ac_try) 2>&5
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); }; }; then
19045 cat >conftest.
$ac_ext <<_ACEOF
19048 cat confdefs.h
>>conftest.
$ac_ext
19049 cat >>conftest.
$ac_ext <<_ACEOF
19050 /* end confdefs.h. */
19052 class Foo { public: explicit Foo(int) {} };
19053 static void TakeFoo(const Foo& foo) { }
19066 rm -f conftest.
$ac_objext
19067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19068 (eval $ac_compile) 2>conftest.er1
19070 grep -v '^ *+' conftest.er1
>conftest.err
19072 cat conftest.err
>&5
19073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19074 (exit $ac_status); } &&
19075 { ac_try
='test -z "$ac_cxx_werror_flag"
19076 || test ! -s conftest.err'
19077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19078 (eval $ac_try) 2>&5
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); }; } &&
19082 { ac_try
='test -s conftest.$ac_objext'
19083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19084 (eval $ac_try) 2>&5
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); }; }; then
19090 echo "$as_me: failed program was:" >&5
19091 sed 's/^/| /' conftest.
$ac_ext >&5
19096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19099 echo "$as_me: failed program was:" >&5
19100 sed 's/^/| /' conftest.
$ac_ext >&5
19105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19108 ac_cpp
='$CPP $CPPFLAGS'
19109 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19110 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19111 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19115 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19116 echo "${ECHO_T}$wx_cv_explicit" >&6
19118 if test "$wx_cv_explicit" = "yes"; then
19119 cat >>confdefs.h
<<\_ACEOF
19120 #define HAVE_EXPLICIT 1
19126 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19127 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19128 if test "${ac_cv_cxx_const_cast+set}" = set; then
19129 echo $ECHO_N "(cached) $ECHO_C" >&6
19134 ac_cpp
='$CXXCPP $CPPFLAGS'
19135 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19136 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19137 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19139 cat >conftest.
$ac_ext <<_ACEOF
19142 cat confdefs.h
>>conftest.
$ac_ext
19143 cat >>conftest.
$ac_ext <<_ACEOF
19144 /* end confdefs.h. */
19149 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19154 rm -f conftest.
$ac_objext
19155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19156 (eval $ac_compile) 2>conftest.er1
19158 grep -v '^ *+' conftest.er1
>conftest.err
19160 cat conftest.err
>&5
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); } &&
19163 { ac_try
='test -z "$ac_cxx_werror_flag"
19164 || test ! -s conftest.err'
19165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19166 (eval $ac_try) 2>&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); }; } &&
19170 { ac_try
='test -s conftest.$ac_objext'
19171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19172 (eval $ac_try) 2>&5
19174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175 (exit $ac_status); }; }; then
19176 ac_cv_cxx_const_cast
=yes
19178 echo "$as_me: failed program was:" >&5
19179 sed 's/^/| /' conftest.
$ac_ext >&5
19181 ac_cv_cxx_const_cast
=no
19183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19185 ac_cpp
='$CPP $CPPFLAGS'
19186 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19187 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19188 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19192 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19193 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19194 if test "$ac_cv_cxx_const_cast" = yes; then
19196 cat >>confdefs.h
<<\_ACEOF
19197 #define HAVE_CONST_CAST
19202 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19203 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19204 if test "${ac_cv_cxx_static_cast+set}" = set; then
19205 echo $ECHO_N "(cached) $ECHO_C" >&6
19210 ac_cpp
='$CXXCPP $CPPFLAGS'
19211 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19212 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19213 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19215 cat >conftest.
$ac_ext <<_ACEOF
19218 cat confdefs.h
>>conftest.
$ac_ext
19219 cat >>conftest.
$ac_ext <<_ACEOF
19220 /* end confdefs.h. */
19221 #include <typeinfo>
19222 class Base { public : Base () {} virtual void f () = 0; };
19223 class Derived : public Base { public : Derived () {} virtual void f () {} };
19224 int g (Derived&) { return 0; }
19229 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19234 rm -f conftest.
$ac_objext
19235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19236 (eval $ac_compile) 2>conftest.er1
19238 grep -v '^ *+' conftest.er1
>conftest.err
19240 cat conftest.err
>&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); } &&
19243 { ac_try
='test -z "$ac_cxx_werror_flag"
19244 || test ! -s conftest.err'
19245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19246 (eval $ac_try) 2>&5
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); }; } &&
19250 { ac_try
='test -s conftest.$ac_objext'
19251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19252 (eval $ac_try) 2>&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); }; }; then
19256 ac_cv_cxx_static_cast
=yes
19258 echo "$as_me: failed program was:" >&5
19259 sed 's/^/| /' conftest.
$ac_ext >&5
19261 ac_cv_cxx_static_cast
=no
19263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19265 ac_cpp
='$CPP $CPPFLAGS'
19266 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19267 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19268 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19272 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19273 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19274 if test "$ac_cv_cxx_static_cast" = yes; then
19276 cat >>confdefs.h
<<\_ACEOF
19277 #define HAVE_STATIC_CAST
19283 if test "$wxUSE_STL" = "yes"; then
19285 ac_cpp
='$CXXCPP $CPPFLAGS'
19286 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19287 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19288 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19291 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19292 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19293 cat >conftest.
$ac_ext <<_ACEOF
19296 cat confdefs.h
>>conftest.
$ac_ext
19297 cat >>conftest.
$ac_ext <<_ACEOF
19298 /* end confdefs.h. */
19300 #include <functional>
19301 #include <algorithm>
19307 std::vector<int> moo;
19308 std::list<int> foo;
19309 std::vector<int>::iterator it =
19310 std::find_if(moo.begin(), moo.end(),
19311 std::bind2nd(std::less<int>(), 3));
19316 rm -f conftest.
$ac_objext
19317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19318 (eval $ac_compile) 2>conftest.er1
19320 grep -v '^ *+' conftest.er1
>conftest.err
19322 cat conftest.err
>&5
19323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19324 (exit $ac_status); } &&
19325 { ac_try
='test -z "$ac_cxx_werror_flag"
19326 || test ! -s conftest.err'
19327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19328 (eval $ac_try) 2>&5
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); }; } &&
19332 { ac_try
='test -s conftest.$ac_objext'
19333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19334 (eval $ac_try) 2>&5
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); }; }; then
19338 echo "$as_me:$LINENO: result: yes" >&5
19339 echo "${ECHO_T}yes" >&6
19341 echo "$as_me: failed program was:" >&5
19342 sed 's/^/| /' conftest.
$ac_ext >&5
19344 echo "$as_me:$LINENO: result: no" >&5
19345 echo "${ECHO_T}no" >&6
19346 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19347 echo "$as_me: error: Basic STL functionality missing" >&2;}
19348 { (exit 1); exit 1; }; }
19350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19352 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19353 echo $ECHO_N "checking for std::wstring in <string>... $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. */
19369 rm -f conftest.
$ac_objext
19370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19371 (eval $ac_compile) 2>conftest.er1
19373 grep -v '^ *+' conftest.er1
>conftest.err
19375 cat conftest.err
>&5
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); } &&
19378 { ac_try
='test -z "$ac_cxx_werror_flag"
19379 || test ! -s conftest.err'
19380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19381 (eval $ac_try) 2>&5
19383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19384 (exit $ac_status); }; } &&
19385 { ac_try
='test -s conftest.$ac_objext'
19386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19387 (eval $ac_try) 2>&5
19389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 (exit $ac_status); }; }; then
19391 echo "$as_me:$LINENO: result: yes" >&5
19392 echo "${ECHO_T}yes" >&6
19393 cat >>confdefs.h
<<\_ACEOF
19394 #define HAVE_STD_WSTRING 1
19398 echo "$as_me: failed program was:" >&5
19399 sed 's/^/| /' conftest.
$ac_ext >&5
19401 echo "$as_me:$LINENO: result: no" >&5
19402 echo "${ECHO_T}no" >&6
19404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19406 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19407 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19408 cat >conftest.
$ac_ext <<_ACEOF
19411 cat confdefs.h
>>conftest.
$ac_ext
19412 cat >>conftest.
$ac_ext <<_ACEOF
19413 /* end confdefs.h. */
19418 std::string foo, bar;
19420 foo.compare(1, 1, bar);
19421 foo.compare(1, 1, bar, 1, 1);
19423 foo.compare(1, 1, "");
19424 foo.compare(1, 1, "", 2);
19429 rm -f conftest.
$ac_objext
19430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19431 (eval $ac_compile) 2>conftest.er1
19433 grep -v '^ *+' conftest.er1
>conftest.err
19435 cat conftest.err
>&5
19436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19437 (exit $ac_status); } &&
19438 { ac_try
='test -z "$ac_cxx_werror_flag"
19439 || test ! -s conftest.err'
19440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19441 (eval $ac_try) 2>&5
19443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19444 (exit $ac_status); }; } &&
19445 { ac_try
='test -s conftest.$ac_objext'
19446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19447 (eval $ac_try) 2>&5
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); }; }; then
19451 echo "$as_me:$LINENO: result: yes" >&5
19452 echo "${ECHO_T}yes" >&6
19453 cat >>confdefs.h
<<\_ACEOF
19454 #define HAVE_STD_STRING_COMPARE 1
19458 echo "$as_me: failed program was:" >&5
19459 sed 's/^/| /' conftest.
$ac_ext >&5
19461 echo "$as_me:$LINENO: result: no" >&5
19462 echo "${ECHO_T}no" >&6
19464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19466 if test "${ac_cv_header_hash_map+set}" = set; then
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 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19473 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19475 # Is the header compilable?
19476 echo "$as_me:$LINENO: checking hash_map usability" >&5
19477 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19478 cat >conftest.
$ac_ext <<_ACEOF
19481 cat confdefs.h
>>conftest.
$ac_ext
19482 cat >>conftest.
$ac_ext <<_ACEOF
19483 /* end confdefs.h. */
19484 $ac_includes_default
19485 #include <hash_map>
19487 rm -f conftest.
$ac_objext
19488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19489 (eval $ac_compile) 2>conftest.er1
19491 grep -v '^ *+' conftest.er1
>conftest.err
19493 cat conftest.err
>&5
19494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19495 (exit $ac_status); } &&
19496 { ac_try
='test -z "$ac_cxx_werror_flag"
19497 || test ! -s conftest.err'
19498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19499 (eval $ac_try) 2>&5
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); }; } &&
19503 { ac_try
='test -s conftest.$ac_objext'
19504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19505 (eval $ac_try) 2>&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); }; }; then
19509 ac_header_compiler
=yes
19511 echo "$as_me: failed program was:" >&5
19512 sed 's/^/| /' conftest.
$ac_ext >&5
19514 ac_header_compiler
=no
19516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19517 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19518 echo "${ECHO_T}$ac_header_compiler" >&6
19520 # Is the header present?
19521 echo "$as_me:$LINENO: checking hash_map presence" >&5
19522 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19523 cat >conftest.
$ac_ext <<_ACEOF
19526 cat confdefs.h
>>conftest.
$ac_ext
19527 cat >>conftest.
$ac_ext <<_ACEOF
19528 /* end confdefs.h. */
19529 #include <hash_map>
19531 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19532 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19534 grep -v '^ *+' conftest.er1
>conftest.err
19536 cat conftest.err
>&5
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); } >/dev
/null
; then
19539 if test -s conftest.err
; then
19540 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19541 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19548 if test -z "$ac_cpp_err"; then
19549 ac_header_preproc
=yes
19551 echo "$as_me: failed program was:" >&5
19552 sed 's/^/| /' conftest.
$ac_ext >&5
19554 ac_header_preproc
=no
19556 rm -f conftest.err conftest.
$ac_ext
19557 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19558 echo "${ECHO_T}$ac_header_preproc" >&6
19560 # So? What about this header?
19561 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19563 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19564 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19565 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19566 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19567 ac_header_preproc
=yes
19570 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19571 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19572 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19573 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19574 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19575 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19576 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19577 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19578 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19579 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19580 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19581 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19584 ## ----------------------------------------- ##
19585 ## Report this to wx-dev@lists.wxwidgets.org ##
19586 ## ----------------------------------------- ##
19589 sed "s/^/$as_me: WARNING: /" >&2
19592 echo "$as_me:$LINENO: checking for hash_map" >&5
19593 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19594 if test "${ac_cv_header_hash_map+set}" = set; then
19595 echo $ECHO_N "(cached) $ECHO_C" >&6
19597 ac_cv_header_hash_map
=$ac_header_preproc
19599 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19600 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19603 if test $ac_cv_header_hash_map = yes; then
19604 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19605 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19606 cat >conftest.
$ac_ext <<_ACEOF
19609 cat confdefs.h
>>conftest.
$ac_ext
19610 cat >>conftest.
$ac_ext <<_ACEOF
19611 /* end confdefs.h. */
19612 #include <hash_map>
19613 #include <hash_set>
19617 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19618 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19623 rm -f conftest.
$ac_objext
19624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19625 (eval $ac_compile) 2>conftest.er1
19627 grep -v '^ *+' conftest.er1
>conftest.err
19629 cat conftest.err
>&5
19630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19631 (exit $ac_status); } &&
19632 { ac_try
='test -z "$ac_cxx_werror_flag"
19633 || test ! -s conftest.err'
19634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19635 (eval $ac_try) 2>&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); }; } &&
19639 { ac_try
='test -s conftest.$ac_objext'
19640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19641 (eval $ac_try) 2>&5
19643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19644 (exit $ac_status); }; }; then
19645 echo "$as_me:$LINENO: result: yes" >&5
19646 echo "${ECHO_T}yes" >&6
19647 cat >>confdefs.h
<<\_ACEOF
19648 #define HAVE_HASH_MAP 1
19651 cat >>confdefs.h
<<\_ACEOF
19652 #define HAVE_STD_HASH_MAP 1
19656 echo "$as_me: failed program was:" >&5
19657 sed 's/^/| /' conftest.
$ac_ext >&5
19659 echo "$as_me:$LINENO: result: no" >&5
19660 echo "${ECHO_T}no" >&6
19662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19668 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19669 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19670 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19671 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19672 echo $ECHO_N "(cached) $ECHO_C" >&6
19674 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19675 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19677 # Is the header compilable?
19678 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19679 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19680 cat >conftest.
$ac_ext <<_ACEOF
19683 cat confdefs.h
>>conftest.
$ac_ext
19684 cat >>conftest.
$ac_ext <<_ACEOF
19685 /* end confdefs.h. */
19686 $ac_includes_default
19687 #include <ext/hash_map>
19689 rm -f conftest.
$ac_objext
19690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19691 (eval $ac_compile) 2>conftest.er1
19693 grep -v '^ *+' conftest.er1
>conftest.err
19695 cat conftest.err
>&5
19696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19697 (exit $ac_status); } &&
19698 { ac_try
='test -z "$ac_cxx_werror_flag"
19699 || test ! -s conftest.err'
19700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19701 (eval $ac_try) 2>&5
19703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19704 (exit $ac_status); }; } &&
19705 { ac_try
='test -s conftest.$ac_objext'
19706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19707 (eval $ac_try) 2>&5
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19710 (exit $ac_status); }; }; then
19711 ac_header_compiler
=yes
19713 echo "$as_me: failed program was:" >&5
19714 sed 's/^/| /' conftest.
$ac_ext >&5
19716 ac_header_compiler
=no
19718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19719 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19720 echo "${ECHO_T}$ac_header_compiler" >&6
19722 # Is the header present?
19723 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
19724 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
19725 cat >conftest.
$ac_ext <<_ACEOF
19728 cat confdefs.h
>>conftest.
$ac_ext
19729 cat >>conftest.
$ac_ext <<_ACEOF
19730 /* end confdefs.h. */
19731 #include <ext/hash_map>
19733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19734 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19736 grep -v '^ *+' conftest.er1
>conftest.err
19738 cat conftest.err
>&5
19739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19740 (exit $ac_status); } >/dev
/null
; then
19741 if test -s conftest.err
; then
19742 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19743 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19750 if test -z "$ac_cpp_err"; then
19751 ac_header_preproc
=yes
19753 echo "$as_me: failed program was:" >&5
19754 sed 's/^/| /' conftest.
$ac_ext >&5
19756 ac_header_preproc
=no
19758 rm -f conftest.err conftest.
$ac_ext
19759 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19760 echo "${ECHO_T}$ac_header_preproc" >&6
19762 # So? What about this header?
19763 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19765 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19766 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19767 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
19768 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
19769 ac_header_preproc
=yes
19772 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
19773 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
19774 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
19775 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
19776 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
19777 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
19778 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
19779 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19780 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
19781 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
19782 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
19783 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
19786 ## ----------------------------------------- ##
19787 ## Report this to wx-dev@lists.wxwidgets.org ##
19788 ## ----------------------------------------- ##
19791 sed "s/^/$as_me: WARNING: /" >&2
19794 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19795 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19796 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19797 echo $ECHO_N "(cached) $ECHO_C" >&6
19799 ac_cv_header_ext_hash_map
=$ac_header_preproc
19801 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19802 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19805 if test $ac_cv_header_ext_hash_map = yes; then
19806 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19807 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19808 cat >conftest.
$ac_ext <<_ACEOF
19811 cat confdefs.h
>>conftest.
$ac_ext
19812 cat >>conftest.
$ac_ext <<_ACEOF
19813 /* end confdefs.h. */
19814 #include <ext/hash_map>
19815 #include <ext/hash_set>
19819 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
19820 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
19825 rm -f conftest.
$ac_objext
19826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19827 (eval $ac_compile) 2>conftest.er1
19829 grep -v '^ *+' conftest.er1
>conftest.err
19831 cat conftest.err
>&5
19832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833 (exit $ac_status); } &&
19834 { ac_try
='test -z "$ac_cxx_werror_flag"
19835 || test ! -s conftest.err'
19836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19837 (eval $ac_try) 2>&5
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); }; } &&
19841 { ac_try
='test -s conftest.$ac_objext'
19842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19843 (eval $ac_try) 2>&5
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); }; }; then
19847 echo "$as_me:$LINENO: result: yes" >&5
19848 echo "${ECHO_T}yes" >&6
19849 cat >>confdefs.h
<<\_ACEOF
19850 #define HAVE_EXT_HASH_MAP 1
19853 cat >>confdefs.h
<<\_ACEOF
19854 #define HAVE_GNU_CXX_HASH_MAP 1
19858 echo "$as_me: failed program was:" >&5
19859 sed 's/^/| /' conftest.
$ac_ext >&5
19861 echo "$as_me:$LINENO: result: no" >&5
19862 echo "${ECHO_T}no" >&6
19864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19871 ac_cpp
='$CPP $CPPFLAGS'
19872 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19873 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19874 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19880 /usr/local/include \
19882 /usr/Motif-2.1/include \
19883 /usr/Motif-1.2/include \
19884 /usr/include/Motif1.2 \
19885 /opt/xpm/include/X11 \
19886 /opt/GBxpm/include/ \
19887 /opt/GBxpm/X11/include/ \
19890 /usr/openwin/include \
19894 /usr/X11R6/include \
19895 /usr/X11R6.4/include \
19896 /usr/X11R5/include \
19897 /usr/X11R4/include \
19899 /usr/include/X11R6 \
19900 /usr/include/X11R5 \
19901 /usr/include/X11R4 \
19903 /usr/local/X11R6/include \
19904 /usr/local/X11R5/include \
19905 /usr/local/X11R4/include \
19907 /usr/local/include/X11R6 \
19908 /usr/local/include/X11R5 \
19909 /usr/local/include/X11R4 \
19913 /usr/local/X11/include \
19914 /usr/local/include/X11 \
19916 /usr/X386/include \
19917 /usr/x386/include \
19918 /usr/XFree86/include/X11 \
19920 X:/XFree86/include \
19921 X:/XFree86/include/X11 \
19924 /usr/local/include/gtk \
19925 /usr/include/glib \
19926 /usr/local/include/glib \
19929 /usr/local/include/qt \
19931 /usr/local/arm/3.3.2/include \
19933 /usr/include/windows \
19934 /usr/include/wine \
19935 /usr/local/include/wine \
19937 /usr/unsupported/include \
19938 /usr/athena/include \
19939 /usr/local/x11r5/include \
19940 /usr/lpp/Xamples/include \
19942 /usr/openwin/share/include"
19944 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19947 cat >confcache
<<\_ACEOF
19948 # This file is a shell script that caches the results of configure
19949 # tests run on this system so they can be shared between configure
19950 # scripts and configure runs, see configure's option --config-cache.
19951 # It is not useful on other systems. If it contains results you don't
19952 # want to keep, you may remove or edit it.
19954 # config.status only pays attention to the cache file if you give it
19955 # the --recheck option to rerun configure.
19957 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19958 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19959 # following values.
19963 # The following way of writing the cache mishandles newlines in values,
19964 # but we know of no workaround that is simple, portable, and efficient.
19965 # So, don't put newlines in cache variables' values.
19966 # Ultrix sh set writes to stderr and can't be redirected directly,
19967 # and sets the high bit in the cache file unless we assign to the vars.
19970 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19972 # `set' does not quote correctly, so add quotes (double-quote
19973 # substitution turns \\\\ into \\, and sed turns \\ into \).
19976 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19979 # `set' quotes correctly as required by POSIX, so do not add quotes.
19981 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19988 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19990 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19992 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19993 if test -w $cache_file; then
19994 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19995 cat confcache
>$cache_file
19997 echo "not updating unwritable cache $cache_file"
20002 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20003 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20004 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20005 if test "${wx_cv_lib_glibc21+set}" = set; then
20006 echo $ECHO_N "(cached) $ECHO_C" >&6
20009 cat >conftest.
$ac_ext <<_ACEOF
20012 cat confdefs.h
>>conftest.
$ac_ext
20013 cat >>conftest.
$ac_ext <<_ACEOF
20014 /* end confdefs.h. */
20015 #include <features.h>
20020 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20021 #error not glibc2.1
20028 rm -f conftest.
$ac_objext
20029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20030 (eval $ac_compile) 2>conftest.er1
20032 grep -v '^ *+' conftest.er1
>conftest.err
20034 cat conftest.err
>&5
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); } &&
20037 { ac_try
='test -z "$ac_c_werror_flag"
20038 || test ! -s conftest.err'
20039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20040 (eval $ac_try) 2>&5
20042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20043 (exit $ac_status); }; } &&
20044 { ac_try
='test -s conftest.$ac_objext'
20045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20046 (eval $ac_try) 2>&5
20048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20049 (exit $ac_status); }; }; then
20051 wx_cv_lib_glibc21
=yes
20054 echo "$as_me: failed program was:" >&5
20055 sed 's/^/| /' conftest.
$ac_ext >&5
20058 wx_cv_lib_glibc21
=no
20062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20065 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20066 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20067 if test "$wx_cv_lib_glibc21" = "yes"; then
20068 cat >>confdefs.h
<<\_ACEOF
20069 #define wxHAVE_GLIBC2 1
20075 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20076 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20077 cat >>confdefs.h
<<\_ACEOF
20078 #define _GNU_SOURCE 1
20086 if test "$wxUSE_REGEX" != "no"; then
20087 cat >>confdefs.h
<<\_ACEOF
20088 #define wxUSE_REGEX 1
20092 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20093 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20094 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20095 wxUSE_REGEX
=builtin
20098 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20099 if test "${ac_cv_header_regex_h+set}" = set; then
20100 echo "$as_me:$LINENO: checking for regex.h" >&5
20101 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20102 if test "${ac_cv_header_regex_h+set}" = set; then
20103 echo $ECHO_N "(cached) $ECHO_C" >&6
20105 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20106 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20108 # Is the header compilable?
20109 echo "$as_me:$LINENO: checking regex.h usability" >&5
20110 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20111 cat >conftest.
$ac_ext <<_ACEOF
20114 cat confdefs.h
>>conftest.
$ac_ext
20115 cat >>conftest.
$ac_ext <<_ACEOF
20116 /* end confdefs.h. */
20117 $ac_includes_default
20120 rm -f conftest.
$ac_objext
20121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20122 (eval $ac_compile) 2>conftest.er1
20124 grep -v '^ *+' conftest.er1
>conftest.err
20126 cat conftest.err
>&5
20127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20128 (exit $ac_status); } &&
20129 { ac_try
='test -z "$ac_c_werror_flag"
20130 || test ! -s conftest.err'
20131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20132 (eval $ac_try) 2>&5
20134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20135 (exit $ac_status); }; } &&
20136 { ac_try
='test -s conftest.$ac_objext'
20137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20138 (eval $ac_try) 2>&5
20140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20141 (exit $ac_status); }; }; then
20142 ac_header_compiler
=yes
20144 echo "$as_me: failed program was:" >&5
20145 sed 's/^/| /' conftest.
$ac_ext >&5
20147 ac_header_compiler
=no
20149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20150 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20151 echo "${ECHO_T}$ac_header_compiler" >&6
20153 # Is the header present?
20154 echo "$as_me:$LINENO: checking regex.h presence" >&5
20155 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20156 cat >conftest.
$ac_ext <<_ACEOF
20159 cat confdefs.h
>>conftest.
$ac_ext
20160 cat >>conftest.
$ac_ext <<_ACEOF
20161 /* end confdefs.h. */
20164 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20165 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20167 grep -v '^ *+' conftest.er1
>conftest.err
20169 cat conftest.err
>&5
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); } >/dev
/null
; then
20172 if test -s conftest.err
; then
20173 ac_cpp_err
=$ac_c_preproc_warn_flag
20174 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20181 if test -z "$ac_cpp_err"; then
20182 ac_header_preproc
=yes
20184 echo "$as_me: failed program was:" >&5
20185 sed 's/^/| /' conftest.
$ac_ext >&5
20187 ac_header_preproc
=no
20189 rm -f conftest.err conftest.
$ac_ext
20190 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20191 echo "${ECHO_T}$ac_header_preproc" >&6
20193 # So? What about this header?
20194 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20196 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20197 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20198 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20199 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20200 ac_header_preproc
=yes
20203 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20204 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20205 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20206 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20207 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20208 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20209 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20210 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20211 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20212 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20213 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20214 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20217 ## ----------------------------------------- ##
20218 ## Report this to wx-dev@lists.wxwidgets.org ##
20219 ## ----------------------------------------- ##
20222 sed "s/^/$as_me: WARNING: /" >&2
20225 echo "$as_me:$LINENO: checking for regex.h" >&5
20226 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20227 if test "${ac_cv_header_regex_h+set}" = set; then
20228 echo $ECHO_N "(cached) $ECHO_C" >&6
20230 ac_cv_header_regex_h
=$ac_header_preproc
20232 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20233 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20236 if test $ac_cv_header_regex_h = yes; then
20238 for ac_func
in regcomp
20240 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20241 echo "$as_me:$LINENO: checking for $ac_func" >&5
20242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20243 if eval "test \"\${$as_ac_var+set}\" = set"; then
20244 echo $ECHO_N "(cached) $ECHO_C" >&6
20246 cat >conftest.
$ac_ext <<_ACEOF
20249 cat confdefs.h
>>conftest.
$ac_ext
20250 cat >>conftest.
$ac_ext <<_ACEOF
20251 /* end confdefs.h. */
20252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20254 #define $ac_func innocuous_$ac_func
20256 /* System header to define __stub macros and hopefully few prototypes,
20257 which can conflict with char $ac_func (); below.
20258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20259 <limits.h> exists even on freestanding compilers. */
20262 # include <limits.h>
20264 # include <assert.h>
20269 /* Override any gcc2 internal prototype to avoid an error. */
20274 /* We use char because int might match the return type of a gcc2
20275 builtin and then its argument prototype would still apply. */
20277 /* The GNU C library defines this for functions which it implements
20278 to always fail with ENOSYS. Some functions are actually named
20279 something starting with __ and the normal name is an alias. */
20280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20283 char (*f) () = $ac_func;
20292 return f != $ac_func;
20297 rm -f conftest.
$ac_objext conftest
$ac_exeext
20298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20299 (eval $ac_link) 2>conftest.er1
20301 grep -v '^ *+' conftest.er1
>conftest.err
20303 cat conftest.err
>&5
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); } &&
20306 { ac_try
='test -z "$ac_c_werror_flag"
20307 || test ! -s conftest.err'
20308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20309 (eval $ac_try) 2>&5
20311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); }; } &&
20313 { ac_try
='test -s conftest$ac_exeext'
20314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20315 (eval $ac_try) 2>&5
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); }; }; then
20319 eval "$as_ac_var=yes"
20321 echo "$as_me: failed program was:" >&5
20322 sed 's/^/| /' conftest.
$ac_ext >&5
20324 eval "$as_ac_var=no"
20326 rm -f conftest.err conftest.
$ac_objext \
20327 conftest
$ac_exeext conftest.
$ac_ext
20329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20331 if test `eval echo '${'$as_ac_var'}'` = yes; then
20332 cat >>confdefs.h
<<_ACEOF
20333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20343 if test "x$ac_cv_func_regcomp" != "xyes"; then
20344 if test "$wxUSE_REGEX" = "sys" ; then
20345 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20346 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20347 { (exit 1); exit 1; }; }
20349 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20350 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20351 wxUSE_REGEX
=builtin
20355 cat >>confdefs.h
<<\_ACEOF
20356 #define WX_NO_REGEX_ADVANCED 1
20365 if test "$wxUSE_ZLIB" != "no" ; then
20366 cat >>confdefs.h
<<\_ACEOF
20367 #define wxUSE_ZLIB 1
20371 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20372 if test "$USE_DARWIN" = 1; then
20373 system_zlib_h_ok
="yes"
20375 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20376 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20377 if test "${ac_cv_header_zlib_h+set}" = set; then
20378 echo $ECHO_N "(cached) $ECHO_C" >&6
20380 if test "$cross_compiling" = yes; then
20381 unset ac_cv_header_zlib_h
20384 cat >conftest.
$ac_ext <<_ACEOF
20387 cat confdefs.h
>>conftest.
$ac_ext
20388 cat >>conftest.
$ac_ext <<_ACEOF
20389 /* end confdefs.h. */
20396 FILE *f=fopen("conftestval", "w");
20399 ZLIB_VERSION[0] == '1' &&
20400 (ZLIB_VERSION[2] > '1' ||
20401 (ZLIB_VERSION[2] == '1' &&
20402 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20407 rm -f conftest
$ac_exeext
20408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20409 (eval $ac_link) 2>&5
20411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20412 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20414 (eval $ac_try) 2>&5
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); }; }; then
20418 ac_cv_header_zlib_h
=`cat conftestval`
20420 echo "$as_me: program exited with status $ac_status" >&5
20421 echo "$as_me: failed program was:" >&5
20422 sed 's/^/| /' conftest.
$ac_ext >&5
20424 ( exit $ac_status )
20425 ac_cv_header_zlib_h
=no
20427 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20431 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20432 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20433 if test "${ac_cv_header_zlib_h+set}" = set; then
20434 echo "$as_me:$LINENO: checking for zlib.h" >&5
20435 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20436 if test "${ac_cv_header_zlib_h+set}" = set; then
20437 echo $ECHO_N "(cached) $ECHO_C" >&6
20439 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20440 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20442 # Is the header compilable?
20443 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20444 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20445 cat >conftest.
$ac_ext <<_ACEOF
20448 cat confdefs.h
>>conftest.
$ac_ext
20449 cat >>conftest.
$ac_ext <<_ACEOF
20450 /* end confdefs.h. */
20451 $ac_includes_default
20454 rm -f conftest.
$ac_objext
20455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20456 (eval $ac_compile) 2>conftest.er1
20458 grep -v '^ *+' conftest.er1
>conftest.err
20460 cat conftest.err
>&5
20461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462 (exit $ac_status); } &&
20463 { ac_try
='test -z "$ac_c_werror_flag"
20464 || test ! -s conftest.err'
20465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20466 (eval $ac_try) 2>&5
20468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 (exit $ac_status); }; } &&
20470 { ac_try
='test -s conftest.$ac_objext'
20471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20472 (eval $ac_try) 2>&5
20474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475 (exit $ac_status); }; }; then
20476 ac_header_compiler
=yes
20478 echo "$as_me: failed program was:" >&5
20479 sed 's/^/| /' conftest.
$ac_ext >&5
20481 ac_header_compiler
=no
20483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20484 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20485 echo "${ECHO_T}$ac_header_compiler" >&6
20487 # Is the header present?
20488 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20489 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20490 cat >conftest.
$ac_ext <<_ACEOF
20493 cat confdefs.h
>>conftest.
$ac_ext
20494 cat >>conftest.
$ac_ext <<_ACEOF
20495 /* end confdefs.h. */
20498 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20499 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20501 grep -v '^ *+' conftest.er1
>conftest.err
20503 cat conftest.err
>&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); } >/dev
/null
; then
20506 if test -s conftest.err
; then
20507 ac_cpp_err
=$ac_c_preproc_warn_flag
20508 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20515 if test -z "$ac_cpp_err"; then
20516 ac_header_preproc
=yes
20518 echo "$as_me: failed program was:" >&5
20519 sed 's/^/| /' conftest.
$ac_ext >&5
20521 ac_header_preproc
=no
20523 rm -f conftest.err conftest.
$ac_ext
20524 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20525 echo "${ECHO_T}$ac_header_preproc" >&6
20527 # So? What about this header?
20528 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20530 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20531 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20532 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20533 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20534 ac_header_preproc
=yes
20537 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20538 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20539 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20540 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20541 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20542 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20543 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20544 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20545 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20546 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20547 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20548 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20551 ## ----------------------------------------- ##
20552 ## Report this to wx-dev@lists.wxwidgets.org ##
20553 ## ----------------------------------------- ##
20556 sed "s/^/$as_me: WARNING: /" >&2
20559 echo "$as_me:$LINENO: checking for zlib.h" >&5
20560 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20561 if test "${ac_cv_header_zlib_h+set}" = set; then
20562 echo $ECHO_N "(cached) $ECHO_C" >&6
20564 ac_cv_header_zlib_h
=$ac_header_preproc
20566 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20567 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20573 system_zlib_h_ok
=$ac_cv_header_zlib_h
20576 if test "$system_zlib_h_ok" = "yes"; then
20577 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20578 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20579 if test "${ac_cv_lib_z_deflate+set}" = set; then
20580 echo $ECHO_N "(cached) $ECHO_C" >&6
20582 ac_check_lib_save_LIBS
=$LIBS
20584 cat >conftest.
$ac_ext <<_ACEOF
20587 cat confdefs.h
>>conftest.
$ac_ext
20588 cat >>conftest.
$ac_ext <<_ACEOF
20589 /* end confdefs.h. */
20591 /* Override any gcc2 internal prototype to avoid an error. */
20595 /* We use char because int might match the return type of a gcc2
20596 builtin and then its argument prototype would still apply. */
20606 rm -f conftest.
$ac_objext conftest
$ac_exeext
20607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20608 (eval $ac_link) 2>conftest.er1
20610 grep -v '^ *+' conftest.er1
>conftest.err
20612 cat conftest.err
>&5
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); } &&
20615 { ac_try
='test -z "$ac_c_werror_flag"
20616 || test ! -s conftest.err'
20617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20618 (eval $ac_try) 2>&5
20620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621 (exit $ac_status); }; } &&
20622 { ac_try
='test -s conftest$ac_exeext'
20623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20624 (eval $ac_try) 2>&5
20626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20627 (exit $ac_status); }; }; then
20628 ac_cv_lib_z_deflate
=yes
20630 echo "$as_me: failed program was:" >&5
20631 sed 's/^/| /' conftest.
$ac_ext >&5
20633 ac_cv_lib_z_deflate
=no
20635 rm -f conftest.err conftest.
$ac_objext \
20636 conftest
$ac_exeext conftest.
$ac_ext
20637 LIBS
=$ac_check_lib_save_LIBS
20639 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20640 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20641 if test $ac_cv_lib_z_deflate = yes; then
20647 if test "x$ZLIB_LINK" = "x" ; then
20648 if test "$wxUSE_ZLIB" = "sys" ; then
20649 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20650 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20651 { (exit 1); exit 1; }; }
20653 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20654 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20665 if test "$wxUSE_LIBPNG" != "no" ; then
20666 cat >>confdefs.h
<<\_ACEOF
20667 #define wxUSE_LIBPNG 1
20671 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20672 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20673 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20677 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20678 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20679 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20680 wxUSE_LIBPNG
=builtin
20683 if test "$wxUSE_MGL" != 1 ; then
20684 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20685 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20686 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20687 if test "${ac_cv_header_png_h+set}" = set; then
20688 echo $ECHO_N "(cached) $ECHO_C" >&6
20690 if test "$cross_compiling" = yes; then
20691 unset ac_cv_header_png_h
20694 cat >conftest.
$ac_ext <<_ACEOF
20697 cat confdefs.h
>>conftest.
$ac_ext
20698 cat >>conftest.
$ac_ext <<_ACEOF
20699 /* end confdefs.h. */
20706 FILE *f=fopen("conftestval", "w");
20709 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20714 rm -f conftest
$ac_exeext
20715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20716 (eval $ac_link) 2>&5
20718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20719 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20721 (eval $ac_try) 2>&5
20723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20724 (exit $ac_status); }; }; then
20725 ac_cv_header_png_h
=`cat conftestval`
20727 echo "$as_me: program exited with status $ac_status" >&5
20728 echo "$as_me: failed program was:" >&5
20729 sed 's/^/| /' conftest.
$ac_ext >&5
20731 ( exit $ac_status )
20732 ac_cv_header_png_h
=no
20734 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20738 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20739 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20740 if test "${ac_cv_header_png_h+set}" = set; then
20741 echo "$as_me:$LINENO: checking for png.h" >&5
20742 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20743 if test "${ac_cv_header_png_h+set}" = set; then
20744 echo $ECHO_N "(cached) $ECHO_C" >&6
20746 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20747 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20749 # Is the header compilable?
20750 echo "$as_me:$LINENO: checking png.h usability" >&5
20751 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20752 cat >conftest.
$ac_ext <<_ACEOF
20755 cat confdefs.h
>>conftest.
$ac_ext
20756 cat >>conftest.
$ac_ext <<_ACEOF
20757 /* end confdefs.h. */
20758 $ac_includes_default
20761 rm -f conftest.
$ac_objext
20762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20763 (eval $ac_compile) 2>conftest.er1
20765 grep -v '^ *+' conftest.er1
>conftest.err
20767 cat conftest.err
>&5
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); } &&
20770 { ac_try
='test -z "$ac_c_werror_flag"
20771 || test ! -s conftest.err'
20772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20773 (eval $ac_try) 2>&5
20775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20776 (exit $ac_status); }; } &&
20777 { ac_try
='test -s conftest.$ac_objext'
20778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20779 (eval $ac_try) 2>&5
20781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782 (exit $ac_status); }; }; then
20783 ac_header_compiler
=yes
20785 echo "$as_me: failed program was:" >&5
20786 sed 's/^/| /' conftest.
$ac_ext >&5
20788 ac_header_compiler
=no
20790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20791 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20792 echo "${ECHO_T}$ac_header_compiler" >&6
20794 # Is the header present?
20795 echo "$as_me:$LINENO: checking png.h presence" >&5
20796 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20797 cat >conftest.
$ac_ext <<_ACEOF
20800 cat confdefs.h
>>conftest.
$ac_ext
20801 cat >>conftest.
$ac_ext <<_ACEOF
20802 /* end confdefs.h. */
20805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20806 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20808 grep -v '^ *+' conftest.er1
>conftest.err
20810 cat conftest.err
>&5
20811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20812 (exit $ac_status); } >/dev
/null
; then
20813 if test -s conftest.err
; then
20814 ac_cpp_err
=$ac_c_preproc_warn_flag
20815 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20822 if test -z "$ac_cpp_err"; then
20823 ac_header_preproc
=yes
20825 echo "$as_me: failed program was:" >&5
20826 sed 's/^/| /' conftest.
$ac_ext >&5
20828 ac_header_preproc
=no
20830 rm -f conftest.err conftest.
$ac_ext
20831 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20832 echo "${ECHO_T}$ac_header_preproc" >&6
20834 # So? What about this header?
20835 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20837 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20838 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20839 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20840 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20841 ac_header_preproc
=yes
20844 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20845 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20846 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20847 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20848 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20849 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20850 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20851 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20852 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20853 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20854 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20855 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20858 ## ----------------------------------------- ##
20859 ## Report this to wx-dev@lists.wxwidgets.org ##
20860 ## ----------------------------------------- ##
20863 sed "s/^/$as_me: WARNING: /" >&2
20866 echo "$as_me:$LINENO: checking for png.h" >&5
20867 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20868 if test "${ac_cv_header_png_h+set}" = set; then
20869 echo $ECHO_N "(cached) $ECHO_C" >&6
20871 ac_cv_header_png_h
=$ac_header_preproc
20873 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20874 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20880 if test "$ac_cv_header_png_h" = "yes"; then
20881 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20882 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20883 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20884 echo $ECHO_N "(cached) $ECHO_C" >&6
20886 ac_check_lib_save_LIBS
=$LIBS
20887 LIBS
="-lpng -lz -lm $LIBS"
20888 cat >conftest.
$ac_ext <<_ACEOF
20891 cat confdefs.h
>>conftest.
$ac_ext
20892 cat >>conftest.
$ac_ext <<_ACEOF
20893 /* end confdefs.h. */
20895 /* Override any gcc2 internal prototype to avoid an error. */
20899 /* We use char because int might match the return type of a gcc2
20900 builtin and then its argument prototype would still apply. */
20901 char png_check_sig ();
20910 rm -f conftest.
$ac_objext conftest
$ac_exeext
20911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20912 (eval $ac_link) 2>conftest.er1
20914 grep -v '^ *+' conftest.er1
>conftest.err
20916 cat conftest.err
>&5
20917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918 (exit $ac_status); } &&
20919 { ac_try
='test -z "$ac_c_werror_flag"
20920 || test ! -s conftest.err'
20921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20922 (eval $ac_try) 2>&5
20924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20925 (exit $ac_status); }; } &&
20926 { ac_try
='test -s conftest$ac_exeext'
20927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20928 (eval $ac_try) 2>&5
20930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20931 (exit $ac_status); }; }; then
20932 ac_cv_lib_png_png_check_sig
=yes
20934 echo "$as_me: failed program was:" >&5
20935 sed 's/^/| /' conftest.
$ac_ext >&5
20937 ac_cv_lib_png_png_check_sig
=no
20939 rm -f conftest.err conftest.
$ac_objext \
20940 conftest
$ac_exeext conftest.
$ac_ext
20941 LIBS
=$ac_check_lib_save_LIBS
20943 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20944 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20945 if test $ac_cv_lib_png_png_check_sig = yes; then
20946 PNG_LINK
=" -lpng -lz"
20951 if test "x$PNG_LINK" = "x" ; then
20952 if test "$wxUSE_LIBPNG" = "sys" ; then
20953 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20954 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20955 { (exit 1); exit 1; }; }
20957 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20958 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20959 wxUSE_LIBPNG
=builtin
20967 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
20972 if test "$wxUSE_LIBJPEG" != "no" ; then
20973 cat >>confdefs.h
<<\_ACEOF
20974 #define wxUSE_LIBJPEG 1
20978 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20979 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20980 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20984 if test "$wxUSE_MGL" != 1 ; then
20985 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20986 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20987 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20988 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20989 echo $ECHO_N "(cached) $ECHO_C" >&6
20991 cat >conftest.
$ac_ext <<_ACEOF
20994 cat confdefs.h
>>conftest.
$ac_ext
20995 cat >>conftest.
$ac_ext <<_ACEOF
20996 /* end confdefs.h. */
20998 #undef HAVE_STDLIB_H
21000 #include <jpeglib.h>
21011 rm -f conftest.
$ac_objext
21012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21013 (eval $ac_compile) 2>conftest.er1
21015 grep -v '^ *+' conftest.er1
>conftest.err
21017 cat conftest.err
>&5
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); } &&
21020 { ac_try
='test -z "$ac_c_werror_flag"
21021 || test ! -s conftest.err'
21022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21023 (eval $ac_try) 2>&5
21025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21026 (exit $ac_status); }; } &&
21027 { ac_try
='test -s conftest.$ac_objext'
21028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21029 (eval $ac_try) 2>&5
21031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21032 (exit $ac_status); }; }; then
21033 ac_cv_header_jpeglib_h
=yes
21035 echo "$as_me: failed program was:" >&5
21036 sed 's/^/| /' conftest.
$ac_ext >&5
21038 ac_cv_header_jpeglib_h
=no
21041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21045 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21046 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21048 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21049 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21050 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21051 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21052 echo $ECHO_N "(cached) $ECHO_C" >&6
21054 ac_check_lib_save_LIBS
=$LIBS
21055 LIBS
="-ljpeg $LIBS"
21056 cat >conftest.
$ac_ext <<_ACEOF
21059 cat confdefs.h
>>conftest.
$ac_ext
21060 cat >>conftest.
$ac_ext <<_ACEOF
21061 /* end confdefs.h. */
21063 /* Override any gcc2 internal prototype to avoid an error. */
21067 /* We use char because int might match the return type of a gcc2
21068 builtin and then its argument prototype would still apply. */
21069 char jpeg_read_header ();
21073 jpeg_read_header ();
21078 rm -f conftest.
$ac_objext conftest
$ac_exeext
21079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21080 (eval $ac_link) 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); } &&
21087 { ac_try
='test -z "$ac_c_werror_flag"
21088 || test ! -s conftest.err'
21089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21090 (eval $ac_try) 2>&5
21092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093 (exit $ac_status); }; } &&
21094 { ac_try
='test -s conftest$ac_exeext'
21095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21096 (eval $ac_try) 2>&5
21098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099 (exit $ac_status); }; }; then
21100 ac_cv_lib_jpeg_jpeg_read_header
=yes
21102 echo "$as_me: failed program was:" >&5
21103 sed 's/^/| /' conftest.
$ac_ext >&5
21105 ac_cv_lib_jpeg_jpeg_read_header
=no
21107 rm -f conftest.err conftest.
$ac_objext \
21108 conftest
$ac_exeext conftest.
$ac_ext
21109 LIBS
=$ac_check_lib_save_LIBS
21111 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21112 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21113 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21114 JPEG_LINK
=" -ljpeg"
21119 if test "x$JPEG_LINK" = "x" ; then
21120 if test "$wxUSE_LIBJPEG" = "sys" ; then
21121 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21122 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21123 { (exit 1); exit 1; }; }
21125 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21126 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21127 wxUSE_LIBJPEG
=builtin
21138 TIFF_PREREQ_LINKS
=-lm
21139 if test "$wxUSE_LIBTIFF" != "no" ; then
21140 cat >>confdefs.h
<<\_ACEOF
21141 #define wxUSE_LIBTIFF 1
21145 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21146 if test "$wxUSE_LIBJPEG" = "sys"; then
21147 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21149 if test "$wxUSE_ZLIB" = "sys"; then
21150 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21152 if test "${ac_cv_header_tiffio_h+set}" = set; then
21153 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21154 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21155 if test "${ac_cv_header_tiffio_h+set}" = set; then
21156 echo $ECHO_N "(cached) $ECHO_C" >&6
21158 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21159 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21161 # Is the header compilable?
21162 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21163 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21164 cat >conftest.
$ac_ext <<_ACEOF
21167 cat confdefs.h
>>conftest.
$ac_ext
21168 cat >>conftest.
$ac_ext <<_ACEOF
21169 /* end confdefs.h. */
21170 $ac_includes_default
21171 #include <tiffio.h>
21173 rm -f conftest.
$ac_objext
21174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21175 (eval $ac_compile) 2>conftest.er1
21177 grep -v '^ *+' conftest.er1
>conftest.err
21179 cat conftest.err
>&5
21180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181 (exit $ac_status); } &&
21182 { ac_try
='test -z "$ac_c_werror_flag"
21183 || test ! -s conftest.err'
21184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21185 (eval $ac_try) 2>&5
21187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21188 (exit $ac_status); }; } &&
21189 { ac_try
='test -s conftest.$ac_objext'
21190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21191 (eval $ac_try) 2>&5
21193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21194 (exit $ac_status); }; }; then
21195 ac_header_compiler
=yes
21197 echo "$as_me: failed program was:" >&5
21198 sed 's/^/| /' conftest.
$ac_ext >&5
21200 ac_header_compiler
=no
21202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21203 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21204 echo "${ECHO_T}$ac_header_compiler" >&6
21206 # Is the header present?
21207 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21208 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21209 cat >conftest.
$ac_ext <<_ACEOF
21212 cat confdefs.h
>>conftest.
$ac_ext
21213 cat >>conftest.
$ac_ext <<_ACEOF
21214 /* end confdefs.h. */
21215 #include <tiffio.h>
21217 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21218 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21220 grep -v '^ *+' conftest.er1
>conftest.err
21222 cat conftest.err
>&5
21223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21224 (exit $ac_status); } >/dev
/null
; then
21225 if test -s conftest.err
; then
21226 ac_cpp_err
=$ac_c_preproc_warn_flag
21227 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21234 if test -z "$ac_cpp_err"; then
21235 ac_header_preproc
=yes
21237 echo "$as_me: failed program was:" >&5
21238 sed 's/^/| /' conftest.
$ac_ext >&5
21240 ac_header_preproc
=no
21242 rm -f conftest.err conftest.
$ac_ext
21243 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21244 echo "${ECHO_T}$ac_header_preproc" >&6
21246 # So? What about this header?
21247 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21249 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21250 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21251 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21252 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21253 ac_header_preproc
=yes
21256 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21257 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21258 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21259 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21260 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21261 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21262 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21263 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21264 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21265 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21266 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21267 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21270 ## ----------------------------------------- ##
21271 ## Report this to wx-dev@lists.wxwidgets.org ##
21272 ## ----------------------------------------- ##
21275 sed "s/^/$as_me: WARNING: /" >&2
21278 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21279 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21280 if test "${ac_cv_header_tiffio_h+set}" = set; then
21281 echo $ECHO_N "(cached) $ECHO_C" >&6
21283 ac_cv_header_tiffio_h
=$ac_header_preproc
21285 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21286 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21289 if test $ac_cv_header_tiffio_h = yes; then
21291 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21292 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21293 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21294 echo $ECHO_N "(cached) $ECHO_C" >&6
21296 ac_check_lib_save_LIBS
=$LIBS
21297 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21298 cat >conftest.
$ac_ext <<_ACEOF
21301 cat confdefs.h
>>conftest.
$ac_ext
21302 cat >>conftest.
$ac_ext <<_ACEOF
21303 /* end confdefs.h. */
21305 /* Override any gcc2 internal prototype to avoid an error. */
21309 /* We use char because int might match the return type of a gcc2
21310 builtin and then its argument prototype would still apply. */
21320 rm -f conftest.
$ac_objext conftest
$ac_exeext
21321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21322 (eval $ac_link) 2>conftest.er1
21324 grep -v '^ *+' conftest.er1
>conftest.err
21326 cat conftest.err
>&5
21327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21328 (exit $ac_status); } &&
21329 { ac_try
='test -z "$ac_c_werror_flag"
21330 || test ! -s conftest.err'
21331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21332 (eval $ac_try) 2>&5
21334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21335 (exit $ac_status); }; } &&
21336 { ac_try
='test -s conftest$ac_exeext'
21337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21338 (eval $ac_try) 2>&5
21340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21341 (exit $ac_status); }; }; then
21342 ac_cv_lib_tiff_TIFFError
=yes
21344 echo "$as_me: failed program was:" >&5
21345 sed 's/^/| /' conftest.
$ac_ext >&5
21347 ac_cv_lib_tiff_TIFFError
=no
21349 rm -f conftest.err conftest.
$ac_objext \
21350 conftest
$ac_exeext conftest.
$ac_ext
21351 LIBS
=$ac_check_lib_save_LIBS
21353 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21354 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21355 if test $ac_cv_lib_tiff_TIFFError = yes; then
21356 TIFF_LINK
=" -ltiff"
21365 if test "x$TIFF_LINK" = "x" ; then
21366 if test "$wxUSE_LIBTIFF" = "sys" ; then
21367 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21368 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21369 { (exit 1); exit 1; }; }
21371 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21372 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21373 wxUSE_LIBTIFF
=builtin
21382 if test "$wxUSE_EXPAT" != "no"; then
21384 cat >>confdefs.h
<<\_ACEOF
21385 #define wxUSE_EXPAT 1
21388 cat >>confdefs.h
<<\_ACEOF
21389 #define wxUSE_XML 1
21393 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21394 if test "${ac_cv_header_expat_h+set}" = set; then
21395 echo "$as_me:$LINENO: checking for expat.h" >&5
21396 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21397 if test "${ac_cv_header_expat_h+set}" = set; then
21398 echo $ECHO_N "(cached) $ECHO_C" >&6
21400 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21401 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21403 # Is the header compilable?
21404 echo "$as_me:$LINENO: checking expat.h usability" >&5
21405 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21406 cat >conftest.
$ac_ext <<_ACEOF
21409 cat confdefs.h
>>conftest.
$ac_ext
21410 cat >>conftest.
$ac_ext <<_ACEOF
21411 /* end confdefs.h. */
21412 $ac_includes_default
21415 rm -f conftest.
$ac_objext
21416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21417 (eval $ac_compile) 2>conftest.er1
21419 grep -v '^ *+' conftest.er1
>conftest.err
21421 cat conftest.err
>&5
21422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21423 (exit $ac_status); } &&
21424 { ac_try
='test -z "$ac_c_werror_flag"
21425 || test ! -s conftest.err'
21426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21427 (eval $ac_try) 2>&5
21429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21430 (exit $ac_status); }; } &&
21431 { ac_try
='test -s conftest.$ac_objext'
21432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21433 (eval $ac_try) 2>&5
21435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21436 (exit $ac_status); }; }; then
21437 ac_header_compiler
=yes
21439 echo "$as_me: failed program was:" >&5
21440 sed 's/^/| /' conftest.
$ac_ext >&5
21442 ac_header_compiler
=no
21444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21445 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21446 echo "${ECHO_T}$ac_header_compiler" >&6
21448 # Is the header present?
21449 echo "$as_me:$LINENO: checking expat.h presence" >&5
21450 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21451 cat >conftest.
$ac_ext <<_ACEOF
21454 cat confdefs.h
>>conftest.
$ac_ext
21455 cat >>conftest.
$ac_ext <<_ACEOF
21456 /* end confdefs.h. */
21459 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21460 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21462 grep -v '^ *+' conftest.er1
>conftest.err
21464 cat conftest.err
>&5
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); } >/dev
/null
; then
21467 if test -s conftest.err
; then
21468 ac_cpp_err
=$ac_c_preproc_warn_flag
21469 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21476 if test -z "$ac_cpp_err"; then
21477 ac_header_preproc
=yes
21479 echo "$as_me: failed program was:" >&5
21480 sed 's/^/| /' conftest.
$ac_ext >&5
21482 ac_header_preproc
=no
21484 rm -f conftest.err conftest.
$ac_ext
21485 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21486 echo "${ECHO_T}$ac_header_preproc" >&6
21488 # So? What about this header?
21489 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21491 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21492 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21493 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21494 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21495 ac_header_preproc
=yes
21498 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21499 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21500 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21501 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21502 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21503 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21504 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21505 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21506 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21507 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21508 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21509 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21512 ## ----------------------------------------- ##
21513 ## Report this to wx-dev@lists.wxwidgets.org ##
21514 ## ----------------------------------------- ##
21517 sed "s/^/$as_me: WARNING: /" >&2
21520 echo "$as_me:$LINENO: checking for expat.h" >&5
21521 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21522 if test "${ac_cv_header_expat_h+set}" = set; then
21523 echo $ECHO_N "(cached) $ECHO_C" >&6
21525 ac_cv_header_expat_h
=$ac_header_preproc
21527 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21528 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21531 if test $ac_cv_header_expat_h = yes; then
21536 if test "x$found_expat_h" = "x1"; then
21537 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21538 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21539 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21540 echo $ECHO_N "(cached) $ECHO_C" >&6
21546 ac_cpp
='$CXXCPP $CPPFLAGS'
21547 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21548 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21549 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21551 cat >conftest.
$ac_ext <<_ACEOF
21554 cat confdefs.h
>>conftest.
$ac_ext
21555 cat >>conftest.
$ac_ext <<_ACEOF
21556 /* end confdefs.h. */
21566 rm -f conftest.
$ac_objext
21567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21568 (eval $ac_compile) 2>conftest.er1
21570 grep -v '^ *+' conftest.er1
>conftest.err
21572 cat conftest.err
>&5
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); } &&
21575 { ac_try
='test -z "$ac_cxx_werror_flag"
21576 || test ! -s conftest.err'
21577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21578 (eval $ac_try) 2>&5
21580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581 (exit $ac_status); }; } &&
21582 { ac_try
='test -s conftest.$ac_objext'
21583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21584 (eval $ac_try) 2>&5
21586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587 (exit $ac_status); }; }; then
21588 wx_cv_expat_is_not_broken
=yes
21590 echo "$as_me: failed program was:" >&5
21591 sed 's/^/| /' conftest.
$ac_ext >&5
21593 wx_cv_expat_is_not_broken
=no
21596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21598 ac_cpp
='$CPP $CPPFLAGS'
21599 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21600 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21601 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21606 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21607 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21608 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21609 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21610 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21611 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21612 echo $ECHO_N "(cached) $ECHO_C" >&6
21614 ac_check_lib_save_LIBS
=$LIBS
21615 LIBS
="-lexpat $LIBS"
21616 cat >conftest.
$ac_ext <<_ACEOF
21619 cat confdefs.h
>>conftest.
$ac_ext
21620 cat >>conftest.
$ac_ext <<_ACEOF
21621 /* end confdefs.h. */
21623 /* Override any gcc2 internal prototype to avoid an error. */
21627 /* We use char because int might match the return type of a gcc2
21628 builtin and then its argument prototype would still apply. */
21629 char XML_ParserCreate ();
21633 XML_ParserCreate ();
21638 rm -f conftest.
$ac_objext conftest
$ac_exeext
21639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21640 (eval $ac_link) 2>conftest.er1
21642 grep -v '^ *+' conftest.er1
>conftest.err
21644 cat conftest.err
>&5
21645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21646 (exit $ac_status); } &&
21647 { ac_try
='test -z "$ac_c_werror_flag"
21648 || test ! -s conftest.err'
21649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21650 (eval $ac_try) 2>&5
21652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21653 (exit $ac_status); }; } &&
21654 { ac_try
='test -s conftest$ac_exeext'
21655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21656 (eval $ac_try) 2>&5
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); }; }; then
21660 ac_cv_lib_expat_XML_ParserCreate
=yes
21662 echo "$as_me: failed program was:" >&5
21663 sed 's/^/| /' conftest.
$ac_ext >&5
21665 ac_cv_lib_expat_XML_ParserCreate
=no
21667 rm -f conftest.err conftest.
$ac_objext \
21668 conftest
$ac_exeext conftest.
$ac_ext
21669 LIBS
=$ac_check_lib_save_LIBS
21671 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21672 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21673 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21674 EXPAT_LINK
=" -lexpat"
21679 if test "x$EXPAT_LINK" = "x" ; then
21680 if test "$wxUSE_EXPAT" = "sys" ; then
21681 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21682 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21683 { (exit 1); exit 1; }; }
21685 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21686 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21687 wxUSE_EXPAT
=builtin
21693 if test "$wxUSE_EXPAT" = "builtin" ; then
21696 subdirs
="$subdirs src/expat"
21703 if test "$wxUSE_LIBMSPACK" != "no"; then
21705 if test "${ac_cv_header_mspack_h+set}" = set; then
21706 echo "$as_me:$LINENO: checking for mspack.h" >&5
21707 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21708 if test "${ac_cv_header_mspack_h+set}" = set; then
21709 echo $ECHO_N "(cached) $ECHO_C" >&6
21711 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21712 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21714 # Is the header compilable?
21715 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21716 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21717 cat >conftest.
$ac_ext <<_ACEOF
21720 cat confdefs.h
>>conftest.
$ac_ext
21721 cat >>conftest.
$ac_ext <<_ACEOF
21722 /* end confdefs.h. */
21723 $ac_includes_default
21724 #include <mspack.h>
21726 rm -f conftest.
$ac_objext
21727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21728 (eval $ac_compile) 2>conftest.er1
21730 grep -v '^ *+' conftest.er1
>conftest.err
21732 cat conftest.err
>&5
21733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21734 (exit $ac_status); } &&
21735 { ac_try
='test -z "$ac_c_werror_flag"
21736 || test ! -s conftest.err'
21737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21738 (eval $ac_try) 2>&5
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); }; } &&
21742 { ac_try
='test -s conftest.$ac_objext'
21743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21744 (eval $ac_try) 2>&5
21746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21747 (exit $ac_status); }; }; then
21748 ac_header_compiler
=yes
21750 echo "$as_me: failed program was:" >&5
21751 sed 's/^/| /' conftest.
$ac_ext >&5
21753 ac_header_compiler
=no
21755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21756 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21757 echo "${ECHO_T}$ac_header_compiler" >&6
21759 # Is the header present?
21760 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21761 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21762 cat >conftest.
$ac_ext <<_ACEOF
21765 cat confdefs.h
>>conftest.
$ac_ext
21766 cat >>conftest.
$ac_ext <<_ACEOF
21767 /* end confdefs.h. */
21768 #include <mspack.h>
21770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21771 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21773 grep -v '^ *+' conftest.er1
>conftest.err
21775 cat conftest.err
>&5
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); } >/dev
/null
; then
21778 if test -s conftest.err
; then
21779 ac_cpp_err
=$ac_c_preproc_warn_flag
21780 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21787 if test -z "$ac_cpp_err"; then
21788 ac_header_preproc
=yes
21790 echo "$as_me: failed program was:" >&5
21791 sed 's/^/| /' conftest.
$ac_ext >&5
21793 ac_header_preproc
=no
21795 rm -f conftest.err conftest.
$ac_ext
21796 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21797 echo "${ECHO_T}$ac_header_preproc" >&6
21799 # So? What about this header?
21800 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21802 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21803 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21804 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21805 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21806 ac_header_preproc
=yes
21809 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21810 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21811 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21812 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21813 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21814 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21815 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21816 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21817 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21818 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21819 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21820 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21823 ## ----------------------------------------- ##
21824 ## Report this to wx-dev@lists.wxwidgets.org ##
21825 ## ----------------------------------------- ##
21828 sed "s/^/$as_me: WARNING: /" >&2
21831 echo "$as_me:$LINENO: checking for mspack.h" >&5
21832 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21833 if test "${ac_cv_header_mspack_h+set}" = set; then
21834 echo $ECHO_N "(cached) $ECHO_C" >&6
21836 ac_cv_header_mspack_h
=$ac_header_preproc
21838 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21839 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21842 if test $ac_cv_header_mspack_h = yes; then
21847 if test "x$found_mspack_h" = "x1"; then
21848 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21849 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21850 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21851 echo $ECHO_N "(cached) $ECHO_C" >&6
21853 ac_check_lib_save_LIBS
=$LIBS
21854 LIBS
="-lmspack $LIBS"
21855 cat >conftest.
$ac_ext <<_ACEOF
21858 cat confdefs.h
>>conftest.
$ac_ext
21859 cat >>conftest.
$ac_ext <<_ACEOF
21860 /* end confdefs.h. */
21862 /* Override any gcc2 internal prototype to avoid an error. */
21866 /* We use char because int might match the return type of a gcc2
21867 builtin and then its argument prototype would still apply. */
21868 char mspack_create_chm_decompressor ();
21872 mspack_create_chm_decompressor ();
21877 rm -f conftest.
$ac_objext conftest
$ac_exeext
21878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21879 (eval $ac_link) 2>conftest.er1
21881 grep -v '^ *+' conftest.er1
>conftest.err
21883 cat conftest.err
>&5
21884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21885 (exit $ac_status); } &&
21886 { ac_try
='test -z "$ac_c_werror_flag"
21887 || test ! -s conftest.err'
21888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21889 (eval $ac_try) 2>&5
21891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21892 (exit $ac_status); }; } &&
21893 { ac_try
='test -s conftest$ac_exeext'
21894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21895 (eval $ac_try) 2>&5
21897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21898 (exit $ac_status); }; }; then
21899 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
21901 echo "$as_me: failed program was:" >&5
21902 sed 's/^/| /' conftest.
$ac_ext >&5
21904 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
21906 rm -f conftest.err conftest.
$ac_objext \
21907 conftest
$ac_exeext conftest.
$ac_ext
21908 LIBS
=$ac_check_lib_save_LIBS
21910 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21911 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21912 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21913 MSPACK_LINK
=" -lmspack"
21917 if test "x$MSPACK_LINK" = "x" ; then
21920 cat >>confdefs.h
<<\_ACEOF
21921 #define wxUSE_LIBMSPACK 1
21936 if test "$USE_WIN32" = 1 ; then
21938 for ac_header
in w32api.h
21940 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21942 echo "$as_me:$LINENO: checking for $ac_header" >&5
21943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21945 echo $ECHO_N "(cached) $ECHO_C" >&6
21947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21950 # Is the header compilable?
21951 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21952 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21953 cat >conftest.
$ac_ext <<_ACEOF
21956 cat confdefs.h
>>conftest.
$ac_ext
21957 cat >>conftest.
$ac_ext <<_ACEOF
21958 /* end confdefs.h. */
21959 $ac_includes_default
21960 #include <$ac_header>
21962 rm -f conftest.
$ac_objext
21963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21964 (eval $ac_compile) 2>conftest.er1
21966 grep -v '^ *+' conftest.er1
>conftest.err
21968 cat conftest.err
>&5
21969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970 (exit $ac_status); } &&
21971 { ac_try
='test -z "$ac_c_werror_flag"
21972 || 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 $ac_header presence" >&5
21997 echo $ECHO_N "checking $ac_header 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 <$ac_header>
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: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22039 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22041 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22042 ac_header_preproc
=yes
22045 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22046 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22047 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22048 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22049 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22050 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22051 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22052 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22053 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22054 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22055 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22056 echo "$as_me: WARNING: $ac_header: 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 $ac_header" >&5
22068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22070 echo $ECHO_N "(cached) $ECHO_C" >&6
22072 eval "$as_ac_Header=\$ac_header_preproc"
22074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22075 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22078 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22079 cat >>confdefs.h
<<_ACEOF
22080 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22087 if test "${ac_cv_header_windows_h+set}" = set; then
22088 echo "$as_me:$LINENO: checking for windows.h" >&5
22089 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22090 if test "${ac_cv_header_windows_h+set}" = set; then
22091 echo $ECHO_N "(cached) $ECHO_C" >&6
22093 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22094 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22096 # Is the header compilable?
22097 echo "$as_me:$LINENO: checking windows.h usability" >&5
22098 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22099 cat >conftest.
$ac_ext <<_ACEOF
22102 cat confdefs.h
>>conftest.
$ac_ext
22103 cat >>conftest.
$ac_ext <<_ACEOF
22104 /* end confdefs.h. */
22105 $ac_includes_default
22106 #include <windows.h>
22108 rm -f conftest.
$ac_objext
22109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22110 (eval $ac_compile) 2>conftest.er1
22112 grep -v '^ *+' conftest.er1
>conftest.err
22114 cat conftest.err
>&5
22115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22116 (exit $ac_status); } &&
22117 { ac_try
='test -z "$ac_c_werror_flag"
22118 || test ! -s conftest.err'
22119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22120 (eval $ac_try) 2>&5
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); }; } &&
22124 { ac_try
='test -s conftest.$ac_objext'
22125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22126 (eval $ac_try) 2>&5
22128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22129 (exit $ac_status); }; }; then
22130 ac_header_compiler
=yes
22132 echo "$as_me: failed program was:" >&5
22133 sed 's/^/| /' conftest.
$ac_ext >&5
22135 ac_header_compiler
=no
22137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22139 echo "${ECHO_T}$ac_header_compiler" >&6
22141 # Is the header present?
22142 echo "$as_me:$LINENO: checking windows.h presence" >&5
22143 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22144 cat >conftest.
$ac_ext <<_ACEOF
22147 cat confdefs.h
>>conftest.
$ac_ext
22148 cat >>conftest.
$ac_ext <<_ACEOF
22149 /* end confdefs.h. */
22150 #include <windows.h>
22152 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22153 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22155 grep -v '^ *+' conftest.er1
>conftest.err
22157 cat conftest.err
>&5
22158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22159 (exit $ac_status); } >/dev
/null
; then
22160 if test -s conftest.err
; then
22161 ac_cpp_err
=$ac_c_preproc_warn_flag
22162 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22169 if test -z "$ac_cpp_err"; then
22170 ac_header_preproc
=yes
22172 echo "$as_me: failed program was:" >&5
22173 sed 's/^/| /' conftest.
$ac_ext >&5
22175 ac_header_preproc
=no
22177 rm -f conftest.err conftest.
$ac_ext
22178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22179 echo "${ECHO_T}$ac_header_preproc" >&6
22181 # So? What about this header?
22182 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22184 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22185 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22186 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22187 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22188 ac_header_preproc
=yes
22191 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22192 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22193 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22194 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22195 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22196 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22197 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22198 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22199 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22200 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22201 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22202 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22205 ## ----------------------------------------- ##
22206 ## Report this to wx-dev@lists.wxwidgets.org ##
22207 ## ----------------------------------------- ##
22210 sed "s/^/$as_me: WARNING: /" >&2
22213 echo "$as_me:$LINENO: checking for windows.h" >&5
22214 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22215 if test "${ac_cv_header_windows_h+set}" = set; then
22216 echo $ECHO_N "(cached) $ECHO_C" >&6
22218 ac_cv_header_windows_h
=$ac_header_preproc
22220 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22221 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22224 if test $ac_cv_header_windows_h = yes; then
22228 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22229 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22230 { (exit 1); exit 1; }; }
22236 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22238 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22239 LIBS
="$LIBS -loleacc"
22244 LIBS
="$LIBS -lkernel32 -luser32"
22245 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
22248 if test "$wxUSE_ODBC" = "sys" ; then
22251 if test "$wxUSE_ODBC" = "yes" ; then
22252 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
22253 cat >>confdefs.h
<<\_ACEOF
22254 #define wxUSE_ODBC 1
22259 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22260 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22262 WIN32INSTALL
=win32install
22265 if test "$wxUSE_GUI" = "yes"; then
22275 if test "$wxUSE_MSW" = 1 ; then
22281 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22285 if test "$wxUSE_GTK" = 1; then
22286 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22287 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22289 gtk_version_cached
=1
22290 if test "${wx_cv_lib_gtk+set}" = set; then
22291 echo $ECHO_N "(cached) $ECHO_C" >&6
22294 gtk_version_cached
=0
22295 echo "$as_me:$LINENO: result: " >&5
22296 echo "${ECHO_T}" >&6
22299 if test "$wxUSE_THREADS" = "yes"; then
22300 GTK_MODULES
=gthread
22304 if test "x$wxUSE_GTK2" = "xyes"; then
22305 # Check whether --enable-gtktest or --disable-gtktest was given.
22306 if test "${enable_gtktest+set}" = set; then
22307 enableval
="$enable_gtktest"
22313 pkg_config_args
=gtk
+-2.0
22314 for module
in .
$GTK_MODULES
22318 pkg_config_args
="$pkg_config_args gthread-2.0"
22325 # Extract the first word of "pkg-config", so it can be a program name with args.
22326 set dummy pkg
-config; ac_word
=$2
22327 echo "$as_me:$LINENO: checking for $ac_word" >&5
22328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22329 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22330 echo $ECHO_N "(cached) $ECHO_C" >&6
22332 case $PKG_CONFIG in
22334 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22338 for as_dir
in $PATH
22341 test -z "$as_dir" && as_dir
=.
22342 for ac_exec_ext
in '' $ac_executable_extensions; do
22343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22344 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22351 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22355 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22357 if test -n "$PKG_CONFIG"; then
22358 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22359 echo "${ECHO_T}$PKG_CONFIG" >&6
22361 echo "$as_me:$LINENO: result: no" >&5
22362 echo "${ECHO_T}no" >&6
22366 if test x
$PKG_CONFIG != xno
; then
22367 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
22370 echo "*** pkg-config too old; version 0.7 or better required."
22378 min_gtk_version
=2.0.0
22379 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22380 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22382 if test x
$PKG_CONFIG != xno
; then
22383 ## don't try to run the test against uninstalled libtool libs
22384 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22385 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22389 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22396 if test x
"$no_gtk" = x
; then
22397 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
22398 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
22399 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22400 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22401 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22402 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22403 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22404 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22405 if test "x$enable_gtktest" = "xyes" ; then
22406 ac_save_CFLAGS
="$CFLAGS"
22407 ac_save_LIBS
="$LIBS"
22408 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22409 LIBS
="$GTK_LIBS $LIBS"
22411 if test "$cross_compiling" = yes; then
22412 echo $ac_n "cross compiling; assumed OK... $ac_c"
22414 cat >conftest.
$ac_ext <<_ACEOF
22417 cat confdefs.h
>>conftest.
$ac_ext
22418 cat >>conftest.
$ac_ext <<_ACEOF
22419 /* end confdefs.h. */
22421 #include <gtk/gtk.h>
22423 #include <stdlib.h>
22428 int major, minor, micro;
22431 system ("touch conf.gtktest");
22433 /* HP/UX 9 (%@#!) writes to sscanf strings */
22434 tmp_version = g_strdup("$min_gtk_version");
22435 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22436 printf("%s, bad version string\n", "$min_gtk_version");
22440 if ((gtk_major_version != $gtk_config_major_version) ||
22441 (gtk_minor_version != $gtk_config_minor_version) ||
22442 (gtk_micro_version != $gtk_config_micro_version))
22444 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22445 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22446 gtk_major_version, gtk_minor_version, gtk_micro_version);
22447 printf ("*** was found! If pkg-config was correct, then it is best\n");
22448 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22449 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22450 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22451 printf("*** required on your system.\n");
22452 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22453 printf("*** to point to the correct configuration files\n");
22455 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22456 (gtk_minor_version != GTK_MINOR_VERSION) ||
22457 (gtk_micro_version != GTK_MICRO_VERSION))
22459 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22460 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22461 printf("*** library (version %d.%d.%d)\n",
22462 gtk_major_version, gtk_minor_version, gtk_micro_version);
22466 if ((gtk_major_version > major) ||
22467 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22468 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22474 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22475 gtk_major_version, gtk_minor_version, gtk_micro_version);
22476 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22477 major, minor, micro);
22478 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22480 printf("*** If you have already installed a sufficiently new version, this error\n");
22481 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22482 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22483 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22484 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22485 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22486 printf("*** so that the correct libraries are found at run-time))\n");
22493 rm -f conftest
$ac_exeext
22494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22495 (eval $ac_link) 2>&5
22497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22498 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22500 (eval $ac_try) 2>&5
22502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22503 (exit $ac_status); }; }; then
22506 echo "$as_me: program exited with status $ac_status" >&5
22507 echo "$as_me: failed program was:" >&5
22508 sed 's/^/| /' conftest.
$ac_ext >&5
22510 ( exit $ac_status )
22513 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22515 CFLAGS
="$ac_save_CFLAGS"
22516 LIBS
="$ac_save_LIBS"
22519 if test "x$no_gtk" = x
; then
22520 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22521 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22524 echo "$as_me:$LINENO: result: no" >&5
22525 echo "${ECHO_T}no" >&6
22526 if test "$PKG_CONFIG" = "no" ; then
22527 echo "*** A new enough version of pkg-config was not found."
22528 echo "*** See http://pkgconfig.sourceforge.net"
22530 if test -f conf.gtktest
; then
22533 echo "*** Could not run GTK+ test program, checking why..."
22534 ac_save_CFLAGS
="$CFLAGS"
22535 ac_save_LIBS
="$LIBS"
22536 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22537 LIBS
="$LIBS $GTK_LIBS"
22538 cat >conftest.
$ac_ext <<_ACEOF
22541 cat confdefs.h
>>conftest.
$ac_ext
22542 cat >>conftest.
$ac_ext <<_ACEOF
22543 /* end confdefs.h. */
22545 #include <gtk/gtk.h>
22551 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22556 rm -f conftest.
$ac_objext conftest
$ac_exeext
22557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22558 (eval $ac_link) 2>conftest.er1
22560 grep -v '^ *+' conftest.er1
>conftest.err
22562 cat conftest.err
>&5
22563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22564 (exit $ac_status); } &&
22565 { ac_try
='test -z "$ac_c_werror_flag"
22566 || test ! -s conftest.err'
22567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22568 (eval $ac_try) 2>&5
22570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22571 (exit $ac_status); }; } &&
22572 { ac_try
='test -s conftest$ac_exeext'
22573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22574 (eval $ac_try) 2>&5
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); }; }; then
22578 echo "*** The test program compiled, but did not run. This usually means"
22579 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22580 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22581 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22582 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22583 echo "*** is required on your system"
22585 echo "*** If you have an old version installed, it is best to remove it, although"
22586 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22588 echo "$as_me: failed program was:" >&5
22589 sed 's/^/| /' conftest.
$ac_ext >&5
22591 echo "*** The test program failed to compile or link. See the file config.log for the"
22592 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22594 rm -f conftest.err conftest.
$ac_objext \
22595 conftest
$ac_exeext conftest.
$ac_ext
22596 CFLAGS
="$ac_save_CFLAGS"
22597 LIBS
="$ac_save_LIBS"
22610 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22611 if test "${with_gtk_prefix+set}" = set; then
22612 withval
="$with_gtk_prefix"
22613 gtk_config_prefix
="$withval"
22615 gtk_config_prefix
=""
22618 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22619 if test "${with_gtk_exec_prefix+set}" = set; then
22620 withval
="$with_gtk_exec_prefix"
22621 gtk_config_exec_prefix
="$withval"
22623 gtk_config_exec_prefix
=""
22625 # Check whether --enable-gtktest or --disable-gtktest was given.
22626 if test "${enable_gtktest+set}" = set; then
22627 enableval
="$enable_gtktest"
22633 for module
in .
$GTK_MODULES
22637 gtk_config_args
="$gtk_config_args gthread"
22642 if test x
$gtk_config_exec_prefix != x
; then
22643 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22644 if test x
${GTK_CONFIG+set} != xset
; then
22645 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22648 if test x
$gtk_config_prefix != x
; then
22649 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22650 if test x
${GTK_CONFIG+set} != xset
; then
22651 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22655 # Extract the first word of "gtk-config", so it can be a program name with args.
22656 set dummy gtk
-config; ac_word
=$2
22657 echo "$as_me:$LINENO: checking for $ac_word" >&5
22658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22659 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22660 echo $ECHO_N "(cached) $ECHO_C" >&6
22662 case $GTK_CONFIG in
22664 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22668 for as_dir
in $PATH
22671 test -z "$as_dir" && as_dir
=.
22672 for ac_exec_ext
in '' $ac_executable_extensions; do
22673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22674 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22681 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22685 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22687 if test -n "$GTK_CONFIG"; then
22688 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22689 echo "${ECHO_T}$GTK_CONFIG" >&6
22691 echo "$as_me:$LINENO: result: no" >&5
22692 echo "${ECHO_T}no" >&6
22695 min_gtk_version
=1.2.7
22696 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22697 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22699 if test "$GTK_CONFIG" = "no" ; then
22702 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22703 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22704 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22705 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22706 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22707 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22708 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22709 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22710 if test "x$enable_gtktest" = "xyes" ; then
22711 ac_save_CFLAGS
="$CFLAGS"
22712 ac_save_LIBS
="$LIBS"
22713 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22714 LIBS
="$GTK_LIBS $LIBS"
22716 if test "$cross_compiling" = yes; then
22717 echo $ac_n "cross compiling; assumed OK... $ac_c"
22719 cat >conftest.
$ac_ext <<_ACEOF
22722 cat confdefs.h
>>conftest.
$ac_ext
22723 cat >>conftest.
$ac_ext <<_ACEOF
22724 /* end confdefs.h. */
22726 #include <gtk/gtk.h>
22728 #include <stdlib.h>
22733 int major, minor, micro;
22736 system ("touch conf.gtktest");
22738 /* HP/UX 9 (%@#!) writes to sscanf strings */
22739 tmp_version = g_strdup("$min_gtk_version");
22740 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22741 printf("%s, bad version string\n", "$min_gtk_version");
22745 if ((gtk_major_version != $gtk_config_major_version) ||
22746 (gtk_minor_version != $gtk_config_minor_version) ||
22747 (gtk_micro_version != $gtk_config_micro_version))
22749 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22750 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22751 gtk_major_version, gtk_minor_version, gtk_micro_version);
22752 printf ("*** was found! If gtk-config was correct, then it is best\n");
22753 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22754 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22755 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22756 printf("*** required on your system.\n");
22757 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22758 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22759 printf("*** before re-running configure\n");
22761 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22762 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22763 (gtk_minor_version != GTK_MINOR_VERSION) ||
22764 (gtk_micro_version != GTK_MICRO_VERSION))
22766 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22767 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22768 printf("*** library (version %d.%d.%d)\n",
22769 gtk_major_version, gtk_minor_version, gtk_micro_version);
22771 #endif /* defined (GTK_MAJOR_VERSION) ... */
22774 if ((gtk_major_version > major) ||
22775 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22776 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22782 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22783 gtk_major_version, gtk_minor_version, gtk_micro_version);
22784 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22785 major, minor, micro);
22786 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22788 printf("*** If you have already installed a sufficiently new version, this error\n");
22789 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22790 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22791 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22792 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22793 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22794 printf("*** so that the correct libraries are found at run-time))\n");
22801 rm -f conftest
$ac_exeext
22802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22803 (eval $ac_link) 2>&5
22805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22808 (eval $ac_try) 2>&5
22810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22811 (exit $ac_status); }; }; then
22814 echo "$as_me: program exited with status $ac_status" >&5
22815 echo "$as_me: failed program was:" >&5
22816 sed 's/^/| /' conftest.
$ac_ext >&5
22818 ( exit $ac_status )
22821 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22823 CFLAGS
="$ac_save_CFLAGS"
22824 LIBS
="$ac_save_LIBS"
22827 if test "x$no_gtk" = x
; then
22828 echo "$as_me:$LINENO: result: yes" >&5
22829 echo "${ECHO_T}yes" >&6
22830 wx_cv_lib_gtk
=1.2.7
22832 echo "$as_me:$LINENO: result: no" >&5
22833 echo "${ECHO_T}no" >&6
22834 if test "$GTK_CONFIG" = "no" ; then
22835 echo "*** The gtk-config script installed by GTK could not be found"
22836 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22837 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22838 echo "*** full path to gtk-config."
22840 if test -f conf.gtktest
; then
22843 echo "*** Could not run GTK test program, checking why..."
22844 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22845 LIBS
="$LIBS $GTK_LIBS"
22846 cat >conftest.
$ac_ext <<_ACEOF
22849 cat confdefs.h
>>conftest.
$ac_ext
22850 cat >>conftest.
$ac_ext <<_ACEOF
22851 /* end confdefs.h. */
22853 #include <gtk/gtk.h>
22859 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22864 rm -f conftest.
$ac_objext conftest
$ac_exeext
22865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22866 (eval $ac_link) 2>conftest.er1
22868 grep -v '^ *+' conftest.er1
>conftest.err
22870 cat conftest.err
>&5
22871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22872 (exit $ac_status); } &&
22873 { ac_try
='test -z "$ac_c_werror_flag"
22874 || test ! -s conftest.err'
22875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22876 (eval $ac_try) 2>&5
22878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22879 (exit $ac_status); }; } &&
22880 { ac_try
='test -s conftest$ac_exeext'
22881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22882 (eval $ac_try) 2>&5
22884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22885 (exit $ac_status); }; }; then
22886 echo "*** The test program compiled, but did not run. This usually means"
22887 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22888 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22889 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22890 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22891 echo "*** is required on your system"
22893 echo "*** If you have an old version installed, it is best to remove it, although"
22894 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22896 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22897 echo "*** came with the system with the command"
22899 echo "*** rpm --erase --nodeps gtk gtk-devel"
22901 echo "$as_me: failed program was:" >&5
22902 sed 's/^/| /' conftest.
$ac_ext >&5
22904 echo "*** The test program failed to compile or link. See the file config.log for the"
22905 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22906 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22907 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22909 rm -f conftest.err conftest.
$ac_objext \
22910 conftest
$ac_exeext conftest.
$ac_ext
22911 CFLAGS
="$ac_save_CFLAGS"
22912 LIBS
="$ac_save_LIBS"
22924 if test -z "$wx_cv_lib_gtk"; then
22926 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22927 if test "${with_gtk_prefix+set}" = set; then
22928 withval
="$with_gtk_prefix"
22929 gtk_config_prefix
="$withval"
22931 gtk_config_prefix
=""
22934 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22935 if test "${with_gtk_exec_prefix+set}" = set; then
22936 withval
="$with_gtk_exec_prefix"
22937 gtk_config_exec_prefix
="$withval"
22939 gtk_config_exec_prefix
=""
22941 # Check whether --enable-gtktest or --disable-gtktest was given.
22942 if test "${enable_gtktest+set}" = set; then
22943 enableval
="$enable_gtktest"
22949 for module
in .
$GTK_MODULES
22953 gtk_config_args
="$gtk_config_args gthread"
22958 if test x
$gtk_config_exec_prefix != x
; then
22959 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22960 if test x
${GTK_CONFIG+set} != xset
; then
22961 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22964 if test x
$gtk_config_prefix != x
; then
22965 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22966 if test x
${GTK_CONFIG+set} != xset
; then
22967 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22971 # Extract the first word of "gtk-config", so it can be a program name with args.
22972 set dummy gtk
-config; ac_word
=$2
22973 echo "$as_me:$LINENO: checking for $ac_word" >&5
22974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22975 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22976 echo $ECHO_N "(cached) $ECHO_C" >&6
22978 case $GTK_CONFIG in
22980 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22984 for as_dir
in $PATH
22987 test -z "$as_dir" && as_dir
=.
22988 for ac_exec_ext
in '' $ac_executable_extensions; do
22989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22990 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22997 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23001 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23003 if test -n "$GTK_CONFIG"; then
23004 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23005 echo "${ECHO_T}$GTK_CONFIG" >&6
23007 echo "$as_me:$LINENO: result: no" >&5
23008 echo "${ECHO_T}no" >&6
23011 min_gtk_version
=1.2.3
23012 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23013 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23015 if test "$GTK_CONFIG" = "no" ; then
23018 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23019 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23020 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23021 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23022 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23023 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23024 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23025 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23026 if test "x$enable_gtktest" = "xyes" ; then
23027 ac_save_CFLAGS
="$CFLAGS"
23028 ac_save_LIBS
="$LIBS"
23029 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23030 LIBS
="$GTK_LIBS $LIBS"
23032 if test "$cross_compiling" = yes; then
23033 echo $ac_n "cross compiling; assumed OK... $ac_c"
23035 cat >conftest.
$ac_ext <<_ACEOF
23038 cat confdefs.h
>>conftest.
$ac_ext
23039 cat >>conftest.
$ac_ext <<_ACEOF
23040 /* end confdefs.h. */
23042 #include <gtk/gtk.h>
23044 #include <stdlib.h>
23049 int major, minor, micro;
23052 system ("touch conf.gtktest");
23054 /* HP/UX 9 (%@#!) writes to sscanf strings */
23055 tmp_version = g_strdup("$min_gtk_version");
23056 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23057 printf("%s, bad version string\n", "$min_gtk_version");
23061 if ((gtk_major_version != $gtk_config_major_version) ||
23062 (gtk_minor_version != $gtk_config_minor_version) ||
23063 (gtk_micro_version != $gtk_config_micro_version))
23065 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23066 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23067 gtk_major_version, gtk_minor_version, gtk_micro_version);
23068 printf ("*** was found! If gtk-config was correct, then it is best\n");
23069 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23070 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23071 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23072 printf("*** required on your system.\n");
23073 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23074 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23075 printf("*** before re-running configure\n");
23077 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23078 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23079 (gtk_minor_version != GTK_MINOR_VERSION) ||
23080 (gtk_micro_version != GTK_MICRO_VERSION))
23082 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23083 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23084 printf("*** library (version %d.%d.%d)\n",
23085 gtk_major_version, gtk_minor_version, gtk_micro_version);
23087 #endif /* defined (GTK_MAJOR_VERSION) ... */
23090 if ((gtk_major_version > major) ||
23091 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23092 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23098 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23099 gtk_major_version, gtk_minor_version, gtk_micro_version);
23100 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23101 major, minor, micro);
23102 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23104 printf("*** If you have already installed a sufficiently new version, this error\n");
23105 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23106 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23107 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23108 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23109 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23110 printf("*** so that the correct libraries are found at run-time))\n");
23117 rm -f conftest
$ac_exeext
23118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23119 (eval $ac_link) 2>&5
23121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23122 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23124 (eval $ac_try) 2>&5
23126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23127 (exit $ac_status); }; }; then
23130 echo "$as_me: program exited with status $ac_status" >&5
23131 echo "$as_me: failed program was:" >&5
23132 sed 's/^/| /' conftest.
$ac_ext >&5
23134 ( exit $ac_status )
23137 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23139 CFLAGS
="$ac_save_CFLAGS"
23140 LIBS
="$ac_save_LIBS"
23143 if test "x$no_gtk" = x
; then
23144 echo "$as_me:$LINENO: result: yes" >&5
23145 echo "${ECHO_T}yes" >&6
23146 wx_cv_lib_gtk
=1.2.3
23148 echo "$as_me:$LINENO: result: no" >&5
23149 echo "${ECHO_T}no" >&6
23150 if test "$GTK_CONFIG" = "no" ; then
23151 echo "*** The gtk-config script installed by GTK could not be found"
23152 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23153 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23154 echo "*** full path to gtk-config."
23156 if test -f conf.gtktest
; then
23159 echo "*** Could not run GTK test program, checking why..."
23160 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23161 LIBS
="$LIBS $GTK_LIBS"
23162 cat >conftest.
$ac_ext <<_ACEOF
23165 cat confdefs.h
>>conftest.
$ac_ext
23166 cat >>conftest.
$ac_ext <<_ACEOF
23167 /* end confdefs.h. */
23169 #include <gtk/gtk.h>
23175 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23180 rm -f conftest.
$ac_objext conftest
$ac_exeext
23181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23182 (eval $ac_link) 2>conftest.er1
23184 grep -v '^ *+' conftest.er1
>conftest.err
23186 cat conftest.err
>&5
23187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23188 (exit $ac_status); } &&
23189 { ac_try
='test -z "$ac_c_werror_flag"
23190 || test ! -s conftest.err'
23191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23192 (eval $ac_try) 2>&5
23194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23195 (exit $ac_status); }; } &&
23196 { ac_try
='test -s conftest$ac_exeext'
23197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23198 (eval $ac_try) 2>&5
23200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23201 (exit $ac_status); }; }; then
23202 echo "*** The test program compiled, but did not run. This usually means"
23203 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23204 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23205 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23206 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23207 echo "*** is required on your system"
23209 echo "*** If you have an old version installed, it is best to remove it, although"
23210 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23212 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23213 echo "*** came with the system with the command"
23215 echo "*** rpm --erase --nodeps gtk gtk-devel"
23217 echo "$as_me: failed program was:" >&5
23218 sed 's/^/| /' conftest.
$ac_ext >&5
23220 echo "*** The test program failed to compile or link. See the file config.log for the"
23221 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23222 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23223 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23225 rm -f conftest.err conftest.
$ac_objext \
23226 conftest
$ac_exeext conftest.
$ac_ext
23227 CFLAGS
="$ac_save_CFLAGS"
23228 LIBS
="$ac_save_LIBS"
23242 if test -z "$wx_cv_lib_gtk"; then
23245 wx_cv_cflags_gtk
=$GTK_CFLAGS
23246 wx_cv_libs_gtk
=$GTK_LIBS
23253 if test "$gtk_version_cached" = 1; then
23254 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23255 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23258 case "$wx_cv_lib_gtk" in
23267 *) { { echo "$as_me:$LINENO: error:
23268 Please check that gtk-config is in path, the directory
23269 where GTK+ libraries are installed (returned by
23270 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23271 equivalent variable and GTK+ is version 1.2.3 or above.
23273 echo "$as_me: error:
23274 Please check that gtk-config is in path, the directory
23275 where GTK+ libraries are installed (returned by
23276 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23277 equivalent variable and GTK+ is version 1.2.3 or above.
23279 { (exit 1); exit 1; }; }
23283 if test "$WXGTK20" = 1; then
23284 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
23288 if test -z "$PKG_CONFIG"; then
23289 # Extract the first word of "pkg-config", so it can be a program name with args.
23290 set dummy pkg
-config; ac_word
=$2
23291 echo "$as_me:$LINENO: checking for $ac_word" >&5
23292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23293 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23294 echo $ECHO_N "(cached) $ECHO_C" >&6
23296 case $PKG_CONFIG in
23298 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23302 for as_dir
in $PATH
23305 test -z "$as_dir" && as_dir
=.
23306 for ac_exec_ext
in '' $ac_executable_extensions; do
23307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23308 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23315 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23319 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23321 if test -n "$PKG_CONFIG"; then
23322 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23323 echo "${ECHO_T}$PKG_CONFIG" >&6
23325 echo "$as_me:$LINENO: result: no" >&5
23326 echo "${ECHO_T}no" >&6
23331 if test "$PKG_CONFIG" = "no" ; then
23332 echo "*** The pkg-config script could not be found. Make sure it is"
23333 echo "*** in your path, or set the PKG_CONFIG environment variable"
23334 echo "*** to the full path to pkg-config."
23335 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23337 PKG_CONFIG_MIN_VERSION
=0.9.0
23338 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23339 echo "$as_me:$LINENO: checking for pangoft2" >&5
23340 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23342 if $PKG_CONFIG --exists "pangoft2" ; then
23343 echo "$as_me:$LINENO: result: yes" >&5
23344 echo "${ECHO_T}yes" >&6
23347 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23348 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23349 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
23350 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23351 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23353 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23354 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23355 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
23356 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23357 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23361 ## If we have a custom action on failure, don't print errors, but
23362 ## do set a variable so people can do so.
23363 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23370 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23371 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23375 if test $succeeded = yes; then
23377 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
23378 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23382 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23383 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23384 wxUSE_PRINTING_ARCHITECTURE
="no"
23391 save_CFLAGS
="$CFLAGS"
23393 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23394 LIBS
="$LIBS $GTK_LIBS"
23396 for ac_func
in pango_font_family_is_monospace
23398 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23399 echo "$as_me:$LINENO: checking for $ac_func" >&5
23400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23401 if eval "test \"\${$as_ac_var+set}\" = set"; then
23402 echo $ECHO_N "(cached) $ECHO_C" >&6
23404 cat >conftest.
$ac_ext <<_ACEOF
23407 cat confdefs.h
>>conftest.
$ac_ext
23408 cat >>conftest.
$ac_ext <<_ACEOF
23409 /* end confdefs.h. */
23410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23412 #define $ac_func innocuous_$ac_func
23414 /* System header to define __stub macros and hopefully few prototypes,
23415 which can conflict with char $ac_func (); below.
23416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23417 <limits.h> exists even on freestanding compilers. */
23420 # include <limits.h>
23422 # include <assert.h>
23427 /* Override any gcc2 internal prototype to avoid an error. */
23432 /* We use char because int might match the return type of a gcc2
23433 builtin and then its argument prototype would still apply. */
23435 /* The GNU C library defines this for functions which it implements
23436 to always fail with ENOSYS. Some functions are actually named
23437 something starting with __ and the normal name is an alias. */
23438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23441 char (*f) () = $ac_func;
23450 return f != $ac_func;
23455 rm -f conftest.
$ac_objext conftest
$ac_exeext
23456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23457 (eval $ac_link) 2>conftest.er1
23459 grep -v '^ *+' conftest.er1
>conftest.err
23461 cat conftest.err
>&5
23462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23463 (exit $ac_status); } &&
23464 { ac_try
='test -z "$ac_c_werror_flag"
23465 || test ! -s conftest.err'
23466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23467 (eval $ac_try) 2>&5
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); }; } &&
23471 { ac_try
='test -s conftest$ac_exeext'
23472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23473 (eval $ac_try) 2>&5
23475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476 (exit $ac_status); }; }; then
23477 eval "$as_ac_var=yes"
23479 echo "$as_me: failed program was:" >&5
23480 sed 's/^/| /' conftest.
$ac_ext >&5
23482 eval "$as_ac_var=no"
23484 rm -f conftest.err conftest.
$ac_objext \
23485 conftest
$ac_exeext conftest.
$ac_ext
23487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23489 if test `eval echo '${'$as_ac_var'}'` = yes; then
23490 cat >>confdefs.h
<<_ACEOF
23491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23497 CFLAGS
="$save_CFLAGS"
23500 if test "$wxUSE_UNICODE" = "yes"; then
23501 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23502 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23507 if test "$USE_DARWIN" != 1; then
23509 for ac_func
in poll
23511 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23512 echo "$as_me:$LINENO: checking for $ac_func" >&5
23513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23514 if eval "test \"\${$as_ac_var+set}\" = set"; then
23515 echo $ECHO_N "(cached) $ECHO_C" >&6
23517 cat >conftest.
$ac_ext <<_ACEOF
23520 cat confdefs.h
>>conftest.
$ac_ext
23521 cat >>conftest.
$ac_ext <<_ACEOF
23522 /* end confdefs.h. */
23523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23525 #define $ac_func innocuous_$ac_func
23527 /* System header to define __stub macros and hopefully few prototypes,
23528 which can conflict with char $ac_func (); below.
23529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23530 <limits.h> exists even on freestanding compilers. */
23533 # include <limits.h>
23535 # include <assert.h>
23540 /* Override any gcc2 internal prototype to avoid an error. */
23545 /* We use char because int might match the return type of a gcc2
23546 builtin and then its argument prototype would still apply. */
23548 /* The GNU C library defines this for functions which it implements
23549 to always fail with ENOSYS. Some functions are actually named
23550 something starting with __ and the normal name is an alias. */
23551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23554 char (*f) () = $ac_func;
23563 return f != $ac_func;
23568 rm -f conftest.
$ac_objext conftest
$ac_exeext
23569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23570 (eval $ac_link) 2>conftest.er1
23572 grep -v '^ *+' conftest.er1
>conftest.err
23574 cat conftest.err
>&5
23575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23576 (exit $ac_status); } &&
23577 { ac_try
='test -z "$ac_c_werror_flag"
23578 || test ! -s conftest.err'
23579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23580 (eval $ac_try) 2>&5
23582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23583 (exit $ac_status); }; } &&
23584 { ac_try
='test -s conftest$ac_exeext'
23585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23586 (eval $ac_try) 2>&5
23588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23589 (exit $ac_status); }; }; then
23590 eval "$as_ac_var=yes"
23592 echo "$as_me: failed program was:" >&5
23593 sed 's/^/| /' conftest.
$ac_ext >&5
23595 eval "$as_ac_var=no"
23597 rm -f conftest.err conftest.
$ac_objext \
23598 conftest
$ac_exeext conftest.
$ac_ext
23600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23602 if test `eval echo '${'$as_ac_var'}'` = yes; then
23603 cat >>confdefs.h
<<_ACEOF
23604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23612 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
23613 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23615 AFMINSTALL
=afminstall
23619 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23620 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23621 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23622 echo $ECHO_N "(cached) $ECHO_C" >&6
23624 ac_check_lib_save_LIBS
=$LIBS
23626 cat >conftest.
$ac_ext <<_ACEOF
23629 cat confdefs.h
>>conftest.
$ac_ext
23630 cat >>conftest.
$ac_ext <<_ACEOF
23631 /* end confdefs.h. */
23633 /* Override any gcc2 internal prototype to avoid an error. */
23637 /* We use char because int might match the return type of a gcc2
23638 builtin and then its argument prototype would still apply. */
23639 char gdk_im_open ();
23648 rm -f conftest.
$ac_objext conftest
$ac_exeext
23649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23650 (eval $ac_link) 2>conftest.er1
23652 grep -v '^ *+' conftest.er1
>conftest.err
23654 cat conftest.err
>&5
23655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23656 (exit $ac_status); } &&
23657 { ac_try
='test -z "$ac_c_werror_flag"
23658 || test ! -s conftest.err'
23659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23660 (eval $ac_try) 2>&5
23662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23663 (exit $ac_status); }; } &&
23664 { ac_try
='test -s conftest$ac_exeext'
23665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23666 (eval $ac_try) 2>&5
23668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23669 (exit $ac_status); }; }; then
23670 ac_cv_lib_gdk_gdk_im_open
=yes
23672 echo "$as_me: failed program was:" >&5
23673 sed 's/^/| /' conftest.
$ac_ext >&5
23675 ac_cv_lib_gdk_gdk_im_open
=no
23677 rm -f conftest.err conftest.
$ac_objext \
23678 conftest
$ac_exeext conftest.
$ac_ext
23679 LIBS
=$ac_check_lib_save_LIBS
23681 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23682 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23683 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23684 cat >>confdefs.h
<<\_ACEOF
23692 if test "$wxUSE_GPE" = "yes"; then
23693 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23694 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23697 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23699 for ac_extension
in a so sl dylib
; do
23700 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23701 ac_find_libraries
=$ac_dir
23707 if test "$ac_find_libraries" != "" ; then
23709 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23711 if test $result = 0; then
23714 ac_path_to_link
=" -L$ac_find_libraries"
23717 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23719 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23720 echo "${ECHO_T}found at $ac_find_libraries" >&6
23722 echo "$as_me:$LINENO: result: not found" >&5
23723 echo "${ECHO_T}not found" >&6
23729 if test "$wxUSE_MGL" = 1; then
23730 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23731 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23732 if test "x$MGL_ROOT" = x
; then
23733 echo "$as_me:$LINENO: result: not found" >&5
23734 echo "${ECHO_T}not found" >&6
23735 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23736 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23737 { (exit 1); exit 1; }; }
23739 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23740 echo "${ECHO_T}$MGL_ROOT" >&6
23743 echo "$as_me:$LINENO: checking for libmgl location" >&5
23744 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23747 if test "x$wxUSE_SHARED" = xyes
; then
23748 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23750 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23754 mgl_os_candidates
="dos32/dj2"
23757 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23758 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23759 { (exit 1); exit 1; }; }
23765 for mgl_os_i
in $mgl_os_candidates ; do
23766 if test "x$mgl_os" = x
; then
23767 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23768 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
23769 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
23774 if test "x$mgl_lib_type" = x
; then
23775 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
23776 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
23777 mgl_lib_type
=release
23784 if test "x$mgl_os" = x
; then
23785 echo "$as_me:$LINENO: result: not found" >&5
23786 echo "${ECHO_T}not found" >&6
23787 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23788 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23789 { (exit 1); exit 1; }; }
23791 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23792 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23794 wxUSE_UNIVERSAL
="yes"
23796 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
23797 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23799 AFMINSTALL
=afminstall
23804 if test "$wxUSE_MICROWIN" = 1; then
23805 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23806 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23807 if test "x$MICROWINDOWS" = x
; then
23808 echo "$as_me:$LINENO: result: not found" >&5
23809 echo "${ECHO_T}not found" >&6
23810 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23811 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23812 { (exit 1); exit 1; }; }
23814 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23815 echo "${ECHO_T}$MICROWINDOWS" >&6
23818 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
23819 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23820 echo "${ECHO_T}MicroWindows' libraries found." >&6
23822 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23823 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23824 { (exit 1); exit 1; }; }
23827 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
23828 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23830 wxUSE_UNIVERSAL
="yes"
23832 AFMINSTALL
=afminstall
23834 GUIDIST
=MICROWIN_DIST
23836 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23839 if test "$wxUSE_X11" = 1; then
23840 echo "$as_me:$LINENO: checking for X" >&5
23841 echo $ECHO_N "checking for X... $ECHO_C" >&6
23844 # Check whether --with-x or --without-x was given.
23845 if test "${with_x+set}" = set; then
23849 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23850 if test "x$with_x" = xno
; then
23851 # The user explicitly disabled X.
23854 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
23855 # Both variables are already set.
23858 if test "${ac_cv_have_x+set}" = set; then
23859 echo $ECHO_N "(cached) $ECHO_C" >&6
23861 # One or both of the vars are not set, and there is no cached value.
23862 ac_x_includes
=no ac_x_libraries
=no
23863 rm -fr conftest.dir
23864 if mkdir conftest.dir
; then
23866 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23867 cat >Imakefile
<<'_ACEOF'
23869 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23871 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
23872 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23873 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23874 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23875 for ac_extension
in a so sl
; do
23876 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
23877 test -f $ac_im_libdir/libX11.
$ac_extension; then
23878 ac_im_usrlibdir
=$ac_im_libdir; break
23881 # Screen out bogus values from the imake configuration. They are
23882 # bogus both because they are the default anyway, and because
23883 # using them would break gcc on systems where it needs fixed includes.
23884 case $ac_im_incroot in
23886 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
23888 case $ac_im_usrlibdir in
23889 /usr
/lib
| /lib
) ;;
23890 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
23894 rm -fr conftest.dir
23897 # Standard set of common directories for X headers.
23898 # Check X11 before X11Rn because it is often a symlink to the current release.
23910 /usr/local/X11/include
23911 /usr/local/X11R6/include
23912 /usr/local/X11R5/include
23913 /usr/local/X11R4/include
23915 /usr/local/include/X11
23916 /usr/local/include/X11R6
23917 /usr/local/include/X11R5
23918 /usr/local/include/X11R4
23922 /usr/XFree86/include/X11
23926 /usr/unsupported/include
23927 /usr/athena/include
23928 /usr/local/x11r5/include
23929 /usr/lpp/Xamples/include
23931 /usr/openwin/include
23932 /usr/openwin/share/include'
23934 if test "$ac_x_includes" = no
; then
23935 # Guess where to find include files, by looking for Intrinsic.h.
23936 # First, try using that file with no special directory specified.
23937 cat >conftest.
$ac_ext <<_ACEOF
23940 cat confdefs.h
>>conftest.
$ac_ext
23941 cat >>conftest.
$ac_ext <<_ACEOF
23942 /* end confdefs.h. */
23943 #include <X11/Intrinsic.h>
23945 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23946 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23948 grep -v '^ *+' conftest.er1
>conftest.err
23950 cat conftest.err
>&5
23951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23952 (exit $ac_status); } >/dev
/null
; then
23953 if test -s conftest.err
; then
23954 ac_cpp_err
=$ac_c_preproc_warn_flag
23955 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23962 if test -z "$ac_cpp_err"; then
23963 # We can compile using X headers with no special include directory.
23966 echo "$as_me: failed program was:" >&5
23967 sed 's/^/| /' conftest.
$ac_ext >&5
23969 for ac_dir
in $ac_x_header_dirs; do
23970 if test -r "$ac_dir/X11/Intrinsic.h"; then
23971 ac_x_includes
=$ac_dir
23976 rm -f conftest.err conftest.
$ac_ext
23977 fi # $ac_x_includes = no
23979 if test "$ac_x_libraries" = no
; then
23980 # Check for the libraries.
23981 # See if we find them without any special options.
23982 # Don't add to $LIBS permanently.
23985 cat >conftest.
$ac_ext <<_ACEOF
23988 cat confdefs.h
>>conftest.
$ac_ext
23989 cat >>conftest.
$ac_ext <<_ACEOF
23990 /* end confdefs.h. */
23991 #include <X11/Intrinsic.h>
24000 rm -f conftest.
$ac_objext conftest
$ac_exeext
24001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24002 (eval $ac_link) 2>conftest.er1
24004 grep -v '^ *+' conftest.er1
>conftest.err
24006 cat conftest.err
>&5
24007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24008 (exit $ac_status); } &&
24009 { ac_try
='test -z "$ac_c_werror_flag"
24010 || test ! -s conftest.err'
24011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24012 (eval $ac_try) 2>&5
24014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24015 (exit $ac_status); }; } &&
24016 { ac_try
='test -s conftest$ac_exeext'
24017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24018 (eval $ac_try) 2>&5
24020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24021 (exit $ac_status); }; }; then
24023 # We can link X programs with no special library path.
24026 echo "$as_me: failed program was:" >&5
24027 sed 's/^/| /' conftest.
$ac_ext >&5
24030 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24032 # Don't even attempt the hair of trying to link an X program!
24033 for ac_extension
in a so sl
; do
24034 if test -r $ac_dir/libXt.
$ac_extension; then
24035 ac_x_libraries
=$ac_dir
24041 rm -f conftest.err conftest.
$ac_objext \
24042 conftest
$ac_exeext conftest.
$ac_ext
24043 fi # $ac_x_libraries = no
24045 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
24046 # Didn't find X anywhere. Cache the known absence of X.
24047 ac_cv_have_x
="have_x=no"
24049 # Record where we found X for the cache.
24050 ac_cv_have_x
="have_x=yes \
24051 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24056 eval "$ac_cv_have_x"
24059 if test "$have_x" != yes; then
24060 echo "$as_me:$LINENO: result: $have_x" >&5
24061 echo "${ECHO_T}$have_x" >&6
24064 # If each of the values was on the command line, it overrides each guess.
24065 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24066 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24067 # Update the cache value to reflect the command line values.
24068 ac_cv_have_x
="have_x=yes \
24069 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24070 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24071 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
24074 if test "$no_x" = yes; then
24075 # Not all programs may use this symbol, but it does not hurt to define it.
24077 cat >>confdefs.h
<<\_ACEOF
24078 #define X_DISPLAY_MISSING 1
24081 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24083 if test -n "$x_includes"; then
24084 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24087 # It would also be nice to do this for all -L options, not just this one.
24088 if test -n "$x_libraries"; then
24089 X_LIBS
="$X_LIBS -L$x_libraries"
24090 # For Solaris; some versions of Sun CC require a space after -R and
24091 # others require no space. Words are not sufficient . . . .
24092 case `(uname -sr) 2>/dev/null` in
24094 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24095 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24096 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24097 cat >conftest.
$ac_ext <<_ACEOF
24100 cat confdefs.h
>>conftest.
$ac_ext
24101 cat >>conftest.
$ac_ext <<_ACEOF
24102 /* end confdefs.h. */
24112 rm -f conftest.
$ac_objext conftest
$ac_exeext
24113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24114 (eval $ac_link) 2>conftest.er1
24116 grep -v '^ *+' conftest.er1
>conftest.err
24118 cat conftest.err
>&5
24119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24120 (exit $ac_status); } &&
24121 { ac_try
='test -z "$ac_c_werror_flag"
24122 || test ! -s conftest.err'
24123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24124 (eval $ac_try) 2>&5
24126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24127 (exit $ac_status); }; } &&
24128 { ac_try
='test -s conftest$ac_exeext'
24129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24130 (eval $ac_try) 2>&5
24132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24133 (exit $ac_status); }; }; then
24136 echo "$as_me: failed program was:" >&5
24137 sed 's/^/| /' conftest.
$ac_ext >&5
24141 rm -f conftest.err conftest.
$ac_objext \
24142 conftest
$ac_exeext conftest.
$ac_ext
24143 if test $ac_R_nospace = yes; then
24144 echo "$as_me:$LINENO: result: no" >&5
24145 echo "${ECHO_T}no" >&6
24146 X_LIBS
="$X_LIBS -R$x_libraries"
24148 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24149 cat >conftest.
$ac_ext <<_ACEOF
24152 cat confdefs.h
>>conftest.
$ac_ext
24153 cat >>conftest.
$ac_ext <<_ACEOF
24154 /* end confdefs.h. */
24164 rm -f conftest.
$ac_objext conftest
$ac_exeext
24165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24166 (eval $ac_link) 2>conftest.er1
24168 grep -v '^ *+' conftest.er1
>conftest.err
24170 cat conftest.err
>&5
24171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24172 (exit $ac_status); } &&
24173 { ac_try
='test -z "$ac_c_werror_flag"
24174 || test ! -s conftest.err'
24175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24176 (eval $ac_try) 2>&5
24178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24179 (exit $ac_status); }; } &&
24180 { ac_try
='test -s conftest$ac_exeext'
24181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24182 (eval $ac_try) 2>&5
24184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24185 (exit $ac_status); }; }; then
24188 echo "$as_me: failed program was:" >&5
24189 sed 's/^/| /' conftest.
$ac_ext >&5
24193 rm -f conftest.err conftest.
$ac_objext \
24194 conftest
$ac_exeext conftest.
$ac_ext
24195 if test $ac_R_space = yes; then
24196 echo "$as_me:$LINENO: result: yes" >&5
24197 echo "${ECHO_T}yes" >&6
24198 X_LIBS
="$X_LIBS -R $x_libraries"
24200 echo "$as_me:$LINENO: result: neither works" >&5
24201 echo "${ECHO_T}neither works" >&6
24204 LIBS
=$ac_xsave_LIBS
24208 # Check for system-dependent libraries X programs must link with.
24209 # Do this before checking for the system-independent R6 libraries
24210 # (-lICE), since we may need -lsocket or whatever for X linking.
24212 if test "$ISC" = yes; then
24213 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24215 # Martyn Johnson says this is needed for Ultrix, if the X
24216 # libraries were built with DECnet support. And Karl Berry says
24217 # the Alpha needs dnet_stub (dnet does not exist).
24218 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24219 cat >conftest.
$ac_ext <<_ACEOF
24222 cat confdefs.h
>>conftest.
$ac_ext
24223 cat >>conftest.
$ac_ext <<_ACEOF
24224 /* end confdefs.h. */
24226 /* Override any gcc2 internal prototype to avoid an error. */
24230 /* We use char because int might match the return type of a gcc2
24231 builtin and then its argument prototype would still apply. */
24232 char XOpenDisplay ();
24241 rm -f conftest.
$ac_objext conftest
$ac_exeext
24242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24243 (eval $ac_link) 2>conftest.er1
24245 grep -v '^ *+' conftest.er1
>conftest.err
24247 cat conftest.err
>&5
24248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24249 (exit $ac_status); } &&
24250 { ac_try
='test -z "$ac_c_werror_flag"
24251 || test ! -s conftest.err'
24252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24253 (eval $ac_try) 2>&5
24255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24256 (exit $ac_status); }; } &&
24257 { ac_try
='test -s conftest$ac_exeext'
24258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24259 (eval $ac_try) 2>&5
24261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24262 (exit $ac_status); }; }; then
24265 echo "$as_me: failed program was:" >&5
24266 sed 's/^/| /' conftest.
$ac_ext >&5
24268 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24269 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24270 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24271 echo $ECHO_N "(cached) $ECHO_C" >&6
24273 ac_check_lib_save_LIBS
=$LIBS
24274 LIBS
="-ldnet $LIBS"
24275 cat >conftest.
$ac_ext <<_ACEOF
24278 cat confdefs.h
>>conftest.
$ac_ext
24279 cat >>conftest.
$ac_ext <<_ACEOF
24280 /* end confdefs.h. */
24282 /* Override any gcc2 internal prototype to avoid an error. */
24286 /* We use char because int might match the return type of a gcc2
24287 builtin and then its argument prototype would still apply. */
24297 rm -f conftest.
$ac_objext conftest
$ac_exeext
24298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24299 (eval $ac_link) 2>conftest.er1
24301 grep -v '^ *+' conftest.er1
>conftest.err
24303 cat conftest.err
>&5
24304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24305 (exit $ac_status); } &&
24306 { ac_try
='test -z "$ac_c_werror_flag"
24307 || test ! -s conftest.err'
24308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24309 (eval $ac_try) 2>&5
24311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24312 (exit $ac_status); }; } &&
24313 { ac_try
='test -s conftest$ac_exeext'
24314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24315 (eval $ac_try) 2>&5
24317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24318 (exit $ac_status); }; }; then
24319 ac_cv_lib_dnet_dnet_ntoa
=yes
24321 echo "$as_me: failed program was:" >&5
24322 sed 's/^/| /' conftest.
$ac_ext >&5
24324 ac_cv_lib_dnet_dnet_ntoa
=no
24326 rm -f conftest.err conftest.
$ac_objext \
24327 conftest
$ac_exeext conftest.
$ac_ext
24328 LIBS
=$ac_check_lib_save_LIBS
24330 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24331 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24332 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24333 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24336 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24337 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24338 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24339 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24340 echo $ECHO_N "(cached) $ECHO_C" >&6
24342 ac_check_lib_save_LIBS
=$LIBS
24343 LIBS
="-ldnet_stub $LIBS"
24344 cat >conftest.
$ac_ext <<_ACEOF
24347 cat confdefs.h
>>conftest.
$ac_ext
24348 cat >>conftest.
$ac_ext <<_ACEOF
24349 /* end confdefs.h. */
24351 /* Override any gcc2 internal prototype to avoid an error. */
24355 /* We use char because int might match the return type of a gcc2
24356 builtin and then its argument prototype would still apply. */
24366 rm -f conftest.
$ac_objext conftest
$ac_exeext
24367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24368 (eval $ac_link) 2>conftest.er1
24370 grep -v '^ *+' conftest.er1
>conftest.err
24372 cat conftest.err
>&5
24373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24374 (exit $ac_status); } &&
24375 { ac_try
='test -z "$ac_c_werror_flag"
24376 || test ! -s conftest.err'
24377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24378 (eval $ac_try) 2>&5
24380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24381 (exit $ac_status); }; } &&
24382 { ac_try
='test -s conftest$ac_exeext'
24383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24384 (eval $ac_try) 2>&5
24386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24387 (exit $ac_status); }; }; then
24388 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24390 echo "$as_me: failed program was:" >&5
24391 sed 's/^/| /' conftest.
$ac_ext >&5
24393 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24395 rm -f conftest.err conftest.
$ac_objext \
24396 conftest
$ac_exeext conftest.
$ac_ext
24397 LIBS
=$ac_check_lib_save_LIBS
24399 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24400 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24401 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24402 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24407 rm -f conftest.err conftest.
$ac_objext \
24408 conftest
$ac_exeext conftest.
$ac_ext
24409 LIBS
="$ac_xsave_LIBS"
24411 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24412 # to get the SysV transport functions.
24413 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24415 # The nsl library prevents programs from opening the X display
24416 # on Irix 5.2, according to T.E. Dickey.
24417 # The functions gethostbyname, getservbyname, and inet_addr are
24418 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24419 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24420 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24421 if test "${ac_cv_func_gethostbyname+set}" = set; then
24422 echo $ECHO_N "(cached) $ECHO_C" >&6
24424 cat >conftest.
$ac_ext <<_ACEOF
24427 cat confdefs.h
>>conftest.
$ac_ext
24428 cat >>conftest.
$ac_ext <<_ACEOF
24429 /* end confdefs.h. */
24430 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24432 #define gethostbyname innocuous_gethostbyname
24434 /* System header to define __stub macros and hopefully few prototypes,
24435 which can conflict with char gethostbyname (); below.
24436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24437 <limits.h> exists even on freestanding compilers. */
24440 # include <limits.h>
24442 # include <assert.h>
24445 #undef gethostbyname
24447 /* Override any gcc2 internal prototype to avoid an error. */
24452 /* We use char because int might match the return type of a gcc2
24453 builtin and then its argument prototype would still apply. */
24454 char gethostbyname ();
24455 /* The GNU C library defines this for functions which it implements
24456 to always fail with ENOSYS. Some functions are actually named
24457 something starting with __ and the normal name is an alias. */
24458 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24461 char (*f) () = gethostbyname;
24470 return f != gethostbyname;
24475 rm -f conftest.
$ac_objext conftest
$ac_exeext
24476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24477 (eval $ac_link) 2>conftest.er1
24479 grep -v '^ *+' conftest.er1
>conftest.err
24481 cat conftest.err
>&5
24482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24483 (exit $ac_status); } &&
24484 { ac_try
='test -z "$ac_c_werror_flag"
24485 || test ! -s conftest.err'
24486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24487 (eval $ac_try) 2>&5
24489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24490 (exit $ac_status); }; } &&
24491 { ac_try
='test -s conftest$ac_exeext'
24492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24493 (eval $ac_try) 2>&5
24495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24496 (exit $ac_status); }; }; then
24497 ac_cv_func_gethostbyname
=yes
24499 echo "$as_me: failed program was:" >&5
24500 sed 's/^/| /' conftest.
$ac_ext >&5
24502 ac_cv_func_gethostbyname
=no
24504 rm -f conftest.err conftest.
$ac_objext \
24505 conftest
$ac_exeext conftest.
$ac_ext
24507 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24508 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24510 if test $ac_cv_func_gethostbyname = no
; then
24511 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24512 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24513 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24514 echo $ECHO_N "(cached) $ECHO_C" >&6
24516 ac_check_lib_save_LIBS
=$LIBS
24518 cat >conftest.
$ac_ext <<_ACEOF
24521 cat confdefs.h
>>conftest.
$ac_ext
24522 cat >>conftest.
$ac_ext <<_ACEOF
24523 /* end confdefs.h. */
24525 /* Override any gcc2 internal prototype to avoid an error. */
24529 /* We use char because int might match the return type of a gcc2
24530 builtin and then its argument prototype would still apply. */
24531 char gethostbyname ();
24540 rm -f conftest.
$ac_objext conftest
$ac_exeext
24541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24542 (eval $ac_link) 2>conftest.er1
24544 grep -v '^ *+' conftest.er1
>conftest.err
24546 cat conftest.err
>&5
24547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24548 (exit $ac_status); } &&
24549 { ac_try
='test -z "$ac_c_werror_flag"
24550 || test ! -s conftest.err'
24551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24552 (eval $ac_try) 2>&5
24554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24555 (exit $ac_status); }; } &&
24556 { ac_try
='test -s conftest$ac_exeext'
24557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24558 (eval $ac_try) 2>&5
24560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24561 (exit $ac_status); }; }; then
24562 ac_cv_lib_nsl_gethostbyname
=yes
24564 echo "$as_me: failed program was:" >&5
24565 sed 's/^/| /' conftest.
$ac_ext >&5
24567 ac_cv_lib_nsl_gethostbyname
=no
24569 rm -f conftest.err conftest.
$ac_objext \
24570 conftest
$ac_exeext conftest.
$ac_ext
24571 LIBS
=$ac_check_lib_save_LIBS
24573 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24574 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24575 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24576 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
24579 if test $ac_cv_lib_nsl_gethostbyname = no
; then
24580 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24581 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24582 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24583 echo $ECHO_N "(cached) $ECHO_C" >&6
24585 ac_check_lib_save_LIBS
=$LIBS
24587 cat >conftest.
$ac_ext <<_ACEOF
24590 cat confdefs.h
>>conftest.
$ac_ext
24591 cat >>conftest.
$ac_ext <<_ACEOF
24592 /* end confdefs.h. */
24594 /* Override any gcc2 internal prototype to avoid an error. */
24598 /* We use char because int might match the return type of a gcc2
24599 builtin and then its argument prototype would still apply. */
24600 char gethostbyname ();
24609 rm -f conftest.
$ac_objext conftest
$ac_exeext
24610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24611 (eval $ac_link) 2>conftest.er1
24613 grep -v '^ *+' conftest.er1
>conftest.err
24615 cat conftest.err
>&5
24616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24617 (exit $ac_status); } &&
24618 { ac_try
='test -z "$ac_c_werror_flag"
24619 || test ! -s conftest.err'
24620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24621 (eval $ac_try) 2>&5
24623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624 (exit $ac_status); }; } &&
24625 { ac_try
='test -s conftest$ac_exeext'
24626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24627 (eval $ac_try) 2>&5
24629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24630 (exit $ac_status); }; }; then
24631 ac_cv_lib_bsd_gethostbyname
=yes
24633 echo "$as_me: failed program was:" >&5
24634 sed 's/^/| /' conftest.
$ac_ext >&5
24636 ac_cv_lib_bsd_gethostbyname
=no
24638 rm -f conftest.err conftest.
$ac_objext \
24639 conftest
$ac_exeext conftest.
$ac_ext
24640 LIBS
=$ac_check_lib_save_LIBS
24642 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24643 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24644 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24645 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24651 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24652 # socket/setsockopt and other routines are undefined under SCO ODT
24653 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24654 # on later versions), says Simon Leinen: it contains gethostby*
24655 # variants that don't use the name server (or something). -lsocket
24656 # must be given before -lnsl if both are needed. We assume that
24657 # if connect needs -lnsl, so does gethostbyname.
24658 echo "$as_me:$LINENO: checking for connect" >&5
24659 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24660 if test "${ac_cv_func_connect+set}" = set; then
24661 echo $ECHO_N "(cached) $ECHO_C" >&6
24663 cat >conftest.
$ac_ext <<_ACEOF
24666 cat confdefs.h
>>conftest.
$ac_ext
24667 cat >>conftest.
$ac_ext <<_ACEOF
24668 /* end confdefs.h. */
24669 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24671 #define connect innocuous_connect
24673 /* System header to define __stub macros and hopefully few prototypes,
24674 which can conflict with char connect (); below.
24675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24676 <limits.h> exists even on freestanding compilers. */
24679 # include <limits.h>
24681 # include <assert.h>
24686 /* Override any gcc2 internal prototype to avoid an error. */
24691 /* We use char because int might match the return type of a gcc2
24692 builtin and then its argument prototype would still apply. */
24694 /* The GNU C library defines this for functions which it implements
24695 to always fail with ENOSYS. Some functions are actually named
24696 something starting with __ and the normal name is an alias. */
24697 #if defined (__stub_connect) || defined (__stub___connect)
24700 char (*f) () = connect;
24709 return f != connect;
24714 rm -f conftest.
$ac_objext conftest
$ac_exeext
24715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24716 (eval $ac_link) 2>conftest.er1
24718 grep -v '^ *+' conftest.er1
>conftest.err
24720 cat conftest.err
>&5
24721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24722 (exit $ac_status); } &&
24723 { ac_try
='test -z "$ac_c_werror_flag"
24724 || test ! -s conftest.err'
24725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24726 (eval $ac_try) 2>&5
24728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24729 (exit $ac_status); }; } &&
24730 { ac_try
='test -s conftest$ac_exeext'
24731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24732 (eval $ac_try) 2>&5
24734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24735 (exit $ac_status); }; }; then
24736 ac_cv_func_connect
=yes
24738 echo "$as_me: failed program was:" >&5
24739 sed 's/^/| /' conftest.
$ac_ext >&5
24741 ac_cv_func_connect
=no
24743 rm -f conftest.err conftest.
$ac_objext \
24744 conftest
$ac_exeext conftest.
$ac_ext
24746 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24747 echo "${ECHO_T}$ac_cv_func_connect" >&6
24749 if test $ac_cv_func_connect = no
; then
24750 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24751 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24752 if test "${ac_cv_lib_socket_connect+set}" = set; then
24753 echo $ECHO_N "(cached) $ECHO_C" >&6
24755 ac_check_lib_save_LIBS
=$LIBS
24756 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24757 cat >conftest.
$ac_ext <<_ACEOF
24760 cat confdefs.h
>>conftest.
$ac_ext
24761 cat >>conftest.
$ac_ext <<_ACEOF
24762 /* end confdefs.h. */
24764 /* Override any gcc2 internal prototype to avoid an error. */
24768 /* We use char because int might match the return type of a gcc2
24769 builtin and then its argument prototype would still apply. */
24779 rm -f conftest.
$ac_objext conftest
$ac_exeext
24780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24781 (eval $ac_link) 2>conftest.er1
24783 grep -v '^ *+' conftest.er1
>conftest.err
24785 cat conftest.err
>&5
24786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24787 (exit $ac_status); } &&
24788 { ac_try
='test -z "$ac_c_werror_flag"
24789 || test ! -s conftest.err'
24790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24791 (eval $ac_try) 2>&5
24793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24794 (exit $ac_status); }; } &&
24795 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
24801 ac_cv_lib_socket_connect
=yes
24803 echo "$as_me: failed program was:" >&5
24804 sed 's/^/| /' conftest.
$ac_ext >&5
24806 ac_cv_lib_socket_connect
=no
24808 rm -f conftest.err conftest.
$ac_objext \
24809 conftest
$ac_exeext conftest.
$ac_ext
24810 LIBS
=$ac_check_lib_save_LIBS
24812 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24813 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24814 if test $ac_cv_lib_socket_connect = yes; then
24815 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24820 # Guillermo Gomez says -lposix is necessary on A/UX.
24821 echo "$as_me:$LINENO: checking for remove" >&5
24822 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24823 if test "${ac_cv_func_remove+set}" = set; then
24824 echo $ECHO_N "(cached) $ECHO_C" >&6
24826 cat >conftest.
$ac_ext <<_ACEOF
24829 cat confdefs.h
>>conftest.
$ac_ext
24830 cat >>conftest.
$ac_ext <<_ACEOF
24831 /* end confdefs.h. */
24832 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24834 #define remove innocuous_remove
24836 /* System header to define __stub macros and hopefully few prototypes,
24837 which can conflict with char remove (); below.
24838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24839 <limits.h> exists even on freestanding compilers. */
24842 # include <limits.h>
24844 # include <assert.h>
24849 /* Override any gcc2 internal prototype to avoid an error. */
24854 /* We use char because int might match the return type of a gcc2
24855 builtin and then its argument prototype would still apply. */
24857 /* The GNU C library defines this for functions which it implements
24858 to always fail with ENOSYS. Some functions are actually named
24859 something starting with __ and the normal name is an alias. */
24860 #if defined (__stub_remove) || defined (__stub___remove)
24863 char (*f) () = remove;
24872 return f != remove;
24877 rm -f conftest.
$ac_objext conftest
$ac_exeext
24878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24879 (eval $ac_link) 2>conftest.er1
24881 grep -v '^ *+' conftest.er1
>conftest.err
24883 cat conftest.err
>&5
24884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24885 (exit $ac_status); } &&
24886 { ac_try
='test -z "$ac_c_werror_flag"
24887 || test ! -s conftest.err'
24888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24889 (eval $ac_try) 2>&5
24891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24892 (exit $ac_status); }; } &&
24893 { ac_try
='test -s conftest$ac_exeext'
24894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24895 (eval $ac_try) 2>&5
24897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24898 (exit $ac_status); }; }; then
24899 ac_cv_func_remove
=yes
24901 echo "$as_me: failed program was:" >&5
24902 sed 's/^/| /' conftest.
$ac_ext >&5
24904 ac_cv_func_remove
=no
24906 rm -f conftest.err conftest.
$ac_objext \
24907 conftest
$ac_exeext conftest.
$ac_ext
24909 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24910 echo "${ECHO_T}$ac_cv_func_remove" >&6
24912 if test $ac_cv_func_remove = no
; then
24913 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24914 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24915 if test "${ac_cv_lib_posix_remove+set}" = set; then
24916 echo $ECHO_N "(cached) $ECHO_C" >&6
24918 ac_check_lib_save_LIBS
=$LIBS
24919 LIBS
="-lposix $LIBS"
24920 cat >conftest.
$ac_ext <<_ACEOF
24923 cat confdefs.h
>>conftest.
$ac_ext
24924 cat >>conftest.
$ac_ext <<_ACEOF
24925 /* end confdefs.h. */
24927 /* Override any gcc2 internal prototype to avoid an error. */
24931 /* We use char because int might match the return type of a gcc2
24932 builtin and then its argument prototype would still apply. */
24942 rm -f conftest.
$ac_objext conftest
$ac_exeext
24943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24944 (eval $ac_link) 2>conftest.er1
24946 grep -v '^ *+' conftest.er1
>conftest.err
24948 cat conftest.err
>&5
24949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24950 (exit $ac_status); } &&
24951 { ac_try
='test -z "$ac_c_werror_flag"
24952 || test ! -s conftest.err'
24953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24954 (eval $ac_try) 2>&5
24956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24957 (exit $ac_status); }; } &&
24958 { ac_try
='test -s conftest$ac_exeext'
24959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24960 (eval $ac_try) 2>&5
24962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24963 (exit $ac_status); }; }; then
24964 ac_cv_lib_posix_remove
=yes
24966 echo "$as_me: failed program was:" >&5
24967 sed 's/^/| /' conftest.
$ac_ext >&5
24969 ac_cv_lib_posix_remove
=no
24971 rm -f conftest.err conftest.
$ac_objext \
24972 conftest
$ac_exeext conftest.
$ac_ext
24973 LIBS
=$ac_check_lib_save_LIBS
24975 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24976 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24977 if test $ac_cv_lib_posix_remove = yes; then
24978 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
24983 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24984 echo "$as_me:$LINENO: checking for shmat" >&5
24985 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24986 if test "${ac_cv_func_shmat+set}" = set; then
24987 echo $ECHO_N "(cached) $ECHO_C" >&6
24989 cat >conftest.
$ac_ext <<_ACEOF
24992 cat confdefs.h
>>conftest.
$ac_ext
24993 cat >>conftest.
$ac_ext <<_ACEOF
24994 /* end confdefs.h. */
24995 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24997 #define shmat innocuous_shmat
24999 /* System header to define __stub macros and hopefully few prototypes,
25000 which can conflict with char shmat (); below.
25001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25002 <limits.h> exists even on freestanding compilers. */
25005 # include <limits.h>
25007 # include <assert.h>
25012 /* Override any gcc2 internal prototype to avoid an error. */
25017 /* We use char because int might match the return type of a gcc2
25018 builtin and then its argument prototype would still apply. */
25020 /* The GNU C library defines this for functions which it implements
25021 to always fail with ENOSYS. Some functions are actually named
25022 something starting with __ and the normal name is an alias. */
25023 #if defined (__stub_shmat) || defined (__stub___shmat)
25026 char (*f) () = shmat;
25040 rm -f conftest.
$ac_objext conftest
$ac_exeext
25041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25042 (eval $ac_link) 2>conftest.er1
25044 grep -v '^ *+' conftest.er1
>conftest.err
25046 cat conftest.err
>&5
25047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25048 (exit $ac_status); } &&
25049 { ac_try
='test -z "$ac_c_werror_flag"
25050 || test ! -s conftest.err'
25051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25052 (eval $ac_try) 2>&5
25054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25055 (exit $ac_status); }; } &&
25056 { ac_try
='test -s conftest$ac_exeext'
25057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25058 (eval $ac_try) 2>&5
25060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25061 (exit $ac_status); }; }; then
25062 ac_cv_func_shmat
=yes
25064 echo "$as_me: failed program was:" >&5
25065 sed 's/^/| /' conftest.
$ac_ext >&5
25067 ac_cv_func_shmat
=no
25069 rm -f conftest.err conftest.
$ac_objext \
25070 conftest
$ac_exeext conftest.
$ac_ext
25072 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25073 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25075 if test $ac_cv_func_shmat = no
; then
25076 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25077 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25078 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25079 echo $ECHO_N "(cached) $ECHO_C" >&6
25081 ac_check_lib_save_LIBS
=$LIBS
25083 cat >conftest.
$ac_ext <<_ACEOF
25086 cat confdefs.h
>>conftest.
$ac_ext
25087 cat >>conftest.
$ac_ext <<_ACEOF
25088 /* end confdefs.h. */
25090 /* Override any gcc2 internal prototype to avoid an error. */
25094 /* We use char because int might match the return type of a gcc2
25095 builtin and then its argument prototype would still apply. */
25105 rm -f conftest.
$ac_objext conftest
$ac_exeext
25106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25107 (eval $ac_link) 2>conftest.er1
25109 grep -v '^ *+' conftest.er1
>conftest.err
25111 cat conftest.err
>&5
25112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25113 (exit $ac_status); } &&
25114 { ac_try
='test -z "$ac_c_werror_flag"
25115 || test ! -s conftest.err'
25116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25117 (eval $ac_try) 2>&5
25119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25120 (exit $ac_status); }; } &&
25121 { ac_try
='test -s conftest$ac_exeext'
25122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25123 (eval $ac_try) 2>&5
25125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25126 (exit $ac_status); }; }; then
25127 ac_cv_lib_ipc_shmat
=yes
25129 echo "$as_me: failed program was:" >&5
25130 sed 's/^/| /' conftest.
$ac_ext >&5
25132 ac_cv_lib_ipc_shmat
=no
25134 rm -f conftest.err conftest.
$ac_objext \
25135 conftest
$ac_exeext conftest.
$ac_ext
25136 LIBS
=$ac_check_lib_save_LIBS
25138 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25139 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25140 if test $ac_cv_lib_ipc_shmat = yes; then
25141 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25147 # Check for libraries that X11R6 Xt/Xaw programs need.
25148 ac_save_LDFLAGS
=$LDFLAGS
25149 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25150 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25151 # check for ICE first), but we must link in the order -lSM -lICE or
25152 # we get undefined symbols. So assume we have SM if we have ICE.
25153 # These have to be linked with before -lX11, unlike the other
25154 # libraries we check for below, so use a different variable.
25155 # John Interrante, Karl Berry
25156 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25157 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25158 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25159 echo $ECHO_N "(cached) $ECHO_C" >&6
25161 ac_check_lib_save_LIBS
=$LIBS
25162 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25163 cat >conftest.
$ac_ext <<_ACEOF
25166 cat confdefs.h
>>conftest.
$ac_ext
25167 cat >>conftest.
$ac_ext <<_ACEOF
25168 /* end confdefs.h. */
25170 /* Override any gcc2 internal prototype to avoid an error. */
25174 /* We use char because int might match the return type of a gcc2
25175 builtin and then its argument prototype would still apply. */
25176 char IceConnectionNumber ();
25180 IceConnectionNumber ();
25185 rm -f conftest.
$ac_objext conftest
$ac_exeext
25186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25187 (eval $ac_link) 2>conftest.er1
25189 grep -v '^ *+' conftest.er1
>conftest.err
25191 cat conftest.err
>&5
25192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25193 (exit $ac_status); } &&
25194 { ac_try
='test -z "$ac_c_werror_flag"
25195 || test ! -s conftest.err'
25196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25197 (eval $ac_try) 2>&5
25199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25200 (exit $ac_status); }; } &&
25201 { ac_try
='test -s conftest$ac_exeext'
25202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25203 (eval $ac_try) 2>&5
25205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206 (exit $ac_status); }; }; then
25207 ac_cv_lib_ICE_IceConnectionNumber
=yes
25209 echo "$as_me: failed program was:" >&5
25210 sed 's/^/| /' conftest.
$ac_ext >&5
25212 ac_cv_lib_ICE_IceConnectionNumber
=no
25214 rm -f conftest.err conftest.
$ac_objext \
25215 conftest
$ac_exeext conftest.
$ac_ext
25216 LIBS
=$ac_check_lib_save_LIBS
25218 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25219 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25220 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25221 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25224 LDFLAGS
=$ac_save_LDFLAGS
25229 if test "$no_x" = "yes"; then
25230 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25231 echo "$as_me: error: X11 not found" >&2;}
25232 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25235 GUI_TK_LIBRARY
="$X_LIBS"
25236 TOOLKIT_INCLUDE
="$X_CFLAGS"
25237 AFMINSTALL
=afminstall
25238 COMPILED_X_PROGRAM
=0
25240 if test "$wxUSE_NANOX" = "yes"; then
25241 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25242 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25243 if test "x$MICROWIN" = x
; then
25244 echo "$as_me:$LINENO: result: not found" >&5
25245 echo "${ECHO_T}not found" >&6
25246 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25247 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25248 { (exit 1); exit 1; }; }
25250 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25251 echo "${ECHO_T}$MICROWIN" >&6
25252 cat >>confdefs.h
<<\_ACEOF
25253 #define wxUSE_NANOX 1
25259 if test "$wxUSE_UNICODE" = "yes"; then
25263 if test -z "$PKG_CONFIG"; then
25264 # Extract the first word of "pkg-config", so it can be a program name with args.
25265 set dummy pkg
-config; ac_word
=$2
25266 echo "$as_me:$LINENO: checking for $ac_word" >&5
25267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25268 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25269 echo $ECHO_N "(cached) $ECHO_C" >&6
25271 case $PKG_CONFIG in
25273 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25277 for as_dir
in $PATH
25280 test -z "$as_dir" && as_dir
=.
25281 for ac_exec_ext
in '' $ac_executable_extensions; do
25282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25283 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25290 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25294 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25296 if test -n "$PKG_CONFIG"; then
25297 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25298 echo "${ECHO_T}$PKG_CONFIG" >&6
25300 echo "$as_me:$LINENO: result: no" >&5
25301 echo "${ECHO_T}no" >&6
25306 if test "$PKG_CONFIG" = "no" ; then
25307 echo "*** The pkg-config script could not be found. Make sure it is"
25308 echo "*** in your path, or set the PKG_CONFIG environment variable"
25309 echo "*** to the full path to pkg-config."
25310 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25312 PKG_CONFIG_MIN_VERSION
=0.9.0
25313 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25314 echo "$as_me:$LINENO: checking for pangox" >&5
25315 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25317 if $PKG_CONFIG --exists "pangox" ; then
25318 echo "$as_me:$LINENO: result: yes" >&5
25319 echo "${ECHO_T}yes" >&6
25322 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25323 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25324 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
25325 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25326 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25328 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25329 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25330 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
25331 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25332 echo "${ECHO_T}$PANGOX_LIBS" >&6
25336 ## If we have a custom action on failure, don't print errors, but
25337 ## do set a variable so people can do so.
25338 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25345 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25346 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25350 if test $succeeded = yes; then
25352 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
25353 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25357 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25358 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25359 { (exit 1); exit 1; }; }
25367 if test -z "$PKG_CONFIG"; then
25368 # Extract the first word of "pkg-config", so it can be a program name with args.
25369 set dummy pkg
-config; ac_word
=$2
25370 echo "$as_me:$LINENO: checking for $ac_word" >&5
25371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25372 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25373 echo $ECHO_N "(cached) $ECHO_C" >&6
25375 case $PKG_CONFIG in
25377 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25381 for as_dir
in $PATH
25384 test -z "$as_dir" && as_dir
=.
25385 for ac_exec_ext
in '' $ac_executable_extensions; do
25386 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25387 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25394 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25398 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25400 if test -n "$PKG_CONFIG"; then
25401 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25402 echo "${ECHO_T}$PKG_CONFIG" >&6
25404 echo "$as_me:$LINENO: result: no" >&5
25405 echo "${ECHO_T}no" >&6
25410 if test "$PKG_CONFIG" = "no" ; then
25411 echo "*** The pkg-config script could not be found. Make sure it is"
25412 echo "*** in your path, or set the PKG_CONFIG environment variable"
25413 echo "*** to the full path to pkg-config."
25414 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25416 PKG_CONFIG_MIN_VERSION
=0.9.0
25417 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25418 echo "$as_me:$LINENO: checking for pangoft2" >&5
25419 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25421 if $PKG_CONFIG --exists "pangoft2" ; then
25422 echo "$as_me:$LINENO: result: yes" >&5
25423 echo "${ECHO_T}yes" >&6
25426 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25427 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25428 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
25429 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25430 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25432 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25433 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25434 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
25435 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25436 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25440 ## If we have a custom action on failure, don't print errors, but
25441 ## do set a variable so people can do so.
25442 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25449 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25450 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25454 if test $succeeded = yes; then
25456 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
25457 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25461 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25462 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25463 wxUSE_PRINTING_ARCHITECTURE
="no"
25471 if test -z "$PKG_CONFIG"; then
25472 # Extract the first word of "pkg-config", so it can be a program name with args.
25473 set dummy pkg
-config; ac_word
=$2
25474 echo "$as_me:$LINENO: checking for $ac_word" >&5
25475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25476 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25477 echo $ECHO_N "(cached) $ECHO_C" >&6
25479 case $PKG_CONFIG in
25481 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25485 for as_dir
in $PATH
25488 test -z "$as_dir" && as_dir
=.
25489 for ac_exec_ext
in '' $ac_executable_extensions; do
25490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25491 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25498 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25502 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25504 if test -n "$PKG_CONFIG"; then
25505 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25506 echo "${ECHO_T}$PKG_CONFIG" >&6
25508 echo "$as_me:$LINENO: result: no" >&5
25509 echo "${ECHO_T}no" >&6
25514 if test "$PKG_CONFIG" = "no" ; then
25515 echo "*** The pkg-config script could not be found. Make sure it is"
25516 echo "*** in your path, or set the PKG_CONFIG environment variable"
25517 echo "*** to the full path to pkg-config."
25518 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25520 PKG_CONFIG_MIN_VERSION
=0.9.0
25521 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25522 echo "$as_me:$LINENO: checking for pangoxft" >&5
25523 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25525 if $PKG_CONFIG --exists "pangoxft" ; then
25526 echo "$as_me:$LINENO: result: yes" >&5
25527 echo "${ECHO_T}yes" >&6
25530 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25531 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25532 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
25533 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25534 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25536 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25537 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25538 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
25539 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25540 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25544 ## If we have a custom action on failure, don't print errors, but
25545 ## do set a variable so people can do so.
25546 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25553 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25554 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25558 if test $succeeded = yes; then
25560 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
25561 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25565 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25566 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25571 save_CFLAGS
="$CFLAGS"
25573 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
25574 LIBS
="$LIBS $PANGOX_LIBS"
25576 for ac_func
in pango_font_family_is_monospace
25578 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25579 echo "$as_me:$LINENO: checking for $ac_func" >&5
25580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25581 if eval "test \"\${$as_ac_var+set}\" = set"; then
25582 echo $ECHO_N "(cached) $ECHO_C" >&6
25584 cat >conftest.
$ac_ext <<_ACEOF
25587 cat confdefs.h
>>conftest.
$ac_ext
25588 cat >>conftest.
$ac_ext <<_ACEOF
25589 /* end confdefs.h. */
25590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25592 #define $ac_func innocuous_$ac_func
25594 /* System header to define __stub macros and hopefully few prototypes,
25595 which can conflict with char $ac_func (); below.
25596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25597 <limits.h> exists even on freestanding compilers. */
25600 # include <limits.h>
25602 # include <assert.h>
25607 /* Override any gcc2 internal prototype to avoid an error. */
25612 /* We use char because int might match the return type of a gcc2
25613 builtin and then its argument prototype would still apply. */
25615 /* The GNU C library defines this for functions which it implements
25616 to always fail with ENOSYS. Some functions are actually named
25617 something starting with __ and the normal name is an alias. */
25618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25621 char (*f) () = $ac_func;
25630 return f != $ac_func;
25635 rm -f conftest.
$ac_objext conftest
$ac_exeext
25636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25637 (eval $ac_link) 2>conftest.er1
25639 grep -v '^ *+' conftest.er1
>conftest.err
25641 cat conftest.err
>&5
25642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25643 (exit $ac_status); } &&
25644 { ac_try
='test -z "$ac_c_werror_flag"
25645 || test ! -s conftest.err'
25646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25647 (eval $ac_try) 2>&5
25649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25650 (exit $ac_status); }; } &&
25651 { ac_try
='test -s conftest$ac_exeext'
25652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25653 (eval $ac_try) 2>&5
25655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25656 (exit $ac_status); }; }; then
25657 eval "$as_ac_var=yes"
25659 echo "$as_me: failed program was:" >&5
25660 sed 's/^/| /' conftest.
$ac_ext >&5
25662 eval "$as_ac_var=no"
25664 rm -f conftest.err conftest.
$ac_objext \
25665 conftest
$ac_exeext conftest.
$ac_ext
25667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25669 if test `eval echo '${'$as_ac_var'}'` = yes; then
25670 cat >>confdefs.h
<<_ACEOF
25671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25677 CFLAGS
="$save_CFLAGS"
25681 wxUSE_UNIVERSAL
="yes"
25683 if test "$wxUSE_NANOX" = "yes"; then
25684 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25685 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"
25686 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25688 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25691 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
25696 if test "$wxUSE_MOTIF" = 1; then
25697 if test "$no_x" = yes; then
25698 # Not all programs may use this symbol, but it does not hurt to define it.
25700 cat >>confdefs.h
<<\_ACEOF
25701 #define X_DISPLAY_MISSING 1
25704 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
25706 if test -n "$x_includes"; then
25707 X_CFLAGS
="$X_CFLAGS -I$x_includes"
25710 # It would also be nice to do this for all -L options, not just this one.
25711 if test -n "$x_libraries"; then
25712 X_LIBS
="$X_LIBS -L$x_libraries"
25713 # For Solaris; some versions of Sun CC require a space after -R and
25714 # others require no space. Words are not sufficient . . . .
25715 case `(uname -sr) 2>/dev/null` in
25717 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
25718 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
25719 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
25720 cat >conftest.
$ac_ext <<_ACEOF
25723 cat confdefs.h
>>conftest.
$ac_ext
25724 cat >>conftest.
$ac_ext <<_ACEOF
25725 /* end confdefs.h. */
25735 rm -f conftest.
$ac_objext conftest
$ac_exeext
25736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25737 (eval $ac_link) 2>conftest.er1
25739 grep -v '^ *+' conftest.er1
>conftest.err
25741 cat conftest.err
>&5
25742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25743 (exit $ac_status); } &&
25744 { ac_try
='test -z "$ac_c_werror_flag"
25745 || test ! -s conftest.err'
25746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25747 (eval $ac_try) 2>&5
25749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25750 (exit $ac_status); }; } &&
25751 { ac_try
='test -s conftest$ac_exeext'
25752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25753 (eval $ac_try) 2>&5
25755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25756 (exit $ac_status); }; }; then
25759 echo "$as_me: failed program was:" >&5
25760 sed 's/^/| /' conftest.
$ac_ext >&5
25764 rm -f conftest.err conftest.
$ac_objext \
25765 conftest
$ac_exeext conftest.
$ac_ext
25766 if test $ac_R_nospace = yes; then
25767 echo "$as_me:$LINENO: result: no" >&5
25768 echo "${ECHO_T}no" >&6
25769 X_LIBS
="$X_LIBS -R$x_libraries"
25771 LIBS
="$ac_xsave_LIBS -R $x_libraries"
25772 cat >conftest.
$ac_ext <<_ACEOF
25775 cat confdefs.h
>>conftest.
$ac_ext
25776 cat >>conftest.
$ac_ext <<_ACEOF
25777 /* end confdefs.h. */
25787 rm -f conftest.
$ac_objext conftest
$ac_exeext
25788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25789 (eval $ac_link) 2>conftest.er1
25791 grep -v '^ *+' conftest.er1
>conftest.err
25793 cat conftest.err
>&5
25794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25795 (exit $ac_status); } &&
25796 { ac_try
='test -z "$ac_c_werror_flag"
25797 || test ! -s conftest.err'
25798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25799 (eval $ac_try) 2>&5
25801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25802 (exit $ac_status); }; } &&
25803 { ac_try
='test -s conftest$ac_exeext'
25804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25805 (eval $ac_try) 2>&5
25807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25808 (exit $ac_status); }; }; then
25811 echo "$as_me: failed program was:" >&5
25812 sed 's/^/| /' conftest.
$ac_ext >&5
25816 rm -f conftest.err conftest.
$ac_objext \
25817 conftest
$ac_exeext conftest.
$ac_ext
25818 if test $ac_R_space = yes; then
25819 echo "$as_me:$LINENO: result: yes" >&5
25820 echo "${ECHO_T}yes" >&6
25821 X_LIBS
="$X_LIBS -R $x_libraries"
25823 echo "$as_me:$LINENO: result: neither works" >&5
25824 echo "${ECHO_T}neither works" >&6
25827 LIBS
=$ac_xsave_LIBS
25831 # Check for system-dependent libraries X programs must link with.
25832 # Do this before checking for the system-independent R6 libraries
25833 # (-lICE), since we may need -lsocket or whatever for X linking.
25835 if test "$ISC" = yes; then
25836 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
25838 # Martyn Johnson says this is needed for Ultrix, if the X
25839 # libraries were built with DECnet support. And Karl Berry says
25840 # the Alpha needs dnet_stub (dnet does not exist).
25841 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
25842 cat >conftest.
$ac_ext <<_ACEOF
25845 cat confdefs.h
>>conftest.
$ac_ext
25846 cat >>conftest.
$ac_ext <<_ACEOF
25847 /* end confdefs.h. */
25849 /* Override any gcc2 internal prototype to avoid an error. */
25853 /* We use char because int might match the return type of a gcc2
25854 builtin and then its argument prototype would still apply. */
25855 char XOpenDisplay ();
25864 rm -f conftest.
$ac_objext conftest
$ac_exeext
25865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25866 (eval $ac_link) 2>conftest.er1
25868 grep -v '^ *+' conftest.er1
>conftest.err
25870 cat conftest.err
>&5
25871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25872 (exit $ac_status); } &&
25873 { ac_try
='test -z "$ac_c_werror_flag"
25874 || test ! -s conftest.err'
25875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25876 (eval $ac_try) 2>&5
25878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25879 (exit $ac_status); }; } &&
25880 { ac_try
='test -s conftest$ac_exeext'
25881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25882 (eval $ac_try) 2>&5
25884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25885 (exit $ac_status); }; }; then
25888 echo "$as_me: failed program was:" >&5
25889 sed 's/^/| /' conftest.
$ac_ext >&5
25891 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25892 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25893 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25894 echo $ECHO_N "(cached) $ECHO_C" >&6
25896 ac_check_lib_save_LIBS
=$LIBS
25897 LIBS
="-ldnet $LIBS"
25898 cat >conftest.
$ac_ext <<_ACEOF
25901 cat confdefs.h
>>conftest.
$ac_ext
25902 cat >>conftest.
$ac_ext <<_ACEOF
25903 /* end confdefs.h. */
25905 /* Override any gcc2 internal prototype to avoid an error. */
25909 /* We use char because int might match the return type of a gcc2
25910 builtin and then its argument prototype would still apply. */
25920 rm -f conftest.
$ac_objext conftest
$ac_exeext
25921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25922 (eval $ac_link) 2>conftest.er1
25924 grep -v '^ *+' conftest.er1
>conftest.err
25926 cat conftest.err
>&5
25927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928 (exit $ac_status); } &&
25929 { ac_try
='test -z "$ac_c_werror_flag"
25930 || test ! -s conftest.err'
25931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25932 (eval $ac_try) 2>&5
25934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25935 (exit $ac_status); }; } &&
25936 { ac_try
='test -s conftest$ac_exeext'
25937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25938 (eval $ac_try) 2>&5
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); }; }; then
25942 ac_cv_lib_dnet_dnet_ntoa
=yes
25944 echo "$as_me: failed program was:" >&5
25945 sed 's/^/| /' conftest.
$ac_ext >&5
25947 ac_cv_lib_dnet_dnet_ntoa
=no
25949 rm -f conftest.err conftest.
$ac_objext \
25950 conftest
$ac_exeext conftest.
$ac_ext
25951 LIBS
=$ac_check_lib_save_LIBS
25953 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25954 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25955 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25956 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
25959 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
25960 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25961 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25962 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25963 echo $ECHO_N "(cached) $ECHO_C" >&6
25965 ac_check_lib_save_LIBS
=$LIBS
25966 LIBS
="-ldnet_stub $LIBS"
25967 cat >conftest.
$ac_ext <<_ACEOF
25970 cat confdefs.h
>>conftest.
$ac_ext
25971 cat >>conftest.
$ac_ext <<_ACEOF
25972 /* end confdefs.h. */
25974 /* Override any gcc2 internal prototype to avoid an error. */
25978 /* We use char because int might match the return type of a gcc2
25979 builtin and then its argument prototype would still apply. */
25989 rm -f conftest.
$ac_objext conftest
$ac_exeext
25990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25991 (eval $ac_link) 2>conftest.er1
25993 grep -v '^ *+' conftest.er1
>conftest.err
25995 cat conftest.err
>&5
25996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25997 (exit $ac_status); } &&
25998 { ac_try
='test -z "$ac_c_werror_flag"
25999 || test ! -s conftest.err'
26000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26001 (eval $ac_try) 2>&5
26003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26004 (exit $ac_status); }; } &&
26005 { ac_try
='test -s conftest$ac_exeext'
26006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26007 (eval $ac_try) 2>&5
26009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010 (exit $ac_status); }; }; then
26011 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
26013 echo "$as_me: failed program was:" >&5
26014 sed 's/^/| /' conftest.
$ac_ext >&5
26016 ac_cv_lib_dnet_stub_dnet_ntoa
=no
26018 rm -f conftest.err conftest.
$ac_objext \
26019 conftest
$ac_exeext conftest.
$ac_ext
26020 LIBS
=$ac_check_lib_save_LIBS
26022 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26023 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26024 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26025 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
26030 rm -f conftest.err conftest.
$ac_objext \
26031 conftest
$ac_exeext conftest.
$ac_ext
26032 LIBS
="$ac_xsave_LIBS"
26034 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26035 # to get the SysV transport functions.
26036 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26038 # The nsl library prevents programs from opening the X display
26039 # on Irix 5.2, according to T.E. Dickey.
26040 # The functions gethostbyname, getservbyname, and inet_addr are
26041 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26042 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26043 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26044 if test "${ac_cv_func_gethostbyname+set}" = set; then
26045 echo $ECHO_N "(cached) $ECHO_C" >&6
26047 cat >conftest.
$ac_ext <<_ACEOF
26050 cat confdefs.h
>>conftest.
$ac_ext
26051 cat >>conftest.
$ac_ext <<_ACEOF
26052 /* end confdefs.h. */
26053 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26055 #define gethostbyname innocuous_gethostbyname
26057 /* System header to define __stub macros and hopefully few prototypes,
26058 which can conflict with char gethostbyname (); below.
26059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26060 <limits.h> exists even on freestanding compilers. */
26063 # include <limits.h>
26065 # include <assert.h>
26068 #undef gethostbyname
26070 /* Override any gcc2 internal prototype to avoid an error. */
26075 /* We use char because int might match the return type of a gcc2
26076 builtin and then its argument prototype would still apply. */
26077 char gethostbyname ();
26078 /* The GNU C library defines this for functions which it implements
26079 to always fail with ENOSYS. Some functions are actually named
26080 something starting with __ and the normal name is an alias. */
26081 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26084 char (*f) () = gethostbyname;
26093 return f != gethostbyname;
26098 rm -f conftest.
$ac_objext conftest
$ac_exeext
26099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26100 (eval $ac_link) 2>conftest.er1
26102 grep -v '^ *+' conftest.er1
>conftest.err
26104 cat conftest.err
>&5
26105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26106 (exit $ac_status); } &&
26107 { ac_try
='test -z "$ac_c_werror_flag"
26108 || test ! -s conftest.err'
26109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26110 (eval $ac_try) 2>&5
26112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26113 (exit $ac_status); }; } &&
26114 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
26120 ac_cv_func_gethostbyname
=yes
26122 echo "$as_me: failed program was:" >&5
26123 sed 's/^/| /' conftest.
$ac_ext >&5
26125 ac_cv_func_gethostbyname
=no
26127 rm -f conftest.err conftest.
$ac_objext \
26128 conftest
$ac_exeext conftest.
$ac_ext
26130 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26131 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26133 if test $ac_cv_func_gethostbyname = no
; then
26134 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26135 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26136 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26137 echo $ECHO_N "(cached) $ECHO_C" >&6
26139 ac_check_lib_save_LIBS
=$LIBS
26141 cat >conftest.
$ac_ext <<_ACEOF
26144 cat confdefs.h
>>conftest.
$ac_ext
26145 cat >>conftest.
$ac_ext <<_ACEOF
26146 /* end confdefs.h. */
26148 /* Override any gcc2 internal prototype to avoid an error. */
26152 /* We use char because int might match the return type of a gcc2
26153 builtin and then its argument prototype would still apply. */
26154 char gethostbyname ();
26163 rm -f conftest.
$ac_objext conftest
$ac_exeext
26164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26165 (eval $ac_link) 2>conftest.er1
26167 grep -v '^ *+' conftest.er1
>conftest.err
26169 cat conftest.err
>&5
26170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26171 (exit $ac_status); } &&
26172 { ac_try
='test -z "$ac_c_werror_flag"
26173 || test ! -s conftest.err'
26174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26175 (eval $ac_try) 2>&5
26177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26178 (exit $ac_status); }; } &&
26179 { ac_try
='test -s conftest$ac_exeext'
26180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26181 (eval $ac_try) 2>&5
26183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26184 (exit $ac_status); }; }; then
26185 ac_cv_lib_nsl_gethostbyname
=yes
26187 echo "$as_me: failed program was:" >&5
26188 sed 's/^/| /' conftest.
$ac_ext >&5
26190 ac_cv_lib_nsl_gethostbyname
=no
26192 rm -f conftest.err conftest.
$ac_objext \
26193 conftest
$ac_exeext conftest.
$ac_ext
26194 LIBS
=$ac_check_lib_save_LIBS
26196 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26197 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26198 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26199 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
26202 if test $ac_cv_lib_nsl_gethostbyname = no
; then
26203 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26204 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26205 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26206 echo $ECHO_N "(cached) $ECHO_C" >&6
26208 ac_check_lib_save_LIBS
=$LIBS
26210 cat >conftest.
$ac_ext <<_ACEOF
26213 cat confdefs.h
>>conftest.
$ac_ext
26214 cat >>conftest.
$ac_ext <<_ACEOF
26215 /* end confdefs.h. */
26217 /* Override any gcc2 internal prototype to avoid an error. */
26221 /* We use char because int might match the return type of a gcc2
26222 builtin and then its argument prototype would still apply. */
26223 char gethostbyname ();
26232 rm -f conftest.
$ac_objext conftest
$ac_exeext
26233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26234 (eval $ac_link) 2>conftest.er1
26236 grep -v '^ *+' conftest.er1
>conftest.err
26238 cat conftest.err
>&5
26239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26240 (exit $ac_status); } &&
26241 { ac_try
='test -z "$ac_c_werror_flag"
26242 || test ! -s conftest.err'
26243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26244 (eval $ac_try) 2>&5
26246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26247 (exit $ac_status); }; } &&
26248 { ac_try
='test -s conftest$ac_exeext'
26249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26250 (eval $ac_try) 2>&5
26252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26253 (exit $ac_status); }; }; then
26254 ac_cv_lib_bsd_gethostbyname
=yes
26256 echo "$as_me: failed program was:" >&5
26257 sed 's/^/| /' conftest.
$ac_ext >&5
26259 ac_cv_lib_bsd_gethostbyname
=no
26261 rm -f conftest.err conftest.
$ac_objext \
26262 conftest
$ac_exeext conftest.
$ac_ext
26263 LIBS
=$ac_check_lib_save_LIBS
26265 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26266 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26267 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26268 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
26274 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26275 # socket/setsockopt and other routines are undefined under SCO ODT
26276 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26277 # on later versions), says Simon Leinen: it contains gethostby*
26278 # variants that don't use the name server (or something). -lsocket
26279 # must be given before -lnsl if both are needed. We assume that
26280 # if connect needs -lnsl, so does gethostbyname.
26281 echo "$as_me:$LINENO: checking for connect" >&5
26282 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26283 if test "${ac_cv_func_connect+set}" = set; then
26284 echo $ECHO_N "(cached) $ECHO_C" >&6
26286 cat >conftest.
$ac_ext <<_ACEOF
26289 cat confdefs.h
>>conftest.
$ac_ext
26290 cat >>conftest.
$ac_ext <<_ACEOF
26291 /* end confdefs.h. */
26292 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26294 #define connect innocuous_connect
26296 /* System header to define __stub macros and hopefully few prototypes,
26297 which can conflict with char connect (); below.
26298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26299 <limits.h> exists even on freestanding compilers. */
26302 # include <limits.h>
26304 # include <assert.h>
26309 /* Override any gcc2 internal prototype to avoid an error. */
26314 /* We use char because int might match the return type of a gcc2
26315 builtin and then its argument prototype would still apply. */
26317 /* The GNU C library defines this for functions which it implements
26318 to always fail with ENOSYS. Some functions are actually named
26319 something starting with __ and the normal name is an alias. */
26320 #if defined (__stub_connect) || defined (__stub___connect)
26323 char (*f) () = connect;
26332 return f != connect;
26337 rm -f conftest.
$ac_objext conftest
$ac_exeext
26338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26339 (eval $ac_link) 2>conftest.er1
26341 grep -v '^ *+' conftest.er1
>conftest.err
26343 cat conftest.err
>&5
26344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26345 (exit $ac_status); } &&
26346 { ac_try
='test -z "$ac_c_werror_flag"
26347 || test ! -s conftest.err'
26348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26349 (eval $ac_try) 2>&5
26351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26352 (exit $ac_status); }; } &&
26353 { ac_try
='test -s conftest$ac_exeext'
26354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26355 (eval $ac_try) 2>&5
26357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26358 (exit $ac_status); }; }; then
26359 ac_cv_func_connect
=yes
26361 echo "$as_me: failed program was:" >&5
26362 sed 's/^/| /' conftest.
$ac_ext >&5
26364 ac_cv_func_connect
=no
26366 rm -f conftest.err conftest.
$ac_objext \
26367 conftest
$ac_exeext conftest.
$ac_ext
26369 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
26370 echo "${ECHO_T}$ac_cv_func_connect" >&6
26372 if test $ac_cv_func_connect = no
; then
26373 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
26374 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
26375 if test "${ac_cv_lib_socket_connect+set}" = set; then
26376 echo $ECHO_N "(cached) $ECHO_C" >&6
26378 ac_check_lib_save_LIBS
=$LIBS
26379 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
26380 cat >conftest.
$ac_ext <<_ACEOF
26383 cat confdefs.h
>>conftest.
$ac_ext
26384 cat >>conftest.
$ac_ext <<_ACEOF
26385 /* end confdefs.h. */
26387 /* Override any gcc2 internal prototype to avoid an error. */
26391 /* We use char because int might match the return type of a gcc2
26392 builtin and then its argument prototype would still apply. */
26402 rm -f conftest.
$ac_objext conftest
$ac_exeext
26403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26404 (eval $ac_link) 2>conftest.er1
26406 grep -v '^ *+' conftest.er1
>conftest.err
26408 cat conftest.err
>&5
26409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26410 (exit $ac_status); } &&
26411 { ac_try
='test -z "$ac_c_werror_flag"
26412 || test ! -s conftest.err'
26413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26414 (eval $ac_try) 2>&5
26416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26417 (exit $ac_status); }; } &&
26418 { ac_try
='test -s conftest$ac_exeext'
26419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26420 (eval $ac_try) 2>&5
26422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26423 (exit $ac_status); }; }; then
26424 ac_cv_lib_socket_connect
=yes
26426 echo "$as_me: failed program was:" >&5
26427 sed 's/^/| /' conftest.
$ac_ext >&5
26429 ac_cv_lib_socket_connect
=no
26431 rm -f conftest.err conftest.
$ac_objext \
26432 conftest
$ac_exeext conftest.
$ac_ext
26433 LIBS
=$ac_check_lib_save_LIBS
26435 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
26436 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
26437 if test $ac_cv_lib_socket_connect = yes; then
26438 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
26443 # Guillermo Gomez says -lposix is necessary on A/UX.
26444 echo "$as_me:$LINENO: checking for remove" >&5
26445 echo $ECHO_N "checking for remove... $ECHO_C" >&6
26446 if test "${ac_cv_func_remove+set}" = set; then
26447 echo $ECHO_N "(cached) $ECHO_C" >&6
26449 cat >conftest.
$ac_ext <<_ACEOF
26452 cat confdefs.h
>>conftest.
$ac_ext
26453 cat >>conftest.
$ac_ext <<_ACEOF
26454 /* end confdefs.h. */
26455 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
26456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26457 #define remove innocuous_remove
26459 /* System header to define __stub macros and hopefully few prototypes,
26460 which can conflict with char remove (); below.
26461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26462 <limits.h> exists even on freestanding compilers. */
26465 # include <limits.h>
26467 # include <assert.h>
26472 /* Override any gcc2 internal prototype to avoid an error. */
26477 /* We use char because int might match the return type of a gcc2
26478 builtin and then its argument prototype would still apply. */
26480 /* The GNU C library defines this for functions which it implements
26481 to always fail with ENOSYS. Some functions are actually named
26482 something starting with __ and the normal name is an alias. */
26483 #if defined (__stub_remove) || defined (__stub___remove)
26486 char (*f) () = remove;
26495 return f != remove;
26500 rm -f conftest.
$ac_objext conftest
$ac_exeext
26501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26502 (eval $ac_link) 2>conftest.er1
26504 grep -v '^ *+' conftest.er1
>conftest.err
26506 cat conftest.err
>&5
26507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26508 (exit $ac_status); } &&
26509 { ac_try
='test -z "$ac_c_werror_flag"
26510 || test ! -s conftest.err'
26511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26512 (eval $ac_try) 2>&5
26514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515 (exit $ac_status); }; } &&
26516 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
26522 ac_cv_func_remove
=yes
26524 echo "$as_me: failed program was:" >&5
26525 sed 's/^/| /' conftest.
$ac_ext >&5
26527 ac_cv_func_remove
=no
26529 rm -f conftest.err conftest.
$ac_objext \
26530 conftest
$ac_exeext conftest.
$ac_ext
26532 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
26533 echo "${ECHO_T}$ac_cv_func_remove" >&6
26535 if test $ac_cv_func_remove = no
; then
26536 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
26537 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
26538 if test "${ac_cv_lib_posix_remove+set}" = set; then
26539 echo $ECHO_N "(cached) $ECHO_C" >&6
26541 ac_check_lib_save_LIBS
=$LIBS
26542 LIBS
="-lposix $LIBS"
26543 cat >conftest.
$ac_ext <<_ACEOF
26546 cat confdefs.h
>>conftest.
$ac_ext
26547 cat >>conftest.
$ac_ext <<_ACEOF
26548 /* end confdefs.h. */
26550 /* Override any gcc2 internal prototype to avoid an error. */
26554 /* We use char because int might match the return type of a gcc2
26555 builtin and then its argument prototype would still apply. */
26565 rm -f conftest.
$ac_objext conftest
$ac_exeext
26566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26567 (eval $ac_link) 2>conftest.er1
26569 grep -v '^ *+' conftest.er1
>conftest.err
26571 cat conftest.err
>&5
26572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26573 (exit $ac_status); } &&
26574 { ac_try
='test -z "$ac_c_werror_flag"
26575 || test ! -s conftest.err'
26576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26577 (eval $ac_try) 2>&5
26579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26580 (exit $ac_status); }; } &&
26581 { ac_try
='test -s conftest$ac_exeext'
26582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26583 (eval $ac_try) 2>&5
26585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26586 (exit $ac_status); }; }; then
26587 ac_cv_lib_posix_remove
=yes
26589 echo "$as_me: failed program was:" >&5
26590 sed 's/^/| /' conftest.
$ac_ext >&5
26592 ac_cv_lib_posix_remove
=no
26594 rm -f conftest.err conftest.
$ac_objext \
26595 conftest
$ac_exeext conftest.
$ac_ext
26596 LIBS
=$ac_check_lib_save_LIBS
26598 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
26599 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
26600 if test $ac_cv_lib_posix_remove = yes; then
26601 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
26606 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26607 echo "$as_me:$LINENO: checking for shmat" >&5
26608 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
26609 if test "${ac_cv_func_shmat+set}" = set; then
26610 echo $ECHO_N "(cached) $ECHO_C" >&6
26612 cat >conftest.
$ac_ext <<_ACEOF
26615 cat confdefs.h
>>conftest.
$ac_ext
26616 cat >>conftest.
$ac_ext <<_ACEOF
26617 /* end confdefs.h. */
26618 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
26619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26620 #define shmat innocuous_shmat
26622 /* System header to define __stub macros and hopefully few prototypes,
26623 which can conflict with char shmat (); below.
26624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26625 <limits.h> exists even on freestanding compilers. */
26628 # include <limits.h>
26630 # include <assert.h>
26635 /* Override any gcc2 internal prototype to avoid an error. */
26640 /* We use char because int might match the return type of a gcc2
26641 builtin and then its argument prototype would still apply. */
26643 /* The GNU C library defines this for functions which it implements
26644 to always fail with ENOSYS. Some functions are actually named
26645 something starting with __ and the normal name is an alias. */
26646 #if defined (__stub_shmat) || defined (__stub___shmat)
26649 char (*f) () = shmat;
26663 rm -f conftest.
$ac_objext conftest
$ac_exeext
26664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26665 (eval $ac_link) 2>conftest.er1
26667 grep -v '^ *+' conftest.er1
>conftest.err
26669 cat conftest.err
>&5
26670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26671 (exit $ac_status); } &&
26672 { ac_try
='test -z "$ac_c_werror_flag"
26673 || test ! -s conftest.err'
26674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26675 (eval $ac_try) 2>&5
26677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678 (exit $ac_status); }; } &&
26679 { ac_try
='test -s conftest$ac_exeext'
26680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26681 (eval $ac_try) 2>&5
26683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26684 (exit $ac_status); }; }; then
26685 ac_cv_func_shmat
=yes
26687 echo "$as_me: failed program was:" >&5
26688 sed 's/^/| /' conftest.
$ac_ext >&5
26690 ac_cv_func_shmat
=no
26692 rm -f conftest.err conftest.
$ac_objext \
26693 conftest
$ac_exeext conftest.
$ac_ext
26695 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
26696 echo "${ECHO_T}$ac_cv_func_shmat" >&6
26698 if test $ac_cv_func_shmat = no
; then
26699 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
26700 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
26701 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
26702 echo $ECHO_N "(cached) $ECHO_C" >&6
26704 ac_check_lib_save_LIBS
=$LIBS
26706 cat >conftest.
$ac_ext <<_ACEOF
26709 cat confdefs.h
>>conftest.
$ac_ext
26710 cat >>conftest.
$ac_ext <<_ACEOF
26711 /* end confdefs.h. */
26713 /* Override any gcc2 internal prototype to avoid an error. */
26717 /* We use char because int might match the return type of a gcc2
26718 builtin and then its argument prototype would still apply. */
26728 rm -f conftest.
$ac_objext conftest
$ac_exeext
26729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26730 (eval $ac_link) 2>conftest.er1
26732 grep -v '^ *+' conftest.er1
>conftest.err
26734 cat conftest.err
>&5
26735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26736 (exit $ac_status); } &&
26737 { ac_try
='test -z "$ac_c_werror_flag"
26738 || test ! -s conftest.err'
26739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26740 (eval $ac_try) 2>&5
26742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26743 (exit $ac_status); }; } &&
26744 { ac_try
='test -s conftest$ac_exeext'
26745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26746 (eval $ac_try) 2>&5
26748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26749 (exit $ac_status); }; }; then
26750 ac_cv_lib_ipc_shmat
=yes
26752 echo "$as_me: failed program was:" >&5
26753 sed 's/^/| /' conftest.
$ac_ext >&5
26755 ac_cv_lib_ipc_shmat
=no
26757 rm -f conftest.err conftest.
$ac_objext \
26758 conftest
$ac_exeext conftest.
$ac_ext
26759 LIBS
=$ac_check_lib_save_LIBS
26761 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
26762 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
26763 if test $ac_cv_lib_ipc_shmat = yes; then
26764 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
26770 # Check for libraries that X11R6 Xt/Xaw programs need.
26771 ac_save_LDFLAGS
=$LDFLAGS
26772 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
26773 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26774 # check for ICE first), but we must link in the order -lSM -lICE or
26775 # we get undefined symbols. So assume we have SM if we have ICE.
26776 # These have to be linked with before -lX11, unlike the other
26777 # libraries we check for below, so use a different variable.
26778 # John Interrante, Karl Berry
26779 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
26780 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
26781 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
26782 echo $ECHO_N "(cached) $ECHO_C" >&6
26784 ac_check_lib_save_LIBS
=$LIBS
26785 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
26786 cat >conftest.
$ac_ext <<_ACEOF
26789 cat confdefs.h
>>conftest.
$ac_ext
26790 cat >>conftest.
$ac_ext <<_ACEOF
26791 /* end confdefs.h. */
26793 /* Override any gcc2 internal prototype to avoid an error. */
26797 /* We use char because int might match the return type of a gcc2
26798 builtin and then its argument prototype would still apply. */
26799 char IceConnectionNumber ();
26803 IceConnectionNumber ();
26808 rm -f conftest.
$ac_objext conftest
$ac_exeext
26809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26810 (eval $ac_link) 2>conftest.er1
26812 grep -v '^ *+' conftest.er1
>conftest.err
26814 cat conftest.err
>&5
26815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26816 (exit $ac_status); } &&
26817 { ac_try
='test -z "$ac_c_werror_flag"
26818 || test ! -s conftest.err'
26819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26820 (eval $ac_try) 2>&5
26822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823 (exit $ac_status); }; } &&
26824 { ac_try
='test -s conftest$ac_exeext'
26825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26826 (eval $ac_try) 2>&5
26828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26829 (exit $ac_status); }; }; then
26830 ac_cv_lib_ICE_IceConnectionNumber
=yes
26832 echo "$as_me: failed program was:" >&5
26833 sed 's/^/| /' conftest.
$ac_ext >&5
26835 ac_cv_lib_ICE_IceConnectionNumber
=no
26837 rm -f conftest.err conftest.
$ac_objext \
26838 conftest
$ac_exeext conftest.
$ac_ext
26839 LIBS
=$ac_check_lib_save_LIBS
26841 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26842 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26843 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26844 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
26847 LDFLAGS
=$ac_save_LDFLAGS
26852 if test "$no_x" = "yes"; then
26853 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26854 echo "$as_me: error: X11 not found" >&2;}
26855 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
26858 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
26859 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
26860 AFMINSTALL
=afminstall
26861 COMPILED_X_PROGRAM
=0
26863 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26864 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26867 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26869 if test -f "$ac_dir/Xm/Xm.h"; then
26870 ac_find_includes
=$ac_dir
26875 if test "$ac_find_includes" != "" ; then
26876 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26877 echo "${ECHO_T}found in $ac_find_includes" >&6
26879 if test "x$ac_find_includes" = "x/usr/include"; then
26880 ac_path_to_include
=""
26882 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26884 if test $result = 0; then
26885 ac_path_to_include
=""
26887 ac_path_to_include
=" -I$ac_find_includes"
26891 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26893 cat >conftest.
$ac_ext <<_ACEOF
26896 cat confdefs.h
>>conftest.
$ac_ext
26897 cat >>conftest.
$ac_ext <<_ACEOF
26898 /* end confdefs.h. */
26907 version = xmUseVersion;
26913 rm -f conftest.
$ac_objext
26914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26915 (eval $ac_compile) 2>conftest.er1
26917 grep -v '^ *+' conftest.er1
>conftest.err
26919 cat conftest.err
>&5
26920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26921 (exit $ac_status); } &&
26922 { ac_try
='test -z "$ac_c_werror_flag"
26923 || test ! -s conftest.err'
26924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26925 (eval $ac_try) 2>&5
26927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26928 (exit $ac_status); }; } &&
26929 { ac_try
='test -s conftest.$ac_objext'
26930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26931 (eval $ac_try) 2>&5
26933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26934 (exit $ac_status); }; }; then
26936 echo "$as_me:$LINENO: result: found in default search path" >&5
26937 echo "${ECHO_T}found in default search path" >&6
26938 COMPILED_X_PROGRAM
=1
26941 echo "$as_me: failed program was:" >&5
26942 sed 's/^/| /' conftest.
$ac_ext >&5
26945 echo "$as_me:$LINENO: result: no" >&5
26946 echo "${ECHO_T}no" >&6
26947 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26948 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26949 { (exit 1); exit 1; }; }
26953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26956 if test "$COMPILED_X_PROGRAM" = 0; then
26957 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26958 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26961 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26963 for ac_extension
in a so sl dylib
; do
26964 if test -f "$ac_dir/libXm.$ac_extension"; then
26965 ac_find_libraries
=$ac_dir
26971 if test "$ac_find_libraries" != "" ; then
26972 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26973 echo "${ECHO_T}found at $ac_find_libraries" >&6
26976 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26978 if test $result = 0; then
26981 ac_path_to_link
=" -L$ac_find_libraries"
26984 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26986 save_CFLAGS
=$CFLAGS
26987 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26989 cat >conftest.
$ac_ext <<_ACEOF
26992 cat confdefs.h
>>conftest.
$ac_ext
26993 cat >>conftest.
$ac_ext <<_ACEOF
26994 /* end confdefs.h. */
27003 version = xmUseVersion;
27009 rm -f conftest.
$ac_objext
27010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27011 (eval $ac_compile) 2>conftest.er1
27013 grep -v '^ *+' conftest.er1
>conftest.err
27015 cat conftest.err
>&5
27016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27017 (exit $ac_status); } &&
27018 { ac_try
='test -z "$ac_c_werror_flag"
27019 || test ! -s conftest.err'
27020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27021 (eval $ac_try) 2>&5
27023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27024 (exit $ac_status); }; } &&
27025 { ac_try
='test -s conftest.$ac_objext'
27026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27027 (eval $ac_try) 2>&5
27029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27030 (exit $ac_status); }; }; then
27032 echo "$as_me:$LINENO: result: found in default search path" >&5
27033 echo "${ECHO_T}found in default search path" >&6
27034 COMPILED_X_PROGRAM
=1
27037 echo "$as_me: failed program was:" >&5
27038 sed 's/^/| /' conftest.
$ac_ext >&5
27041 echo "$as_me:$LINENO: result: no" >&5
27042 echo "${ECHO_T}no" >&6
27043 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
27044 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
27045 { (exit 1); exit 1; }; }
27049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27051 CFLAGS
=$save_CFLAGS
27055 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
27056 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
27060 for libp
in "" " -lXp"; do
27061 if test "$libs_found" = "0"; then
27062 for libsm_ice
in "" " -lSM -lICE"; do
27063 if test "$libs_found" = "0"; then
27065 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
27066 save_CFLAGS
=$CFLAGS
27067 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27069 cat >conftest.
$ac_ext <<_ACEOF
27072 cat confdefs.h
>>conftest.
$ac_ext
27073 cat >>conftest.
$ac_ext <<_ACEOF
27074 /* end confdefs.h. */
27077 #include <Xm/List.h>
27083 XmString string = NULL;
27086 XmListAddItem(w, string, position);
27092 rm -f conftest.
$ac_objext conftest
$ac_exeext
27093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27094 (eval $ac_link) 2>conftest.er1
27096 grep -v '^ *+' conftest.er1
>conftest.err
27098 cat conftest.err
>&5
27099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27100 (exit $ac_status); } &&
27101 { ac_try
='test -z "$ac_c_werror_flag"
27102 || test ! -s conftest.err'
27103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27104 (eval $ac_try) 2>&5
27106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107 (exit $ac_status); }; } &&
27108 { ac_try
='test -s conftest$ac_exeext'
27109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27110 (eval $ac_try) 2>&5
27112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27113 (exit $ac_status); }; }; then
27116 libsm_ice_link
="$libsm_ice"
27117 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
27118 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
27122 echo "$as_me: failed program was:" >&5
27123 sed 's/^/| /' conftest.
$ac_ext >&5
27128 rm -f conftest.err conftest.
$ac_objext \
27129 conftest
$ac_exeext conftest.
$ac_ext
27132 CFLAGS
=$save_CFLAGS
27138 if test "$libs_found" = "0"; then
27139 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
27140 echo "${ECHO_T}can't find the right libraries" >&6
27141 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
27142 echo "$as_me: error: can't link a simple motif program" >&2;}
27143 { (exit 1); exit 1; }; }
27146 save_CFLAGS
=$CFLAGS
27147 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27148 echo "$as_me:$LINENO: checking for Motif 2" >&5
27149 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
27150 cat >conftest.
$ac_ext <<_ACEOF
27153 cat confdefs.h
>>conftest.
$ac_ext
27154 cat >>conftest.
$ac_ext <<_ACEOF
27155 /* end confdefs.h. */
27163 #if XmVersion < 2000
27164 #error "Not Motif 2"
27171 rm -f conftest.
$ac_objext
27172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27173 (eval $ac_compile) 2>conftest.er1
27175 grep -v '^ *+' conftest.er1
>conftest.err
27177 cat conftest.err
>&5
27178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27179 (exit $ac_status); } &&
27180 { ac_try
='test -z "$ac_c_werror_flag"
27181 || test ! -s conftest.err'
27182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27183 (eval $ac_try) 2>&5
27185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27186 (exit $ac_status); }; } &&
27187 { ac_try
='test -s conftest.$ac_objext'
27188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27189 (eval $ac_try) 2>&5
27191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27192 (exit $ac_status); }; }; then
27194 cat >>confdefs.h
<<\_ACEOF
27195 #define __WXMOTIF20__ 1
27198 echo "$as_me:$LINENO: result: found" >&5
27199 echo "${ECHO_T}found" >&6
27202 echo "$as_me: failed program was:" >&5
27203 sed 's/^/| /' conftest.
$ac_ext >&5
27206 cat >>confdefs.h
<<\_ACEOF
27207 #define __WXMOTIF20__ 0
27210 echo "$as_me:$LINENO: result: not found" >&5
27211 echo "${ECHO_T}not found" >&6
27214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27215 CFLAGS
=$save_CFLAGS
27217 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
27218 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
27223 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27224 if test "$wxUSE_LIBXPM" = "sys"; then
27225 echo "$as_me:$LINENO: checking for Xpm library" >&5
27226 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
27229 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27231 for ac_extension
in a so sl dylib
; do
27232 if test -f "$ac_dir/libXpm.$ac_extension"; then
27233 ac_find_libraries
=$ac_dir
27239 if test "$ac_find_libraries" != "" ; then
27241 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27243 if test $result = 0; then
27246 ac_path_to_link
=" -L$ac_find_libraries"
27249 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
27250 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27251 echo "${ECHO_T}found at $ac_find_libraries" >&6
27253 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
27254 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
27255 if test "${wx_cv_x11_xpm_h+set}" = set; then
27256 echo $ECHO_N "(cached) $ECHO_C" >&6
27259 save_CFLAGS
=$CFLAGS
27260 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27262 cat >conftest.
$ac_ext <<_ACEOF
27265 cat confdefs.h
>>conftest.
$ac_ext
27266 cat >>conftest.
$ac_ext <<_ACEOF
27267 /* end confdefs.h. */
27269 #include <X11/xpm.h>
27276 version = XpmLibraryVersion();
27282 rm -f conftest.
$ac_objext
27283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27284 (eval $ac_compile) 2>conftest.er1
27286 grep -v '^ *+' conftest.er1
>conftest.err
27288 cat conftest.err
>&5
27289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290 (exit $ac_status); } &&
27291 { ac_try
='test -z "$ac_c_werror_flag"
27292 || test ! -s conftest.err'
27293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27294 (eval $ac_try) 2>&5
27296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27297 (exit $ac_status); }; } &&
27298 { ac_try
='test -s conftest.$ac_objext'
27299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27300 (eval $ac_try) 2>&5
27302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27303 (exit $ac_status); }; }; then
27304 wx_cv_x11_xpm_h
=yes
27306 echo "$as_me: failed program was:" >&5
27307 sed 's/^/| /' conftest.
$ac_ext >&5
27312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27314 CFLAGS
=$save_CFLAGS
27318 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
27319 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
27321 if test $wx_cv_x11_xpm_h = "yes"; then
27322 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
27323 cat >>confdefs.h
<<\_ACEOF
27324 #define wxHAVE_LIB_XPM 1
27328 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
27329 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
27335 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
27336 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
27337 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
27338 echo $ECHO_N "(cached) $ECHO_C" >&6
27340 ac_check_lib_save_LIBS
=$LIBS
27341 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
27342 cat >conftest.
$ac_ext <<_ACEOF
27345 cat confdefs.h
>>conftest.
$ac_ext
27346 cat >>conftest.
$ac_ext <<_ACEOF
27347 /* end confdefs.h. */
27349 /* Override any gcc2 internal prototype to avoid an error. */
27353 /* We use char because int might match the return type of a gcc2
27354 builtin and then its argument prototype would still apply. */
27355 char XShapeQueryExtension ();
27359 XShapeQueryExtension ();
27364 rm -f conftest.
$ac_objext conftest
$ac_exeext
27365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27366 (eval $ac_link) 2>conftest.er1
27368 grep -v '^ *+' conftest.er1
>conftest.err
27370 cat conftest.err
>&5
27371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27372 (exit $ac_status); } &&
27373 { ac_try
='test -z "$ac_c_werror_flag"
27374 || test ! -s conftest.err'
27375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27376 (eval $ac_try) 2>&5
27378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27379 (exit $ac_status); }; } &&
27380 { ac_try
='test -s conftest$ac_exeext'
27381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27382 (eval $ac_try) 2>&5
27384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27385 (exit $ac_status); }; }; then
27386 ac_cv_lib_Xext_XShapeQueryExtension
=yes
27388 echo "$as_me: failed program was:" >&5
27389 sed 's/^/| /' conftest.
$ac_ext >&5
27391 ac_cv_lib_Xext_XShapeQueryExtension
=no
27393 rm -f conftest.err conftest.
$ac_objext \
27394 conftest
$ac_exeext conftest.
$ac_ext
27395 LIBS
=$ac_check_lib_save_LIBS
27397 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
27398 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
27399 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
27401 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
27407 if test "$wxHAVE_XEXT_LIB" = 1; then
27408 save_CFLAGS
="$CFLAGS"
27409 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27411 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
27412 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
27413 cat >conftest.
$ac_ext <<_ACEOF
27416 cat confdefs.h
>>conftest.
$ac_ext
27417 cat >>conftest.
$ac_ext <<_ACEOF
27418 /* end confdefs.h. */
27420 #include <X11/Xlib.h>
27421 #include <X11/extensions/shape.h>
27427 int dummy1, dummy2;
27428 XShapeQueryExtension((Display*)NULL,
27429 (int*)NULL, (int*)NULL);
27435 rm -f conftest.
$ac_objext
27436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27437 (eval $ac_compile) 2>conftest.er1
27439 grep -v '^ *+' conftest.er1
>conftest.err
27441 cat conftest.err
>&5
27442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27443 (exit $ac_status); } &&
27444 { ac_try
='test -z "$ac_c_werror_flag"
27445 || test ! -s conftest.err'
27446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27447 (eval $ac_try) 2>&5
27449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27450 (exit $ac_status); }; } &&
27451 { ac_try
='test -s conftest.$ac_objext'
27452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27453 (eval $ac_try) 2>&5
27455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27456 (exit $ac_status); }; }; then
27458 cat >>confdefs.h
<<\_ACEOF
27459 #define HAVE_XSHAPE 1
27462 echo "$as_me:$LINENO: result: found" >&5
27463 echo "${ECHO_T}found" >&6
27466 echo "$as_me: failed program was:" >&5
27467 sed 's/^/| /' conftest.
$ac_ext >&5
27470 echo "$as_me:$LINENO: result: not found" >&5
27471 echo "${ECHO_T}not found" >&6
27474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27475 CFLAGS
="$save_CFLAGS"
27480 if test "$wxUSE_MAC" = 1; then
27481 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
27482 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
27483 if test "$GCC" = yes; then
27484 echo "$as_me:$LINENO: result: gcc" >&5
27485 echo "${ECHO_T}gcc" >&6
27486 CPPFLAGS_PASCAL
="-fpascal-strings"
27487 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
27488 echo "$as_me:$LINENO: result: xlc" >&5
27489 echo "${ECHO_T}xlc" >&6
27490 CPPFLAGS_PASCAL
="-qmacpstr"
27492 echo "$as_me:$LINENO: result: none" >&5
27493 echo "${ECHO_T}none" >&6
27496 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
27498 TOOLKIT_VPATH
="\${top_srcdir}/src/mac/carbon${PATH_IFS}\${top_srcdir}/src/mac/carbon/morefilex"
27501 WXBASEPORT
="_carbon"
27504 if test "$wxUSE_COCOA" = 1; then
27505 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
27510 if test "$wxUSE_PM" = 1; then
27513 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
27514 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
27515 if test "${wx_cv_spbcdata+set}" = set; then
27516 echo $ECHO_N "(cached) $ECHO_C" >&6
27519 cat >conftest.
$ac_ext <<_ACEOF
27522 cat confdefs.h
>>conftest.
$ac_ext
27523 cat >>conftest.
$ac_ext <<_ACEOF
27524 /* end confdefs.h. */
27539 rm -f conftest.
$ac_objext
27540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27541 (eval $ac_compile) 2>conftest.er1
27543 grep -v '^ *+' conftest.er1
>conftest.err
27545 cat conftest.err
>&5
27546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27547 (exit $ac_status); } &&
27548 { ac_try
='test -z "$ac_c_werror_flag"
27549 || test ! -s conftest.err'
27550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27551 (eval $ac_try) 2>&5
27553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27554 (exit $ac_status); }; } &&
27555 { ac_try
='test -s conftest.$ac_objext'
27556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27557 (eval $ac_try) 2>&5
27559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27560 (exit $ac_status); }; }; then
27563 echo "$as_me: failed program was:" >&5
27564 sed 's/^/| /' conftest.
$ac_ext >&5
27569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27573 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
27574 echo "${ECHO_T}$wx_cv_spbcdata" >&6
27576 if test $wx_cv_spbcdata = "yes"; then
27577 cat >>confdefs.h
<<\_ACEOF
27578 #define HAVE_SPBCDATA 1
27584 if test "$TOOLKIT" = "PM" ; then
27587 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
27590 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
27592 if test "$wxUSE_UNIVERSAL" = "yes"; then
27593 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
27595 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
27596 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
27598 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
27599 if test "$wxUSE_X11" = 1; then
27600 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
27602 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
27604 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
27607 ALL_OBJECTS
="\$(GUIOBJS)"
27608 ALL_SOURCES
="\$(ALL_SOURCES)"
27609 ALL_HEADERS
="\$(ALL_HEADERS)"
27612 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
27614 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
27615 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
27618 if test "$wxUSE_HTML" = "yes"; then
27619 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
27622 if test "$wxUSE_LIBJPEG" = "builtin" ; then
27623 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
27625 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27626 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
27628 if test "$wxUSE_LIBPNG" = "builtin" ; then
27629 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
27632 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
27633 DISTDIR
="wx\$(TOOLKIT)"
27639 if test "$USE_WIN32" = 1 ; then
27640 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
27641 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
27645 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
27646 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
27649 ALL_SOURCES
="\$(ALL_SOURCES)"
27650 ALL_HEADERS
="\$(ALL_HEADERS)"
27652 PORT_FILES
="\${top_srcdir}/src/files.lst"
27654 GUIDIST
="BASE_DIST"
27664 if test "$TOOLKIT" != "MSW" ; then
27666 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
27668 if test "${ac_cv_header_sql_h+set}" = set; then
27669 echo "$as_me:$LINENO: checking for sql.h" >&5
27670 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27671 if test "${ac_cv_header_sql_h+set}" = set; then
27672 echo $ECHO_N "(cached) $ECHO_C" >&6
27674 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27675 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27677 # Is the header compilable?
27678 echo "$as_me:$LINENO: checking sql.h usability" >&5
27679 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
27680 cat >conftest.
$ac_ext <<_ACEOF
27683 cat confdefs.h
>>conftest.
$ac_ext
27684 cat >>conftest.
$ac_ext <<_ACEOF
27685 /* end confdefs.h. */
27686 $ac_includes_default
27689 rm -f conftest.
$ac_objext
27690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27691 (eval $ac_compile) 2>conftest.er1
27693 grep -v '^ *+' conftest.er1
>conftest.err
27695 cat conftest.err
>&5
27696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27697 (exit $ac_status); } &&
27698 { ac_try
='test -z "$ac_c_werror_flag"
27699 || test ! -s conftest.err'
27700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27701 (eval $ac_try) 2>&5
27703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27704 (exit $ac_status); }; } &&
27705 { ac_try
='test -s conftest.$ac_objext'
27706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27707 (eval $ac_try) 2>&5
27709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27710 (exit $ac_status); }; }; then
27711 ac_header_compiler
=yes
27713 echo "$as_me: failed program was:" >&5
27714 sed 's/^/| /' conftest.
$ac_ext >&5
27716 ac_header_compiler
=no
27718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27719 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27720 echo "${ECHO_T}$ac_header_compiler" >&6
27722 # Is the header present?
27723 echo "$as_me:$LINENO: checking sql.h presence" >&5
27724 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
27725 cat >conftest.
$ac_ext <<_ACEOF
27728 cat confdefs.h
>>conftest.
$ac_ext
27729 cat >>conftest.
$ac_ext <<_ACEOF
27730 /* end confdefs.h. */
27733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27734 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27736 grep -v '^ *+' conftest.er1
>conftest.err
27738 cat conftest.err
>&5
27739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27740 (exit $ac_status); } >/dev
/null
; then
27741 if test -s conftest.err
; then
27742 ac_cpp_err
=$ac_c_preproc_warn_flag
27743 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27750 if test -z "$ac_cpp_err"; then
27751 ac_header_preproc
=yes
27753 echo "$as_me: failed program was:" >&5
27754 sed 's/^/| /' conftest.
$ac_ext >&5
27756 ac_header_preproc
=no
27758 rm -f conftest.err conftest.
$ac_ext
27759 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27760 echo "${ECHO_T}$ac_header_preproc" >&6
27762 # So? What about this header?
27763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27765 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
27766 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27767 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
27768 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
27769 ac_header_preproc
=yes
27772 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
27773 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
27774 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
27775 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
27776 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
27777 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
27778 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
27779 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
27780 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
27781 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
27782 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
27783 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
27786 ## ----------------------------------------- ##
27787 ## Report this to wx-dev@lists.wxwidgets.org ##
27788 ## ----------------------------------------- ##
27791 sed "s/^/$as_me: WARNING: /" >&2
27794 echo "$as_me:$LINENO: checking for sql.h" >&5
27795 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27796 if test "${ac_cv_header_sql_h+set}" = set; then
27797 echo $ECHO_N "(cached) $ECHO_C" >&6
27799 ac_cv_header_sql_h
=$ac_header_preproc
27801 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27802 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27805 if test $ac_cv_header_sql_h = yes; then
27810 if test "x$found_sql_h" = "x1" ; then
27811 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
27812 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
27813 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
27814 echo $ECHO_N "(cached) $ECHO_C" >&6
27816 ac_check_lib_save_LIBS
=$LIBS
27817 LIBS
="-liodbc $LIBS"
27818 cat >conftest.
$ac_ext <<_ACEOF
27821 cat confdefs.h
>>conftest.
$ac_ext
27822 cat >>conftest.
$ac_ext <<_ACEOF
27823 /* end confdefs.h. */
27825 /* Override any gcc2 internal prototype to avoid an error. */
27829 /* We use char because int might match the return type of a gcc2
27830 builtin and then its argument prototype would still apply. */
27831 char SQLAllocEnv ();
27840 rm -f conftest.
$ac_objext conftest
$ac_exeext
27841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27842 (eval $ac_link) 2>conftest.er1
27844 grep -v '^ *+' conftest.er1
>conftest.err
27846 cat conftest.err
>&5
27847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27848 (exit $ac_status); } &&
27849 { ac_try
='test -z "$ac_c_werror_flag"
27850 || test ! -s conftest.err'
27851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27852 (eval $ac_try) 2>&5
27854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27855 (exit $ac_status); }; } &&
27856 { ac_try
='test -s conftest$ac_exeext'
27857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27858 (eval $ac_try) 2>&5
27860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27861 (exit $ac_status); }; }; then
27862 ac_cv_lib_iodbc_SQLAllocEnv
=yes
27864 echo "$as_me: failed program was:" >&5
27865 sed 's/^/| /' conftest.
$ac_ext >&5
27867 ac_cv_lib_iodbc_SQLAllocEnv
=no
27869 rm -f conftest.err conftest.
$ac_objext \
27870 conftest
$ac_exeext conftest.
$ac_ext
27871 LIBS
=$ac_check_lib_save_LIBS
27873 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27874 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27875 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27876 ODBC_LINK
=" -liodbc"
27879 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27880 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27881 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27882 echo $ECHO_N "(cached) $ECHO_C" >&6
27884 ac_check_lib_save_LIBS
=$LIBS
27885 LIBS
="-lunixodbc $LIBS"
27886 cat >conftest.
$ac_ext <<_ACEOF
27889 cat confdefs.h
>>conftest.
$ac_ext
27890 cat >>conftest.
$ac_ext <<_ACEOF
27891 /* end confdefs.h. */
27893 /* Override any gcc2 internal prototype to avoid an error. */
27897 /* We use char because int might match the return type of a gcc2
27898 builtin and then its argument prototype would still apply. */
27899 char SQLAllocEnv ();
27908 rm -f conftest.
$ac_objext conftest
$ac_exeext
27909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27910 (eval $ac_link) 2>conftest.er1
27912 grep -v '^ *+' conftest.er1
>conftest.err
27914 cat conftest.err
>&5
27915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27916 (exit $ac_status); } &&
27917 { ac_try
='test -z "$ac_c_werror_flag"
27918 || test ! -s conftest.err'
27919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27920 (eval $ac_try) 2>&5
27922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27923 (exit $ac_status); }; } &&
27924 { ac_try
='test -s conftest$ac_exeext'
27925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27926 (eval $ac_try) 2>&5
27928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27929 (exit $ac_status); }; }; then
27930 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
27932 echo "$as_me: failed program was:" >&5
27933 sed 's/^/| /' conftest.
$ac_ext >&5
27935 ac_cv_lib_unixodbc_SQLAllocEnv
=no
27937 rm -f conftest.err conftest.
$ac_objext \
27938 conftest
$ac_exeext conftest.
$ac_ext
27939 LIBS
=$ac_check_lib_save_LIBS
27941 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27942 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27943 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27944 ODBC_LINK
=" -lunixodbc"
27947 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27948 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27949 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27950 echo $ECHO_N "(cached) $ECHO_C" >&6
27952 ac_check_lib_save_LIBS
=$LIBS
27953 LIBS
="-lodbc $LIBS"
27954 cat >conftest.
$ac_ext <<_ACEOF
27957 cat confdefs.h
>>conftest.
$ac_ext
27958 cat >>conftest.
$ac_ext <<_ACEOF
27959 /* end confdefs.h. */
27961 /* Override any gcc2 internal prototype to avoid an error. */
27965 /* We use char because int might match the return type of a gcc2
27966 builtin and then its argument prototype would still apply. */
27967 char SQLAllocEnv ();
27976 rm -f conftest.
$ac_objext conftest
$ac_exeext
27977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27978 (eval $ac_link) 2>conftest.er1
27980 grep -v '^ *+' conftest.er1
>conftest.err
27982 cat conftest.err
>&5
27983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27984 (exit $ac_status); } &&
27985 { ac_try
='test -z "$ac_c_werror_flag"
27986 || test ! -s conftest.err'
27987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27988 (eval $ac_try) 2>&5
27990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27991 (exit $ac_status); }; } &&
27992 { ac_try
='test -s conftest$ac_exeext'
27993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27994 (eval $ac_try) 2>&5
27996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27997 (exit $ac_status); }; }; then
27998 ac_cv_lib_odbc_SQLAllocEnv
=yes
28000 echo "$as_me: failed program was:" >&5
28001 sed 's/^/| /' conftest.
$ac_ext >&5
28003 ac_cv_lib_odbc_SQLAllocEnv
=no
28005 rm -f conftest.err conftest.
$ac_objext \
28006 conftest
$ac_exeext conftest.
$ac_ext
28007 LIBS
=$ac_check_lib_save_LIBS
28009 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
28010 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
28011 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
28012 ODBC_LINK
=" -lodbc"
28022 if test "x$ODBC_LINK" = "x" ; then
28023 if test "$wxUSE_ODBC" = "sys" ; then
28024 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
28025 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
28026 { (exit 1); exit 1; }; }
28028 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
28029 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
28036 if test "$wxUSE_ODBC" != "no" ; then
28037 cat >>confdefs.h
<<\_ACEOF
28038 #define wxUSE_ODBC 1
28041 if test "$wxUSE_ODBC" = "builtin" ; then
28042 cat >>confdefs.h
<<\_ACEOF
28043 #define wxUSE_BUILTIN_IODBC 1
28047 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
28049 WXODBCFLAG
="-D_IODBC_"
28053 if test "$wxUSE_REGEX" = "builtin" ; then
28054 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
28056 if test "$wxUSE_ZLIB" = "builtin" ; then
28057 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
28061 if test "$wxUSE_DISPLAY" = "yes"; then
28062 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
28063 echo "$as_me:$LINENO: checking for Xinerama" >&5
28064 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
28067 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28069 for ac_extension
in a so sl dylib
; do
28070 if test -f "$ac_dir/libXinerama.$ac_extension"; then
28071 ac_find_libraries
=$ac_dir
28077 if test "$ac_find_libraries" != "" ; then
28079 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28081 if test $result = 0; then
28084 ac_path_to_link
=" -L$ac_find_libraries"
28087 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28088 LDFLAGS
="$LDFLAGS $ac_path_to_link"
28090 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
28091 echo "$as_me:$LINENO: result: yes" >&5
28092 echo "${ECHO_T}yes" >&6
28094 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
28095 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
28098 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28100 for ac_extension
in a so sl dylib
; do
28101 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
28102 ac_find_libraries
=$ac_dir
28108 if test "$ac_find_libraries" != "" ; then
28109 echo "$as_me:$LINENO: result: yes" >&5
28110 echo "${ECHO_T}yes" >&6
28112 for ac_header
in X
11/extensions
/xf86vmode.h
28114 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28115 echo "$as_me:$LINENO: checking for $ac_header" >&5
28116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28118 echo $ECHO_N "(cached) $ECHO_C" >&6
28120 cat >conftest.
$ac_ext <<_ACEOF
28123 cat confdefs.h
>>conftest.
$ac_ext
28124 cat >>conftest.
$ac_ext <<_ACEOF
28125 /* end confdefs.h. */
28127 #if HAVE_X11_XLIB_H
28128 #include <X11/Xlib.h>
28132 #include <$ac_header>
28134 rm -f conftest.
$ac_objext
28135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28136 (eval $ac_compile) 2>conftest.er1
28138 grep -v '^ *+' conftest.er1
>conftest.err
28140 cat conftest.err
>&5
28141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28142 (exit $ac_status); } &&
28143 { ac_try
='test -z "$ac_c_werror_flag"
28144 || test ! -s conftest.err'
28145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28146 (eval $ac_try) 2>&5
28148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28149 (exit $ac_status); }; } &&
28150 { ac_try
='test -s conftest.$ac_objext'
28151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28152 (eval $ac_try) 2>&5
28154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28155 (exit $ac_status); }; }; then
28156 eval "$as_ac_Header=yes"
28158 echo "$as_me: failed program was:" >&5
28159 sed 's/^/| /' conftest.
$ac_ext >&5
28161 eval "$as_ac_Header=no"
28163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28166 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28167 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28168 cat >>confdefs.h
<<_ACEOF
28169 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28172 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
28179 echo "$as_me:$LINENO: result: no" >&5
28180 echo "${ECHO_T}no" >&6
28184 echo "$as_me:$LINENO: result: no" >&5
28185 echo "${ECHO_T}no" >&6
28186 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
28187 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
28190 elif test "$wxUSE_MSW" = 1; then
28193 for ac_header
in multimon.h ddraw.h
28195 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28197 echo "$as_me:$LINENO: checking for $ac_header" >&5
28198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28200 echo $ECHO_N "(cached) $ECHO_C" >&6
28202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28205 # Is the header compilable?
28206 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28207 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28208 cat >conftest.
$ac_ext <<_ACEOF
28211 cat confdefs.h
>>conftest.
$ac_ext
28212 cat >>conftest.
$ac_ext <<_ACEOF
28213 /* end confdefs.h. */
28214 $ac_includes_default
28215 #include <$ac_header>
28217 rm -f conftest.
$ac_objext
28218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28219 (eval $ac_compile) 2>conftest.er1
28221 grep -v '^ *+' conftest.er1
>conftest.err
28223 cat conftest.err
>&5
28224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28225 (exit $ac_status); } &&
28226 { ac_try
='test -z "$ac_c_werror_flag"
28227 || test ! -s conftest.err'
28228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28229 (eval $ac_try) 2>&5
28231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28232 (exit $ac_status); }; } &&
28233 { ac_try
='test -s conftest.$ac_objext'
28234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28235 (eval $ac_try) 2>&5
28237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28238 (exit $ac_status); }; }; then
28239 ac_header_compiler
=yes
28241 echo "$as_me: failed program was:" >&5
28242 sed 's/^/| /' conftest.
$ac_ext >&5
28244 ac_header_compiler
=no
28246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28247 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28248 echo "${ECHO_T}$ac_header_compiler" >&6
28250 # Is the header present?
28251 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28252 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28253 cat >conftest.
$ac_ext <<_ACEOF
28256 cat confdefs.h
>>conftest.
$ac_ext
28257 cat >>conftest.
$ac_ext <<_ACEOF
28258 /* end confdefs.h. */
28259 #include <$ac_header>
28261 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28262 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28264 grep -v '^ *+' conftest.er1
>conftest.err
28266 cat conftest.err
>&5
28267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28268 (exit $ac_status); } >/dev
/null
; then
28269 if test -s conftest.err
; then
28270 ac_cpp_err
=$ac_c_preproc_warn_flag
28271 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28278 if test -z "$ac_cpp_err"; then
28279 ac_header_preproc
=yes
28281 echo "$as_me: failed program was:" >&5
28282 sed 's/^/| /' conftest.
$ac_ext >&5
28284 ac_header_preproc
=no
28286 rm -f conftest.err conftest.
$ac_ext
28287 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28288 echo "${ECHO_T}$ac_header_preproc" >&6
28290 # So? What about this header?
28291 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28293 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28294 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28295 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28296 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28297 ac_header_preproc
=yes
28300 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28301 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28302 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28303 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28304 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28305 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28306 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28307 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28309 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28310 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28311 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28314 ## ----------------------------------------- ##
28315 ## Report this to wx-dev@lists.wxwidgets.org ##
28316 ## ----------------------------------------- ##
28319 sed "s/^/$as_me: WARNING: /" >&2
28322 echo "$as_me:$LINENO: checking for $ac_header" >&5
28323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28324 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28325 echo $ECHO_N "(cached) $ECHO_C" >&6
28327 eval "$as_ac_Header=\$ac_header_preproc"
28329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28330 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28333 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28334 cat >>confdefs.h
<<_ACEOF
28335 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28341 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
28342 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
28353 if test "$wxUSE_OPENGL" = "yes"; then
28354 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28355 OPENGL_LIBS
="-framework OpenGL -framework AGL"
28356 elif test "$wxUSE_MSW" = 1; then
28357 OPENGL_LIBS
="-lopengl32 -lglu32"
28362 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
28364 if test -f "$ac_dir/GL/gl.h"; then
28365 ac_find_includes
=$ac_dir
28370 if test "$ac_find_includes" != "" ; then
28371 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28372 echo "${ECHO_T}found in $ac_find_includes" >&6
28374 if test "x$ac_find_includes" = "x/usr/include"; then
28375 ac_path_to_include
=""
28377 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
28379 if test $result = 0; then
28380 ac_path_to_include
=""
28382 ac_path_to_include
=" -I$ac_find_includes"
28386 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
28389 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28390 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28391 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28392 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28393 echo $ECHO_N "(cached) $ECHO_C" >&6
28395 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28396 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28398 # Is the header compilable?
28399 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
28400 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
28401 cat >conftest.
$ac_ext <<_ACEOF
28404 cat confdefs.h
>>conftest.
$ac_ext
28405 cat >>conftest.
$ac_ext <<_ACEOF
28406 /* end confdefs.h. */
28407 $ac_includes_default
28410 rm -f conftest.
$ac_objext
28411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28412 (eval $ac_compile) 2>conftest.er1
28414 grep -v '^ *+' conftest.er1
>conftest.err
28416 cat conftest.err
>&5
28417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28418 (exit $ac_status); } &&
28419 { ac_try
='test -z "$ac_c_werror_flag"
28420 || test ! -s conftest.err'
28421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28422 (eval $ac_try) 2>&5
28424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28425 (exit $ac_status); }; } &&
28426 { ac_try
='test -s conftest.$ac_objext'
28427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28428 (eval $ac_try) 2>&5
28430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28431 (exit $ac_status); }; }; then
28432 ac_header_compiler
=yes
28434 echo "$as_me: failed program was:" >&5
28435 sed 's/^/| /' conftest.
$ac_ext >&5
28437 ac_header_compiler
=no
28439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28440 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28441 echo "${ECHO_T}$ac_header_compiler" >&6
28443 # Is the header present?
28444 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
28445 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
28446 cat >conftest.
$ac_ext <<_ACEOF
28449 cat confdefs.h
>>conftest.
$ac_ext
28450 cat >>conftest.
$ac_ext <<_ACEOF
28451 /* end confdefs.h. */
28454 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28455 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28457 grep -v '^ *+' conftest.er1
>conftest.err
28459 cat conftest.err
>&5
28460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28461 (exit $ac_status); } >/dev
/null
; then
28462 if test -s conftest.err
; then
28463 ac_cpp_err
=$ac_c_preproc_warn_flag
28464 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28471 if test -z "$ac_cpp_err"; then
28472 ac_header_preproc
=yes
28474 echo "$as_me: failed program was:" >&5
28475 sed 's/^/| /' conftest.
$ac_ext >&5
28477 ac_header_preproc
=no
28479 rm -f conftest.err conftest.
$ac_ext
28480 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28481 echo "${ECHO_T}$ac_header_preproc" >&6
28483 # So? What about this header?
28484 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28486 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
28487 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28488 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
28489 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
28490 ac_header_preproc
=yes
28493 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
28494 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
28495 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
28496 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
28497 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
28498 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
28499 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
28500 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
28501 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
28502 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
28503 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
28504 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
28507 ## ----------------------------------------- ##
28508 ## Report this to wx-dev@lists.wxwidgets.org ##
28509 ## ----------------------------------------- ##
28512 sed "s/^/$as_me: WARNING: /" >&2
28515 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28516 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28517 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28518 echo $ECHO_N "(cached) $ECHO_C" >&6
28520 ac_cv_header_GL_gl_h
=$ac_header_preproc
28522 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28523 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28526 if test $ac_cv_header_GL_gl_h = yes; then
28530 echo "$as_me:$LINENO: checking for -lGL" >&5
28531 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
28534 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28536 for ac_extension
in a so sl dylib
; do
28537 if test -f "$ac_dir/libGL.$ac_extension"; then
28538 ac_find_libraries
=$ac_dir
28544 if test "$ac_find_libraries" != "" ; then
28546 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28548 if test $result = 0; then
28551 ac_path_to_link
=" -L$ac_find_libraries"
28554 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28555 LDFLAGS_GL
="$ac_path_to_link"
28560 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28562 for ac_extension
in a so sl dylib
; do
28563 if test -f "$ac_dir/libGLU.$ac_extension"; then
28564 ac_find_libraries
=$ac_dir
28570 if test "$ac_find_libraries" != "" ; then
28572 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28574 if test $result = 0; then
28577 ac_path_to_link
=" -L$ac_find_libraries"
28580 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28581 "$ac_path_to_link" != "$LDFLAGS_GL"; then
28582 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28586 OPENGL_LIBS
="-lGL -lGLU"
28587 echo "$as_me:$LINENO: result: yes" >&5
28588 echo "${ECHO_T}yes" >&6
28592 if test "$found_gl" != 1; then
28593 echo "$as_me:$LINENO: result: no" >&5
28594 echo "${ECHO_T}no" >&6
28595 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
28596 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
28599 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28601 for ac_extension
in a so sl dylib
; do
28602 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28603 ac_find_libraries
=$ac_dir
28609 if test "$ac_find_libraries" != "" ; then
28611 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28613 if test $result = 0; then
28616 ac_path_to_link
=" -L$ac_find_libraries"
28619 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
28620 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
28621 echo "$as_me:$LINENO: result: yes" >&5
28622 echo "${ECHO_T}yes" >&6
28624 echo "$as_me:$LINENO: result: no" >&5
28625 echo "${ECHO_T}no" >&6
28633 if test "x$OPENGL_LIBS" = "x"; then
28634 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
28635 echo "$as_me: error: OpenGL libraries not available" >&2;}
28636 { (exit 1); exit 1; }; }
28640 if test "$wxUSE_OPENGL" = "yes"; then
28642 cat >>confdefs.h
<<\_ACEOF
28643 #define wxUSE_OPENGL 1
28646 cat >>confdefs.h
<<\_ACEOF
28647 #define wxUSE_GLCANVAS 1
28650 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28654 if test -z "$TOOLKIT_VPATH" ; then
28655 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
28658 if test -n "$TOOLKIT" ; then
28659 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28663 lib_unicode_suffix
=
28664 if test "$wxUSE_UNICODE" = "yes"; then
28665 lib_unicode_suffix
=u
28671 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
28677 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28681 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
28683 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
28684 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
28686 if test "$cross_compiling" = "yes"; then
28687 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
28688 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
28689 HOST_SUFFIX
="-${host_alias}"
28692 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
28693 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
28694 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
28695 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
28697 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
28698 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
28700 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
28701 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
28702 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
28703 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
28706 *-*-cygwin* | *-*-mingw32* )
28707 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
28708 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
28713 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
28714 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
28716 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
28717 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
28718 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
28719 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
28721 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28722 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
28723 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
28728 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
28729 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
28731 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
28732 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
28734 if test "$wxUSE_OPENGL" = "yes"; then
28735 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
28736 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
28741 if test "$wxUSE_SHARED" = "yes"; then
28745 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
28746 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28752 if test "$wxUSE_SHARED" = "yes"; then
28756 found_versioning
=no
28759 if test $found_versioning = no
; then
28760 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
28761 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
28762 if test "${wx_cv_version_script+set}" = set; then
28763 echo $ECHO_N "(cached) $ECHO_C" >&6
28766 echo "VER_1 { *; };" >conftest.sym
28767 echo "int main() { return 0; }" >conftest.cpp
28770 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28771 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28773 (eval $ac_try) 2>&5
28775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28776 (exit $ac_status); }; } ; then
28777 if test -s conftest.stderr
; then
28778 wx_cv_version_script
=no
28780 wx_cv_version_script
=yes
28783 wx_cv_version_script
=no
28785 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28788 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
28789 echo "${ECHO_T}$wx_cv_version_script" >&6
28790 if test $wx_cv_version_script = yes ; then
28791 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
28797 *-*-linux* | *-*-gnu* )
28798 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
28802 if test "$GCC" = yes ; then
28803 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
28805 saveLdflags
="$LDFLAGS"
28806 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
28807 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
28808 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
28809 cat >conftest.
$ac_ext <<_ACEOF
28812 cat confdefs.h
>>conftest.
$ac_ext
28813 cat >>conftest.
$ac_ext <<_ACEOF
28814 /* end confdefs.h. */
28824 rm -f conftest.
$ac_objext conftest
$ac_exeext
28825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28826 (eval $ac_link) 2>conftest.er1
28828 grep -v '^ *+' conftest.er1
>conftest.err
28830 cat conftest.err
>&5
28831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28832 (exit $ac_status); } &&
28833 { ac_try
='test -z "$ac_c_werror_flag"
28834 || test ! -s conftest.err'
28835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28836 (eval $ac_try) 2>&5
28838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28839 (exit $ac_status); }; } &&
28840 { ac_try
='test -s conftest$ac_exeext'
28841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28842 (eval $ac_try) 2>&5
28844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28845 (exit $ac_status); }; }; then
28847 echo "$as_me:$LINENO: result: yes" >&5
28848 echo "${ECHO_T}yes" >&6
28849 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
28852 echo "$as_me: failed program was:" >&5
28853 sed 's/^/| /' conftest.
$ac_ext >&5
28856 echo "$as_me:$LINENO: result: no" >&5
28857 echo "${ECHO_T}no" >&6
28858 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
28859 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
28860 LDFLAGS
="$saveLdflags -Wl,-R,/"
28861 cat >conftest.
$ac_ext <<_ACEOF
28864 cat confdefs.h
>>conftest.
$ac_ext
28865 cat >>conftest.
$ac_ext <<_ACEOF
28866 /* end confdefs.h. */
28876 rm -f conftest.
$ac_objext conftest
$ac_exeext
28877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28878 (eval $ac_link) 2>conftest.er1
28880 grep -v '^ *+' conftest.er1
>conftest.err
28882 cat conftest.err
>&5
28883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28884 (exit $ac_status); } &&
28885 { ac_try
='test -z "$ac_c_werror_flag"
28886 || test ! -s conftest.err'
28887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28888 (eval $ac_try) 2>&5
28890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28891 (exit $ac_status); }; } &&
28892 { ac_try
='test -s conftest$ac_exeext'
28893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28894 (eval $ac_try) 2>&5
28896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28897 (exit $ac_status); }; }; then
28899 echo "$as_me:$LINENO: result: yes" >&5
28900 echo "${ECHO_T}yes" >&6
28901 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
28903 echo "$as_me: failed program was:" >&5
28904 sed 's/^/| /' conftest.
$ac_ext >&5
28907 echo "$as_me:$LINENO: result: no" >&5
28908 echo "${ECHO_T}no" >&6
28911 rm -f conftest.err conftest.
$ac_objext \
28912 conftest
$ac_exeext conftest.
$ac_ext
28915 rm -f conftest.err conftest.
$ac_objext \
28916 conftest
$ac_exeext conftest.
$ac_ext
28917 LDFLAGS
="$saveLdflags"
28919 SHARED_LD
="${CXX} -G -o"
28921 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
28925 powerpc
-*-darwin* )
28926 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28927 cat <<EOF >change-install-names
28929 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28930 inst_cmd="install_name_tool "
28931 for i in \${libnames} ; do
28932 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28936 chmod +x change
-install-names
28939 *-*-cygwin* | *-*-mingw32* )
28940 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28945 if test "x$WX_TARGET_LIBRARY" = "x"; then
28946 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
28947 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
28950 WX_TARGET_LIBRARY_TYPE
="so"
28951 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
28954 if test "$wxUSE_SHARED" = "no"; then
28956 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
28957 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
28960 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
28961 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
28964 if test "$wxUSE_OPENGL" = "yes"; then
28965 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
28966 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
28968 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
28971 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
28972 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
28974 WX_TARGET_LIBRARY_TYPE
="a"
28975 INSTALL_LIBRARY
='$(INSTALL_DATA)'
28982 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28983 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28984 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
28985 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
28987 # Extract the first word of "Rez", so it can be a program name with args.
28988 set dummy Rez
; ac_word
=$2
28989 echo "$as_me:$LINENO: checking for $ac_word" >&5
28990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28991 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28992 echo $ECHO_N "(cached) $ECHO_C" >&6
28994 if test -n "$RESCOMP"; then
28995 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
28997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28998 for as_dir
in $PATH
29001 test -z "$as_dir" && as_dir
=.
29002 for ac_exec_ext
in '' $ac_executable_extensions; do
29003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29004 ac_cv_prog_RESCOMP
="Rez"
29005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29011 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
29014 RESCOMP
=$ac_cv_prog_RESCOMP
29015 if test -n "$RESCOMP"; then
29016 echo "$as_me:$LINENO: result: $RESCOMP" >&5
29017 echo "${ECHO_T}$RESCOMP" >&6
29019 echo "$as_me:$LINENO: result: no" >&5
29020 echo "${ECHO_T}no" >&6
29023 # Extract the first word of "DeRez", so it can be a program name with args.
29024 set dummy DeRez
; ac_word
=$2
29025 echo "$as_me:$LINENO: checking for $ac_word" >&5
29026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29027 if test "${ac_cv_prog_DEREZ+set}" = set; then
29028 echo $ECHO_N "(cached) $ECHO_C" >&6
29030 if test -n "$DEREZ"; then
29031 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
29033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29034 for as_dir
in $PATH
29037 test -z "$as_dir" && as_dir
=.
29038 for ac_exec_ext
in '' $ac_executable_extensions; do
29039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29040 ac_cv_prog_DEREZ
="DeRez"
29041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29047 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
29050 DEREZ
=$ac_cv_prog_DEREZ
29051 if test -n "$DEREZ"; then
29052 echo "$as_me:$LINENO: result: $DEREZ" >&5
29053 echo "${ECHO_T}$DEREZ" >&6
29055 echo "$as_me:$LINENO: result: no" >&5
29056 echo "${ECHO_T}no" >&6
29059 # Extract the first word of "SetFile", so it can be a program name with args.
29060 set dummy SetFile
; ac_word
=$2
29061 echo "$as_me:$LINENO: checking for $ac_word" >&5
29062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29063 if test "${ac_cv_prog_SETFILE+set}" = set; then
29064 echo $ECHO_N "(cached) $ECHO_C" >&6
29066 if test -n "$SETFILE"; then
29067 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
29069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29070 for as_dir
in $PATH
29073 test -z "$as_dir" && as_dir
=.
29074 for ac_exec_ext
in '' $ac_executable_extensions; do
29075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29076 ac_cv_prog_SETFILE
="SetFile"
29077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29083 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
29086 SETFILE
=$ac_cv_prog_SETFILE
29087 if test -n "$SETFILE"; then
29088 echo "$as_me:$LINENO: result: $SETFILE" >&5
29089 echo "${ECHO_T}$SETFILE" >&6
29091 echo "$as_me:$LINENO: result: no" >&5
29092 echo "${ECHO_T}no" >&6
29096 MACSETFILE
="\$(SETFILE)"
29098 if test "$wxUSE_MAC" = 1; then
29099 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
29101 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29103 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
29104 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29110 if test "$wxUSE_PM" = 1; then
29111 MACRESCOMP
="emxbind -ep"
29119 echo "$as_me:$LINENO: checking for mode_t" >&5
29120 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
29121 if test "${ac_cv_type_mode_t+set}" = set; then
29122 echo $ECHO_N "(cached) $ECHO_C" >&6
29124 cat >conftest.
$ac_ext <<_ACEOF
29127 cat confdefs.h
>>conftest.
$ac_ext
29128 cat >>conftest.
$ac_ext <<_ACEOF
29129 /* end confdefs.h. */
29130 $ac_includes_default
29136 if (sizeof (mode_t))
29142 rm -f conftest.
$ac_objext
29143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29144 (eval $ac_compile) 2>conftest.er1
29146 grep -v '^ *+' conftest.er1
>conftest.err
29148 cat conftest.err
>&5
29149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29150 (exit $ac_status); } &&
29151 { ac_try
='test -z "$ac_c_werror_flag"
29152 || test ! -s conftest.err'
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); }; } &&
29158 { ac_try
='test -s conftest.$ac_objext'
29159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29160 (eval $ac_try) 2>&5
29162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29163 (exit $ac_status); }; }; then
29164 ac_cv_type_mode_t
=yes
29166 echo "$as_me: failed program was:" >&5
29167 sed 's/^/| /' conftest.
$ac_ext >&5
29169 ac_cv_type_mode_t
=no
29171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29173 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
29174 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
29175 if test $ac_cv_type_mode_t = yes; then
29179 cat >>confdefs.h
<<_ACEOF
29185 echo "$as_me:$LINENO: checking for off_t" >&5
29186 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
29187 if test "${ac_cv_type_off_t+set}" = set; then
29188 echo $ECHO_N "(cached) $ECHO_C" >&6
29190 cat >conftest.
$ac_ext <<_ACEOF
29193 cat confdefs.h
>>conftest.
$ac_ext
29194 cat >>conftest.
$ac_ext <<_ACEOF
29195 /* end confdefs.h. */
29196 $ac_includes_default
29202 if (sizeof (off_t))
29208 rm -f conftest.
$ac_objext
29209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29210 (eval $ac_compile) 2>conftest.er1
29212 grep -v '^ *+' conftest.er1
>conftest.err
29214 cat conftest.err
>&5
29215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29216 (exit $ac_status); } &&
29217 { ac_try
='test -z "$ac_c_werror_flag"
29218 || test ! -s conftest.err'
29219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29220 (eval $ac_try) 2>&5
29222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29223 (exit $ac_status); }; } &&
29224 { ac_try
='test -s conftest.$ac_objext'
29225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29226 (eval $ac_try) 2>&5
29228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29229 (exit $ac_status); }; }; then
29230 ac_cv_type_off_t
=yes
29232 echo "$as_me: failed program was:" >&5
29233 sed 's/^/| /' conftest.
$ac_ext >&5
29235 ac_cv_type_off_t
=no
29237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29239 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
29240 echo "${ECHO_T}$ac_cv_type_off_t" >&6
29241 if test $ac_cv_type_off_t = yes; then
29245 cat >>confdefs.h
<<_ACEOF
29251 echo "$as_me:$LINENO: checking for pid_t" >&5
29252 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
29253 if test "${ac_cv_type_pid_t+set}" = set; then
29254 echo $ECHO_N "(cached) $ECHO_C" >&6
29256 cat >conftest.
$ac_ext <<_ACEOF
29259 cat confdefs.h
>>conftest.
$ac_ext
29260 cat >>conftest.
$ac_ext <<_ACEOF
29261 /* end confdefs.h. */
29262 $ac_includes_default
29268 if (sizeof (pid_t))
29274 rm -f conftest.
$ac_objext
29275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29276 (eval $ac_compile) 2>conftest.er1
29278 grep -v '^ *+' conftest.er1
>conftest.err
29280 cat conftest.err
>&5
29281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29282 (exit $ac_status); } &&
29283 { ac_try
='test -z "$ac_c_werror_flag"
29284 || test ! -s conftest.err'
29285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29286 (eval $ac_try) 2>&5
29288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29289 (exit $ac_status); }; } &&
29290 { ac_try
='test -s conftest.$ac_objext'
29291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29292 (eval $ac_try) 2>&5
29294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29295 (exit $ac_status); }; }; then
29296 ac_cv_type_pid_t
=yes
29298 echo "$as_me: failed program was:" >&5
29299 sed 's/^/| /' conftest.
$ac_ext >&5
29301 ac_cv_type_pid_t
=no
29303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29305 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
29306 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
29307 if test $ac_cv_type_pid_t = yes; then
29311 cat >>confdefs.h
<<_ACEOF
29317 echo "$as_me:$LINENO: checking for size_t" >&5
29318 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
29319 if test "${ac_cv_type_size_t+set}" = set; then
29320 echo $ECHO_N "(cached) $ECHO_C" >&6
29322 cat >conftest.
$ac_ext <<_ACEOF
29325 cat confdefs.h
>>conftest.
$ac_ext
29326 cat >>conftest.
$ac_ext <<_ACEOF
29327 /* end confdefs.h. */
29328 $ac_includes_default
29334 if (sizeof (size_t))
29340 rm -f conftest.
$ac_objext
29341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29342 (eval $ac_compile) 2>conftest.er1
29344 grep -v '^ *+' conftest.er1
>conftest.err
29346 cat conftest.err
>&5
29347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29348 (exit $ac_status); } &&
29349 { ac_try
='test -z "$ac_c_werror_flag"
29350 || test ! -s conftest.err'
29351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29352 (eval $ac_try) 2>&5
29354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29355 (exit $ac_status); }; } &&
29356 { ac_try
='test -s conftest.$ac_objext'
29357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29358 (eval $ac_try) 2>&5
29360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29361 (exit $ac_status); }; }; then
29362 ac_cv_type_size_t
=yes
29364 echo "$as_me: failed program was:" >&5
29365 sed 's/^/| /' conftest.
$ac_ext >&5
29367 ac_cv_type_size_t
=no
29369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29371 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29372 echo "${ECHO_T}$ac_cv_type_size_t" >&6
29373 if test $ac_cv_type_size_t = yes; then
29377 cat >>confdefs.h
<<_ACEOF
29378 #define size_t unsigned
29383 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
29384 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
29385 if test "${ac_cv_type_uid_t+set}" = set; then
29386 echo $ECHO_N "(cached) $ECHO_C" >&6
29388 cat >conftest.
$ac_ext <<_ACEOF
29391 cat confdefs.h
>>conftest.
$ac_ext
29392 cat >>conftest.
$ac_ext <<_ACEOF
29393 /* end confdefs.h. */
29394 #include <sys/types.h>
29397 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29398 $EGREP "uid_t" >/dev
/null
2>&1; then
29399 ac_cv_type_uid_t
=yes
29401 ac_cv_type_uid_t
=no
29406 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
29407 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
29408 if test $ac_cv_type_uid_t = no
; then
29410 cat >>confdefs.h
<<\_ACEOF
29415 cat >>confdefs.h
<<\_ACEOF
29425 ac_cpp
='$CXXCPP $CPPFLAGS'
29426 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29427 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29428 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29430 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
29431 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
29432 if test "${wx_cv_size_t_is_uint+set}" = set; then
29433 echo $ECHO_N "(cached) $ECHO_C" >&6
29436 cat >conftest.
$ac_ext <<_ACEOF
29439 cat confdefs.h
>>conftest.
$ac_ext
29440 cat >>conftest.
$ac_ext <<_ACEOF
29441 /* end confdefs.h. */
29442 #include <stddef.h>
29449 struct Foo { void foo(size_t); void foo(unsigned int); };
29457 rm -f conftest.
$ac_objext
29458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29459 (eval $ac_compile) 2>conftest.er1
29461 grep -v '^ *+' conftest.er1
>conftest.err
29463 cat conftest.err
>&5
29464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29465 (exit $ac_status); } &&
29466 { ac_try
='test -z "$ac_cxx_werror_flag"
29467 || test ! -s conftest.err'
29468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29469 (eval $ac_try) 2>&5
29471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29472 (exit $ac_status); }; } &&
29473 { ac_try
='test -s conftest.$ac_objext'
29474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29475 (eval $ac_try) 2>&5
29477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29478 (exit $ac_status); }; }; then
29479 wx_cv_size_t_is_uint
=no
29481 echo "$as_me: failed program was:" >&5
29482 sed 's/^/| /' conftest.
$ac_ext >&5
29484 wx_cv_size_t_is_uint
=yes
29487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29491 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
29492 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
29494 if test "$wx_cv_size_t_is_uint" = "yes"; then
29495 cat >>confdefs.h
<<\_ACEOF
29496 #define wxSIZE_T_IS_UINT 1
29500 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
29501 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
29502 if test "${wx_cv_size_t_is_ulong+set}" = set; then
29503 echo $ECHO_N "(cached) $ECHO_C" >&6
29505 cat >conftest.
$ac_ext <<_ACEOF
29508 cat confdefs.h
>>conftest.
$ac_ext
29509 cat >>conftest.
$ac_ext <<_ACEOF
29510 /* end confdefs.h. */
29511 #include <stddef.h>
29518 struct Foo { void foo(size_t); void foo(unsigned long); };
29526 rm -f conftest.
$ac_objext
29527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29528 (eval $ac_compile) 2>conftest.er1
29530 grep -v '^ *+' conftest.er1
>conftest.err
29532 cat conftest.err
>&5
29533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29534 (exit $ac_status); } &&
29535 { ac_try
='test -z "$ac_cxx_werror_flag"
29536 || test ! -s conftest.err'
29537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29538 (eval $ac_try) 2>&5
29540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29541 (exit $ac_status); }; } &&
29542 { ac_try
='test -s conftest.$ac_objext'
29543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29544 (eval $ac_try) 2>&5
29546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29547 (exit $ac_status); }; }; then
29548 wx_cv_size_t_is_ulong
=no
29550 echo "$as_me: failed program was:" >&5
29551 sed 's/^/| /' conftest.
$ac_ext >&5
29553 wx_cv_size_t_is_ulong
=yes
29556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29559 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
29560 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
29562 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29563 cat >>confdefs.h
<<\_ACEOF
29564 #define wxSIZE_T_IS_ULONG 1
29571 ac_cpp
='$CPP $CPPFLAGS'
29572 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29573 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29574 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29578 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
29579 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
29580 if test "${wx_cv_struct_pw_gecos+set}" = set; then
29581 echo $ECHO_N "(cached) $ECHO_C" >&6
29584 cat >conftest.
$ac_ext <<_ACEOF
29587 cat confdefs.h
>>conftest.
$ac_ext
29588 cat >>conftest.
$ac_ext <<_ACEOF
29589 /* end confdefs.h. */
29603 rm -f conftest.
$ac_objext
29604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29605 (eval $ac_compile) 2>conftest.er1
29607 grep -v '^ *+' conftest.er1
>conftest.err
29609 cat conftest.err
>&5
29610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29611 (exit $ac_status); } &&
29612 { ac_try
='test -z "$ac_c_werror_flag"
29613 || test ! -s conftest.err'
29614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29615 (eval $ac_try) 2>&5
29617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29618 (exit $ac_status); }; } &&
29619 { ac_try
='test -s conftest.$ac_objext'
29620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29621 (eval $ac_try) 2>&5
29623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29624 (exit $ac_status); }; }; then
29626 wx_cv_struct_pw_gecos
=yes
29629 echo "$as_me: failed program was:" >&5
29630 sed 's/^/| /' conftest.
$ac_ext >&5
29633 wx_cv_struct_pw_gecos
=no
29637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29641 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
29642 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
29644 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29645 cat >>confdefs.h
<<\_ACEOF
29646 #define HAVE_PW_GECOS 1
29652 if test "$wx_cv_sizeof_wchar_t" != "0"; then
29653 cat >>confdefs.h
<<\_ACEOF
29654 #define wxUSE_WCHAR_T 1
29661 for ac_func
in wcslen
29663 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29664 echo "$as_me:$LINENO: checking for $ac_func" >&5
29665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29666 if eval "test \"\${$as_ac_var+set}\" = set"; then
29667 echo $ECHO_N "(cached) $ECHO_C" >&6
29669 cat >conftest.
$ac_ext <<_ACEOF
29672 cat confdefs.h
>>conftest.
$ac_ext
29673 cat >>conftest.
$ac_ext <<_ACEOF
29674 /* end confdefs.h. */
29675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29677 #define $ac_func innocuous_$ac_func
29679 /* System header to define __stub macros and hopefully few prototypes,
29680 which can conflict with char $ac_func (); below.
29681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29682 <limits.h> exists even on freestanding compilers. */
29685 # include <limits.h>
29687 # include <assert.h>
29692 /* Override any gcc2 internal prototype to avoid an error. */
29697 /* We use char because int might match the return type of a gcc2
29698 builtin and then its argument prototype would still apply. */
29700 /* The GNU C library defines this for functions which it implements
29701 to always fail with ENOSYS. Some functions are actually named
29702 something starting with __ and the normal name is an alias. */
29703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29706 char (*f) () = $ac_func;
29715 return f != $ac_func;
29720 rm -f conftest.
$ac_objext conftest
$ac_exeext
29721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29722 (eval $ac_link) 2>conftest.er1
29724 grep -v '^ *+' conftest.er1
>conftest.err
29726 cat conftest.err
>&5
29727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29728 (exit $ac_status); } &&
29729 { ac_try
='test -z "$ac_c_werror_flag"
29730 || test ! -s conftest.err'
29731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29732 (eval $ac_try) 2>&5
29734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29735 (exit $ac_status); }; } &&
29736 { ac_try
='test -s conftest$ac_exeext'
29737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29738 (eval $ac_try) 2>&5
29740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29741 (exit $ac_status); }; }; then
29742 eval "$as_ac_var=yes"
29744 echo "$as_me: failed program was:" >&5
29745 sed 's/^/| /' conftest.
$ac_ext >&5
29747 eval "$as_ac_var=no"
29749 rm -f conftest.err conftest.
$ac_objext \
29750 conftest
$ac_exeext conftest.
$ac_ext
29752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29754 if test `eval echo '${'$as_ac_var'}'` = yes; then
29755 cat >>confdefs.h
<<_ACEOF
29756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29763 if test "$WCSLEN_FOUND" = 0; then
29764 if test "$TOOLKIT" = "MSW"; then
29765 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
29766 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
29767 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
29768 echo $ECHO_N "(cached) $ECHO_C" >&6
29770 ac_check_lib_save_LIBS
=$LIBS
29771 LIBS
="-lmsvcrt $LIBS"
29772 cat >conftest.
$ac_ext <<_ACEOF
29775 cat confdefs.h
>>conftest.
$ac_ext
29776 cat >>conftest.
$ac_ext <<_ACEOF
29777 /* end confdefs.h. */
29779 /* Override any gcc2 internal prototype to avoid an error. */
29783 /* We use char because int might match the return type of a gcc2
29784 builtin and then its argument prototype would still apply. */
29794 rm -f conftest.
$ac_objext conftest
$ac_exeext
29795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29796 (eval $ac_link) 2>conftest.er1
29798 grep -v '^ *+' conftest.er1
>conftest.err
29800 cat conftest.err
>&5
29801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29802 (exit $ac_status); } &&
29803 { ac_try
='test -z "$ac_c_werror_flag"
29804 || test ! -s conftest.err'
29805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29806 (eval $ac_try) 2>&5
29808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29809 (exit $ac_status); }; } &&
29810 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
29816 ac_cv_lib_msvcrt_wcslen
=yes
29818 echo "$as_me: failed program was:" >&5
29819 sed 's/^/| /' conftest.
$ac_ext >&5
29821 ac_cv_lib_msvcrt_wcslen
=no
29823 rm -f conftest.err conftest.
$ac_objext \
29824 conftest
$ac_exeext conftest.
$ac_ext
29825 LIBS
=$ac_check_lib_save_LIBS
29827 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
29828 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
29829 if test $ac_cv_lib_msvcrt_wcslen = yes; then
29834 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
29835 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
29836 if test "${ac_cv_lib_w_wcslen+set}" = set; then
29837 echo $ECHO_N "(cached) $ECHO_C" >&6
29839 ac_check_lib_save_LIBS
=$LIBS
29841 cat >conftest.
$ac_ext <<_ACEOF
29844 cat confdefs.h
>>conftest.
$ac_ext
29845 cat >>conftest.
$ac_ext <<_ACEOF
29846 /* end confdefs.h. */
29848 /* Override any gcc2 internal prototype to avoid an error. */
29852 /* We use char because int might match the return type of a gcc2
29853 builtin and then its argument prototype would still apply. */
29863 rm -f conftest.
$ac_objext conftest
$ac_exeext
29864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29865 (eval $ac_link) 2>conftest.er1
29867 grep -v '^ *+' conftest.er1
>conftest.err
29869 cat conftest.err
>&5
29870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29871 (exit $ac_status); } &&
29872 { ac_try
='test -z "$ac_c_werror_flag"
29873 || test ! -s conftest.err'
29874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29875 (eval $ac_try) 2>&5
29877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29878 (exit $ac_status); }; } &&
29879 { ac_try
='test -s conftest$ac_exeext'
29880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29881 (eval $ac_try) 2>&5
29883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29884 (exit $ac_status); }; }; then
29885 ac_cv_lib_w_wcslen
=yes
29887 echo "$as_me: failed program was:" >&5
29888 sed 's/^/| /' conftest.
$ac_ext >&5
29890 ac_cv_lib_w_wcslen
=no
29892 rm -f conftest.err conftest.
$ac_objext \
29893 conftest
$ac_exeext conftest.
$ac_ext
29894 LIBS
=$ac_check_lib_save_LIBS
29896 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29897 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29898 if test $ac_cv_lib_w_wcslen = yes; then
29908 if test "$WCSLEN_FOUND" = 1; then
29909 cat >>confdefs.h
<<\_ACEOF
29910 #define HAVE_WCSLEN 1
29915 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
29916 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29920 for ac_func
in wcsrtombs
29922 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29923 echo "$as_me:$LINENO: checking for $ac_func" >&5
29924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29925 if eval "test \"\${$as_ac_var+set}\" = set"; then
29926 echo $ECHO_N "(cached) $ECHO_C" >&6
29928 cat >conftest.
$ac_ext <<_ACEOF
29931 cat confdefs.h
>>conftest.
$ac_ext
29932 cat >>conftest.
$ac_ext <<_ACEOF
29933 /* end confdefs.h. */
29934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29936 #define $ac_func innocuous_$ac_func
29938 /* System header to define __stub macros and hopefully few prototypes,
29939 which can conflict with char $ac_func (); below.
29940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29941 <limits.h> exists even on freestanding compilers. */
29944 # include <limits.h>
29946 # include <assert.h>
29951 /* Override any gcc2 internal prototype to avoid an error. */
29956 /* We use char because int might match the return type of a gcc2
29957 builtin and then its argument prototype would still apply. */
29959 /* The GNU C library defines this for functions which it implements
29960 to always fail with ENOSYS. Some functions are actually named
29961 something starting with __ and the normal name is an alias. */
29962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29965 char (*f) () = $ac_func;
29974 return f != $ac_func;
29979 rm -f conftest.
$ac_objext conftest
$ac_exeext
29980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29981 (eval $ac_link) 2>conftest.er1
29983 grep -v '^ *+' conftest.er1
>conftest.err
29985 cat conftest.err
>&5
29986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29987 (exit $ac_status); } &&
29988 { ac_try
='test -z "$ac_c_werror_flag"
29989 || test ! -s conftest.err'
29990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29991 (eval $ac_try) 2>&5
29993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29994 (exit $ac_status); }; } &&
29995 { ac_try
='test -s conftest$ac_exeext'
29996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29997 (eval $ac_try) 2>&5
29999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30000 (exit $ac_status); }; }; then
30001 eval "$as_ac_var=yes"
30003 echo "$as_me: failed program was:" >&5
30004 sed 's/^/| /' conftest.
$ac_ext >&5
30006 eval "$as_ac_var=no"
30008 rm -f conftest.err conftest.
$ac_objext \
30009 conftest
$ac_exeext conftest.
$ac_ext
30011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30013 if test `eval echo '${'$as_ac_var'}'` = yes; then
30014 cat >>confdefs.h
<<_ACEOF
30015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30022 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
30023 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
30029 ac_cpp
='$CXXCPP $CPPFLAGS'
30030 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30031 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30032 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30036 for ac_func
in vsnprintf
30038 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30039 echo "$as_me:$LINENO: checking for $ac_func" >&5
30040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30041 if eval "test \"\${$as_ac_var+set}\" = set"; then
30042 echo $ECHO_N "(cached) $ECHO_C" >&6
30044 cat >conftest.
$ac_ext <<_ACEOF
30047 cat confdefs.h
>>conftest.
$ac_ext
30048 cat >>conftest.
$ac_ext <<_ACEOF
30049 /* end confdefs.h. */
30050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30052 #define $ac_func innocuous_$ac_func
30054 /* System header to define __stub macros and hopefully few prototypes,
30055 which can conflict with char $ac_func (); below.
30056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30057 <limits.h> exists even on freestanding compilers. */
30060 # include <limits.h>
30062 # include <assert.h>
30067 /* Override any gcc2 internal prototype to avoid an error. */
30072 /* We use char because int might match the return type of a gcc2
30073 builtin and then its argument prototype would still apply. */
30075 /* The GNU C library defines this for functions which it implements
30076 to always fail with ENOSYS. Some functions are actually named
30077 something starting with __ and the normal name is an alias. */
30078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30081 char (*f) () = $ac_func;
30090 return f != $ac_func;
30095 rm -f conftest.
$ac_objext conftest
$ac_exeext
30096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30097 (eval $ac_link) 2>conftest.er1
30099 grep -v '^ *+' conftest.er1
>conftest.err
30101 cat conftest.err
>&5
30102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30103 (exit $ac_status); } &&
30104 { ac_try
='test -z "$ac_cxx_werror_flag"
30105 || test ! -s conftest.err'
30106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30107 (eval $ac_try) 2>&5
30109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30110 (exit $ac_status); }; } &&
30111 { ac_try
='test -s conftest$ac_exeext'
30112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30113 (eval $ac_try) 2>&5
30115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30116 (exit $ac_status); }; }; then
30117 eval "$as_ac_var=yes"
30119 echo "$as_me: failed program was:" >&5
30120 sed 's/^/| /' conftest.
$ac_ext >&5
30122 eval "$as_ac_var=no"
30124 rm -f conftest.err conftest.
$ac_objext \
30125 conftest
$ac_exeext conftest.
$ac_ext
30127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30129 if test `eval echo '${'$as_ac_var'}'` = yes; then
30130 cat >>confdefs.h
<<_ACEOF
30131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30138 if test "$ac_cv_func_vsnprintf" = "yes"; then
30139 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
30140 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
30141 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
30142 echo $ECHO_N "(cached) $ECHO_C" >&6
30145 cat >conftest.
$ac_ext <<_ACEOF
30148 cat confdefs.h
>>conftest.
$ac_ext
30149 cat >>conftest.
$ac_ext <<_ACEOF
30150 /* end confdefs.h. */
30153 #include <stdarg.h>
30161 vsnprintf(buf, 10u, "%s", ap);
30167 rm -f conftest.
$ac_objext
30168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30169 (eval $ac_compile) 2>conftest.er1
30171 grep -v '^ *+' conftest.er1
>conftest.err
30173 cat conftest.err
>&5
30174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30175 (exit $ac_status); } &&
30176 { ac_try
='test -z "$ac_cxx_werror_flag"
30177 || test ! -s conftest.err'
30178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30179 (eval $ac_try) 2>&5
30181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30182 (exit $ac_status); }; } &&
30183 { ac_try
='test -s conftest.$ac_objext'
30184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30185 (eval $ac_try) 2>&5
30187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30188 (exit $ac_status); }; }; then
30189 wx_cv_func_vsnprintf_decl
=yes
30191 echo "$as_me: failed program was:" >&5
30192 sed 's/^/| /' conftest.
$ac_ext >&5
30194 wx_cv_func_vsnprintf_decl
=no
30197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30201 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
30202 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
30204 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
30205 cat >>confdefs.h
<<\_ACEOF
30206 #define HAVE_VSNPRINTF_DECL 1
30212 if test "$wxUSE_UNICODE" = yes; then
30219 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
30221 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30222 echo "$as_me:$LINENO: checking for $ac_func" >&5
30223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30224 if eval "test \"\${$as_ac_var+set}\" = set"; then
30225 echo $ECHO_N "(cached) $ECHO_C" >&6
30227 cat >conftest.
$ac_ext <<_ACEOF
30230 cat confdefs.h
>>conftest.
$ac_ext
30231 cat >>conftest.
$ac_ext <<_ACEOF
30232 /* end confdefs.h. */
30233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30235 #define $ac_func innocuous_$ac_func
30237 /* System header to define __stub macros and hopefully few prototypes,
30238 which can conflict with char $ac_func (); below.
30239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30240 <limits.h> exists even on freestanding compilers. */
30243 # include <limits.h>
30245 # include <assert.h>
30250 /* Override any gcc2 internal prototype to avoid an error. */
30255 /* We use char because int might match the return type of a gcc2
30256 builtin and then its argument prototype would still apply. */
30258 /* The GNU C library defines this for functions which it implements
30259 to always fail with ENOSYS. Some functions are actually named
30260 something starting with __ and the normal name is an alias. */
30261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30264 char (*f) () = $ac_func;
30273 return f != $ac_func;
30278 rm -f conftest.
$ac_objext conftest
$ac_exeext
30279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30280 (eval $ac_link) 2>conftest.er1
30282 grep -v '^ *+' conftest.er1
>conftest.err
30284 cat conftest.err
>&5
30285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30286 (exit $ac_status); } &&
30287 { ac_try
='test -z "$ac_cxx_werror_flag"
30288 || test ! -s conftest.err'
30289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30290 (eval $ac_try) 2>&5
30292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30293 (exit $ac_status); }; } &&
30294 { ac_try
='test -s conftest$ac_exeext'
30295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30296 (eval $ac_try) 2>&5
30298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30299 (exit $ac_status); }; }; then
30300 eval "$as_ac_var=yes"
30302 echo "$as_me: failed program was:" >&5
30303 sed 's/^/| /' conftest.
$ac_ext >&5
30305 eval "$as_ac_var=no"
30307 rm -f conftest.err conftest.
$ac_objext \
30308 conftest
$ac_exeext conftest.
$ac_ext
30310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30312 if test `eval echo '${'$as_ac_var'}'` = yes; then
30313 cat >>confdefs.h
<<_ACEOF
30314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30321 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
30322 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
30323 cat >conftest.
$ac_ext <<_ACEOF
30326 cat confdefs.h
>>conftest.
$ac_ext
30327 cat >>conftest.
$ac_ext <<_ACEOF
30328 /* end confdefs.h. */
30338 rm -f conftest.
$ac_objext
30339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30340 (eval $ac_compile) 2>conftest.er1
30342 grep -v '^ *+' conftest.er1
>conftest.err
30344 cat conftest.err
>&5
30345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30346 (exit $ac_status); } &&
30347 { ac_try
='test -z "$ac_cxx_werror_flag"
30348 || test ! -s conftest.err'
30349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30350 (eval $ac_try) 2>&5
30352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30353 (exit $ac_status); }; } &&
30354 { ac_try
='test -s conftest.$ac_objext'
30355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30356 (eval $ac_try) 2>&5
30358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30359 (exit $ac_status); }; }; then
30360 echo "$as_me:$LINENO: result: yes" >&5
30361 echo "${ECHO_T}yes" >&6
30362 cat >>confdefs.h
<<\_ACEOF
30363 #define HAVE__VSNWPRINTF 1
30367 echo "$as_me: failed program was:" >&5
30368 sed 's/^/| /' conftest.
$ac_ext >&5
30370 echo "$as_me:$LINENO: result: no" >&5
30371 echo "${ECHO_T}no" >&6
30373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
30377 ac_cpp
='$CPP $CPPFLAGS'
30378 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30379 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30380 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30385 if test "$TOOLKIT" != "MSW"; then
30391 ac_cpp
='$CXXCPP $CPPFLAGS'
30392 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30393 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30394 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30399 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
30400 if test "${with_libiconv_prefix+set}" = set; then
30401 withval
="$with_libiconv_prefix"
30403 for dir
in `echo "$withval" | tr : ' '`; do
30404 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
30405 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
30410 echo "$as_me:$LINENO: checking for iconv" >&5
30411 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
30412 if test "${am_cv_func_iconv+set}" = set; then
30413 echo $ECHO_N "(cached) $ECHO_C" >&6
30416 am_cv_func_iconv
="no, consider installing GNU libiconv"
30418 cat >conftest.
$ac_ext <<_ACEOF
30421 cat confdefs.h
>>conftest.
$ac_ext
30422 cat >>conftest.
$ac_ext <<_ACEOF
30423 /* end confdefs.h. */
30424 #include <stdlib.h>
30429 iconv_t cd = iconv_open("","");
30430 iconv(cd,NULL,NULL,NULL,NULL);
30436 rm -f conftest.
$ac_objext conftest
$ac_exeext
30437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30438 (eval $ac_link) 2>conftest.er1
30440 grep -v '^ *+' conftest.er1
>conftest.err
30442 cat conftest.err
>&5
30443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30444 (exit $ac_status); } &&
30445 { ac_try
='test -z "$ac_cxx_werror_flag"
30446 || test ! -s conftest.err'
30447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30448 (eval $ac_try) 2>&5
30450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30451 (exit $ac_status); }; } &&
30452 { ac_try
='test -s conftest$ac_exeext'
30453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30454 (eval $ac_try) 2>&5
30456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30457 (exit $ac_status); }; }; then
30458 am_cv_func_iconv
=yes
30460 echo "$as_me: failed program was:" >&5
30461 sed 's/^/| /' conftest.
$ac_ext >&5
30464 rm -f conftest.err conftest.
$ac_objext \
30465 conftest
$ac_exeext conftest.
$ac_ext
30466 if test "$am_cv_func_iconv" != yes; then
30467 am_save_LIBS
="$LIBS"
30468 LIBS
="$LIBS -liconv"
30469 cat >conftest.
$ac_ext <<_ACEOF
30472 cat confdefs.h
>>conftest.
$ac_ext
30473 cat >>conftest.
$ac_ext <<_ACEOF
30474 /* end confdefs.h. */
30475 #include <stdlib.h>
30480 iconv_t cd = iconv_open("","");
30481 iconv(cd,NULL,NULL,NULL,NULL);
30487 rm -f conftest.
$ac_objext conftest
$ac_exeext
30488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30489 (eval $ac_link) 2>conftest.er1
30491 grep -v '^ *+' conftest.er1
>conftest.err
30493 cat conftest.err
>&5
30494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30495 (exit $ac_status); } &&
30496 { ac_try
='test -z "$ac_cxx_werror_flag"
30497 || test ! -s conftest.err'
30498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30499 (eval $ac_try) 2>&5
30501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30502 (exit $ac_status); }; } &&
30503 { ac_try
='test -s conftest$ac_exeext'
30504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30505 (eval $ac_try) 2>&5
30507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30508 (exit $ac_status); }; }; then
30509 am_cv_lib_iconv
=yes
30510 am_cv_func_iconv
=yes
30512 echo "$as_me: failed program was:" >&5
30513 sed 's/^/| /' conftest.
$ac_ext >&5
30516 rm -f conftest.err conftest.
$ac_objext \
30517 conftest
$ac_exeext conftest.
$ac_ext
30518 LIBS
="$am_save_LIBS"
30522 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
30523 echo "${ECHO_T}$am_cv_func_iconv" >&6
30524 if test "$am_cv_func_iconv" = yes; then
30526 cat >>confdefs.h
<<\_ACEOF
30527 #define HAVE_ICONV 1
30530 echo "$as_me:$LINENO: checking if iconv needs const" >&5
30531 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
30532 if test "${wx_cv_func_iconv_const+set}" = set; then
30533 echo $ECHO_N "(cached) $ECHO_C" >&6
30535 cat >conftest.
$ac_ext <<_ACEOF
30538 cat confdefs.h
>>conftest.
$ac_ext
30539 cat >>conftest.
$ac_ext <<_ACEOF
30540 /* end confdefs.h. */
30542 #include <stdlib.h>
30548 #if defined(__STDC__) || defined(__cplusplus)
30549 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30562 rm -f conftest.
$ac_objext
30563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30564 (eval $ac_compile) 2>conftest.er1
30566 grep -v '^ *+' conftest.er1
>conftest.err
30568 cat conftest.err
>&5
30569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570 (exit $ac_status); } &&
30571 { ac_try
='test -z "$ac_cxx_werror_flag"
30572 || test ! -s conftest.err'
30573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30574 (eval $ac_try) 2>&5
30576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577 (exit $ac_status); }; } &&
30578 { ac_try
='test -s conftest.$ac_objext'
30579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30580 (eval $ac_try) 2>&5
30582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583 (exit $ac_status); }; }; then
30584 wx_cv_func_iconv_const
="no"
30586 echo "$as_me: failed program was:" >&5
30587 sed 's/^/| /' conftest.
$ac_ext >&5
30589 wx_cv_func_iconv_const
="yes"
30592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30595 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
30596 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
30599 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30600 iconv_const
="const"
30604 cat >>confdefs.h
<<_ACEOF
30605 #define ICONV_CONST $iconv_const
30610 if test "$am_cv_lib_iconv" = yes; then
30615 LIBS
="$LIBICONV $LIBS"
30617 ac_cpp
='$CPP $CPPFLAGS'
30618 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30619 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30620 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30623 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30625 for ac_func
in sigaction
30627 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30628 echo "$as_me:$LINENO: checking for $ac_func" >&5
30629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30630 if eval "test \"\${$as_ac_var+set}\" = set"; then
30631 echo $ECHO_N "(cached) $ECHO_C" >&6
30633 cat >conftest.
$ac_ext <<_ACEOF
30636 cat confdefs.h
>>conftest.
$ac_ext
30637 cat >>conftest.
$ac_ext <<_ACEOF
30638 /* end confdefs.h. */
30639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30641 #define $ac_func innocuous_$ac_func
30643 /* System header to define __stub macros and hopefully few prototypes,
30644 which can conflict with char $ac_func (); below.
30645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30646 <limits.h> exists even on freestanding compilers. */
30649 # include <limits.h>
30651 # include <assert.h>
30656 /* Override any gcc2 internal prototype to avoid an error. */
30661 /* We use char because int might match the return type of a gcc2
30662 builtin and then its argument prototype would still apply. */
30664 /* The GNU C library defines this for functions which it implements
30665 to always fail with ENOSYS. Some functions are actually named
30666 something starting with __ and the normal name is an alias. */
30667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30670 char (*f) () = $ac_func;
30679 return f != $ac_func;
30684 rm -f conftest.
$ac_objext conftest
$ac_exeext
30685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30686 (eval $ac_link) 2>conftest.er1
30688 grep -v '^ *+' conftest.er1
>conftest.err
30690 cat conftest.err
>&5
30691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30692 (exit $ac_status); } &&
30693 { ac_try
='test -z "$ac_c_werror_flag"
30694 || test ! -s conftest.err'
30695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30696 (eval $ac_try) 2>&5
30698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30699 (exit $ac_status); }; } &&
30700 { ac_try
='test -s conftest$ac_exeext'
30701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30702 (eval $ac_try) 2>&5
30704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30705 (exit $ac_status); }; }; then
30706 eval "$as_ac_var=yes"
30708 echo "$as_me: failed program was:" >&5
30709 sed 's/^/| /' conftest.
$ac_ext >&5
30711 eval "$as_ac_var=no"
30713 rm -f conftest.err conftest.
$ac_objext \
30714 conftest
$ac_exeext conftest.
$ac_ext
30716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30718 if test `eval echo '${'$as_ac_var'}'` = yes; then
30719 cat >>confdefs.h
<<_ACEOF
30720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30727 if test "$ac_cv_func_sigaction" = "no"; then
30728 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30729 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30730 wxUSE_ON_FATAL_EXCEPTION
=no
30733 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30737 ac_cpp
='$CXXCPP $CPPFLAGS'
30738 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30739 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30740 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30743 echo "$as_me:$LINENO: checking for sa_handler type" >&5
30744 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
30745 if test "${wx_cv_type_sa_handler+set}" = set; then
30746 echo $ECHO_N "(cached) $ECHO_C" >&6
30749 cat >conftest.
$ac_ext <<_ACEOF
30752 cat confdefs.h
>>conftest.
$ac_ext
30753 cat >>conftest.
$ac_ext <<_ACEOF
30754 /* end confdefs.h. */
30755 #include <signal.h>
30760 extern void testSigHandler(int);
30762 struct sigaction sa;
30763 sa.sa_handler = testSigHandler;
30769 rm -f conftest.
$ac_objext
30770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30771 (eval $ac_compile) 2>conftest.er1
30773 grep -v '^ *+' conftest.er1
>conftest.err
30775 cat conftest.err
>&5
30776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777 (exit $ac_status); } &&
30778 { ac_try
='test -z "$ac_cxx_werror_flag"
30779 || test ! -s conftest.err'
30780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30781 (eval $ac_try) 2>&5
30783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30784 (exit $ac_status); }; } &&
30785 { ac_try
='test -s conftest.$ac_objext'
30786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30787 (eval $ac_try) 2>&5
30789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30790 (exit $ac_status); }; }; then
30792 wx_cv_type_sa_handler
=int
30795 echo "$as_me: failed program was:" >&5
30796 sed 's/^/| /' conftest.
$ac_ext >&5
30799 wx_cv_type_sa_handler
=void
30802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30805 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
30806 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
30809 ac_cpp
='$CPP $CPPFLAGS'
30810 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30811 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30812 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30815 cat >>confdefs.h
<<_ACEOF
30816 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30824 for ac_func
in mkstemp mktemp
30826 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30827 echo "$as_me:$LINENO: checking for $ac_func" >&5
30828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30829 if eval "test \"\${$as_ac_var+set}\" = set"; then
30830 echo $ECHO_N "(cached) $ECHO_C" >&6
30832 cat >conftest.
$ac_ext <<_ACEOF
30835 cat confdefs.h
>>conftest.
$ac_ext
30836 cat >>conftest.
$ac_ext <<_ACEOF
30837 /* end confdefs.h. */
30838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30840 #define $ac_func innocuous_$ac_func
30842 /* System header to define __stub macros and hopefully few prototypes,
30843 which can conflict with char $ac_func (); below.
30844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30845 <limits.h> exists even on freestanding compilers. */
30848 # include <limits.h>
30850 # include <assert.h>
30855 /* Override any gcc2 internal prototype to avoid an error. */
30860 /* We use char because int might match the return type of a gcc2
30861 builtin and then its argument prototype would still apply. */
30863 /* The GNU C library defines this for functions which it implements
30864 to always fail with ENOSYS. Some functions are actually named
30865 something starting with __ and the normal name is an alias. */
30866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30869 char (*f) () = $ac_func;
30878 return f != $ac_func;
30883 rm -f conftest.
$ac_objext conftest
$ac_exeext
30884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30885 (eval $ac_link) 2>conftest.er1
30887 grep -v '^ *+' conftest.er1
>conftest.err
30889 cat conftest.err
>&5
30890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30891 (exit $ac_status); } &&
30892 { ac_try
='test -z "$ac_c_werror_flag"
30893 || test ! -s conftest.err'
30894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30895 (eval $ac_try) 2>&5
30897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30898 (exit $ac_status); }; } &&
30899 { ac_try
='test -s conftest$ac_exeext'
30900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30901 (eval $ac_try) 2>&5
30903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30904 (exit $ac_status); }; }; then
30905 eval "$as_ac_var=yes"
30907 echo "$as_me: failed program was:" >&5
30908 sed 's/^/| /' conftest.
$ac_ext >&5
30910 eval "$as_ac_var=no"
30912 rm -f conftest.err conftest.
$ac_objext \
30913 conftest
$ac_exeext conftest.
$ac_ext
30915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30917 if test `eval echo '${'$as_ac_var'}'` = yes; then
30918 cat >>confdefs.h
<<_ACEOF
30919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30926 echo "$as_me:$LINENO: checking for statfs" >&5
30927 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30928 if test "${wx_cv_func_statfs+set}" = set; then
30929 echo $ECHO_N "(cached) $ECHO_C" >&6
30931 cat >conftest.
$ac_ext <<_ACEOF
30934 cat confdefs.h
>>conftest.
$ac_ext
30935 cat >>conftest.
$ac_ext <<_ACEOF
30936 /* end confdefs.h. */
30938 #if defined(__BSD__)
30939 #include <sys/param.h>
30940 #include <sys/mount.h>
30942 #include <sys/vfs.h>
30960 rm -f conftest.
$ac_objext
30961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30962 (eval $ac_compile) 2>conftest.er1
30964 grep -v '^ *+' conftest.er1
>conftest.err
30966 cat conftest.err
>&5
30967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30968 (exit $ac_status); } &&
30969 { ac_try
='test -z "$ac_c_werror_flag"
30970 || test ! -s conftest.err'
30971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30972 (eval $ac_try) 2>&5
30974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30975 (exit $ac_status); }; } &&
30976 { ac_try
='test -s conftest.$ac_objext'
30977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30978 (eval $ac_try) 2>&5
30980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30981 (exit $ac_status); }; }; then
30983 wx_cv_func_statfs
=yes
30986 echo "$as_me: failed program was:" >&5
30987 sed 's/^/| /' conftest.
$ac_ext >&5
30990 wx_cv_func_statfs
=no
30994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30997 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30998 echo "${ECHO_T}$wx_cv_func_statfs" >&6
31000 if test "$wx_cv_func_statfs" = "yes"; then
31001 wx_cv_type_statvfs_t
="struct statfs"
31002 cat >>confdefs.h
<<\_ACEOF
31003 #define HAVE_STATFS 1
31007 echo "$as_me:$LINENO: checking for statvfs" >&5
31008 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
31009 if test "${wx_cv_func_statvfs+set}" = set; then
31010 echo $ECHO_N "(cached) $ECHO_C" >&6
31012 cat >conftest.
$ac_ext <<_ACEOF
31015 cat confdefs.h
>>conftest.
$ac_ext
31016 cat >>conftest.
$ac_ext <<_ACEOF
31017 /* end confdefs.h. */
31019 #include <stddef.h>
31020 #include <sys/statvfs.h>
31026 statvfs("/", NULL);
31032 rm -f conftest.
$ac_objext
31033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31034 (eval $ac_compile) 2>conftest.er1
31036 grep -v '^ *+' conftest.er1
>conftest.err
31038 cat conftest.err
>&5
31039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31040 (exit $ac_status); } &&
31041 { ac_try
='test -z "$ac_c_werror_flag"
31042 || test ! -s conftest.err'
31043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31044 (eval $ac_try) 2>&5
31046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31047 (exit $ac_status); }; } &&
31048 { ac_try
='test -s conftest.$ac_objext'
31049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31050 (eval $ac_try) 2>&5
31052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31053 (exit $ac_status); }; }; then
31054 wx_cv_func_statvfs
=yes
31056 echo "$as_me: failed program was:" >&5
31057 sed 's/^/| /' conftest.
$ac_ext >&5
31059 wx_cv_func_statvfs
=no
31062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31065 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
31066 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
31068 if test "$wx_cv_func_statvfs" = "yes"; then
31072 ac_cpp
='$CXXCPP $CPPFLAGS'
31073 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31074 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31075 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31078 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
31079 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
31080 if test "${wx_cv_type_statvfs_t+set}" = set; then
31081 echo $ECHO_N "(cached) $ECHO_C" >&6
31083 cat >conftest.
$ac_ext <<_ACEOF
31086 cat confdefs.h
>>conftest.
$ac_ext
31087 cat >>conftest.
$ac_ext <<_ACEOF
31088 /* end confdefs.h. */
31090 #include <sys/statvfs.h>
31107 rm -f conftest.
$ac_objext
31108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31109 (eval $ac_compile) 2>conftest.er1
31111 grep -v '^ *+' conftest.er1
>conftest.err
31113 cat conftest.err
>&5
31114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31115 (exit $ac_status); } &&
31116 { ac_try
='test -z "$ac_cxx_werror_flag"
31117 || test ! -s conftest.err'
31118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31119 (eval $ac_try) 2>&5
31121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31122 (exit $ac_status); }; } &&
31123 { ac_try
='test -s conftest.$ac_objext'
31124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31125 (eval $ac_try) 2>&5
31127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31128 (exit $ac_status); }; }; then
31129 wx_cv_type_statvfs_t
=statvfs_t
31131 echo "$as_me: failed program was:" >&5
31132 sed 's/^/| /' conftest.
$ac_ext >&5
31135 cat >conftest.
$ac_ext <<_ACEOF
31138 cat confdefs.h
>>conftest.
$ac_ext
31139 cat >>conftest.
$ac_ext <<_ACEOF
31140 /* end confdefs.h. */
31142 #include <sys/statvfs.h>
31159 rm -f conftest.
$ac_objext
31160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31161 (eval $ac_compile) 2>conftest.er1
31163 grep -v '^ *+' conftest.er1
>conftest.err
31165 cat conftest.err
>&5
31166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31167 (exit $ac_status); } &&
31168 { ac_try
='test -z "$ac_cxx_werror_flag"
31169 || test ! -s conftest.err'
31170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31171 (eval $ac_try) 2>&5
31173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31174 (exit $ac_status); }; } &&
31175 { ac_try
='test -s conftest.$ac_objext'
31176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31177 (eval $ac_try) 2>&5
31179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31180 (exit $ac_status); }; }; then
31181 wx_cv_type_statvfs_t
="struct statvfs"
31183 echo "$as_me: failed program was:" >&5
31184 sed 's/^/| /' conftest.
$ac_ext >&5
31186 wx_cv_type_statvfs_t
="unknown"
31189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31196 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
31197 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
31200 ac_cpp
='$CPP $CPPFLAGS'
31201 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31202 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31203 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31206 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31207 cat >>confdefs.h
<<\_ACEOF
31208 #define HAVE_STATVFS 1
31213 wx_cv_type_statvfs_t
="unknown"
31217 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31218 cat >>confdefs.h
<<_ACEOF
31219 #define WX_STATFS_T $wx_cv_type_statvfs_t
31223 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31224 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31227 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31230 for ac_func
in fcntl flock
31232 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31233 echo "$as_me:$LINENO: checking for $ac_func" >&5
31234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31235 if eval "test \"\${$as_ac_var+set}\" = set"; then
31236 echo $ECHO_N "(cached) $ECHO_C" >&6
31238 cat >conftest.
$ac_ext <<_ACEOF
31241 cat confdefs.h
>>conftest.
$ac_ext
31242 cat >>conftest.
$ac_ext <<_ACEOF
31243 /* end confdefs.h. */
31244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31246 #define $ac_func innocuous_$ac_func
31248 /* System header to define __stub macros and hopefully few prototypes,
31249 which can conflict with char $ac_func (); below.
31250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31251 <limits.h> exists even on freestanding compilers. */
31254 # include <limits.h>
31256 # include <assert.h>
31261 /* Override any gcc2 internal prototype to avoid an error. */
31266 /* We use char because int might match the return type of a gcc2
31267 builtin and then its argument prototype would still apply. */
31269 /* The GNU C library defines this for functions which it implements
31270 to always fail with ENOSYS. Some functions are actually named
31271 something starting with __ and the normal name is an alias. */
31272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31275 char (*f) () = $ac_func;
31284 return f != $ac_func;
31289 rm -f conftest.
$ac_objext conftest
$ac_exeext
31290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31291 (eval $ac_link) 2>conftest.er1
31293 grep -v '^ *+' conftest.er1
>conftest.err
31295 cat conftest.err
>&5
31296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31297 (exit $ac_status); } &&
31298 { ac_try
='test -z "$ac_c_werror_flag"
31299 || test ! -s conftest.err'
31300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31301 (eval $ac_try) 2>&5
31303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31304 (exit $ac_status); }; } &&
31305 { ac_try
='test -s conftest$ac_exeext'
31306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31307 (eval $ac_try) 2>&5
31309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31310 (exit $ac_status); }; }; then
31311 eval "$as_ac_var=yes"
31313 echo "$as_me: failed program was:" >&5
31314 sed 's/^/| /' conftest.
$ac_ext >&5
31316 eval "$as_ac_var=no"
31318 rm -f conftest.err conftest.
$ac_objext \
31319 conftest
$ac_exeext conftest.
$ac_ext
31321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31323 if test `eval echo '${'$as_ac_var'}'` = yes; then
31324 cat >>confdefs.h
<<_ACEOF
31325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31332 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31333 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
31334 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31335 wxUSE_SNGLINST_CHECKER
=no
31340 for ac_func
in timegm
31342 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31343 echo "$as_me:$LINENO: checking for $ac_func" >&5
31344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31345 if eval "test \"\${$as_ac_var+set}\" = set"; then
31346 echo $ECHO_N "(cached) $ECHO_C" >&6
31348 cat >conftest.
$ac_ext <<_ACEOF
31351 cat confdefs.h
>>conftest.
$ac_ext
31352 cat >>conftest.
$ac_ext <<_ACEOF
31353 /* end confdefs.h. */
31354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31356 #define $ac_func innocuous_$ac_func
31358 /* System header to define __stub macros and hopefully few prototypes,
31359 which can conflict with char $ac_func (); below.
31360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31361 <limits.h> exists even on freestanding compilers. */
31364 # include <limits.h>
31366 # include <assert.h>
31371 /* Override any gcc2 internal prototype to avoid an error. */
31376 /* We use char because int might match the return type of a gcc2
31377 builtin and then its argument prototype would still apply. */
31379 /* The GNU C library defines this for functions which it implements
31380 to always fail with ENOSYS. Some functions are actually named
31381 something starting with __ and the normal name is an alias. */
31382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31385 char (*f) () = $ac_func;
31394 return f != $ac_func;
31399 rm -f conftest.
$ac_objext conftest
$ac_exeext
31400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31401 (eval $ac_link) 2>conftest.er1
31403 grep -v '^ *+' conftest.er1
>conftest.err
31405 cat conftest.err
>&5
31406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31407 (exit $ac_status); } &&
31408 { ac_try
='test -z "$ac_c_werror_flag"
31409 || test ! -s conftest.err'
31410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31411 (eval $ac_try) 2>&5
31413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31414 (exit $ac_status); }; } &&
31415 { ac_try
='test -s conftest$ac_exeext'
31416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31417 (eval $ac_try) 2>&5
31419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31420 (exit $ac_status); }; }; then
31421 eval "$as_ac_var=yes"
31423 echo "$as_me: failed program was:" >&5
31424 sed 's/^/| /' conftest.
$ac_ext >&5
31426 eval "$as_ac_var=no"
31428 rm -f conftest.err conftest.
$ac_objext \
31429 conftest
$ac_exeext conftest.
$ac_ext
31431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31433 if test `eval echo '${'$as_ac_var'}'` = yes; then
31434 cat >>confdefs.h
<<_ACEOF
31435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31444 for ac_func
in putenv setenv
31446 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31447 echo "$as_me:$LINENO: checking for $ac_func" >&5
31448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31449 if eval "test \"\${$as_ac_var+set}\" = set"; then
31450 echo $ECHO_N "(cached) $ECHO_C" >&6
31452 cat >conftest.
$ac_ext <<_ACEOF
31455 cat confdefs.h
>>conftest.
$ac_ext
31456 cat >>conftest.
$ac_ext <<_ACEOF
31457 /* end confdefs.h. */
31458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31460 #define $ac_func innocuous_$ac_func
31462 /* System header to define __stub macros and hopefully few prototypes,
31463 which can conflict with char $ac_func (); below.
31464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31465 <limits.h> exists even on freestanding compilers. */
31468 # include <limits.h>
31470 # include <assert.h>
31475 /* Override any gcc2 internal prototype to avoid an error. */
31480 /* We use char because int might match the return type of a gcc2
31481 builtin and then its argument prototype would still apply. */
31483 /* The GNU C library defines this for functions which it implements
31484 to always fail with ENOSYS. Some functions are actually named
31485 something starting with __ and the normal name is an alias. */
31486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31489 char (*f) () = $ac_func;
31498 return f != $ac_func;
31503 rm -f conftest.
$ac_objext conftest
$ac_exeext
31504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31505 (eval $ac_link) 2>conftest.er1
31507 grep -v '^ *+' conftest.er1
>conftest.err
31509 cat conftest.err
>&5
31510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31511 (exit $ac_status); } &&
31512 { ac_try
='test -z "$ac_c_werror_flag"
31513 || test ! -s conftest.err'
31514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31515 (eval $ac_try) 2>&5
31517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31518 (exit $ac_status); }; } &&
31519 { ac_try
='test -s conftest$ac_exeext'
31520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31521 (eval $ac_try) 2>&5
31523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31524 (exit $ac_status); }; }; then
31525 eval "$as_ac_var=yes"
31527 echo "$as_me: failed program was:" >&5
31528 sed 's/^/| /' conftest.
$ac_ext >&5
31530 eval "$as_ac_var=no"
31532 rm -f conftest.err conftest.
$ac_objext \
31533 conftest
$ac_exeext conftest.
$ac_ext
31535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31537 if test `eval echo '${'$as_ac_var'}'` = yes; then
31538 cat >>confdefs.h
<<_ACEOF
31539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31546 HAVE_SOME_SLEEP_FUNC
=0
31547 if test "$USE_BEOS" = 1; then
31548 cat >>confdefs.h
<<\_ACEOF
31549 #define HAVE_SLEEP 1
31552 HAVE_SOME_SLEEP_FUNC
=1
31555 if test "$USE_DARWIN" = 1; then
31556 cat >>confdefs.h
<<\_ACEOF
31557 #define HAVE_USLEEP 1
31560 HAVE_SOME_SLEEP_FUNC
=1
31563 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31566 for ac_func
in nanosleep
31568 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31569 echo "$as_me:$LINENO: checking for $ac_func" >&5
31570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31571 if eval "test \"\${$as_ac_var+set}\" = set"; then
31572 echo $ECHO_N "(cached) $ECHO_C" >&6
31574 cat >conftest.
$ac_ext <<_ACEOF
31577 cat confdefs.h
>>conftest.
$ac_ext
31578 cat >>conftest.
$ac_ext <<_ACEOF
31579 /* end confdefs.h. */
31580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31582 #define $ac_func innocuous_$ac_func
31584 /* System header to define __stub macros and hopefully few prototypes,
31585 which can conflict with char $ac_func (); below.
31586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31587 <limits.h> exists even on freestanding compilers. */
31590 # include <limits.h>
31592 # include <assert.h>
31597 /* Override any gcc2 internal prototype to avoid an error. */
31602 /* We use char because int might match the return type of a gcc2
31603 builtin and then its argument prototype would still apply. */
31605 /* The GNU C library defines this for functions which it implements
31606 to always fail with ENOSYS. Some functions are actually named
31607 something starting with __ and the normal name is an alias. */
31608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31611 char (*f) () = $ac_func;
31620 return f != $ac_func;
31625 rm -f conftest.
$ac_objext conftest
$ac_exeext
31626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31627 (eval $ac_link) 2>conftest.er1
31629 grep -v '^ *+' conftest.er1
>conftest.err
31631 cat conftest.err
>&5
31632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31633 (exit $ac_status); } &&
31634 { ac_try
='test -z "$ac_c_werror_flag"
31635 || test ! -s conftest.err'
31636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31637 (eval $ac_try) 2>&5
31639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31640 (exit $ac_status); }; } &&
31641 { ac_try
='test -s conftest$ac_exeext'
31642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31643 (eval $ac_try) 2>&5
31645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31646 (exit $ac_status); }; }; then
31647 eval "$as_ac_var=yes"
31649 echo "$as_me: failed program was:" >&5
31650 sed 's/^/| /' conftest.
$ac_ext >&5
31652 eval "$as_ac_var=no"
31654 rm -f conftest.err conftest.
$ac_objext \
31655 conftest
$ac_exeext conftest.
$ac_ext
31657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31659 if test `eval echo '${'$as_ac_var'}'` = yes; then
31660 cat >>confdefs.h
<<_ACEOF
31661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31663 cat >>confdefs.h
<<\_ACEOF
31664 #define HAVE_NANOSLEEP 1
31669 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
31670 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
31671 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
31672 echo $ECHO_N "(cached) $ECHO_C" >&6
31674 ac_check_lib_save_LIBS
=$LIBS
31675 LIBS
="-lposix4 $LIBS"
31676 cat >conftest.
$ac_ext <<_ACEOF
31679 cat confdefs.h
>>conftest.
$ac_ext
31680 cat >>conftest.
$ac_ext <<_ACEOF
31681 /* end confdefs.h. */
31683 /* Override any gcc2 internal prototype to avoid an error. */
31687 /* We use char because int might match the return type of a gcc2
31688 builtin and then its argument prototype would still apply. */
31698 rm -f conftest.
$ac_objext conftest
$ac_exeext
31699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31700 (eval $ac_link) 2>conftest.er1
31702 grep -v '^ *+' conftest.er1
>conftest.err
31704 cat conftest.err
>&5
31705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31706 (exit $ac_status); } &&
31707 { ac_try
='test -z "$ac_c_werror_flag"
31708 || test ! -s conftest.err'
31709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31710 (eval $ac_try) 2>&5
31712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31713 (exit $ac_status); }; } &&
31714 { ac_try
='test -s conftest$ac_exeext'
31715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31716 (eval $ac_try) 2>&5
31718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31719 (exit $ac_status); }; }; then
31720 ac_cv_lib_posix4_nanosleep
=yes
31722 echo "$as_me: failed program was:" >&5
31723 sed 's/^/| /' conftest.
$ac_ext >&5
31725 ac_cv_lib_posix4_nanosleep
=no
31727 rm -f conftest.err conftest.
$ac_objext \
31728 conftest
$ac_exeext conftest.
$ac_ext
31729 LIBS
=$ac_check_lib_save_LIBS
31731 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
31732 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
31733 if test $ac_cv_lib_posix4_nanosleep = yes; then
31735 cat >>confdefs.h
<<\_ACEOF
31736 #define HAVE_NANOSLEEP 1
31739 POSIX4_LINK
=" -lposix4"
31744 for ac_func
in usleep
31746 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31747 echo "$as_me:$LINENO: checking for $ac_func" >&5
31748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31749 if eval "test \"\${$as_ac_var+set}\" = set"; then
31750 echo $ECHO_N "(cached) $ECHO_C" >&6
31752 cat >conftest.
$ac_ext <<_ACEOF
31755 cat confdefs.h
>>conftest.
$ac_ext
31756 cat >>conftest.
$ac_ext <<_ACEOF
31757 /* end confdefs.h. */
31758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31760 #define $ac_func innocuous_$ac_func
31762 /* System header to define __stub macros and hopefully few prototypes,
31763 which can conflict with char $ac_func (); below.
31764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31765 <limits.h> exists even on freestanding compilers. */
31768 # include <limits.h>
31770 # include <assert.h>
31775 /* Override any gcc2 internal prototype to avoid an error. */
31780 /* We use char because int might match the return type of a gcc2
31781 builtin and then its argument prototype would still apply. */
31783 /* The GNU C library defines this for functions which it implements
31784 to always fail with ENOSYS. Some functions are actually named
31785 something starting with __ and the normal name is an alias. */
31786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31789 char (*f) () = $ac_func;
31798 return f != $ac_func;
31803 rm -f conftest.
$ac_objext conftest
$ac_exeext
31804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31805 (eval $ac_link) 2>conftest.er1
31807 grep -v '^ *+' conftest.er1
>conftest.err
31809 cat conftest.err
>&5
31810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31811 (exit $ac_status); } &&
31812 { ac_try
='test -z "$ac_c_werror_flag"
31813 || test ! -s conftest.err'
31814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31815 (eval $ac_try) 2>&5
31817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31818 (exit $ac_status); }; } &&
31819 { ac_try
='test -s conftest$ac_exeext'
31820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31821 (eval $ac_try) 2>&5
31823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31824 (exit $ac_status); }; }; then
31825 eval "$as_ac_var=yes"
31827 echo "$as_me: failed program was:" >&5
31828 sed 's/^/| /' conftest.
$ac_ext >&5
31830 eval "$as_ac_var=no"
31832 rm -f conftest.err conftest.
$ac_objext \
31833 conftest
$ac_exeext conftest.
$ac_ext
31835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31837 if test `eval echo '${'$as_ac_var'}'` = yes; then
31838 cat >>confdefs.h
<<_ACEOF
31839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31841 cat >>confdefs.h
<<\_ACEOF
31842 #define HAVE_USLEEP 1
31846 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
31847 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31865 for ac_func
in uname gethostname
31867 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31868 echo "$as_me:$LINENO: checking for $ac_func" >&5
31869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31870 if eval "test \"\${$as_ac_var+set}\" = set"; then
31871 echo $ECHO_N "(cached) $ECHO_C" >&6
31873 cat >conftest.
$ac_ext <<_ACEOF
31876 cat confdefs.h
>>conftest.
$ac_ext
31877 cat >>conftest.
$ac_ext <<_ACEOF
31878 /* end confdefs.h. */
31879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31881 #define $ac_func innocuous_$ac_func
31883 /* System header to define __stub macros and hopefully few prototypes,
31884 which can conflict with char $ac_func (); below.
31885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31886 <limits.h> exists even on freestanding compilers. */
31889 # include <limits.h>
31891 # include <assert.h>
31896 /* Override any gcc2 internal prototype to avoid an error. */
31901 /* We use char because int might match the return type of a gcc2
31902 builtin and then its argument prototype would still apply. */
31904 /* The GNU C library defines this for functions which it implements
31905 to always fail with ENOSYS. Some functions are actually named
31906 something starting with __ and the normal name is an alias. */
31907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31910 char (*f) () = $ac_func;
31919 return f != $ac_func;
31924 rm -f conftest.
$ac_objext conftest
$ac_exeext
31925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31926 (eval $ac_link) 2>conftest.er1
31928 grep -v '^ *+' conftest.er1
>conftest.err
31930 cat conftest.err
>&5
31931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31932 (exit $ac_status); } &&
31933 { ac_try
='test -z "$ac_c_werror_flag"
31934 || test ! -s conftest.err'
31935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31936 (eval $ac_try) 2>&5
31938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31939 (exit $ac_status); }; } &&
31940 { ac_try
='test -s conftest$ac_exeext'
31941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31942 (eval $ac_try) 2>&5
31944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31945 (exit $ac_status); }; }; then
31946 eval "$as_ac_var=yes"
31948 echo "$as_me: failed program was:" >&5
31949 sed 's/^/| /' conftest.
$ac_ext >&5
31951 eval "$as_ac_var=no"
31953 rm -f conftest.err conftest.
$ac_objext \
31954 conftest
$ac_exeext conftest.
$ac_ext
31956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31958 if test `eval echo '${'$as_ac_var'}'` = yes; then
31959 cat >>confdefs.h
<<_ACEOF
31960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31970 ac_cpp
='$CXXCPP $CPPFLAGS'
31971 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31972 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31973 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31977 for ac_func
in strtok_r
31979 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31980 echo "$as_me:$LINENO: checking for $ac_func" >&5
31981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31982 if eval "test \"\${$as_ac_var+set}\" = set"; then
31983 echo $ECHO_N "(cached) $ECHO_C" >&6
31985 cat >conftest.
$ac_ext <<_ACEOF
31988 cat confdefs.h
>>conftest.
$ac_ext
31989 cat >>conftest.
$ac_ext <<_ACEOF
31990 /* end confdefs.h. */
31991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31993 #define $ac_func innocuous_$ac_func
31995 /* System header to define __stub macros and hopefully few prototypes,
31996 which can conflict with char $ac_func (); below.
31997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31998 <limits.h> exists even on freestanding compilers. */
32001 # include <limits.h>
32003 # include <assert.h>
32008 /* Override any gcc2 internal prototype to avoid an error. */
32013 /* We use char because int might match the return type of a gcc2
32014 builtin and then its argument prototype would still apply. */
32016 /* The GNU C library defines this for functions which it implements
32017 to always fail with ENOSYS. Some functions are actually named
32018 something starting with __ and the normal name is an alias. */
32019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32022 char (*f) () = $ac_func;
32031 return f != $ac_func;
32036 rm -f conftest.
$ac_objext conftest
$ac_exeext
32037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32038 (eval $ac_link) 2>conftest.er1
32040 grep -v '^ *+' conftest.er1
>conftest.err
32042 cat conftest.err
>&5
32043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32044 (exit $ac_status); } &&
32045 { ac_try
='test -z "$ac_cxx_werror_flag"
32046 || test ! -s conftest.err'
32047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32048 (eval $ac_try) 2>&5
32050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32051 (exit $ac_status); }; } &&
32052 { ac_try
='test -s conftest$ac_exeext'
32053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32054 (eval $ac_try) 2>&5
32056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32057 (exit $ac_status); }; }; then
32058 eval "$as_ac_var=yes"
32060 echo "$as_me: failed program was:" >&5
32061 sed 's/^/| /' conftest.
$ac_ext >&5
32063 eval "$as_ac_var=no"
32065 rm -f conftest.err conftest.
$ac_objext \
32066 conftest
$ac_exeext conftest.
$ac_ext
32068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32070 if test `eval echo '${'$as_ac_var'}'` = yes; then
32071 cat >>confdefs.h
<<_ACEOF
32072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32080 ac_cpp
='$CPP $CPPFLAGS'
32081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32088 for ac_func
in inet_addr
32090 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32091 echo "$as_me:$LINENO: checking for $ac_func" >&5
32092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32093 if eval "test \"\${$as_ac_var+set}\" = set"; then
32094 echo $ECHO_N "(cached) $ECHO_C" >&6
32096 cat >conftest.
$ac_ext <<_ACEOF
32099 cat confdefs.h
>>conftest.
$ac_ext
32100 cat >>conftest.
$ac_ext <<_ACEOF
32101 /* end confdefs.h. */
32102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32104 #define $ac_func innocuous_$ac_func
32106 /* System header to define __stub macros and hopefully few prototypes,
32107 which can conflict with char $ac_func (); below.
32108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32109 <limits.h> exists even on freestanding compilers. */
32112 # include <limits.h>
32114 # include <assert.h>
32119 /* Override any gcc2 internal prototype to avoid an error. */
32124 /* We use char because int might match the return type of a gcc2
32125 builtin and then its argument prototype would still apply. */
32127 /* The GNU C library defines this for functions which it implements
32128 to always fail with ENOSYS. Some functions are actually named
32129 something starting with __ and the normal name is an alias. */
32130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32133 char (*f) () = $ac_func;
32142 return f != $ac_func;
32147 rm -f conftest.
$ac_objext conftest
$ac_exeext
32148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32149 (eval $ac_link) 2>conftest.er1
32151 grep -v '^ *+' conftest.er1
>conftest.err
32153 cat conftest.err
>&5
32154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32155 (exit $ac_status); } &&
32156 { ac_try
='test -z "$ac_c_werror_flag"
32157 || test ! -s conftest.err'
32158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32159 (eval $ac_try) 2>&5
32161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32162 (exit $ac_status); }; } &&
32163 { ac_try
='test -s conftest$ac_exeext'
32164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32165 (eval $ac_try) 2>&5
32167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32168 (exit $ac_status); }; }; then
32169 eval "$as_ac_var=yes"
32171 echo "$as_me: failed program was:" >&5
32172 sed 's/^/| /' conftest.
$ac_ext >&5
32174 eval "$as_ac_var=no"
32176 rm -f conftest.err conftest.
$ac_objext \
32177 conftest
$ac_exeext conftest.
$ac_ext
32179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32181 if test `eval echo '${'$as_ac_var'}'` = yes; then
32182 cat >>confdefs.h
<<_ACEOF
32183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32185 cat >>confdefs.h
<<\_ACEOF
32186 #define HAVE_INET_ADDR 1
32191 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
32192 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
32193 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
32194 echo $ECHO_N "(cached) $ECHO_C" >&6
32196 ac_check_lib_save_LIBS
=$LIBS
32198 cat >conftest.
$ac_ext <<_ACEOF
32201 cat confdefs.h
>>conftest.
$ac_ext
32202 cat >>conftest.
$ac_ext <<_ACEOF
32203 /* end confdefs.h. */
32205 /* Override any gcc2 internal prototype to avoid an error. */
32209 /* We use char because int might match the return type of a gcc2
32210 builtin and then its argument prototype would still apply. */
32220 rm -f conftest.
$ac_objext conftest
$ac_exeext
32221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32222 (eval $ac_link) 2>conftest.er1
32224 grep -v '^ *+' conftest.er1
>conftest.err
32226 cat conftest.err
>&5
32227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32228 (exit $ac_status); } &&
32229 { ac_try
='test -z "$ac_c_werror_flag"
32230 || test ! -s conftest.err'
32231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32232 (eval $ac_try) 2>&5
32234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32235 (exit $ac_status); }; } &&
32236 { ac_try
='test -s conftest$ac_exeext'
32237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32238 (eval $ac_try) 2>&5
32240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32241 (exit $ac_status); }; }; then
32242 ac_cv_lib_nsl_inet_addr
=yes
32244 echo "$as_me: failed program was:" >&5
32245 sed 's/^/| /' conftest.
$ac_ext >&5
32247 ac_cv_lib_nsl_inet_addr
=no
32249 rm -f conftest.err conftest.
$ac_objext \
32250 conftest
$ac_exeext conftest.
$ac_ext
32251 LIBS
=$ac_check_lib_save_LIBS
32253 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
32254 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
32255 if test $ac_cv_lib_nsl_inet_addr = yes; then
32259 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
32260 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
32261 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
32262 echo $ECHO_N "(cached) $ECHO_C" >&6
32264 ac_check_lib_save_LIBS
=$LIBS
32265 LIBS
="-lresolv $LIBS"
32266 cat >conftest.
$ac_ext <<_ACEOF
32269 cat confdefs.h
>>conftest.
$ac_ext
32270 cat >>conftest.
$ac_ext <<_ACEOF
32271 /* end confdefs.h. */
32273 /* Override any gcc2 internal prototype to avoid an error. */
32277 /* We use char because int might match the return type of a gcc2
32278 builtin and then its argument prototype would still apply. */
32288 rm -f conftest.
$ac_objext conftest
$ac_exeext
32289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32290 (eval $ac_link) 2>conftest.er1
32292 grep -v '^ *+' conftest.er1
>conftest.err
32294 cat conftest.err
>&5
32295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32296 (exit $ac_status); } &&
32297 { ac_try
='test -z "$ac_c_werror_flag"
32298 || test ! -s conftest.err'
32299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32300 (eval $ac_try) 2>&5
32302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32303 (exit $ac_status); }; } &&
32304 { ac_try
='test -s conftest$ac_exeext'
32305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32306 (eval $ac_try) 2>&5
32308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32309 (exit $ac_status); }; }; then
32310 ac_cv_lib_resolv_inet_addr
=yes
32312 echo "$as_me: failed program was:" >&5
32313 sed 's/^/| /' conftest.
$ac_ext >&5
32315 ac_cv_lib_resolv_inet_addr
=no
32317 rm -f conftest.err conftest.
$ac_objext \
32318 conftest
$ac_exeext conftest.
$ac_ext
32319 LIBS
=$ac_check_lib_save_LIBS
32321 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
32322 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
32323 if test $ac_cv_lib_resolv_inet_addr = yes; then
32327 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
32328 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
32329 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
32330 echo $ECHO_N "(cached) $ECHO_C" >&6
32332 ac_check_lib_save_LIBS
=$LIBS
32333 LIBS
="-lsocket $LIBS"
32334 cat >conftest.
$ac_ext <<_ACEOF
32337 cat confdefs.h
>>conftest.
$ac_ext
32338 cat >>conftest.
$ac_ext <<_ACEOF
32339 /* end confdefs.h. */
32341 /* Override any gcc2 internal prototype to avoid an error. */
32345 /* We use char because int might match the return type of a gcc2
32346 builtin and then its argument prototype would still apply. */
32356 rm -f conftest.
$ac_objext conftest
$ac_exeext
32357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32358 (eval $ac_link) 2>conftest.er1
32360 grep -v '^ *+' conftest.er1
>conftest.err
32362 cat conftest.err
>&5
32363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32364 (exit $ac_status); } &&
32365 { ac_try
='test -z "$ac_c_werror_flag"
32366 || test ! -s conftest.err'
32367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32368 (eval $ac_try) 2>&5
32370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32371 (exit $ac_status); }; } &&
32372 { ac_try
='test -s conftest$ac_exeext'
32373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32374 (eval $ac_try) 2>&5
32376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32377 (exit $ac_status); }; }; then
32378 ac_cv_lib_socket_inet_addr
=yes
32380 echo "$as_me: failed program was:" >&5
32381 sed 's/^/| /' conftest.
$ac_ext >&5
32383 ac_cv_lib_socket_inet_addr
=no
32385 rm -f conftest.err conftest.
$ac_objext \
32386 conftest
$ac_exeext conftest.
$ac_ext
32387 LIBS
=$ac_check_lib_save_LIBS
32389 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
32390 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
32391 if test $ac_cv_lib_socket_inet_addr = yes; then
32411 for ac_func
in inet_aton
32413 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32414 echo "$as_me:$LINENO: checking for $ac_func" >&5
32415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32416 if eval "test \"\${$as_ac_var+set}\" = set"; then
32417 echo $ECHO_N "(cached) $ECHO_C" >&6
32419 cat >conftest.
$ac_ext <<_ACEOF
32422 cat confdefs.h
>>conftest.
$ac_ext
32423 cat >>conftest.
$ac_ext <<_ACEOF
32424 /* end confdefs.h. */
32425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32427 #define $ac_func innocuous_$ac_func
32429 /* System header to define __stub macros and hopefully few prototypes,
32430 which can conflict with char $ac_func (); below.
32431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32432 <limits.h> exists even on freestanding compilers. */
32435 # include <limits.h>
32437 # include <assert.h>
32442 /* Override any gcc2 internal prototype to avoid an error. */
32447 /* We use char because int might match the return type of a gcc2
32448 builtin and then its argument prototype would still apply. */
32450 /* The GNU C library defines this for functions which it implements
32451 to always fail with ENOSYS. Some functions are actually named
32452 something starting with __ and the normal name is an alias. */
32453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32456 char (*f) () = $ac_func;
32465 return f != $ac_func;
32470 rm -f conftest.
$ac_objext conftest
$ac_exeext
32471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32472 (eval $ac_link) 2>conftest.er1
32474 grep -v '^ *+' conftest.er1
>conftest.err
32476 cat conftest.err
>&5
32477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32478 (exit $ac_status); } &&
32479 { ac_try
='test -z "$ac_c_werror_flag"
32480 || test ! -s conftest.err'
32481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32482 (eval $ac_try) 2>&5
32484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32485 (exit $ac_status); }; } &&
32486 { ac_try
='test -s conftest$ac_exeext'
32487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32488 (eval $ac_try) 2>&5
32490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32491 (exit $ac_status); }; }; then
32492 eval "$as_ac_var=yes"
32494 echo "$as_me: failed program was:" >&5
32495 sed 's/^/| /' conftest.
$ac_ext >&5
32497 eval "$as_ac_var=no"
32499 rm -f conftest.err conftest.
$ac_objext \
32500 conftest
$ac_exeext conftest.
$ac_ext
32502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32504 if test `eval echo '${'$as_ac_var'}'` = yes; then
32505 cat >>confdefs.h
<<_ACEOF
32506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32508 cat >>confdefs.h
<<\_ACEOF
32509 #define HAVE_INET_ATON 1
32514 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
32515 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
32516 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
32517 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
32518 echo $ECHO_N "(cached) $ECHO_C" >&6
32520 ac_check_lib_save_LIBS
=$LIBS
32521 LIBS
="-l$INET_LINK $LIBS"
32522 cat >conftest.
$ac_ext <<_ACEOF
32525 cat confdefs.h
>>conftest.
$ac_ext
32526 cat >>conftest.
$ac_ext <<_ACEOF
32527 /* end confdefs.h. */
32529 /* Override any gcc2 internal prototype to avoid an error. */
32533 /* We use char because int might match the return type of a gcc2
32534 builtin and then its argument prototype would still apply. */
32544 rm -f conftest.
$ac_objext conftest
$ac_exeext
32545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32546 (eval $ac_link) 2>conftest.er1
32548 grep -v '^ *+' conftest.er1
>conftest.err
32550 cat conftest.err
>&5
32551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32552 (exit $ac_status); } &&
32553 { ac_try
='test -z "$ac_c_werror_flag"
32554 || test ! -s conftest.err'
32555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32556 (eval $ac_try) 2>&5
32558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32559 (exit $ac_status); }; } &&
32560 { ac_try
='test -s conftest$ac_exeext'
32561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32562 (eval $ac_try) 2>&5
32564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32565 (exit $ac_status); }; }; then
32566 eval "$as_ac_Lib=yes"
32568 echo "$as_me: failed program was:" >&5
32569 sed 's/^/| /' conftest.
$ac_ext >&5
32571 eval "$as_ac_Lib=no"
32573 rm -f conftest.err conftest.
$ac_objext \
32574 conftest
$ac_exeext conftest.
$ac_ext
32575 LIBS
=$ac_check_lib_save_LIBS
32577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
32578 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
32579 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
32580 cat >>confdefs.h
<<\_ACEOF
32581 #define HAVE_INET_ATON 1
32591 if test "x$INET_LINK" != "x"; then
32592 cat >>confdefs.h
<<\_ACEOF
32593 #define HAVE_INET_ADDR 1
32596 INET_LINK
=" -l$INET_LINK"
32604 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
32605 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
32606 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
32607 echo $ECHO_N "(cached) $ECHO_C" >&6
32609 ac_check_lib_save_LIBS
=$LIBS
32611 cat >conftest.
$ac_ext <<_ACEOF
32614 cat confdefs.h
>>conftest.
$ac_ext
32615 cat >>conftest.
$ac_ext <<_ACEOF
32616 /* end confdefs.h. */
32618 /* Override any gcc2 internal prototype to avoid an error. */
32622 /* We use char because int might match the return type of a gcc2
32623 builtin and then its argument prototype would still apply. */
32633 rm -f conftest.
$ac_objext conftest
$ac_exeext
32634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32635 (eval $ac_link) 2>conftest.er1
32637 grep -v '^ *+' conftest.er1
>conftest.err
32639 cat conftest.err
>&5
32640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32641 (exit $ac_status); } &&
32642 { ac_try
='test -z "$ac_c_werror_flag"
32643 || test ! -s conftest.err'
32644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32645 (eval $ac_try) 2>&5
32647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32648 (exit $ac_status); }; } &&
32649 { ac_try
='test -s conftest$ac_exeext'
32650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32651 (eval $ac_try) 2>&5
32653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32654 (exit $ac_status); }; }; then
32655 ac_cv_lib_esd_esd_close
=yes
32657 echo "$as_me: failed program was:" >&5
32658 sed 's/^/| /' conftest.
$ac_ext >&5
32660 ac_cv_lib_esd_esd_close
=no
32662 rm -f conftest.err conftest.
$ac_objext \
32663 conftest
$ac_exeext conftest.
$ac_ext
32664 LIBS
=$ac_check_lib_save_LIBS
32666 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
32667 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
32668 if test $ac_cv_lib_esd_esd_close = yes; then
32671 for ac_header
in esd.h
32673 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32675 echo "$as_me:$LINENO: checking for $ac_header" >&5
32676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32678 echo $ECHO_N "(cached) $ECHO_C" >&6
32680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32683 # Is the header compilable?
32684 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32685 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32686 cat >conftest.
$ac_ext <<_ACEOF
32689 cat confdefs.h
>>conftest.
$ac_ext
32690 cat >>conftest.
$ac_ext <<_ACEOF
32691 /* end confdefs.h. */
32692 $ac_includes_default
32693 #include <$ac_header>
32695 rm -f conftest.
$ac_objext
32696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32697 (eval $ac_compile) 2>conftest.er1
32699 grep -v '^ *+' conftest.er1
>conftest.err
32701 cat conftest.err
>&5
32702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32703 (exit $ac_status); } &&
32704 { ac_try
='test -z "$ac_c_werror_flag"
32705 || test ! -s conftest.err'
32706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32707 (eval $ac_try) 2>&5
32709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32710 (exit $ac_status); }; } &&
32711 { ac_try
='test -s conftest.$ac_objext'
32712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32713 (eval $ac_try) 2>&5
32715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32716 (exit $ac_status); }; }; then
32717 ac_header_compiler
=yes
32719 echo "$as_me: failed program was:" >&5
32720 sed 's/^/| /' conftest.
$ac_ext >&5
32722 ac_header_compiler
=no
32724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32725 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32726 echo "${ECHO_T}$ac_header_compiler" >&6
32728 # Is the header present?
32729 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32730 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32731 cat >conftest.
$ac_ext <<_ACEOF
32734 cat confdefs.h
>>conftest.
$ac_ext
32735 cat >>conftest.
$ac_ext <<_ACEOF
32736 /* end confdefs.h. */
32737 #include <$ac_header>
32739 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32740 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32742 grep -v '^ *+' conftest.er1
>conftest.err
32744 cat conftest.err
>&5
32745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32746 (exit $ac_status); } >/dev
/null
; then
32747 if test -s conftest.err
; then
32748 ac_cpp_err
=$ac_c_preproc_warn_flag
32749 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32756 if test -z "$ac_cpp_err"; then
32757 ac_header_preproc
=yes
32759 echo "$as_me: failed program was:" >&5
32760 sed 's/^/| /' conftest.
$ac_ext >&5
32762 ac_header_preproc
=no
32764 rm -f conftest.err conftest.
$ac_ext
32765 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32766 echo "${ECHO_T}$ac_header_preproc" >&6
32768 # So? What about this header?
32769 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32771 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32772 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32773 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32774 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32775 ac_header_preproc
=yes
32778 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32779 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32780 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32781 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32782 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32783 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32784 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32785 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32786 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32787 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32788 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32789 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32792 ## ----------------------------------------- ##
32793 ## Report this to wx-dev@lists.wxwidgets.org ##
32794 ## ----------------------------------------- ##
32797 sed "s/^/$as_me: WARNING: /" >&2
32800 echo "$as_me:$LINENO: checking for $ac_header" >&5
32801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32803 echo $ECHO_N "(cached) $ECHO_C" >&6
32805 eval "$as_ac_Header=\$ac_header_preproc"
32807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32808 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32811 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32812 cat >>confdefs.h
<<_ACEOF
32813 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32816 EXTRALIBS_ESD
="-lesd"
32827 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
32828 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
32829 cat >conftest.
$ac_ext <<_ACEOF
32832 cat confdefs.h
>>conftest.
$ac_ext
32833 cat >>conftest.
$ac_ext <<_ACEOF
32834 /* end confdefs.h. */
32836 #include <linux/cdrom.h>
32839 #include <sys/cdio.h>
32845 struct cdrom_tocentry entry, old_entry;
32850 rm -f conftest.
$ac_objext
32851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32852 (eval $ac_compile) 2>conftest.er1
32854 grep -v '^ *+' conftest.er1
>conftest.err
32856 cat conftest.err
>&5
32857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32858 (exit $ac_status); } &&
32859 { ac_try
='test -z "$ac_c_werror_flag"
32860 || test ! -s conftest.err'
32861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32862 (eval $ac_try) 2>&5
32864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32865 (exit $ac_status); }; } &&
32866 { ac_try
='test -s conftest.$ac_objext'
32867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32868 (eval $ac_try) 2>&5
32870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32871 (exit $ac_status); }; }; then
32872 echo "$as_me:$LINENO: result: yes" >&5
32873 echo "${ECHO_T}yes" >&6
32874 cat >>confdefs.h
<<\_ACEOF
32875 #define HAVE_KNOWN_CDROM_INTERFACE 1
32879 echo "$as_me: failed program was:" >&5
32880 sed 's/^/| /' conftest.
$ac_ext >&5
32882 echo "$as_me:$LINENO: result: no" >&5
32883 echo "${ECHO_T}no" >&6
32885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32888 cat >confcache
<<\_ACEOF
32889 # This file is a shell script that caches the results of configure
32890 # tests run on this system so they can be shared between configure
32891 # scripts and configure runs, see configure's option --config-cache.
32892 # It is not useful on other systems. If it contains results you don't
32893 # want to keep, you may remove or edit it.
32895 # config.status only pays attention to the cache file if you give it
32896 # the --recheck option to rerun configure.
32898 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32899 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32900 # following values.
32904 # The following way of writing the cache mishandles newlines in values,
32905 # but we know of no workaround that is simple, portable, and efficient.
32906 # So, don't put newlines in cache variables' values.
32907 # Ultrix sh set writes to stderr and can't be redirected directly,
32908 # and sets the high bit in the cache file unless we assign to the vars.
32911 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32913 # `set' does not quote correctly, so add quotes (double-quote
32914 # substitution turns \\\\ into \\, and sed turns \\ into \).
32917 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32920 # `set' quotes correctly as required by POSIX, so do not add quotes.
32922 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32929 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32931 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32933 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
32934 if test -w $cache_file; then
32935 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32936 cat confcache
>$cache_file
32938 echo "not updating unwritable cache $cache_file"
32945 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32951 if test "$wxUSE_THREADS" = "yes" ; then
32952 if test "$USE_BEOS" = 1; then
32953 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32954 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32959 if test "$wxUSE_THREADS" = "yes" ; then
32962 THREAD_OPTS
="-pthread"
32964 *-*-solaris2* | *-*-sunos4* )
32965 if test "x$GCC" = "xyes"; then
32966 THREAD_OPTS
="-pthreads $THREAD_OPTS"
32968 THREAD_OPTS
="-mt $THREAD_OPTS"
32972 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
32974 *-*-darwin* | *-*-cygwin* )
32978 THREAD_OPTS
="pthreads"
32981 if test "x$GCC" != "xyes"; then
32987 if test "x$GCC" = "xyes"; then
32993 if test "x$GCC" != "xyes"; then
32994 THREAD_OPTS
="-Ethread"
32999 THREAD_OPTS
="$THREAD_OPTS pthread none"
33002 for flag
in $THREAD_OPTS; do
33005 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
33006 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
33010 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
33011 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
33012 THREADS_CFLAGS
="$flag"
33016 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
33017 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
33018 THREADS_LINK
="-l$flag"
33023 save_CFLAGS
="$CFLAGS"
33024 LIBS
="$THREADS_LINK $LIBS"
33025 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
33027 cat >conftest.
$ac_ext <<_ACEOF
33030 cat confdefs.h
>>conftest.
$ac_ext
33031 cat >>conftest.
$ac_ext <<_ACEOF
33032 /* end confdefs.h. */
33033 #include <pthread.h>
33037 pthread_create(0,0,0,0);
33042 rm -f conftest.
$ac_objext conftest
$ac_exeext
33043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33044 (eval $ac_link) 2>conftest.er1
33046 grep -v '^ *+' conftest.er1
>conftest.err
33048 cat conftest.err
>&5
33049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33050 (exit $ac_status); } &&
33051 { ac_try
='test -z "$ac_c_werror_flag"
33052 || test ! -s conftest.err'
33053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33054 (eval $ac_try) 2>&5
33056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33057 (exit $ac_status); }; } &&
33058 { ac_try
='test -s conftest$ac_exeext'
33059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33060 (eval $ac_try) 2>&5
33062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33063 (exit $ac_status); }; }; then
33066 echo "$as_me: failed program was:" >&5
33067 sed 's/^/| /' conftest.
$ac_ext >&5
33070 rm -f conftest.err conftest.
$ac_objext \
33071 conftest
$ac_exeext conftest.
$ac_ext
33074 CFLAGS
="$save_CFLAGS"
33076 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
33077 echo "${ECHO_T}$THREADS_OK" >&6
33078 if test "x$THREADS_OK" = "xyes"; then
33086 if test "x$THREADS_OK" != "xyes"; then
33088 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
33089 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
33091 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
33092 LIBS
="$THREADS_LINK $LIBS"
33094 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
33095 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
33099 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
33100 flag
="-D_THREAD_SAFE"
33103 flag
="-D_THREAD_SAFE"
33106 flag
="-D_REENTRANT"
33107 if test "x$GCC" != "xyes"; then
33108 flag
="$flag -D_RWSTD_MULTI_THREAD"
33113 *solaris
* | alpha
*-osf*)
33114 flag
="-D_REENTRANT"
33117 echo "$as_me:$LINENO: result: ${flag}" >&5
33118 echo "${ECHO_T}${flag}" >&6
33119 if test "x$flag" != xno
; then
33120 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
33123 if test "x$THREADS_CFLAGS" != "x"; then
33124 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
33125 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
33130 if test "$wxUSE_THREADS" = "yes" ; then
33132 for ac_func
in thr_setconcurrency
33134 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33135 echo "$as_me:$LINENO: checking for $ac_func" >&5
33136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33137 if eval "test \"\${$as_ac_var+set}\" = set"; then
33138 echo $ECHO_N "(cached) $ECHO_C" >&6
33140 cat >conftest.
$ac_ext <<_ACEOF
33143 cat confdefs.h
>>conftest.
$ac_ext
33144 cat >>conftest.
$ac_ext <<_ACEOF
33145 /* end confdefs.h. */
33146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33148 #define $ac_func innocuous_$ac_func
33150 /* System header to define __stub macros and hopefully few prototypes,
33151 which can conflict with char $ac_func (); below.
33152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33153 <limits.h> exists even on freestanding compilers. */
33156 # include <limits.h>
33158 # include <assert.h>
33163 /* Override any gcc2 internal prototype to avoid an error. */
33168 /* We use char because int might match the return type of a gcc2
33169 builtin and then its argument prototype would still apply. */
33171 /* The GNU C library defines this for functions which it implements
33172 to always fail with ENOSYS. Some functions are actually named
33173 something starting with __ and the normal name is an alias. */
33174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33177 char (*f) () = $ac_func;
33186 return f != $ac_func;
33191 rm -f conftest.
$ac_objext conftest
$ac_exeext
33192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33193 (eval $ac_link) 2>conftest.er1
33195 grep -v '^ *+' conftest.er1
>conftest.err
33197 cat conftest.err
>&5
33198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33199 (exit $ac_status); } &&
33200 { ac_try
='test -z "$ac_c_werror_flag"
33201 || test ! -s conftest.err'
33202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33203 (eval $ac_try) 2>&5
33205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33206 (exit $ac_status); }; } &&
33207 { ac_try
='test -s conftest$ac_exeext'
33208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33209 (eval $ac_try) 2>&5
33211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33212 (exit $ac_status); }; }; then
33213 eval "$as_ac_var=yes"
33215 echo "$as_me: failed program was:" >&5
33216 sed 's/^/| /' conftest.
$ac_ext >&5
33218 eval "$as_ac_var=no"
33220 rm -f conftest.err conftest.
$ac_objext \
33221 conftest
$ac_exeext conftest.
$ac_ext
33223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33225 if test `eval echo '${'$as_ac_var'}'` = yes; then
33226 cat >>confdefs.h
<<_ACEOF
33227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33235 for ac_header
in sched.h
33237 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33239 echo "$as_me:$LINENO: checking for $ac_header" >&5
33240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33242 echo $ECHO_N "(cached) $ECHO_C" >&6
33244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33245 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33247 # Is the header compilable?
33248 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33249 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33250 cat >conftest.
$ac_ext <<_ACEOF
33253 cat confdefs.h
>>conftest.
$ac_ext
33254 cat >>conftest.
$ac_ext <<_ACEOF
33255 /* end confdefs.h. */
33256 $ac_includes_default
33257 #include <$ac_header>
33259 rm -f conftest.
$ac_objext
33260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33261 (eval $ac_compile) 2>conftest.er1
33263 grep -v '^ *+' conftest.er1
>conftest.err
33265 cat conftest.err
>&5
33266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33267 (exit $ac_status); } &&
33268 { ac_try
='test -z "$ac_c_werror_flag"
33269 || test ! -s conftest.err'
33270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33271 (eval $ac_try) 2>&5
33273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33274 (exit $ac_status); }; } &&
33275 { ac_try
='test -s conftest.$ac_objext'
33276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33277 (eval $ac_try) 2>&5
33279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33280 (exit $ac_status); }; }; then
33281 ac_header_compiler
=yes
33283 echo "$as_me: failed program was:" >&5
33284 sed 's/^/| /' conftest.
$ac_ext >&5
33286 ac_header_compiler
=no
33288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33289 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33290 echo "${ECHO_T}$ac_header_compiler" >&6
33292 # Is the header present?
33293 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33294 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33295 cat >conftest.
$ac_ext <<_ACEOF
33298 cat confdefs.h
>>conftest.
$ac_ext
33299 cat >>conftest.
$ac_ext <<_ACEOF
33300 /* end confdefs.h. */
33301 #include <$ac_header>
33303 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33304 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33306 grep -v '^ *+' conftest.er1
>conftest.err
33308 cat conftest.err
>&5
33309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33310 (exit $ac_status); } >/dev
/null
; then
33311 if test -s conftest.err
; then
33312 ac_cpp_err
=$ac_c_preproc_warn_flag
33313 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33320 if test -z "$ac_cpp_err"; then
33321 ac_header_preproc
=yes
33323 echo "$as_me: failed program was:" >&5
33324 sed 's/^/| /' conftest.
$ac_ext >&5
33326 ac_header_preproc
=no
33328 rm -f conftest.err conftest.
$ac_ext
33329 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33330 echo "${ECHO_T}$ac_header_preproc" >&6
33332 # So? What about this header?
33333 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33335 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33336 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33338 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33339 ac_header_preproc
=yes
33342 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33343 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33344 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33345 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33346 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33347 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33348 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33349 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33350 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33351 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33352 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33353 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33356 ## ----------------------------------------- ##
33357 ## Report this to wx-dev@lists.wxwidgets.org ##
33358 ## ----------------------------------------- ##
33361 sed "s/^/$as_me: WARNING: /" >&2
33364 echo "$as_me:$LINENO: checking for $ac_header" >&5
33365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33366 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33367 echo $ECHO_N "(cached) $ECHO_C" >&6
33369 eval "$as_ac_Header=\$ac_header_preproc"
33371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33372 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33375 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33376 cat >>confdefs.h
<<_ACEOF
33377 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33384 if test "$ac_cv_header_sched_h" = "yes"; then
33385 echo "$as_me:$LINENO: checking for sched_yield" >&5
33386 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
33387 if test "${ac_cv_func_sched_yield+set}" = set; then
33388 echo $ECHO_N "(cached) $ECHO_C" >&6
33390 cat >conftest.
$ac_ext <<_ACEOF
33393 cat confdefs.h
>>conftest.
$ac_ext
33394 cat >>conftest.
$ac_ext <<_ACEOF
33395 /* end confdefs.h. */
33396 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
33397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33398 #define sched_yield innocuous_sched_yield
33400 /* System header to define __stub macros and hopefully few prototypes,
33401 which can conflict with char sched_yield (); below.
33402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33403 <limits.h> exists even on freestanding compilers. */
33406 # include <limits.h>
33408 # include <assert.h>
33413 /* Override any gcc2 internal prototype to avoid an error. */
33418 /* We use char because int might match the return type of a gcc2
33419 builtin and then its argument prototype would still apply. */
33420 char sched_yield ();
33421 /* The GNU C library defines this for functions which it implements
33422 to always fail with ENOSYS. Some functions are actually named
33423 something starting with __ and the normal name is an alias. */
33424 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
33427 char (*f) () = sched_yield;
33436 return f != sched_yield;
33441 rm -f conftest.
$ac_objext conftest
$ac_exeext
33442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33443 (eval $ac_link) 2>conftest.er1
33445 grep -v '^ *+' conftest.er1
>conftest.err
33447 cat conftest.err
>&5
33448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33449 (exit $ac_status); } &&
33450 { ac_try
='test -z "$ac_c_werror_flag"
33451 || test ! -s conftest.err'
33452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33453 (eval $ac_try) 2>&5
33455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33456 (exit $ac_status); }; } &&
33457 { ac_try
='test -s conftest$ac_exeext'
33458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33459 (eval $ac_try) 2>&5
33461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33462 (exit $ac_status); }; }; then
33463 ac_cv_func_sched_yield
=yes
33465 echo "$as_me: failed program was:" >&5
33466 sed 's/^/| /' conftest.
$ac_ext >&5
33468 ac_cv_func_sched_yield
=no
33470 rm -f conftest.err conftest.
$ac_objext \
33471 conftest
$ac_exeext conftest.
$ac_ext
33473 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
33474 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
33475 if test $ac_cv_func_sched_yield = yes; then
33476 cat >>confdefs.h
<<\_ACEOF
33477 #define HAVE_SCHED_YIELD 1
33482 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
33483 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
33484 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
33485 echo $ECHO_N "(cached) $ECHO_C" >&6
33487 ac_check_lib_save_LIBS
=$LIBS
33488 LIBS
="-lposix4 $LIBS"
33489 cat >conftest.
$ac_ext <<_ACEOF
33492 cat confdefs.h
>>conftest.
$ac_ext
33493 cat >>conftest.
$ac_ext <<_ACEOF
33494 /* end confdefs.h. */
33496 /* Override any gcc2 internal prototype to avoid an error. */
33500 /* We use char because int might match the return type of a gcc2
33501 builtin and then its argument prototype would still apply. */
33502 char sched_yield ();
33511 rm -f conftest.
$ac_objext conftest
$ac_exeext
33512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33513 (eval $ac_link) 2>conftest.er1
33515 grep -v '^ *+' conftest.er1
>conftest.err
33517 cat conftest.err
>&5
33518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33519 (exit $ac_status); } &&
33520 { ac_try
='test -z "$ac_c_werror_flag"
33521 || test ! -s conftest.err'
33522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33523 (eval $ac_try) 2>&5
33525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33526 (exit $ac_status); }; } &&
33527 { ac_try
='test -s conftest$ac_exeext'
33528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33529 (eval $ac_try) 2>&5
33531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33532 (exit $ac_status); }; }; then
33533 ac_cv_lib_posix4_sched_yield
=yes
33535 echo "$as_me: failed program was:" >&5
33536 sed 's/^/| /' conftest.
$ac_ext >&5
33538 ac_cv_lib_posix4_sched_yield
=no
33540 rm -f conftest.err conftest.
$ac_objext \
33541 conftest
$ac_exeext conftest.
$ac_ext
33542 LIBS
=$ac_check_lib_save_LIBS
33544 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
33545 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
33546 if test $ac_cv_lib_posix4_sched_yield = yes; then
33547 cat >>confdefs.h
<<\_ACEOF
33548 #define HAVE_SCHED_YIELD 1
33550 POSIX4_LINK
=" -lposix4"
33552 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
33553 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
33564 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
33565 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
33566 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
33567 echo $ECHO_N "(cached) $ECHO_C" >&6
33569 cat >conftest.
$ac_ext <<_ACEOF
33572 cat confdefs.h
>>conftest.
$ac_ext
33573 cat >>conftest.
$ac_ext <<_ACEOF
33574 /* end confdefs.h. */
33575 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
33576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33577 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
33579 /* System header to define __stub macros and hopefully few prototypes,
33580 which can conflict with char pthread_attr_getschedpolicy (); below.
33581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33582 <limits.h> exists even on freestanding compilers. */
33585 # include <limits.h>
33587 # include <assert.h>
33590 #undef pthread_attr_getschedpolicy
33592 /* Override any gcc2 internal prototype to avoid an error. */
33597 /* We use char because int might match the return type of a gcc2
33598 builtin and then its argument prototype would still apply. */
33599 char pthread_attr_getschedpolicy ();
33600 /* The GNU C library defines this for functions which it implements
33601 to always fail with ENOSYS. Some functions are actually named
33602 something starting with __ and the normal name is an alias. */
33603 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
33606 char (*f) () = pthread_attr_getschedpolicy;
33615 return f != pthread_attr_getschedpolicy;
33620 rm -f conftest.
$ac_objext conftest
$ac_exeext
33621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33622 (eval $ac_link) 2>conftest.er1
33624 grep -v '^ *+' conftest.er1
>conftest.err
33626 cat conftest.err
>&5
33627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33628 (exit $ac_status); } &&
33629 { ac_try
='test -z "$ac_c_werror_flag"
33630 || test ! -s conftest.err'
33631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33632 (eval $ac_try) 2>&5
33634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33635 (exit $ac_status); }; } &&
33636 { ac_try
='test -s conftest$ac_exeext'
33637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33638 (eval $ac_try) 2>&5
33640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33641 (exit $ac_status); }; }; then
33642 ac_cv_func_pthread_attr_getschedpolicy
=yes
33644 echo "$as_me: failed program was:" >&5
33645 sed 's/^/| /' conftest.
$ac_ext >&5
33647 ac_cv_func_pthread_attr_getschedpolicy
=no
33649 rm -f conftest.err conftest.
$ac_objext \
33650 conftest
$ac_exeext conftest.
$ac_ext
33652 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
33653 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
33654 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
33655 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
33656 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
33657 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
33658 echo $ECHO_N "(cached) $ECHO_C" >&6
33660 cat >conftest.
$ac_ext <<_ACEOF
33663 cat confdefs.h
>>conftest.
$ac_ext
33664 cat >>conftest.
$ac_ext <<_ACEOF
33665 /* end confdefs.h. */
33666 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
33667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33668 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
33670 /* System header to define __stub macros and hopefully few prototypes,
33671 which can conflict with char pthread_attr_setschedparam (); below.
33672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33673 <limits.h> exists even on freestanding compilers. */
33676 # include <limits.h>
33678 # include <assert.h>
33681 #undef pthread_attr_setschedparam
33683 /* Override any gcc2 internal prototype to avoid an error. */
33688 /* We use char because int might match the return type of a gcc2
33689 builtin and then its argument prototype would still apply. */
33690 char pthread_attr_setschedparam ();
33691 /* The GNU C library defines this for functions which it implements
33692 to always fail with ENOSYS. Some functions are actually named
33693 something starting with __ and the normal name is an alias. */
33694 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
33697 char (*f) () = pthread_attr_setschedparam;
33706 return f != pthread_attr_setschedparam;
33711 rm -f conftest.
$ac_objext conftest
$ac_exeext
33712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33713 (eval $ac_link) 2>conftest.er1
33715 grep -v '^ *+' conftest.er1
>conftest.err
33717 cat conftest.err
>&5
33718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33719 (exit $ac_status); } &&
33720 { ac_try
='test -z "$ac_c_werror_flag"
33721 || test ! -s conftest.err'
33722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33723 (eval $ac_try) 2>&5
33725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33726 (exit $ac_status); }; } &&
33727 { ac_try
='test -s conftest$ac_exeext'
33728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33729 (eval $ac_try) 2>&5
33731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33732 (exit $ac_status); }; }; then
33733 ac_cv_func_pthread_attr_setschedparam
=yes
33735 echo "$as_me: failed program was:" >&5
33736 sed 's/^/| /' conftest.
$ac_ext >&5
33738 ac_cv_func_pthread_attr_setschedparam
=no
33740 rm -f conftest.err conftest.
$ac_objext \
33741 conftest
$ac_exeext conftest.
$ac_ext
33743 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
33744 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
33745 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
33746 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
33747 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
33748 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
33749 echo $ECHO_N "(cached) $ECHO_C" >&6
33751 cat >conftest.
$ac_ext <<_ACEOF
33754 cat confdefs.h
>>conftest.
$ac_ext
33755 cat >>conftest.
$ac_ext <<_ACEOF
33756 /* end confdefs.h. */
33757 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
33758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33759 #define sched_get_priority_max innocuous_sched_get_priority_max
33761 /* System header to define __stub macros and hopefully few prototypes,
33762 which can conflict with char sched_get_priority_max (); below.
33763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33764 <limits.h> exists even on freestanding compilers. */
33767 # include <limits.h>
33769 # include <assert.h>
33772 #undef sched_get_priority_max
33774 /* Override any gcc2 internal prototype to avoid an error. */
33779 /* We use char because int might match the return type of a gcc2
33780 builtin and then its argument prototype would still apply. */
33781 char sched_get_priority_max ();
33782 /* The GNU C library defines this for functions which it implements
33783 to always fail with ENOSYS. Some functions are actually named
33784 something starting with __ and the normal name is an alias. */
33785 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
33788 char (*f) () = sched_get_priority_max;
33797 return f != sched_get_priority_max;
33802 rm -f conftest.
$ac_objext conftest
$ac_exeext
33803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33804 (eval $ac_link) 2>conftest.er1
33806 grep -v '^ *+' conftest.er1
>conftest.err
33808 cat conftest.err
>&5
33809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33810 (exit $ac_status); } &&
33811 { ac_try
='test -z "$ac_c_werror_flag"
33812 || test ! -s conftest.err'
33813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33814 (eval $ac_try) 2>&5
33816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33817 (exit $ac_status); }; } &&
33818 { ac_try
='test -s conftest$ac_exeext'
33819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33820 (eval $ac_try) 2>&5
33822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33823 (exit $ac_status); }; }; then
33824 ac_cv_func_sched_get_priority_max
=yes
33826 echo "$as_me: failed program was:" >&5
33827 sed 's/^/| /' conftest.
$ac_ext >&5
33829 ac_cv_func_sched_get_priority_max
=no
33831 rm -f conftest.err conftest.
$ac_objext \
33832 conftest
$ac_exeext conftest.
$ac_ext
33834 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
33835 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
33836 if test $ac_cv_func_sched_get_priority_max = yes; then
33839 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
33840 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
33841 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
33842 echo $ECHO_N "(cached) $ECHO_C" >&6
33844 ac_check_lib_save_LIBS
=$LIBS
33845 LIBS
="-lposix4 $LIBS"
33846 cat >conftest.
$ac_ext <<_ACEOF
33849 cat confdefs.h
>>conftest.
$ac_ext
33850 cat >>conftest.
$ac_ext <<_ACEOF
33851 /* end confdefs.h. */
33853 /* Override any gcc2 internal prototype to avoid an error. */
33857 /* We use char because int might match the return type of a gcc2
33858 builtin and then its argument prototype would still apply. */
33859 char sched_get_priority_max ();
33863 sched_get_priority_max ();
33868 rm -f conftest.
$ac_objext conftest
$ac_exeext
33869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33870 (eval $ac_link) 2>conftest.er1
33872 grep -v '^ *+' conftest.er1
>conftest.err
33874 cat conftest.err
>&5
33875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33876 (exit $ac_status); } &&
33877 { ac_try
='test -z "$ac_c_werror_flag"
33878 || test ! -s conftest.err'
33879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33880 (eval $ac_try) 2>&5
33882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33883 (exit $ac_status); }; } &&
33884 { ac_try
='test -s conftest$ac_exeext'
33885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33886 (eval $ac_try) 2>&5
33888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33889 (exit $ac_status); }; }; then
33890 ac_cv_lib_posix4_sched_get_priority_max
=yes
33892 echo "$as_me: failed program was:" >&5
33893 sed 's/^/| /' conftest.
$ac_ext >&5
33895 ac_cv_lib_posix4_sched_get_priority_max
=no
33897 rm -f conftest.err conftest.
$ac_objext \
33898 conftest
$ac_exeext conftest.
$ac_ext
33899 LIBS
=$ac_check_lib_save_LIBS
33901 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33902 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33903 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33906 POSIX4_LINK
=" -lposix4"
33920 if test "$HAVE_PRIOR_FUNCS" = 1; then
33921 cat >>confdefs.h
<<\_ACEOF
33922 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33926 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33927 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33930 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33931 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33932 if test "${ac_cv_func_pthread_cancel+set}" = set; then
33933 echo $ECHO_N "(cached) $ECHO_C" >&6
33935 cat >conftest.
$ac_ext <<_ACEOF
33938 cat confdefs.h
>>conftest.
$ac_ext
33939 cat >>conftest.
$ac_ext <<_ACEOF
33940 /* end confdefs.h. */
33941 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33943 #define pthread_cancel innocuous_pthread_cancel
33945 /* System header to define __stub macros and hopefully few prototypes,
33946 which can conflict with char pthread_cancel (); below.
33947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33948 <limits.h> exists even on freestanding compilers. */
33951 # include <limits.h>
33953 # include <assert.h>
33956 #undef pthread_cancel
33958 /* Override any gcc2 internal prototype to avoid an error. */
33963 /* We use char because int might match the return type of a gcc2
33964 builtin and then its argument prototype would still apply. */
33965 char pthread_cancel ();
33966 /* The GNU C library defines this for functions which it implements
33967 to always fail with ENOSYS. Some functions are actually named
33968 something starting with __ and the normal name is an alias. */
33969 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33972 char (*f) () = pthread_cancel;
33981 return f != pthread_cancel;
33986 rm -f conftest.
$ac_objext conftest
$ac_exeext
33987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33988 (eval $ac_link) 2>conftest.er1
33990 grep -v '^ *+' conftest.er1
>conftest.err
33992 cat conftest.err
>&5
33993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33994 (exit $ac_status); } &&
33995 { ac_try
='test -z "$ac_c_werror_flag"
33996 || test ! -s conftest.err'
33997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33998 (eval $ac_try) 2>&5
34000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34001 (exit $ac_status); }; } &&
34002 { ac_try
='test -s conftest$ac_exeext'
34003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34004 (eval $ac_try) 2>&5
34006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34007 (exit $ac_status); }; }; then
34008 ac_cv_func_pthread_cancel
=yes
34010 echo "$as_me: failed program was:" >&5
34011 sed 's/^/| /' conftest.
$ac_ext >&5
34013 ac_cv_func_pthread_cancel
=no
34015 rm -f conftest.err conftest.
$ac_objext \
34016 conftest
$ac_exeext conftest.
$ac_ext
34018 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
34019 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
34020 if test $ac_cv_func_pthread_cancel = yes; then
34021 cat >>confdefs.h
<<\_ACEOF
34022 #define HAVE_PTHREAD_CANCEL 1
34026 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
34027 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
34033 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
34034 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
34035 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
34036 echo $ECHO_N "(cached) $ECHO_C" >&6
34039 cat >conftest.
$ac_ext <<_ACEOF
34042 cat confdefs.h
>>conftest.
$ac_ext
34043 cat >>conftest.
$ac_ext <<_ACEOF
34044 /* end confdefs.h. */
34045 #include <pthread.h>
34050 pthread_mutexattr_t attr;
34051 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
34057 rm -f conftest.
$ac_objext
34058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34059 (eval $ac_compile) 2>conftest.er1
34061 grep -v '^ *+' conftest.er1
>conftest.err
34063 cat conftest.err
>&5
34064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34065 (exit $ac_status); } &&
34066 { ac_try
='test -z "$ac_c_werror_flag"
34067 || test ! -s conftest.err'
34068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34069 (eval $ac_try) 2>&5
34071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34072 (exit $ac_status); }; } &&
34073 { ac_try
='test -s conftest.$ac_objext'
34074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34075 (eval $ac_try) 2>&5
34077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34078 (exit $ac_status); }; }; then
34080 wx_cv_type_pthread_mutexattr_t
=yes
34083 echo "$as_me: failed program was:" >&5
34084 sed 's/^/| /' conftest.
$ac_ext >&5
34087 wx_cv_type_pthread_mutexattr_t
=no
34091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34094 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
34095 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
34097 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
34098 cat >>confdefs.h
<<\_ACEOF
34099 #define HAVE_PTHREAD_MUTEXATTR_T 1
34103 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
34104 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
34105 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
34106 echo $ECHO_N "(cached) $ECHO_C" >&6
34109 cat >conftest.
$ac_ext <<_ACEOF
34112 cat confdefs.h
>>conftest.
$ac_ext
34113 cat >>conftest.
$ac_ext <<_ACEOF
34114 /* end confdefs.h. */
34115 #include <pthread.h>
34120 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
34126 rm -f conftest.
$ac_objext
34127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34128 (eval $ac_compile) 2>conftest.er1
34130 grep -v '^ *+' conftest.er1
>conftest.err
34132 cat conftest.err
>&5
34133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34134 (exit $ac_status); } &&
34135 { ac_try
='test -z "$ac_c_werror_flag"
34136 || test ! -s conftest.err'
34137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34138 (eval $ac_try) 2>&5
34140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34141 (exit $ac_status); }; } &&
34142 { ac_try
='test -s conftest.$ac_objext'
34143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34144 (eval $ac_try) 2>&5
34146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147 (exit $ac_status); }; }; then
34149 wx_cv_type_pthread_rec_mutex_init
=yes
34152 echo "$as_me: failed program was:" >&5
34153 sed 's/^/| /' conftest.
$ac_ext >&5
34156 wx_cv_type_pthread_rec_mutex_init
=no
34160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34163 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
34164 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
34165 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
34166 cat >>confdefs.h
<<\_ACEOF
34167 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
34171 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
34172 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
34178 if test "$wxUSE_THREADS" = "yes" ; then
34181 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
34182 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
34183 if test "${wx_cv_cflags_mthread+set}" = set; then
34184 echo $ECHO_N "(cached) $ECHO_C" >&6
34187 CFLAGS_OLD
="$CFLAGS"
34188 CFLAGS
="$CFLAGS -mthreads"
34189 cat >conftest.
$ac_ext <<_ACEOF
34192 cat confdefs.h
>>conftest.
$ac_ext
34193 cat >>conftest.
$ac_ext <<_ACEOF
34194 /* end confdefs.h. */
34204 rm -f conftest.
$ac_objext
34205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34206 (eval $ac_compile) 2>conftest.er1
34208 grep -v '^ *+' conftest.er1
>conftest.err
34210 cat conftest.err
>&5
34211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34212 (exit $ac_status); } &&
34213 { ac_try
='test -z "$ac_c_werror_flag"
34214 || test ! -s conftest.err'
34215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34216 (eval $ac_try) 2>&5
34218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34219 (exit $ac_status); }; } &&
34220 { ac_try
='test -s conftest.$ac_objext'
34221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34222 (eval $ac_try) 2>&5
34224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34225 (exit $ac_status); }; }; then
34226 wx_cv_cflags_mthread
=yes
34228 echo "$as_me: failed program was:" >&5
34229 sed 's/^/| /' conftest.
$ac_ext >&5
34231 wx_cv_cflags_mthread
=no
34234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34238 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
34239 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
34241 if test "$wx_cv_cflags_mthread" = "yes"; then
34242 CXXFLAGS
="$CXXFLAGS -mthreads"
34243 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
34244 LDFLAGS
="$LDFLAGS -mthreads"
34246 CFLAGS
="$CFLAGS_OLD"
34250 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
34251 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
34252 LDFLAGS
="$LDFLAGS -Zmt"
34258 if test "$wxUSE_THREADS" = "yes"; then
34259 cat >>confdefs.h
<<\_ACEOF
34260 #define wxUSE_THREADS 1
34264 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
34266 if test "$ac_cv_func_strtok_r" = "yes"; then
34267 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
34268 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
34269 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
34270 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
34271 echo "$as_me:$LINENO: result: yes" >&5
34272 echo "${ECHO_T}yes" >&6
34274 echo "$as_me:$LINENO: result: no" >&5
34275 echo "${ECHO_T}no" >&6
34280 if test "$WXGTK20" = 1 ; then
34281 cat >>confdefs.h
<<_ACEOF
34282 #define __WXGTK20__ $WXGTK20
34288 if test "$WXGTK12" = 1 ; then
34289 cat >>confdefs.h
<<_ACEOF
34290 #define __WXGTK12__ $WXGTK12
34295 if test "$WXGTK127" = 1 ; then
34296 cat >>confdefs.h
<<_ACEOF
34297 #define __WXGTK127__ $WXGTK127
34302 if test "$WXGPE" = 1 ; then
34303 cat >>confdefs.h
<<_ACEOF
34304 #define __WXGPE__ $WXGPE
34311 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
34316 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
34317 wxUSE_DEBUG_INFO
=yes
34321 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
34322 cat >>confdefs.h
<<\_ACEOF
34326 WXDEBUG_DEFINE
="-D__WXDEBUG__"
34328 if test "$wxUSE_GTK" = 1 ; then
34329 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
34333 if test "$wxUSE_MEM_TRACING" = "yes" ; then
34334 cat >>confdefs.h
<<\_ACEOF
34335 #define wxUSE_MEMORY_TRACING 1
34338 cat >>confdefs.h
<<\_ACEOF
34339 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
34342 cat >>confdefs.h
<<\_ACEOF
34343 #define wxUSE_DEBUG_NEW_ALWAYS 1
34346 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
34349 if test "$wxUSE_DMALLOC" = "yes" ; then
34350 DMALLOC_LIBS
="-ldmalloc"
34354 if test "$wxUSE_PROFILE" = "yes" ; then
34359 CODE_GEN_FLAGS_CXX
=
34360 if test "$GCC" = "yes" ; then
34361 if test "$wxUSE_NO_RTTI" = "yes" ; then
34362 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
34364 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
34365 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
34367 if test "$wxUSE_PERMISSIVE" = "yes" ; then
34368 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
34373 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
34376 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
34382 if test "$wxUSE_OPTIMISE" = "no" ; then
34383 if test "$GCC" = yes ; then
34387 if test "$GCC" = yes ; then
34391 i586
-*-*|i686
-*-* )
34392 OPTIMISE
="${OPTIMISE} "
34401 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
34402 cat >>confdefs.h
<<\_ACEOF
34403 #define WXWIN_COMPATIBILITY_2_2 1
34407 WXWIN_COMPATIBILITY_2_4
="yes"
34410 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
34411 cat >>confdefs.h
<<\_ACEOF
34412 #define WXWIN_COMPATIBILITY_2_4 1
34418 if test "$wxUSE_GUI" = "yes"; then
34419 cat >>confdefs.h
<<\_ACEOF
34420 #define wxUSE_GUI 1
34425 cat >>confdefs.h
<<\_ACEOF
34426 #define wxUSE_NOGUI 1
34432 if test "$wxUSE_UNIX" = "yes"; then
34433 cat >>confdefs.h
<<\_ACEOF
34434 #define wxUSE_UNIX 1
34440 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34444 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34445 if test "$USE_DARWIN" = 1; then
34449 for ac_func
in dlopen
34451 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34452 echo "$as_me:$LINENO: checking for $ac_func" >&5
34453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34454 if eval "test \"\${$as_ac_var+set}\" = set"; then
34455 echo $ECHO_N "(cached) $ECHO_C" >&6
34457 cat >conftest.
$ac_ext <<_ACEOF
34460 cat confdefs.h
>>conftest.
$ac_ext
34461 cat >>conftest.
$ac_ext <<_ACEOF
34462 /* end confdefs.h. */
34463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34465 #define $ac_func innocuous_$ac_func
34467 /* System header to define __stub macros and hopefully few prototypes,
34468 which can conflict with char $ac_func (); below.
34469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34470 <limits.h> exists even on freestanding compilers. */
34473 # include <limits.h>
34475 # include <assert.h>
34480 /* Override any gcc2 internal prototype to avoid an error. */
34485 /* We use char because int might match the return type of a gcc2
34486 builtin and then its argument prototype would still apply. */
34488 /* The GNU C library defines this for functions which it implements
34489 to always fail with ENOSYS. Some functions are actually named
34490 something starting with __ and the normal name is an alias. */
34491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34494 char (*f) () = $ac_func;
34503 return f != $ac_func;
34508 rm -f conftest.
$ac_objext conftest
$ac_exeext
34509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34510 (eval $ac_link) 2>conftest.er1
34512 grep -v '^ *+' conftest.er1
>conftest.err
34514 cat conftest.err
>&5
34515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34516 (exit $ac_status); } &&
34517 { ac_try
='test -z "$ac_c_werror_flag"
34518 || test ! -s conftest.err'
34519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34520 (eval $ac_try) 2>&5
34522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34523 (exit $ac_status); }; } &&
34524 { ac_try
='test -s conftest$ac_exeext'
34525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34526 (eval $ac_try) 2>&5
34528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34529 (exit $ac_status); }; }; then
34530 eval "$as_ac_var=yes"
34532 echo "$as_me: failed program was:" >&5
34533 sed 's/^/| /' conftest.
$ac_ext >&5
34535 eval "$as_ac_var=no"
34537 rm -f conftest.err conftest.
$ac_objext \
34538 conftest
$ac_exeext conftest.
$ac_ext
34540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34542 if test `eval echo '${'$as_ac_var'}'` = yes; then
34543 cat >>confdefs.h
<<_ACEOF
34544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34547 cat >>confdefs.h
<<\_ACEOF
34548 #define HAVE_DLOPEN 1
34555 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
34556 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
34557 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
34558 echo $ECHO_N "(cached) $ECHO_C" >&6
34560 ac_check_lib_save_LIBS
=$LIBS
34562 cat >conftest.
$ac_ext <<_ACEOF
34565 cat confdefs.h
>>conftest.
$ac_ext
34566 cat >>conftest.
$ac_ext <<_ACEOF
34567 /* end confdefs.h. */
34569 /* Override any gcc2 internal prototype to avoid an error. */
34573 /* We use char because int might match the return type of a gcc2
34574 builtin and then its argument prototype would still apply. */
34584 rm -f conftest.
$ac_objext conftest
$ac_exeext
34585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34586 (eval $ac_link) 2>conftest.er1
34588 grep -v '^ *+' conftest.er1
>conftest.err
34590 cat conftest.err
>&5
34591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34592 (exit $ac_status); } &&
34593 { ac_try
='test -z "$ac_c_werror_flag"
34594 || test ! -s conftest.err'
34595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34596 (eval $ac_try) 2>&5
34598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34599 (exit $ac_status); }; } &&
34600 { ac_try
='test -s conftest$ac_exeext'
34601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34602 (eval $ac_try) 2>&5
34604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34605 (exit $ac_status); }; }; then
34606 ac_cv_lib_dl_dlopen
=yes
34608 echo "$as_me: failed program was:" >&5
34609 sed 's/^/| /' conftest.
$ac_ext >&5
34611 ac_cv_lib_dl_dlopen
=no
34613 rm -f conftest.err conftest.
$ac_objext \
34614 conftest
$ac_exeext conftest.
$ac_ext
34615 LIBS
=$ac_check_lib_save_LIBS
34617 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
34618 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
34619 if test $ac_cv_lib_dl_dlopen = yes; then
34621 cat >>confdefs.h
<<\_ACEOF
34622 #define HAVE_DLOPEN 1
34626 DL_LINK
=" -ldl$DL_LINK"
34631 for ac_func
in shl_load
34633 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34634 echo "$as_me:$LINENO: checking for $ac_func" >&5
34635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34636 if eval "test \"\${$as_ac_var+set}\" = set"; then
34637 echo $ECHO_N "(cached) $ECHO_C" >&6
34639 cat >conftest.
$ac_ext <<_ACEOF
34642 cat confdefs.h
>>conftest.
$ac_ext
34643 cat >>conftest.
$ac_ext <<_ACEOF
34644 /* end confdefs.h. */
34645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34647 #define $ac_func innocuous_$ac_func
34649 /* System header to define __stub macros and hopefully few prototypes,
34650 which can conflict with char $ac_func (); below.
34651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34652 <limits.h> exists even on freestanding compilers. */
34655 # include <limits.h>
34657 # include <assert.h>
34662 /* Override any gcc2 internal prototype to avoid an error. */
34667 /* We use char because int might match the return type of a gcc2
34668 builtin and then its argument prototype would still apply. */
34670 /* The GNU C library defines this for functions which it implements
34671 to always fail with ENOSYS. Some functions are actually named
34672 something starting with __ and the normal name is an alias. */
34673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34676 char (*f) () = $ac_func;
34685 return f != $ac_func;
34690 rm -f conftest.
$ac_objext conftest
$ac_exeext
34691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34692 (eval $ac_link) 2>conftest.er1
34694 grep -v '^ *+' conftest.er1
>conftest.err
34696 cat conftest.err
>&5
34697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34698 (exit $ac_status); } &&
34699 { ac_try
='test -z "$ac_c_werror_flag"
34700 || test ! -s conftest.err'
34701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34702 (eval $ac_try) 2>&5
34704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34705 (exit $ac_status); }; } &&
34706 { ac_try
='test -s conftest$ac_exeext'
34707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34708 (eval $ac_try) 2>&5
34710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34711 (exit $ac_status); }; }; then
34712 eval "$as_ac_var=yes"
34714 echo "$as_me: failed program was:" >&5
34715 sed 's/^/| /' conftest.
$ac_ext >&5
34717 eval "$as_ac_var=no"
34719 rm -f conftest.err conftest.
$ac_objext \
34720 conftest
$ac_exeext conftest.
$ac_ext
34722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34724 if test `eval echo '${'$as_ac_var'}'` = yes; then
34725 cat >>confdefs.h
<<_ACEOF
34726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34729 cat >>confdefs.h
<<\_ACEOF
34730 #define HAVE_SHL_LOAD 1
34737 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
34738 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
34739 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
34740 echo $ECHO_N "(cached) $ECHO_C" >&6
34742 ac_check_lib_save_LIBS
=$LIBS
34743 LIBS
="-lshl_load $LIBS"
34744 cat >conftest.
$ac_ext <<_ACEOF
34747 cat confdefs.h
>>conftest.
$ac_ext
34748 cat >>conftest.
$ac_ext <<_ACEOF
34749 /* end confdefs.h. */
34751 /* Override any gcc2 internal prototype to avoid an error. */
34755 /* We use char because int might match the return type of a gcc2
34756 builtin and then its argument prototype would still apply. */
34766 rm -f conftest.
$ac_objext conftest
$ac_exeext
34767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34768 (eval $ac_link) 2>conftest.er1
34770 grep -v '^ *+' conftest.er1
>conftest.err
34772 cat conftest.err
>&5
34773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34774 (exit $ac_status); } &&
34775 { ac_try
='test -z "$ac_c_werror_flag"
34776 || test ! -s conftest.err'
34777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34778 (eval $ac_try) 2>&5
34780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34781 (exit $ac_status); }; } &&
34782 { ac_try
='test -s conftest$ac_exeext'
34783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34784 (eval $ac_try) 2>&5
34786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34787 (exit $ac_status); }; }; then
34788 ac_cv_lib_shl_load_dld
=yes
34790 echo "$as_me: failed program was:" >&5
34791 sed 's/^/| /' conftest.
$ac_ext >&5
34793 ac_cv_lib_shl_load_dld
=no
34795 rm -f conftest.err conftest.
$ac_objext \
34796 conftest
$ac_exeext conftest.
$ac_ext
34797 LIBS
=$ac_check_lib_save_LIBS
34799 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
34800 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
34801 if test $ac_cv_lib_shl_load_dld = yes; then
34804 DL_LINK
=" -ldld$DL_LINK"
34820 if test "$HAVE_DL_FUNCS" = 1; then
34822 for ac_func
in dlerror
34824 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34825 echo "$as_me:$LINENO: checking for $ac_func" >&5
34826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34827 if eval "test \"\${$as_ac_var+set}\" = set"; then
34828 echo $ECHO_N "(cached) $ECHO_C" >&6
34830 cat >conftest.
$ac_ext <<_ACEOF
34833 cat confdefs.h
>>conftest.
$ac_ext
34834 cat >>conftest.
$ac_ext <<_ACEOF
34835 /* end confdefs.h. */
34836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34838 #define $ac_func innocuous_$ac_func
34840 /* System header to define __stub macros and hopefully few prototypes,
34841 which can conflict with char $ac_func (); below.
34842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34843 <limits.h> exists even on freestanding compilers. */
34846 # include <limits.h>
34848 # include <assert.h>
34853 /* Override any gcc2 internal prototype to avoid an error. */
34858 /* We use char because int might match the return type of a gcc2
34859 builtin and then its argument prototype would still apply. */
34861 /* The GNU C library defines this for functions which it implements
34862 to always fail with ENOSYS. Some functions are actually named
34863 something starting with __ and the normal name is an alias. */
34864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34867 char (*f) () = $ac_func;
34876 return f != $ac_func;
34881 rm -f conftest.
$ac_objext conftest
$ac_exeext
34882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34883 (eval $ac_link) 2>conftest.er1
34885 grep -v '^ *+' conftest.er1
>conftest.err
34887 cat conftest.err
>&5
34888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34889 (exit $ac_status); } &&
34890 { ac_try
='test -z "$ac_c_werror_flag"
34891 || test ! -s conftest.err'
34892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34893 (eval $ac_try) 2>&5
34895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34896 (exit $ac_status); }; } &&
34897 { ac_try
='test -s conftest$ac_exeext'
34898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34899 (eval $ac_try) 2>&5
34901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34902 (exit $ac_status); }; }; then
34903 eval "$as_ac_var=yes"
34905 echo "$as_me: failed program was:" >&5
34906 sed 's/^/| /' conftest.
$ac_ext >&5
34908 eval "$as_ac_var=no"
34910 rm -f conftest.err conftest.
$ac_objext \
34911 conftest
$ac_exeext conftest.
$ac_ext
34913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34915 if test `eval echo '${'$as_ac_var'}'` = yes; then
34916 cat >>confdefs.h
<<_ACEOF
34917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34919 cat >>confdefs.h
<<\_ACEOF
34920 #define HAVE_DLERROR 1
34925 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34926 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34927 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34928 echo $ECHO_N "(cached) $ECHO_C" >&6
34930 ac_check_lib_save_LIBS
=$LIBS
34932 cat >conftest.
$ac_ext <<_ACEOF
34935 cat confdefs.h
>>conftest.
$ac_ext
34936 cat >>conftest.
$ac_ext <<_ACEOF
34937 /* end confdefs.h. */
34939 /* Override any gcc2 internal prototype to avoid an error. */
34943 /* We use char because int might match the return type of a gcc2
34944 builtin and then its argument prototype would still apply. */
34954 rm -f conftest.
$ac_objext conftest
$ac_exeext
34955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34956 (eval $ac_link) 2>conftest.er1
34958 grep -v '^ *+' conftest.er1
>conftest.err
34960 cat conftest.err
>&5
34961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34962 (exit $ac_status); } &&
34963 { ac_try
='test -z "$ac_c_werror_flag"
34964 || test ! -s conftest.err'
34965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34966 (eval $ac_try) 2>&5
34968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34969 (exit $ac_status); }; } &&
34970 { ac_try
='test -s conftest$ac_exeext'
34971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34972 (eval $ac_try) 2>&5
34974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34975 (exit $ac_status); }; }; then
34976 ac_cv_lib_dl_dlerror
=yes
34978 echo "$as_me: failed program was:" >&5
34979 sed 's/^/| /' conftest.
$ac_ext >&5
34981 ac_cv_lib_dl_dlerror
=no
34983 rm -f conftest.err conftest.
$ac_objext \
34984 conftest
$ac_exeext conftest.
$ac_ext
34985 LIBS
=$ac_check_lib_save_LIBS
34987 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34988 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34989 if test $ac_cv_lib_dl_dlerror = yes; then
34990 cat >>confdefs.h
<<\_ACEOF
34991 #define HAVE_DLERROR 1
35004 if test "$HAVE_DL_FUNCS" = 0; then
35005 if test "$HAVE_SHL_FUNCS" = 0; then
35006 if test "$USE_UNIX" = 1; then
35007 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
35008 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
35009 wxUSE_DYNAMIC_LOADER
=no
35010 wxUSE_DYNLIB_CLASS
=no
35012 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
35013 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
35020 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
35021 cat >>confdefs.h
<<\_ACEOF
35022 #define wxUSE_DYNAMIC_LOADER 1
35026 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35027 cat >>confdefs.h
<<\_ACEOF
35028 #define wxUSE_DYNLIB_CLASS 1
35035 if test "$wxUSE_PLUGINS" = "yes" ; then
35036 if test "$wxUSE_SHARED" = "no" ; then
35037 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
35038 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
35041 if test "$wxUSE_MONOLITHIC" = "yes" ; then
35042 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
35043 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
35046 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
35047 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
35048 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
35051 if test "$wxUSE_PLUGINS" = "yes" ; then
35052 cat >>confdefs.h
<<\_ACEOF
35053 #define wxUSE_PLUGINS 1
35060 if test "$wxUSE_STL" = "yes"; then
35061 cat >>confdefs.h
<<\_ACEOF
35062 #define wxUSE_STL 1
35067 if test "$wxUSE_APPLE_IEEE" = "yes"; then
35068 cat >>confdefs.h
<<\_ACEOF
35069 #define wxUSE_APPLE_IEEE 1
35074 if test "$wxUSE_TIMER" = "yes"; then
35075 cat >>confdefs.h
<<\_ACEOF
35076 #define wxUSE_TIMER 1
35082 if test "$wxUSE_SOUND" = "yes"; then
35083 if test "$USE_UNIX" = "1" ; then
35085 for ac_header
in sys
/soundcard.h
35087 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35089 echo "$as_me:$LINENO: checking for $ac_header" >&5
35090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35092 echo $ECHO_N "(cached) $ECHO_C" >&6
35094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35095 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35097 # Is the header compilable?
35098 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35099 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35100 cat >conftest.
$ac_ext <<_ACEOF
35103 cat confdefs.h
>>conftest.
$ac_ext
35104 cat >>conftest.
$ac_ext <<_ACEOF
35105 /* end confdefs.h. */
35106 $ac_includes_default
35107 #include <$ac_header>
35109 rm -f conftest.
$ac_objext
35110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35111 (eval $ac_compile) 2>conftest.er1
35113 grep -v '^ *+' conftest.er1
>conftest.err
35115 cat conftest.err
>&5
35116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35117 (exit $ac_status); } &&
35118 { ac_try
='test -z "$ac_c_werror_flag"
35119 || 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_objext'
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_header_compiler
=yes
35133 echo "$as_me: failed program was:" >&5
35134 sed 's/^/| /' conftest.
$ac_ext >&5
35136 ac_header_compiler
=no
35138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35139 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35140 echo "${ECHO_T}$ac_header_compiler" >&6
35142 # Is the header present?
35143 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35144 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35145 cat >conftest.
$ac_ext <<_ACEOF
35148 cat confdefs.h
>>conftest.
$ac_ext
35149 cat >>conftest.
$ac_ext <<_ACEOF
35150 /* end confdefs.h. */
35151 #include <$ac_header>
35153 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35154 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35156 grep -v '^ *+' conftest.er1
>conftest.err
35158 cat conftest.err
>&5
35159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35160 (exit $ac_status); } >/dev
/null
; then
35161 if test -s conftest.err
; then
35162 ac_cpp_err
=$ac_c_preproc_warn_flag
35163 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35170 if test -z "$ac_cpp_err"; then
35171 ac_header_preproc
=yes
35173 echo "$as_me: failed program was:" >&5
35174 sed 's/^/| /' conftest.
$ac_ext >&5
35176 ac_header_preproc
=no
35178 rm -f conftest.err conftest.
$ac_ext
35179 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35180 echo "${ECHO_T}$ac_header_preproc" >&6
35182 # So? What about this header?
35183 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35185 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35186 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35188 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35189 ac_header_preproc
=yes
35192 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35193 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35194 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35195 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35196 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35197 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35198 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35199 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35200 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35201 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35202 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35203 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35206 ## ----------------------------------------- ##
35207 ## Report this to wx-dev@lists.wxwidgets.org ##
35208 ## ----------------------------------------- ##
35211 sed "s/^/$as_me: WARNING: /" >&2
35214 echo "$as_me:$LINENO: checking for $ac_header" >&5
35215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35217 echo $ECHO_N "(cached) $ECHO_C" >&6
35219 eval "$as_ac_Header=\$ac_header_preproc"
35221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35222 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35226 cat >>confdefs.h
<<_ACEOF
35227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35235 if test "$wxUSE_LIBSDL" != "no"; then
35237 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
35238 if test "${with_sdl_prefix+set}" = set; then
35239 withval
="$with_sdl_prefix"
35240 sdl_prefix
="$withval"
35245 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
35246 if test "${with_sdl_exec_prefix+set}" = set; then
35247 withval
="$with_sdl_exec_prefix"
35248 sdl_exec_prefix
="$withval"
35252 # Check whether --enable-sdltest or --disable-sdltest was given.
35253 if test "${enable_sdltest+set}" = set; then
35254 enableval
="$enable_sdltest"
35260 if test x
$sdl_exec_prefix != x
; then
35261 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
35262 if test x
${SDL_CONFIG+set} != xset
; then
35263 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
35266 if test x
$sdl_prefix != x
; then
35267 sdl_args
="$sdl_args --prefix=$sdl_prefix"
35268 if test x
${SDL_CONFIG+set} != xset
; then
35269 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
35274 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
35275 # Extract the first word of "sdl-config", so it can be a program name with args.
35276 set dummy sdl
-config; ac_word
=$2
35277 echo "$as_me:$LINENO: checking for $ac_word" >&5
35278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35279 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
35280 echo $ECHO_N "(cached) $ECHO_C" >&6
35282 case $SDL_CONFIG in
35284 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
35287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35288 for as_dir
in $PATH
35291 test -z "$as_dir" && as_dir
=.
35292 for ac_exec_ext
in '' $ac_executable_extensions; do
35293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35294 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
35295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35301 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
35305 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
35307 if test -n "$SDL_CONFIG"; then
35308 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
35309 echo "${ECHO_T}$SDL_CONFIG" >&6
35311 echo "$as_me:$LINENO: result: no" >&5
35312 echo "${ECHO_T}no" >&6
35315 min_sdl_version
=1.2.0
35316 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
35317 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
35319 if test "$SDL_CONFIG" = "no" ; then
35322 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
35323 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
35325 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
35326 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
35327 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
35328 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
35329 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
35330 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
35331 if test "x$enable_sdltest" = "xyes" ; then
35332 ac_save_CFLAGS
="$CFLAGS"
35333 ac_save_LIBS
="$LIBS"
35334 CFLAGS
="$CFLAGS $SDL_CFLAGS"
35335 LIBS
="$LIBS $SDL_LIBS"
35337 if test "$cross_compiling" = yes; then
35338 echo $ac_n "cross compiling; assumed OK... $ac_c"
35340 cat >conftest.
$ac_ext <<_ACEOF
35343 cat confdefs.h
>>conftest.
$ac_ext
35344 cat >>conftest.
$ac_ext <<_ACEOF
35345 /* end confdefs.h. */
35348 #include <stdlib.h>
35349 #include <string.h>
35353 my_strdup (char *str)
35359 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
35360 strcpy (new_str, str);
35368 int main (int argc, char *argv[])
35370 int major, minor, micro;
35373 /* This hangs on some systems (?)
35374 system ("touch conf.sdltest");
35376 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
35378 /* HP/UX 9 (%@#!) writes to sscanf strings */
35379 tmp_version = my_strdup("$min_sdl_version");
35380 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
35381 printf("%s, bad version string\n", "$min_sdl_version");
35385 if (($sdl_major_version > major) ||
35386 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
35387 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
35393 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
35394 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
35395 printf("*** best to upgrade to the required version.\n");
35396 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
35397 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
35398 printf("*** config.cache before re-running configure\n");
35405 rm -f conftest
$ac_exeext
35406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35407 (eval $ac_link) 2>&5
35409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35410 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35412 (eval $ac_try) 2>&5
35414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35415 (exit $ac_status); }; }; then
35418 echo "$as_me: program exited with status $ac_status" >&5
35419 echo "$as_me: failed program was:" >&5
35420 sed 's/^/| /' conftest.
$ac_ext >&5
35422 ( exit $ac_status )
35425 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35427 CFLAGS
="$ac_save_CFLAGS"
35428 LIBS
="$ac_save_LIBS"
35431 if test "x$no_sdl" = x
; then
35432 echo "$as_me:$LINENO: result: yes" >&5
35433 echo "${ECHO_T}yes" >&6
35435 EXTRALIBS_SDL
="$SDL_LIBS"
35436 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
35437 cat >>confdefs.h
<<\_ACEOF
35438 #define wxUSE_LIBSDL 1
35443 echo "$as_me:$LINENO: result: no" >&5
35444 echo "${ECHO_T}no" >&6
35445 if test "$SDL_CONFIG" = "no" ; then
35446 echo "*** The sdl-config script installed by SDL could not be found"
35447 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
35448 echo "*** your path, or set the SDL_CONFIG environment variable to the"
35449 echo "*** full path to sdl-config."
35451 if test -f conf.sdltest
; then
35454 echo "*** Could not run SDL test program, checking why..."
35455 CFLAGS
="$CFLAGS $SDL_CFLAGS"
35456 LIBS
="$LIBS $SDL_LIBS"
35457 cat >conftest.
$ac_ext <<_ACEOF
35460 cat confdefs.h
>>conftest.
$ac_ext
35461 cat >>conftest.
$ac_ext <<_ACEOF
35462 /* end confdefs.h. */
35467 int main(int argc, char *argv[])
35470 #define main K_and_R_C_main
35480 rm -f conftest.
$ac_objext conftest
$ac_exeext
35481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35482 (eval $ac_link) 2>conftest.er1
35484 grep -v '^ *+' conftest.er1
>conftest.err
35486 cat conftest.err
>&5
35487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35488 (exit $ac_status); } &&
35489 { ac_try
='test -z "$ac_c_werror_flag"
35490 || test ! -s conftest.err'
35491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35492 (eval $ac_try) 2>&5
35494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35495 (exit $ac_status); }; } &&
35496 { ac_try
='test -s conftest$ac_exeext'
35497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35498 (eval $ac_try) 2>&5
35500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35501 (exit $ac_status); }; }; then
35502 echo "*** The test program compiled, but did not run. This usually means"
35503 echo "*** that the run-time linker is not finding SDL or finding the wrong"
35504 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
35505 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
35506 echo "*** to the installed location Also, make sure you have run ldconfig if that"
35507 echo "*** is required on your system"
35509 echo "*** If you have an old version installed, it is best to remove it, although"
35510 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
35512 echo "$as_me: failed program was:" >&5
35513 sed 's/^/| /' conftest.
$ac_ext >&5
35515 echo "*** The test program failed to compile or link. See the file config.log for the"
35516 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
35517 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
35518 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
35520 rm -f conftest.err conftest.
$ac_objext \
35521 conftest
$ac_exeext conftest.
$ac_ext
35522 CFLAGS
="$ac_save_CFLAGS"
35523 LIBS
="$ac_save_LIBS"
35534 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
35540 cat >>confdefs.h
<<\_ACEOF
35541 #define wxUSE_SOUND 1
35544 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
35547 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
35548 cat >>confdefs.h
<<\_ACEOF
35549 #define wxUSE_CMDLINE_PARSER 1
35554 if test "$wxUSE_STOPWATCH" = "yes"; then
35555 cat >>confdefs.h
<<\_ACEOF
35556 #define wxUSE_STOPWATCH 1
35561 if test "$wxUSE_DATETIME" = "yes"; then
35562 cat >>confdefs.h
<<\_ACEOF
35563 #define wxUSE_DATETIME 1
35568 if test "$wxUSE_FILE" = "yes"; then
35569 cat >>confdefs.h
<<\_ACEOF
35570 #define wxUSE_FILE 1
35575 if test "$wxUSE_FFILE" = "yes"; then
35576 cat >>confdefs.h
<<\_ACEOF
35577 #define wxUSE_FFILE 1
35582 if test "$wxUSE_FILESYSTEM" = "yes"; then
35583 cat >>confdefs.h
<<\_ACEOF
35584 #define wxUSE_FILESYSTEM 1
35589 if test "$wxUSE_FS_ZIP" = "yes"; then
35590 cat >>confdefs.h
<<\_ACEOF
35591 #define wxUSE_FS_ZIP 1
35596 if test "$wxUSE_ZIPSTREAM" = "yes"; then
35597 cat >>confdefs.h
<<\_ACEOF
35598 #define wxUSE_ZIPSTREAM 1
35603 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35604 cat >>confdefs.h
<<\_ACEOF
35605 #define wxUSE_ON_FATAL_EXCEPTION 1
35610 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35611 cat >>confdefs.h
<<\_ACEOF
35612 #define wxUSE_SNGLINST_CHECKER 1
35617 if test "$wxUSE_BUSYINFO" = "yes"; then
35618 cat >>confdefs.h
<<\_ACEOF
35619 #define wxUSE_BUSYINFO 1
35624 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
35625 cat >>confdefs.h
<<\_ACEOF
35626 #define wxUSE_STD_IOSTREAM 1
35631 if test "$wxUSE_TEXTBUFFER" = "yes"; then
35632 cat >>confdefs.h
<<\_ACEOF
35633 #define wxUSE_TEXTBUFFER 1
35638 if test "$wxUSE_TEXTFILE" = "yes"; then
35639 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
35640 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
35641 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
35643 cat >>confdefs.h
<<\_ACEOF
35644 #define wxUSE_TEXTFILE 1
35650 if test "$wxUSE_CONFIG" = "yes" ; then
35651 if test "$wxUSE_TEXTFILE" != "yes"; then
35652 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
35653 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
35655 cat >>confdefs.h
<<\_ACEOF
35656 #define wxUSE_CONFIG 1
35659 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
35663 if test "$wxUSE_INTL" = "yes" ; then
35664 if test "$wxUSE_FILE" != "yes"; then
35665 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
35666 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35668 cat >>confdefs.h
<<\_ACEOF
35669 #define wxUSE_INTL 1
35672 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
35673 GUIDIST
="$GUIDIST INTL_DIST"
35677 if test "$wxUSE_LOG" = "yes"; then
35678 cat >>confdefs.h
<<\_ACEOF
35679 #define wxUSE_LOG 1
35683 if test "$wxUSE_LOGGUI" = "yes"; then
35684 cat >>confdefs.h
<<\_ACEOF
35685 #define wxUSE_LOGGUI 1
35690 if test "$wxUSE_LOGWINDOW" = "yes"; then
35691 cat >>confdefs.h
<<\_ACEOF
35692 #define wxUSE_LOGWINDOW 1
35697 if test "$wxUSE_LOGDIALOG" = "yes"; then
35698 cat >>confdefs.h
<<\_ACEOF
35699 #define wxUSE_LOG_DIALOG 1
35705 if test "$wxUSE_LONGLONG" = "yes"; then
35706 cat >>confdefs.h
<<\_ACEOF
35707 #define wxUSE_LONGLONG 1
35712 if test "$wxUSE_GEOMETRY" = "yes"; then
35713 cat >>confdefs.h
<<\_ACEOF
35714 #define wxUSE_GEOMETRY 1
35719 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
35720 cat >>confdefs.h
<<\_ACEOF
35721 #define wxUSE_DIALUP_MANAGER 1
35724 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
35727 if test "$wxUSE_STREAMS" = "yes" ; then
35728 cat >>confdefs.h
<<\_ACEOF
35729 #define wxUSE_STREAMS 1
35735 if test "$wxUSE_DATETIME" = "yes"; then
35737 for ac_func
in strptime
35739 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35740 echo "$as_me:$LINENO: checking for $ac_func" >&5
35741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35742 if eval "test \"\${$as_ac_var+set}\" = set"; then
35743 echo $ECHO_N "(cached) $ECHO_C" >&6
35745 cat >conftest.
$ac_ext <<_ACEOF
35748 cat confdefs.h
>>conftest.
$ac_ext
35749 cat >>conftest.
$ac_ext <<_ACEOF
35750 /* end confdefs.h. */
35751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35753 #define $ac_func innocuous_$ac_func
35755 /* System header to define __stub macros and hopefully few prototypes,
35756 which can conflict with char $ac_func (); below.
35757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35758 <limits.h> exists even on freestanding compilers. */
35761 # include <limits.h>
35763 # include <assert.h>
35768 /* Override any gcc2 internal prototype to avoid an error. */
35773 /* We use char because int might match the return type of a gcc2
35774 builtin and then its argument prototype would still apply. */
35776 /* The GNU C library defines this for functions which it implements
35777 to always fail with ENOSYS. Some functions are actually named
35778 something starting with __ and the normal name is an alias. */
35779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35782 char (*f) () = $ac_func;
35791 return f != $ac_func;
35796 rm -f conftest.
$ac_objext conftest
$ac_exeext
35797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35798 (eval $ac_link) 2>conftest.er1
35800 grep -v '^ *+' conftest.er1
>conftest.err
35802 cat conftest.err
>&5
35803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35804 (exit $ac_status); } &&
35805 { ac_try
='test -z "$ac_c_werror_flag"
35806 || test ! -s conftest.err'
35807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35808 (eval $ac_try) 2>&5
35810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35811 (exit $ac_status); }; } &&
35812 { ac_try
='test -s conftest$ac_exeext'
35813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35814 (eval $ac_try) 2>&5
35816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35817 (exit $ac_status); }; }; then
35818 eval "$as_ac_var=yes"
35820 echo "$as_me: failed program was:" >&5
35821 sed 's/^/| /' conftest.
$ac_ext >&5
35823 eval "$as_ac_var=no"
35825 rm -f conftest.err conftest.
$ac_objext \
35826 conftest
$ac_exeext conftest.
$ac_ext
35828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35830 if test `eval echo '${'$as_ac_var'}'` = yes; then
35831 cat >>confdefs.h
<<_ACEOF
35832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35839 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
35840 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
35841 if test "${wx_cv_var_timezone+set}" = set; then
35842 echo $ECHO_N "(cached) $ECHO_C" >&6
35845 cat >conftest.
$ac_ext <<_ACEOF
35848 cat confdefs.h
>>conftest.
$ac_ext
35849 cat >>conftest.
$ac_ext <<_ACEOF
35850 /* end confdefs.h. */
35865 rm -f conftest.
$ac_objext
35866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35867 (eval $ac_compile) 2>conftest.er1
35869 grep -v '^ *+' conftest.er1
>conftest.err
35871 cat conftest.err
>&5
35872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35873 (exit $ac_status); } &&
35874 { ac_try
='test -z "$ac_c_werror_flag"
35875 || test ! -s conftest.err'
35876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35877 (eval $ac_try) 2>&5
35879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35880 (exit $ac_status); }; } &&
35881 { ac_try
='test -s conftest.$ac_objext'
35882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35883 (eval $ac_try) 2>&5
35885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35886 (exit $ac_status); }; }; then
35888 wx_cv_var_timezone
=timezone
35891 echo "$as_me: failed program was:" >&5
35892 sed 's/^/| /' conftest.
$ac_ext >&5
35895 cat >conftest.
$ac_ext <<_ACEOF
35898 cat confdefs.h
>>conftest.
$ac_ext
35899 cat >>conftest.
$ac_ext <<_ACEOF
35900 /* end confdefs.h. */
35915 rm -f conftest.
$ac_objext
35916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35917 (eval $ac_compile) 2>conftest.er1
35919 grep -v '^ *+' conftest.er1
>conftest.err
35921 cat conftest.err
>&5
35922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35923 (exit $ac_status); } &&
35924 { ac_try
='test -z "$ac_c_werror_flag"
35925 || test ! -s conftest.err'
35926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35927 (eval $ac_try) 2>&5
35929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35930 (exit $ac_status); }; } &&
35931 { ac_try
='test -s conftest.$ac_objext'
35932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35933 (eval $ac_try) 2>&5
35935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35936 (exit $ac_status); }; }; then
35938 wx_cv_var_timezone
=_timezone
35941 echo "$as_me: failed program was:" >&5
35942 sed 's/^/| /' conftest.
$ac_ext >&5
35945 cat >conftest.
$ac_ext <<_ACEOF
35948 cat confdefs.h
>>conftest.
$ac_ext
35949 cat >>conftest.
$ac_ext <<_ACEOF
35950 /* end confdefs.h. */
35965 rm -f conftest.
$ac_objext
35966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35967 (eval $ac_compile) 2>conftest.er1
35969 grep -v '^ *+' conftest.er1
>conftest.err
35971 cat conftest.err
>&5
35972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35973 (exit $ac_status); } &&
35974 { ac_try
='test -z "$ac_c_werror_flag"
35975 || test ! -s conftest.err'
35976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35977 (eval $ac_try) 2>&5
35979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35980 (exit $ac_status); }; } &&
35981 { ac_try
='test -s conftest.$ac_objext'
35982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35983 (eval $ac_try) 2>&5
35985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35986 (exit $ac_status); }; }; then
35988 wx_cv_var_timezone
=__timezone
35991 echo "$as_me: failed program was:" >&5
35992 sed 's/^/| /' conftest.
$ac_ext >&5
35995 if test "$USE_DOS" = 0 ; then
35996 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35997 echo "$as_me: WARNING: no timezone variable" >&2;}
36002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36010 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36014 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
36015 echo "${ECHO_T}$wx_cv_var_timezone" >&6
36017 if test "x$wx_cv_var_timezone" != x
; then
36018 cat >>confdefs.h
<<_ACEOF
36019 #define WX_TIMEZONE $wx_cv_var_timezone
36025 for ac_func
in localtime
36027 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36028 echo "$as_me:$LINENO: checking for $ac_func" >&5
36029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36030 if eval "test \"\${$as_ac_var+set}\" = set"; then
36031 echo $ECHO_N "(cached) $ECHO_C" >&6
36033 cat >conftest.
$ac_ext <<_ACEOF
36036 cat confdefs.h
>>conftest.
$ac_ext
36037 cat >>conftest.
$ac_ext <<_ACEOF
36038 /* end confdefs.h. */
36039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36041 #define $ac_func innocuous_$ac_func
36043 /* System header to define __stub macros and hopefully few prototypes,
36044 which can conflict with char $ac_func (); below.
36045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36046 <limits.h> exists even on freestanding compilers. */
36049 # include <limits.h>
36051 # include <assert.h>
36056 /* Override any gcc2 internal prototype to avoid an error. */
36061 /* We use char because int might match the return type of a gcc2
36062 builtin and then its argument prototype would still apply. */
36064 /* The GNU C library defines this for functions which it implements
36065 to always fail with ENOSYS. Some functions are actually named
36066 something starting with __ and the normal name is an alias. */
36067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36070 char (*f) () = $ac_func;
36079 return f != $ac_func;
36084 rm -f conftest.
$ac_objext conftest
$ac_exeext
36085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36086 (eval $ac_link) 2>conftest.er1
36088 grep -v '^ *+' conftest.er1
>conftest.err
36090 cat conftest.err
>&5
36091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36092 (exit $ac_status); } &&
36093 { ac_try
='test -z "$ac_c_werror_flag"
36094 || test ! -s conftest.err'
36095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36096 (eval $ac_try) 2>&5
36098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36099 (exit $ac_status); }; } &&
36100 { ac_try
='test -s conftest$ac_exeext'
36101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36102 (eval $ac_try) 2>&5
36104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36105 (exit $ac_status); }; }; then
36106 eval "$as_ac_var=yes"
36108 echo "$as_me: failed program was:" >&5
36109 sed 's/^/| /' conftest.
$ac_ext >&5
36111 eval "$as_ac_var=no"
36113 rm -f conftest.err conftest.
$ac_objext \
36114 conftest
$ac_exeext conftest.
$ac_ext
36116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36118 if test `eval echo '${'$as_ac_var'}'` = yes; then
36119 cat >>confdefs.h
<<_ACEOF
36120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36127 if test "$ac_cv_func_localtime" = "yes"; then
36128 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
36129 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
36130 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
36131 echo $ECHO_N "(cached) $ECHO_C" >&6
36134 cat >conftest.
$ac_ext <<_ACEOF
36137 cat confdefs.h
>>conftest.
$ac_ext
36138 cat >>conftest.
$ac_ext <<_ACEOF
36139 /* end confdefs.h. */
36154 rm -f conftest.
$ac_objext
36155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36156 (eval $ac_compile) 2>conftest.er1
36158 grep -v '^ *+' conftest.er1
>conftest.err
36160 cat conftest.err
>&5
36161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36162 (exit $ac_status); } &&
36163 { ac_try
='test -z "$ac_c_werror_flag"
36164 || test ! -s conftest.err'
36165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36166 (eval $ac_try) 2>&5
36168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36169 (exit $ac_status); }; } &&
36170 { ac_try
='test -s conftest.$ac_objext'
36171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36172 (eval $ac_try) 2>&5
36174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36175 (exit $ac_status); }; }; then
36177 wx_cv_struct_tm_has_gmtoff
=yes
36180 echo "$as_me: failed program was:" >&5
36181 sed 's/^/| /' conftest.
$ac_ext >&5
36183 wx_cv_struct_tm_has_gmtoff
=no
36186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36189 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
36190 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
36193 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
36194 cat >>confdefs.h
<<\_ACEOF
36195 #define WX_GMTOFF_IN_TM 1
36202 for ac_func
in gettimeofday ftime
36204 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36205 echo "$as_me:$LINENO: checking for $ac_func" >&5
36206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36207 if eval "test \"\${$as_ac_var+set}\" = set"; then
36208 echo $ECHO_N "(cached) $ECHO_C" >&6
36210 cat >conftest.
$ac_ext <<_ACEOF
36213 cat confdefs.h
>>conftest.
$ac_ext
36214 cat >>conftest.
$ac_ext <<_ACEOF
36215 /* end confdefs.h. */
36216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36218 #define $ac_func innocuous_$ac_func
36220 /* System header to define __stub macros and hopefully few prototypes,
36221 which can conflict with char $ac_func (); below.
36222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36223 <limits.h> exists even on freestanding compilers. */
36226 # include <limits.h>
36228 # include <assert.h>
36233 /* Override any gcc2 internal prototype to avoid an error. */
36238 /* We use char because int might match the return type of a gcc2
36239 builtin and then its argument prototype would still apply. */
36241 /* The GNU C library defines this for functions which it implements
36242 to always fail with ENOSYS. Some functions are actually named
36243 something starting with __ and the normal name is an alias. */
36244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36247 char (*f) () = $ac_func;
36256 return f != $ac_func;
36261 rm -f conftest.
$ac_objext conftest
$ac_exeext
36262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36263 (eval $ac_link) 2>conftest.er1
36265 grep -v '^ *+' conftest.er1
>conftest.err
36267 cat conftest.err
>&5
36268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36269 (exit $ac_status); } &&
36270 { ac_try
='test -z "$ac_c_werror_flag"
36271 || test ! -s conftest.err'
36272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36273 (eval $ac_try) 2>&5
36275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36276 (exit $ac_status); }; } &&
36277 { ac_try
='test -s conftest$ac_exeext'
36278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36279 (eval $ac_try) 2>&5
36281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36282 (exit $ac_status); }; }; then
36283 eval "$as_ac_var=yes"
36285 echo "$as_me: failed program was:" >&5
36286 sed 's/^/| /' conftest.
$ac_ext >&5
36288 eval "$as_ac_var=no"
36290 rm -f conftest.err conftest.
$ac_objext \
36291 conftest
$ac_exeext conftest.
$ac_ext
36293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36295 if test `eval echo '${'$as_ac_var'}'` = yes; then
36296 cat >>confdefs.h
<<_ACEOF
36297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36304 if test "$ac_cv_func_gettimeofday" = "yes"; then
36305 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
36306 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
36307 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
36308 echo $ECHO_N "(cached) $ECHO_C" >&6
36314 ac_cpp
='$CXXCPP $CPPFLAGS'
36315 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36316 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36317 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36320 cat >conftest.
$ac_ext <<_ACEOF
36323 cat confdefs.h
>>conftest.
$ac_ext
36324 cat >>conftest.
$ac_ext <<_ACEOF
36325 /* end confdefs.h. */
36327 #include <sys/time.h>
36328 #include <unistd.h>
36335 gettimeofday(&tv, NULL);
36341 rm -f conftest.
$ac_objext
36342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36343 (eval $ac_compile) 2>conftest.er1
36345 grep -v '^ *+' conftest.er1
>conftest.err
36347 cat conftest.err
>&5
36348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36349 (exit $ac_status); } &&
36350 { ac_try
='test -z "$ac_cxx_werror_flag"
36351 || test ! -s conftest.err'
36352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36353 (eval $ac_try) 2>&5
36355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36356 (exit $ac_status); }; } &&
36357 { ac_try
='test -s conftest.$ac_objext'
36358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36359 (eval $ac_try) 2>&5
36361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36362 (exit $ac_status); }; }; then
36363 wx_cv_func_gettimeofday_has_2_args
=yes
36365 echo "$as_me: failed program was:" >&5
36366 sed 's/^/| /' conftest.
$ac_ext >&5
36368 cat >conftest.
$ac_ext <<_ACEOF
36371 cat confdefs.h
>>conftest.
$ac_ext
36372 cat >>conftest.
$ac_ext <<_ACEOF
36373 /* end confdefs.h. */
36375 #include <sys/time.h>
36376 #include <unistd.h>
36389 rm -f conftest.
$ac_objext
36390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36391 (eval $ac_compile) 2>conftest.er1
36393 grep -v '^ *+' conftest.er1
>conftest.err
36395 cat conftest.err
>&5
36396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36397 (exit $ac_status); } &&
36398 { ac_try
='test -z "$ac_cxx_werror_flag"
36399 || test ! -s conftest.err'
36400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36401 (eval $ac_try) 2>&5
36403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36404 (exit $ac_status); }; } &&
36405 { ac_try
='test -s conftest.$ac_objext'
36406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36407 (eval $ac_try) 2>&5
36409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36410 (exit $ac_status); }; }; then
36411 wx_cv_func_gettimeofday_has_2_args
=no
36413 echo "$as_me: failed program was:" >&5
36414 sed 's/^/| /' conftest.
$ac_ext >&5
36417 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
36418 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
36419 wx_cv_func_gettimeofday_has_2_args
=unknown
36423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36428 ac_cpp
='$CPP $CPPFLAGS'
36429 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36430 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36431 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36435 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
36436 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
36438 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
36439 cat >>confdefs.h
<<\_ACEOF
36440 #define WX_GETTIMEOFDAY_NO_TZ 1
36446 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
36450 if test "$wxUSE_SOCKETS" = "yes"; then
36451 if test "$wxUSE_MGL" = "1"; then
36452 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
36453 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
36458 if test "$wxUSE_SOCKETS" = "yes"; then
36459 if test "$TOOLKIT" != "MSW"; then
36460 echo "$as_me:$LINENO: checking for socket" >&5
36461 echo $ECHO_N "checking for socket... $ECHO_C" >&6
36462 if test "${ac_cv_func_socket+set}" = set; then
36463 echo $ECHO_N "(cached) $ECHO_C" >&6
36465 cat >conftest.
$ac_ext <<_ACEOF
36468 cat confdefs.h
>>conftest.
$ac_ext
36469 cat >>conftest.
$ac_ext <<_ACEOF
36470 /* end confdefs.h. */
36471 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
36472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36473 #define socket innocuous_socket
36475 /* System header to define __stub macros and hopefully few prototypes,
36476 which can conflict with char socket (); below.
36477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36478 <limits.h> exists even on freestanding compilers. */
36481 # include <limits.h>
36483 # include <assert.h>
36488 /* Override any gcc2 internal prototype to avoid an error. */
36493 /* We use char because int might match the return type of a gcc2
36494 builtin and then its argument prototype would still apply. */
36496 /* The GNU C library defines this for functions which it implements
36497 to always fail with ENOSYS. Some functions are actually named
36498 something starting with __ and the normal name is an alias. */
36499 #if defined (__stub_socket) || defined (__stub___socket)
36502 char (*f) () = socket;
36511 return f != socket;
36516 rm -f conftest.
$ac_objext conftest
$ac_exeext
36517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36518 (eval $ac_link) 2>conftest.er1
36520 grep -v '^ *+' conftest.er1
>conftest.err
36522 cat conftest.err
>&5
36523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36524 (exit $ac_status); } &&
36525 { ac_try
='test -z "$ac_c_werror_flag"
36526 || test ! -s conftest.err'
36527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36528 (eval $ac_try) 2>&5
36530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36531 (exit $ac_status); }; } &&
36532 { ac_try
='test -s conftest$ac_exeext'
36533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36534 (eval $ac_try) 2>&5
36536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36537 (exit $ac_status); }; }; then
36538 ac_cv_func_socket
=yes
36540 echo "$as_me: failed program was:" >&5
36541 sed 's/^/| /' conftest.
$ac_ext >&5
36543 ac_cv_func_socket
=no
36545 rm -f conftest.err conftest.
$ac_objext \
36546 conftest
$ac_exeext conftest.
$ac_ext
36548 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
36549 echo "${ECHO_T}$ac_cv_func_socket" >&6
36550 if test $ac_cv_func_socket = yes; then
36554 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
36555 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
36556 if test "${ac_cv_lib_socket_socket+set}" = set; then
36557 echo $ECHO_N "(cached) $ECHO_C" >&6
36559 ac_check_lib_save_LIBS
=$LIBS
36560 LIBS
="-lsocket $LIBS"
36561 cat >conftest.
$ac_ext <<_ACEOF
36564 cat confdefs.h
>>conftest.
$ac_ext
36565 cat >>conftest.
$ac_ext <<_ACEOF
36566 /* end confdefs.h. */
36568 /* Override any gcc2 internal prototype to avoid an error. */
36572 /* We use char because int might match the return type of a gcc2
36573 builtin and then its argument prototype would still apply. */
36583 rm -f conftest.
$ac_objext conftest
$ac_exeext
36584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36585 (eval $ac_link) 2>conftest.er1
36587 grep -v '^ *+' conftest.er1
>conftest.err
36589 cat conftest.err
>&5
36590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36591 (exit $ac_status); } &&
36592 { ac_try
='test -z "$ac_c_werror_flag"
36593 || test ! -s conftest.err'
36594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36595 (eval $ac_try) 2>&5
36597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36598 (exit $ac_status); }; } &&
36599 { ac_try
='test -s conftest$ac_exeext'
36600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36601 (eval $ac_try) 2>&5
36603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36604 (exit $ac_status); }; }; then
36605 ac_cv_lib_socket_socket
=yes
36607 echo "$as_me: failed program was:" >&5
36608 sed 's/^/| /' conftest.
$ac_ext >&5
36610 ac_cv_lib_socket_socket
=no
36612 rm -f conftest.err conftest.
$ac_objext \
36613 conftest
$ac_exeext conftest.
$ac_ext
36614 LIBS
=$ac_check_lib_save_LIBS
36616 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
36617 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
36618 if test $ac_cv_lib_socket_socket = yes; then
36619 if test "$INET_LINK" != " -lsocket"; then
36620 INET_LINK
="$INET_LINK -lsocket"
36624 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
36625 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
36638 if test "$wxUSE_SOCKETS" = "yes" ; then
36639 if test "$TOOLKIT" != "MSW"; then
36640 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
36641 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
36642 if test "${wx_cv_type_getsockname3+set}" = set; then
36643 echo $ECHO_N "(cached) $ECHO_C" >&6
36646 cat >conftest.
$ac_ext <<_ACEOF
36649 cat confdefs.h
>>conftest.
$ac_ext
36650 cat >>conftest.
$ac_ext <<_ACEOF
36651 /* end confdefs.h. */
36653 #include <sys/types.h>
36654 #include <sys/socket.h>
36661 getsockname(0, 0, &len);
36667 rm -f conftest.
$ac_objext
36668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36669 (eval $ac_compile) 2>conftest.er1
36671 grep -v '^ *+' conftest.er1
>conftest.err
36673 cat conftest.err
>&5
36674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36675 (exit $ac_status); } &&
36676 { ac_try
='test -z "$ac_c_werror_flag"
36677 || test ! -s conftest.err'
36678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36679 (eval $ac_try) 2>&5
36681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36682 (exit $ac_status); }; } &&
36683 { ac_try
='test -s conftest.$ac_objext'
36684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36685 (eval $ac_try) 2>&5
36687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36688 (exit $ac_status); }; }; then
36689 wx_cv_type_getsockname3
=socklen_t
36691 echo "$as_me: failed program was:" >&5
36692 sed 's/^/| /' conftest.
$ac_ext >&5
36695 CFLAGS_OLD
="$CFLAGS"
36696 if test "$GCC" = yes ; then
36697 CFLAGS
="$CFLAGS -Werror"
36700 cat >conftest.
$ac_ext <<_ACEOF
36703 cat confdefs.h
>>conftest.
$ac_ext
36704 cat >>conftest.
$ac_ext <<_ACEOF
36705 /* end confdefs.h. */
36707 #include <sys/types.h>
36708 #include <sys/socket.h>
36715 getsockname(0, 0, &len);
36721 rm -f conftest.
$ac_objext
36722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36723 (eval $ac_compile) 2>conftest.er1
36725 grep -v '^ *+' conftest.er1
>conftest.err
36727 cat conftest.err
>&5
36728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36729 (exit $ac_status); } &&
36730 { ac_try
='test -z "$ac_c_werror_flag"
36731 || test ! -s conftest.err'
36732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36733 (eval $ac_try) 2>&5
36735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36736 (exit $ac_status); }; } &&
36737 { ac_try
='test -s conftest.$ac_objext'
36738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36739 (eval $ac_try) 2>&5
36741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36742 (exit $ac_status); }; }; then
36743 wx_cv_type_getsockname3
=size_t
36745 echo "$as_me: failed program was:" >&5
36746 sed 's/^/| /' conftest.
$ac_ext >&5
36748 cat >conftest.
$ac_ext <<_ACEOF
36751 cat confdefs.h
>>conftest.
$ac_ext
36752 cat >>conftest.
$ac_ext <<_ACEOF
36753 /* end confdefs.h. */
36755 #include <sys/types.h>
36756 #include <sys/socket.h>
36763 getsockname(0, 0, &len);
36769 rm -f conftest.
$ac_objext
36770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36771 (eval $ac_compile) 2>conftest.er1
36773 grep -v '^ *+' conftest.er1
>conftest.err
36775 cat conftest.err
>&5
36776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36777 (exit $ac_status); } &&
36778 { ac_try
='test -z "$ac_c_werror_flag"
36779 || test ! -s conftest.err'
36780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36781 (eval $ac_try) 2>&5
36783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36784 (exit $ac_status); }; } &&
36785 { ac_try
='test -s conftest.$ac_objext'
36786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36787 (eval $ac_try) 2>&5
36789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36790 (exit $ac_status); }; }; then
36791 wx_cv_type_getsockname3
=int
36793 echo "$as_me: failed program was:" >&5
36794 sed 's/^/| /' conftest.
$ac_ext >&5
36796 wx_cv_type_getsockname3
=unknown
36799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36804 CFLAGS
="$CFLAGS_OLD"
36808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36811 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
36812 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
36814 if test "$wx_cv_type_getsockname3" = "unknown"; then
36816 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36817 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36819 cat >>confdefs.h
<<_ACEOF
36820 #define SOCKLEN_T $wx_cv_type_getsockname3
36827 if test "$wxUSE_SOCKETS" = "yes" ; then
36828 cat >>confdefs.h
<<\_ACEOF
36829 #define wxUSE_SOCKETS 1
36832 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
36835 if test "$wxUSE_PROTOCOL" = "yes"; then
36836 if test "$wxUSE_SOCKETS" != "yes"; then
36837 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
36838 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
36843 if test "$wxUSE_PROTOCOL" = "yes"; then
36844 cat >>confdefs.h
<<\_ACEOF
36845 #define wxUSE_PROTOCOL 1
36849 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
36850 cat >>confdefs.h
<<\_ACEOF
36851 #define wxUSE_PROTOCOL_HTTP 1
36855 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
36856 cat >>confdefs.h
<<\_ACEOF
36857 #define wxUSE_PROTOCOL_FTP 1
36861 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
36862 cat >>confdefs.h
<<\_ACEOF
36863 #define wxUSE_PROTOCOL_FILE 1
36868 if test "$wxUSE_FS_INET" = "yes"; then
36869 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
36870 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
36875 if test "$wxUSE_URL" = "yes"; then
36876 if test "$wxUSE_PROTOCOL" != "yes"; then
36877 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
36878 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
36881 if test "$wxUSE_URL" = "yes"; then
36882 cat >>confdefs.h
<<\_ACEOF
36883 #define wxUSE_URL 1
36889 if test "$wxUSE_FS_INET" = "yes"; then
36890 cat >>confdefs.h
<<\_ACEOF
36891 #define wxUSE_FS_INET 1
36897 if test "$wxUSE_GUI" = "yes"; then
36899 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
36900 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
36901 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
36905 if test "$TOOLKIT" != "MSW"; then
36906 if test "$wxUSE_JOYSTICK" = "yes"; then
36908 for ac_header
in linux
/joystick.h
36910 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36912 echo "$as_me:$LINENO: checking for $ac_header" >&5
36913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36915 echo $ECHO_N "(cached) $ECHO_C" >&6
36917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36920 # Is the header compilable?
36921 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36922 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36923 cat >conftest.
$ac_ext <<_ACEOF
36926 cat confdefs.h
>>conftest.
$ac_ext
36927 cat >>conftest.
$ac_ext <<_ACEOF
36928 /* end confdefs.h. */
36929 $ac_includes_default
36930 #include <$ac_header>
36932 rm -f conftest.
$ac_objext
36933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36934 (eval $ac_compile) 2>conftest.er1
36936 grep -v '^ *+' conftest.er1
>conftest.err
36938 cat conftest.err
>&5
36939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36940 (exit $ac_status); } &&
36941 { ac_try
='test -z "$ac_c_werror_flag"
36942 || test ! -s conftest.err'
36943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36944 (eval $ac_try) 2>&5
36946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36947 (exit $ac_status); }; } &&
36948 { ac_try
='test -s conftest.$ac_objext'
36949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36950 (eval $ac_try) 2>&5
36952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36953 (exit $ac_status); }; }; then
36954 ac_header_compiler
=yes
36956 echo "$as_me: failed program was:" >&5
36957 sed 's/^/| /' conftest.
$ac_ext >&5
36959 ac_header_compiler
=no
36961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36962 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36963 echo "${ECHO_T}$ac_header_compiler" >&6
36965 # Is the header present?
36966 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36967 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36968 cat >conftest.
$ac_ext <<_ACEOF
36971 cat confdefs.h
>>conftest.
$ac_ext
36972 cat >>conftest.
$ac_ext <<_ACEOF
36973 /* end confdefs.h. */
36974 #include <$ac_header>
36976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36977 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36979 grep -v '^ *+' conftest.er1
>conftest.err
36981 cat conftest.err
>&5
36982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36983 (exit $ac_status); } >/dev
/null
; then
36984 if test -s conftest.err
; then
36985 ac_cpp_err
=$ac_c_preproc_warn_flag
36986 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36993 if test -z "$ac_cpp_err"; then
36994 ac_header_preproc
=yes
36996 echo "$as_me: failed program was:" >&5
36997 sed 's/^/| /' conftest.
$ac_ext >&5
36999 ac_header_preproc
=no
37001 rm -f conftest.err conftest.
$ac_ext
37002 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37003 echo "${ECHO_T}$ac_header_preproc" >&6
37005 # So? What about this header?
37006 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37008 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37009 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37010 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37011 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37012 ac_header_preproc
=yes
37015 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37016 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37017 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37018 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37019 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37020 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37021 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37022 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37023 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37024 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37025 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37026 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37029 ## ----------------------------------------- ##
37030 ## Report this to wx-dev@lists.wxwidgets.org ##
37031 ## ----------------------------------------- ##
37034 sed "s/^/$as_me: WARNING: /" >&2
37037 echo "$as_me:$LINENO: checking for $ac_header" >&5
37038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37040 echo $ECHO_N "(cached) $ECHO_C" >&6
37042 eval "$as_ac_Header=\$ac_header_preproc"
37044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37048 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37049 cat >>confdefs.h
<<_ACEOF
37050 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37057 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
37059 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
37060 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
37065 if test "$wxUSE_JOYSTICK" = "yes"; then
37066 cat >>confdefs.h
<<\_ACEOF
37067 #define wxUSE_JOYSTICK 1
37070 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
37076 if test "$wxUSE_FONTMAP" = "yes" ; then
37077 cat >>confdefs.h
<<\_ACEOF
37078 #define wxUSE_FONTMAP 1
37083 if test "$wxUSE_UNICODE" = "yes" ; then
37084 cat >>confdefs.h
<<\_ACEOF
37085 #define wxUSE_UNICODE 1
37089 if test "$USE_WIN32" != 1; then
37090 wxUSE_UNICODE_MSLU
=no
37093 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
37094 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
37095 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
37096 if test "${ac_cv_lib_unicows_main+set}" = set; then
37097 echo $ECHO_N "(cached) $ECHO_C" >&6
37099 ac_check_lib_save_LIBS
=$LIBS
37100 LIBS
="-lunicows $LIBS"
37101 cat >conftest.
$ac_ext <<_ACEOF
37104 cat confdefs.h
>>conftest.
$ac_ext
37105 cat >>conftest.
$ac_ext <<_ACEOF
37106 /* end confdefs.h. */
37117 rm -f conftest.
$ac_objext conftest
$ac_exeext
37118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37119 (eval $ac_link) 2>conftest.er1
37121 grep -v '^ *+' conftest.er1
>conftest.err
37123 cat conftest.err
>&5
37124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37125 (exit $ac_status); } &&
37126 { ac_try
='test -z "$ac_c_werror_flag"
37127 || test ! -s conftest.err'
37128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37129 (eval $ac_try) 2>&5
37131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37132 (exit $ac_status); }; } &&
37133 { ac_try
='test -s conftest$ac_exeext'
37134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37135 (eval $ac_try) 2>&5
37137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37138 (exit $ac_status); }; }; then
37139 ac_cv_lib_unicows_main
=yes
37141 echo "$as_me: failed program was:" >&5
37142 sed 's/^/| /' conftest.
$ac_ext >&5
37144 ac_cv_lib_unicows_main
=no
37146 rm -f conftest.err conftest.
$ac_objext \
37147 conftest
$ac_exeext conftest.
$ac_ext
37148 LIBS
=$ac_check_lib_save_LIBS
37150 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
37151 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
37152 if test $ac_cv_lib_unicows_main = yes; then
37154 cat >>confdefs.h
<<\_ACEOF
37155 #define wxUSE_UNICODE_MSLU 1
37161 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37162 Applications will only run on Windows NT/2000/XP!" >&5
37163 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37164 Applications will only run on Windows NT/2000/XP!" >&2;}
37165 wxUSE_UNICODE_MSLU
=no
37172 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
37173 cat >>confdefs.h
<<\_ACEOF
37174 #define wxUSE_EXPERIMENTAL_PRINTF 1
37180 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
37181 cat >>confdefs.h
<<\_ACEOF
37182 #define wxUSE_POSTSCRIPT 1
37187 cat >>confdefs.h
<<\_ACEOF
37188 #define wxUSE_AFM_FOR_POSTSCRIPT 1
37192 cat >>confdefs.h
<<\_ACEOF
37193 #define wxUSE_NORMALIZED_PS_FONTS 1
37198 if test "$wxUSE_CONSTRAINTS" = "yes"; then
37199 cat >>confdefs.h
<<\_ACEOF
37200 #define wxUSE_CONSTRAINTS 1
37203 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
37206 if test "$wxUSE_MDI" = "yes"; then
37207 cat >>confdefs.h
<<\_ACEOF
37208 #define wxUSE_MDI 1
37212 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37213 cat >>confdefs.h
<<\_ACEOF
37214 #define wxUSE_MDI_ARCHITECTURE 1
37217 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
37221 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
37222 cat >>confdefs.h
<<\_ACEOF
37223 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
37226 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
37227 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37228 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
37232 if test "$wxUSE_HELP" = "yes"; then
37233 cat >>confdefs.h
<<\_ACEOF
37234 #define wxUSE_HELP 1
37237 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
37239 if test "$wxUSE_MSW" = 1; then
37240 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
37241 cat >>confdefs.h
<<\_ACEOF
37242 #define wxUSE_MS_HTML_HELP 1
37248 if test "$wxUSE_WXHTML_HELP" = "yes"; then
37249 if test "$wxUSE_HTML" = "yes"; then
37250 cat >>confdefs.h
<<\_ACEOF
37251 #define wxUSE_WXHTML_HELP 1
37255 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
37256 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
37257 wxUSE_WXHTML_HELP
=no
37262 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37263 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37264 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
37265 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
37267 cat >>confdefs.h
<<\_ACEOF
37268 #define wxUSE_PRINTING_ARCHITECTURE 1
37272 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
37275 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
37276 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
37277 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
37278 { (exit 1); exit 1; }; }
37282 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
37283 -o "$wxUSE_CLIPBOARD" = "yes" \
37284 -o "$wxUSE_OLE" = "yes" \
37285 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
37287 for ac_header
in ole2.h
37289 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37291 echo "$as_me:$LINENO: checking for $ac_header" >&5
37292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37294 echo $ECHO_N "(cached) $ECHO_C" >&6
37296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37299 # Is the header compilable?
37300 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37301 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37302 cat >conftest.
$ac_ext <<_ACEOF
37305 cat confdefs.h
>>conftest.
$ac_ext
37306 cat >>conftest.
$ac_ext <<_ACEOF
37307 /* end confdefs.h. */
37308 $ac_includes_default
37309 #include <$ac_header>
37311 rm -f conftest.
$ac_objext
37312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37313 (eval $ac_compile) 2>conftest.er1
37315 grep -v '^ *+' conftest.er1
>conftest.err
37317 cat conftest.err
>&5
37318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37319 (exit $ac_status); } &&
37320 { ac_try
='test -z "$ac_c_werror_flag"
37321 || test ! -s conftest.err'
37322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37323 (eval $ac_try) 2>&5
37325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37326 (exit $ac_status); }; } &&
37327 { ac_try
='test -s conftest.$ac_objext'
37328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37329 (eval $ac_try) 2>&5
37331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37332 (exit $ac_status); }; }; then
37333 ac_header_compiler
=yes
37335 echo "$as_me: failed program was:" >&5
37336 sed 's/^/| /' conftest.
$ac_ext >&5
37338 ac_header_compiler
=no
37340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37341 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37342 echo "${ECHO_T}$ac_header_compiler" >&6
37344 # Is the header present?
37345 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37346 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37347 cat >conftest.
$ac_ext <<_ACEOF
37350 cat confdefs.h
>>conftest.
$ac_ext
37351 cat >>conftest.
$ac_ext <<_ACEOF
37352 /* end confdefs.h. */
37353 #include <$ac_header>
37355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37356 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37358 grep -v '^ *+' conftest.er1
>conftest.err
37360 cat conftest.err
>&5
37361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37362 (exit $ac_status); } >/dev
/null
; then
37363 if test -s conftest.err
; then
37364 ac_cpp_err
=$ac_c_preproc_warn_flag
37365 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37372 if test -z "$ac_cpp_err"; then
37373 ac_header_preproc
=yes
37375 echo "$as_me: failed program was:" >&5
37376 sed 's/^/| /' conftest.
$ac_ext >&5
37378 ac_header_preproc
=no
37380 rm -f conftest.err conftest.
$ac_ext
37381 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37382 echo "${ECHO_T}$ac_header_preproc" >&6
37384 # So? What about this header?
37385 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37387 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37388 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37389 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37390 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37391 ac_header_preproc
=yes
37394 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37395 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37396 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37397 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37398 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37399 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37400 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37401 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37403 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37404 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37405 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37408 ## ----------------------------------------- ##
37409 ## Report this to wx-dev@lists.wxwidgets.org ##
37410 ## ----------------------------------------- ##
37413 sed "s/^/$as_me: WARNING: /" >&2
37416 echo "$as_me:$LINENO: checking for $ac_header" >&5
37417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37419 echo $ECHO_N "(cached) $ECHO_C" >&6
37421 eval "$as_ac_Header=\$ac_header_preproc"
37423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37428 cat >>confdefs.h
<<_ACEOF
37429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37437 if test "$ac_cv_header_ole2_h" = "yes" ; then
37438 if test "$GCC" = yes ; then
37442 ac_cpp
='$CXXCPP $CPPFLAGS'
37443 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37444 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37445 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37448 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
37449 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
37450 cat >conftest.
$ac_ext <<_ACEOF
37453 cat confdefs.h
>>conftest.
$ac_ext
37454 cat >>conftest.
$ac_ext <<_ACEOF
37455 /* end confdefs.h. */
37456 #include <windows.h>
37466 rm -f conftest.
$ac_objext
37467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37468 (eval $ac_compile) 2>conftest.er1
37470 grep -v '^ *+' conftest.er1
>conftest.err
37472 cat conftest.err
>&5
37473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37474 (exit $ac_status); } &&
37475 { ac_try
='test -z "$ac_cxx_werror_flag"
37476 || test ! -s conftest.err'
37477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37478 (eval $ac_try) 2>&5
37480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37481 (exit $ac_status); }; } &&
37482 { ac_try
='test -s conftest.$ac_objext'
37483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37484 (eval $ac_try) 2>&5
37486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37487 (exit $ac_status); }; }; then
37488 echo "$as_me:$LINENO: result: no" >&5
37489 echo "${ECHO_T}no" >&6
37491 echo "$as_me: failed program was:" >&5
37492 sed 's/^/| /' conftest.
$ac_ext >&5
37494 echo "$as_me:$LINENO: result: yes" >&5
37495 echo "${ECHO_T}yes" >&6
37496 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
37498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37500 ac_cpp
='$CPP $CPPFLAGS'
37501 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37502 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37503 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37505 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
37506 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
37507 if test "$wxUSE_OLE" = "yes" ; then
37508 cat >>confdefs.h
<<\_ACEOF
37509 #define wxUSE_OLE 1
37515 if test "$wxUSE_DATAOBJ" = "yes" ; then
37516 cat >>confdefs.h
<<\_ACEOF
37517 #define wxUSE_DATAOBJ 1
37522 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
37523 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
37526 wxUSE_DRAG_AND_DROP
=no
37531 if test "$wxUSE_METAFILE" = "yes"; then
37532 cat >>confdefs.h
<<\_ACEOF
37533 #define wxUSE_METAFILE 1
37537 cat >>confdefs.h
<<\_ACEOF
37538 #define wxUSE_ENH_METAFILE 1
37544 if test "$wxUSE_IPC" = "yes"; then
37545 if test "$wxUSE_SOCKETS" != "yes"; then
37546 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
37547 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
37550 cat >>confdefs.h
<<\_ACEOF
37551 #define wxUSE_IPC 1
37556 if test "$wxUSE_CLIPBOARD" = "yes"; then
37557 if test "$wxUSE_MGL" = 1; then
37558 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
37559 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
37563 if test "$wxUSE_CLIPBOARD" = "yes"; then
37564 cat >>confdefs.h
<<\_ACEOF
37565 #define wxUSE_CLIPBOARD 1
37569 cat >>confdefs.h
<<\_ACEOF
37570 #define wxUSE_DATAOBJ 1
37576 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
37577 if test "$wxUSE_GTK" = 1; then
37578 if test "$WXGTK12" != 1; then
37579 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
37580 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
37581 wxUSE_DRAG_AND_DROP
=no
37585 if test "$wxUSE_MOTIF" = 1; then
37586 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
37587 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
37588 wxUSE_DRAG_AND_DROP
=no
37591 if test "$wxUSE_X11" = 1; then
37592 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
37593 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
37594 wxUSE_DRAG_AND_DROP
=no
37597 if test "$wxUSE_MGL" = 1; then
37598 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
37599 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
37600 wxUSE_DRAG_AND_DROP
=no
37603 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
37604 cat >>confdefs.h
<<\_ACEOF
37605 #define wxUSE_DRAG_AND_DROP 1
37612 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
37613 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
37616 if test "$wxUSE_SPLINES" = "yes" ; then
37617 cat >>confdefs.h
<<\_ACEOF
37618 #define wxUSE_SPLINES 1
37625 if test "$wxUSE_CONTROLS" = "yes"; then
37629 if test "$wxUSE_ACCEL" = "yes"; then
37630 cat >>confdefs.h
<<\_ACEOF
37631 #define wxUSE_ACCEL 1
37637 if test "$wxUSE_BUTTON" = "yes"; then
37638 cat >>confdefs.h
<<\_ACEOF
37639 #define wxUSE_BUTTON 1
37645 if test "$wxUSE_BMPBUTTON" = "yes"; then
37646 cat >>confdefs.h
<<\_ACEOF
37647 #define wxUSE_BMPBUTTON 1
37653 if test "$wxUSE_CALCTRL" = "yes"; then
37654 cat >>confdefs.h
<<\_ACEOF
37655 #define wxUSE_CALENDARCTRL 1
37659 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
37662 if test "$wxUSE_CARET" = "yes"; then
37663 cat >>confdefs.h
<<\_ACEOF
37664 #define wxUSE_CARET 1
37668 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
37671 if test "$wxUSE_COMBOBOX" = "yes"; then
37672 cat >>confdefs.h
<<\_ACEOF
37673 #define wxUSE_COMBOBOX 1
37679 if test "$wxUSE_CHOICE" = "yes"; then
37680 cat >>confdefs.h
<<\_ACEOF
37681 #define wxUSE_CHOICE 1
37687 if test "$wxUSE_CHECKBOX" = "yes"; then
37688 cat >>confdefs.h
<<\_ACEOF
37689 #define wxUSE_CHECKBOX 1
37695 if test "$wxUSE_CHECKLST" = "yes"; then
37696 cat >>confdefs.h
<<\_ACEOF
37697 #define wxUSE_CHECKLISTBOX 1
37701 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
37704 if test "$wxUSE_DISPLAY" = "yes"; then
37705 cat >>confdefs.h
<<\_ACEOF
37706 #define wxUSE_DISPLAY 1
37709 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
37712 if test "$wxUSE_GAUGE" = "yes"; then
37713 cat >>confdefs.h
<<\_ACEOF
37714 #define wxUSE_GAUGE 1
37720 if test "$wxUSE_GRID" = "yes"; then
37721 cat >>confdefs.h
<<\_ACEOF
37722 #define wxUSE_GRID 1
37726 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
37729 if test "$wxUSE_IMAGLIST" = "yes"; then
37730 cat >>confdefs.h
<<\_ACEOF
37731 #define wxUSE_IMAGLIST 1
37736 if test "$wxUSE_LISTBOOK" = "yes"; then
37737 cat >>confdefs.h
<<\_ACEOF
37738 #define wxUSE_LISTBOOK 1
37744 if test "$wxUSE_LISTBOX" = "yes"; then
37745 cat >>confdefs.h
<<\_ACEOF
37746 #define wxUSE_LISTBOX 1
37752 if test "$wxUSE_LISTCTRL" = "yes"; then
37753 if test "$wxUSE_IMAGLIST" = "yes"; then
37754 cat >>confdefs.h
<<\_ACEOF
37755 #define wxUSE_LISTCTRL 1
37759 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
37761 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
37762 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
37766 if test "$wxUSE_NOTEBOOK" = "yes"; then
37767 cat >>confdefs.h
<<\_ACEOF
37768 #define wxUSE_NOTEBOOK 1
37772 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
37776 if test "$wxUSE_RADIOBOX" = "yes"; then
37777 cat >>confdefs.h
<<\_ACEOF
37778 #define wxUSE_RADIOBOX 1
37784 if test "$wxUSE_RADIOBTN" = "yes"; then
37785 cat >>confdefs.h
<<\_ACEOF
37786 #define wxUSE_RADIOBTN 1
37792 if test "$wxUSE_SASH" = "yes"; then
37793 cat >>confdefs.h
<<\_ACEOF
37794 #define wxUSE_SASH 1
37797 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
37800 if test "$wxUSE_SCROLLBAR" = "yes"; then
37801 cat >>confdefs.h
<<\_ACEOF
37802 #define wxUSE_SCROLLBAR 1
37806 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
37809 if test "$wxUSE_SLIDER" = "yes"; then
37810 cat >>confdefs.h
<<\_ACEOF
37811 #define wxUSE_SLIDER 1
37817 if test "$wxUSE_SPINBTN" = "yes"; then
37818 cat >>confdefs.h
<<\_ACEOF
37819 #define wxUSE_SPINBTN 1
37825 if test "$wxUSE_SPINCTRL" = "yes"; then
37826 cat >>confdefs.h
<<\_ACEOF
37827 #define wxUSE_SPINCTRL 1
37833 if test "$wxUSE_SPLITTER" = "yes"; then
37834 cat >>confdefs.h
<<\_ACEOF
37835 #define wxUSE_SPLITTER 1
37838 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
37841 if test "$wxUSE_STATBMP" = "yes"; then
37842 cat >>confdefs.h
<<\_ACEOF
37843 #define wxUSE_STATBMP 1
37849 if test "$wxUSE_STATBOX" = "yes"; then
37850 cat >>confdefs.h
<<\_ACEOF
37851 #define wxUSE_STATBOX 1
37857 if test "$wxUSE_STATTEXT" = "yes"; then
37858 cat >>confdefs.h
<<\_ACEOF
37859 #define wxUSE_STATTEXT 1
37865 if test "$wxUSE_STATLINE" = "yes"; then
37866 cat >>confdefs.h
<<\_ACEOF
37867 #define wxUSE_STATLINE 1
37873 if test "$wxUSE_STATUSBAR" = "yes"; then
37874 cat >>confdefs.h
<<\_ACEOF
37875 #define wxUSE_STATUSBAR 1
37880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
37883 if test "$wxUSE_TABDIALOG" = "yes"; then
37884 cat >>confdefs.h
<<\_ACEOF
37885 #define wxUSE_TAB_DIALOG 1
37888 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
37891 if test "$wxUSE_TEXTCTRL" = "yes"; then
37892 cat >>confdefs.h
<<\_ACEOF
37893 #define wxUSE_TEXTCTRL 1
37897 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
37900 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37901 if test "$wxUSE_COCOA" = 1 ; then
37902 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
37903 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
37906 if test "$wxUSE_PM" = 1; then
37907 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
37908 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
37912 if test "$wxUSE_UNIVERSAL" = "yes"; then
37913 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
37914 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
37918 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37919 cat >>confdefs.h
<<\_ACEOF
37920 #define wxUSE_TOGGLEBTN 1
37927 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
37928 cat >>confdefs.h
<<\_ACEOF
37929 #define wxUSE_TOOLBAR_SIMPLE 1
37932 wxUSE_TOOLBAR
="yes"
37936 if test "$wxUSE_TOOLBAR" = "yes"; then
37937 cat >>confdefs.h
<<\_ACEOF
37938 #define wxUSE_TOOLBAR 1
37943 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
37944 wxUSE_TOOLBAR_NATIVE
="yes"
37947 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
37948 cat >>confdefs.h
<<\_ACEOF
37949 #define wxUSE_TOOLBAR_NATIVE 1
37955 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
37958 if test "$wxUSE_TOOLTIPS" = "yes"; then
37959 if test "$wxUSE_MOTIF" = 1; then
37960 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37961 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37963 if test "$wxUSE_UNIVERSAL" = "yes"; then
37964 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37965 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37967 cat >>confdefs.h
<<\_ACEOF
37968 #define wxUSE_TOOLTIPS 1
37975 if test "$wxUSE_TREECTRL" = "yes"; then
37976 if test "$wxUSE_IMAGLIST" = "yes"; then
37977 cat >>confdefs.h
<<\_ACEOF
37978 #define wxUSE_TREECTRL 1
37982 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
37984 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37985 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37989 if test "$wxUSE_POPUPWIN" = "yes"; then
37990 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37991 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37992 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37994 if test "$wxUSE_PM" = 1; then
37995 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37996 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37998 cat >>confdefs.h
<<\_ACEOF
37999 #define wxUSE_POPUPWIN 1
38008 if test "$wxUSE_TIPWINDOW" = "yes"; then
38009 if test "$wxUSE_PM" = 1; then
38010 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
38011 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
38013 cat >>confdefs.h
<<\_ACEOF
38014 #define wxUSE_TIPWINDOW 1
38020 if test "$USES_CONTROLS" = 1; then
38021 cat >>confdefs.h
<<\_ACEOF
38022 #define wxUSE_CONTROLS 1
38028 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
38029 cat >>confdefs.h
<<\_ACEOF
38030 #define wxUSE_ACCESSIBILITY 1
38033 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
38036 if test "$wxUSE_DRAGIMAGE" = "yes"; then
38037 cat >>confdefs.h
<<\_ACEOF
38038 #define wxUSE_DRAGIMAGE 1
38041 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
38044 if test "$wxUSE_EXCEPTIONS" = "yes"; then
38045 cat >>confdefs.h
<<\_ACEOF
38046 #define wxUSE_EXCEPTIONS 1
38052 if test "$wxUSE_HTML" = "yes"; then
38053 cat >>confdefs.h
<<\_ACEOF
38054 #define wxUSE_HTML 1
38058 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
38059 if test "$wxUSE_MAC" = 1; then
38060 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
38064 if test "$wxUSE_WEBKIT" = "yes"; then
38065 cat >>confdefs.h
<<\_ACEOF
38066 #define wxUSE_WEBKIT 1
38071 if test "$wxUSE_MENUS" = "yes"; then
38072 cat >>confdefs.h
<<\_ACEOF
38073 #define wxUSE_MENUS 1
38076 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
38079 if test "$wxUSE_METAFILE" = "yes"; then
38080 cat >>confdefs.h
<<\_ACEOF
38081 #define wxUSE_METAFILE 1
38086 if test "$wxUSE_MIMETYPE" = "yes"; then
38087 cat >>confdefs.h
<<\_ACEOF
38088 #define wxUSE_MIMETYPE 1
38093 if test "$wxUSE_MINIFRAME" = "yes"; then
38094 cat >>confdefs.h
<<\_ACEOF
38095 #define wxUSE_MINIFRAME 1
38098 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
38101 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
38102 cat >>confdefs.h
<<\_ACEOF
38103 #define wxUSE_SYSTEM_OPTIONS 1
38106 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
38107 "$TOOLKIT" = "MOTIF"; then
38108 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
38113 if test "$wxUSE_VALIDATORS" = "yes"; then
38114 cat >>confdefs.h
<<\_ACEOF
38115 #define wxUSE_VALIDATORS 1
38118 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
38121 if test "$wxUSE_PALETTE" = "yes" ; then
38122 cat >>confdefs.h
<<\_ACEOF
38123 #define wxUSE_PALETTE 1
38128 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
38129 LIBS
=" -lunicows $LIBS"
38133 if test "$wxUSE_IMAGE" = "yes" ; then
38134 cat >>confdefs.h
<<\_ACEOF
38135 #define wxUSE_IMAGE 1
38139 if test "$wxUSE_GIF" = "yes" ; then
38140 cat >>confdefs.h
<<\_ACEOF
38141 #define wxUSE_GIF 1
38146 if test "$wxUSE_PCX" = "yes" ; then
38147 cat >>confdefs.h
<<\_ACEOF
38148 #define wxUSE_PCX 1
38153 if test "$wxUSE_IFF" = "yes" ; then
38154 cat >>confdefs.h
<<\_ACEOF
38155 #define wxUSE_IFF 1
38160 if test "$wxUSE_PNM" = "yes" ; then
38161 cat >>confdefs.h
<<\_ACEOF
38162 #define wxUSE_PNM 1
38167 if test "$wxUSE_XPM" = "yes" ; then
38168 cat >>confdefs.h
<<\_ACEOF
38169 #define wxUSE_XPM 1
38174 if test "$wxUSE_ICO_CUR" = "yes" ; then
38175 cat >>confdefs.h
<<\_ACEOF
38176 #define wxUSE_ICO_CUR 1
38183 if test "$wxUSE_CHOICEDLG" = "yes"; then
38184 cat >>confdefs.h
<<\_ACEOF
38185 #define wxUSE_CHOICEDLG 1
38190 if test "$wxUSE_COLOURDLG" = "yes"; then
38191 cat >>confdefs.h
<<\_ACEOF
38192 #define wxUSE_COLOURDLG 1
38197 if test "$wxUSE_FILEDLG" = "yes"; then
38198 cat >>confdefs.h
<<\_ACEOF
38199 #define wxUSE_FILEDLG 1
38204 if test "$wxUSE_FINDREPLDLG" = "yes"; then
38205 cat >>confdefs.h
<<\_ACEOF
38206 #define wxUSE_FINDREPLDLG 1
38211 if test "$wxUSE_FONTDLG" = "yes"; then
38212 cat >>confdefs.h
<<\_ACEOF
38213 #define wxUSE_FONTDLG 1
38218 if test "$wxUSE_DIRDLG" = "yes"; then
38219 if test "$wxUSE_TREECTRL" != "yes"; then
38220 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
38221 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
38223 cat >>confdefs.h
<<\_ACEOF
38224 #define wxUSE_DIRDLG 1
38230 if test "$wxUSE_MSGDLG" = "yes"; then
38231 cat >>confdefs.h
<<\_ACEOF
38232 #define wxUSE_MSGDLG 1
38237 if test "$wxUSE_NUMBERDLG" = "yes"; then
38238 cat >>confdefs.h
<<\_ACEOF
38239 #define wxUSE_NUMBERDLG 1
38244 if test "$wxUSE_PROGRESSDLG" = "yes"; then
38245 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38246 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
38247 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
38249 cat >>confdefs.h
<<\_ACEOF
38250 #define wxUSE_PROGRESSDLG 1
38256 if test "$wxUSE_SPLASH" = "yes"; then
38257 cat >>confdefs.h
<<\_ACEOF
38258 #define wxUSE_SPLASH 1
38263 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
38264 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38265 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
38266 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
38268 cat >>confdefs.h
<<\_ACEOF
38269 #define wxUSE_STARTUP_TIPS 1
38275 if test "$wxUSE_TEXTDLG" = "yes"; then
38276 cat >>confdefs.h
<<\_ACEOF
38277 #define wxUSE_TEXTDLG 1
38282 if test "$wxUSE_WIZARDDLG" = "yes"; then
38283 cat >>confdefs.h
<<\_ACEOF
38284 #define wxUSE_WIZARDDLG 1
38287 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
38291 if test "$cross_compiling" = "yes"; then
38294 OSINFO
=`uname -s -r -m`
38295 OSINFO
="\"$OSINFO\""
38298 cat >>confdefs.h
<<_ACEOF
38299 #define WXWIN_OS_DESCRIPTION $OSINFO
38304 if test "x$prefix" != "xNONE"; then
38307 wxPREFIX
=$ac_default_prefix
38310 cat >>confdefs.h
<<_ACEOF
38311 #define wxINSTALL_PREFIX "$wxPREFIX"
38315 top_builddir_wxconfig
=`pwd`
38319 CORE_BASE_LIBS
="net base"
38320 CORE_GUI_LIBS
="adv core"
38322 if test "$wxUSE_XML" = "yes" ; then
38323 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
38325 if test "$wxUSE_ODBC" != "no" ; then
38326 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
38327 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
38329 if test "$wxUSE_HTML" = "yes" ; then
38330 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
38333 if test "$wxUSE_GUI" != "yes"; then
38344 if test "$wxUSE_MAC" = 1 ; then
38345 LDFLAGS
="$LDFLAGS -framework Carbon -framework Cocoa -framework WebKit -framework System"
38347 if test "$wxUSE_COCOA" = 1 ; then
38348 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
38352 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
38359 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38360 echo "$as_me:$LINENO: checking for $ac_func" >&5
38361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38362 if eval "test \"\${$as_ac_var+set}\" = set"; then
38363 echo $ECHO_N "(cached) $ECHO_C" >&6
38365 cat >conftest.
$ac_ext <<_ACEOF
38368 cat confdefs.h
>>conftest.
$ac_ext
38369 cat >>conftest.
$ac_ext <<_ACEOF
38370 /* end confdefs.h. */
38371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38373 #define $ac_func innocuous_$ac_func
38375 /* System header to define __stub macros and hopefully few prototypes,
38376 which can conflict with char $ac_func (); below.
38377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38378 <limits.h> exists even on freestanding compilers. */
38381 # include <limits.h>
38383 # include <assert.h>
38388 /* Override any gcc2 internal prototype to avoid an error. */
38393 /* We use char because int might match the return type of a gcc2
38394 builtin and then its argument prototype would still apply. */
38396 /* The GNU C library defines this for functions which it implements
38397 to always fail with ENOSYS. Some functions are actually named
38398 something starting with __ and the normal name is an alias. */
38399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38402 char (*f) () = $ac_func;
38411 return f != $ac_func;
38416 rm -f conftest.
$ac_objext conftest
$ac_exeext
38417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38418 (eval $ac_link) 2>conftest.er1
38420 grep -v '^ *+' conftest.er1
>conftest.err
38422 cat conftest.err
>&5
38423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38424 (exit $ac_status); } &&
38425 { ac_try
='test -z "$ac_c_werror_flag"
38426 || test ! -s conftest.err'
38427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38428 (eval $ac_try) 2>&5
38430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38431 (exit $ac_status); }; } &&
38432 { ac_try
='test -s conftest$ac_exeext'
38433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38434 (eval $ac_try) 2>&5
38436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38437 (exit $ac_status); }; }; then
38438 eval "$as_ac_var=yes"
38440 echo "$as_me: failed program was:" >&5
38441 sed 's/^/| /' conftest.
$ac_ext >&5
38443 eval "$as_ac_var=no"
38445 rm -f conftest.err conftest.
$ac_objext \
38446 conftest
$ac_exeext conftest.
$ac_ext
38448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38450 if test `eval echo '${'$as_ac_var'}'` = yes; then
38451 cat >>confdefs.h
<<_ACEOF
38452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38459 for ac_func
in floor
38461 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38462 echo "$as_me:$LINENO: checking for $ac_func" >&5
38463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38464 if eval "test \"\${$as_ac_var+set}\" = set"; then
38465 echo $ECHO_N "(cached) $ECHO_C" >&6
38467 cat >conftest.
$ac_ext <<_ACEOF
38470 cat confdefs.h
>>conftest.
$ac_ext
38471 cat >>conftest.
$ac_ext <<_ACEOF
38472 /* end confdefs.h. */
38473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38475 #define $ac_func innocuous_$ac_func
38477 /* System header to define __stub macros and hopefully few prototypes,
38478 which can conflict with char $ac_func (); below.
38479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38480 <limits.h> exists even on freestanding compilers. */
38483 # include <limits.h>
38485 # include <assert.h>
38490 /* Override any gcc2 internal prototype to avoid an error. */
38495 /* We use char because int might match the return type of a gcc2
38496 builtin and then its argument prototype would still apply. */
38498 /* The GNU C library defines this for functions which it implements
38499 to always fail with ENOSYS. Some functions are actually named
38500 something starting with __ and the normal name is an alias. */
38501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38504 char (*f) () = $ac_func;
38513 return f != $ac_func;
38518 rm -f conftest.
$ac_objext conftest
$ac_exeext
38519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38520 (eval $ac_link) 2>conftest.er1
38522 grep -v '^ *+' conftest.er1
>conftest.err
38524 cat conftest.err
>&5
38525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38526 (exit $ac_status); } &&
38527 { ac_try
='test -z "$ac_c_werror_flag"
38528 || test ! -s conftest.err'
38529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38530 (eval $ac_try) 2>&5
38532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38533 (exit $ac_status); }; } &&
38534 { ac_try
='test -s conftest$ac_exeext'
38535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38536 (eval $ac_try) 2>&5
38538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38539 (exit $ac_status); }; }; then
38540 eval "$as_ac_var=yes"
38542 echo "$as_me: failed program was:" >&5
38543 sed 's/^/| /' conftest.
$ac_ext >&5
38545 eval "$as_ac_var=no"
38547 rm -f conftest.err conftest.
$ac_objext \
38548 conftest
$ac_exeext conftest.
$ac_ext
38550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38552 if test `eval echo '${'$as_ac_var'}'` = yes; then
38553 cat >>confdefs.h
<<_ACEOF
38554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38560 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
38561 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
38562 if test "$have_cos" = 1 -a "$have_floor" = 1; then
38563 echo "$as_me:$LINENO: result: yes" >&5
38564 echo "${ECHO_T}yes" >&6
38566 echo "$as_me:$LINENO: result: no" >&5
38567 echo "${ECHO_T}no" >&6
38569 # use different functions to avoid configure caching
38575 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38576 echo "$as_me:$LINENO: checking for $ac_func" >&5
38577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38578 if eval "test \"\${$as_ac_var+set}\" = set"; then
38579 echo $ECHO_N "(cached) $ECHO_C" >&6
38581 cat >conftest.
$ac_ext <<_ACEOF
38584 cat confdefs.h
>>conftest.
$ac_ext
38585 cat >>conftest.
$ac_ext <<_ACEOF
38586 /* end confdefs.h. */
38587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38589 #define $ac_func innocuous_$ac_func
38591 /* System header to define __stub macros and hopefully few prototypes,
38592 which can conflict with char $ac_func (); below.
38593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38594 <limits.h> exists even on freestanding compilers. */
38597 # include <limits.h>
38599 # include <assert.h>
38604 /* Override any gcc2 internal prototype to avoid an error. */
38609 /* We use char because int might match the return type of a gcc2
38610 builtin and then its argument prototype would still apply. */
38612 /* The GNU C library defines this for functions which it implements
38613 to always fail with ENOSYS. Some functions are actually named
38614 something starting with __ and the normal name is an alias. */
38615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38618 char (*f) () = $ac_func;
38627 return f != $ac_func;
38632 rm -f conftest.
$ac_objext conftest
$ac_exeext
38633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38634 (eval $ac_link) 2>conftest.er1
38636 grep -v '^ *+' conftest.er1
>conftest.err
38638 cat conftest.err
>&5
38639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38640 (exit $ac_status); } &&
38641 { ac_try
='test -z "$ac_c_werror_flag"
38642 || test ! -s conftest.err'
38643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38644 (eval $ac_try) 2>&5
38646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38647 (exit $ac_status); }; } &&
38648 { ac_try
='test -s conftest$ac_exeext'
38649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38650 (eval $ac_try) 2>&5
38652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38653 (exit $ac_status); }; }; then
38654 eval "$as_ac_var=yes"
38656 echo "$as_me: failed program was:" >&5
38657 sed 's/^/| /' conftest.
$ac_ext >&5
38659 eval "$as_ac_var=no"
38661 rm -f conftest.err conftest.
$ac_objext \
38662 conftest
$ac_exeext conftest.
$ac_ext
38664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38666 if test `eval echo '${'$as_ac_var'}'` = yes; then
38667 cat >>confdefs.h
<<_ACEOF
38668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38675 for ac_func
in ceil
38677 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38678 echo "$as_me:$LINENO: checking for $ac_func" >&5
38679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38680 if eval "test \"\${$as_ac_var+set}\" = set"; then
38681 echo $ECHO_N "(cached) $ECHO_C" >&6
38683 cat >conftest.
$ac_ext <<_ACEOF
38686 cat confdefs.h
>>conftest.
$ac_ext
38687 cat >>conftest.
$ac_ext <<_ACEOF
38688 /* end confdefs.h. */
38689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38691 #define $ac_func innocuous_$ac_func
38693 /* System header to define __stub macros and hopefully few prototypes,
38694 which can conflict with char $ac_func (); below.
38695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38696 <limits.h> exists even on freestanding compilers. */
38699 # include <limits.h>
38701 # include <assert.h>
38706 /* Override any gcc2 internal prototype to avoid an error. */
38711 /* We use char because int might match the return type of a gcc2
38712 builtin and then its argument prototype would still apply. */
38714 /* The GNU C library defines this for functions which it implements
38715 to always fail with ENOSYS. Some functions are actually named
38716 something starting with __ and the normal name is an alias. */
38717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38720 char (*f) () = $ac_func;
38729 return f != $ac_func;
38734 rm -f conftest.
$ac_objext conftest
$ac_exeext
38735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38736 (eval $ac_link) 2>conftest.er1
38738 grep -v '^ *+' conftest.er1
>conftest.err
38740 cat conftest.err
>&5
38741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38742 (exit $ac_status); } &&
38743 { ac_try
='test -z "$ac_c_werror_flag"
38744 || test ! -s conftest.err'
38745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38746 (eval $ac_try) 2>&5
38748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38749 (exit $ac_status); }; } &&
38750 { ac_try
='test -s conftest$ac_exeext'
38751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38752 (eval $ac_try) 2>&5
38754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38755 (exit $ac_status); }; }; then
38756 eval "$as_ac_var=yes"
38758 echo "$as_me: failed program was:" >&5
38759 sed 's/^/| /' conftest.
$ac_ext >&5
38761 eval "$as_ac_var=no"
38763 rm -f conftest.err conftest.
$ac_objext \
38764 conftest
$ac_exeext conftest.
$ac_ext
38766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38768 if test `eval echo '${'$as_ac_var'}'` = yes; then
38769 cat >>confdefs.h
<<_ACEOF
38770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38776 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
38777 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
38778 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
38779 echo "$as_me:$LINENO: result: yes" >&5
38780 echo "${ECHO_T}yes" >&6
38782 echo "$as_me:$LINENO: result: no" >&5
38783 echo "${ECHO_T}no" >&6
38784 # not sure we should warn the user, crash, etc.
38788 if test "$wxUSE_GUI" = "yes"; then
38791 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
38792 drawing dynamic erase event exec font image \
38793 minimal propsize rotate shaped widgets render"
38795 if test "$wxUSE_MONOLITHIC" != "yes"; then
38796 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
38799 SAMPLES_SUBDIRS
="console"
38803 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
38804 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
38806 if test "$GXX" = yes ; then
38807 CXXWARNINGS
="-Wall"
38810 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
38812 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
38813 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
38814 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
38817 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
38818 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
38819 EXTRALIBS_XML
="$EXPAT_LINK"
38820 EXTRALIBS_HTML
="$MSPACK_LINK"
38821 EXTRALIBS_ODBC
="$ODBC_LINK"
38822 if test "$wxUSE_GUI" = "yes"; then
38823 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
38825 if test "$wxUSE_OPENGL" = "yes"; then
38826 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
38829 LDFLAGS
="$LDFLAGS $PROFILE"
38831 if test "$wxUSE_GTK" = 1; then
38834 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
38837 WXCONFIG_EXTRALIBS
="$LIBS"
38839 if test "$wxUSE_REGEX" = "builtin" ; then
38840 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
38842 if test "$wxUSE_EXPAT" = "builtin" ; then
38843 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
38845 if test "$wxUSE_ODBC" = "builtin" ; then
38846 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38848 if test "$wxUSE_LIBTIFF" = "builtin" ; then
38849 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
38851 if test "$wxUSE_LIBJPEG" = "builtin" ; then
38852 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
38854 if test "$wxUSE_LIBPNG" = "builtin" ; then
38855 wxconfig_3rdparty
="$wxconfig_3rdparty png"
38857 if test "$wxUSE_ZLIB" = "builtin" ; then
38858 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
38860 if test "$wxUSE_ODBC" = "builtin" ; then
38861 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38864 for i
in $wxconfig_3rdparty ; do
38865 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
38869 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
38883 if test $wxUSE_MONOLITHIC = "yes" ; then
38889 if test $wxUSE_PLUGINS = "yes" ; then
38895 if test $wxUSE_ODBC != "no" ; then
38901 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38927 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38937 if test "x$BAKEFILE_HOST" = "x"; then
38938 BAKEFILE_HOST
="${host}"
38941 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38943 if test -n "$ac_tool_prefix"; then
38944 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38945 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38946 echo "$as_me:$LINENO: checking for $ac_word" >&5
38947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38948 if test "${ac_cv_prog_RANLIB+set}" = set; then
38949 echo $ECHO_N "(cached) $ECHO_C" >&6
38951 if test -n "$RANLIB"; then
38952 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38955 for as_dir
in $PATH
38958 test -z "$as_dir" && as_dir
=.
38959 for ac_exec_ext
in '' $ac_executable_extensions; do
38960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38961 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38970 RANLIB
=$ac_cv_prog_RANLIB
38971 if test -n "$RANLIB"; then
38972 echo "$as_me:$LINENO: result: $RANLIB" >&5
38973 echo "${ECHO_T}$RANLIB" >&6
38975 echo "$as_me:$LINENO: result: no" >&5
38976 echo "${ECHO_T}no" >&6
38980 if test -z "$ac_cv_prog_RANLIB"; then
38981 ac_ct_RANLIB
=$RANLIB
38982 # Extract the first word of "ranlib", so it can be a program name with args.
38983 set dummy ranlib
; ac_word
=$2
38984 echo "$as_me:$LINENO: checking for $ac_word" >&5
38985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38986 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38987 echo $ECHO_N "(cached) $ECHO_C" >&6
38989 if test -n "$ac_ct_RANLIB"; then
38990 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38993 for as_dir
in $PATH
38996 test -z "$as_dir" && as_dir
=.
38997 for ac_exec_ext
in '' $ac_executable_extensions; do
38998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38999 ac_cv_prog_ac_ct_RANLIB
="ranlib"
39000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39006 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
39009 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
39010 if test -n "$ac_ct_RANLIB"; then
39011 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
39012 echo "${ECHO_T}$ac_ct_RANLIB" >&6
39014 echo "$as_me:$LINENO: result: no" >&5
39015 echo "${ECHO_T}no" >&6
39018 RANLIB
=$ac_ct_RANLIB
39020 RANLIB
="$ac_cv_prog_RANLIB"
39023 # Find a good install program. We prefer a C program (faster),
39024 # so one script is as good as another. But avoid the broken or
39025 # incompatible versions:
39026 # SysV /etc/install, /usr/sbin/install
39027 # SunOS /usr/etc/install
39028 # IRIX /sbin/install
39030 # AmigaOS /C/install, which installs bootblocks on floppy discs
39031 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
39032 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
39033 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
39034 # OS/2's system install, which has a completely different semantic
39035 # ./install, which can be erroneously created by make from ./install.sh.
39036 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
39037 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
39038 if test -z "$INSTALL"; then
39039 if test "${ac_cv_path_install+set}" = set; then
39040 echo $ECHO_N "(cached) $ECHO_C" >&6
39042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39043 for as_dir
in $PATH
39046 test -z "$as_dir" && as_dir
=.
39047 # Account for people who put trailing slashes in PATH elements.
39049 .
/ | .
// | /cC
/* | \
39050 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
39051 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
39054 # OSF1 and SCO ODT 3.0 have their own names for install.
39055 # Don't use installbsd from OSF since it installs stuff as root
39057 for ac_prog
in ginstall scoinst
install; do
39058 for ac_exec_ext
in '' $ac_executable_extensions; do
39059 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
39060 if test $ac_prog = install &&
39061 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
39062 # AIX install. It has an incompatible calling convention.
39064 elif test $ac_prog = install &&
39065 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
39066 # program-specific install script used by HP pwplus--don't use.
39069 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
39081 if test "${ac_cv_path_install+set}" = set; then
39082 INSTALL
=$ac_cv_path_install
39084 # As a last resort, use the slow shell script. We don't cache a
39085 # path for INSTALL within a source directory, because that will
39086 # break other packages using the cache if that directory is
39087 # removed, or if the path is relative.
39088 INSTALL
=$ac_install_sh
39091 echo "$as_me:$LINENO: result: $INSTALL" >&5
39092 echo "${ECHO_T}$INSTALL" >&6
39094 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
39095 # It thinks the first close brace ends the variable substitution.
39096 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
39098 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
39100 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
39102 echo "$as_me:$LINENO: checking whether ln -s works" >&5
39103 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
39105 if test "$LN_S" = "ln -s"; then
39106 echo "$as_me:$LINENO: result: yes" >&5
39107 echo "${ECHO_T}yes" >&6
39109 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
39110 echo "${ECHO_T}no, using $LN_S" >&6
39114 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39115 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39116 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
39117 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39118 echo $ECHO_N "(cached) $ECHO_C" >&6
39120 cat >conftest.
make <<\_ACEOF
39122 @
echo 'ac_maketemp="$(MAKE)"'
39124 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39125 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39126 if test -n "$ac_maketemp"; then
39127 eval ac_cv_prog_make_
${ac_make}_set
=yes
39129 eval ac_cv_prog_make_
${ac_make}_set
=no
39131 rm -f conftest.
make
39133 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39134 echo "$as_me:$LINENO: result: yes" >&5
39135 echo "${ECHO_T}yes" >&6
39138 echo "$as_me:$LINENO: result: no" >&5
39139 echo "${ECHO_T}no" >&6
39140 SET_MAKE
="MAKE=${MAKE-make}"
39145 if test -n "$ac_tool_prefix"; then
39146 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
39147 set dummy
${ac_tool_prefix}ar; ac_word
=$2
39148 echo "$as_me:$LINENO: checking for $ac_word" >&5
39149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39150 if test "${ac_cv_prog_AR+set}" = set; then
39151 echo $ECHO_N "(cached) $ECHO_C" >&6
39153 if test -n "$AR"; then
39154 ac_cv_prog_AR
="$AR" # Let the user override the test.
39156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39157 for as_dir
in $PATH
39160 test -z "$as_dir" && as_dir
=.
39161 for ac_exec_ext
in '' $ac_executable_extensions; do
39162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39163 ac_cv_prog_AR
="${ac_tool_prefix}ar"
39164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39173 if test -n "$AR"; then
39174 echo "$as_me:$LINENO: result: $AR" >&5
39175 echo "${ECHO_T}$AR" >&6
39177 echo "$as_me:$LINENO: result: no" >&5
39178 echo "${ECHO_T}no" >&6
39182 if test -z "$ac_cv_prog_AR"; then
39184 # Extract the first word of "ar", so it can be a program name with args.
39185 set dummy
ar; ac_word
=$2
39186 echo "$as_me:$LINENO: checking for $ac_word" >&5
39187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39188 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
39189 echo $ECHO_N "(cached) $ECHO_C" >&6
39191 if test -n "$ac_ct_AR"; then
39192 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
39194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39195 for as_dir
in $PATH
39198 test -z "$as_dir" && as_dir
=.
39199 for ac_exec_ext
in '' $ac_executable_extensions; do
39200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39201 ac_cv_prog_ac_ct_AR
="ar"
39202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39208 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
39211 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
39212 if test -n "$ac_ct_AR"; then
39213 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
39214 echo "${ECHO_T}$ac_ct_AR" >&6
39216 echo "$as_me:$LINENO: result: no" >&5
39217 echo "${ECHO_T}no" >&6
39222 AR
="$ac_cv_prog_AR"
39225 if test -n "$ac_tool_prefix"; then
39226 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
39227 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
39228 echo "$as_me:$LINENO: checking for $ac_word" >&5
39229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39230 if test "${ac_cv_prog_STRIP+set}" = set; then
39231 echo $ECHO_N "(cached) $ECHO_C" >&6
39233 if test -n "$STRIP"; then
39234 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
39236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39237 for as_dir
in $PATH
39240 test -z "$as_dir" && as_dir
=.
39241 for ac_exec_ext
in '' $ac_executable_extensions; do
39242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39243 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
39244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39252 STRIP
=$ac_cv_prog_STRIP
39253 if test -n "$STRIP"; then
39254 echo "$as_me:$LINENO: result: $STRIP" >&5
39255 echo "${ECHO_T}$STRIP" >&6
39257 echo "$as_me:$LINENO: result: no" >&5
39258 echo "${ECHO_T}no" >&6
39262 if test -z "$ac_cv_prog_STRIP"; then
39264 # Extract the first word of "strip", so it can be a program name with args.
39265 set dummy strip
; ac_word
=$2
39266 echo "$as_me:$LINENO: checking for $ac_word" >&5
39267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39268 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
39269 echo $ECHO_N "(cached) $ECHO_C" >&6
39271 if test -n "$ac_ct_STRIP"; then
39272 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
39274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39275 for as_dir
in $PATH
39278 test -z "$as_dir" && as_dir
=.
39279 for ac_exec_ext
in '' $ac_executable_extensions; do
39280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39281 ac_cv_prog_ac_ct_STRIP
="strip"
39282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39288 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
39291 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
39292 if test -n "$ac_ct_STRIP"; then
39293 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
39294 echo "${ECHO_T}$ac_ct_STRIP" >&6
39296 echo "$as_me:$LINENO: result: no" >&5
39297 echo "${ECHO_T}no" >&6
39302 STRIP
="$ac_cv_prog_STRIP"
39305 if test -n "$ac_tool_prefix"; then
39306 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
39307 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
39308 echo "$as_me:$LINENO: checking for $ac_word" >&5
39309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39310 if test "${ac_cv_prog_NM+set}" = set; then
39311 echo $ECHO_N "(cached) $ECHO_C" >&6
39313 if test -n "$NM"; then
39314 ac_cv_prog_NM
="$NM" # Let the user override the test.
39316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39317 for as_dir
in $PATH
39320 test -z "$as_dir" && as_dir
=.
39321 for ac_exec_ext
in '' $ac_executable_extensions; do
39322 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39323 ac_cv_prog_NM
="${ac_tool_prefix}nm"
39324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39333 if test -n "$NM"; then
39334 echo "$as_me:$LINENO: result: $NM" >&5
39335 echo "${ECHO_T}$NM" >&6
39337 echo "$as_me:$LINENO: result: no" >&5
39338 echo "${ECHO_T}no" >&6
39342 if test -z "$ac_cv_prog_NM"; then
39344 # Extract the first word of "nm", so it can be a program name with args.
39345 set dummy nm
; ac_word
=$2
39346 echo "$as_me:$LINENO: checking for $ac_word" >&5
39347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39348 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
39349 echo $ECHO_N "(cached) $ECHO_C" >&6
39351 if test -n "$ac_ct_NM"; then
39352 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
39354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39355 for as_dir
in $PATH
39358 test -z "$as_dir" && as_dir
=.
39359 for ac_exec_ext
in '' $ac_executable_extensions; do
39360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39361 ac_cv_prog_ac_ct_NM
="nm"
39362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39368 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
39371 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
39372 if test -n "$ac_ct_NM"; then
39373 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
39374 echo "${ECHO_T}$ac_ct_NM" >&6
39376 echo "$as_me:$LINENO: result: no" >&5
39377 echo "${ECHO_T}no" >&6
39382 NM
="$ac_cv_prog_NM"
39386 case ${BAKEFILE_HOST} in
39388 INSTALL_DIR
="mkdir"
39390 *) INSTALL_DIR
="$INSTALL -d"
39396 case ${BAKEFILE_HOST} in
39397 *-*-cygwin* | *-*-mingw32* )
39398 LDFLAGS_GUI
="-mwindows"
39404 echo "$as_me:$LINENO: checking if make is GNU make" >&5
39405 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
39406 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
39407 echo $ECHO_N "(cached) $ECHO_C" >&6
39410 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
39411 egrep -s GNU
> /dev
/null
); then
39412 bakefile_cv_prog_makeisgnu
="yes"
39414 bakefile_cv_prog_makeisgnu
="no"
39418 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
39419 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
39421 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
39436 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
39437 case "${BAKEFILE_HOST}" in
39438 *-*-cygwin* | *-*-mingw32* )
39444 *-pc-os2_emx | *-pc-os2-emx )
39447 powerpc
-*-darwin* )
39456 case "$BAKEFILE_FORCE_PLATFORM" in
39474 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
39475 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
39476 { (exit 1); exit 1; }; }
39489 # Check whether --enable-omf or --disable-omf was given.
39490 if test "${enable_omf+set}" = set; then
39491 enableval
="$enable_omf"
39492 bk_os2_use_omf
="$enableval"
39495 case "${BAKEFILE_HOST}" in
39497 CFLAGS
="$CFLAGS -fno-common"
39498 CXXFLAGS
="$CXXFLAGS -fno-common"
39501 *-pc-os2_emx | *-pc-os2-emx )
39502 if test "x$bk_os2_use_omf" = "xyes" ; then
39505 LDFLAGS
="-Zomf $LDFLAGS"
39506 CFLAGS
="-Zomf $CFLAGS"
39507 CXXFLAGS
="-Zomf $CXXFLAGS"
39517 SO_SUFFIX_MODULE
="so"
39522 DLLPREFIX_MODULE
=""
39525 case "${BAKEFILE_HOST}" in
39528 SO_SUFFIX_MODULE
="sl"
39532 SO_SUFFIX_MODULE
="a"
39534 *-*-cygwin* | *-*-mingw32* )
39536 SO_SUFFIX_MODULE
="dll"
39537 DLLIMP_SUFFIX
="dll.a"
39545 *-pc-os2_emx | *-pc-os2-emx )
39547 SO_SUFFIX_MODULE
="dll"
39548 DLLIMP_SUFFIX
=$OS2_LIBEXT
39552 LIBEXT
=".$OS2_LIBEXT"
39554 powerpc
-*-darwin* )
39556 SO_SUFFIX_MODULE
="bundle"
39560 if test "x$DLLIMP_SUFFIX" = "x" ; then
39561 DLLIMP_SUFFIX
="$SO_SUFFIX"
39574 SHARED_LD_CC
="\$(CC) -shared -o"
39575 SHARED_LD_CXX
="\$(CXX) -shared -o"
39577 if test "x$GCC" = "xyes"; then
39581 case "${BAKEFILE_HOST}" in
39583 if test "x$GCC" = "xyes"; then
39584 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
39585 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
39587 LDFLAGS
="$LDFLAGS -L/usr/lib"
39589 SHARED_LD_CC
="${CC} -b -o"
39590 SHARED_LD_CXX
="${CXX} -b -o"
39596 if test "x$GCC" != "xyes"; then
39597 echo "$as_me:$LINENO: checking for Intel compiler" >&5
39598 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
39599 if test "${bakefile_cv_prog_icc+set}" = set; then
39600 echo $ECHO_N "(cached) $ECHO_C" >&6
39603 cat >conftest.
$ac_ext <<_ACEOF
39606 cat confdefs.h
>>conftest.
$ac_ext
39607 cat >>conftest.
$ac_ext <<_ACEOF
39608 /* end confdefs.h. */
39614 #ifndef __INTEL_COMPILER
39622 rm -f conftest.
$ac_objext
39623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39624 (eval $ac_compile) 2>conftest.er1
39626 grep -v '^ *+' conftest.er1
>conftest.err
39628 cat conftest.err
>&5
39629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39630 (exit $ac_status); } &&
39631 { ac_try
='test -z "$ac_c_werror_flag"
39632 || test ! -s conftest.err'
39633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39634 (eval $ac_try) 2>&5
39636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39637 (exit $ac_status); }; } &&
39638 { ac_try
='test -s conftest.$ac_objext'
39639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39640 (eval $ac_try) 2>&5
39642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39643 (exit $ac_status); }; }; then
39644 bakefile_cv_prog_icc
=yes
39646 echo "$as_me: failed program was:" >&5
39647 sed 's/^/| /' conftest.
$ac_ext >&5
39649 bakefile_cv_prog_icc
=no
39652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39655 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
39656 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
39657 if test "$bakefile_cv_prog_icc" = "yes"; then
39664 if test "x$GCC" != xyes
; then
39665 SHARED_LD_CC
="${CC} -G -o"
39666 SHARED_LD_CXX
="${CXX} -G -o"
39673 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
39674 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
39675 if test "${wx_cv_gcc31+set}" = set; then
39676 echo $ECHO_N "(cached) $ECHO_C" >&6
39679 cat >conftest.
$ac_ext <<_ACEOF
39682 cat confdefs.h
>>conftest.
$ac_ext
39683 cat >>conftest.
$ac_ext <<_ACEOF
39684 /* end confdefs.h. */
39690 #if (__GNUC__ < 3) || \
39691 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39699 rm -f conftest.
$ac_objext
39700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39701 (eval $ac_compile) 2>conftest.er1
39703 grep -v '^ *+' conftest.er1
>conftest.err
39705 cat conftest.err
>&5
39706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39707 (exit $ac_status); } &&
39708 { ac_try
='test -z "$ac_c_werror_flag"
39709 || test ! -s conftest.err'
39710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39711 (eval $ac_try) 2>&5
39713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39714 (exit $ac_status); }; } &&
39715 { ac_try
='test -s conftest.$ac_objext'
39716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39717 (eval $ac_try) 2>&5
39719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39720 (exit $ac_status); }; }; then
39725 echo "$as_me: failed program was:" >&5
39726 sed 's/^/| /' conftest.
$ac_ext >&5
39733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39736 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
39737 echo "${ECHO_T}$wx_cv_gcc31" >&6
39738 if test "$wx_cv_gcc31" = "no"; then
39741 cat <<EOF >shared-ld-sh
39743 #-----------------------------------------------------------------------------
39744 #-- Name: distrib/mac/shared-ld-sh
39745 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
39746 #-- Author: Gilles Depeyrot
39747 #-- Copyright: (c) 2002 Gilles Depeyrot
39748 #-- Licence: any use permitted
39749 #-----------------------------------------------------------------------------
39754 linking_flag="-dynamiclib"
39756 while test ${D}# -gt 0; do
39763 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
39764 # collect these options and values
39765 args="${D}{args} ${D}1 ${D}2"
39769 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
39770 # collect these options
39771 args="${D}{args} ${D}1"
39774 -dynamiclib|-bundle)
39775 linking_flag="${D}1"
39779 echo "shared-ld: unhandled option '${D}1'"
39783 *.o | *.a | *.dylib)
39784 # collect object files
39785 objects="${D}{objects} ${D}1"
39789 echo "shared-ld: unhandled argument '${D}1'"
39798 # Link one module containing all the others
39800 if test ${D}{verbose} = 1; then
39801 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
39803 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
39805 if test ${D}{status} != 0; then
39810 # Link the shared library from the single module created
39812 if test ${D}{verbose} = 1; then
39813 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
39815 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
39817 if test ${D}{status} != 0; then
39822 # Remove intermediate module
39824 rm -f master.${D}${D}.o
39829 chmod +x shared
-ld-sh
39831 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39832 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39833 SHARED_LD_CXX
="$SHARED_LD_CC"
39834 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
39836 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39837 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
39838 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39839 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
39842 PIC_FLAG
="-dynamic -fPIC"
39846 if test "x$GCC" != "xyes"; then
39847 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39848 set dummy makeC
++SharedLib
; ac_word
=$2
39849 echo "$as_me:$LINENO: checking for $ac_word" >&5
39850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39851 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
39852 echo $ECHO_N "(cached) $ECHO_C" >&6
39854 if test -n "$AIX_CXX_LD"; then
39855 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
39857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39858 for as_dir
in $PATH
39861 test -z "$as_dir" && as_dir
=.
39862 for ac_exec_ext
in '' $ac_executable_extensions; do
39863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39864 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
39865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39871 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
39874 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
39875 if test -n "$AIX_CXX_LD"; then
39876 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
39877 echo "${ECHO_T}$AIX_CXX_LD" >&6
39879 echo "$as_me:$LINENO: result: no" >&5
39880 echo "${ECHO_T}no" >&6
39883 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
39884 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
39889 SHARED_LD_CC
="${LD} -shared -o"
39890 SHARED_LD_CXX
="${LD} -shared -o"
39894 if test "x$GCC" != "xyes"; then
39899 *-*-cygwin* | *-*-mingw32* )
39903 *-pc-os2_emx | *-pc-os2-emx )
39904 SHARED_LD_CC
="`pwd`/dllar.sh -o"
39905 SHARED_LD_CXX
="`pwd`/dllar.sh -o"
39909 cat <<EOF >dllar.sh
39912 # dllar - a tool to build both a .dll and an .a file
39913 # from a set of object (.o) files for EMX/OS2.
39915 # Written by Andrew Zabolotny, bit@freya.etu.ru
39916 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39918 # This script will accept a set of files on the command line.
39919 # All the public symbols from the .o files will be exported into
39920 # a .DEF file, then linker will be run (through gcc) against them to
39921 # build a shared library consisting of all given .o files. All libraries
39922 # (.a) will be first decompressed into component .o files then act as
39923 # described above. You can optionally give a description (-d "description")
39924 # which will be put into .DLL. To see the list of accepted options (as well
39925 # as command-line format) simply run this program without options. The .DLL
39926 # is built to be imported by name (there is no guarantee that new versions
39927 # of the library you build will have same ordinals for same symbols).
39929 # dllar is free software; you can redistribute it and/or modify
39930 # it under the terms of the GNU General Public License as published by
39931 # the Free Software Foundation; either version 2, or (at your option)
39932 # any later version.
39934 # dllar is distributed in the hope that it will be useful,
39935 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39936 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39937 # GNU General Public License for more details.
39939 # You should have received a copy of the GNU General Public License
39940 # along with dllar; see the file COPYING. If not, write to the Free
39941 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39944 # To successfuly run this program you will need:
39945 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39946 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39948 # (used to build the .dll)
39950 # (used to create .def file from .o files)
39952 # (used to create .a file from .def file)
39953 # - GNU text utilites (cat, sort, uniq)
39954 # used to process emxexp output
39955 # - GNU file utilities (mv, rm)
39957 # - lxlite (optional, see flag below)
39958 # (used for general .dll cleanup)
39965 # basnam, variant of basename, which does _not_ remove the path, _iff_
39966 # second argument (suffix to remove) is given
39970 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
39973 echo ${D}1 | sed 's/'${D}2'${D}//'
39976 echo "error in basnam ${D}*"
39982 # Cleanup temporary files and output
39985 for i in ${D}inputFiles ; do
39988 rm -rf \`basnam ${D}i !\`
39995 # Kill result in case of failure as there is just to many stupid make/nmake
39996 # things out there which doesn't do this.
39997 if ${D}# -eq 0 ; then
39998 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
40002 # Print usage and exit script with rc=1.
40004 echo 'Usage: dllar -o[utput] output_file -i[mport] importlib_name'
40005 echo ' -d[escription] "dll descrption" -cc "CC" -f[lags] "CFLAGS"'
40006 echo ' -ord[inals] -exclude "symbol(s)"'
40007 echo ' -libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}" -nocrt[dll] -nolxl[ite]'
40009 echo '*> "output_file" should have no extension.'
40010 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
40011 echo ' The import library name is derived from this and is set to "name".a,'
40012 echo ' unless overridden by -import'
40013 echo '*> "importlib_name" should have no extension.'
40014 echo ' If it has the .o, or .a extension, it is automatically removed.'
40015 echo ' This name is used as the import library name and may be longer and'
40016 echo ' more descriptive than the DLL name which has to follow the old '
40017 echo ' 8.3 convention of FAT.'
40018 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
40019 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
40020 echo ' These flags will be put at the start of GCC command line.'
40021 echo '*> -ordinals tells dllar to export entries by ordinals. Be careful.'
40022 echo '*> -exclude defines symbols which will not be exported. You can define'
40023 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
40024 echo ' If the last character of a symbol is "*", all symbols beginning'
40025 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
40026 echo '*> -libflags can be used to add INITGLOBAL/INITINSTANCE and/or'
40027 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
40028 echo '*> -nocrtdll switch will disable linking the library against emx''s'
40029 echo ' C runtime DLLs.'
40030 echo '*> -nolxlite switch will disable running lxlite on the resulting DLL.'
40031 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
40032 echo ' unchanged to GCC at the end of command line.'
40033 echo '*> If you create a DLL from a library and you do not specify -o,'
40034 echo ' the basename for DLL and import library will be set to library name,'
40035 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
40036 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
40037 echo ' library will be renamed into gcc_s.a.'
40040 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
40041 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
40046 # Execute a command.
40047 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
40048 # @Uses Whatever CleanUp() uses.
40054 if ${D}rcCmd -ne 0 ; then
40055 echo "command failed, exit code="${D}rcCmd
40069 CFLAGS="-s -Zcrtdll"
40071 EXPORT_BY_ORDINALS=0
40076 case ${D}curDirS in
40080 curDirS=${D}{curDirS}"/"
40083 # Parse commandline
40088 EXPORT_BY_ORDINALS=1;
40115 exclude_symbols=${D}{exclude_symbols}${D}1" "
40119 library_flags=${D}{library_flags}${D}1" "
40135 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40139 if ${D}libsToLink -ne 0 ; then
40140 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40142 for file in ${D}1 ; do
40143 if -f ${D}file ; then
40144 inputFiles="${D}{inputFiles} ${D}file"
40148 if ${D}found -eq 0 ; then
40149 echo "ERROR: No file(s) found: "${D}1
40156 done # iterate cmdline words
40159 if -z "${D}inputFiles" ; then
40160 echo "dllar: no input files"
40164 # Now extract all .o files from .a files
40166 for file in ${D}inputFiles ; do
40177 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
40182 dirname=\`basnam ${D}file ${D}suffix\`"_%"
40184 if ${D}? -ne 0 ; then
40185 echo "Failed to create subdirectory ./${D}dirname"
40189 # Append '!' to indicate archive
40190 newInputFiles="${D}newInputFiles ${D}{dirname}!"
40191 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
40194 for subfile in ${D}dirname/*.o* ; do
40195 if -f ${D}subfile ; then
40197 if -s ${D}subfile ; then
40198 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
40199 newInputFiles="${D}newInputFiles ${D}subfile"
40203 if ${D}found -eq 0 ; then
40204 echo "WARNING: there are no files in archive \'${D}file\'"
40208 newInputFiles="${D}{newInputFiles} ${D}file"
40212 inputFiles="${D}newInputFiles"
40214 # Output filename(s).
40216 if -z ${D}outFile ; then
40218 set outFile ${D}inputFiles; outFile=${D}2
40221 # If it is an archive, remove the '!' and the '_%' suffixes
40222 case ${D}outFile in
40224 outFile=\`basnam ${D}outFile _%!\`
40229 case ${D}outFile in
40231 outFile=\`basnam ${D}outFile .dll\`
40234 outFile=\`basnam ${D}outFile .DLL\`
40237 outFile=\`basnam ${D}outFile .o\`
40240 outFile=\`basnam ${D}outFile .obj\`
40243 outFile=\`basnam ${D}outFile .a\`
40246 outFile=\`basnam ${D}outFile .lib\`
40251 case ${D}outimpFile in
40253 outimpFile=\`basnam ${D}outimpFile .a\`
40256 outimpFile=\`basnam ${D}outimpFile .lib\`
40261 if -z ${D}outimpFile ; then
40262 outimpFile=${D}outFile
40264 defFile="${D}{outFile}.def"
40265 arcFile="${D}{outimpFile}.a"
40266 arcFile2="${D}{outimpFile}.lib"
40267 dllFile="${D}outFile"
40268 # Add suffix to dllFile later, first we need a version to use as
40269 # name in .def file.
40271 if ${D}do_backup -ne 0 ; then
40272 if -f ${D}arcFile ; then
40273 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
40275 if -f ${D}arcFile2 ; then
40276 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
40280 # Extract public symbols from all the object files.
40281 tmpdefFile=${D}{defFile}_%
40282 rm -f ${D}tmpdefFile
40283 for file in ${D}inputFiles ; do
40288 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
40293 # Create the def file.
40295 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
40296 dllFile="${D}dllFile.dll"
40297 if -n ${D}description ; then
40298 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
40300 echo "EXPORTS" >> ${D}defFile
40302 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
40303 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
40305 # Checks if the export is ok or not.
40306 for word in ${D}exclude_symbols; do
40307 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
40308 mv ${D}{tmpdefFile}% ${D}tmpdefFile
40312 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
40313 sed "=" < ${D}tmpdefFile | \
40317 s/^\(0-9\+\)\(^;*\)\(;.*\)\?/\2 @\1 NONAME/
40319 ' > ${D}{tmpdefFile}%
40320 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
40322 rm -f ${D}{tmpdefFile}%
40324 cat ${D}tmpdefFile >> ${D}defFile
40325 rm -f ${D}tmpdefFile
40327 # Do linking, create implib, and apply lxlite.
40329 for file in ${D}inputFiles ; do
40334 gccCmdl="${D}gccCmdl ${D}file"
40338 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
40339 touch "${D}{outFile}.dll"
40341 doCommand "emximp -o ${D}arcFile ${D}defFile"
40342 if ${D}flag_USE_LXLITE -ne 0 ; then
40344 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
40347 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
40349 doCommand "emxomf -s -l ${D}arcFile"
40359 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
40367 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
40368 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
40369 { (exit 1); exit 1; }; }
40372 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
40373 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
40375 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
40376 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
40393 case "${BAKEFILE_HOST}" in
40395 SONAME_FLAG
="-Wl,-soname,"
40423 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
40424 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
40427 if test "x$GCC" = "xyes"; then
40430 case "${BAKEFILE_HOST}" in
40431 powerpc
-*-darwin* )
40432 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
40435 DEPSFLAG_GCC
="-MMD"
40438 echo "$as_me:$LINENO: result: gcc" >&5
40439 echo "${ECHO_T}gcc" >&6
40441 echo "$as_me:$LINENO: result: none" >&5
40442 echo "${ECHO_T}none" >&6
40445 if test $DEPS_TRACKING = 1 ; then
40451 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40452 # script. It is used to track C/C++ files dependencies in portable way.
40454 # Permission is given to use this file in any way.
40456 DEPSMODE=${DEPSMODE}
40458 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
40460 mkdir -p ${D}DEPSDIR
40462 if test ${D}DEPSMODE = gcc ; then
40463 ${D}* ${D}{DEPSFLAG_GCC}
40465 if test ${D}{status} != 0 ; then
40468 # move created file to the location we want it in:
40469 while test ${D}# -gt 0; do
40483 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
40484 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
40485 if test -f ${D}depfile ; then
40486 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40489 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
40490 if test -f ${D}depfile ; then
40491 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40511 case ${BAKEFILE_HOST} in
40512 *-*-cygwin* | *-*-mingw32* )
40513 if test "$build" != "$host" ; then
40514 RESCOMP
=$host_alias-windres
40516 # Extract the first word of "windres", so it can be a program name with args.
40517 set dummy windres
; ac_word
=$2
40518 echo "$as_me:$LINENO: checking for $ac_word" >&5
40519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40520 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40521 echo $ECHO_N "(cached) $ECHO_C" >&6
40523 if test -n "$RESCOMP"; then
40524 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
40526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40527 for as_dir
in $PATH
40530 test -z "$as_dir" && as_dir
=.
40531 for ac_exec_ext
in '' $ac_executable_extensions; do
40532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40533 ac_cv_prog_RESCOMP
="windres"
40534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40540 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
40543 RESCOMP
=$ac_cv_prog_RESCOMP
40544 if test -n "$RESCOMP"; then
40545 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40546 echo "${ECHO_T}$RESCOMP" >&6
40548 echo "$as_me:$LINENO: result: no" >&5
40549 echo "${ECHO_T}no" >&6
40556 # Extract the first word of "Rez", so it can be a program name with args.
40557 set dummy Rez
; ac_word
=$2
40558 echo "$as_me:$LINENO: checking for $ac_word" >&5
40559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40560 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40561 echo $ECHO_N "(cached) $ECHO_C" >&6
40563 if test -n "$RESCOMP"; then
40564 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
40566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40567 for as_dir
in $PATH
40570 test -z "$as_dir" && as_dir
=.
40571 for ac_exec_ext
in '' $ac_executable_extensions; do
40572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40573 ac_cv_prog_RESCOMP
="Rez"
40574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40580 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
40583 RESCOMP
=$ac_cv_prog_RESCOMP
40584 if test -n "$RESCOMP"; then
40585 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40586 echo "${ECHO_T}$RESCOMP" >&6
40588 echo "$as_me:$LINENO: result: no" >&5
40589 echo "${ECHO_T}no" >&6
40592 # Extract the first word of "SetFile", so it can be a program name with args.
40593 set dummy SetFile
; ac_word
=$2
40594 echo "$as_me:$LINENO: checking for $ac_word" >&5
40595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40596 if test "${ac_cv_prog_SETFILE+set}" = set; then
40597 echo $ECHO_N "(cached) $ECHO_C" >&6
40599 if test -n "$SETFILE"; then
40600 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
40602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40603 for as_dir
in $PATH
40606 test -z "$as_dir" && as_dir
=.
40607 for ac_exec_ext
in '' $ac_executable_extensions; do
40608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40609 ac_cv_prog_SETFILE
="SetFile"
40610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40616 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
40619 SETFILE
=$ac_cv_prog_SETFILE
40620 if test -n "$SETFILE"; then
40621 echo "$as_me:$LINENO: result: $SETFILE" >&5
40622 echo "${ECHO_T}$SETFILE" >&6
40624 echo "$as_me:$LINENO: result: no" >&5
40625 echo "${ECHO_T}no" >&6
40639 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.4"
40643 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40644 if test "${enable_precomp_headers+set}" = set; then
40645 enableval
="$enable_precomp_headers"
40646 bk_use_pch
="$enableval"
40651 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40652 if test "x$GCC" = "xyes"; then
40653 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40654 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40655 cat >conftest.
$ac_ext <<_ACEOF
40658 cat confdefs.h
>>conftest.
$ac_ext
40659 cat >>conftest.
$ac_ext <<_ACEOF
40660 /* end confdefs.h. */
40666 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40667 #error "no pch support"
40670 #error "no pch support"
40672 #if (__GNUC__ == 3) && \
40673 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40674 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40675 #error "no pch support"
40682 rm -f conftest.
$ac_objext
40683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40684 (eval $ac_compile) 2>conftest.er1
40686 grep -v '^ *+' conftest.er1
>conftest.err
40688 cat conftest.err
>&5
40689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40690 (exit $ac_status); } &&
40691 { ac_try
='test -z "$ac_c_werror_flag"
40692 || test ! -s conftest.err'
40693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40694 (eval $ac_try) 2>&5
40696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40697 (exit $ac_status); }; } &&
40698 { ac_try
='test -s conftest.$ac_objext'
40699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40700 (eval $ac_try) 2>&5
40702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40703 (exit $ac_status); }; }; then
40705 echo "$as_me:$LINENO: result: yes" >&5
40706 echo "${ECHO_T}yes" >&6
40707 CPPFLAGS
="-fpch-deps $CPPFLAGS"
40711 echo "$as_me: failed program was:" >&5
40712 sed 's/^/| /' conftest.
$ac_ext >&5
40715 echo "$as_me:$LINENO: result: no" >&5
40716 echo "${ECHO_T}no" >&6
40719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40720 if test $GCC_PCH = 1 ; then
40721 cat <<EOF >bk-make-pch
40724 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40725 # script. It is used to generated precompiled headers.
40727 # Permission is given to use this file in any way.
40736 while test \${#} -gt 0; do
40739 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
40740 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
40741 headerfile="\${incdir}/\${header}"
40745 compiler="\${compiler} \${1}"
40749 if test "x\${headerfile}" = "x" ; then
40750 echo "error: can't find header \${header} in include paths" >2
40752 if test -f \${outfile} ; then
40755 mkdir -p \`dirname \${outfile}\`
40757 depsfile=".deps/\`basename \${outfile}\`.d"
40759 # can do this because gcc is >= 3.4:
40760 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
40764 chmod +x bk
-make-pch
40775 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40776 if test "${enable_precomp_headers+set}" = set; then
40777 enableval
="$enable_precomp_headers"
40778 bk_use_pch
="$enableval"
40783 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40784 if test "x$GCC" = "xyes"; then
40785 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40786 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40787 cat >conftest.
$ac_ext <<_ACEOF
40790 cat confdefs.h
>>conftest.
$ac_ext
40791 cat >>conftest.
$ac_ext <<_ACEOF
40792 /* end confdefs.h. */
40798 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40799 #error "no pch support"
40802 #error "no pch support"
40804 #if (__GNUC__ == 3) && \
40805 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40806 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40807 #error "no pch support"
40814 rm -f conftest.
$ac_objext
40815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40816 (eval $ac_compile) 2>conftest.er1
40818 grep -v '^ *+' conftest.er1
>conftest.err
40820 cat conftest.err
>&5
40821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40822 (exit $ac_status); } &&
40823 { ac_try
='test -z "$ac_c_werror_flag"
40824 || test ! -s conftest.err'
40825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40826 (eval $ac_try) 2>&5
40828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40829 (exit $ac_status); }; } &&
40830 { ac_try
='test -s conftest.$ac_objext'
40831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40832 (eval $ac_try) 2>&5
40834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40835 (exit $ac_status); }; }; then
40837 echo "$as_me:$LINENO: result: yes" >&5
40838 echo "${ECHO_T}yes" >&6
40839 CPPFLAGS
="-fpch-deps $CPPFLAGS"
40843 echo "$as_me: failed program was:" >&5
40844 sed 's/^/| /' conftest.
$ac_ext >&5
40847 echo "$as_me:$LINENO: result: no" >&5
40848 echo "${ECHO_T}no" >&6
40851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40852 if test $GCC_PCH = 1 ; then
40853 cat <<EOF >bk-make-pch
40856 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40857 # script. It is used to generated precompiled headers.
40859 # Permission is given to use this file in any way.
40868 while test \${#} -gt 0; do
40871 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
40872 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
40873 headerfile="\${incdir}/\${header}"
40877 compiler="\${compiler} \${1}"
40881 if test "x\${headerfile}" = "x" ; then
40882 echo "error: can't find header \${header} in include paths" >2
40884 if test -f \${outfile} ; then
40887 mkdir -p \`dirname \${outfile}\`
40889 depsfile=".deps/\`basename \${outfile}\`.d"
40891 # can do this because gcc is >= 3.4:
40892 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
40896 chmod +x bk
-make-pch
40904 COND_BUILD_DEBUG
="#"
40905 if test "x$BUILD" = "xdebug" ; then
40906 COND_BUILD_DEBUG
=""
40909 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40910 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40911 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40914 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40915 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40916 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40919 COND_BUILD_DEBUG_UNICODE_0
="#"
40920 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40921 COND_BUILD_DEBUG_UNICODE_0
=""
40924 COND_BUILD_DEBUG_UNICODE_1
="#"
40925 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40926 COND_BUILD_DEBUG_UNICODE_1
=""
40929 COND_BUILD_RELEASE
="#"
40930 if test "x$BUILD" = "xrelease" ; then
40931 COND_BUILD_RELEASE
=""
40934 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40935 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40936 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40939 COND_BUILD_RELEASE_UNICODE_0
="#"
40940 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40941 COND_BUILD_RELEASE_UNICODE_0
=""
40944 COND_BUILD_RELEASE_UNICODE_1
="#"
40945 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40946 COND_BUILD_RELEASE_UNICODE_1
=""
40949 COND_DEBUG_FLAG_1
="#"
40950 if test "x$DEBUG_FLAG" = "x1" ; then
40951 COND_DEBUG_FLAG_1
=""
40954 COND_DEBUG_INFO_0
="#"
40955 if test "x$DEBUG_INFO" = "x0" ; then
40956 COND_DEBUG_INFO_0
=""
40959 COND_DEBUG_INFO_1
="#"
40960 if test "x$DEBUG_INFO" = "x1" ; then
40961 COND_DEBUG_INFO_1
=""
40964 COND_DEPS_TRACKING_0
="#"
40965 if test "x$DEPS_TRACKING" = "x0" ; then
40966 COND_DEPS_TRACKING_0
=""
40969 COND_DEPS_TRACKING_1
="#"
40970 if test "x$DEPS_TRACKING" = "x1" ; then
40971 COND_DEPS_TRACKING_1
=""
40975 if test "x$GCC_PCH" = "x1" ; then
40979 COND_MONOLITHIC_0
="#"
40980 if test "x$MONOLITHIC" = "x0" ; then
40981 COND_MONOLITHIC_0
=""
40984 COND_MONOLITHIC_0_SHARED_0
="#"
40985 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40986 COND_MONOLITHIC_0_SHARED_0
=""
40989 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40990 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40991 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40994 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40995 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40996 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40999 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
41000 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
41001 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
41004 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
41005 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
41006 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
41009 COND_MONOLITHIC_0_SHARED_1
="#"
41010 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
41011 COND_MONOLITHIC_0_SHARED_1
=""
41014 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
41015 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
41016 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
41019 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
41020 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41021 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
41024 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
41025 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
41026 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
41029 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
41030 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
41031 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
41034 COND_MONOLITHIC_0_USE_ODBC_1
="#"
41035 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
41036 COND_MONOLITHIC_0_USE_ODBC_1
=""
41039 COND_MONOLITHIC_1
="#"
41040 if test "x$MONOLITHIC" = "x1" ; then
41041 COND_MONOLITHIC_1
=""
41044 COND_MONOLITHIC_1_SHARED_0
="#"
41045 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
41046 COND_MONOLITHIC_1_SHARED_0
=""
41049 COND_MONOLITHIC_1_SHARED_1
="#"
41050 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
41051 COND_MONOLITHIC_1_SHARED_1
=""
41054 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
41055 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
41056 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
41059 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
41060 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
41061 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
41064 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
41065 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
41066 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
41069 COND_PLATFORM_MACOSX_1
="#"
41070 if test "x$PLATFORM_MACOSX" = "x1" ; then
41071 COND_PLATFORM_MACOSX_1
=""
41074 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
41075 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
41076 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
41079 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
41080 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
41081 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
41084 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
41085 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
41086 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
41089 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
41090 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
41091 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
41094 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
41095 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41096 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
41099 COND_PLATFORM_MAC_1
="#"
41100 if test "x$PLATFORM_MAC" = "x1" ; then
41101 COND_PLATFORM_MAC_1
=""
41104 COND_PLATFORM_OS2_1
="#"
41105 if test "x$PLATFORM_OS2" = "x1" ; then
41106 COND_PLATFORM_OS2_1
=""
41109 COND_PLATFORM_UNIX_0
="#"
41110 if test "x$PLATFORM_UNIX" = "x0" ; then
41111 COND_PLATFORM_UNIX_0
=""
41114 COND_PLATFORM_UNIX_1
="#"
41115 if test "x$PLATFORM_UNIX" = "x1" ; then
41116 COND_PLATFORM_UNIX_1
=""
41119 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
41120 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
41121 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
41124 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
41125 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
41126 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
41129 COND_PLATFORM_WIN32_0
="#"
41130 if test "x$PLATFORM_WIN32" = "x0" ; then
41131 COND_PLATFORM_WIN32_0
=""
41134 COND_PLATFORM_WIN32_1
="#"
41135 if test "x$PLATFORM_WIN32" = "x1" ; then
41136 COND_PLATFORM_WIN32_1
=""
41140 if test "x$SHARED" = "x0" ; then
41144 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
41145 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41146 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
41149 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41150 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41151 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41154 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41155 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41156 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41159 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41160 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41161 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41164 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
41165 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41166 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
41169 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
41170 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41171 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
41174 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
41175 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41176 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
41179 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
41180 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41181 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
41185 if test "x$SHARED" = "x1" ; then
41189 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
41190 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41191 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
41194 COND_TOOLKIT_COCOA
="#"
41195 if test "x$TOOLKIT" = "xCOCOA" ; then
41196 COND_TOOLKIT_COCOA
=""
41199 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
41200 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41201 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
41204 COND_TOOLKIT_GTK
="#"
41205 if test "x$TOOLKIT" = "xGTK" ; then
41206 COND_TOOLKIT_GTK
=""
41209 COND_TOOLKIT_GTK_USE_GUI_1
="#"
41210 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41211 COND_TOOLKIT_GTK_USE_GUI_1
=""
41214 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
41215 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41216 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
41219 COND_TOOLKIT_MAC
="#"
41220 if test "x$TOOLKIT" = "xMAC" ; then
41221 COND_TOOLKIT_MAC
=""
41224 COND_TOOLKIT_MAC_USE_GUI_1
="#"
41225 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41226 COND_TOOLKIT_MAC_USE_GUI_1
=""
41229 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
41230 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41231 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
41234 COND_TOOLKIT_MAC_WXUNIV_0
="#"
41235 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
41236 COND_TOOLKIT_MAC_WXUNIV_0
=""
41239 COND_TOOLKIT_MGL
="#"
41240 if test "x$TOOLKIT" = "xMGL" ; then
41241 COND_TOOLKIT_MGL
=""
41244 COND_TOOLKIT_MGL_USE_GUI_1
="#"
41245 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41246 COND_TOOLKIT_MGL_USE_GUI_1
=""
41249 COND_TOOLKIT_MOTIF
="#"
41250 if test "x$TOOLKIT" = "xMOTIF" ; then
41251 COND_TOOLKIT_MOTIF
=""
41254 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
41255 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41256 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
41259 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
41260 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41261 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
41264 COND_TOOLKIT_MSW
="#"
41265 if test "x$TOOLKIT" = "xMSW" ; then
41266 COND_TOOLKIT_MSW
=""
41269 COND_TOOLKIT_MSW_USE_GUI_1
="#"
41270 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41271 COND_TOOLKIT_MSW_USE_GUI_1
=""
41274 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
41275 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41276 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
41279 COND_TOOLKIT_MSW_WXUNIV_0
="#"
41280 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41281 COND_TOOLKIT_MSW_WXUNIV_0
=""
41284 COND_TOOLKIT_PM
="#"
41285 if test "x$TOOLKIT" = "xPM" ; then
41289 COND_TOOLKIT_PM_USE_GUI_1
="#"
41290 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41291 COND_TOOLKIT_PM_USE_GUI_1
=""
41294 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
41295 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41296 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
41299 COND_TOOLKIT_PM_WXUNIV_0
="#"
41300 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41301 COND_TOOLKIT_PM_WXUNIV_0
=""
41304 COND_TOOLKIT_WINCE
="#"
41305 if test "x$TOOLKIT" = "xWINCE" ; then
41306 COND_TOOLKIT_WINCE
=""
41309 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
41310 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41311 COND_TOOLKIT_WINCE_USE_GUI_1
=""
41314 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
41315 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41316 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
41319 COND_TOOLKIT_X11
="#"
41320 if test "x$TOOLKIT" = "xX11" ; then
41321 COND_TOOLKIT_X11
=""
41324 COND_TOOLKIT_X11_USE_GUI_1
="#"
41325 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41326 COND_TOOLKIT_X11_USE_GUI_1
=""
41330 if test "x$UNICODE" = "x1" ; then
41334 COND_USE_EXCEPTIONS_0
="#"
41335 if test "x$USE_EXCEPTIONS" = "x0" ; then
41336 COND_USE_EXCEPTIONS_0
=""
41339 COND_USE_EXCEPTIONS_1
="#"
41340 if test "x$USE_EXCEPTIONS" = "x1" ; then
41341 COND_USE_EXCEPTIONS_1
=""
41345 if test "x$USE_GUI" = "x0" ; then
41350 if test "x$USE_GUI" = "x1" ; then
41354 COND_USE_GUI_1_WXUNIV_0
="#"
41355 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41356 COND_USE_GUI_1_WXUNIV_0
=""
41359 COND_USE_GUI_1_WXUNIV_1
="#"
41360 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41361 COND_USE_GUI_1_WXUNIV_1
=""
41364 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41365 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41366 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41369 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41370 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41371 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41374 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41375 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41376 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41379 COND_USE_ODBC_1
="#"
41380 if test "x$USE_ODBC" = "x1" ; then
41384 COND_USE_PLUGINS_0
="#"
41385 if test "x$USE_PLUGINS" = "x0" ; then
41386 COND_USE_PLUGINS_0
=""
41389 COND_USE_SOSYMLINKS_1
="#"
41390 if test "x$USE_SOSYMLINKS" = "x1" ; then
41391 COND_USE_SOSYMLINKS_1
=""
41394 COND_USE_SOVERLINUX_1
="#"
41395 if test "x$USE_SOVERLINUX" = "x1" ; then
41396 COND_USE_SOVERLINUX_1
=""
41399 COND_USE_SOVERSION_0
="#"
41400 if test "x$USE_SOVERSION" = "x0" ; then
41401 COND_USE_SOVERSION_0
=""
41404 COND_USE_SOVERSOLARIS_1
="#"
41405 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41406 COND_USE_SOVERSOLARIS_1
=""
41409 COND_WITH_PLUGIN_SDL_1
="#"
41410 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41411 COND_WITH_PLUGIN_SDL_1
=""
41414 COND_WITH_SDL_1
="#"
41415 if test "x$WITH_SDL" = "x1" ; then
41420 if test "x$WXUNIV" = "x1" ; then
41424 COND_WXUSE_EXPAT_BUILTIN
="#"
41425 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41426 COND_WXUSE_EXPAT_BUILTIN
=""
41429 COND_WXUSE_LIBJPEG_BUILTIN
="#"
41430 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41431 COND_WXUSE_LIBJPEG_BUILTIN
=""
41434 COND_WXUSE_LIBPNG_BUILTIN
="#"
41435 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41436 COND_WXUSE_LIBPNG_BUILTIN
=""
41439 COND_WXUSE_LIBTIFF_BUILTIN
="#"
41440 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41441 COND_WXUSE_LIBTIFF_BUILTIN
=""
41444 COND_WXUSE_ODBC_BUILTIN
="#"
41445 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41446 COND_WXUSE_ODBC_BUILTIN
=""
41449 COND_WXUSE_REGEX_BUILTIN
="#"
41450 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41451 COND_WXUSE_REGEX_BUILTIN
=""
41454 COND_WXUSE_ZLIB_BUILTIN
="#"
41455 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41456 COND_WXUSE_ZLIB_BUILTIN
=""
41459 COND_BUILD_DEBUG
="#"
41460 if test "x$BUILD" = "xdebug" ; then
41461 COND_BUILD_DEBUG
=""
41464 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
41465 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
41466 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
41469 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
41470 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
41471 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
41474 COND_BUILD_DEBUG_UNICODE_0
="#"
41475 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
41476 COND_BUILD_DEBUG_UNICODE_0
=""
41479 COND_BUILD_DEBUG_UNICODE_1
="#"
41480 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
41481 COND_BUILD_DEBUG_UNICODE_1
=""
41484 COND_BUILD_RELEASE
="#"
41485 if test "x$BUILD" = "xrelease" ; then
41486 COND_BUILD_RELEASE
=""
41489 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
41490 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
41491 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
41494 COND_BUILD_RELEASE_UNICODE_0
="#"
41495 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
41496 COND_BUILD_RELEASE_UNICODE_0
=""
41499 COND_BUILD_RELEASE_UNICODE_1
="#"
41500 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
41501 COND_BUILD_RELEASE_UNICODE_1
=""
41504 COND_DEBUG_FLAG_1
="#"
41505 if test "x$DEBUG_FLAG" = "x1" ; then
41506 COND_DEBUG_FLAG_1
=""
41509 COND_DEBUG_INFO_0
="#"
41510 if test "x$DEBUG_INFO" = "x0" ; then
41511 COND_DEBUG_INFO_0
=""
41514 COND_DEBUG_INFO_1
="#"
41515 if test "x$DEBUG_INFO" = "x1" ; then
41516 COND_DEBUG_INFO_1
=""
41519 COND_DEPS_TRACKING_0
="#"
41520 if test "x$DEPS_TRACKING" = "x0" ; then
41521 COND_DEPS_TRACKING_0
=""
41524 COND_DEPS_TRACKING_1
="#"
41525 if test "x$DEPS_TRACKING" = "x1" ; then
41526 COND_DEPS_TRACKING_1
=""
41530 if test "x$GCC_PCH" = "x1" ; then
41534 COND_MONOLITHIC_0
="#"
41535 if test "x$MONOLITHIC" = "x0" ; then
41536 COND_MONOLITHIC_0
=""
41539 COND_MONOLITHIC_0_SHARED_0
="#"
41540 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
41541 COND_MONOLITHIC_0_SHARED_0
=""
41544 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
41545 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
41546 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
41549 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
41550 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41551 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
41554 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
41555 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
41556 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
41559 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
41560 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
41561 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
41564 COND_MONOLITHIC_0_SHARED_1
="#"
41565 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
41566 COND_MONOLITHIC_0_SHARED_1
=""
41569 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
41570 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
41571 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
41574 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
41575 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41576 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
41579 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
41580 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
41581 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
41584 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
41585 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
41586 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
41589 COND_MONOLITHIC_0_USE_ODBC_1
="#"
41590 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
41591 COND_MONOLITHIC_0_USE_ODBC_1
=""
41594 COND_MONOLITHIC_1
="#"
41595 if test "x$MONOLITHIC" = "x1" ; then
41596 COND_MONOLITHIC_1
=""
41599 COND_MONOLITHIC_1_SHARED_0
="#"
41600 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
41601 COND_MONOLITHIC_1_SHARED_0
=""
41604 COND_MONOLITHIC_1_SHARED_1
="#"
41605 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
41606 COND_MONOLITHIC_1_SHARED_1
=""
41609 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
41610 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
41611 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
41614 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
41615 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
41616 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
41619 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
41620 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
41621 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
41624 COND_PLATFORM_MACOSX_1
="#"
41625 if test "x$PLATFORM_MACOSX" = "x1" ; then
41626 COND_PLATFORM_MACOSX_1
=""
41629 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
41630 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
41631 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
41634 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
41635 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
41636 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
41639 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
41640 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
41641 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
41644 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
41645 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
41646 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
41649 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
41650 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41651 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
41654 COND_PLATFORM_MAC_1
="#"
41655 if test "x$PLATFORM_MAC" = "x1" ; then
41656 COND_PLATFORM_MAC_1
=""
41659 COND_PLATFORM_OS2_1
="#"
41660 if test "x$PLATFORM_OS2" = "x1" ; then
41661 COND_PLATFORM_OS2_1
=""
41664 COND_PLATFORM_UNIX_0
="#"
41665 if test "x$PLATFORM_UNIX" = "x0" ; then
41666 COND_PLATFORM_UNIX_0
=""
41669 COND_PLATFORM_UNIX_1
="#"
41670 if test "x$PLATFORM_UNIX" = "x1" ; then
41671 COND_PLATFORM_UNIX_1
=""
41674 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
41675 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
41676 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
41679 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
41680 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
41681 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
41684 COND_PLATFORM_WIN32_0
="#"
41685 if test "x$PLATFORM_WIN32" = "x0" ; then
41686 COND_PLATFORM_WIN32_0
=""
41689 COND_PLATFORM_WIN32_1
="#"
41690 if test "x$PLATFORM_WIN32" = "x1" ; then
41691 COND_PLATFORM_WIN32_1
=""
41695 if test "x$SHARED" = "x0" ; then
41699 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
41700 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41701 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
41704 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41705 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41706 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41709 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41710 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41711 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41714 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41715 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41716 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41719 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
41720 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41721 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
41724 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
41725 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41726 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
41729 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
41730 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41731 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
41734 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
41735 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41736 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
41740 if test "x$SHARED" = "x1" ; then
41744 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
41745 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41746 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
41749 COND_TOOLKIT_COCOA
="#"
41750 if test "x$TOOLKIT" = "xCOCOA" ; then
41751 COND_TOOLKIT_COCOA
=""
41754 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
41755 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41756 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
41759 COND_TOOLKIT_GTK
="#"
41760 if test "x$TOOLKIT" = "xGTK" ; then
41761 COND_TOOLKIT_GTK
=""
41764 COND_TOOLKIT_GTK_USE_GUI_1
="#"
41765 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41766 COND_TOOLKIT_GTK_USE_GUI_1
=""
41769 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
41770 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41771 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
41774 COND_TOOLKIT_MAC
="#"
41775 if test "x$TOOLKIT" = "xMAC" ; then
41776 COND_TOOLKIT_MAC
=""
41779 COND_TOOLKIT_MAC_USE_GUI_1
="#"
41780 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41781 COND_TOOLKIT_MAC_USE_GUI_1
=""
41784 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
41785 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41786 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
41789 COND_TOOLKIT_MGL
="#"
41790 if test "x$TOOLKIT" = "xMGL" ; then
41791 COND_TOOLKIT_MGL
=""
41794 COND_TOOLKIT_MGL_USE_GUI_1
="#"
41795 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41796 COND_TOOLKIT_MGL_USE_GUI_1
=""
41799 COND_TOOLKIT_MOTIF
="#"
41800 if test "x$TOOLKIT" = "xMOTIF" ; then
41801 COND_TOOLKIT_MOTIF
=""
41804 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
41805 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41806 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
41809 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
41810 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41811 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
41814 COND_TOOLKIT_MSW
="#"
41815 if test "x$TOOLKIT" = "xMSW" ; then
41816 COND_TOOLKIT_MSW
=""
41819 COND_TOOLKIT_MSW_USE_GUI_1
="#"
41820 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41821 COND_TOOLKIT_MSW_USE_GUI_1
=""
41824 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
41825 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41826 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
41829 COND_TOOLKIT_PM
="#"
41830 if test "x$TOOLKIT" = "xPM" ; then
41834 COND_TOOLKIT_PM_USE_GUI_1
="#"
41835 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41836 COND_TOOLKIT_PM_USE_GUI_1
=""
41839 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
41840 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41841 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
41844 COND_TOOLKIT_WINCE
="#"
41845 if test "x$TOOLKIT" = "xWINCE" ; then
41846 COND_TOOLKIT_WINCE
=""
41849 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
41850 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41851 COND_TOOLKIT_WINCE_USE_GUI_1
=""
41854 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
41855 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41856 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
41859 COND_TOOLKIT_X11
="#"
41860 if test "x$TOOLKIT" = "xX11" ; then
41861 COND_TOOLKIT_X11
=""
41864 COND_TOOLKIT_X11_USE_GUI_1
="#"
41865 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41866 COND_TOOLKIT_X11_USE_GUI_1
=""
41870 if test "x$UNICODE" = "x1" ; then
41874 COND_USE_EXCEPTIONS_0
="#"
41875 if test "x$USE_EXCEPTIONS" = "x0" ; then
41876 COND_USE_EXCEPTIONS_0
=""
41879 COND_USE_EXCEPTIONS_1
="#"
41880 if test "x$USE_EXCEPTIONS" = "x1" ; then
41881 COND_USE_EXCEPTIONS_1
=""
41885 if test "x$USE_GUI" = "x0" ; then
41890 if test "x$USE_GUI" = "x1" ; then
41894 COND_USE_GUI_1_WXUNIV_0
="#"
41895 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41896 COND_USE_GUI_1_WXUNIV_0
=""
41899 COND_USE_GUI_1_WXUNIV_1
="#"
41900 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41901 COND_USE_GUI_1_WXUNIV_1
=""
41904 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41905 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41906 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41909 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41910 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41911 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41914 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41915 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41916 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41919 COND_USE_ODBC_1
="#"
41920 if test "x$USE_ODBC" = "x1" ; then
41924 COND_USE_PLUGINS_0
="#"
41925 if test "x$USE_PLUGINS" = "x0" ; then
41926 COND_USE_PLUGINS_0
=""
41929 COND_USE_SOSYMLINKS_1
="#"
41930 if test "x$USE_SOSYMLINKS" = "x1" ; then
41931 COND_USE_SOSYMLINKS_1
=""
41934 COND_USE_SOVERLINUX_1
="#"
41935 if test "x$USE_SOVERLINUX" = "x1" ; then
41936 COND_USE_SOVERLINUX_1
=""
41939 COND_USE_SOVERSION_0
="#"
41940 if test "x$USE_SOVERSION" = "x0" ; then
41941 COND_USE_SOVERSION_0
=""
41944 COND_USE_SOVERSOLARIS_1
="#"
41945 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41946 COND_USE_SOVERSOLARIS_1
=""
41949 COND_WITH_PLUGIN_SDL_1
="#"
41950 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41951 COND_WITH_PLUGIN_SDL_1
=""
41955 if test "x$WXUNIV" = "x1" ; then
41959 COND_WXUSE_EXPAT_BUILTIN
="#"
41960 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41961 COND_WXUSE_EXPAT_BUILTIN
=""
41964 COND_WXUSE_LIBJPEG_BUILTIN
="#"
41965 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41966 COND_WXUSE_LIBJPEG_BUILTIN
=""
41969 COND_WXUSE_LIBPNG_BUILTIN
="#"
41970 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41971 COND_WXUSE_LIBPNG_BUILTIN
=""
41974 COND_WXUSE_LIBTIFF_BUILTIN
="#"
41975 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41976 COND_WXUSE_LIBTIFF_BUILTIN
=""
41979 COND_WXUSE_ODBC_BUILTIN
="#"
41980 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41981 COND_WXUSE_ODBC_BUILTIN
=""
41984 COND_WXUSE_REGEX_BUILTIN
="#"
41985 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41986 COND_WXUSE_REGEX_BUILTIN
=""
41989 COND_WXUSE_ZLIB_BUILTIN
="#"
41990 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41991 COND_WXUSE_ZLIB_BUILTIN
=""
41998 if test $GCC_PCH = 1 ; then
41999 CODE_GEN_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
42000 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
42003 powerpc
-*-darwin* )
42004 CODE_GEN_FLAGS
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
42005 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
42008 if test "$wxUSE_STL" = "yes" -o \
42009 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
42010 "$wxUSE_NO_RTTI" != "yes"; then
42011 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
42012 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
42013 cat >conftest.
$ac_ext <<_ACEOF
42016 cat confdefs.h
>>conftest.
$ac_ext
42017 cat >>conftest.
$ac_ext <<_ACEOF
42018 /* end confdefs.h. */
42023 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
42024 #error "Not GCC 3.2 or greater"
42031 rm -f conftest.
$ac_objext
42032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42033 (eval $ac_compile) 2>conftest.er1
42035 grep -v '^ *+' conftest.er1
>conftest.err
42037 cat conftest.err
>&5
42038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42039 (exit $ac_status); } &&
42040 { ac_try
='test -z "$ac_c_werror_flag"
42041 || test ! -s conftest.err'
42042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42043 (eval $ac_try) 2>&5
42045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42046 (exit $ac_status); }; } &&
42047 { ac_try
='test -s conftest.$ac_objext'
42048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42049 (eval $ac_try) 2>&5
42051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42052 (exit $ac_status); }; }; then
42053 CODE_GEN_FLAGS
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
42054 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
42055 echo "$as_me:$LINENO: result: yes" >&5
42056 echo "${ECHO_T}yes" >&6
42058 echo "$as_me: failed program was:" >&5
42059 sed 's/^/| /' conftest.
$ac_ext >&5
42061 echo "$as_me:$LINENO: result: no" >&5
42062 echo "${ECHO_T}no" >&6
42064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42071 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
42172 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
42173 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
42174 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
42175 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
42176 echo $ECHO_N "(cached) $ECHO_C" >&6
42178 cat >conftest.
make <<\_ACEOF
42180 @
echo 'ac_maketemp="$(MAKE)"'
42182 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
42183 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
42184 if test -n "$ac_maketemp"; then
42185 eval ac_cv_prog_make_
${ac_make}_set
=yes
42187 eval ac_cv_prog_make_
${ac_make}_set
=no
42189 rm -f conftest.
make
42191 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
42192 echo "$as_me:$LINENO: result: yes" >&5
42193 echo "${ECHO_T}yes" >&6
42196 echo "$as_me:$LINENO: result: no" >&5
42197 echo "${ECHO_T}no" >&6
42198 SET_MAKE
="MAKE=${MAKE-make}"
42202 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
42203 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
42206 ac_config_headers
="$ac_config_headers setup.h"
42209 ac_config_files
="$ac_config_files wx-config version-script Makefile"
42212 ac_config_commands
="$ac_config_commands default"
42216 if test "$wxUSE_GUI" = "yes"; then
42217 SUBDIRS
="samples demos utils contrib"
42218 else SUBDIRS
="samples utils"
42223 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
42224 if test "${with_cppunit_prefix+set}" = set; then
42225 withval
="$with_cppunit_prefix"
42226 cppunit_config_prefix
="$withval"
42228 cppunit_config_prefix
=""
42231 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
42232 if test "${with_cppunit_exec_prefix+set}" = set; then
42233 withval
="$with_cppunit_exec_prefix"
42234 cppunit_config_exec_prefix
="$withval"
42236 cppunit_config_exec_prefix
=""
42239 if test x
$cppunit_config_exec_prefix != x
; then
42240 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
42241 if test x
${CPPUNIT_CONFIG+set} != xset
; then
42242 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
42245 if test x
$cppunit_config_prefix != x
; then
42246 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
42247 if test x
${CPPUNIT_CONFIG+set} != xset
; then
42248 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
42252 # Extract the first word of "cppunit-config", so it can be a program name with args.
42253 set dummy cppunit
-config; ac_word
=$2
42254 echo "$as_me:$LINENO: checking for $ac_word" >&5
42255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42256 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
42257 echo $ECHO_N "(cached) $ECHO_C" >&6
42259 case $CPPUNIT_CONFIG in
42261 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
42264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42265 for as_dir
in $PATH
42268 test -z "$as_dir" && as_dir
=.
42269 for ac_exec_ext
in '' $ac_executable_extensions; do
42270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42271 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42278 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
42282 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
42284 if test -n "$CPPUNIT_CONFIG"; then
42285 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
42286 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
42288 echo "$as_me:$LINENO: result: no" >&5
42289 echo "${ECHO_T}no" >&6
42292 cppunit_version_min
=1.8.0
42294 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
42295 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
42297 if test "$CPPUNIT_CONFIG" = "no" ; then
42299 echo "$as_me:$LINENO: result: no" >&5
42300 echo "${ECHO_T}no" >&6
42302 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
42303 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
42304 cppunit_version
=`$CPPUNIT_CONFIG --version`
42306 cppunit_major_version
=`echo $cppunit_version | \
42307 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42308 cppunit_minor_version
=`echo $cppunit_version | \
42309 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42310 cppunit_micro_version
=`echo $cppunit_version | \
42311 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42313 cppunit_major_min
=`echo $cppunit_version_min | \
42314 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42315 cppunit_minor_min
=`echo $cppunit_version_min | \
42316 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42317 cppunit_micro_min
=`echo $cppunit_version_min | \
42318 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42320 cppunit_version_proper
=`expr \
42321 $cppunit_major_version \> $cppunit_major_min \| \
42322 $cppunit_major_version \= $cppunit_major_min \& \
42323 $cppunit_minor_version \> $cppunit_minor_min \| \
42324 $cppunit_major_version \= $cppunit_major_min \& \
42325 $cppunit_minor_version \= $cppunit_minor_min \& \
42326 $cppunit_micro_version \>= $cppunit_micro_min `
42328 if test "$cppunit_version_proper" = "1" ; then
42329 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
42330 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
42332 echo "$as_me:$LINENO: result: no" >&5
42333 echo "${ECHO_T}no" >&6
42338 if test "x$no_cppunit" = x
; then
42339 SUBDIRS
="$SUBDIRS tests"
42350 for subdir
in `echo $SUBDIRS`; do
42351 if test -d ${srcdir}/${subdir} ; then
42352 if test "$wxUSE_GUI" = "yes"; then
42353 if test ${subdir} = "samples"; then
42354 makefiles
="samples/Makefile.in $makefiles"
42355 for sample
in `echo $SAMPLES_SUBDIRS`; do
42356 if test -d $srcdir/samples
/$sample; then
42357 makefiles
="samples/$sample/Makefile.in $makefiles"
42360 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
42362 else if test ${subdir} = "samples"; then
42363 makefiles
="samples/Makefile.in samples/console/Makefile.in"
42364 elif test ${subdir} = "utils"; then
42365 makefiles
="utils/HelpGen/Makefile.in \
42366 utils/HelpGen/src/Makefile.in \
42367 utils/tex2rtf/Makefile.in \
42368 utils/tex2rtf/src/Makefile.in"
42369 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
42373 for mkin
in $makefiles ; do
42374 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
42375 ac_config_files
="$ac_config_files $mk"
42382 cat >confcache
<<\_ACEOF
42383 # This file is a shell script that caches the results of configure
42384 # tests run on this system so they can be shared between configure
42385 # scripts and configure runs, see configure's option --config-cache.
42386 # It is not useful on other systems. If it contains results you don't
42387 # want to keep, you may remove or edit it.
42389 # config.status only pays attention to the cache file if you give it
42390 # the --recheck option to rerun configure.
42392 # `ac_cv_env_foo' variables (set or unset) will be overridden when
42393 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42394 # following values.
42398 # The following way of writing the cache mishandles newlines in values,
42399 # but we know of no workaround that is simple, portable, and efficient.
42400 # So, don't put newlines in cache variables' values.
42401 # Ultrix sh set writes to stderr and can't be redirected directly,
42402 # and sets the high bit in the cache file unless we assign to the vars.
42405 case `(ac_space=' '; set | grep ac_space) 2>&1` in
42407 # `set' does not quote correctly, so add quotes (double-quote
42408 # substitution turns \\\\ into \\, and sed turns \\ into \).
42411 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42414 # `set' quotes correctly as required by POSIX, so do not add quotes.
42416 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
42423 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42425 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42427 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
42428 if test -w $cache_file; then
42429 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
42430 cat confcache
>$cache_file
42432 echo "not updating unwritable cache $cache_file"
42437 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
42438 # Let make expand exec_prefix.
42439 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
42441 # VPATH may cause trouble with some makes, so we remove $(srcdir),
42442 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
42443 # trailing colons and then remove the whole line if VPATH becomes empty
42444 # (actually we leave an empty line to preserve line numbers).
42445 if test "x$srcdir" = x.
; then
42446 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
42447 s/:*\$(srcdir):*/:/;
42448 s/:*\${srcdir}:*/:/;
42450 s/^\([^=]*=[ ]*\):*/\1/;
42456 DEFS
=-DHAVE_CONFIG_H
42460 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
42461 # 1. Remove the extension, and $U if already installed.
42462 ac_i
=`echo "$ac_i" |
42463 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
42465 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
42466 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
42468 LIBOBJS
=$ac_libobjs
42470 LTLIBOBJS
=$ac_ltlibobjs
42474 : ${CONFIG_STATUS=./config.status}
42475 ac_clean_files_save
=$ac_clean_files
42476 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
42477 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
42478 echo "$as_me: creating $CONFIG_STATUS" >&6;}
42479 cat >$CONFIG_STATUS <<_ACEOF
42481 # Generated by $as_me.
42482 # Run this file to recreate the current configuration.
42483 # Compiler output produced by configure, useful for debugging
42484 # configure, is in config.log if it exists.
42487 ac_cs_recheck=false
42489 SHELL=\${CONFIG_SHELL-$SHELL}
42492 cat >>$CONFIG_STATUS <<\_ACEOF
42493 ## --------------------- ##
42494 ## M4sh Initialization. ##
42495 ## --------------------- ##
42497 # Be Bourne compatible
42498 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
42501 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
42502 # is contrary to our usage. Disable this feature.
42503 alias -g '${1+"$@"}'='"$@"'
42504 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
42507 DUALCASE
=1; export DUALCASE
# for MKS sh
42509 # Support unset when possible.
42510 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
42517 # Work around bugs in pre-3.0 UWIN ksh.
42518 $as_unset ENV MAIL MAILPATH
42525 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42526 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42527 LC_TELEPHONE LC_TIME
42529 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
42530 eval $as_var=C
; export $as_var
42536 # Required to use basename.
42537 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42543 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
42544 as_basename
=basename
42550 # Name of the executable.
42551 as_me
=`$as_basename "$0" ||
42552 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42553 X"$0" : 'X\(//\)$' \| \
42554 X"$0" : 'X\(/\)$' \| \
42555 . : '\(.\)' 2>/dev/null ||
42557 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
42558 /^X\/\(\/\/\)$/{ s//\1/; q; }
42559 /^X\/\(\/\).*/{ s//\1/; q; }
42563 # PATH needs CR, and LINENO needs CR and PATH.
42564 # Avoid depending upon Character Ranges.
42565 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
42566 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42567 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
42568 as_cr_digits
='0123456789'
42569 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42571 # The user is always right.
42572 if test "${PATH_SEPARATOR+set}" != set; then
42573 echo "#! /bin/sh" >conf$$.sh
42574 echo "exit 0" >>conf$$.sh
42576 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
42585 as_lineno_1
=$LINENO
42586 as_lineno_2
=$LINENO
42587 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
42588 test "x$as_lineno_1" != "x$as_lineno_2" &&
42589 test "x$as_lineno_3" = "x$as_lineno_2" || {
42590 # Find who we are. Look in the path if we contain no path at all
42593 *[\\/]* ) as_myself
=$0 ;;
42594 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42595 for as_dir
in $PATH
42598 test -z "$as_dir" && as_dir
=.
42599 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
42604 # We did not find ourselves, most probably we were run as `sh COMMAND'
42605 # in which case we are not to be found in the path.
42606 if test "x$as_myself" = x
; then
42609 if test ! -f "$as_myself"; then
42610 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
42611 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
42612 { (exit 1); exit 1; }; }
42614 case $CONFIG_SHELL in
42616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42617 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
42620 test -z "$as_dir" && as_dir
=.
42621 for as_base
in sh bash ksh sh5
; do
42624 if ("$as_dir/$as_base" -c '
42625 as_lineno_1=$LINENO
42626 as_lineno_2=$LINENO
42627 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42628 test "x$as_lineno_1" != "x$as_lineno_2" &&
42629 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
42630 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
42631 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
42632 CONFIG_SHELL
=$as_dir/$as_base
42633 export CONFIG_SHELL
42634 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
42642 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
42643 # uniformly replaced by the line number. The first 'sed' inserts a
42644 # line-number line before each line; the second 'sed' does the real
42645 # work. The second script uses 'N' to pair each line-number line
42646 # with the numbered line, and appends trailing '-' during
42647 # substitution so that $LINENO is not a special case at line end.
42648 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
42649 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
42650 sed '=' <$as_myself |
42655 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
42658 s,^['$as_cr_digits']*\n,,
42659 ' >$as_me.lineno
&&
42660 chmod +x
$as_me.lineno
||
42661 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
42662 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
42663 { (exit 1); exit 1; }; }
42665 # Don't try to exec as it changes $[0], causing all sort of problems
42666 # (the dirname of $[0] is not the place where we might find the
42667 # original and so on. Autoconf is especially sensible to this).
42669 # Exit status is that of the last command.
42674 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
42675 *c
*,-n*) ECHO_N
= ECHO_C
='
42677 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
42678 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
42681 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42687 rm -f conf$$ conf$$.exe conf$$.
file
42689 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
42690 # We could just check for DJGPP; but this test a) works b) is more generic
42691 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
42692 if test -f conf$$.exe
; then
42693 # Don't use ln at all; we don't have any links
42698 elif ln conf$$.
file conf$$
2>/dev
/null
; then
42703 rm -f conf$$ conf$$.exe conf$$.
file
42705 if mkdir -p .
2>/dev
/null
; then
42708 test -d .
/-p && rmdir .
/-p
42712 as_executable_p
="test -f"
42714 # Sed expression to map a string onto a valid CPP name.
42715 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42717 # Sed expression to map a string onto a valid variable name.
42718 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42722 # We need space, tab and new line, in precisely that order.
42732 # Open the log real soon, to keep \$[0] and so on meaningful, and to
42733 # report actual input values of CONFIG_FILES etc. instead of their
42734 # values after options handling. Logging --version etc. is OK.
42738 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42739 ## Running $as_me. ##
42744 This file was extended by wxWidgets $as_me 2.5.2, which was
42745 generated by GNU Autoconf 2.59. Invocation command line was
42747 CONFIG_FILES = $CONFIG_FILES
42748 CONFIG_HEADERS = $CONFIG_HEADERS
42749 CONFIG_LINKS = $CONFIG_LINKS
42750 CONFIG_COMMANDS = $CONFIG_COMMANDS
42754 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42758 # Files that config.status was made for.
42759 if test -n "$ac_config_files"; then
42760 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
42763 if test -n "$ac_config_headers"; then
42764 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
42767 if test -n "$ac_config_links"; then
42768 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
42771 if test -n "$ac_config_commands"; then
42772 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
42775 cat >>$CONFIG_STATUS <<\_ACEOF
42778 \`$as_me' instantiates files from templates according to the
42779 current configuration.
42781 Usage: $0 [OPTIONS] [FILE]...
42783 -h, --help print this help, then exit
42784 -V, --version print version number, then exit
42785 -q, --quiet do not print progress messages
42786 -d, --debug don't remove temporary files
42787 --recheck update $as_me by reconfiguring in the same conditions
42788 --file=FILE[:TEMPLATE]
42789 instantiate the configuration file FILE
42790 --header=FILE[:TEMPLATE]
42791 instantiate the configuration header FILE
42793 Configuration files:
42796 Configuration headers:
42799 Configuration commands:
42802 Report bugs to <bug-autoconf@gnu.org>."
42805 cat >>$CONFIG_STATUS <<_ACEOF
42807 wxWidgets config.status 2.5.2
42808 configured by $0, generated by GNU Autoconf 2.59,
42809 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42811 Copyright (C) 2003 Free Software Foundation, Inc.
42812 This config.status script is free software; the Free Software Foundation
42813 gives unlimited permission to copy, distribute and modify it."
42818 cat >>$CONFIG_STATUS <<\_ACEOF
42819 # If no file are specified by the user, then we need to provide default
42820 # value. By we need to know if files were specified by the user.
42826 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
42827 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
42835 *) # This is not an option, so the user has probably given explicit
42838 ac_need_defaults
=false
;;
42842 # Handling of the options.
42844 cat >>$CONFIG_STATUS <<\_ACEOF
42845 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42847 --version | --vers* | -V )
42848 echo "$ac_cs_version"; exit 0 ;;
42850 # Conflict between --help and --header
42851 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42852 Try \`$0 --help' for more information." >&5
42853 echo "$as_me: error: ambiguous option: $1
42854 Try \`$0 --help' for more information." >&2;}
42855 { (exit 1); exit 1; }; };;
42856 --help | --hel | -h )
42857 echo "$ac_cs_usage"; exit 0 ;;
42858 --debug | --d* | -d )
42860 --file | --fil | --fi | --f )
42862 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
42863 ac_need_defaults
=false
;;
42864 --header | --heade | --head | --hea )
42866 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
42867 ac_need_defaults
=false
;;
42868 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42869 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42872 # This is an error.
42873 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42874 Try \`$0 --help' for more information." >&5
42875 echo "$as_me: error: unrecognized option: $1
42876 Try \`$0 --help' for more information." >&2;}
42877 { (exit 1); exit 1; }; } ;;
42879 *) ac_config_targets
="$ac_config_targets $1" ;;
42885 ac_configure_extra_args
=
42887 if $ac_cs_silent; then
42889 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42893 cat >>$CONFIG_STATUS <<_ACEOF
42894 if \$ac_cs_recheck; then
42895 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42896 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42901 cat >>$CONFIG_STATUS <<_ACEOF
42903 # INIT-COMMANDS section.
42907 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
42916 cat >>$CONFIG_STATUS <<\_ACEOF
42917 for ac_config_target
in $ac_config_targets
42919 case "$ac_config_target" in
42920 # Handling of arguments.
42921 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
42922 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42923 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42924 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42925 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
42926 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
42927 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42928 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42929 { (exit 1); exit 1; }; };;
42933 # If the user did not use the arguments to specify the items to instantiate,
42934 # then the envvar interface is used. Set only those that are not.
42935 # We use the long form for the default assignment because of an extremely
42936 # bizarre bug on SunOS 4.1.3.
42937 if $ac_need_defaults; then
42938 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42939 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42940 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42943 # Have a temporary directory for convenience. Make it in the build tree
42944 # simply because there is no reason to put it here, and in addition,
42945 # creating and moving files from /tmp can sometimes cause problems.
42946 # Create a temporary directory, and hook for its removal unless debugging.
42949 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42950 trap '{ (exit 1); exit 1; }' 1 2 13 15
42953 # Create a (secure) tmp directory for tmp files.
42956 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42957 test -n "$tmp" && test -d "$tmp"
42960 tmp
=.
/confstat$$
-$RANDOM
42961 (umask 077 && mkdir $tmp)
42964 echo "$me: cannot create a temporary directory in ." >&2
42965 { (exit 1); exit 1; }
42970 cat >>$CONFIG_STATUS <<_ACEOF
42973 # CONFIG_FILES section.
42976 # No need to generate the scripts if there are no CONFIG_FILES.
42977 # This happens for instance when ./config.status config.h
42978 if test -n "\$CONFIG_FILES"; then
42979 # Protect against being on the right side of a sed subst in config.status.
42980 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42981 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42982 s,@SHELL@,$SHELL,;t t
42983 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42984 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42985 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42986 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42987 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42988 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42989 s,@exec_prefix@,$exec_prefix,;t t
42990 s,@prefix@,$prefix,;t t
42991 s,@program_transform_name@,$program_transform_name,;t t
42992 s,@bindir@,$bindir,;t t
42993 s,@sbindir@,$sbindir,;t t
42994 s,@libexecdir@,$libexecdir,;t t
42995 s,@datadir@,$datadir,;t t
42996 s,@sysconfdir@,$sysconfdir,;t t
42997 s,@sharedstatedir@,$sharedstatedir,;t t
42998 s,@localstatedir@,$localstatedir,;t t
42999 s,@libdir@,$libdir,;t t
43000 s,@includedir@,$includedir,;t t
43001 s,@oldincludedir@,$oldincludedir,;t t
43002 s,@infodir@,$infodir,;t t
43003 s,@mandir@,$mandir,;t t
43004 s,@build_alias@,$build_alias,;t t
43005 s,@host_alias@,$host_alias,;t t
43006 s,@target_alias@,$target_alias,;t t
43007 s,@DEFS@,$DEFS,;t t
43008 s,@ECHO_C@,$ECHO_C,;t t
43009 s,@ECHO_N@,$ECHO_N,;t t
43010 s,@ECHO_T@,$ECHO_T,;t t
43011 s,@LIBS@,$LIBS,;t t
43012 s,@build@,$build,;t t
43013 s,@build_cpu@,$build_cpu,;t t
43014 s,@build_vendor@,$build_vendor,;t t
43015 s,@build_os@,$build_os,;t t
43016 s,@host@,$host,;t t
43017 s,@host_cpu@,$host_cpu,;t t
43018 s,@host_vendor@,$host_vendor,;t t
43019 s,@host_os@,$host_os,;t t
43020 s,@target@,$target,;t t
43021 s,@target_cpu@,$target_cpu,;t t
43022 s,@target_vendor@,$target_vendor,;t t
43023 s,@target_os@,$target_os,;t t
43025 s,@CFLAGS@,$CFLAGS,;t t
43026 s,@LDFLAGS@,$LDFLAGS,;t t
43027 s,@CPPFLAGS@,$CPPFLAGS,;t t
43028 s,@ac_ct_CC@,$ac_ct_CC,;t t
43029 s,@EXEEXT@,$EXEEXT,;t t
43030 s,@OBJEXT@,$OBJEXT,;t t
43032 s,@EGREP@,$EGREP,;t t
43034 s,@CXXFLAGS@,$CXXFLAGS,;t t
43035 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
43036 s,@RANLIB@,$RANLIB,;t t
43037 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
43039 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
43040 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
43041 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
43042 s,@STRIP@,$STRIP,;t t
43043 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
43044 s,@LN_S@,$LN_S,;t t
43045 s,@CXXCPP@,$CXXCPP,;t t
43046 s,@subdirs@,$subdirs,;t t
43047 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
43048 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
43049 s,@GTK_LIBS@,$GTK_LIBS,;t t
43050 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
43051 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
43052 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
43053 s,@X_CFLAGS@,$X_CFLAGS,;t t
43054 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
43055 s,@X_LIBS@,$X_LIBS,;t t
43056 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
43057 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
43058 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
43059 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
43060 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
43061 s,@RESCOMP@,$RESCOMP,;t t
43062 s,@DEREZ@,$DEREZ,;t t
43063 s,@SETFILE@,$SETFILE,;t t
43064 s,@LIBICONV@,$LIBICONV,;t t
43065 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
43066 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
43067 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
43068 s,@SDL_LIBS@,$SDL_LIBS,;t t
43069 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
43070 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
43071 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
43072 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
43073 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
43074 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
43075 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
43076 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
43077 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
43078 s,@VENDOR@,$VENDOR,;t t
43079 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
43080 s,@WXUNIV@,$WXUNIV,;t t
43081 s,@MONOLITHIC@,$MONOLITHIC,;t t
43082 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
43083 s,@EXTRALIBS@,$EXTRALIBS,;t t
43084 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
43085 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
43086 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
43087 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
43088 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
43089 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
43090 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
43091 s,@UNICODE@,$UNICODE,;t t
43092 s,@BUILD@,$BUILD,;t t
43093 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
43094 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
43095 s,@SHARED@,$SHARED,;t t
43096 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
43097 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
43098 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
43099 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
43100 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
43101 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
43102 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
43103 s,@SET_MAKE@,$SET_MAKE,;t t
43104 s,@MAKE_SET@,$MAKE_SET,;t t
43105 s,@ac_ct_AR@,$ac_ct_AR,;t t
43106 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
43108 s,@ac_ct_NM@,$ac_ct_NM,;t t
43109 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
43110 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
43111 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
43112 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
43113 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
43114 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
43115 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
43116 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
43117 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
43118 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
43119 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
43120 s,@LIBPREFIX@,$LIBPREFIX,;t t
43121 s,@LIBEXT@,$LIBEXT,;t t
43122 s,@DLLPREFIX@,$DLLPREFIX,;t t
43123 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
43124 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
43125 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
43126 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
43127 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
43128 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
43129 s,@PIC_FLAG@,$PIC_FLAG,;t t
43130 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
43131 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
43132 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
43133 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
43134 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
43135 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
43136 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
43137 s,@GCC_PCH@,$GCC_PCH,;t t
43138 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
43139 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
43140 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
43141 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
43142 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
43143 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
43144 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
43145 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
43146 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
43147 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
43148 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
43149 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
43150 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
43151 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
43152 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
43153 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
43154 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
43155 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
43156 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
43157 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
43158 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
43159 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
43160 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
43161 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
43162 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
43163 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
43164 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
43165 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
43166 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
43167 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
43168 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
43169 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
43170 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
43171 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
43172 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
43173 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
43174 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
43175 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
43176 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
43177 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
43178 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
43179 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
43180 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
43181 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
43182 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
43183 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
43184 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
43185 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
43186 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
43187 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
43188 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
43189 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
43190 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
43191 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
43192 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
43193 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
43194 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
43195 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
43196 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
43197 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
43198 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
43199 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
43200 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
43201 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
43202 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
43203 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
43204 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
43205 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
43206 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
43207 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
43208 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
43209 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
43210 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
43211 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
43212 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
43213 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
43214 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
43215 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
43216 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
43217 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
43218 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
43219 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
43220 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
43221 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
43222 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
43223 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
43224 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
43225 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
43226 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
43227 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
43228 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
43229 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
43230 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
43231 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
43232 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
43233 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
43234 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
43235 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
43236 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
43237 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
43238 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
43239 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
43240 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
43241 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
43242 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
43243 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
43244 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
43245 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
43246 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
43247 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
43248 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
43249 s,@PATH_IFS@,$PATH_IFS,;t t
43250 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
43251 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
43252 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
43253 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
43254 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
43255 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
43256 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
43257 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
43258 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
43259 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
43260 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
43261 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
43262 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
43263 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
43264 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
43265 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
43266 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
43267 s,@WX_ALL@,$WX_ALL,;t t
43268 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
43269 s,@SHARED_LD@,$SHARED_LD,;t t
43270 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
43271 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
43272 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
43273 s,@USE_GUI@,$USE_GUI,;t t
43274 s,@AFMINSTALL@,$AFMINSTALL,;t t
43275 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
43276 s,@TOOLKIT@,$TOOLKIT,;t t
43277 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
43278 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
43279 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
43280 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
43281 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
43282 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
43283 s,@cross_compiling@,$cross_compiling,;t t
43284 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
43285 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
43286 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
43287 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
43288 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
43289 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
43290 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
43291 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
43292 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
43293 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
43294 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
43295 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
43296 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
43297 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
43298 s,@GUIDIST@,$GUIDIST,;t t
43299 s,@PORT_FILES@,$PORT_FILES,;t t
43300 s,@DISTDIR@,$DISTDIR,;t t
43301 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
43302 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
43303 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
43304 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
43305 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
43306 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
43307 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
43308 s,@RESFLAGS@,$RESFLAGS,;t t
43309 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
43310 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
43311 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
43312 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
43313 s,@MACRESCOMP@,$MACRESCOMP,;t t
43314 s,@MACSETFILE@,$MACSETFILE,;t t
43315 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
43317 s,@GCC_SEARCHES_USR_LOCAL_INCLUDE@,$GCC_SEARCHES_USR_LOCAL_INCLUDE,;t t
43318 s,@DLLTOOL@,$DLLTOOL,;t t
43321 s,@MAKEINFO@,$MAKEINFO,;t t
43322 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
43323 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
43324 s,@LIBOBJS@,$LIBOBJS,;t t
43325 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
43330 cat >>$CONFIG_STATUS <<\_ACEOF
43331 # Split the substitutions into bite-sized pieces for seds with
43332 # small command number limits, like on Digital OSF/1 and HP-UX.
43333 ac_max_sed_lines
=48
43334 ac_sed_frag
=1 # Number of current file.
43335 ac_beg
=1 # First line for current file.
43336 ac_end
=$ac_max_sed_lines # Line after last line for current file.
43339 while $ac_more_lines; do
43340 if test $ac_beg -gt 1; then
43341 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
43343 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
43345 if test ! -s $tmp/subs.frag
; then
43346 ac_more_lines
=false
43348 # The purpose of the label and of the branching condition is to
43349 # speed up the sed processing (if there are no `@' at all, there
43350 # is no need to browse any of the substitutions).
43351 # These are the two extra sed commands mentioned above.
43353 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
43354 if test -z "$ac_sed_cmds"; then
43355 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
43357 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
43359 ac_sed_frag
=`expr $ac_sed_frag + 1`
43361 ac_end
=`expr $ac_end + $ac_max_sed_lines`
43364 if test -z "$ac_sed_cmds"; then
43367 fi # test -n "$CONFIG_FILES"
43370 cat >>$CONFIG_STATUS <<\_ACEOF
43371 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
43372 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43374 - | *:- | *:-:* ) # input from stdin
43376 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43377 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43378 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43379 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43380 * ) ac_file_in
=$ac_file.
in ;;
43383 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
43384 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
43385 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43386 X"$ac_file" : 'X\(//\)[^/]' \| \
43387 X"$ac_file" : 'X\(//\)$' \| \
43388 X"$ac_file" : 'X\(/\)' \| \
43389 . : '\(.\)' 2>/dev/null ||
43391 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43392 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43393 /^X\(\/\/\)$/{ s//\1/; q; }
43394 /^X\(\/\).*/{ s//\1/; q; }
43396 { if $as_mkdir_p; then
43401 while test ! -d "$as_dir"; do
43402 as_dirs
="$as_dir $as_dirs"
43403 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43404 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43405 X"$as_dir" : 'X\(//\)[^/]' \| \
43406 X"$as_dir" : 'X\(//\)$' \| \
43407 X"$as_dir" : 'X\(/\)' \| \
43408 . : '\(.\)' 2>/dev/null ||
43410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43411 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43412 /^X\(\/\/\)$/{ s//\1/; q; }
43413 /^X\(\/\).*/{ s//\1/; q; }
43416 test ! -n "$as_dirs" || mkdir $as_dirs
43417 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43418 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43419 { (exit 1); exit 1; }; }; }
43423 if test "$ac_dir" != .
; then
43424 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43425 # A "../" for each directory in $ac_dir_suffix.
43426 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43428 ac_dir_suffix
= ac_top_builddir
=
43432 .
) # No --srcdir option. We are building in place.
43434 if test -z "$ac_top_builddir"; then
43437 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43439 [\\/]* | ?
:[\\/]* ) # Absolute path.
43440 ac_srcdir
=$srcdir$ac_dir_suffix;
43441 ac_top_srcdir
=$srcdir ;;
43442 *) # Relative path.
43443 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43444 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43447 # Do not use `cd foo && pwd` to compute absolute paths, because
43448 # the directories may not exist.
43450 .
) ac_abs_builddir
="$ac_dir";;
43453 .
) ac_abs_builddir
=`pwd`;;
43454 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43455 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43458 case $ac_abs_builddir in
43459 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43461 case ${ac_top_builddir}.
in
43462 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43463 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43464 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43467 case $ac_abs_builddir in
43468 .
) ac_abs_srcdir
=$ac_srcdir;;
43471 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43472 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43473 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43476 case $ac_abs_builddir in
43477 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43479 case $ac_top_srcdir in
43480 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43481 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43482 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43488 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
43489 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
43492 if test x
"$ac_file" != x
-; then
43493 { echo "$as_me:$LINENO: creating $ac_file" >&5
43494 echo "$as_me: creating $ac_file" >&6;}
43497 # Let's still pretend it is `configure' which instantiates (i.e., don't
43498 # use $as_me), people would be surprised to read:
43499 # /* config.h. Generated by config.status. */
43500 if test x
"$ac_file" = x
-; then
43503 configure_input
="$ac_file. "
43505 configure_input
=$configure_input"Generated from `echo $ac_file_in |
43506 sed 's,.*/,,'` by configure."
43508 # First look for the input files in the build tree, otherwise in the
43510 ac_file_inputs
=`IFS=:
43511 for f in $ac_file_in; do
43513 -) echo $tmp/stdin ;;
43515 # Absolute (can't be DOS-style, as IFS=:)
43516 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43517 echo "$as_me: error: cannot find input file: $f" >&2;}
43518 { (exit 1); exit 1; }; }
43521 if test -f "$f"; then
43524 elif test -f "$srcdir/$f"; then
43529 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43530 echo "$as_me: error: cannot find input file: $f" >&2;}
43531 { (exit 1); exit 1; }; }
43534 done` || { (exit 1); exit 1; }
43536 cat >>$CONFIG_STATUS <<_ACEOF
43540 cat >>$CONFIG_STATUS <<\_ACEOF
43542 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
43543 s
,@configure_input@
,$configure_input,;t t
43544 s
,@srcdir@
,$ac_srcdir,;t t
43545 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
43546 s
,@top_srcdir@
,$ac_top_srcdir,;t t
43547 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
43548 s
,@builddir@
,$ac_builddir,;t t
43549 s
,@abs_builddir@
,$ac_abs_builddir,;t t
43550 s
,@top_builddir@
,$ac_top_builddir,;t t
43551 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
43552 s
,@INSTALL@
,$ac_INSTALL,;t t
43553 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
43555 if test x"$ac_file" != x-; then
43556 mv $tmp/out $ac_file
43564 cat >>$CONFIG_STATUS <<\_ACEOF
43567 # CONFIG_HEADER section.
43570 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
43571 # NAME is the cpp macro being defined and VALUE is the value it is being given.
43573 # ac_d sets the value in "#define NAME VALUE" lines.
43574 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
43575 ac_dB
='[ ].*$,\1#\2'
43578 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
43579 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
43580 ac_uB
='$,\1#\2define\3'
43584 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
43585 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43587 - | *:- | *:-:* ) # input from stdin
43589 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43590 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43591 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43592 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43593 * ) ac_file_in
=$ac_file.
in ;;
43596 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
43597 echo "$as_me: creating $ac_file" >&6;}
43599 # First look for the input files in the build tree, otherwise in the
43601 ac_file_inputs
=`IFS=:
43602 for f in $ac_file_in; do
43604 -) echo $tmp/stdin ;;
43606 # Absolute (can't be DOS-style, as IFS=:)
43607 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43608 echo "$as_me: error: cannot find input file: $f" >&2;}
43609 { (exit 1); exit 1; }; }
43610 # Do quote $f, to prevent DOS paths from being IFS'd.
43613 if test -f "$f"; then
43616 elif test -f "$srcdir/$f"; then
43621 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43622 echo "$as_me: error: cannot find input file: $f" >&2;}
43623 { (exit 1); exit 1; }; }
43626 done` || { (exit 1); exit 1; }
43627 # Remove the trailing spaces.
43628 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
43632 # Transform confdefs.h into two sed scripts, `conftest.defines' and
43633 # `conftest.undefs', that substitutes the proper values into
43634 # config.h.in to produce config.h. The first handles `#define'
43635 # templates, and the second `#undef' templates.
43636 # And first: Protect against being on the right side of a sed subst in
43637 # config.status. Protect against being in an unquoted here document
43638 # in config.status.
43639 rm -f conftest.defines conftest.undefs
43640 # Using a here document instead of a string reduces the quoting nightmare.
43641 # Putting comments in sed scripts is not portable.
43643 # `end' is used to avoid that the second main sed command (meant for
43644 # 0-ary CPP macros) applies to n-ary macro definitions.
43645 # See the Autoconf documentation for `clear'.
43646 cat >confdef2sed.
sed <<\_ACEOF
43651 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
43653 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
43656 # If some macros were called several times there might be several times
43657 # the same #defines, which is useless. Nevertheless, we may not want to
43658 # sort them, since we want the *last* AC-DEFINE to be honored.
43659 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
43660 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
43661 rm -f confdef2sed.sed
43663 # This sed command replaces #undef with comments. This is necessary, for
43664 # example, in the case of _POSIX_SOURCE, which is predefined and required
43665 # on some systems where configure will not decide to define it.
43666 cat >>conftest.undefs <<\_ACEOF
43667 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
43670 # Break up conftest.defines because some shells have a limit on the size
43671 # of here documents, and old seds have small limits too (100 cmds).
43672 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
43673 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
43674 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
43675 echo ' :' >>$CONFIG_STATUS
43676 rm -f conftest.tail
43677 while grep . conftest.defines >/dev/null
43679 # Write a limited-size here document to $tmp/defines.sed.
43680 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
43681 # Speed up: don't consider the non `#define' lines.
43682 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
43683 # Work around the forget-to-reset-the-flag bug.
43684 echo 't clr' >>$CONFIG_STATUS
43685 echo ': clr' >>$CONFIG_STATUS
43686 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
43688 sed -f $tmp/defines.sed $tmp/in >$tmp/out
43690 mv $tmp/out $tmp/in
43692 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
43693 rm -f conftest.defines
43694 mv conftest.
tail conftest.defines
43696 rm -f conftest.defines
43697 echo ' fi # grep' >>$CONFIG_STATUS
43698 echo >>$CONFIG_STATUS
43700 # Break up conftest.undefs because some shells have a limit on the size
43701 # of here documents, and old seds have small limits too (100 cmds).
43702 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
43703 rm -f conftest.
tail
43704 while grep . conftest.undefs
>/dev
/null
43706 # Write a limited-size here document to $tmp/undefs.sed.
43707 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
43708 # Speed up: don't consider the non
`#undef'
43709 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
43710 # Work around the forget-to-reset-the-flag bug.
43711 echo 't clr' >>$CONFIG_STATUS
43712 echo ': clr' >>$CONFIG_STATUS
43713 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
43715 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
43717 mv $tmp/out $tmp/in
43719 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
43720 rm -f conftest.undefs
43721 mv conftest.tail conftest.undefs
43723 rm -f conftest.undefs
43725 cat >>$CONFIG_STATUS <<\_ACEOF
43726 # Let's still pretend it is `configure
' which instantiates (i.e., don't
43727 # use $as_me), people would be surprised to read:
43728 # /* config.h. Generated by config.status. */
43729 if test x
"$ac_file" = x
-; then
43730 echo "/* Generated by configure. */" >$tmp/config.h
43732 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
43734 cat $tmp/in >>$tmp/config.h
43736 if test x
"$ac_file" != x
-; then
43737 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
43738 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
43739 echo "$as_me: $ac_file is unchanged" >&6;}
43741 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
43742 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43743 X"$ac_file" : 'X\(//\)[^/]' \| \
43744 X"$ac_file" : 'X\(//\)$' \| \
43745 X"$ac_file" : 'X\(/\)' \| \
43746 . : '\(.\)' 2>/dev/null ||
43748 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43749 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43750 /^X\(\/\/\)$/{ s//\1/; q; }
43751 /^X\(\/\).*/{ s//\1/; q; }
43753 { if $as_mkdir_p; then
43758 while test ! -d "$as_dir"; do
43759 as_dirs
="$as_dir $as_dirs"
43760 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43761 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43762 X"$as_dir" : 'X\(//\)[^/]' \| \
43763 X"$as_dir" : 'X\(//\)$' \| \
43764 X"$as_dir" : 'X\(/\)' \| \
43765 . : '\(.\)' 2>/dev/null ||
43767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43768 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43769 /^X\(\/\/\)$/{ s//\1/; q; }
43770 /^X\(\/\).*/{ s//\1/; q; }
43773 test ! -n "$as_dirs" || mkdir $as_dirs
43774 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43775 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43776 { (exit 1); exit 1; }; }; }
43779 mv $tmp/config.h
$ac_file
43783 rm -f $tmp/config.h
43787 cat >>$CONFIG_STATUS <<\_ACEOF
43790 # CONFIG_COMMANDS section.
43792 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
43793 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
43794 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43795 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
43796 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43797 X"$ac_dest" : 'X\(//\)[^/]' \| \
43798 X"$ac_dest" : 'X\(//\)$' \| \
43799 X"$ac_dest" : 'X\(/\)' \| \
43800 . : '\(.\)' 2>/dev/null ||
43802 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43803 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43804 /^X\(\/\/\)$/{ s//\1/; q; }
43805 /^X\(\/\).*/{ s//\1/; q; }
43807 { if $as_mkdir_p; then
43812 while test ! -d "$as_dir"; do
43813 as_dirs
="$as_dir $as_dirs"
43814 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43815 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43816 X"$as_dir" : 'X\(//\)[^/]' \| \
43817 X"$as_dir" : 'X\(//\)$' \| \
43818 X"$as_dir" : 'X\(/\)' \| \
43819 . : '\(.\)' 2>/dev/null ||
43821 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43822 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43823 /^X\(\/\/\)$/{ s//\1/; q; }
43824 /^X\(\/\).*/{ s//\1/; q; }
43827 test ! -n "$as_dirs" || mkdir $as_dirs
43828 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43829 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43830 { (exit 1); exit 1; }; }; }
43834 if test "$ac_dir" != .
; then
43835 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43836 # A "../" for each directory in $ac_dir_suffix.
43837 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43839 ac_dir_suffix
= ac_top_builddir
=
43843 .
) # No --srcdir option. We are building in place.
43845 if test -z "$ac_top_builddir"; then
43848 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43850 [\\/]* | ?
:[\\/]* ) # Absolute path.
43851 ac_srcdir
=$srcdir$ac_dir_suffix;
43852 ac_top_srcdir
=$srcdir ;;
43853 *) # Relative path.
43854 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43855 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43858 # Do not use `cd foo && pwd` to compute absolute paths, because
43859 # the directories may not exist.
43861 .
) ac_abs_builddir
="$ac_dir";;
43864 .
) ac_abs_builddir
=`pwd`;;
43865 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43866 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43869 case $ac_abs_builddir in
43870 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43872 case ${ac_top_builddir}.
in
43873 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43874 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43875 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43878 case $ac_abs_builddir in
43879 .
) ac_abs_srcdir
=$ac_srcdir;;
43882 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43883 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43884 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43887 case $ac_abs_builddir in
43888 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43890 case $ac_top_srcdir in
43891 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43892 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43893 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43898 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43899 echo "$as_me: executing $ac_dest commands" >&6;}
43902 if test ! -h wx
-config; then
43904 mv wx
-config wx
${TOOLCHAIN_NAME}-config
43905 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
43908 if test ! -d lib
; then
43911 if test ! -d lib
/wx
; then
43914 if test ! -d lib
/wx
/include
; then
43915 mkdir lib
/wx
/include
43917 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
43918 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
43920 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
43921 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
43923 if test -f setup.h
; then
43924 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
43931 cat >>$CONFIG_STATUS <<\_ACEOF
43933 { (exit 0); exit 0; }
43935 chmod +x
$CONFIG_STATUS
43936 ac_clean_files
=$ac_clean_files_save
43939 # configure is writing to config.log, and then calls config.status.
43940 # config.status does its own redirection, appending to config.log.
43941 # Unfortunately, on DOS this fails, as config.log is still kept open
43942 # by configure, so config.status won't be able to write to it; its
43943 # output is simply discarded. So we exec the FD to /dev/null,
43944 # effectively closing config.log, so it can be properly (re)opened and
43945 # appended to by config.status. When coming back to configure, we
43946 # need to make the FD available again.
43947 if test "$no_create" != yes; then
43949 ac_config_status_args
=
43950 test "$silent" = yes &&
43951 ac_config_status_args
="$ac_config_status_args --quiet"
43953 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
43955 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43956 # would make configure fail if this is the last instruction.
43957 $ac_cs_success || { (exit 1); exit 1; }
43961 # CONFIG_SUBDIRS section.
43963 if test "$no_recursion" != yes; then
43965 # Remove --cache-file and --srcdir arguments so they do not pile up.
43966 ac_sub_configure_args
=
43968 for ac_arg
in $ac_configure_args; do
43969 if test -n "$ac_prev"; then
43974 -cache-file | --cache-file | --cache-fil | --cache-fi \
43975 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43976 ac_prev
=cache_file
;;
43977 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43978 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43981 --config-cache | -C)
43983 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43985 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43987 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43989 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43991 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
43995 # Always prepend --prefix to ensure using the same prefix
43996 # in subdir configurations.
43997 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
44000 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
44002 # Do not complain, so a configure script can configure whichever
44003 # parts of a large source tree are present.
44004 test -d $srcdir/$ac_dir || continue
44006 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
44007 echo "$as_me: configuring in $ac_dir" >&6;}
44008 { if $as_mkdir_p; then
44013 while test ! -d "$as_dir"; do
44014 as_dirs
="$as_dir $as_dirs"
44015 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44016 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44017 X"$as_dir" : 'X\(//\)[^/]' \| \
44018 X"$as_dir" : 'X\(//\)$' \| \
44019 X"$as_dir" : 'X\(/\)' \| \
44020 . : '\(.\)' 2>/dev/null ||
44022 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44023 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44024 /^X\(\/\/\)$/{ s//\1/; q; }
44025 /^X\(\/\).*/{ s//\1/; q; }
44028 test ! -n "$as_dirs" || mkdir $as_dirs
44029 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44030 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44031 { (exit 1); exit 1; }; }; }
44035 if test "$ac_dir" != .
; then
44036 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44037 # A "../" for each directory in $ac_dir_suffix.
44038 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44040 ac_dir_suffix
= ac_top_builddir
=
44044 .
) # No --srcdir option. We are building in place.
44046 if test -z "$ac_top_builddir"; then
44049 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
44051 [\\/]* | ?
:[\\/]* ) # Absolute path.
44052 ac_srcdir
=$srcdir$ac_dir_suffix;
44053 ac_top_srcdir
=$srcdir ;;
44054 *) # Relative path.
44055 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
44056 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
44059 # Do not use `cd foo && pwd` to compute absolute paths, because
44060 # the directories may not exist.
44062 .
) ac_abs_builddir
="$ac_dir";;
44065 .
) ac_abs_builddir
=`pwd`;;
44066 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
44067 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
44070 case $ac_abs_builddir in
44071 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44073 case ${ac_top_builddir}.
in
44074 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
44075 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44076 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
44079 case $ac_abs_builddir in
44080 .
) ac_abs_srcdir
=$ac_srcdir;;
44083 .
) ac_abs_srcdir
=$ac_abs_builddir;;
44084 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
44085 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
44088 case $ac_abs_builddir in
44089 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
44091 case $ac_top_srcdir in
44092 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
44093 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
44094 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
44101 # Check for guested configure; otherwise get Cygnus style configure.
44102 if test -f $ac_srcdir/configure.gnu
; then
44103 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
44104 elif test -f $ac_srcdir/configure
; then
44105 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
44106 elif test -f $ac_srcdir/configure.
in; then
44107 ac_sub_configure
=$ac_configure
44109 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
44110 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
44114 # The recursion is here.
44115 if test -n "$ac_sub_configure"; then
44116 # Make the cache file name correct relative to the subdirectory.
44117 case $cache_file in
44118 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
44119 *) # Relative path.
44120 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
44123 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
44124 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
44125 # The eval makes quoting arguments work.
44126 eval $ac_sub_configure $ac_sub_configure_args \
44127 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
44128 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
44129 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
44130 { (exit 1); exit 1; }; }
44139 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
44141 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_LOWERCASE:-base only}"
44142 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
44144 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
44145 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
44146 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
44148 echo " What level of wxWidgets compatibility should be enabled?"
44149 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
44150 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
44152 echo " Which libraries should wxWidgets use?"
44153 echo " jpeg ${wxUSE_LIBJPEG-none}"
44154 echo " png ${wxUSE_LIBPNG-none}"
44155 echo " regex ${wxUSE_REGEX}"
44156 echo " tiff ${wxUSE_LIBTIFF-none}"
44157 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
44158 echo " xpm ${wxUSE_LIBXPM-none}"
44160 echo " zlib ${wxUSE_ZLIB}"
44161 echo " odbc ${wxUSE_ODBC}"
44162 echo " expat ${wxUSE_EXPAT}"
44163 echo " libmspack ${wxUSE_LIBMSPACK}"
44164 echo " sdl ${wxUSE_LIBSDL}"