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_TOOLTIPS
=no
6961 DEFAULT_wxUSE_DRAGIMAGE
=no
6966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6967 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6969 # Check whether --enable-accel or --disable-accel was given.
6970 if test "${enable_accel+set}" = set; then
6971 enableval
="$enable_accel"
6973 if test "$enableval" = yes; then
6974 ac_cv_use_accel
='wxUSE_ACCEL=yes'
6976 ac_cv_use_accel
='wxUSE_ACCEL=no'
6981 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6982 if test "x$LINE" != x
; then
6983 eval "DEFAULT_$LINE"
6988 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6992 eval "$ac_cv_use_accel"
6993 if test "$no_cache" != 1; then
6994 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6997 if test "$wxUSE_ACCEL" = yes; then
6998 echo "$as_me:$LINENO: result: yes" >&5
6999 echo "${ECHO_T}yes" >&6
7001 echo "$as_me:$LINENO: result: no" >&5
7002 echo "${ECHO_T}no" >&6
7007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7008 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7010 # Check whether --enable-button or --disable-button was given.
7011 if test "${enable_button+set}" = set; then
7012 enableval
="$enable_button"
7014 if test "$enableval" = yes; then
7015 ac_cv_use_button
='wxUSE_BUTTON=yes'
7017 ac_cv_use_button
='wxUSE_BUTTON=no'
7022 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7023 if test "x$LINE" != x
; then
7024 eval "DEFAULT_$LINE"
7029 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7033 eval "$ac_cv_use_button"
7034 if test "$no_cache" != 1; then
7035 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7038 if test "$wxUSE_BUTTON" = yes; then
7039 echo "$as_me:$LINENO: result: yes" >&5
7040 echo "${ECHO_T}yes" >&6
7042 echo "$as_me:$LINENO: result: no" >&5
7043 echo "${ECHO_T}no" >&6
7048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7049 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7051 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7052 if test "${enable_bmpbutton+set}" = set; then
7053 enableval
="$enable_bmpbutton"
7055 if test "$enableval" = yes; then
7056 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7058 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7063 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7064 if test "x$LINE" != x
; then
7065 eval "DEFAULT_$LINE"
7070 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7074 eval "$ac_cv_use_bmpbutton"
7075 if test "$no_cache" != 1; then
7076 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7079 if test "$wxUSE_BMPBUTTON" = yes; then
7080 echo "$as_me:$LINENO: result: yes" >&5
7081 echo "${ECHO_T}yes" >&6
7083 echo "$as_me:$LINENO: result: no" >&5
7084 echo "${ECHO_T}no" >&6
7089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7090 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7092 # Check whether --enable-calendar or --disable-calendar was given.
7093 if test "${enable_calendar+set}" = set; then
7094 enableval
="$enable_calendar"
7096 if test "$enableval" = yes; then
7097 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7099 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7104 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7105 if test "x$LINE" != x
; then
7106 eval "DEFAULT_$LINE"
7111 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7115 eval "$ac_cv_use_calendar"
7116 if test "$no_cache" != 1; then
7117 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7120 if test "$wxUSE_CALCTRL" = yes; then
7121 echo "$as_me:$LINENO: result: yes" >&5
7122 echo "${ECHO_T}yes" >&6
7124 echo "$as_me:$LINENO: result: no" >&5
7125 echo "${ECHO_T}no" >&6
7130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7131 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7133 # Check whether --enable-caret or --disable-caret was given.
7134 if test "${enable_caret+set}" = set; then
7135 enableval
="$enable_caret"
7137 if test "$enableval" = yes; then
7138 ac_cv_use_caret
='wxUSE_CARET=yes'
7140 ac_cv_use_caret
='wxUSE_CARET=no'
7145 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x
; then
7147 eval "DEFAULT_$LINE"
7152 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7156 eval "$ac_cv_use_caret"
7157 if test "$no_cache" != 1; then
7158 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7161 if test "$wxUSE_CARET" = yes; then
7162 echo "$as_me:$LINENO: result: yes" >&5
7163 echo "${ECHO_T}yes" >&6
7165 echo "$as_me:$LINENO: result: no" >&5
7166 echo "${ECHO_T}no" >&6
7171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7172 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7174 # Check whether --enable-checkbox or --disable-checkbox was given.
7175 if test "${enable_checkbox+set}" = set; then
7176 enableval
="$enable_checkbox"
7178 if test "$enableval" = yes; then
7179 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7181 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7186 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7187 if test "x$LINE" != x
; then
7188 eval "DEFAULT_$LINE"
7193 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7197 eval "$ac_cv_use_checkbox"
7198 if test "$no_cache" != 1; then
7199 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7202 if test "$wxUSE_CHECKBOX" = yes; then
7203 echo "$as_me:$LINENO: result: yes" >&5
7204 echo "${ECHO_T}yes" >&6
7206 echo "$as_me:$LINENO: result: no" >&5
7207 echo "${ECHO_T}no" >&6
7212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7213 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7215 # Check whether --enable-checklst or --disable-checklst was given.
7216 if test "${enable_checklst+set}" = set; then
7217 enableval
="$enable_checklst"
7219 if test "$enableval" = yes; then
7220 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7222 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7227 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7228 if test "x$LINE" != x
; then
7229 eval "DEFAULT_$LINE"
7234 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7238 eval "$ac_cv_use_checklst"
7239 if test "$no_cache" != 1; then
7240 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7243 if test "$wxUSE_CHECKLST" = yes; then
7244 echo "$as_me:$LINENO: result: yes" >&5
7245 echo "${ECHO_T}yes" >&6
7247 echo "$as_me:$LINENO: result: no" >&5
7248 echo "${ECHO_T}no" >&6
7253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7254 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7256 # Check whether --enable-choice or --disable-choice was given.
7257 if test "${enable_choice+set}" = set; then
7258 enableval
="$enable_choice"
7260 if test "$enableval" = yes; then
7261 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7263 ac_cv_use_choice
='wxUSE_CHOICE=no'
7268 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7269 if test "x$LINE" != x
; then
7270 eval "DEFAULT_$LINE"
7275 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7279 eval "$ac_cv_use_choice"
7280 if test "$no_cache" != 1; then
7281 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7284 if test "$wxUSE_CHOICE" = yes; then
7285 echo "$as_me:$LINENO: result: yes" >&5
7286 echo "${ECHO_T}yes" >&6
7288 echo "$as_me:$LINENO: result: no" >&5
7289 echo "${ECHO_T}no" >&6
7294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7295 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7297 # Check whether --enable-combobox or --disable-combobox was given.
7298 if test "${enable_combobox+set}" = set; then
7299 enableval
="$enable_combobox"
7301 if test "$enableval" = yes; then
7302 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7304 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7309 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7310 if test "x$LINE" != x
; then
7311 eval "DEFAULT_$LINE"
7316 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7320 eval "$ac_cv_use_combobox"
7321 if test "$no_cache" != 1; then
7322 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7325 if test "$wxUSE_COMBOBOX" = yes; then
7326 echo "$as_me:$LINENO: result: yes" >&5
7327 echo "${ECHO_T}yes" >&6
7329 echo "$as_me:$LINENO: result: no" >&5
7330 echo "${ECHO_T}no" >&6
7335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7336 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7338 # Check whether --enable-display or --disable-display was given.
7339 if test "${enable_display+set}" = set; then
7340 enableval
="$enable_display"
7342 if test "$enableval" = yes; then
7343 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7345 ac_cv_use_display
='wxUSE_DISPLAY=no'
7350 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7351 if test "x$LINE" != x
; then
7352 eval "DEFAULT_$LINE"
7357 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7361 eval "$ac_cv_use_display"
7362 if test "$no_cache" != 1; then
7363 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7366 if test "$wxUSE_DISPLAY" = yes; then
7367 echo "$as_me:$LINENO: result: yes" >&5
7368 echo "${ECHO_T}yes" >&6
7370 echo "$as_me:$LINENO: result: no" >&5
7371 echo "${ECHO_T}no" >&6
7376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7377 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7379 # Check whether --enable-gauge or --disable-gauge was given.
7380 if test "${enable_gauge+set}" = set; then
7381 enableval
="$enable_gauge"
7383 if test "$enableval" = yes; then
7384 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7386 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7391 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7392 if test "x$LINE" != x
; then
7393 eval "DEFAULT_$LINE"
7398 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7402 eval "$ac_cv_use_gauge"
7403 if test "$no_cache" != 1; then
7404 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7407 if test "$wxUSE_GAUGE" = yes; then
7408 echo "$as_me:$LINENO: result: yes" >&5
7409 echo "${ECHO_T}yes" >&6
7411 echo "$as_me:$LINENO: result: no" >&5
7412 echo "${ECHO_T}no" >&6
7417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7418 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7420 # Check whether --enable-grid or --disable-grid was given.
7421 if test "${enable_grid+set}" = set; then
7422 enableval
="$enable_grid"
7424 if test "$enableval" = yes; then
7425 ac_cv_use_grid
='wxUSE_GRID=yes'
7427 ac_cv_use_grid
='wxUSE_GRID=no'
7432 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7433 if test "x$LINE" != x
; then
7434 eval "DEFAULT_$LINE"
7439 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7443 eval "$ac_cv_use_grid"
7444 if test "$no_cache" != 1; then
7445 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7448 if test "$wxUSE_GRID" = yes; then
7449 echo "$as_me:$LINENO: result: yes" >&5
7450 echo "${ECHO_T}yes" >&6
7452 echo "$as_me:$LINENO: result: no" >&5
7453 echo "${ECHO_T}no" >&6
7458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7459 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7461 # Check whether --enable-imaglist or --disable-imaglist was given.
7462 if test "${enable_imaglist+set}" = set; then
7463 enableval
="$enable_imaglist"
7465 if test "$enableval" = yes; then
7466 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7468 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7473 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7474 if test "x$LINE" != x
; then
7475 eval "DEFAULT_$LINE"
7480 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7484 eval "$ac_cv_use_imaglist"
7485 if test "$no_cache" != 1; then
7486 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7489 if test "$wxUSE_IMAGLIST" = yes; then
7490 echo "$as_me:$LINENO: result: yes" >&5
7491 echo "${ECHO_T}yes" >&6
7493 echo "$as_me:$LINENO: result: no" >&5
7494 echo "${ECHO_T}no" >&6
7499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7500 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7502 # Check whether --enable-listbook or --disable-listbook was given.
7503 if test "${enable_listbook+set}" = set; then
7504 enableval
="$enable_listbook"
7506 if test "$enableval" = yes; then
7507 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7509 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7514 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7515 if test "x$LINE" != x
; then
7516 eval "DEFAULT_$LINE"
7521 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7525 eval "$ac_cv_use_listbook"
7526 if test "$no_cache" != 1; then
7527 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7530 if test "$wxUSE_LISTBOOK" = yes; then
7531 echo "$as_me:$LINENO: result: yes" >&5
7532 echo "${ECHO_T}yes" >&6
7534 echo "$as_me:$LINENO: result: no" >&5
7535 echo "${ECHO_T}no" >&6
7540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7541 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7543 # Check whether --enable-listbox or --disable-listbox was given.
7544 if test "${enable_listbox+set}" = set; then
7545 enableval
="$enable_listbox"
7547 if test "$enableval" = yes; then
7548 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7550 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7555 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7556 if test "x$LINE" != x
; then
7557 eval "DEFAULT_$LINE"
7562 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7566 eval "$ac_cv_use_listbox"
7567 if test "$no_cache" != 1; then
7568 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7571 if test "$wxUSE_LISTBOX" = yes; then
7572 echo "$as_me:$LINENO: result: yes" >&5
7573 echo "${ECHO_T}yes" >&6
7575 echo "$as_me:$LINENO: result: no" >&5
7576 echo "${ECHO_T}no" >&6
7581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7582 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7584 # Check whether --enable-listctrl or --disable-listctrl was given.
7585 if test "${enable_listctrl+set}" = set; then
7586 enableval
="$enable_listctrl"
7588 if test "$enableval" = yes; then
7589 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7591 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7596 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7597 if test "x$LINE" != x
; then
7598 eval "DEFAULT_$LINE"
7603 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7607 eval "$ac_cv_use_listctrl"
7608 if test "$no_cache" != 1; then
7609 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7612 if test "$wxUSE_LISTCTRL" = yes; then
7613 echo "$as_me:$LINENO: result: yes" >&5
7614 echo "${ECHO_T}yes" >&6
7616 echo "$as_me:$LINENO: result: no" >&5
7617 echo "${ECHO_T}no" >&6
7622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7623 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7625 # Check whether --enable-notebook or --disable-notebook was given.
7626 if test "${enable_notebook+set}" = set; then
7627 enableval
="$enable_notebook"
7629 if test "$enableval" = yes; then
7630 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7632 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7637 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7638 if test "x$LINE" != x
; then
7639 eval "DEFAULT_$LINE"
7644 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7648 eval "$ac_cv_use_notebook"
7649 if test "$no_cache" != 1; then
7650 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7653 if test "$wxUSE_NOTEBOOK" = yes; then
7654 echo "$as_me:$LINENO: result: yes" >&5
7655 echo "${ECHO_T}yes" >&6
7657 echo "$as_me:$LINENO: result: no" >&5
7658 echo "${ECHO_T}no" >&6
7663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7664 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7666 # Check whether --enable-radiobox or --disable-radiobox was given.
7667 if test "${enable_radiobox+set}" = set; then
7668 enableval
="$enable_radiobox"
7670 if test "$enableval" = yes; then
7671 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7673 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7678 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7679 if test "x$LINE" != x
; then
7680 eval "DEFAULT_$LINE"
7685 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7689 eval "$ac_cv_use_radiobox"
7690 if test "$no_cache" != 1; then
7691 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7694 if test "$wxUSE_RADIOBOX" = yes; then
7695 echo "$as_me:$LINENO: result: yes" >&5
7696 echo "${ECHO_T}yes" >&6
7698 echo "$as_me:$LINENO: result: no" >&5
7699 echo "${ECHO_T}no" >&6
7704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7705 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7707 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7708 if test "${enable_radiobtn+set}" = set; then
7709 enableval
="$enable_radiobtn"
7711 if test "$enableval" = yes; then
7712 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7714 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7719 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7720 if test "x$LINE" != x
; then
7721 eval "DEFAULT_$LINE"
7726 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7730 eval "$ac_cv_use_radiobtn"
7731 if test "$no_cache" != 1; then
7732 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7735 if test "$wxUSE_RADIOBTN" = yes; then
7736 echo "$as_me:$LINENO: result: yes" >&5
7737 echo "${ECHO_T}yes" >&6
7739 echo "$as_me:$LINENO: result: no" >&5
7740 echo "${ECHO_T}no" >&6
7745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7746 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7748 # Check whether --enable-sash or --disable-sash was given.
7749 if test "${enable_sash+set}" = set; then
7750 enableval
="$enable_sash"
7752 if test "$enableval" = yes; then
7753 ac_cv_use_sash
='wxUSE_SASH=yes'
7755 ac_cv_use_sash
='wxUSE_SASH=no'
7760 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7761 if test "x$LINE" != x
; then
7762 eval "DEFAULT_$LINE"
7767 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7771 eval "$ac_cv_use_sash"
7772 if test "$no_cache" != 1; then
7773 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7776 if test "$wxUSE_SASH" = yes; then
7777 echo "$as_me:$LINENO: result: yes" >&5
7778 echo "${ECHO_T}yes" >&6
7780 echo "$as_me:$LINENO: result: no" >&5
7781 echo "${ECHO_T}no" >&6
7786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7787 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7789 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7790 if test "${enable_scrollbar+set}" = set; then
7791 enableval
="$enable_scrollbar"
7793 if test "$enableval" = yes; then
7794 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7796 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7801 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7802 if test "x$LINE" != x
; then
7803 eval "DEFAULT_$LINE"
7808 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7812 eval "$ac_cv_use_scrollbar"
7813 if test "$no_cache" != 1; then
7814 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7817 if test "$wxUSE_SCROLLBAR" = yes; then
7818 echo "$as_me:$LINENO: result: yes" >&5
7819 echo "${ECHO_T}yes" >&6
7821 echo "$as_me:$LINENO: result: no" >&5
7822 echo "${ECHO_T}no" >&6
7827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7828 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7830 # Check whether --enable-slider or --disable-slider was given.
7831 if test "${enable_slider+set}" = set; then
7832 enableval
="$enable_slider"
7834 if test "$enableval" = yes; then
7835 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7837 ac_cv_use_slider
='wxUSE_SLIDER=no'
7842 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7843 if test "x$LINE" != x
; then
7844 eval "DEFAULT_$LINE"
7849 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7853 eval "$ac_cv_use_slider"
7854 if test "$no_cache" != 1; then
7855 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7858 if test "$wxUSE_SLIDER" = yes; then
7859 echo "$as_me:$LINENO: result: yes" >&5
7860 echo "${ECHO_T}yes" >&6
7862 echo "$as_me:$LINENO: result: no" >&5
7863 echo "${ECHO_T}no" >&6
7868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7869 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7871 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7872 if test "${enable_spinbtn+set}" = set; then
7873 enableval
="$enable_spinbtn"
7875 if test "$enableval" = yes; then
7876 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7878 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7883 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7884 if test "x$LINE" != x
; then
7885 eval "DEFAULT_$LINE"
7890 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7894 eval "$ac_cv_use_spinbtn"
7895 if test "$no_cache" != 1; then
7896 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7899 if test "$wxUSE_SPINBTN" = yes; then
7900 echo "$as_me:$LINENO: result: yes" >&5
7901 echo "${ECHO_T}yes" >&6
7903 echo "$as_me:$LINENO: result: no" >&5
7904 echo "${ECHO_T}no" >&6
7909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7910 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7912 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7913 if test "${enable_spinctrl+set}" = set; then
7914 enableval
="$enable_spinctrl"
7916 if test "$enableval" = yes; then
7917 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
7919 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
7924 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7925 if test "x$LINE" != x
; then
7926 eval "DEFAULT_$LINE"
7931 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7935 eval "$ac_cv_use_spinctrl"
7936 if test "$no_cache" != 1; then
7937 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7940 if test "$wxUSE_SPINCTRL" = yes; then
7941 echo "$as_me:$LINENO: result: yes" >&5
7942 echo "${ECHO_T}yes" >&6
7944 echo "$as_me:$LINENO: result: no" >&5
7945 echo "${ECHO_T}no" >&6
7950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7951 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7953 # Check whether --enable-splitter or --disable-splitter was given.
7954 if test "${enable_splitter+set}" = set; then
7955 enableval
="$enable_splitter"
7957 if test "$enableval" = yes; then
7958 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
7960 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
7965 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7966 if test "x$LINE" != x
; then
7967 eval "DEFAULT_$LINE"
7972 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7976 eval "$ac_cv_use_splitter"
7977 if test "$no_cache" != 1; then
7978 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7981 if test "$wxUSE_SPLITTER" = yes; then
7982 echo "$as_me:$LINENO: result: yes" >&5
7983 echo "${ECHO_T}yes" >&6
7985 echo "$as_me:$LINENO: result: no" >&5
7986 echo "${ECHO_T}no" >&6
7991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7992 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7994 # Check whether --enable-statbmp or --disable-statbmp was given.
7995 if test "${enable_statbmp+set}" = set; then
7996 enableval
="$enable_statbmp"
7998 if test "$enableval" = yes; then
7999 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8001 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8006 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8007 if test "x$LINE" != x
; then
8008 eval "DEFAULT_$LINE"
8013 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8017 eval "$ac_cv_use_statbmp"
8018 if test "$no_cache" != 1; then
8019 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8022 if test "$wxUSE_STATBMP" = yes; then
8023 echo "$as_me:$LINENO: result: yes" >&5
8024 echo "${ECHO_T}yes" >&6
8026 echo "$as_me:$LINENO: result: no" >&5
8027 echo "${ECHO_T}no" >&6
8032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8033 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8035 # Check whether --enable-statbox or --disable-statbox was given.
8036 if test "${enable_statbox+set}" = set; then
8037 enableval
="$enable_statbox"
8039 if test "$enableval" = yes; then
8040 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8042 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8047 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8048 if test "x$LINE" != x
; then
8049 eval "DEFAULT_$LINE"
8054 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8058 eval "$ac_cv_use_statbox"
8059 if test "$no_cache" != 1; then
8060 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8063 if test "$wxUSE_STATBOX" = yes; then
8064 echo "$as_me:$LINENO: result: yes" >&5
8065 echo "${ECHO_T}yes" >&6
8067 echo "$as_me:$LINENO: result: no" >&5
8068 echo "${ECHO_T}no" >&6
8073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8074 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8076 # Check whether --enable-statline or --disable-statline was given.
8077 if test "${enable_statline+set}" = set; then
8078 enableval
="$enable_statline"
8080 if test "$enableval" = yes; then
8081 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8083 ac_cv_use_statline
='wxUSE_STATLINE=no'
8088 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8089 if test "x$LINE" != x
; then
8090 eval "DEFAULT_$LINE"
8095 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8099 eval "$ac_cv_use_statline"
8100 if test "$no_cache" != 1; then
8101 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8104 if test "$wxUSE_STATLINE" = yes; then
8105 echo "$as_me:$LINENO: result: yes" >&5
8106 echo "${ECHO_T}yes" >&6
8108 echo "$as_me:$LINENO: result: no" >&5
8109 echo "${ECHO_T}no" >&6
8114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8115 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8117 # Check whether --enable-stattext or --disable-stattext was given.
8118 if test "${enable_stattext+set}" = set; then
8119 enableval
="$enable_stattext"
8121 if test "$enableval" = yes; then
8122 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8124 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8129 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8130 if test "x$LINE" != x
; then
8131 eval "DEFAULT_$LINE"
8136 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8140 eval "$ac_cv_use_stattext"
8141 if test "$no_cache" != 1; then
8142 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8145 if test "$wxUSE_STATTEXT" = yes; then
8146 echo "$as_me:$LINENO: result: yes" >&5
8147 echo "${ECHO_T}yes" >&6
8149 echo "$as_me:$LINENO: result: no" >&5
8150 echo "${ECHO_T}no" >&6
8155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8156 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8158 # Check whether --enable-statusbar or --disable-statusbar was given.
8159 if test "${enable_statusbar+set}" = set; then
8160 enableval
="$enable_statusbar"
8162 if test "$enableval" = yes; then
8163 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8165 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8170 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8171 if test "x$LINE" != x
; then
8172 eval "DEFAULT_$LINE"
8177 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8181 eval "$ac_cv_use_statusbar"
8182 if test "$no_cache" != 1; then
8183 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8186 if test "$wxUSE_STATUSBAR" = yes; then
8187 echo "$as_me:$LINENO: result: yes" >&5
8188 echo "${ECHO_T}yes" >&6
8190 echo "$as_me:$LINENO: result: no" >&5
8191 echo "${ECHO_T}no" >&6
8196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8197 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8199 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8200 if test "${enable_tabdialog+set}" = set; then
8201 enableval
="$enable_tabdialog"
8203 if test "$enableval" = yes; then
8204 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8206 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8211 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8212 if test "x$LINE" != x
; then
8213 eval "DEFAULT_$LINE"
8218 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8222 eval "$ac_cv_use_tabdialog"
8223 if test "$no_cache" != 1; then
8224 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8227 if test "$wxUSE_TABDIALOG" = yes; then
8228 echo "$as_me:$LINENO: result: yes" >&5
8229 echo "${ECHO_T}yes" >&6
8231 echo "$as_me:$LINENO: result: no" >&5
8232 echo "${ECHO_T}no" >&6
8237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8238 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8240 # Check whether --enable-textctrl or --disable-textctrl was given.
8241 if test "${enable_textctrl+set}" = set; then
8242 enableval
="$enable_textctrl"
8244 if test "$enableval" = yes; then
8245 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8247 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8252 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8253 if test "x$LINE" != x
; then
8254 eval "DEFAULT_$LINE"
8259 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8263 eval "$ac_cv_use_textctrl"
8264 if test "$no_cache" != 1; then
8265 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8268 if test "$wxUSE_TEXTCTRL" = yes; then
8269 echo "$as_me:$LINENO: result: yes" >&5
8270 echo "${ECHO_T}yes" >&6
8272 echo "$as_me:$LINENO: result: no" >&5
8273 echo "${ECHO_T}no" >&6
8278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8279 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8281 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8282 if test "${enable_togglebtn+set}" = set; then
8283 enableval
="$enable_togglebtn"
8285 if test "$enableval" = yes; then
8286 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8288 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8293 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8294 if test "x$LINE" != x
; then
8295 eval "DEFAULT_$LINE"
8300 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8304 eval "$ac_cv_use_togglebtn"
8305 if test "$no_cache" != 1; then
8306 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8309 if test "$wxUSE_TOGGLEBTN" = yes; then
8310 echo "$as_me:$LINENO: result: yes" >&5
8311 echo "${ECHO_T}yes" >&6
8313 echo "$as_me:$LINENO: result: no" >&5
8314 echo "${ECHO_T}no" >&6
8319 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8320 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8322 # Check whether --enable-toolbar or --disable-toolbar was given.
8323 if test "${enable_toolbar+set}" = set; then
8324 enableval
="$enable_toolbar"
8326 if test "$enableval" = yes; then
8327 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8329 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8334 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8335 if test "x$LINE" != x
; then
8336 eval "DEFAULT_$LINE"
8341 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8345 eval "$ac_cv_use_toolbar"
8346 if test "$no_cache" != 1; then
8347 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8350 if test "$wxUSE_TOOLBAR" = yes; then
8351 echo "$as_me:$LINENO: result: yes" >&5
8352 echo "${ECHO_T}yes" >&6
8354 echo "$as_me:$LINENO: result: no" >&5
8355 echo "${ECHO_T}no" >&6
8360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8361 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8363 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8364 if test "${enable_tbarnative+set}" = set; then
8365 enableval
="$enable_tbarnative"
8367 if test "$enableval" = yes; then
8368 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8370 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8375 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8376 if test "x$LINE" != x
; then
8377 eval "DEFAULT_$LINE"
8382 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8386 eval "$ac_cv_use_tbarnative"
8387 if test "$no_cache" != 1; then
8388 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8391 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8392 echo "$as_me:$LINENO: result: yes" >&5
8393 echo "${ECHO_T}yes" >&6
8395 echo "$as_me:$LINENO: result: no" >&5
8396 echo "${ECHO_T}no" >&6
8401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8402 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8404 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8405 if test "${enable_tbarsmpl+set}" = set; then
8406 enableval
="$enable_tbarsmpl"
8408 if test "$enableval" = yes; then
8409 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8411 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8416 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8417 if test "x$LINE" != x
; then
8418 eval "DEFAULT_$LINE"
8423 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8427 eval "$ac_cv_use_tbarsmpl"
8428 if test "$no_cache" != 1; then
8429 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8432 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8433 echo "$as_me:$LINENO: result: yes" >&5
8434 echo "${ECHO_T}yes" >&6
8436 echo "$as_me:$LINENO: result: no" >&5
8437 echo "${ECHO_T}no" >&6
8442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8443 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8445 # Check whether --enable-treectrl or --disable-treectrl was given.
8446 if test "${enable_treectrl+set}" = set; then
8447 enableval
="$enable_treectrl"
8449 if test "$enableval" = yes; then
8450 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8452 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8457 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8458 if test "x$LINE" != x
; then
8459 eval "DEFAULT_$LINE"
8464 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8468 eval "$ac_cv_use_treectrl"
8469 if test "$no_cache" != 1; then
8470 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8473 if test "$wxUSE_TREECTRL" = yes; then
8474 echo "$as_me:$LINENO: result: yes" >&5
8475 echo "${ECHO_T}yes" >&6
8477 echo "$as_me:$LINENO: result: no" >&5
8478 echo "${ECHO_T}no" >&6
8483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8484 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8486 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8487 if test "${enable_tipwindow+set}" = set; then
8488 enableval
="$enable_tipwindow"
8490 if test "$enableval" = yes; then
8491 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8493 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8498 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8499 if test "x$LINE" != x
; then
8500 eval "DEFAULT_$LINE"
8505 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8509 eval "$ac_cv_use_tipwindow"
8510 if test "$no_cache" != 1; then
8511 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8514 if test "$wxUSE_TIPWINDOW" = yes; then
8515 echo "$as_me:$LINENO: result: yes" >&5
8516 echo "${ECHO_T}yes" >&6
8518 echo "$as_me:$LINENO: result: no" >&5
8519 echo "${ECHO_T}no" >&6
8524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8525 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8527 # Check whether --enable-popupwin or --disable-popupwin was given.
8528 if test "${enable_popupwin+set}" = set; then
8529 enableval
="$enable_popupwin"
8531 if test "$enableval" = yes; then
8532 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8534 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8539 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8540 if test "x$LINE" != x
; then
8541 eval "DEFAULT_$LINE"
8546 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8550 eval "$ac_cv_use_popupwin"
8551 if test "$no_cache" != 1; then
8552 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8555 if test "$wxUSE_POPUPWIN" = yes; then
8556 echo "$as_me:$LINENO: result: yes" >&5
8557 echo "${ECHO_T}yes" >&6
8559 echo "$as_me:$LINENO: result: no" >&5
8560 echo "${ECHO_T}no" >&6
8567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8568 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8570 # Check whether --enable-commondlg or --disable-commondlg was given.
8571 if test "${enable_commondlg+set}" = set; then
8572 enableval
="$enable_commondlg"
8574 if test "$enableval" = yes; then
8575 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8577 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8582 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8583 if test "x$LINE" != x
; then
8584 eval "DEFAULT_$LINE"
8589 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8593 eval "$ac_cv_use_commondlg"
8594 if test "$no_cache" != 1; then
8595 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8598 if test "$wxUSE_COMMONDLGS" = yes; then
8599 echo "$as_me:$LINENO: result: yes" >&5
8600 echo "${ECHO_T}yes" >&6
8602 echo "$as_me:$LINENO: result: no" >&5
8603 echo "${ECHO_T}no" >&6
8608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8609 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8611 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8612 if test "${enable_choicedlg+set}" = set; then
8613 enableval
="$enable_choicedlg"
8615 if test "$enableval" = yes; then
8616 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8618 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8623 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8624 if test "x$LINE" != x
; then
8625 eval "DEFAULT_$LINE"
8630 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8634 eval "$ac_cv_use_choicedlg"
8635 if test "$no_cache" != 1; then
8636 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8639 if test "$wxUSE_CHOICEDLG" = yes; then
8640 echo "$as_me:$LINENO: result: yes" >&5
8641 echo "${ECHO_T}yes" >&6
8643 echo "$as_me:$LINENO: result: no" >&5
8644 echo "${ECHO_T}no" >&6
8649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8650 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8652 # Check whether --enable-coldlg or --disable-coldlg was given.
8653 if test "${enable_coldlg+set}" = set; then
8654 enableval
="$enable_coldlg"
8656 if test "$enableval" = yes; then
8657 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8659 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8664 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8665 if test "x$LINE" != x
; then
8666 eval "DEFAULT_$LINE"
8671 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8675 eval "$ac_cv_use_coldlg"
8676 if test "$no_cache" != 1; then
8677 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8680 if test "$wxUSE_COLOURDLG" = yes; then
8681 echo "$as_me:$LINENO: result: yes" >&5
8682 echo "${ECHO_T}yes" >&6
8684 echo "$as_me:$LINENO: result: no" >&5
8685 echo "${ECHO_T}no" >&6
8690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8691 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8693 # Check whether --enable-filedlg or --disable-filedlg was given.
8694 if test "${enable_filedlg+set}" = set; then
8695 enableval
="$enable_filedlg"
8697 if test "$enableval" = yes; then
8698 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8700 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8705 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8706 if test "x$LINE" != x
; then
8707 eval "DEFAULT_$LINE"
8712 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8716 eval "$ac_cv_use_filedlg"
8717 if test "$no_cache" != 1; then
8718 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8721 if test "$wxUSE_FILEDLG" = yes; then
8722 echo "$as_me:$LINENO: result: yes" >&5
8723 echo "${ECHO_T}yes" >&6
8725 echo "$as_me:$LINENO: result: no" >&5
8726 echo "${ECHO_T}no" >&6
8731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8732 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8734 # Check whether --enable-finddlg or --disable-finddlg was given.
8735 if test "${enable_finddlg+set}" = set; then
8736 enableval
="$enable_finddlg"
8738 if test "$enableval" = yes; then
8739 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8741 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8746 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8747 if test "x$LINE" != x
; then
8748 eval "DEFAULT_$LINE"
8753 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8757 eval "$ac_cv_use_finddlg"
8758 if test "$no_cache" != 1; then
8759 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8762 if test "$wxUSE_FINDREPLDLG" = yes; then
8763 echo "$as_me:$LINENO: result: yes" >&5
8764 echo "${ECHO_T}yes" >&6
8766 echo "$as_me:$LINENO: result: no" >&5
8767 echo "${ECHO_T}no" >&6
8772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8773 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8775 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8776 if test "${enable_fontdlg+set}" = set; then
8777 enableval
="$enable_fontdlg"
8779 if test "$enableval" = yes; then
8780 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8782 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8787 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8788 if test "x$LINE" != x
; then
8789 eval "DEFAULT_$LINE"
8794 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8798 eval "$ac_cv_use_fontdlg"
8799 if test "$no_cache" != 1; then
8800 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8803 if test "$wxUSE_FONTDLG" = yes; then
8804 echo "$as_me:$LINENO: result: yes" >&5
8805 echo "${ECHO_T}yes" >&6
8807 echo "$as_me:$LINENO: result: no" >&5
8808 echo "${ECHO_T}no" >&6
8813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8814 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8816 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8817 if test "${enable_dirdlg+set}" = set; then
8818 enableval
="$enable_dirdlg"
8820 if test "$enableval" = yes; then
8821 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8823 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8828 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8829 if test "x$LINE" != x
; then
8830 eval "DEFAULT_$LINE"
8835 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8839 eval "$ac_cv_use_dirdlg"
8840 if test "$no_cache" != 1; then
8841 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8844 if test "$wxUSE_DIRDLG" = yes; then
8845 echo "$as_me:$LINENO: result: yes" >&5
8846 echo "${ECHO_T}yes" >&6
8848 echo "$as_me:$LINENO: result: no" >&5
8849 echo "${ECHO_T}no" >&6
8854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8855 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8857 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8858 if test "${enable_msgdlg+set}" = set; then
8859 enableval
="$enable_msgdlg"
8861 if test "$enableval" = yes; then
8862 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8864 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8869 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8870 if test "x$LINE" != x
; then
8871 eval "DEFAULT_$LINE"
8876 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8880 eval "$ac_cv_use_msgdlg"
8881 if test "$no_cache" != 1; then
8882 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8885 if test "$wxUSE_MSGDLG" = yes; then
8886 echo "$as_me:$LINENO: result: yes" >&5
8887 echo "${ECHO_T}yes" >&6
8889 echo "$as_me:$LINENO: result: no" >&5
8890 echo "${ECHO_T}no" >&6
8895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8896 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8898 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8899 if test "${enable_numberdlg+set}" = set; then
8900 enableval
="$enable_numberdlg"
8902 if test "$enableval" = yes; then
8903 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
8905 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
8910 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8911 if test "x$LINE" != x
; then
8912 eval "DEFAULT_$LINE"
8917 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8921 eval "$ac_cv_use_numberdlg"
8922 if test "$no_cache" != 1; then
8923 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8926 if test "$wxUSE_NUMBERDLG" = yes; then
8927 echo "$as_me:$LINENO: result: yes" >&5
8928 echo "${ECHO_T}yes" >&6
8930 echo "$as_me:$LINENO: result: no" >&5
8931 echo "${ECHO_T}no" >&6
8936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8937 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8939 # Check whether --enable-splash or --disable-splash was given.
8940 if test "${enable_splash+set}" = set; then
8941 enableval
="$enable_splash"
8943 if test "$enableval" = yes; then
8944 ac_cv_use_splash
='wxUSE_SPLASH=yes'
8946 ac_cv_use_splash
='wxUSE_SPLASH=no'
8951 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8952 if test "x$LINE" != x
; then
8953 eval "DEFAULT_$LINE"
8958 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8962 eval "$ac_cv_use_splash"
8963 if test "$no_cache" != 1; then
8964 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8967 if test "$wxUSE_SPLASH" = yes; then
8968 echo "$as_me:$LINENO: result: yes" >&5
8969 echo "${ECHO_T}yes" >&6
8971 echo "$as_me:$LINENO: result: no" >&5
8972 echo "${ECHO_T}no" >&6
8977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8978 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8980 # Check whether --enable-textdlg or --disable-textdlg was given.
8981 if test "${enable_textdlg+set}" = set; then
8982 enableval
="$enable_textdlg"
8984 if test "$enableval" = yes; then
8985 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
8987 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
8992 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8993 if test "x$LINE" != x
; then
8994 eval "DEFAULT_$LINE"
8999 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9003 eval "$ac_cv_use_textdlg"
9004 if test "$no_cache" != 1; then
9005 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9008 if test "$wxUSE_TEXTDLG" = yes; then
9009 echo "$as_me:$LINENO: result: yes" >&5
9010 echo "${ECHO_T}yes" >&6
9012 echo "$as_me:$LINENO: result: no" >&5
9013 echo "${ECHO_T}no" >&6
9018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9019 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9021 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9022 if test "${enable_tipdlg+set}" = set; then
9023 enableval
="$enable_tipdlg"
9025 if test "$enableval" = yes; then
9026 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9028 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9033 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9034 if test "x$LINE" != x
; then
9035 eval "DEFAULT_$LINE"
9040 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9044 eval "$ac_cv_use_tipdlg"
9045 if test "$no_cache" != 1; then
9046 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9049 if test "$wxUSE_STARTUP_TIPS" = yes; then
9050 echo "$as_me:$LINENO: result: yes" >&5
9051 echo "${ECHO_T}yes" >&6
9053 echo "$as_me:$LINENO: result: no" >&5
9054 echo "${ECHO_T}no" >&6
9059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9060 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9062 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9063 if test "${enable_progressdlg+set}" = set; then
9064 enableval
="$enable_progressdlg"
9066 if test "$enableval" = yes; then
9067 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9069 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9074 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9075 if test "x$LINE" != x
; then
9076 eval "DEFAULT_$LINE"
9081 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9085 eval "$ac_cv_use_progressdlg"
9086 if test "$no_cache" != 1; then
9087 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9090 if test "$wxUSE_PROGRESSDLG" = yes; then
9091 echo "$as_me:$LINENO: result: yes" >&5
9092 echo "${ECHO_T}yes" >&6
9094 echo "$as_me:$LINENO: result: no" >&5
9095 echo "${ECHO_T}no" >&6
9100 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9101 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9103 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9104 if test "${enable_wizarddlg+set}" = set; then
9105 enableval
="$enable_wizarddlg"
9107 if test "$enableval" = yes; then
9108 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9110 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9115 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9116 if test "x$LINE" != x
; then
9117 eval "DEFAULT_$LINE"
9122 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9126 eval "$ac_cv_use_wizarddlg"
9127 if test "$no_cache" != 1; then
9128 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9131 if test "$wxUSE_WIZARDDLG" = yes; then
9132 echo "$as_me:$LINENO: result: yes" >&5
9133 echo "${ECHO_T}yes" >&6
9135 echo "$as_me:$LINENO: result: no" >&5
9136 echo "${ECHO_T}no" >&6
9143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9144 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9146 # Check whether --enable-menus or --disable-menus was given.
9147 if test "${enable_menus+set}" = set; then
9148 enableval
="$enable_menus"
9150 if test "$enableval" = yes; then
9151 ac_cv_use_menus
='wxUSE_MENUS=yes'
9153 ac_cv_use_menus
='wxUSE_MENUS=no'
9158 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9159 if test "x$LINE" != x
; then
9160 eval "DEFAULT_$LINE"
9165 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9169 eval "$ac_cv_use_menus"
9170 if test "$no_cache" != 1; then
9171 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9174 if test "$wxUSE_MENUS" = yes; then
9175 echo "$as_me:$LINENO: result: yes" >&5
9176 echo "${ECHO_T}yes" >&6
9178 echo "$as_me:$LINENO: result: no" >&5
9179 echo "${ECHO_T}no" >&6
9184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9185 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9187 # Check whether --enable-miniframe or --disable-miniframe was given.
9188 if test "${enable_miniframe+set}" = set; then
9189 enableval
="$enable_miniframe"
9191 if test "$enableval" = yes; then
9192 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9194 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9199 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9200 if test "x$LINE" != x
; then
9201 eval "DEFAULT_$LINE"
9206 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9210 eval "$ac_cv_use_miniframe"
9211 if test "$no_cache" != 1; then
9212 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9215 if test "$wxUSE_MINIFRAME" = yes; then
9216 echo "$as_me:$LINENO: result: yes" >&5
9217 echo "${ECHO_T}yes" >&6
9219 echo "$as_me:$LINENO: result: no" >&5
9220 echo "${ECHO_T}no" >&6
9225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9226 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9228 # Check whether --enable-tooltips or --disable-tooltips was given.
9229 if test "${enable_tooltips+set}" = set; then
9230 enableval
="$enable_tooltips"
9232 if test "$enableval" = yes; then
9233 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9235 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9240 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9241 if test "x$LINE" != x
; then
9242 eval "DEFAULT_$LINE"
9247 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9251 eval "$ac_cv_use_tooltips"
9252 if test "$no_cache" != 1; then
9253 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9256 if test "$wxUSE_TOOLTIPS" = yes; then
9257 echo "$as_me:$LINENO: result: yes" >&5
9258 echo "${ECHO_T}yes" >&6
9260 echo "$as_me:$LINENO: result: no" >&5
9261 echo "${ECHO_T}no" >&6
9266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9267 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9269 # Check whether --enable-splines or --disable-splines was given.
9270 if test "${enable_splines+set}" = set; then
9271 enableval
="$enable_splines"
9273 if test "$enableval" = yes; then
9274 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9276 ac_cv_use_splines
='wxUSE_SPLINES=no'
9281 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9282 if test "x$LINE" != x
; then
9283 eval "DEFAULT_$LINE"
9288 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9292 eval "$ac_cv_use_splines"
9293 if test "$no_cache" != 1; then
9294 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9297 if test "$wxUSE_SPLINES" = yes; then
9298 echo "$as_me:$LINENO: result: yes" >&5
9299 echo "${ECHO_T}yes" >&6
9301 echo "$as_me:$LINENO: result: no" >&5
9302 echo "${ECHO_T}no" >&6
9307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9308 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9310 # Check whether --enable-validators or --disable-validators was given.
9311 if test "${enable_validators+set}" = set; then
9312 enableval
="$enable_validators"
9314 if test "$enableval" = yes; then
9315 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9317 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9322 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9323 if test "x$LINE" != x
; then
9324 eval "DEFAULT_$LINE"
9329 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9333 eval "$ac_cv_use_validators"
9334 if test "$no_cache" != 1; then
9335 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9338 if test "$wxUSE_VALIDATORS" = yes; then
9339 echo "$as_me:$LINENO: result: yes" >&5
9340 echo "${ECHO_T}yes" >&6
9342 echo "$as_me:$LINENO: result: no" >&5
9343 echo "${ECHO_T}no" >&6
9348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9349 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9351 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9352 if test "${enable_busyinfo+set}" = set; then
9353 enableval
="$enable_busyinfo"
9355 if test "$enableval" = yes; then
9356 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9358 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9363 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9364 if test "x$LINE" != x
; then
9365 eval "DEFAULT_$LINE"
9370 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9374 eval "$ac_cv_use_busyinfo"
9375 if test "$no_cache" != 1; then
9376 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9379 if test "$wxUSE_BUSYINFO" = yes; then
9380 echo "$as_me:$LINENO: result: yes" >&5
9381 echo "${ECHO_T}yes" >&6
9383 echo "$as_me:$LINENO: result: no" >&5
9384 echo "${ECHO_T}no" >&6
9389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9390 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9392 # Check whether --enable-joystick or --disable-joystick was given.
9393 if test "${enable_joystick+set}" = set; then
9394 enableval
="$enable_joystick"
9396 if test "$enableval" = yes; then
9397 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9399 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9404 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9405 if test "x$LINE" != x
; then
9406 eval "DEFAULT_$LINE"
9411 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9415 eval "$ac_cv_use_joystick"
9416 if test "$no_cache" != 1; then
9417 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9420 if test "$wxUSE_JOYSTICK" = yes; then
9421 echo "$as_me:$LINENO: result: yes" >&5
9422 echo "${ECHO_T}yes" >&6
9424 echo "$as_me:$LINENO: result: no" >&5
9425 echo "${ECHO_T}no" >&6
9430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9431 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9433 # Check whether --enable-metafile or --disable-metafile was given.
9434 if test "${enable_metafile+set}" = set; then
9435 enableval
="$enable_metafile"
9437 if test "$enableval" = yes; then
9438 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9440 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9445 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9446 if test "x$LINE" != x
; then
9447 eval "DEFAULT_$LINE"
9452 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9456 eval "$ac_cv_use_metafile"
9457 if test "$no_cache" != 1; then
9458 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9461 if test "$wxUSE_METAFILE" = yes; then
9462 echo "$as_me:$LINENO: result: yes" >&5
9463 echo "${ECHO_T}yes" >&6
9465 echo "$as_me:$LINENO: result: no" >&5
9466 echo "${ECHO_T}no" >&6
9471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9472 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9474 # Check whether --enable-dragimage or --disable-dragimage was given.
9475 if test "${enable_dragimage+set}" = set; then
9476 enableval
="$enable_dragimage"
9478 if test "$enableval" = yes; then
9479 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9481 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9486 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9487 if test "x$LINE" != x
; then
9488 eval "DEFAULT_$LINE"
9493 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9497 eval "$ac_cv_use_dragimage"
9498 if test "$no_cache" != 1; then
9499 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9502 if test "$wxUSE_DRAGIMAGE" = yes; then
9503 echo "$as_me:$LINENO: result: yes" >&5
9504 echo "${ECHO_T}yes" >&6
9506 echo "$as_me:$LINENO: result: no" >&5
9507 echo "${ECHO_T}no" >&6
9512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9513 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9515 # Check whether --enable-accessibility or --disable-accessibility was given.
9516 if test "${enable_accessibility+set}" = set; then
9517 enableval
="$enable_accessibility"
9519 if test "$enableval" = yes; then
9520 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9522 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9527 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9528 if test "x$LINE" != x
; then
9529 eval "DEFAULT_$LINE"
9534 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9538 eval "$ac_cv_use_accessibility"
9539 if test "$no_cache" != 1; then
9540 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9543 if test "$wxUSE_ACCESSIBILITY" = yes; then
9544 echo "$as_me:$LINENO: result: yes" >&5
9545 echo "${ECHO_T}yes" >&6
9547 echo "$as_me:$LINENO: result: no" >&5
9548 echo "${ECHO_T}no" >&6
9555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9556 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9558 # Check whether --enable-palette or --disable-palette was given.
9559 if test "${enable_palette+set}" = set; then
9560 enableval
="$enable_palette"
9562 if test "$enableval" = yes; then
9563 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9565 ac_cv_use_palette
='wxUSE_PALETTE=no'
9570 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9571 if test "x$LINE" != x
; then
9572 eval "DEFAULT_$LINE"
9577 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9581 eval "$ac_cv_use_palette"
9582 if test "$no_cache" != 1; then
9583 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9586 if test "$wxUSE_PALETTE" = yes; then
9587 echo "$as_me:$LINENO: result: yes" >&5
9588 echo "${ECHO_T}yes" >&6
9590 echo "$as_me:$LINENO: result: no" >&5
9591 echo "${ECHO_T}no" >&6
9596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9597 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9599 # Check whether --enable-image or --disable-image was given.
9600 if test "${enable_image+set}" = set; then
9601 enableval
="$enable_image"
9603 if test "$enableval" = yes; then
9604 ac_cv_use_image
='wxUSE_IMAGE=yes'
9606 ac_cv_use_image
='wxUSE_IMAGE=no'
9611 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9612 if test "x$LINE" != x
; then
9613 eval "DEFAULT_$LINE"
9618 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9622 eval "$ac_cv_use_image"
9623 if test "$no_cache" != 1; then
9624 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9627 if test "$wxUSE_IMAGE" = yes; then
9628 echo "$as_me:$LINENO: result: yes" >&5
9629 echo "${ECHO_T}yes" >&6
9631 echo "$as_me:$LINENO: result: no" >&5
9632 echo "${ECHO_T}no" >&6
9637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9638 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9640 # Check whether --enable-gif or --disable-gif was given.
9641 if test "${enable_gif+set}" = set; then
9642 enableval
="$enable_gif"
9644 if test "$enableval" = yes; then
9645 ac_cv_use_gif
='wxUSE_GIF=yes'
9647 ac_cv_use_gif
='wxUSE_GIF=no'
9652 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9653 if test "x$LINE" != x
; then
9654 eval "DEFAULT_$LINE"
9659 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9663 eval "$ac_cv_use_gif"
9664 if test "$no_cache" != 1; then
9665 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9668 if test "$wxUSE_GIF" = yes; then
9669 echo "$as_me:$LINENO: result: yes" >&5
9670 echo "${ECHO_T}yes" >&6
9672 echo "$as_me:$LINENO: result: no" >&5
9673 echo "${ECHO_T}no" >&6
9678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9679 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9681 # Check whether --enable-pcx or --disable-pcx was given.
9682 if test "${enable_pcx+set}" = set; then
9683 enableval
="$enable_pcx"
9685 if test "$enableval" = yes; then
9686 ac_cv_use_pcx
='wxUSE_PCX=yes'
9688 ac_cv_use_pcx
='wxUSE_PCX=no'
9693 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9694 if test "x$LINE" != x
; then
9695 eval "DEFAULT_$LINE"
9700 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9704 eval "$ac_cv_use_pcx"
9705 if test "$no_cache" != 1; then
9706 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9709 if test "$wxUSE_PCX" = yes; then
9710 echo "$as_me:$LINENO: result: yes" >&5
9711 echo "${ECHO_T}yes" >&6
9713 echo "$as_me:$LINENO: result: no" >&5
9714 echo "${ECHO_T}no" >&6
9719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9720 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9722 # Check whether --enable-iff or --disable-iff was given.
9723 if test "${enable_iff+set}" = set; then
9724 enableval
="$enable_iff"
9726 if test "$enableval" = yes; then
9727 ac_cv_use_iff
='wxUSE_IFF=yes'
9729 ac_cv_use_iff
='wxUSE_IFF=no'
9734 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9735 if test "x$LINE" != x
; then
9736 eval "DEFAULT_$LINE"
9741 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9745 eval "$ac_cv_use_iff"
9746 if test "$no_cache" != 1; then
9747 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9750 if test "$wxUSE_IFF" = yes; then
9751 echo "$as_me:$LINENO: result: yes" >&5
9752 echo "${ECHO_T}yes" >&6
9754 echo "$as_me:$LINENO: result: no" >&5
9755 echo "${ECHO_T}no" >&6
9760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9761 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9763 # Check whether --enable-pnm or --disable-pnm was given.
9764 if test "${enable_pnm+set}" = set; then
9765 enableval
="$enable_pnm"
9767 if test "$enableval" = yes; then
9768 ac_cv_use_pnm
='wxUSE_PNM=yes'
9770 ac_cv_use_pnm
='wxUSE_PNM=no'
9775 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9776 if test "x$LINE" != x
; then
9777 eval "DEFAULT_$LINE"
9782 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9786 eval "$ac_cv_use_pnm"
9787 if test "$no_cache" != 1; then
9788 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9791 if test "$wxUSE_PNM" = yes; then
9792 echo "$as_me:$LINENO: result: yes" >&5
9793 echo "${ECHO_T}yes" >&6
9795 echo "$as_me:$LINENO: result: no" >&5
9796 echo "${ECHO_T}no" >&6
9801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9802 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9804 # Check whether --enable-xpm or --disable-xpm was given.
9805 if test "${enable_xpm+set}" = set; then
9806 enableval
="$enable_xpm"
9808 if test "$enableval" = yes; then
9809 ac_cv_use_xpm
='wxUSE_XPM=yes'
9811 ac_cv_use_xpm
='wxUSE_XPM=no'
9816 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9817 if test "x$LINE" != x
; then
9818 eval "DEFAULT_$LINE"
9823 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9827 eval "$ac_cv_use_xpm"
9828 if test "$no_cache" != 1; then
9829 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9832 if test "$wxUSE_XPM" = yes; then
9833 echo "$as_me:$LINENO: result: yes" >&5
9834 echo "${ECHO_T}yes" >&6
9836 echo "$as_me:$LINENO: result: no" >&5
9837 echo "${ECHO_T}no" >&6
9842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9843 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9845 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9846 if test "${enable_ico_cur+set}" = set; then
9847 enableval
="$enable_ico_cur"
9849 if test "$enableval" = yes; then
9850 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9852 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9857 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9858 if test "x$LINE" != x
; then
9859 eval "DEFAULT_$LINE"
9864 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9868 eval "$ac_cv_use_ico_cur"
9869 if test "$no_cache" != 1; then
9870 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9873 if test "$wxUSE_ICO_CUR" = yes; then
9874 echo "$as_me:$LINENO: result: yes" >&5
9875 echo "${ECHO_T}yes" >&6
9877 echo "$as_me:$LINENO: result: no" >&5
9878 echo "${ECHO_T}no" >&6
9887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9888 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9890 # Check whether --enable-official_build or --disable-official_build was given.
9891 if test "${enable_official_build+set}" = set; then
9892 enableval
="$enable_official_build"
9894 if test "$enableval" = yes; then
9895 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
9897 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
9902 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9903 if test "x$LINE" != x
; then
9904 eval "DEFAULT_$LINE"
9909 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9913 eval "$ac_cv_use_official_build"
9914 if test "$no_cache" != 1; then
9915 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9918 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9919 echo "$as_me:$LINENO: result: yes" >&5
9920 echo "${ECHO_T}yes" >&6
9922 echo "$as_me:$LINENO: result: no" >&5
9923 echo "${ECHO_T}no" >&6
9926 # Check whether --enable-vendor or --disable-vendor was given.
9927 if test "${enable_vendor+set}" = set; then
9928 enableval
="$enable_vendor"
9931 if test "x$VENDOR" = "x"; then
9936 *-pc-os2_emx | *-pc-os2-emx )
9946 echo "saving argument cache $wx_arg_cache_file"
9947 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
9951 echo "$as_me:$LINENO: checking for toolkit" >&5
9952 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9954 # In Wine, we need to default to MSW, not GTK or MOTIF
9955 if test "$wxUSE_WINE" = "yes"; then
9956 DEFAULT_DEFAULT_wxUSE_GTK
=0
9957 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
9958 DEFAULT_DEFAULT_wxUSE_MSW
=1
9962 if test "$wxUSE_GUI" = "yes"; then
9964 if test "$USE_BEOS" = 1; then
9965 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9966 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9967 { (exit 1); exit 1; }; }
9970 if test "$TOOLKIT_GIVEN" = 1; then
9971 for toolkit
in `echo $ALL_TOOLKITS`; do
9973 eval "value=\$${var}"
9974 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
9977 for toolkit
in `echo $ALL_TOOLKITS`; do
9978 if test "$has_toolkit_in_cache" != 1; then
9979 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
9981 var
=DEFAULT_wxUSE_
$toolkit
9983 eval "wxUSE_$toolkit=\$${var}"
9987 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9988 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9989 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9992 *-pc-os2_emx | *-pc-os2-emx )
9993 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9996 case "$NUM_TOOLKITS" in
10000 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10001 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10002 { (exit 1); exit 1; }; }
10005 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10006 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10007 { (exit 1); exit 1; }; }
10010 for toolkit
in `echo $ALL_TOOLKITS`; do
10012 eval "value=\$${var}"
10013 if test "x$value" != x
; then
10014 cache_var
=CACHE_
$toolkit
10015 eval "cache=\$${cache_var}"
10016 if test "$cache" = 1; then
10017 echo "$var=$value" >> ${wx_arg_cache_file}
10019 if test "$value" = 1; then
10020 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10021 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10022 echo "${ECHO_T}$toolkit_echo" >&6
10027 if test "x$host_alias" != "x"; then
10028 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10029 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10031 echo "$as_me:$LINENO: result: base only" >&5
10032 echo "${ECHO_T}base only" >&6
10037 doesnt_want_win32
=0
10040 if test "$wxUSE_MSW" = 1 ; then
10043 doesnt_want_win32
=1
10051 if test "$wxUSE_WINE" = "yes"; then
10056 LDFLAGS_GUI
="-mwindows"
10059 if test "$wants_win32" = 1 ; then
10062 cat >>confdefs.h
<<\_ACEOF
10063 #define __WIN32__ 1
10066 cat >>confdefs.h
<<\_ACEOF
10067 #define __WIN95__ 1
10070 cat >>confdefs.h
<<\_ACEOF
10071 #define __WINDOWS__ 1
10074 cat >>confdefs.h
<<\_ACEOF
10075 #define __GNUWIN32__ 1
10078 cat >>confdefs.h
<<\_ACEOF
10082 cat >>confdefs.h
<<\_ACEOF
10083 #define WINVER 0x0400
10087 if test "$doesnt_want_win32" = 1 ; then
10092 if test "$USE_UNIX" = 1 ; then
10094 cat >>confdefs.h
<<\_ACEOF
10101 cat >confcache
<<\_ACEOF
10102 # This file is a shell script that caches the results of configure
10103 # tests run on this system so they can be shared between configure
10104 # scripts and configure runs, see configure's option --config-cache.
10105 # It is not useful on other systems. If it contains results you don't
10106 # want to keep, you may remove or edit it.
10108 # config.status only pays attention to the cache file if you give it
10109 # the --recheck option to rerun configure.
10111 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10112 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10113 # following values.
10117 # The following way of writing the cache mishandles newlines in values,
10118 # but we know of no workaround that is simple, portable, and efficient.
10119 # So, don't put newlines in cache variables' values.
10120 # Ultrix sh set writes to stderr and can't be redirected directly,
10121 # and sets the high bit in the cache file unless we assign to the vars.
10124 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10126 # `set' does not quote correctly, so add quotes (double-quote
10127 # substitution turns \\\\ into \\, and sed turns \\ into \).
10130 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10133 # `set' quotes correctly as required by POSIX, so do not add quotes.
10135 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10142 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10144 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10146 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10147 if test -w $cache_file; then
10148 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10149 cat confcache
>$cache_file
10151 echo "not updating unwritable cache $cache_file"
10156 if test "$build" != "$host" ; then
10157 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10159 CXX
=$host_alias-c++
10161 RANLIB
=$host_alias-ranlib
10162 DLLTOOL
=$host_alias-dlltool
10163 RESCOMP
=$host_alias-windres
10166 STRIP
=$host_alias-strip
10168 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10169 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10170 { (exit 1); exit 1; }; }
10176 ac_cpp
='$CPP $CPPFLAGS'
10177 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10178 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10179 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10180 if test -n "$ac_tool_prefix"; then
10181 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10182 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10183 echo "$as_me:$LINENO: checking for $ac_word" >&5
10184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10185 if test "${ac_cv_prog_CC+set}" = set; then
10186 echo $ECHO_N "(cached) $ECHO_C" >&6
10188 if test -n "$CC"; then
10189 ac_cv_prog_CC
="$CC" # Let the user override the test.
10191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10192 for as_dir
in $PATH
10195 test -z "$as_dir" && as_dir
=.
10196 for ac_exec_ext
in '' $ac_executable_extensions; do
10197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10198 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10208 if test -n "$CC"; then
10209 echo "$as_me:$LINENO: result: $CC" >&5
10210 echo "${ECHO_T}$CC" >&6
10212 echo "$as_me:$LINENO: result: no" >&5
10213 echo "${ECHO_T}no" >&6
10217 if test -z "$ac_cv_prog_CC"; then
10219 # Extract the first word of "gcc", so it can be a program name with args.
10220 set dummy gcc
; ac_word
=$2
10221 echo "$as_me:$LINENO: checking for $ac_word" >&5
10222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10223 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10224 echo $ECHO_N "(cached) $ECHO_C" >&6
10226 if test -n "$ac_ct_CC"; then
10227 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10230 for as_dir
in $PATH
10233 test -z "$as_dir" && as_dir
=.
10234 for ac_exec_ext
in '' $ac_executable_extensions; do
10235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10236 ac_cv_prog_ac_ct_CC
="gcc"
10237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10245 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10246 if test -n "$ac_ct_CC"; then
10247 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10248 echo "${ECHO_T}$ac_ct_CC" >&6
10250 echo "$as_me:$LINENO: result: no" >&5
10251 echo "${ECHO_T}no" >&6
10256 CC
="$ac_cv_prog_CC"
10259 if test -z "$CC"; then
10260 if test -n "$ac_tool_prefix"; then
10261 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10262 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10263 echo "$as_me:$LINENO: checking for $ac_word" >&5
10264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10265 if test "${ac_cv_prog_CC+set}" = set; then
10266 echo $ECHO_N "(cached) $ECHO_C" >&6
10268 if test -n "$CC"; then
10269 ac_cv_prog_CC
="$CC" # Let the user override the test.
10271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10272 for as_dir
in $PATH
10275 test -z "$as_dir" && as_dir
=.
10276 for ac_exec_ext
in '' $ac_executable_extensions; do
10277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10278 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10288 if test -n "$CC"; then
10289 echo "$as_me:$LINENO: result: $CC" >&5
10290 echo "${ECHO_T}$CC" >&6
10292 echo "$as_me:$LINENO: result: no" >&5
10293 echo "${ECHO_T}no" >&6
10297 if test -z "$ac_cv_prog_CC"; then
10299 # Extract the first word of "cc", so it can be a program name with args.
10300 set dummy cc
; ac_word
=$2
10301 echo "$as_me:$LINENO: checking for $ac_word" >&5
10302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10303 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10304 echo $ECHO_N "(cached) $ECHO_C" >&6
10306 if test -n "$ac_ct_CC"; then
10307 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10310 for as_dir
in $PATH
10313 test -z "$as_dir" && as_dir
=.
10314 for ac_exec_ext
in '' $ac_executable_extensions; do
10315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10316 ac_cv_prog_ac_ct_CC
="cc"
10317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10325 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10326 if test -n "$ac_ct_CC"; then
10327 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10328 echo "${ECHO_T}$ac_ct_CC" >&6
10330 echo "$as_me:$LINENO: result: no" >&5
10331 echo "${ECHO_T}no" >&6
10336 CC
="$ac_cv_prog_CC"
10340 if test -z "$CC"; then
10341 # Extract the first word of "cc", so it can be a program name with args.
10342 set dummy cc
; ac_word
=$2
10343 echo "$as_me:$LINENO: checking for $ac_word" >&5
10344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10345 if test "${ac_cv_prog_CC+set}" = set; then
10346 echo $ECHO_N "(cached) $ECHO_C" >&6
10348 if test -n "$CC"; then
10349 ac_cv_prog_CC
="$CC" # Let the user override the test.
10351 ac_prog_rejected
=no
10352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10353 for as_dir
in $PATH
10356 test -z "$as_dir" && as_dir
=.
10357 for ac_exec_ext
in '' $ac_executable_extensions; do
10358 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10359 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10360 ac_prog_rejected
=yes
10364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10370 if test $ac_prog_rejected = yes; then
10371 # We found a bogon in the path, so make sure we never use it.
10372 set dummy
$ac_cv_prog_CC
10374 if test $# != 0; then
10375 # We chose a different compiler from the bogus one.
10376 # However, it has the same basename, so the bogon will be chosen
10377 # first if we set CC to just the basename; use the full file name.
10379 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10385 if test -n "$CC"; then
10386 echo "$as_me:$LINENO: result: $CC" >&5
10387 echo "${ECHO_T}$CC" >&6
10389 echo "$as_me:$LINENO: result: no" >&5
10390 echo "${ECHO_T}no" >&6
10394 if test -z "$CC"; then
10395 if test -n "$ac_tool_prefix"; then
10398 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10399 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10400 echo "$as_me:$LINENO: checking for $ac_word" >&5
10401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10402 if test "${ac_cv_prog_CC+set}" = set; then
10403 echo $ECHO_N "(cached) $ECHO_C" >&6
10405 if test -n "$CC"; then
10406 ac_cv_prog_CC
="$CC" # Let the user override the test.
10408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10409 for as_dir
in $PATH
10412 test -z "$as_dir" && as_dir
=.
10413 for ac_exec_ext
in '' $ac_executable_extensions; do
10414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10415 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10425 if test -n "$CC"; then
10426 echo "$as_me:$LINENO: result: $CC" >&5
10427 echo "${ECHO_T}$CC" >&6
10429 echo "$as_me:$LINENO: result: no" >&5
10430 echo "${ECHO_T}no" >&6
10433 test -n "$CC" && break
10436 if test -z "$CC"; then
10440 # Extract the first word of "$ac_prog", so it can be a program name with args.
10441 set dummy
$ac_prog; ac_word
=$2
10442 echo "$as_me:$LINENO: checking for $ac_word" >&5
10443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10444 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10445 echo $ECHO_N "(cached) $ECHO_C" >&6
10447 if test -n "$ac_ct_CC"; then
10448 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10451 for as_dir
in $PATH
10454 test -z "$as_dir" && as_dir
=.
10455 for ac_exec_ext
in '' $ac_executable_extensions; do
10456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10457 ac_cv_prog_ac_ct_CC
="$ac_prog"
10458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10466 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10467 if test -n "$ac_ct_CC"; then
10468 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10469 echo "${ECHO_T}$ac_ct_CC" >&6
10471 echo "$as_me:$LINENO: result: no" >&5
10472 echo "${ECHO_T}no" >&6
10475 test -n "$ac_ct_CC" && break
10484 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10485 See \`config.log' for more details." >&5
10486 echo "$as_me: error: no acceptable C compiler found in \$PATH
10487 See \`config.log' for more details." >&2;}
10488 { (exit 1); exit 1; }; }
10490 # Provide some information about the compiler.
10491 echo "$as_me:$LINENO:" \
10492 "checking for C compiler version" >&5
10493 ac_compiler
=`set X $ac_compile; echo $2`
10494 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10495 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10498 (exit $ac_status); }
10499 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10500 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10503 (exit $ac_status); }
10504 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10505 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10508 (exit $ac_status); }
10510 cat >conftest.
$ac_ext <<_ACEOF
10513 cat confdefs.h
>>conftest.
$ac_ext
10514 cat >>conftest.
$ac_ext <<_ACEOF
10515 /* end confdefs.h. */
10525 ac_clean_files_save
=$ac_clean_files
10526 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10527 # Try to create an executable without -o first, disregard a.out.
10528 # It will help us diagnose broken compilers, and finding out an intuition
10530 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10531 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10532 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10533 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10534 (eval $ac_link_default) 2>&5
10536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10537 (exit $ac_status); }; then
10538 # Find the output, starting from the most likely. This scheme is
10539 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10542 # Be careful to initialize this variable, since it used to be cached.
10543 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10545 # b.out is created by i960 compilers.
10546 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10548 test -f "$ac_file" || continue
10550 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10553 # This is the source file.
10556 # We found the default executable, but exeext='' is most
10560 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10561 # FIXME: I believe we export ac_cv_exeext for Libtool,
10562 # but it would be cool to find out if it's true. Does anybody
10563 # maintain Libtool? --akim.
10564 export ac_cv_exeext
10571 echo "$as_me: failed program was:" >&5
10572 sed 's/^/| /' conftest.
$ac_ext >&5
10574 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10575 See \`config.log' for more details." >&5
10576 echo "$as_me: error: C compiler cannot create executables
10577 See \`config.log' for more details." >&2;}
10578 { (exit 77); exit 77; }; }
10581 ac_exeext
=$ac_cv_exeext
10582 echo "$as_me:$LINENO: result: $ac_file" >&5
10583 echo "${ECHO_T}$ac_file" >&6
10585 # Check the compiler produces executables we can run. If not, either
10586 # the compiler is broken, or we cross compile.
10587 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10588 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10589 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10590 # If not cross compiling, check that we can run a simple program.
10591 if test "$cross_compiling" != yes; then
10592 if { ac_try
='./$ac_file'
10593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10594 (eval $ac_try) 2>&5
10596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10597 (exit $ac_status); }; }; then
10600 if test "$cross_compiling" = maybe
; then
10601 cross_compiling
=yes
10603 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10604 If you meant to cross compile, use \`--host'.
10605 See \`config.log' for more details." >&5
10606 echo "$as_me: error: cannot run C compiled programs.
10607 If you meant to cross compile, use \`--host'.
10608 See \`config.log' for more details." >&2;}
10609 { (exit 1); exit 1; }; }
10613 echo "$as_me:$LINENO: result: yes" >&5
10614 echo "${ECHO_T}yes" >&6
10616 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10617 ac_clean_files
=$ac_clean_files_save
10618 # Check the compiler produces executables we can run. If not, either
10619 # the compiler is broken, or we cross compile.
10620 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10621 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10622 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10623 echo "${ECHO_T}$cross_compiling" >&6
10625 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10626 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10628 (eval $ac_link) 2>&5
10630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10631 (exit $ac_status); }; then
10632 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10633 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10634 # work properly (i.e., refer to `conftest.exe'), while it won't with
10636 for ac_file
in conftest.exe conftest conftest.
*; do
10637 test -f "$ac_file" || continue
10639 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10640 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10641 export ac_cv_exeext
10647 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10648 See \`config.log' for more details." >&5
10649 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10650 See \`config.log' for more details." >&2;}
10651 { (exit 1); exit 1; }; }
10654 rm -f conftest
$ac_cv_exeext
10655 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10656 echo "${ECHO_T}$ac_cv_exeext" >&6
10658 rm -f conftest.
$ac_ext
10659 EXEEXT
=$ac_cv_exeext
10661 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10662 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10663 if test "${ac_cv_objext+set}" = set; then
10664 echo $ECHO_N "(cached) $ECHO_C" >&6
10666 cat >conftest.
$ac_ext <<_ACEOF
10669 cat confdefs.h
>>conftest.
$ac_ext
10670 cat >>conftest.
$ac_ext <<_ACEOF
10671 /* end confdefs.h. */
10681 rm -f conftest.o conftest.obj
10682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10683 (eval $ac_compile) 2>&5
10685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686 (exit $ac_status); }; then
10687 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10689 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10690 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10695 echo "$as_me: failed program was:" >&5
10696 sed 's/^/| /' conftest.
$ac_ext >&5
10698 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10699 See \`config.log' for more details." >&5
10700 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10701 See \`config.log' for more details." >&2;}
10702 { (exit 1); exit 1; }; }
10705 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10707 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10708 echo "${ECHO_T}$ac_cv_objext" >&6
10709 OBJEXT
=$ac_cv_objext
10711 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10712 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10713 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10714 echo $ECHO_N "(cached) $ECHO_C" >&6
10716 cat >conftest.
$ac_ext <<_ACEOF
10719 cat confdefs.h
>>conftest.
$ac_ext
10720 cat >>conftest.
$ac_ext <<_ACEOF
10721 /* end confdefs.h. */
10734 rm -f conftest.
$ac_objext
10735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10736 (eval $ac_compile) 2>conftest.er1
10738 grep -v '^ *+' conftest.er1
>conftest.err
10740 cat conftest.err
>&5
10741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10742 (exit $ac_status); } &&
10743 { ac_try
='test -z "$ac_c_werror_flag"
10744 || test ! -s conftest.err'
10745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10746 (eval $ac_try) 2>&5
10748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10749 (exit $ac_status); }; } &&
10750 { ac_try
='test -s conftest.$ac_objext'
10751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10752 (eval $ac_try) 2>&5
10754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10755 (exit $ac_status); }; }; then
10756 ac_compiler_gnu
=yes
10758 echo "$as_me: failed program was:" >&5
10759 sed 's/^/| /' conftest.
$ac_ext >&5
10763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10764 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10767 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10768 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10769 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10770 ac_test_CFLAGS
=${CFLAGS+set}
10771 ac_save_CFLAGS
=$CFLAGS
10773 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10774 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10775 if test "${ac_cv_prog_cc_g+set}" = set; then
10776 echo $ECHO_N "(cached) $ECHO_C" >&6
10778 cat >conftest.
$ac_ext <<_ACEOF
10781 cat confdefs.h
>>conftest.
$ac_ext
10782 cat >>conftest.
$ac_ext <<_ACEOF
10783 /* end confdefs.h. */
10793 rm -f conftest.
$ac_objext
10794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10795 (eval $ac_compile) 2>conftest.er1
10797 grep -v '^ *+' conftest.er1
>conftest.err
10799 cat conftest.err
>&5
10800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10801 (exit $ac_status); } &&
10802 { ac_try
='test -z "$ac_c_werror_flag"
10803 || test ! -s conftest.err'
10804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10805 (eval $ac_try) 2>&5
10807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10808 (exit $ac_status); }; } &&
10809 { ac_try
='test -s conftest.$ac_objext'
10810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10811 (eval $ac_try) 2>&5
10813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10814 (exit $ac_status); }; }; then
10815 ac_cv_prog_cc_g
=yes
10817 echo "$as_me: failed program was:" >&5
10818 sed 's/^/| /' conftest.
$ac_ext >&5
10822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10824 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10825 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10826 if test "$ac_test_CFLAGS" = set; then
10827 CFLAGS
=$ac_save_CFLAGS
10828 elif test $ac_cv_prog_cc_g = yes; then
10829 if test "$GCC" = yes; then
10835 if test "$GCC" = yes; then
10841 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10842 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10843 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10844 echo $ECHO_N "(cached) $ECHO_C" >&6
10846 ac_cv_prog_cc_stdc
=no
10848 cat >conftest.
$ac_ext <<_ACEOF
10851 cat confdefs.h
>>conftest.
$ac_ext
10852 cat >>conftest.
$ac_ext <<_ACEOF
10853 /* end confdefs.h. */
10854 #include <stdarg.h>
10856 #include <sys/types.h>
10857 #include <sys/stat.h>
10858 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10859 struct buf { int x; };
10860 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10861 static char *e (p, i)
10867 static char *f (char * (*g) (char **, int), char **p, ...)
10872 s = g (p, va_arg (v,int));
10877 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10878 function prototypes and stuff, but not '\xHH' hex character constants.
10879 These don't provoke an error unfortunately, instead are silently treated
10880 as 'x'. The following induces an error, until -std1 is added to get
10881 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10882 array size at least. It's necessary to write '\x00'==0 to get something
10883 that's true only with -std1. */
10884 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10886 int test (int i, double x);
10887 struct s1 {int (*f) (int a);};
10888 struct s2 {int (*f) (double a);};
10889 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10895 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10900 # Don't try gcc -ansi; that turns off useful extensions and
10901 # breaks some systems' header files.
10902 # AIX -qlanglvl=ansi
10903 # Ultrix and OSF/1 -std1
10904 # HP-UX 10.20 and later -Ae
10905 # HP-UX older versions -Aa -D_HPUX_SOURCE
10906 # SVR4 -Xc -D__EXTENSIONS__
10907 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10909 CC
="$ac_save_CC $ac_arg"
10910 rm -f conftest.
$ac_objext
10911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10912 (eval $ac_compile) 2>conftest.er1
10914 grep -v '^ *+' conftest.er1
>conftest.err
10916 cat conftest.err
>&5
10917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10918 (exit $ac_status); } &&
10919 { ac_try
='test -z "$ac_c_werror_flag"
10920 || test ! -s conftest.err'
10921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10922 (eval $ac_try) 2>&5
10924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10925 (exit $ac_status); }; } &&
10926 { ac_try
='test -s conftest.$ac_objext'
10927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10928 (eval $ac_try) 2>&5
10930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10931 (exit $ac_status); }; }; then
10932 ac_cv_prog_cc_stdc
=$ac_arg
10935 echo "$as_me: failed program was:" >&5
10936 sed 's/^/| /' conftest.
$ac_ext >&5
10939 rm -f conftest.err conftest.
$ac_objext
10941 rm -f conftest.
$ac_ext conftest.
$ac_objext
10946 case "x$ac_cv_prog_cc_stdc" in
10948 echo "$as_me:$LINENO: result: none needed" >&5
10949 echo "${ECHO_T}none needed" >&6 ;;
10951 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10952 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10953 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10956 # Some people use a C++ compiler to compile C. Since we use `exit',
10957 # in C++ we need to declare it. In case someone uses the same compiler
10958 # for both compiling C and C++ we need to have the C++ compiler decide
10959 # the declaration of exit, since it's the most demanding environment.
10960 cat >conftest.
$ac_ext <<_ACEOF
10961 #ifndef __cplusplus
10965 rm -f conftest.
$ac_objext
10966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10967 (eval $ac_compile) 2>conftest.er1
10969 grep -v '^ *+' conftest.er1
>conftest.err
10971 cat conftest.err
>&5
10972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10973 (exit $ac_status); } &&
10974 { ac_try
='test -z "$ac_c_werror_flag"
10975 || test ! -s conftest.err'
10976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10977 (eval $ac_try) 2>&5
10979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10980 (exit $ac_status); }; } &&
10981 { ac_try
='test -s conftest.$ac_objext'
10982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10983 (eval $ac_try) 2>&5
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); }; }; then
10987 for ac_declaration
in \
10989 'extern "C" void std::exit (int) throw (); using std::exit;' \
10990 'extern "C" void std::exit (int); using std::exit;' \
10991 'extern "C" void exit (int) throw ();' \
10992 'extern "C" void exit (int);' \
10995 cat >conftest.
$ac_ext <<_ACEOF
10998 cat confdefs.h
>>conftest.
$ac_ext
10999 cat >>conftest.
$ac_ext <<_ACEOF
11000 /* end confdefs.h. */
11002 #include <stdlib.h>
11011 rm -f conftest.
$ac_objext
11012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11013 (eval $ac_compile) 2>conftest.er1
11015 grep -v '^ *+' conftest.er1
>conftest.err
11017 cat conftest.err
>&5
11018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11019 (exit $ac_status); } &&
11020 { ac_try
='test -z "$ac_c_werror_flag"
11021 || test ! -s conftest.err'
11022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11023 (eval $ac_try) 2>&5
11025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11026 (exit $ac_status); }; } &&
11027 { ac_try
='test -s conftest.$ac_objext'
11028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11029 (eval $ac_try) 2>&5
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); }; }; then
11035 echo "$as_me: failed program was:" >&5
11036 sed 's/^/| /' conftest.
$ac_ext >&5
11040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11041 cat >conftest.
$ac_ext <<_ACEOF
11044 cat confdefs.h
>>conftest.
$ac_ext
11045 cat >>conftest.
$ac_ext <<_ACEOF
11046 /* end confdefs.h. */
11056 rm -f conftest.
$ac_objext
11057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11058 (eval $ac_compile) 2>conftest.er1
11060 grep -v '^ *+' conftest.er1
>conftest.err
11062 cat conftest.err
>&5
11063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064 (exit $ac_status); } &&
11065 { ac_try
='test -z "$ac_c_werror_flag"
11066 || test ! -s conftest.err'
11067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11068 (eval $ac_try) 2>&5
11070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11071 (exit $ac_status); }; } &&
11072 { ac_try
='test -s conftest.$ac_objext'
11073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11074 (eval $ac_try) 2>&5
11076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11077 (exit $ac_status); }; }; then
11080 echo "$as_me: failed program was:" >&5
11081 sed 's/^/| /' conftest.
$ac_ext >&5
11084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11087 if test -n "$ac_declaration"; then
11088 echo '#ifdef __cplusplus' >>confdefs.h
11089 echo $ac_declaration >>confdefs.h
11090 echo '#endif' >>confdefs.h
11094 echo "$as_me: failed program was:" >&5
11095 sed 's/^/| /' conftest.
$ac_ext >&5
11098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11100 ac_cpp
='$CPP $CPPFLAGS'
11101 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11102 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11103 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11108 ac_cpp
='$CPP $CPPFLAGS'
11109 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11110 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11111 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11112 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11113 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11114 # On Suns, sometimes $CPP names a directory.
11115 if test -n "$CPP" && test -d "$CPP"; then
11118 if test -z "$CPP"; then
11119 if test "${ac_cv_prog_CPP+set}" = set; then
11120 echo $ECHO_N "(cached) $ECHO_C" >&6
11122 # Double quotes because CPP needs to be expanded
11123 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11125 ac_preproc_ok
=false
11126 for ac_c_preproc_warn_flag
in '' yes
11128 # Use a header file that comes with gcc, so configuring glibc
11129 # with a fresh cross-compiler works.
11130 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11131 # <limits.h> exists even on freestanding compilers.
11132 # On the NeXT, cc -E runs the code through the compiler's parser,
11133 # not just through cpp. "Syntax error" is here to catch this case.
11134 cat >conftest.
$ac_ext <<_ACEOF
11137 cat confdefs.h
>>conftest.
$ac_ext
11138 cat >>conftest.
$ac_ext <<_ACEOF
11139 /* end confdefs.h. */
11141 # include <limits.h>
11143 # include <assert.h>
11147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11148 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11150 grep -v '^ *+' conftest.er1
>conftest.err
11152 cat conftest.err
>&5
11153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11154 (exit $ac_status); } >/dev
/null
; then
11155 if test -s conftest.err
; then
11156 ac_cpp_err
=$ac_c_preproc_warn_flag
11157 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11164 if test -z "$ac_cpp_err"; then
11167 echo "$as_me: failed program was:" >&5
11168 sed 's/^/| /' conftest.
$ac_ext >&5
11170 # Broken: fails on valid input.
11173 rm -f conftest.err conftest.
$ac_ext
11175 # OK, works on sane cases. Now check whether non-existent headers
11176 # can be detected and how.
11177 cat >conftest.
$ac_ext <<_ACEOF
11180 cat confdefs.h
>>conftest.
$ac_ext
11181 cat >>conftest.
$ac_ext <<_ACEOF
11182 /* end confdefs.h. */
11183 #include <ac_nonexistent.h>
11185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11186 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11188 grep -v '^ *+' conftest.er1
>conftest.err
11190 cat conftest.err
>&5
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); } >/dev
/null
; then
11193 if test -s conftest.err
; then
11194 ac_cpp_err
=$ac_c_preproc_warn_flag
11195 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11202 if test -z "$ac_cpp_err"; then
11203 # Broken: success on invalid input.
11206 echo "$as_me: failed program was:" >&5
11207 sed 's/^/| /' conftest.
$ac_ext >&5
11209 # Passes both tests.
11213 rm -f conftest.err conftest.
$ac_ext
11216 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11217 rm -f conftest.err conftest.
$ac_ext
11218 if $ac_preproc_ok; then
11223 ac_cv_prog_CPP
=$CPP
11226 CPP
=$ac_cv_prog_CPP
11228 ac_cv_prog_CPP
=$CPP
11230 echo "$as_me:$LINENO: result: $CPP" >&5
11231 echo "${ECHO_T}$CPP" >&6
11232 ac_preproc_ok
=false
11233 for ac_c_preproc_warn_flag
in '' yes
11235 # Use a header file that comes with gcc, so configuring glibc
11236 # with a fresh cross-compiler works.
11237 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11238 # <limits.h> exists even on freestanding compilers.
11239 # On the NeXT, cc -E runs the code through the compiler's parser,
11240 # not just through cpp. "Syntax error" is here to catch this case.
11241 cat >conftest.
$ac_ext <<_ACEOF
11244 cat confdefs.h
>>conftest.
$ac_ext
11245 cat >>conftest.
$ac_ext <<_ACEOF
11246 /* end confdefs.h. */
11248 # include <limits.h>
11250 # include <assert.h>
11254 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11255 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11257 grep -v '^ *+' conftest.er1
>conftest.err
11259 cat conftest.err
>&5
11260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11261 (exit $ac_status); } >/dev
/null
; then
11262 if test -s conftest.err
; then
11263 ac_cpp_err
=$ac_c_preproc_warn_flag
11264 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11271 if test -z "$ac_cpp_err"; then
11274 echo "$as_me: failed program was:" >&5
11275 sed 's/^/| /' conftest.
$ac_ext >&5
11277 # Broken: fails on valid input.
11280 rm -f conftest.err conftest.
$ac_ext
11282 # OK, works on sane cases. Now check whether non-existent headers
11283 # can be detected and how.
11284 cat >conftest.
$ac_ext <<_ACEOF
11287 cat confdefs.h
>>conftest.
$ac_ext
11288 cat >>conftest.
$ac_ext <<_ACEOF
11289 /* end confdefs.h. */
11290 #include <ac_nonexistent.h>
11292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11293 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11295 grep -v '^ *+' conftest.er1
>conftest.err
11297 cat conftest.err
>&5
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); } >/dev
/null
; then
11300 if test -s conftest.err
; then
11301 ac_cpp_err
=$ac_c_preproc_warn_flag
11302 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11309 if test -z "$ac_cpp_err"; then
11310 # Broken: success on invalid input.
11313 echo "$as_me: failed program was:" >&5
11314 sed 's/^/| /' conftest.
$ac_ext >&5
11316 # Passes both tests.
11320 rm -f conftest.err conftest.
$ac_ext
11323 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11324 rm -f conftest.err conftest.
$ac_ext
11325 if $ac_preproc_ok; then
11328 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11329 See \`config.log' for more details." >&5
11330 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11331 See \`config.log' for more details." >&2;}
11332 { (exit 1); exit 1; }; }
11336 ac_cpp
='$CPP $CPPFLAGS'
11337 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11338 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11339 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11342 echo "$as_me:$LINENO: checking for egrep" >&5
11343 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11344 if test "${ac_cv_prog_egrep+set}" = set; then
11345 echo $ECHO_N "(cached) $ECHO_C" >&6
11347 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11348 then ac_cv_prog_egrep
='grep -E'
11349 else ac_cv_prog_egrep
='egrep'
11352 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11353 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11354 EGREP
=$ac_cv_prog_egrep
11357 if test $ac_cv_c_compiler_gnu = yes; then
11358 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11359 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11360 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11361 echo $ECHO_N "(cached) $ECHO_C" >&6
11363 ac_pattern
="Autoconf.*'x'"
11364 cat >conftest.
$ac_ext <<_ACEOF
11367 cat confdefs.h
>>conftest.
$ac_ext
11368 cat >>conftest.
$ac_ext <<_ACEOF
11369 /* end confdefs.h. */
11373 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11374 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11375 ac_cv_prog_gcc_traditional
=yes
11377 ac_cv_prog_gcc_traditional
=no
11382 if test $ac_cv_prog_gcc_traditional = no
; then
11383 cat >conftest.
$ac_ext <<_ACEOF
11386 cat confdefs.h
>>conftest.
$ac_ext
11387 cat >>conftest.
$ac_ext <<_ACEOF
11388 /* end confdefs.h. */
11389 #include <termio.h>
11392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11393 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11394 ac_cv_prog_gcc_traditional
=yes
11400 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11401 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11402 if test $ac_cv_prog_gcc_traditional = yes; then
11403 CC
="$CC -traditional"
11411 ac_cpp
='$CXXCPP $CPPFLAGS'
11412 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11413 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11414 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11417 CXXFLAGS
=${CXXFLAGS:=}
11419 ac_cpp
='$CXXCPP $CPPFLAGS'
11420 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11421 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11422 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11423 if test -n "$ac_tool_prefix"; then
11424 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11426 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11427 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11428 echo "$as_me:$LINENO: checking for $ac_word" >&5
11429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11430 if test "${ac_cv_prog_CXX+set}" = set; then
11431 echo $ECHO_N "(cached) $ECHO_C" >&6
11433 if test -n "$CXX"; then
11434 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11437 for as_dir
in $PATH
11440 test -z "$as_dir" && as_dir
=.
11441 for ac_exec_ext
in '' $ac_executable_extensions; do
11442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11443 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11452 CXX
=$ac_cv_prog_CXX
11453 if test -n "$CXX"; then
11454 echo "$as_me:$LINENO: result: $CXX" >&5
11455 echo "${ECHO_T}$CXX" >&6
11457 echo "$as_me:$LINENO: result: no" >&5
11458 echo "${ECHO_T}no" >&6
11461 test -n "$CXX" && break
11464 if test -z "$CXX"; then
11466 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11468 # Extract the first word of "$ac_prog", so it can be a program name with args.
11469 set dummy
$ac_prog; ac_word
=$2
11470 echo "$as_me:$LINENO: checking for $ac_word" >&5
11471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11472 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11473 echo $ECHO_N "(cached) $ECHO_C" >&6
11475 if test -n "$ac_ct_CXX"; then
11476 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11479 for as_dir
in $PATH
11482 test -z "$as_dir" && as_dir
=.
11483 for ac_exec_ext
in '' $ac_executable_extensions; do
11484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11485 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11494 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11495 if test -n "$ac_ct_CXX"; then
11496 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11497 echo "${ECHO_T}$ac_ct_CXX" >&6
11499 echo "$as_me:$LINENO: result: no" >&5
11500 echo "${ECHO_T}no" >&6
11503 test -n "$ac_ct_CXX" && break
11505 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11511 # Provide some information about the compiler.
11512 echo "$as_me:$LINENO:" \
11513 "checking for C++ compiler version" >&5
11514 ac_compiler
=`set X $ac_compile; echo $2`
11515 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11516 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11519 (exit $ac_status); }
11520 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11521 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); }
11525 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11526 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11529 (exit $ac_status); }
11531 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11532 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11533 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11534 echo $ECHO_N "(cached) $ECHO_C" >&6
11536 cat >conftest.
$ac_ext <<_ACEOF
11539 cat confdefs.h
>>conftest.
$ac_ext
11540 cat >>conftest.
$ac_ext <<_ACEOF
11541 /* end confdefs.h. */
11554 rm -f conftest.
$ac_objext
11555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11556 (eval $ac_compile) 2>conftest.er1
11558 grep -v '^ *+' conftest.er1
>conftest.err
11560 cat conftest.err
>&5
11561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11562 (exit $ac_status); } &&
11563 { ac_try
='test -z "$ac_cxx_werror_flag"
11564 || test ! -s conftest.err'
11565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11566 (eval $ac_try) 2>&5
11568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11569 (exit $ac_status); }; } &&
11570 { ac_try
='test -s conftest.$ac_objext'
11571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11572 (eval $ac_try) 2>&5
11574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11575 (exit $ac_status); }; }; then
11576 ac_compiler_gnu
=yes
11578 echo "$as_me: failed program was:" >&5
11579 sed 's/^/| /' conftest.
$ac_ext >&5
11583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11584 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11587 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11588 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11589 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11590 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11591 ac_save_CXXFLAGS
=$CXXFLAGS
11593 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11594 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11595 if test "${ac_cv_prog_cxx_g+set}" = set; then
11596 echo $ECHO_N "(cached) $ECHO_C" >&6
11598 cat >conftest.
$ac_ext <<_ACEOF
11601 cat confdefs.h
>>conftest.
$ac_ext
11602 cat >>conftest.
$ac_ext <<_ACEOF
11603 /* end confdefs.h. */
11613 rm -f conftest.
$ac_objext
11614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11615 (eval $ac_compile) 2>conftest.er1
11617 grep -v '^ *+' conftest.er1
>conftest.err
11619 cat conftest.err
>&5
11620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11621 (exit $ac_status); } &&
11622 { ac_try
='test -z "$ac_cxx_werror_flag"
11623 || test ! -s conftest.err'
11624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11625 (eval $ac_try) 2>&5
11627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628 (exit $ac_status); }; } &&
11629 { ac_try
='test -s conftest.$ac_objext'
11630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11631 (eval $ac_try) 2>&5
11633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11634 (exit $ac_status); }; }; then
11635 ac_cv_prog_cxx_g
=yes
11637 echo "$as_me: failed program was:" >&5
11638 sed 's/^/| /' conftest.
$ac_ext >&5
11640 ac_cv_prog_cxx_g
=no
11642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11644 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11645 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11646 if test "$ac_test_CXXFLAGS" = set; then
11647 CXXFLAGS
=$ac_save_CXXFLAGS
11648 elif test $ac_cv_prog_cxx_g = yes; then
11649 if test "$GXX" = yes; then
11655 if test "$GXX" = yes; then
11661 for ac_declaration
in \
11663 'extern "C" void std::exit (int) throw (); using std::exit;' \
11664 'extern "C" void std::exit (int); using std::exit;' \
11665 'extern "C" void exit (int) throw ();' \
11666 'extern "C" void exit (int);' \
11669 cat >conftest.
$ac_ext <<_ACEOF
11672 cat confdefs.h
>>conftest.
$ac_ext
11673 cat >>conftest.
$ac_ext <<_ACEOF
11674 /* end confdefs.h. */
11676 #include <stdlib.h>
11685 rm -f conftest.
$ac_objext
11686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11687 (eval $ac_compile) 2>conftest.er1
11689 grep -v '^ *+' conftest.er1
>conftest.err
11691 cat conftest.err
>&5
11692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693 (exit $ac_status); } &&
11694 { ac_try
='test -z "$ac_cxx_werror_flag"
11695 || test ! -s conftest.err'
11696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11697 (eval $ac_try) 2>&5
11699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11700 (exit $ac_status); }; } &&
11701 { ac_try
='test -s conftest.$ac_objext'
11702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11703 (eval $ac_try) 2>&5
11705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11706 (exit $ac_status); }; }; then
11709 echo "$as_me: failed program was:" >&5
11710 sed 's/^/| /' conftest.
$ac_ext >&5
11714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11715 cat >conftest.
$ac_ext <<_ACEOF
11718 cat confdefs.h
>>conftest.
$ac_ext
11719 cat >>conftest.
$ac_ext <<_ACEOF
11720 /* end confdefs.h. */
11730 rm -f conftest.
$ac_objext
11731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11732 (eval $ac_compile) 2>conftest.er1
11734 grep -v '^ *+' conftest.er1
>conftest.err
11736 cat conftest.err
>&5
11737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11738 (exit $ac_status); } &&
11739 { ac_try
='test -z "$ac_cxx_werror_flag"
11740 || test ! -s conftest.err'
11741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11742 (eval $ac_try) 2>&5
11744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11745 (exit $ac_status); }; } &&
11746 { ac_try
='test -s conftest.$ac_objext'
11747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11748 (eval $ac_try) 2>&5
11750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11751 (exit $ac_status); }; }; then
11754 echo "$as_me: failed program was:" >&5
11755 sed 's/^/| /' conftest.
$ac_ext >&5
11758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11761 if test -n "$ac_declaration"; then
11762 echo '#ifdef __cplusplus' >>confdefs.h
11763 echo $ac_declaration >>confdefs.h
11764 echo '#endif' >>confdefs.h
11768 ac_cpp
='$CXXCPP $CPPFLAGS'
11769 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11770 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11771 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11775 ac_cpp
='$CPP $CPPFLAGS'
11776 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11777 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11778 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11781 echo "$as_me:$LINENO: checking for /usr/local/include in default include path" >&5
11782 echo $ECHO_N "checking for /usr/local/include in default include path... $ECHO_C" >&6
11783 GCC_SEARCHES_USR_LOCAL_INCLUDE
="no"
11784 if test "$GCC" = "yes" ; then
11785 echo | gcc
-v -x c
++ -E - 2>&1 | sed -n '/^#include </,$p' | \
11786 sed -n '1,/End of search list\./p' | \
11787 grep '^ */usr/local/include$' 2>&1 /dev
/null \
11788 && GCC_SEARCHES_USR_LOCAL_INCLUDE
="yes"
11790 echo "$as_me:$LINENO: result: $GCC_SEARCHES_USR_LOCAL_INCLUDE" >&5
11791 echo "${ECHO_T}$GCC_SEARCHES_USR_LOCAL_INCLUDE" >&6
11793 if test -n "$ac_tool_prefix"; then
11794 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11795 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11796 echo "$as_me:$LINENO: checking for $ac_word" >&5
11797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11798 if test "${ac_cv_prog_RANLIB+set}" = set; then
11799 echo $ECHO_N "(cached) $ECHO_C" >&6
11801 if test -n "$RANLIB"; then
11802 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11805 for as_dir
in $PATH
11808 test -z "$as_dir" && as_dir
=.
11809 for ac_exec_ext
in '' $ac_executable_extensions; do
11810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11811 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11820 RANLIB
=$ac_cv_prog_RANLIB
11821 if test -n "$RANLIB"; then
11822 echo "$as_me:$LINENO: result: $RANLIB" >&5
11823 echo "${ECHO_T}$RANLIB" >&6
11825 echo "$as_me:$LINENO: result: no" >&5
11826 echo "${ECHO_T}no" >&6
11830 if test -z "$ac_cv_prog_RANLIB"; then
11831 ac_ct_RANLIB
=$RANLIB
11832 # Extract the first word of "ranlib", so it can be a program name with args.
11833 set dummy ranlib
; ac_word
=$2
11834 echo "$as_me:$LINENO: checking for $ac_word" >&5
11835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11836 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11837 echo $ECHO_N "(cached) $ECHO_C" >&6
11839 if test -n "$ac_ct_RANLIB"; then
11840 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11843 for as_dir
in $PATH
11846 test -z "$as_dir" && as_dir
=.
11847 for ac_exec_ext
in '' $ac_executable_extensions; do
11848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11849 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11856 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11859 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11860 if test -n "$ac_ct_RANLIB"; then
11861 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11862 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11864 echo "$as_me:$LINENO: result: no" >&5
11865 echo "${ECHO_T}no" >&6
11868 RANLIB
=$ac_ct_RANLIB
11870 RANLIB
="$ac_cv_prog_RANLIB"
11874 # Extract the first word of "ar", so it can be a program name with args.
11875 set dummy
ar; ac_word
=$2
11876 echo "$as_me:$LINENO: checking for $ac_word" >&5
11877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11878 if test "${ac_cv_prog_AR+set}" = set; then
11879 echo $ECHO_N "(cached) $ECHO_C" >&6
11881 if test -n "$AR"; then
11882 ac_cv_prog_AR
="$AR" # Let the user override the test.
11884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11885 for as_dir
in $PATH
11888 test -z "$as_dir" && as_dir
=.
11889 for ac_exec_ext
in '' $ac_executable_extensions; do
11890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11901 if test -n "$AR"; then
11902 echo "$as_me:$LINENO: result: $AR" >&5
11903 echo "${ECHO_T}$AR" >&6
11905 echo "$as_me:$LINENO: result: no" >&5
11906 echo "${ECHO_T}no" >&6
11909 if test "x$AR" = "x" ; then
11910 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
11911 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
11912 { (exit 1); exit 1; }; }
11915 # Find a good install program. We prefer a C program (faster),
11916 # so one script is as good as another. But avoid the broken or
11917 # incompatible versions:
11918 # SysV /etc/install, /usr/sbin/install
11919 # SunOS /usr/etc/install
11920 # IRIX /sbin/install
11922 # AmigaOS /C/install, which installs bootblocks on floppy discs
11923 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11924 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11925 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11926 # OS/2's system install, which has a completely different semantic
11927 # ./install, which can be erroneously created by make from ./install.sh.
11928 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11929 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11930 if test -z "$INSTALL"; then
11931 if test "${ac_cv_path_install+set}" = set; then
11932 echo $ECHO_N "(cached) $ECHO_C" >&6
11934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11935 for as_dir
in $PATH
11938 test -z "$as_dir" && as_dir
=.
11939 # Account for people who put trailing slashes in PATH elements.
11941 .
/ | .
// | /cC
/* | \
11942 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11943 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11946 # OSF1 and SCO ODT 3.0 have their own names for install.
11947 # Don't use installbsd from OSF since it installs stuff as root
11949 for ac_prog
in ginstall scoinst
install; do
11950 for ac_exec_ext
in '' $ac_executable_extensions; do
11951 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11952 if test $ac_prog = install &&
11953 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11954 # AIX install. It has an incompatible calling convention.
11956 elif test $ac_prog = install &&
11957 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11958 # program-specific install script used by HP pwplus--don't use.
11961 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11973 if test "${ac_cv_path_install+set}" = set; then
11974 INSTALL
=$ac_cv_path_install
11976 # As a last resort, use the slow shell script. We don't cache a
11977 # path for INSTALL within a source directory, because that will
11978 # break other packages using the cache if that directory is
11979 # removed, or if the path is relative.
11980 INSTALL
=$ac_install_sh
11983 echo "$as_me:$LINENO: result: $INSTALL" >&5
11984 echo "${ECHO_T}$INSTALL" >&6
11986 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11987 # It thinks the first close brace ends the variable substitution.
11988 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11990 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11992 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11998 ?
:* ) # Drive letter, considered as absolute.
12001 INSTALL
=`pwd`/${INSTALL} ;;
12006 INSTALL_DIR
="mkdir"
12009 *) INSTALL_DIR
="$INSTALL -d"
12016 powerpc
-*-darwin* )
12017 INSTALL_PROGRAM
="cp -fp"
12018 INSTALL_DATA
="cp -fp"
12024 # Extract the first word of "strip", so it can be a program name with args.
12025 set dummy strip
; ac_word
=$2
12026 echo "$as_me:$LINENO: checking for $ac_word" >&5
12027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12028 if test "${ac_cv_prog_STRIP+set}" = set; then
12029 echo $ECHO_N "(cached) $ECHO_C" >&6
12031 if test -n "$STRIP"; then
12032 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12035 for as_dir
in $PATH
12038 test -z "$as_dir" && as_dir
=.
12039 for ac_exec_ext
in '' $ac_executable_extensions; do
12040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12041 ac_cv_prog_STRIP
="strip"
12042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12048 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12051 STRIP
=$ac_cv_prog_STRIP
12052 if test -n "$STRIP"; then
12053 echo "$as_me:$LINENO: result: $STRIP" >&5
12054 echo "${ECHO_T}$STRIP" >&6
12056 echo "$as_me:$LINENO: result: no" >&5
12057 echo "${ECHO_T}no" >&6
12061 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12062 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12063 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12064 echo $ECHO_N "(cached) $ECHO_C" >&6
12067 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12068 egrep -s GNU
> /dev
/null
); then
12069 wx_cv_prog_makeisgnu
="yes"
12071 wx_cv_prog_makeisgnu
="no"
12075 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12076 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12078 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12086 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12087 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12088 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12089 if test "${wx_cv_prog_makevpath+set}" = set; then
12090 echo $ECHO_N "(cached) $ECHO_C" >&6
12093 cat - << EOF > confMake
12099 if test ! -d sub
; then
12102 echo dummy
> sub
/file
12103 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12105 rm -f sub
/file check final_file confMake
12107 if test "$RESULT" = 0; then
12108 wx_cv_prog_makevpath
="yes"
12110 wx_cv_prog_makevpath
="no"
12114 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12115 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12117 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12118 { { echo "$as_me:$LINENO: error:
12119 You need a make-utility that is able to use the variable
12121 If your version of make does not support VPATH correctly,
12122 please install GNU-make (possibly as gmake), and start
12123 configure with the following command:
12124 export MAKE=gmake; ./configure for sh-type shells
12125 setenv MAKE gmake; ./configure for csh-type shells
12126 Also please do remember to use gmake in this case every time
12127 you are trying to compile.
12129 echo "$as_me: error:
12130 You need a make-utility that is able to use the variable
12132 If your version of make does not support VPATH correctly,
12133 please install GNU-make (possibly as gmake), and start
12134 configure with the following command:
12135 export MAKE=gmake; ./configure for sh-type shells
12136 setenv MAKE gmake; ./configure for csh-type shells
12137 Also please do remember to use gmake in this case every time
12138 you are trying to compile.
12140 { (exit 1); exit 1; }; }
12142 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12143 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12145 if test "$LN_S" = "ln -s"; then
12146 echo "$as_me:$LINENO: result: yes" >&5
12147 echo "${ECHO_T}yes" >&6
12149 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12150 echo "${ECHO_T}no, using $LN_S" >&6
12156 *-pc-os2_emx | *-pc-os2-emx )
12157 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12158 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12159 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12160 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12161 echo $ECHO_N "(cached) $ECHO_C" >&6
12163 ac_check_lib_save_LIBS
=$LIBS
12164 LIBS
="-lcExt $LIBS"
12165 cat >conftest.
$ac_ext <<_ACEOF
12168 cat confdefs.h
>>conftest.
$ac_ext
12169 cat >>conftest.
$ac_ext <<_ACEOF
12170 /* end confdefs.h. */
12172 /* Override any gcc2 internal prototype to avoid an error. */
12176 /* We use char because int might match the return type of a gcc2
12177 builtin and then its argument prototype would still apply. */
12187 rm -f conftest.
$ac_objext conftest
$ac_exeext
12188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12189 (eval $ac_link) 2>conftest.er1
12191 grep -v '^ *+' conftest.er1
>conftest.err
12193 cat conftest.err
>&5
12194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12195 (exit $ac_status); } &&
12196 { ac_try
='test -z "$ac_c_werror_flag"
12197 || test ! -s conftest.err'
12198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12199 (eval $ac_try) 2>&5
12201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202 (exit $ac_status); }; } &&
12203 { ac_try
='test -s conftest$ac_exeext'
12204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12205 (eval $ac_try) 2>&5
12207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12208 (exit $ac_status); }; }; then
12209 ac_cv_lib_cExt_drand48
=yes
12211 echo "$as_me: failed program was:" >&5
12212 sed 's/^/| /' conftest.
$ac_ext >&5
12214 ac_cv_lib_cExt_drand48
=no
12216 rm -f conftest.err conftest.
$ac_objext \
12217 conftest
$ac_exeext conftest.
$ac_ext
12218 LIBS
=$ac_check_lib_save_LIBS
12220 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12221 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12222 if test $ac_cv_lib_cExt_drand48 = yes; then
12223 LIBS
="$LIBS -lcExt"
12227 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12229 echo "$as_me:$LINENO: checking for gcc version" >&5
12230 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12231 if test "${wx_cv_gccversion+set}" = set; then
12232 echo $ECHO_N "(cached) $ECHO_C" >&6
12235 cat >conftest.
$ac_ext <<_ACEOF
12238 cat confdefs.h
>>conftest.
$ac_ext
12239 cat >>conftest.
$ac_ext <<_ACEOF
12240 /* end confdefs.h. */
12254 rm -f conftest.
$ac_objext
12255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12256 (eval $ac_compile) 2>conftest.er1
12258 grep -v '^ *+' conftest.er1
>conftest.err
12260 cat conftest.err
>&5
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); } &&
12263 { ac_try
='test -z "$ac_c_werror_flag"
12264 || test ! -s conftest.err'
12265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12266 (eval $ac_try) 2>&5
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); }; } &&
12270 { ac_try
='test -s conftest.$ac_objext'
12271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12272 (eval $ac_try) 2>&5
12274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12275 (exit $ac_status); }; }; then
12277 cat >conftest.
$ac_ext <<_ACEOF
12280 cat confdefs.h
>>conftest.
$ac_ext
12281 cat >>conftest.
$ac_ext <<_ACEOF
12282 /* end confdefs.h. */
12288 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12289 #error intermediate gcc
12296 rm -f conftest.
$ac_objext
12297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12298 (eval $ac_compile) 2>conftest.er1
12300 grep -v '^ *+' conftest.er1
>conftest.err
12302 cat conftest.err
>&5
12303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304 (exit $ac_status); } &&
12305 { ac_try
='test -z "$ac_c_werror_flag"
12306 || test ! -s conftest.err'
12307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12308 (eval $ac_try) 2>&5
12310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311 (exit $ac_status); }; } &&
12312 { ac_try
='test -s conftest.$ac_objext'
12313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12314 (eval $ac_try) 2>&5
12316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317 (exit $ac_status); }; }; then
12319 wx_cv_gccversion
=Innotek
12322 echo "$as_me: failed program was:" >&5
12323 sed 's/^/| /' conftest.
$ac_ext >&5
12330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12333 echo "$as_me: failed program was:" >&5
12334 sed 's/^/| /' conftest.
$ac_ext >&5
12341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12344 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12345 echo "${ECHO_T}$wx_cv_gccversion" >&6
12346 if test "$wx_cv_gccversion" = "2"; then
12347 LIBS
="$LIBS -lstdcpp"
12348 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12350 if test "$wx_cv_gccversion" = "3"; then
12351 LIBS
="$LIBS -lstdcxx"
12352 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12354 LIBS
="$LIBS -lstdc++"
12357 if test "$wxUSE_OMF" = "yes"; then
12358 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12366 ac_cpp
='$CXXCPP $CPPFLAGS'
12367 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12368 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12369 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12373 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12374 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12375 if test "${ac_cv_string_strcasecmp+set}" = set; then
12376 echo $ECHO_N "(cached) $ECHO_C" >&6
12379 cat >conftest.
$ac_ext <<_ACEOF
12382 cat confdefs.h
>>conftest.
$ac_ext
12383 cat >>conftest.
$ac_ext <<_ACEOF
12384 /* end confdefs.h. */
12386 #include <string.h>
12392 strcasecmp("foo", "bar");
12398 rm -f conftest.
$ac_objext conftest
$ac_exeext
12399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12400 (eval $ac_link) 2>conftest.er1
12402 grep -v '^ *+' conftest.er1
>conftest.err
12404 cat conftest.err
>&5
12405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12406 (exit $ac_status); } &&
12407 { ac_try
='test -z "$ac_cxx_werror_flag"
12408 || test ! -s conftest.err'
12409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12410 (eval $ac_try) 2>&5
12412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12413 (exit $ac_status); }; } &&
12414 { ac_try
='test -s conftest$ac_exeext'
12415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12416 (eval $ac_try) 2>&5
12418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12419 (exit $ac_status); }; }; then
12420 ac_cv_string_strcasecmp
=yes
12422 echo "$as_me: failed program was:" >&5
12423 sed 's/^/| /' conftest.
$ac_ext >&5
12425 ac_cv_string_strcasecmp
=no
12428 rm -f conftest.err conftest.
$ac_objext \
12429 conftest
$ac_exeext conftest.
$ac_ext
12432 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12433 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12435 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12436 cat >>confdefs.h
<<\_ACEOF
12437 #define HAVE_STRCASECMP_IN_STRING_H 1
12441 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12442 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12443 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12444 echo $ECHO_N "(cached) $ECHO_C" >&6
12447 cat >conftest.
$ac_ext <<_ACEOF
12450 cat confdefs.h
>>conftest.
$ac_ext
12451 cat >>conftest.
$ac_ext <<_ACEOF
12452 /* end confdefs.h. */
12454 #include <strings.h>
12460 strcasecmp("foo", "bar");
12466 rm -f conftest.
$ac_objext conftest
$ac_exeext
12467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12468 (eval $ac_link) 2>conftest.er1
12470 grep -v '^ *+' conftest.er1
>conftest.err
12472 cat conftest.err
>&5
12473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12474 (exit $ac_status); } &&
12475 { ac_try
='test -z "$ac_cxx_werror_flag"
12476 || test ! -s conftest.err'
12477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12478 (eval $ac_try) 2>&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); }; } &&
12482 { ac_try
='test -s conftest$ac_exeext'
12483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12484 (eval $ac_try) 2>&5
12486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487 (exit $ac_status); }; }; then
12488 ac_cv_strings_strcasecmp
=yes
12490 echo "$as_me: failed program was:" >&5
12491 sed 's/^/| /' conftest.
$ac_ext >&5
12493 ac_cv_strings_strcasecmp
=no
12496 rm -f conftest.err conftest.
$ac_objext \
12497 conftest
$ac_exeext conftest.
$ac_ext
12500 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12501 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12503 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12504 cat >>confdefs.h
<<\_ACEOF
12505 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12509 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12510 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12511 { (exit 1); exit 1; }; }
12516 ac_cpp
='$CPP $CPPFLAGS'
12517 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12518 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12519 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12525 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12526 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12527 if test "${ac_cv_header_stdc+set}" = set; then
12528 echo $ECHO_N "(cached) $ECHO_C" >&6
12530 cat >conftest.
$ac_ext <<_ACEOF
12533 cat confdefs.h
>>conftest.
$ac_ext
12534 cat >>conftest.
$ac_ext <<_ACEOF
12535 /* end confdefs.h. */
12536 #include <stdlib.h>
12537 #include <stdarg.h>
12538 #include <string.h>
12549 rm -f conftest.
$ac_objext
12550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12551 (eval $ac_compile) 2>conftest.er1
12553 grep -v '^ *+' conftest.er1
>conftest.err
12555 cat conftest.err
>&5
12556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12557 (exit $ac_status); } &&
12558 { ac_try
='test -z "$ac_c_werror_flag"
12559 || test ! -s conftest.err'
12560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12561 (eval $ac_try) 2>&5
12563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12564 (exit $ac_status); }; } &&
12565 { ac_try
='test -s conftest.$ac_objext'
12566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12567 (eval $ac_try) 2>&5
12569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12570 (exit $ac_status); }; }; then
12571 ac_cv_header_stdc
=yes
12573 echo "$as_me: failed program was:" >&5
12574 sed 's/^/| /' conftest.
$ac_ext >&5
12576 ac_cv_header_stdc
=no
12578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12580 if test $ac_cv_header_stdc = yes; then
12581 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12582 cat >conftest.
$ac_ext <<_ACEOF
12585 cat confdefs.h
>>conftest.
$ac_ext
12586 cat >>conftest.
$ac_ext <<_ACEOF
12587 /* end confdefs.h. */
12588 #include <string.h>
12591 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12592 $EGREP "memchr" >/dev
/null
2>&1; then
12595 ac_cv_header_stdc
=no
12601 if test $ac_cv_header_stdc = yes; then
12602 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12603 cat >conftest.
$ac_ext <<_ACEOF
12606 cat confdefs.h
>>conftest.
$ac_ext
12607 cat >>conftest.
$ac_ext <<_ACEOF
12608 /* end confdefs.h. */
12609 #include <stdlib.h>
12612 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12613 $EGREP "free" >/dev
/null
2>&1; then
12616 ac_cv_header_stdc
=no
12622 if test $ac_cv_header_stdc = yes; then
12623 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12624 if test "$cross_compiling" = yes; then
12627 cat >conftest.
$ac_ext <<_ACEOF
12630 cat confdefs.h
>>conftest.
$ac_ext
12631 cat >>conftest.
$ac_ext <<_ACEOF
12632 /* end confdefs.h. */
12634 #if ((' ' & 0x0FF) == 0x020)
12635 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12636 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12638 # define ISLOWER(c) \
12639 (('a' <= (c) && (c) <= 'i') \
12640 || ('j' <= (c) && (c) <= 'r') \
12641 || ('s' <= (c) && (c) <= 'z'))
12642 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12645 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12650 for (i = 0; i < 256; i++)
12651 if (XOR (islower (i), ISLOWER (i))
12652 || toupper (i) != TOUPPER (i))
12657 rm -f conftest
$ac_exeext
12658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12659 (eval $ac_link) 2>&5
12661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12662 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12664 (eval $ac_try) 2>&5
12666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12667 (exit $ac_status); }; }; then
12670 echo "$as_me: program exited with status $ac_status" >&5
12671 echo "$as_me: failed program was:" >&5
12672 sed 's/^/| /' conftest.
$ac_ext >&5
12674 ( exit $ac_status )
12675 ac_cv_header_stdc
=no
12677 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12681 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12682 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12683 if test $ac_cv_header_stdc = yes; then
12685 cat >>confdefs.h
<<\_ACEOF
12686 #define STDC_HEADERS 1
12691 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12701 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12702 inttypes.h stdint.h unistd.h
12704 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12705 echo "$as_me:$LINENO: checking for $ac_header" >&5
12706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12708 echo $ECHO_N "(cached) $ECHO_C" >&6
12710 cat >conftest.
$ac_ext <<_ACEOF
12713 cat confdefs.h
>>conftest.
$ac_ext
12714 cat >>conftest.
$ac_ext <<_ACEOF
12715 /* end confdefs.h. */
12716 $ac_includes_default
12718 #include <$ac_header>
12720 rm -f conftest.
$ac_objext
12721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12722 (eval $ac_compile) 2>conftest.er1
12724 grep -v '^ *+' conftest.er1
>conftest.err
12726 cat conftest.err
>&5
12727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12728 (exit $ac_status); } &&
12729 { ac_try
='test -z "$ac_c_werror_flag"
12730 || test ! -s conftest.err'
12731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12732 (eval $ac_try) 2>&5
12734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735 (exit $ac_status); }; } &&
12736 { ac_try
='test -s conftest.$ac_objext'
12737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12738 (eval $ac_try) 2>&5
12740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12741 (exit $ac_status); }; }; then
12742 eval "$as_ac_Header=yes"
12744 echo "$as_me: failed program was:" >&5
12745 sed 's/^/| /' conftest.
$ac_ext >&5
12747 eval "$as_ac_Header=no"
12749 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12754 cat >>confdefs.h
<<_ACEOF
12755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12764 for ac_header
in stdlib.h
12766 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12768 echo "$as_me:$LINENO: checking for $ac_header" >&5
12769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12771 echo $ECHO_N "(cached) $ECHO_C" >&6
12773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12776 # Is the header compilable?
12777 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12778 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12779 cat >conftest.
$ac_ext <<_ACEOF
12782 cat confdefs.h
>>conftest.
$ac_ext
12783 cat >>conftest.
$ac_ext <<_ACEOF
12784 /* end confdefs.h. */
12785 $ac_includes_default
12786 #include <$ac_header>
12788 rm -f conftest.
$ac_objext
12789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12790 (eval $ac_compile) 2>conftest.er1
12792 grep -v '^ *+' conftest.er1
>conftest.err
12794 cat conftest.err
>&5
12795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12796 (exit $ac_status); } &&
12797 { ac_try
='test -z "$ac_c_werror_flag"
12798 || test ! -s conftest.err'
12799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12800 (eval $ac_try) 2>&5
12802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12803 (exit $ac_status); }; } &&
12804 { ac_try
='test -s conftest.$ac_objext'
12805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12806 (eval $ac_try) 2>&5
12808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12809 (exit $ac_status); }; }; then
12810 ac_header_compiler
=yes
12812 echo "$as_me: failed program was:" >&5
12813 sed 's/^/| /' conftest.
$ac_ext >&5
12815 ac_header_compiler
=no
12817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12818 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12819 echo "${ECHO_T}$ac_header_compiler" >&6
12821 # Is the header present?
12822 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12823 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12824 cat >conftest.
$ac_ext <<_ACEOF
12827 cat confdefs.h
>>conftest.
$ac_ext
12828 cat >>conftest.
$ac_ext <<_ACEOF
12829 /* end confdefs.h. */
12830 #include <$ac_header>
12832 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12833 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12835 grep -v '^ *+' conftest.er1
>conftest.err
12837 cat conftest.err
>&5
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); } >/dev
/null
; then
12840 if test -s conftest.err
; then
12841 ac_cpp_err
=$ac_c_preproc_warn_flag
12842 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12849 if test -z "$ac_cpp_err"; then
12850 ac_header_preproc
=yes
12852 echo "$as_me: failed program was:" >&5
12853 sed 's/^/| /' conftest.
$ac_ext >&5
12855 ac_header_preproc
=no
12857 rm -f conftest.err conftest.
$ac_ext
12858 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12859 echo "${ECHO_T}$ac_header_preproc" >&6
12861 # So? What about this header?
12862 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12864 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12865 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12866 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12867 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12868 ac_header_preproc
=yes
12871 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12872 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12873 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12874 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12875 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12876 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12877 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12878 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12880 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12881 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12882 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12885 ## ----------------------------------------- ##
12886 ## Report this to wx-dev@lists.wxwidgets.org ##
12887 ## ----------------------------------------- ##
12890 sed "s/^/$as_me: WARNING: /" >&2
12893 echo "$as_me:$LINENO: checking for $ac_header" >&5
12894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12896 echo $ECHO_N "(cached) $ECHO_C" >&6
12898 eval "$as_ac_Header=\$ac_header_preproc"
12900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12901 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12904 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12905 cat >>confdefs.h
<<_ACEOF
12906 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12914 for ac_header
in malloc.h
12916 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12918 echo "$as_me:$LINENO: checking for $ac_header" >&5
12919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12921 echo $ECHO_N "(cached) $ECHO_C" >&6
12923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12924 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12926 # Is the header compilable?
12927 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12928 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12929 cat >conftest.
$ac_ext <<_ACEOF
12932 cat confdefs.h
>>conftest.
$ac_ext
12933 cat >>conftest.
$ac_ext <<_ACEOF
12934 /* end confdefs.h. */
12935 $ac_includes_default
12936 #include <$ac_header>
12938 rm -f conftest.
$ac_objext
12939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12940 (eval $ac_compile) 2>conftest.er1
12942 grep -v '^ *+' conftest.er1
>conftest.err
12944 cat conftest.err
>&5
12945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12946 (exit $ac_status); } &&
12947 { ac_try
='test -z "$ac_c_werror_flag"
12948 || test ! -s conftest.err'
12949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12950 (eval $ac_try) 2>&5
12952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953 (exit $ac_status); }; } &&
12954 { ac_try
='test -s conftest.$ac_objext'
12955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12956 (eval $ac_try) 2>&5
12958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12959 (exit $ac_status); }; }; then
12960 ac_header_compiler
=yes
12962 echo "$as_me: failed program was:" >&5
12963 sed 's/^/| /' conftest.
$ac_ext >&5
12965 ac_header_compiler
=no
12967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12968 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12969 echo "${ECHO_T}$ac_header_compiler" >&6
12971 # Is the header present?
12972 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12973 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12974 cat >conftest.
$ac_ext <<_ACEOF
12977 cat confdefs.h
>>conftest.
$ac_ext
12978 cat >>conftest.
$ac_ext <<_ACEOF
12979 /* end confdefs.h. */
12980 #include <$ac_header>
12982 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12983 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12985 grep -v '^ *+' conftest.er1
>conftest.err
12987 cat conftest.err
>&5
12988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12989 (exit $ac_status); } >/dev
/null
; then
12990 if test -s conftest.err
; then
12991 ac_cpp_err
=$ac_c_preproc_warn_flag
12992 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12999 if test -z "$ac_cpp_err"; then
13000 ac_header_preproc
=yes
13002 echo "$as_me: failed program was:" >&5
13003 sed 's/^/| /' conftest.
$ac_ext >&5
13005 ac_header_preproc
=no
13007 rm -f conftest.err conftest.
$ac_ext
13008 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13009 echo "${ECHO_T}$ac_header_preproc" >&6
13011 # So? What about this header?
13012 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13014 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13015 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13017 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13018 ac_header_preproc
=yes
13021 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13022 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13023 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13024 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13025 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13026 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13027 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13028 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13030 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13031 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13032 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13035 ## ----------------------------------------- ##
13036 ## Report this to wx-dev@lists.wxwidgets.org ##
13037 ## ----------------------------------------- ##
13040 sed "s/^/$as_me: WARNING: /" >&2
13043 echo "$as_me:$LINENO: checking for $ac_header" >&5
13044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13046 echo $ECHO_N "(cached) $ECHO_C" >&6
13048 eval "$as_ac_Header=\$ac_header_preproc"
13050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13051 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13054 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13055 cat >>confdefs.h
<<_ACEOF
13056 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13064 for ac_header
in unistd.h
13066 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13068 echo "$as_me:$LINENO: checking for $ac_header" >&5
13069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13071 echo $ECHO_N "(cached) $ECHO_C" >&6
13073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13074 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13076 # Is the header compilable?
13077 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13078 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13079 cat >conftest.
$ac_ext <<_ACEOF
13082 cat confdefs.h
>>conftest.
$ac_ext
13083 cat >>conftest.
$ac_ext <<_ACEOF
13084 /* end confdefs.h. */
13085 $ac_includes_default
13086 #include <$ac_header>
13088 rm -f conftest.
$ac_objext
13089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13090 (eval $ac_compile) 2>conftest.er1
13092 grep -v '^ *+' conftest.er1
>conftest.err
13094 cat conftest.err
>&5
13095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13096 (exit $ac_status); } &&
13097 { ac_try
='test -z "$ac_c_werror_flag"
13098 || test ! -s conftest.err'
13099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13100 (eval $ac_try) 2>&5
13102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13103 (exit $ac_status); }; } &&
13104 { ac_try
='test -s conftest.$ac_objext'
13105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13106 (eval $ac_try) 2>&5
13108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13109 (exit $ac_status); }; }; then
13110 ac_header_compiler
=yes
13112 echo "$as_me: failed program was:" >&5
13113 sed 's/^/| /' conftest.
$ac_ext >&5
13115 ac_header_compiler
=no
13117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13118 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13119 echo "${ECHO_T}$ac_header_compiler" >&6
13121 # Is the header present?
13122 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13123 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13124 cat >conftest.
$ac_ext <<_ACEOF
13127 cat confdefs.h
>>conftest.
$ac_ext
13128 cat >>conftest.
$ac_ext <<_ACEOF
13129 /* end confdefs.h. */
13130 #include <$ac_header>
13132 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13133 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13135 grep -v '^ *+' conftest.er1
>conftest.err
13137 cat conftest.err
>&5
13138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13139 (exit $ac_status); } >/dev
/null
; then
13140 if test -s conftest.err
; then
13141 ac_cpp_err
=$ac_c_preproc_warn_flag
13142 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13149 if test -z "$ac_cpp_err"; then
13150 ac_header_preproc
=yes
13152 echo "$as_me: failed program was:" >&5
13153 sed 's/^/| /' conftest.
$ac_ext >&5
13155 ac_header_preproc
=no
13157 rm -f conftest.err conftest.
$ac_ext
13158 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13159 echo "${ECHO_T}$ac_header_preproc" >&6
13161 # So? What about this header?
13162 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13164 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13165 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13166 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13167 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13168 ac_header_preproc
=yes
13171 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13172 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13173 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13174 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13175 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13176 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13177 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13178 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13179 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13180 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13181 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13182 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13185 ## ----------------------------------------- ##
13186 ## Report this to wx-dev@lists.wxwidgets.org ##
13187 ## ----------------------------------------- ##
13190 sed "s/^/$as_me: WARNING: /" >&2
13193 echo "$as_me:$LINENO: checking for $ac_header" >&5
13194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13196 echo $ECHO_N "(cached) $ECHO_C" >&6
13198 eval "$as_ac_Header=\$ac_header_preproc"
13200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13201 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13204 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13205 cat >>confdefs.h
<<_ACEOF
13206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13214 for ac_header
in wchar.h
13216 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13218 echo "$as_me:$LINENO: checking for $ac_header" >&5
13219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13221 echo $ECHO_N "(cached) $ECHO_C" >&6
13223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13226 # Is the header compilable?
13227 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13228 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13229 cat >conftest.
$ac_ext <<_ACEOF
13232 cat confdefs.h
>>conftest.
$ac_ext
13233 cat >>conftest.
$ac_ext <<_ACEOF
13234 /* end confdefs.h. */
13235 $ac_includes_default
13236 #include <$ac_header>
13238 rm -f conftest.
$ac_objext
13239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13240 (eval $ac_compile) 2>conftest.er1
13242 grep -v '^ *+' conftest.er1
>conftest.err
13244 cat conftest.err
>&5
13245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13246 (exit $ac_status); } &&
13247 { ac_try
='test -z "$ac_c_werror_flag"
13248 || test ! -s conftest.err'
13249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13250 (eval $ac_try) 2>&5
13252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13253 (exit $ac_status); }; } &&
13254 { ac_try
='test -s conftest.$ac_objext'
13255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13256 (eval $ac_try) 2>&5
13258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13259 (exit $ac_status); }; }; then
13260 ac_header_compiler
=yes
13262 echo "$as_me: failed program was:" >&5
13263 sed 's/^/| /' conftest.
$ac_ext >&5
13265 ac_header_compiler
=no
13267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13268 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13269 echo "${ECHO_T}$ac_header_compiler" >&6
13271 # Is the header present?
13272 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13273 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13274 cat >conftest.
$ac_ext <<_ACEOF
13277 cat confdefs.h
>>conftest.
$ac_ext
13278 cat >>conftest.
$ac_ext <<_ACEOF
13279 /* end confdefs.h. */
13280 #include <$ac_header>
13282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13283 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13285 grep -v '^ *+' conftest.er1
>conftest.err
13287 cat conftest.err
>&5
13288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13289 (exit $ac_status); } >/dev
/null
; then
13290 if test -s conftest.err
; then
13291 ac_cpp_err
=$ac_c_preproc_warn_flag
13292 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13299 if test -z "$ac_cpp_err"; then
13300 ac_header_preproc
=yes
13302 echo "$as_me: failed program was:" >&5
13303 sed 's/^/| /' conftest.
$ac_ext >&5
13305 ac_header_preproc
=no
13307 rm -f conftest.err conftest.
$ac_ext
13308 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13309 echo "${ECHO_T}$ac_header_preproc" >&6
13311 # So? What about this header?
13312 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13314 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13315 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13317 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13318 ac_header_preproc
=yes
13321 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13322 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13323 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13324 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13325 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13326 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13327 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13328 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13329 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13330 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13331 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13332 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13335 ## ----------------------------------------- ##
13336 ## Report this to wx-dev@lists.wxwidgets.org ##
13337 ## ----------------------------------------- ##
13340 sed "s/^/$as_me: WARNING: /" >&2
13343 echo "$as_me:$LINENO: checking for $ac_header" >&5
13344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13346 echo $ECHO_N "(cached) $ECHO_C" >&6
13348 eval "$as_ac_Header=\$ac_header_preproc"
13350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13355 cat >>confdefs.h
<<_ACEOF
13356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13364 if test "$ac_cv_header_wchar_h" != "yes"; then
13366 for ac_header
in wcstr.h
13368 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13370 echo "$as_me:$LINENO: checking for $ac_header" >&5
13371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13373 echo $ECHO_N "(cached) $ECHO_C" >&6
13375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13376 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13378 # Is the header compilable?
13379 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13380 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13381 cat >conftest.
$ac_ext <<_ACEOF
13384 cat confdefs.h
>>conftest.
$ac_ext
13385 cat >>conftest.
$ac_ext <<_ACEOF
13386 /* end confdefs.h. */
13387 $ac_includes_default
13388 #include <$ac_header>
13390 rm -f conftest.
$ac_objext
13391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13392 (eval $ac_compile) 2>conftest.er1
13394 grep -v '^ *+' conftest.er1
>conftest.err
13396 cat conftest.err
>&5
13397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13398 (exit $ac_status); } &&
13399 { ac_try
='test -z "$ac_c_werror_flag"
13400 || test ! -s conftest.err'
13401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13402 (eval $ac_try) 2>&5
13404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13405 (exit $ac_status); }; } &&
13406 { ac_try
='test -s conftest.$ac_objext'
13407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13408 (eval $ac_try) 2>&5
13410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13411 (exit $ac_status); }; }; then
13412 ac_header_compiler
=yes
13414 echo "$as_me: failed program was:" >&5
13415 sed 's/^/| /' conftest.
$ac_ext >&5
13417 ac_header_compiler
=no
13419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13420 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13421 echo "${ECHO_T}$ac_header_compiler" >&6
13423 # Is the header present?
13424 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13425 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13426 cat >conftest.
$ac_ext <<_ACEOF
13429 cat confdefs.h
>>conftest.
$ac_ext
13430 cat >>conftest.
$ac_ext <<_ACEOF
13431 /* end confdefs.h. */
13432 #include <$ac_header>
13434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13435 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13437 grep -v '^ *+' conftest.er1
>conftest.err
13439 cat conftest.err
>&5
13440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13441 (exit $ac_status); } >/dev
/null
; then
13442 if test -s conftest.err
; then
13443 ac_cpp_err
=$ac_c_preproc_warn_flag
13444 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13451 if test -z "$ac_cpp_err"; then
13452 ac_header_preproc
=yes
13454 echo "$as_me: failed program was:" >&5
13455 sed 's/^/| /' conftest.
$ac_ext >&5
13457 ac_header_preproc
=no
13459 rm -f conftest.err conftest.
$ac_ext
13460 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13461 echo "${ECHO_T}$ac_header_preproc" >&6
13463 # So? What about this header?
13464 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13466 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13467 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13469 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13470 ac_header_preproc
=yes
13473 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13474 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13475 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13476 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13477 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13478 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13479 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13480 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13482 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13483 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13484 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13487 ## ----------------------------------------- ##
13488 ## Report this to wx-dev@lists.wxwidgets.org ##
13489 ## ----------------------------------------- ##
13492 sed "s/^/$as_me: WARNING: /" >&2
13495 echo "$as_me:$LINENO: checking for $ac_header" >&5
13496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13498 echo $ECHO_N "(cached) $ECHO_C" >&6
13500 eval "$as_ac_Header=\$ac_header_preproc"
13502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13506 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13507 cat >>confdefs.h
<<_ACEOF
13508 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13518 for ac_header
in fnmatch.h
13520 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13522 echo "$as_me:$LINENO: checking for $ac_header" >&5
13523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13525 echo $ECHO_N "(cached) $ECHO_C" >&6
13527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13530 # Is the header compilable?
13531 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13532 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13533 cat >conftest.
$ac_ext <<_ACEOF
13536 cat confdefs.h
>>conftest.
$ac_ext
13537 cat >>conftest.
$ac_ext <<_ACEOF
13538 /* end confdefs.h. */
13539 $ac_includes_default
13540 #include <$ac_header>
13542 rm -f conftest.
$ac_objext
13543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13544 (eval $ac_compile) 2>conftest.er1
13546 grep -v '^ *+' conftest.er1
>conftest.err
13548 cat conftest.err
>&5
13549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13550 (exit $ac_status); } &&
13551 { ac_try
='test -z "$ac_c_werror_flag"
13552 || test ! -s conftest.err'
13553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13554 (eval $ac_try) 2>&5
13556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13557 (exit $ac_status); }; } &&
13558 { ac_try
='test -s conftest.$ac_objext'
13559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13560 (eval $ac_try) 2>&5
13562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13563 (exit $ac_status); }; }; then
13564 ac_header_compiler
=yes
13566 echo "$as_me: failed program was:" >&5
13567 sed 's/^/| /' conftest.
$ac_ext >&5
13569 ac_header_compiler
=no
13571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13572 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13573 echo "${ECHO_T}$ac_header_compiler" >&6
13575 # Is the header present?
13576 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13577 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13578 cat >conftest.
$ac_ext <<_ACEOF
13581 cat confdefs.h
>>conftest.
$ac_ext
13582 cat >>conftest.
$ac_ext <<_ACEOF
13583 /* end confdefs.h. */
13584 #include <$ac_header>
13586 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13587 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13589 grep -v '^ *+' conftest.er1
>conftest.err
13591 cat conftest.err
>&5
13592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13593 (exit $ac_status); } >/dev
/null
; then
13594 if test -s conftest.err
; then
13595 ac_cpp_err
=$ac_c_preproc_warn_flag
13596 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13603 if test -z "$ac_cpp_err"; then
13604 ac_header_preproc
=yes
13606 echo "$as_me: failed program was:" >&5
13607 sed 's/^/| /' conftest.
$ac_ext >&5
13609 ac_header_preproc
=no
13611 rm -f conftest.err conftest.
$ac_ext
13612 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13613 echo "${ECHO_T}$ac_header_preproc" >&6
13615 # So? What about this header?
13616 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13618 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13619 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13621 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13622 ac_header_preproc
=yes
13625 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13626 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13627 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13628 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13629 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13630 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13631 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13632 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13633 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13634 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13635 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13636 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13639 ## ----------------------------------------- ##
13640 ## Report this to wx-dev@lists.wxwidgets.org ##
13641 ## ----------------------------------------- ##
13644 sed "s/^/$as_me: WARNING: /" >&2
13647 echo "$as_me:$LINENO: checking for $ac_header" >&5
13648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13649 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13650 echo $ECHO_N "(cached) $ECHO_C" >&6
13652 eval "$as_ac_Header=\$ac_header_preproc"
13654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13655 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13658 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13659 cat >>confdefs.h
<<_ACEOF
13660 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13668 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13670 for ac_func
in fnmatch
13672 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13673 echo "$as_me:$LINENO: checking for $ac_func" >&5
13674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13675 if eval "test \"\${$as_ac_var+set}\" = set"; then
13676 echo $ECHO_N "(cached) $ECHO_C" >&6
13678 cat >conftest.
$ac_ext <<_ACEOF
13681 cat confdefs.h
>>conftest.
$ac_ext
13682 cat >>conftest.
$ac_ext <<_ACEOF
13683 /* end confdefs.h. */
13684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13686 #define $ac_func innocuous_$ac_func
13688 /* System header to define __stub macros and hopefully few prototypes,
13689 which can conflict with char $ac_func (); below.
13690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13691 <limits.h> exists even on freestanding compilers. */
13694 # include <limits.h>
13696 # include <assert.h>
13701 /* Override any gcc2 internal prototype to avoid an error. */
13706 /* We use char because int might match the return type of a gcc2
13707 builtin and then its argument prototype would still apply. */
13709 /* The GNU C library defines this for functions which it implements
13710 to always fail with ENOSYS. Some functions are actually named
13711 something starting with __ and the normal name is an alias. */
13712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13715 char (*f) () = $ac_func;
13724 return f != $ac_func;
13729 rm -f conftest.
$ac_objext conftest
$ac_exeext
13730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13731 (eval $ac_link) 2>conftest.er1
13733 grep -v '^ *+' conftest.er1
>conftest.err
13735 cat conftest.err
>&5
13736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13737 (exit $ac_status); } &&
13738 { ac_try
='test -z "$ac_c_werror_flag"
13739 || test ! -s conftest.err'
13740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13741 (eval $ac_try) 2>&5
13743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13744 (exit $ac_status); }; } &&
13745 { ac_try
='test -s conftest$ac_exeext'
13746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13747 (eval $ac_try) 2>&5
13749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13750 (exit $ac_status); }; }; then
13751 eval "$as_ac_var=yes"
13753 echo "$as_me: failed program was:" >&5
13754 sed 's/^/| /' conftest.
$ac_ext >&5
13756 eval "$as_ac_var=no"
13758 rm -f conftest.err conftest.
$ac_objext \
13759 conftest
$ac_exeext conftest.
$ac_ext
13761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13763 if test `eval echo '${'$as_ac_var'}'` = yes; then
13764 cat >>confdefs.h
<<_ACEOF
13765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13774 for ac_header
in langinfo.h
13776 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13778 echo "$as_me:$LINENO: checking for $ac_header" >&5
13779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13781 echo $ECHO_N "(cached) $ECHO_C" >&6
13783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13786 # Is the header compilable?
13787 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13788 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13789 cat >conftest.
$ac_ext <<_ACEOF
13792 cat confdefs.h
>>conftest.
$ac_ext
13793 cat >>conftest.
$ac_ext <<_ACEOF
13794 /* end confdefs.h. */
13795 $ac_includes_default
13796 #include <$ac_header>
13798 rm -f conftest.
$ac_objext
13799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13800 (eval $ac_compile) 2>conftest.er1
13802 grep -v '^ *+' conftest.er1
>conftest.err
13804 cat conftest.err
>&5
13805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13806 (exit $ac_status); } &&
13807 { ac_try
='test -z "$ac_c_werror_flag"
13808 || test ! -s conftest.err'
13809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13810 (eval $ac_try) 2>&5
13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813 (exit $ac_status); }; } &&
13814 { ac_try
='test -s conftest.$ac_objext'
13815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13816 (eval $ac_try) 2>&5
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); }; }; then
13820 ac_header_compiler
=yes
13822 echo "$as_me: failed program was:" >&5
13823 sed 's/^/| /' conftest.
$ac_ext >&5
13825 ac_header_compiler
=no
13827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13828 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13829 echo "${ECHO_T}$ac_header_compiler" >&6
13831 # Is the header present?
13832 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13833 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13834 cat >conftest.
$ac_ext <<_ACEOF
13837 cat confdefs.h
>>conftest.
$ac_ext
13838 cat >>conftest.
$ac_ext <<_ACEOF
13839 /* end confdefs.h. */
13840 #include <$ac_header>
13842 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13843 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13845 grep -v '^ *+' conftest.er1
>conftest.err
13847 cat conftest.err
>&5
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); } >/dev
/null
; then
13850 if test -s conftest.err
; then
13851 ac_cpp_err
=$ac_c_preproc_warn_flag
13852 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13859 if test -z "$ac_cpp_err"; then
13860 ac_header_preproc
=yes
13862 echo "$as_me: failed program was:" >&5
13863 sed 's/^/| /' conftest.
$ac_ext >&5
13865 ac_header_preproc
=no
13867 rm -f conftest.err conftest.
$ac_ext
13868 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13869 echo "${ECHO_T}$ac_header_preproc" >&6
13871 # So? What about this header?
13872 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13874 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13875 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13876 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13877 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13878 ac_header_preproc
=yes
13881 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13882 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13883 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13884 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13885 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13886 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13887 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13888 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13889 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13890 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13891 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13892 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13895 ## ----------------------------------------- ##
13896 ## Report this to wx-dev@lists.wxwidgets.org ##
13897 ## ----------------------------------------- ##
13900 sed "s/^/$as_me: WARNING: /" >&2
13903 echo "$as_me:$LINENO: checking for $ac_header" >&5
13904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13906 echo $ECHO_N "(cached) $ECHO_C" >&6
13908 eval "$as_ac_Header=\$ac_header_preproc"
13910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13911 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13915 cat >>confdefs.h
<<_ACEOF
13916 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13925 *-pc-os2_emx | *-pc-os2-emx )
13926 if test $ac_cv_header_langinfo_h = "yes"; then
13927 LIBS
="$LIBS -lintl"
13932 if test "$wxUSE_GUI" = "yes"; then
13933 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13935 for ac_header
in X
11/Xlib.h
13937 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13939 echo "$as_me:$LINENO: checking for $ac_header" >&5
13940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13942 echo $ECHO_N "(cached) $ECHO_C" >&6
13944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13945 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13947 # Is the header compilable?
13948 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13949 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13950 cat >conftest.
$ac_ext <<_ACEOF
13953 cat confdefs.h
>>conftest.
$ac_ext
13954 cat >>conftest.
$ac_ext <<_ACEOF
13955 /* end confdefs.h. */
13956 $ac_includes_default
13957 #include <$ac_header>
13959 rm -f conftest.
$ac_objext
13960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13961 (eval $ac_compile) 2>conftest.er1
13963 grep -v '^ *+' conftest.er1
>conftest.err
13965 cat conftest.err
>&5
13966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13967 (exit $ac_status); } &&
13968 { ac_try
='test -z "$ac_c_werror_flag"
13969 || test ! -s conftest.err'
13970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13971 (eval $ac_try) 2>&5
13973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13974 (exit $ac_status); }; } &&
13975 { ac_try
='test -s conftest.$ac_objext'
13976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13977 (eval $ac_try) 2>&5
13979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13980 (exit $ac_status); }; }; then
13981 ac_header_compiler
=yes
13983 echo "$as_me: failed program was:" >&5
13984 sed 's/^/| /' conftest.
$ac_ext >&5
13986 ac_header_compiler
=no
13988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13989 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13990 echo "${ECHO_T}$ac_header_compiler" >&6
13992 # Is the header present?
13993 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13994 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13995 cat >conftest.
$ac_ext <<_ACEOF
13998 cat confdefs.h
>>conftest.
$ac_ext
13999 cat >>conftest.
$ac_ext <<_ACEOF
14000 /* end confdefs.h. */
14001 #include <$ac_header>
14003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14004 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14006 grep -v '^ *+' conftest.er1
>conftest.err
14008 cat conftest.err
>&5
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 (exit $ac_status); } >/dev
/null
; then
14011 if test -s conftest.err
; then
14012 ac_cpp_err
=$ac_c_preproc_warn_flag
14013 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14020 if test -z "$ac_cpp_err"; then
14021 ac_header_preproc
=yes
14023 echo "$as_me: failed program was:" >&5
14024 sed 's/^/| /' conftest.
$ac_ext >&5
14026 ac_header_preproc
=no
14028 rm -f conftest.err conftest.
$ac_ext
14029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14030 echo "${ECHO_T}$ac_header_preproc" >&6
14032 # So? What about this header?
14033 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14035 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14036 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14038 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14039 ac_header_preproc
=yes
14042 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14043 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14044 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14045 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14046 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14047 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14048 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14049 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14051 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14052 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14053 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14056 ## ----------------------------------------- ##
14057 ## Report this to wx-dev@lists.wxwidgets.org ##
14058 ## ----------------------------------------- ##
14061 sed "s/^/$as_me: WARNING: /" >&2
14064 echo "$as_me:$LINENO: checking for $ac_header" >&5
14065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14067 echo $ECHO_N "(cached) $ECHO_C" >&6
14069 eval "$as_ac_Header=\$ac_header_preproc"
14071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14076 cat >>confdefs.h
<<_ACEOF
14077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14085 for ac_header
in X
11/XKBlib.h
14087 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14088 echo "$as_me:$LINENO: checking for $ac_header" >&5
14089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14091 echo $ECHO_N "(cached) $ECHO_C" >&6
14093 cat >conftest.
$ac_ext <<_ACEOF
14096 cat confdefs.h
>>conftest.
$ac_ext
14097 cat >>conftest.
$ac_ext <<_ACEOF
14098 /* end confdefs.h. */
14100 #if HAVE_X11_XLIB_H
14101 #include <X11/Xlib.h>
14105 #include <$ac_header>
14107 rm -f conftest.
$ac_objext
14108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14109 (eval $ac_compile) 2>conftest.er1
14111 grep -v '^ *+' conftest.er1
>conftest.err
14113 cat conftest.err
>&5
14114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115 (exit $ac_status); } &&
14116 { ac_try
='test -z "$ac_c_werror_flag"
14117 || test ! -s conftest.err'
14118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14119 (eval $ac_try) 2>&5
14121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14122 (exit $ac_status); }; } &&
14123 { ac_try
='test -s conftest.$ac_objext'
14124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14125 (eval $ac_try) 2>&5
14127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14128 (exit $ac_status); }; }; then
14129 eval "$as_ac_Header=yes"
14131 echo "$as_me: failed program was:" >&5
14132 sed 's/^/| /' conftest.
$ac_ext >&5
14134 eval "$as_ac_Header=no"
14136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14139 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14140 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14141 cat >>confdefs.h
<<_ACEOF
14142 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14153 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14154 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14155 if test "${ac_cv_c_const+set}" = set; then
14156 echo $ECHO_N "(cached) $ECHO_C" >&6
14158 cat >conftest.
$ac_ext <<_ACEOF
14161 cat confdefs.h
>>conftest.
$ac_ext
14162 cat >>conftest.
$ac_ext <<_ACEOF
14163 /* end confdefs.h. */
14168 /* FIXME: Include the comments suggested by Paul. */
14169 #ifndef __cplusplus
14170 /* Ultrix mips cc rejects this. */
14171 typedef int charset[2];
14173 /* SunOS 4.1.1 cc rejects this. */
14174 char const *const *ccp;
14176 /* NEC SVR4.0.2 mips cc rejects this. */
14177 struct point {int x, y;};
14178 static struct point const zero = {0,0};
14179 /* AIX XL C 1.02.0.0 rejects this.
14180 It does not let you subtract one const X* pointer from another in
14181 an arm of an if-expression whose if-part is not a constant
14183 const char *g = "string";
14184 ccp = &g + (g ? g-g : 0);
14185 /* HPUX 7.0 cc rejects these. */
14188 ccp = (char const *const *) p;
14189 { /* SCO 3.2v4 cc rejects this. */
14191 char const *s = 0 ? (char *) 0 : (char const *) 0;
14195 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14196 int x[] = {25, 17};
14197 const int *foo = &x[0];
14200 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14201 typedef const int *iptr;
14205 { /* AIX XL C 1.02.0.0 rejects this saying
14206 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14207 struct s { int j; const int *ap[3]; };
14208 struct s *b; b->j = 5;
14210 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14211 const int foo = 10;
14219 rm -f conftest.
$ac_objext
14220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14221 (eval $ac_compile) 2>conftest.er1
14223 grep -v '^ *+' conftest.er1
>conftest.err
14225 cat conftest.err
>&5
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); } &&
14228 { ac_try
='test -z "$ac_c_werror_flag"
14229 || test ! -s conftest.err'
14230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14231 (eval $ac_try) 2>&5
14233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 (exit $ac_status); }; } &&
14235 { ac_try
='test -s conftest.$ac_objext'
14236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14237 (eval $ac_try) 2>&5
14239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14240 (exit $ac_status); }; }; then
14243 echo "$as_me: failed program was:" >&5
14244 sed 's/^/| /' conftest.
$ac_ext >&5
14248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14250 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14251 echo "${ECHO_T}$ac_cv_c_const" >&6
14252 if test $ac_cv_c_const = no
; then
14254 cat >>confdefs.h
<<\_ACEOF
14260 echo "$as_me:$LINENO: checking for inline" >&5
14261 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14262 if test "${ac_cv_c_inline+set}" = set; then
14263 echo $ECHO_N "(cached) $ECHO_C" >&6
14266 for ac_kw
in inline __inline__ __inline
; do
14267 cat >conftest.
$ac_ext <<_ACEOF
14270 cat confdefs.h
>>conftest.
$ac_ext
14271 cat >>conftest.
$ac_ext <<_ACEOF
14272 /* end confdefs.h. */
14273 #ifndef __cplusplus
14275 static $ac_kw foo_t static_foo () {return 0; }
14276 $ac_kw foo_t foo () {return 0; }
14280 rm -f conftest.
$ac_objext
14281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14282 (eval $ac_compile) 2>conftest.er1
14284 grep -v '^ *+' conftest.er1
>conftest.err
14286 cat conftest.err
>&5
14287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14288 (exit $ac_status); } &&
14289 { ac_try
='test -z "$ac_c_werror_flag"
14290 || test ! -s conftest.err'
14291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14292 (eval $ac_try) 2>&5
14294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); }; } &&
14296 { ac_try
='test -s conftest.$ac_objext'
14297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14298 (eval $ac_try) 2>&5
14300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301 (exit $ac_status); }; }; then
14302 ac_cv_c_inline
=$ac_kw; break
14304 echo "$as_me: failed program was:" >&5
14305 sed 's/^/| /' conftest.
$ac_ext >&5
14308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14312 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14313 echo "${ECHO_T}$ac_cv_c_inline" >&6
14316 case $ac_cv_c_inline in
14319 case $ac_cv_c_inline in
14321 *) ac_val
=$ac_cv_c_inline;;
14323 cat >>confdefs.h
<<_ACEOF
14324 #ifndef __cplusplus
14325 #define inline $ac_val
14332 echo "$as_me:$LINENO: checking for char" >&5
14333 echo $ECHO_N "checking for char... $ECHO_C" >&6
14334 if test "${ac_cv_type_char+set}" = set; then
14335 echo $ECHO_N "(cached) $ECHO_C" >&6
14337 cat >conftest.
$ac_ext <<_ACEOF
14340 cat confdefs.h
>>conftest.
$ac_ext
14341 cat >>conftest.
$ac_ext <<_ACEOF
14342 /* end confdefs.h. */
14343 $ac_includes_default
14355 rm -f conftest.
$ac_objext
14356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14357 (eval $ac_compile) 2>conftest.er1
14359 grep -v '^ *+' conftest.er1
>conftest.err
14361 cat conftest.err
>&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); } &&
14364 { ac_try
='test -z "$ac_c_werror_flag"
14365 || test ! -s conftest.err'
14366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14367 (eval $ac_try) 2>&5
14369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 (exit $ac_status); }; } &&
14371 { ac_try
='test -s conftest.$ac_objext'
14372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14373 (eval $ac_try) 2>&5
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); }; }; then
14377 ac_cv_type_char
=yes
14379 echo "$as_me: failed program was:" >&5
14380 sed 's/^/| /' conftest.
$ac_ext >&5
14384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14386 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14387 echo "${ECHO_T}$ac_cv_type_char" >&6
14389 echo "$as_me:$LINENO: checking size of char" >&5
14390 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14391 if test "${ac_cv_sizeof_char+set}" = set; then
14392 echo $ECHO_N "(cached) $ECHO_C" >&6
14394 if test "$ac_cv_type_char" = yes; then
14395 # The cast to unsigned long works around a bug in the HP C Compiler
14396 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14397 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14398 # This bug is HP SR number 8606223364.
14399 if test "$cross_compiling" = yes; then
14400 # Depending upon the size, compute the lo and hi bounds.
14401 cat >conftest.
$ac_ext <<_ACEOF
14404 cat confdefs.h
>>conftest.
$ac_ext
14405 cat >>conftest.
$ac_ext <<_ACEOF
14406 /* end confdefs.h. */
14407 $ac_includes_default
14411 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14418 rm -f conftest.
$ac_objext
14419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14420 (eval $ac_compile) 2>conftest.er1
14422 grep -v '^ *+' conftest.er1
>conftest.err
14424 cat conftest.err
>&5
14425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14426 (exit $ac_status); } &&
14427 { ac_try
='test -z "$ac_c_werror_flag"
14428 || test ! -s conftest.err'
14429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14430 (eval $ac_try) 2>&5
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); }; } &&
14434 { ac_try
='test -s conftest.$ac_objext'
14435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14436 (eval $ac_try) 2>&5
14438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14439 (exit $ac_status); }; }; then
14442 cat >conftest.
$ac_ext <<_ACEOF
14445 cat confdefs.h
>>conftest.
$ac_ext
14446 cat >>conftest.
$ac_ext <<_ACEOF
14447 /* end confdefs.h. */
14448 $ac_includes_default
14452 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14459 rm -f conftest.
$ac_objext
14460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14461 (eval $ac_compile) 2>conftest.er1
14463 grep -v '^ *+' conftest.er1
>conftest.err
14465 cat conftest.err
>&5
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); } &&
14468 { ac_try
='test -z "$ac_c_werror_flag"
14469 || test ! -s conftest.err'
14470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14471 (eval $ac_try) 2>&5
14473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474 (exit $ac_status); }; } &&
14475 { ac_try
='test -s conftest.$ac_objext'
14476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14477 (eval $ac_try) 2>&5
14479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14480 (exit $ac_status); }; }; then
14481 ac_hi
=$ac_mid; break
14483 echo "$as_me: failed program was:" >&5
14484 sed 's/^/| /' conftest.
$ac_ext >&5
14486 ac_lo
=`expr $ac_mid + 1`
14487 if test $ac_lo -le $ac_mid; then
14491 ac_mid
=`expr 2 '*' $ac_mid + 1`
14493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14496 echo "$as_me: failed program was:" >&5
14497 sed 's/^/| /' conftest.
$ac_ext >&5
14499 cat >conftest.
$ac_ext <<_ACEOF
14502 cat confdefs.h
>>conftest.
$ac_ext
14503 cat >>conftest.
$ac_ext <<_ACEOF
14504 /* end confdefs.h. */
14505 $ac_includes_default
14509 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14516 rm -f conftest.
$ac_objext
14517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14518 (eval $ac_compile) 2>conftest.er1
14520 grep -v '^ *+' conftest.er1
>conftest.err
14522 cat conftest.err
>&5
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); } &&
14525 { ac_try
='test -z "$ac_c_werror_flag"
14526 || test ! -s conftest.err'
14527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14528 (eval $ac_try) 2>&5
14530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); }; } &&
14532 { ac_try
='test -s conftest.$ac_objext'
14533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14534 (eval $ac_try) 2>&5
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 (exit $ac_status); }; }; then
14540 cat >conftest.
$ac_ext <<_ACEOF
14543 cat confdefs.h
>>conftest.
$ac_ext
14544 cat >>conftest.
$ac_ext <<_ACEOF
14545 /* end confdefs.h. */
14546 $ac_includes_default
14550 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14557 rm -f conftest.
$ac_objext
14558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14559 (eval $ac_compile) 2>conftest.er1
14561 grep -v '^ *+' conftest.er1
>conftest.err
14563 cat conftest.err
>&5
14564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); } &&
14566 { ac_try
='test -z "$ac_c_werror_flag"
14567 || test ! -s conftest.err'
14568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14569 (eval $ac_try) 2>&5
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); }; } &&
14573 { ac_try
='test -s conftest.$ac_objext'
14574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14575 (eval $ac_try) 2>&5
14577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14578 (exit $ac_status); }; }; then
14579 ac_lo
=$ac_mid; break
14581 echo "$as_me: failed program was:" >&5
14582 sed 's/^/| /' conftest.
$ac_ext >&5
14584 ac_hi
=`expr '(' $ac_mid ')' - 1`
14585 if test $ac_mid -le $ac_hi; then
14589 ac_mid
=`expr 2 '*' $ac_mid`
14591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14594 echo "$as_me: failed program was:" >&5
14595 sed 's/^/| /' conftest.
$ac_ext >&5
14599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14602 # Binary search between lo and hi bounds.
14603 while test "x$ac_lo" != "x$ac_hi"; do
14604 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14605 cat >conftest.
$ac_ext <<_ACEOF
14608 cat confdefs.h
>>conftest.
$ac_ext
14609 cat >>conftest.
$ac_ext <<_ACEOF
14610 /* end confdefs.h. */
14611 $ac_includes_default
14615 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14622 rm -f conftest.
$ac_objext
14623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14624 (eval $ac_compile) 2>conftest.er1
14626 grep -v '^ *+' conftest.er1
>conftest.err
14628 cat conftest.err
>&5
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 (exit $ac_status); } &&
14631 { ac_try
='test -z "$ac_c_werror_flag"
14632 || test ! -s conftest.err'
14633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14634 (eval $ac_try) 2>&5
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); }; } &&
14638 { ac_try
='test -s conftest.$ac_objext'
14639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14640 (eval $ac_try) 2>&5
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); }; }; then
14646 echo "$as_me: failed program was:" >&5
14647 sed 's/^/| /' conftest.
$ac_ext >&5
14649 ac_lo
=`expr '(' $ac_mid ')' + 1`
14651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14654 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14655 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14656 See \`config.log' for more details." >&5
14657 echo "$as_me: error: cannot compute sizeof (char), 77
14658 See \`config.log' for more details." >&2;}
14659 { (exit 1); exit 1; }; } ;;
14662 if test "$cross_compiling" = yes; then
14663 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14664 See \`config.log' for more details." >&5
14665 echo "$as_me: error: cannot run test program while cross compiling
14666 See \`config.log' for more details." >&2;}
14667 { (exit 1); exit 1; }; }
14669 cat >conftest.
$ac_ext <<_ACEOF
14672 cat confdefs.h
>>conftest.
$ac_ext
14673 cat >>conftest.
$ac_ext <<_ACEOF
14674 /* end confdefs.h. */
14675 $ac_includes_default
14676 long longval () { return (long) (sizeof (char)); }
14677 unsigned long ulongval () { return (long) (sizeof (char)); }
14679 #include <stdlib.h>
14684 FILE *f = fopen ("conftest.val", "w");
14687 if (((long) (sizeof (char))) < 0)
14689 long i = longval ();
14690 if (i != ((long) (sizeof (char))))
14692 fprintf (f, "%ld\n", i);
14696 unsigned long i = ulongval ();
14697 if (i != ((long) (sizeof (char))))
14699 fprintf (f, "%lu\n", i);
14701 exit (ferror (f) || fclose (f) != 0);
14707 rm -f conftest
$ac_exeext
14708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14709 (eval $ac_link) 2>&5
14711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14712 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14714 (eval $ac_try) 2>&5
14716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14717 (exit $ac_status); }; }; then
14718 ac_cv_sizeof_char
=`cat conftest.val`
14720 echo "$as_me: program exited with status $ac_status" >&5
14721 echo "$as_me: failed program was:" >&5
14722 sed 's/^/| /' conftest.
$ac_ext >&5
14724 ( exit $ac_status )
14725 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14726 See \`config.log' for more details." >&5
14727 echo "$as_me: error: cannot compute sizeof (char), 77
14728 See \`config.log' for more details." >&2;}
14729 { (exit 1); exit 1; }; }
14731 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14736 ac_cv_sizeof_char
=0
14739 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14740 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14741 cat >>confdefs.h
<<_ACEOF
14742 #define SIZEOF_CHAR $ac_cv_sizeof_char
14746 echo "$as_me:$LINENO: checking for short" >&5
14747 echo $ECHO_N "checking for short... $ECHO_C" >&6
14748 if test "${ac_cv_type_short+set}" = set; then
14749 echo $ECHO_N "(cached) $ECHO_C" >&6
14751 cat >conftest.
$ac_ext <<_ACEOF
14754 cat confdefs.h
>>conftest.
$ac_ext
14755 cat >>conftest.
$ac_ext <<_ACEOF
14756 /* end confdefs.h. */
14757 $ac_includes_default
14763 if (sizeof (short))
14769 rm -f conftest.
$ac_objext
14770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14771 (eval $ac_compile) 2>conftest.er1
14773 grep -v '^ *+' conftest.er1
>conftest.err
14775 cat conftest.err
>&5
14776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14777 (exit $ac_status); } &&
14778 { ac_try
='test -z "$ac_c_werror_flag"
14779 || test ! -s conftest.err'
14780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14781 (eval $ac_try) 2>&5
14783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14784 (exit $ac_status); }; } &&
14785 { ac_try
='test -s conftest.$ac_objext'
14786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14787 (eval $ac_try) 2>&5
14789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 (exit $ac_status); }; }; then
14791 ac_cv_type_short
=yes
14793 echo "$as_me: failed program was:" >&5
14794 sed 's/^/| /' conftest.
$ac_ext >&5
14796 ac_cv_type_short
=no
14798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14800 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14801 echo "${ECHO_T}$ac_cv_type_short" >&6
14803 echo "$as_me:$LINENO: checking size of short" >&5
14804 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14805 if test "${ac_cv_sizeof_short+set}" = set; then
14806 echo $ECHO_N "(cached) $ECHO_C" >&6
14808 if test "$ac_cv_type_short" = yes; then
14809 # The cast to unsigned long works around a bug in the HP C Compiler
14810 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14811 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14812 # This bug is HP SR number 8606223364.
14813 if test "$cross_compiling" = yes; then
14814 # Depending upon the size, compute the lo and hi bounds.
14815 cat >conftest.
$ac_ext <<_ACEOF
14818 cat confdefs.h
>>conftest.
$ac_ext
14819 cat >>conftest.
$ac_ext <<_ACEOF
14820 /* end confdefs.h. */
14821 $ac_includes_default
14825 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14832 rm -f conftest.
$ac_objext
14833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14834 (eval $ac_compile) 2>conftest.er1
14836 grep -v '^ *+' conftest.er1
>conftest.err
14838 cat conftest.err
>&5
14839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14840 (exit $ac_status); } &&
14841 { ac_try
='test -z "$ac_c_werror_flag"
14842 || test ! -s conftest.err'
14843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14844 (eval $ac_try) 2>&5
14846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14847 (exit $ac_status); }; } &&
14848 { ac_try
='test -s conftest.$ac_objext'
14849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14850 (eval $ac_try) 2>&5
14852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14853 (exit $ac_status); }; }; then
14856 cat >conftest.
$ac_ext <<_ACEOF
14859 cat confdefs.h
>>conftest.
$ac_ext
14860 cat >>conftest.
$ac_ext <<_ACEOF
14861 /* end confdefs.h. */
14862 $ac_includes_default
14866 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14873 rm -f conftest.
$ac_objext
14874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14875 (eval $ac_compile) 2>conftest.er1
14877 grep -v '^ *+' conftest.er1
>conftest.err
14879 cat conftest.err
>&5
14880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14881 (exit $ac_status); } &&
14882 { ac_try
='test -z "$ac_c_werror_flag"
14883 || test ! -s conftest.err'
14884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14885 (eval $ac_try) 2>&5
14887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14888 (exit $ac_status); }; } &&
14889 { ac_try
='test -s conftest.$ac_objext'
14890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14891 (eval $ac_try) 2>&5
14893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894 (exit $ac_status); }; }; then
14895 ac_hi
=$ac_mid; break
14897 echo "$as_me: failed program was:" >&5
14898 sed 's/^/| /' conftest.
$ac_ext >&5
14900 ac_lo
=`expr $ac_mid + 1`
14901 if test $ac_lo -le $ac_mid; then
14905 ac_mid
=`expr 2 '*' $ac_mid + 1`
14907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14910 echo "$as_me: failed program was:" >&5
14911 sed 's/^/| /' conftest.
$ac_ext >&5
14913 cat >conftest.
$ac_ext <<_ACEOF
14916 cat confdefs.h
>>conftest.
$ac_ext
14917 cat >>conftest.
$ac_ext <<_ACEOF
14918 /* end confdefs.h. */
14919 $ac_includes_default
14923 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14930 rm -f conftest.
$ac_objext
14931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14932 (eval $ac_compile) 2>conftest.er1
14934 grep -v '^ *+' conftest.er1
>conftest.err
14936 cat conftest.err
>&5
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); } &&
14939 { ac_try
='test -z "$ac_c_werror_flag"
14940 || test ! -s conftest.err'
14941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14942 (eval $ac_try) 2>&5
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); }; } &&
14946 { ac_try
='test -s conftest.$ac_objext'
14947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14948 (eval $ac_try) 2>&5
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); }; }; then
14954 cat >conftest.
$ac_ext <<_ACEOF
14957 cat confdefs.h
>>conftest.
$ac_ext
14958 cat >>conftest.
$ac_ext <<_ACEOF
14959 /* end confdefs.h. */
14960 $ac_includes_default
14964 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14971 rm -f conftest.
$ac_objext
14972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14973 (eval $ac_compile) 2>conftest.er1
14975 grep -v '^ *+' conftest.er1
>conftest.err
14977 cat conftest.err
>&5
14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979 (exit $ac_status); } &&
14980 { ac_try
='test -z "$ac_c_werror_flag"
14981 || test ! -s conftest.err'
14982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14983 (eval $ac_try) 2>&5
14985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14986 (exit $ac_status); }; } &&
14987 { ac_try
='test -s conftest.$ac_objext'
14988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14989 (eval $ac_try) 2>&5
14991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992 (exit $ac_status); }; }; then
14993 ac_lo
=$ac_mid; break
14995 echo "$as_me: failed program was:" >&5
14996 sed 's/^/| /' conftest.
$ac_ext >&5
14998 ac_hi
=`expr '(' $ac_mid ')' - 1`
14999 if test $ac_mid -le $ac_hi; then
15003 ac_mid
=`expr 2 '*' $ac_mid`
15005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15008 echo "$as_me: failed program was:" >&5
15009 sed 's/^/| /' conftest.
$ac_ext >&5
15013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15016 # Binary search between lo and hi bounds.
15017 while test "x$ac_lo" != "x$ac_hi"; do
15018 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15019 cat >conftest.
$ac_ext <<_ACEOF
15022 cat confdefs.h
>>conftest.
$ac_ext
15023 cat >>conftest.
$ac_ext <<_ACEOF
15024 /* end confdefs.h. */
15025 $ac_includes_default
15029 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15036 rm -f conftest.
$ac_objext
15037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15038 (eval $ac_compile) 2>conftest.er1
15040 grep -v '^ *+' conftest.er1
>conftest.err
15042 cat conftest.err
>&5
15043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044 (exit $ac_status); } &&
15045 { ac_try
='test -z "$ac_c_werror_flag"
15046 || test ! -s conftest.err'
15047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15048 (eval $ac_try) 2>&5
15050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15051 (exit $ac_status); }; } &&
15052 { ac_try
='test -s conftest.$ac_objext'
15053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15054 (eval $ac_try) 2>&5
15056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); }; }; then
15060 echo "$as_me: failed program was:" >&5
15061 sed 's/^/| /' conftest.
$ac_ext >&5
15063 ac_lo
=`expr '(' $ac_mid ')' + 1`
15065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15068 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15069 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15070 See \`config.log' for more details." >&5
15071 echo "$as_me: error: cannot compute sizeof (short), 77
15072 See \`config.log' for more details." >&2;}
15073 { (exit 1); exit 1; }; } ;;
15076 if test "$cross_compiling" = yes; then
15077 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15078 See \`config.log' for more details." >&5
15079 echo "$as_me: error: cannot run test program while cross compiling
15080 See \`config.log' for more details." >&2;}
15081 { (exit 1); exit 1; }; }
15083 cat >conftest.
$ac_ext <<_ACEOF
15086 cat confdefs.h
>>conftest.
$ac_ext
15087 cat >>conftest.
$ac_ext <<_ACEOF
15088 /* end confdefs.h. */
15089 $ac_includes_default
15090 long longval () { return (long) (sizeof (short)); }
15091 unsigned long ulongval () { return (long) (sizeof (short)); }
15093 #include <stdlib.h>
15098 FILE *f = fopen ("conftest.val", "w");
15101 if (((long) (sizeof (short))) < 0)
15103 long i = longval ();
15104 if (i != ((long) (sizeof (short))))
15106 fprintf (f, "%ld\n", i);
15110 unsigned long i = ulongval ();
15111 if (i != ((long) (sizeof (short))))
15113 fprintf (f, "%lu\n", i);
15115 exit (ferror (f) || fclose (f) != 0);
15121 rm -f conftest
$ac_exeext
15122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15123 (eval $ac_link) 2>&5
15125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15126 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15128 (eval $ac_try) 2>&5
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); }; }; then
15132 ac_cv_sizeof_short
=`cat conftest.val`
15134 echo "$as_me: program exited with status $ac_status" >&5
15135 echo "$as_me: failed program was:" >&5
15136 sed 's/^/| /' conftest.
$ac_ext >&5
15138 ( exit $ac_status )
15139 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15140 See \`config.log' for more details." >&5
15141 echo "$as_me: error: cannot compute sizeof (short), 77
15142 See \`config.log' for more details." >&2;}
15143 { (exit 1); exit 1; }; }
15145 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15150 ac_cv_sizeof_short
=0
15153 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15154 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15155 cat >>confdefs.h
<<_ACEOF
15156 #define SIZEOF_SHORT $ac_cv_sizeof_short
15160 echo "$as_me:$LINENO: checking for void *" >&5
15161 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15162 if test "${ac_cv_type_void_p+set}" = set; then
15163 echo $ECHO_N "(cached) $ECHO_C" >&6
15165 cat >conftest.
$ac_ext <<_ACEOF
15168 cat confdefs.h
>>conftest.
$ac_ext
15169 cat >>conftest.
$ac_ext <<_ACEOF
15170 /* end confdefs.h. */
15171 $ac_includes_default
15177 if (sizeof (void *))
15183 rm -f conftest.
$ac_objext
15184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15185 (eval $ac_compile) 2>conftest.er1
15187 grep -v '^ *+' conftest.er1
>conftest.err
15189 cat conftest.err
>&5
15190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15191 (exit $ac_status); } &&
15192 { ac_try
='test -z "$ac_c_werror_flag"
15193 || test ! -s conftest.err'
15194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15195 (eval $ac_try) 2>&5
15197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15198 (exit $ac_status); }; } &&
15199 { ac_try
='test -s conftest.$ac_objext'
15200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15201 (eval $ac_try) 2>&5
15203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15204 (exit $ac_status); }; }; then
15205 ac_cv_type_void_p
=yes
15207 echo "$as_me: failed program was:" >&5
15208 sed 's/^/| /' conftest.
$ac_ext >&5
15210 ac_cv_type_void_p
=no
15212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15214 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15215 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15217 echo "$as_me:$LINENO: checking size of void *" >&5
15218 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15219 if test "${ac_cv_sizeof_void_p+set}" = set; then
15220 echo $ECHO_N "(cached) $ECHO_C" >&6
15222 if test "$ac_cv_type_void_p" = yes; then
15223 # The cast to unsigned long works around a bug in the HP C Compiler
15224 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15225 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15226 # This bug is HP SR number 8606223364.
15227 if test "$cross_compiling" = yes; then
15228 # Depending upon the size, compute the lo and hi bounds.
15229 cat >conftest.
$ac_ext <<_ACEOF
15232 cat confdefs.h
>>conftest.
$ac_ext
15233 cat >>conftest.
$ac_ext <<_ACEOF
15234 /* end confdefs.h. */
15235 $ac_includes_default
15239 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15246 rm -f conftest.
$ac_objext
15247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15248 (eval $ac_compile) 2>conftest.er1
15250 grep -v '^ *+' conftest.er1
>conftest.err
15252 cat conftest.err
>&5
15253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254 (exit $ac_status); } &&
15255 { ac_try
='test -z "$ac_c_werror_flag"
15256 || test ! -s conftest.err'
15257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15258 (eval $ac_try) 2>&5
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); }; } &&
15262 { ac_try
='test -s conftest.$ac_objext'
15263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15264 (eval $ac_try) 2>&5
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); }; }; then
15270 cat >conftest.
$ac_ext <<_ACEOF
15273 cat confdefs.h
>>conftest.
$ac_ext
15274 cat >>conftest.
$ac_ext <<_ACEOF
15275 /* end confdefs.h. */
15276 $ac_includes_default
15280 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15287 rm -f conftest.
$ac_objext
15288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15289 (eval $ac_compile) 2>conftest.er1
15291 grep -v '^ *+' conftest.er1
>conftest.err
15293 cat conftest.err
>&5
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); } &&
15296 { ac_try
='test -z "$ac_c_werror_flag"
15297 || test ! -s conftest.err'
15298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15299 (eval $ac_try) 2>&5
15301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15302 (exit $ac_status); }; } &&
15303 { ac_try
='test -s conftest.$ac_objext'
15304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15305 (eval $ac_try) 2>&5
15307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15308 (exit $ac_status); }; }; then
15309 ac_hi
=$ac_mid; break
15311 echo "$as_me: failed program was:" >&5
15312 sed 's/^/| /' conftest.
$ac_ext >&5
15314 ac_lo
=`expr $ac_mid + 1`
15315 if test $ac_lo -le $ac_mid; then
15319 ac_mid
=`expr 2 '*' $ac_mid + 1`
15321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15324 echo "$as_me: failed program was:" >&5
15325 sed 's/^/| /' conftest.
$ac_ext >&5
15327 cat >conftest.
$ac_ext <<_ACEOF
15330 cat confdefs.h
>>conftest.
$ac_ext
15331 cat >>conftest.
$ac_ext <<_ACEOF
15332 /* end confdefs.h. */
15333 $ac_includes_default
15337 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15344 rm -f conftest.
$ac_objext
15345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15346 (eval $ac_compile) 2>conftest.er1
15348 grep -v '^ *+' conftest.er1
>conftest.err
15350 cat conftest.err
>&5
15351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15352 (exit $ac_status); } &&
15353 { ac_try
='test -z "$ac_c_werror_flag"
15354 || test ! -s conftest.err'
15355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15356 (eval $ac_try) 2>&5
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); }; } &&
15360 { ac_try
='test -s conftest.$ac_objext'
15361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15362 (eval $ac_try) 2>&5
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); }; }; then
15368 cat >conftest.
$ac_ext <<_ACEOF
15371 cat confdefs.h
>>conftest.
$ac_ext
15372 cat >>conftest.
$ac_ext <<_ACEOF
15373 /* end confdefs.h. */
15374 $ac_includes_default
15378 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15385 rm -f conftest.
$ac_objext
15386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15387 (eval $ac_compile) 2>conftest.er1
15389 grep -v '^ *+' conftest.er1
>conftest.err
15391 cat conftest.err
>&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); } &&
15394 { ac_try
='test -z "$ac_c_werror_flag"
15395 || test ! -s conftest.err'
15396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15397 (eval $ac_try) 2>&5
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); }; } &&
15401 { ac_try
='test -s conftest.$ac_objext'
15402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15403 (eval $ac_try) 2>&5
15405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15406 (exit $ac_status); }; }; then
15407 ac_lo
=$ac_mid; break
15409 echo "$as_me: failed program was:" >&5
15410 sed 's/^/| /' conftest.
$ac_ext >&5
15412 ac_hi
=`expr '(' $ac_mid ')' - 1`
15413 if test $ac_mid -le $ac_hi; then
15417 ac_mid
=`expr 2 '*' $ac_mid`
15419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15422 echo "$as_me: failed program was:" >&5
15423 sed 's/^/| /' conftest.
$ac_ext >&5
15427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15430 # Binary search between lo and hi bounds.
15431 while test "x$ac_lo" != "x$ac_hi"; do
15432 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15433 cat >conftest.
$ac_ext <<_ACEOF
15436 cat confdefs.h
>>conftest.
$ac_ext
15437 cat >>conftest.
$ac_ext <<_ACEOF
15438 /* end confdefs.h. */
15439 $ac_includes_default
15443 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15450 rm -f conftest.
$ac_objext
15451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15452 (eval $ac_compile) 2>conftest.er1
15454 grep -v '^ *+' conftest.er1
>conftest.err
15456 cat conftest.err
>&5
15457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15458 (exit $ac_status); } &&
15459 { ac_try
='test -z "$ac_c_werror_flag"
15460 || test ! -s conftest.err'
15461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15462 (eval $ac_try) 2>&5
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); }; } &&
15466 { ac_try
='test -s conftest.$ac_objext'
15467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15468 (eval $ac_try) 2>&5
15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15471 (exit $ac_status); }; }; then
15474 echo "$as_me: failed program was:" >&5
15475 sed 's/^/| /' conftest.
$ac_ext >&5
15477 ac_lo
=`expr '(' $ac_mid ')' + 1`
15479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15482 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15483 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15484 See \`config.log' for more details." >&5
15485 echo "$as_me: error: cannot compute sizeof (void *), 77
15486 See \`config.log' for more details." >&2;}
15487 { (exit 1); exit 1; }; } ;;
15490 if test "$cross_compiling" = yes; then
15491 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15492 See \`config.log' for more details." >&5
15493 echo "$as_me: error: cannot run test program while cross compiling
15494 See \`config.log' for more details." >&2;}
15495 { (exit 1); exit 1; }; }
15497 cat >conftest.
$ac_ext <<_ACEOF
15500 cat confdefs.h
>>conftest.
$ac_ext
15501 cat >>conftest.
$ac_ext <<_ACEOF
15502 /* end confdefs.h. */
15503 $ac_includes_default
15504 long longval () { return (long) (sizeof (void *)); }
15505 unsigned long ulongval () { return (long) (sizeof (void *)); }
15507 #include <stdlib.h>
15512 FILE *f = fopen ("conftest.val", "w");
15515 if (((long) (sizeof (void *))) < 0)
15517 long i = longval ();
15518 if (i != ((long) (sizeof (void *))))
15520 fprintf (f, "%ld\n", i);
15524 unsigned long i = ulongval ();
15525 if (i != ((long) (sizeof (void *))))
15527 fprintf (f, "%lu\n", i);
15529 exit (ferror (f) || fclose (f) != 0);
15535 rm -f conftest
$ac_exeext
15536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15537 (eval $ac_link) 2>&5
15539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15540 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15542 (eval $ac_try) 2>&5
15544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545 (exit $ac_status); }; }; then
15546 ac_cv_sizeof_void_p
=`cat conftest.val`
15548 echo "$as_me: program exited with status $ac_status" >&5
15549 echo "$as_me: failed program was:" >&5
15550 sed 's/^/| /' conftest.
$ac_ext >&5
15552 ( exit $ac_status )
15553 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15554 See \`config.log' for more details." >&5
15555 echo "$as_me: error: cannot compute sizeof (void *), 77
15556 See \`config.log' for more details." >&2;}
15557 { (exit 1); exit 1; }; }
15559 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15564 ac_cv_sizeof_void_p
=0
15567 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15568 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15569 cat >>confdefs.h
<<_ACEOF
15570 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15574 echo "$as_me:$LINENO: checking for int" >&5
15575 echo $ECHO_N "checking for int... $ECHO_C" >&6
15576 if test "${ac_cv_type_int+set}" = set; then
15577 echo $ECHO_N "(cached) $ECHO_C" >&6
15579 cat >conftest.
$ac_ext <<_ACEOF
15582 cat confdefs.h
>>conftest.
$ac_ext
15583 cat >>conftest.
$ac_ext <<_ACEOF
15584 /* end confdefs.h. */
15585 $ac_includes_default
15597 rm -f conftest.
$ac_objext
15598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15599 (eval $ac_compile) 2>conftest.er1
15601 grep -v '^ *+' conftest.er1
>conftest.err
15603 cat conftest.err
>&5
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); } &&
15606 { ac_try
='test -z "$ac_c_werror_flag"
15607 || test ! -s conftest.err'
15608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15609 (eval $ac_try) 2>&5
15611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15612 (exit $ac_status); }; } &&
15613 { ac_try
='test -s conftest.$ac_objext'
15614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15615 (eval $ac_try) 2>&5
15617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15618 (exit $ac_status); }; }; then
15621 echo "$as_me: failed program was:" >&5
15622 sed 's/^/| /' conftest.
$ac_ext >&5
15626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15628 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15629 echo "${ECHO_T}$ac_cv_type_int" >&6
15631 echo "$as_me:$LINENO: checking size of int" >&5
15632 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15633 if test "${ac_cv_sizeof_int+set}" = set; then
15634 echo $ECHO_N "(cached) $ECHO_C" >&6
15636 if test "$ac_cv_type_int" = yes; then
15637 # The cast to unsigned long works around a bug in the HP C Compiler
15638 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15639 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15640 # This bug is HP SR number 8606223364.
15641 if test "$cross_compiling" = yes; then
15642 # Depending upon the size, compute the lo and hi bounds.
15643 cat >conftest.
$ac_ext <<_ACEOF
15646 cat confdefs.h
>>conftest.
$ac_ext
15647 cat >>conftest.
$ac_ext <<_ACEOF
15648 /* end confdefs.h. */
15649 $ac_includes_default
15653 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15660 rm -f conftest.
$ac_objext
15661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15662 (eval $ac_compile) 2>conftest.er1
15664 grep -v '^ *+' conftest.er1
>conftest.err
15666 cat conftest.err
>&5
15667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668 (exit $ac_status); } &&
15669 { ac_try
='test -z "$ac_c_werror_flag"
15670 || test ! -s conftest.err'
15671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15672 (eval $ac_try) 2>&5
15674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675 (exit $ac_status); }; } &&
15676 { ac_try
='test -s conftest.$ac_objext'
15677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15678 (eval $ac_try) 2>&5
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); }; }; then
15684 cat >conftest.
$ac_ext <<_ACEOF
15687 cat confdefs.h
>>conftest.
$ac_ext
15688 cat >>conftest.
$ac_ext <<_ACEOF
15689 /* end confdefs.h. */
15690 $ac_includes_default
15694 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15701 rm -f conftest.
$ac_objext
15702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15703 (eval $ac_compile) 2>conftest.er1
15705 grep -v '^ *+' conftest.er1
>conftest.err
15707 cat conftest.err
>&5
15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709 (exit $ac_status); } &&
15710 { ac_try
='test -z "$ac_c_werror_flag"
15711 || test ! -s conftest.err'
15712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15713 (eval $ac_try) 2>&5
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); }; } &&
15717 { ac_try
='test -s conftest.$ac_objext'
15718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15719 (eval $ac_try) 2>&5
15721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15722 (exit $ac_status); }; }; then
15723 ac_hi
=$ac_mid; break
15725 echo "$as_me: failed program was:" >&5
15726 sed 's/^/| /' conftest.
$ac_ext >&5
15728 ac_lo
=`expr $ac_mid + 1`
15729 if test $ac_lo -le $ac_mid; then
15733 ac_mid
=`expr 2 '*' $ac_mid + 1`
15735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15738 echo "$as_me: failed program was:" >&5
15739 sed 's/^/| /' conftest.
$ac_ext >&5
15741 cat >conftest.
$ac_ext <<_ACEOF
15744 cat confdefs.h
>>conftest.
$ac_ext
15745 cat >>conftest.
$ac_ext <<_ACEOF
15746 /* end confdefs.h. */
15747 $ac_includes_default
15751 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15758 rm -f conftest.
$ac_objext
15759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15760 (eval $ac_compile) 2>conftest.er1
15762 grep -v '^ *+' conftest.er1
>conftest.err
15764 cat conftest.err
>&5
15765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15766 (exit $ac_status); } &&
15767 { ac_try
='test -z "$ac_c_werror_flag"
15768 || test ! -s conftest.err'
15769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15770 (eval $ac_try) 2>&5
15772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15773 (exit $ac_status); }; } &&
15774 { ac_try
='test -s conftest.$ac_objext'
15775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15776 (eval $ac_try) 2>&5
15778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15779 (exit $ac_status); }; }; then
15782 cat >conftest.
$ac_ext <<_ACEOF
15785 cat confdefs.h
>>conftest.
$ac_ext
15786 cat >>conftest.
$ac_ext <<_ACEOF
15787 /* end confdefs.h. */
15788 $ac_includes_default
15792 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15799 rm -f conftest.
$ac_objext
15800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15801 (eval $ac_compile) 2>conftest.er1
15803 grep -v '^ *+' conftest.er1
>conftest.err
15805 cat conftest.err
>&5
15806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15807 (exit $ac_status); } &&
15808 { ac_try
='test -z "$ac_c_werror_flag"
15809 || test ! -s conftest.err'
15810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15811 (eval $ac_try) 2>&5
15813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15814 (exit $ac_status); }; } &&
15815 { ac_try
='test -s conftest.$ac_objext'
15816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15817 (eval $ac_try) 2>&5
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); }; }; then
15821 ac_lo
=$ac_mid; break
15823 echo "$as_me: failed program was:" >&5
15824 sed 's/^/| /' conftest.
$ac_ext >&5
15826 ac_hi
=`expr '(' $ac_mid ')' - 1`
15827 if test $ac_mid -le $ac_hi; then
15831 ac_mid
=`expr 2 '*' $ac_mid`
15833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15836 echo "$as_me: failed program was:" >&5
15837 sed 's/^/| /' conftest.
$ac_ext >&5
15841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15844 # Binary search between lo and hi bounds.
15845 while test "x$ac_lo" != "x$ac_hi"; do
15846 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15847 cat >conftest.
$ac_ext <<_ACEOF
15850 cat confdefs.h
>>conftest.
$ac_ext
15851 cat >>conftest.
$ac_ext <<_ACEOF
15852 /* end confdefs.h. */
15853 $ac_includes_default
15857 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15864 rm -f conftest.
$ac_objext
15865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15866 (eval $ac_compile) 2>conftest.er1
15868 grep -v '^ *+' conftest.er1
>conftest.err
15870 cat conftest.err
>&5
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); } &&
15873 { ac_try
='test -z "$ac_c_werror_flag"
15874 || test ! -s conftest.err'
15875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15876 (eval $ac_try) 2>&5
15878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); }; } &&
15880 { ac_try
='test -s conftest.$ac_objext'
15881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15882 (eval $ac_try) 2>&5
15884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885 (exit $ac_status); }; }; then
15888 echo "$as_me: failed program was:" >&5
15889 sed 's/^/| /' conftest.
$ac_ext >&5
15891 ac_lo
=`expr '(' $ac_mid ')' + 1`
15893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15896 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15897 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15898 See \`config.log' for more details." >&5
15899 echo "$as_me: error: cannot compute sizeof (int), 77
15900 See \`config.log' for more details." >&2;}
15901 { (exit 1); exit 1; }; } ;;
15904 if test "$cross_compiling" = yes; then
15905 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15906 See \`config.log' for more details." >&5
15907 echo "$as_me: error: cannot run test program while cross compiling
15908 See \`config.log' for more details." >&2;}
15909 { (exit 1); exit 1; }; }
15911 cat >conftest.
$ac_ext <<_ACEOF
15914 cat confdefs.h
>>conftest.
$ac_ext
15915 cat >>conftest.
$ac_ext <<_ACEOF
15916 /* end confdefs.h. */
15917 $ac_includes_default
15918 long longval () { return (long) (sizeof (int)); }
15919 unsigned long ulongval () { return (long) (sizeof (int)); }
15921 #include <stdlib.h>
15926 FILE *f = fopen ("conftest.val", "w");
15929 if (((long) (sizeof (int))) < 0)
15931 long i = longval ();
15932 if (i != ((long) (sizeof (int))))
15934 fprintf (f, "%ld\n", i);
15938 unsigned long i = ulongval ();
15939 if (i != ((long) (sizeof (int))))
15941 fprintf (f, "%lu\n", i);
15943 exit (ferror (f) || fclose (f) != 0);
15949 rm -f conftest
$ac_exeext
15950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15951 (eval $ac_link) 2>&5
15953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15954 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15956 (eval $ac_try) 2>&5
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); }; }; then
15960 ac_cv_sizeof_int
=`cat conftest.val`
15962 echo "$as_me: program exited with status $ac_status" >&5
15963 echo "$as_me: failed program was:" >&5
15964 sed 's/^/| /' conftest.
$ac_ext >&5
15966 ( exit $ac_status )
15967 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15968 See \`config.log' for more details." >&5
15969 echo "$as_me: error: cannot compute sizeof (int), 77
15970 See \`config.log' for more details." >&2;}
15971 { (exit 1); exit 1; }; }
15973 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15981 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15982 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15983 cat >>confdefs.h
<<_ACEOF
15984 #define SIZEOF_INT $ac_cv_sizeof_int
15988 echo "$as_me:$LINENO: checking for long" >&5
15989 echo $ECHO_N "checking for long... $ECHO_C" >&6
15990 if test "${ac_cv_type_long+set}" = set; then
15991 echo $ECHO_N "(cached) $ECHO_C" >&6
15993 cat >conftest.
$ac_ext <<_ACEOF
15996 cat confdefs.h
>>conftest.
$ac_ext
15997 cat >>conftest.
$ac_ext <<_ACEOF
15998 /* end confdefs.h. */
15999 $ac_includes_default
16011 rm -f conftest.
$ac_objext
16012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16013 (eval $ac_compile) 2>conftest.er1
16015 grep -v '^ *+' conftest.er1
>conftest.err
16017 cat conftest.err
>&5
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); } &&
16020 { ac_try
='test -z "$ac_c_werror_flag"
16021 || test ! -s conftest.err'
16022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16023 (eval $ac_try) 2>&5
16025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026 (exit $ac_status); }; } &&
16027 { ac_try
='test -s conftest.$ac_objext'
16028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16029 (eval $ac_try) 2>&5
16031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16032 (exit $ac_status); }; }; then
16033 ac_cv_type_long
=yes
16035 echo "$as_me: failed program was:" >&5
16036 sed 's/^/| /' conftest.
$ac_ext >&5
16040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16042 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16043 echo "${ECHO_T}$ac_cv_type_long" >&6
16045 echo "$as_me:$LINENO: checking size of long" >&5
16046 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16047 if test "${ac_cv_sizeof_long+set}" = set; then
16048 echo $ECHO_N "(cached) $ECHO_C" >&6
16050 if test "$ac_cv_type_long" = yes; then
16051 # The cast to unsigned long works around a bug in the HP C Compiler
16052 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16053 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16054 # This bug is HP SR number 8606223364.
16055 if test "$cross_compiling" = yes; then
16056 # Depending upon the size, compute the lo and hi bounds.
16057 cat >conftest.
$ac_ext <<_ACEOF
16060 cat confdefs.h
>>conftest.
$ac_ext
16061 cat >>conftest.
$ac_ext <<_ACEOF
16062 /* end confdefs.h. */
16063 $ac_includes_default
16067 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16074 rm -f conftest.
$ac_objext
16075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16076 (eval $ac_compile) 2>conftest.er1
16078 grep -v '^ *+' conftest.er1
>conftest.err
16080 cat conftest.err
>&5
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); } &&
16083 { ac_try
='test -z "$ac_c_werror_flag"
16084 || test ! -s conftest.err'
16085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16086 (eval $ac_try) 2>&5
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); }; } &&
16090 { ac_try
='test -s conftest.$ac_objext'
16091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16092 (eval $ac_try) 2>&5
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); }; }; then
16098 cat >conftest.
$ac_ext <<_ACEOF
16101 cat confdefs.h
>>conftest.
$ac_ext
16102 cat >>conftest.
$ac_ext <<_ACEOF
16103 /* end confdefs.h. */
16104 $ac_includes_default
16108 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16115 rm -f conftest.
$ac_objext
16116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16117 (eval $ac_compile) 2>conftest.er1
16119 grep -v '^ *+' conftest.er1
>conftest.err
16121 cat conftest.err
>&5
16122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16123 (exit $ac_status); } &&
16124 { ac_try
='test -z "$ac_c_werror_flag"
16125 || test ! -s conftest.err'
16126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16127 (eval $ac_try) 2>&5
16129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16130 (exit $ac_status); }; } &&
16131 { ac_try
='test -s conftest.$ac_objext'
16132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16133 (eval $ac_try) 2>&5
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); }; }; then
16137 ac_hi
=$ac_mid; break
16139 echo "$as_me: failed program was:" >&5
16140 sed 's/^/| /' conftest.
$ac_ext >&5
16142 ac_lo
=`expr $ac_mid + 1`
16143 if test $ac_lo -le $ac_mid; then
16147 ac_mid
=`expr 2 '*' $ac_mid + 1`
16149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16152 echo "$as_me: failed program was:" >&5
16153 sed 's/^/| /' conftest.
$ac_ext >&5
16155 cat >conftest.
$ac_ext <<_ACEOF
16158 cat confdefs.h
>>conftest.
$ac_ext
16159 cat >>conftest.
$ac_ext <<_ACEOF
16160 /* end confdefs.h. */
16161 $ac_includes_default
16165 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16172 rm -f conftest.
$ac_objext
16173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16174 (eval $ac_compile) 2>conftest.er1
16176 grep -v '^ *+' conftest.er1
>conftest.err
16178 cat conftest.err
>&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); } &&
16181 { ac_try
='test -z "$ac_c_werror_flag"
16182 || test ! -s conftest.err'
16183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16184 (eval $ac_try) 2>&5
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); }; } &&
16188 { ac_try
='test -s conftest.$ac_objext'
16189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16190 (eval $ac_try) 2>&5
16192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16193 (exit $ac_status); }; }; then
16196 cat >conftest.
$ac_ext <<_ACEOF
16199 cat confdefs.h
>>conftest.
$ac_ext
16200 cat >>conftest.
$ac_ext <<_ACEOF
16201 /* end confdefs.h. */
16202 $ac_includes_default
16206 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16213 rm -f conftest.
$ac_objext
16214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16215 (eval $ac_compile) 2>conftest.er1
16217 grep -v '^ *+' conftest.er1
>conftest.err
16219 cat conftest.err
>&5
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); } &&
16222 { ac_try
='test -z "$ac_c_werror_flag"
16223 || test ! -s conftest.err'
16224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16225 (eval $ac_try) 2>&5
16227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228 (exit $ac_status); }; } &&
16229 { ac_try
='test -s conftest.$ac_objext'
16230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16231 (eval $ac_try) 2>&5
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); }; }; then
16235 ac_lo
=$ac_mid; break
16237 echo "$as_me: failed program was:" >&5
16238 sed 's/^/| /' conftest.
$ac_ext >&5
16240 ac_hi
=`expr '(' $ac_mid ')' - 1`
16241 if test $ac_mid -le $ac_hi; then
16245 ac_mid
=`expr 2 '*' $ac_mid`
16247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16250 echo "$as_me: failed program was:" >&5
16251 sed 's/^/| /' conftest.
$ac_ext >&5
16255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16258 # Binary search between lo and hi bounds.
16259 while test "x$ac_lo" != "x$ac_hi"; do
16260 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16261 cat >conftest.
$ac_ext <<_ACEOF
16264 cat confdefs.h
>>conftest.
$ac_ext
16265 cat >>conftest.
$ac_ext <<_ACEOF
16266 /* end confdefs.h. */
16267 $ac_includes_default
16271 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16278 rm -f conftest.
$ac_objext
16279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16280 (eval $ac_compile) 2>conftest.er1
16282 grep -v '^ *+' conftest.er1
>conftest.err
16284 cat conftest.err
>&5
16285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16286 (exit $ac_status); } &&
16287 { ac_try
='test -z "$ac_c_werror_flag"
16288 || test ! -s conftest.err'
16289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16290 (eval $ac_try) 2>&5
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); }; } &&
16294 { ac_try
='test -s conftest.$ac_objext'
16295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16296 (eval $ac_try) 2>&5
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); }; }; then
16302 echo "$as_me: failed program was:" >&5
16303 sed 's/^/| /' conftest.
$ac_ext >&5
16305 ac_lo
=`expr '(' $ac_mid ')' + 1`
16307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16310 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16311 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16312 See \`config.log' for more details." >&5
16313 echo "$as_me: error: cannot compute sizeof (long), 77
16314 See \`config.log' for more details." >&2;}
16315 { (exit 1); exit 1; }; } ;;
16318 if test "$cross_compiling" = yes; then
16319 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16320 See \`config.log' for more details." >&5
16321 echo "$as_me: error: cannot run test program while cross compiling
16322 See \`config.log' for more details." >&2;}
16323 { (exit 1); exit 1; }; }
16325 cat >conftest.
$ac_ext <<_ACEOF
16328 cat confdefs.h
>>conftest.
$ac_ext
16329 cat >>conftest.
$ac_ext <<_ACEOF
16330 /* end confdefs.h. */
16331 $ac_includes_default
16332 long longval () { return (long) (sizeof (long)); }
16333 unsigned long ulongval () { return (long) (sizeof (long)); }
16335 #include <stdlib.h>
16340 FILE *f = fopen ("conftest.val", "w");
16343 if (((long) (sizeof (long))) < 0)
16345 long i = longval ();
16346 if (i != ((long) (sizeof (long))))
16348 fprintf (f, "%ld\n", i);
16352 unsigned long i = ulongval ();
16353 if (i != ((long) (sizeof (long))))
16355 fprintf (f, "%lu\n", i);
16357 exit (ferror (f) || fclose (f) != 0);
16363 rm -f conftest
$ac_exeext
16364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16365 (eval $ac_link) 2>&5
16367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16368 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16370 (eval $ac_try) 2>&5
16372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16373 (exit $ac_status); }; }; then
16374 ac_cv_sizeof_long
=`cat conftest.val`
16376 echo "$as_me: program exited with status $ac_status" >&5
16377 echo "$as_me: failed program was:" >&5
16378 sed 's/^/| /' conftest.
$ac_ext >&5
16380 ( exit $ac_status )
16381 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16382 See \`config.log' for more details." >&5
16383 echo "$as_me: error: cannot compute sizeof (long), 77
16384 See \`config.log' for more details." >&2;}
16385 { (exit 1); exit 1; }; }
16387 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16392 ac_cv_sizeof_long
=0
16395 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16396 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16397 cat >>confdefs.h
<<_ACEOF
16398 #define SIZEOF_LONG $ac_cv_sizeof_long
16402 echo "$as_me:$LINENO: checking for size_t" >&5
16403 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16404 if test "${ac_cv_type_size_t+set}" = set; then
16405 echo $ECHO_N "(cached) $ECHO_C" >&6
16407 cat >conftest.
$ac_ext <<_ACEOF
16410 cat confdefs.h
>>conftest.
$ac_ext
16411 cat >>conftest.
$ac_ext <<_ACEOF
16412 /* end confdefs.h. */
16413 $ac_includes_default
16419 if (sizeof (size_t))
16425 rm -f conftest.
$ac_objext
16426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16427 (eval $ac_compile) 2>conftest.er1
16429 grep -v '^ *+' conftest.er1
>conftest.err
16431 cat conftest.err
>&5
16432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433 (exit $ac_status); } &&
16434 { ac_try
='test -z "$ac_c_werror_flag"
16435 || test ! -s conftest.err'
16436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16437 (eval $ac_try) 2>&5
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); }; } &&
16441 { ac_try
='test -s conftest.$ac_objext'
16442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16443 (eval $ac_try) 2>&5
16445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16446 (exit $ac_status); }; }; then
16447 ac_cv_type_size_t
=yes
16449 echo "$as_me: failed program was:" >&5
16450 sed 's/^/| /' conftest.
$ac_ext >&5
16452 ac_cv_type_size_t
=no
16454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16456 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16457 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16459 echo "$as_me:$LINENO: checking size of size_t" >&5
16460 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16461 if test "${ac_cv_sizeof_size_t+set}" = set; then
16462 echo $ECHO_N "(cached) $ECHO_C" >&6
16464 if test "$ac_cv_type_size_t" = yes; then
16465 # The cast to unsigned long works around a bug in the HP C Compiler
16466 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16467 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16468 # This bug is HP SR number 8606223364.
16469 if test "$cross_compiling" = yes; then
16470 # Depending upon the size, compute the lo and hi bounds.
16471 cat >conftest.
$ac_ext <<_ACEOF
16474 cat confdefs.h
>>conftest.
$ac_ext
16475 cat >>conftest.
$ac_ext <<_ACEOF
16476 /* end confdefs.h. */
16477 $ac_includes_default
16481 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16488 rm -f conftest.
$ac_objext
16489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16490 (eval $ac_compile) 2>conftest.er1
16492 grep -v '^ *+' conftest.er1
>conftest.err
16494 cat conftest.err
>&5
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); } &&
16497 { ac_try
='test -z "$ac_c_werror_flag"
16498 || test ! -s conftest.err'
16499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16500 (eval $ac_try) 2>&5
16502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16503 (exit $ac_status); }; } &&
16504 { ac_try
='test -s conftest.$ac_objext'
16505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16506 (eval $ac_try) 2>&5
16508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509 (exit $ac_status); }; }; then
16512 cat >conftest.
$ac_ext <<_ACEOF
16515 cat confdefs.h
>>conftest.
$ac_ext
16516 cat >>conftest.
$ac_ext <<_ACEOF
16517 /* end confdefs.h. */
16518 $ac_includes_default
16522 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16529 rm -f conftest.
$ac_objext
16530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16531 (eval $ac_compile) 2>conftest.er1
16533 grep -v '^ *+' conftest.er1
>conftest.err
16535 cat conftest.err
>&5
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); } &&
16538 { ac_try
='test -z "$ac_c_werror_flag"
16539 || test ! -s conftest.err'
16540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16541 (eval $ac_try) 2>&5
16543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16544 (exit $ac_status); }; } &&
16545 { ac_try
='test -s conftest.$ac_objext'
16546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16547 (eval $ac_try) 2>&5
16549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16550 (exit $ac_status); }; }; then
16551 ac_hi
=$ac_mid; break
16553 echo "$as_me: failed program was:" >&5
16554 sed 's/^/| /' conftest.
$ac_ext >&5
16556 ac_lo
=`expr $ac_mid + 1`
16557 if test $ac_lo -le $ac_mid; then
16561 ac_mid
=`expr 2 '*' $ac_mid + 1`
16563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16566 echo "$as_me: failed program was:" >&5
16567 sed 's/^/| /' conftest.
$ac_ext >&5
16569 cat >conftest.
$ac_ext <<_ACEOF
16572 cat confdefs.h
>>conftest.
$ac_ext
16573 cat >>conftest.
$ac_ext <<_ACEOF
16574 /* end confdefs.h. */
16575 $ac_includes_default
16579 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16586 rm -f conftest.
$ac_objext
16587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16588 (eval $ac_compile) 2>conftest.er1
16590 grep -v '^ *+' conftest.er1
>conftest.err
16592 cat conftest.err
>&5
16593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16594 (exit $ac_status); } &&
16595 { ac_try
='test -z "$ac_c_werror_flag"
16596 || test ! -s conftest.err'
16597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16598 (eval $ac_try) 2>&5
16600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); }; } &&
16602 { ac_try
='test -s conftest.$ac_objext'
16603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16604 (eval $ac_try) 2>&5
16606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607 (exit $ac_status); }; }; then
16610 cat >conftest.
$ac_ext <<_ACEOF
16613 cat confdefs.h
>>conftest.
$ac_ext
16614 cat >>conftest.
$ac_ext <<_ACEOF
16615 /* end confdefs.h. */
16616 $ac_includes_default
16620 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16627 rm -f conftest.
$ac_objext
16628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16629 (eval $ac_compile) 2>conftest.er1
16631 grep -v '^ *+' conftest.er1
>conftest.err
16633 cat conftest.err
>&5
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); } &&
16636 { ac_try
='test -z "$ac_c_werror_flag"
16637 || test ! -s conftest.err'
16638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16639 (eval $ac_try) 2>&5
16641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642 (exit $ac_status); }; } &&
16643 { ac_try
='test -s conftest.$ac_objext'
16644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16645 (eval $ac_try) 2>&5
16647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648 (exit $ac_status); }; }; then
16649 ac_lo
=$ac_mid; break
16651 echo "$as_me: failed program was:" >&5
16652 sed 's/^/| /' conftest.
$ac_ext >&5
16654 ac_hi
=`expr '(' $ac_mid ')' - 1`
16655 if test $ac_mid -le $ac_hi; then
16659 ac_mid
=`expr 2 '*' $ac_mid`
16661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16664 echo "$as_me: failed program was:" >&5
16665 sed 's/^/| /' conftest.
$ac_ext >&5
16669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16672 # Binary search between lo and hi bounds.
16673 while test "x$ac_lo" != "x$ac_hi"; do
16674 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16675 cat >conftest.
$ac_ext <<_ACEOF
16678 cat confdefs.h
>>conftest.
$ac_ext
16679 cat >>conftest.
$ac_ext <<_ACEOF
16680 /* end confdefs.h. */
16681 $ac_includes_default
16685 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16692 rm -f conftest.
$ac_objext
16693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16694 (eval $ac_compile) 2>conftest.er1
16696 grep -v '^ *+' conftest.er1
>conftest.err
16698 cat conftest.err
>&5
16699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); } &&
16701 { ac_try
='test -z "$ac_c_werror_flag"
16702 || test ! -s conftest.err'
16703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16704 (eval $ac_try) 2>&5
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); }; } &&
16708 { ac_try
='test -s conftest.$ac_objext'
16709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16710 (eval $ac_try) 2>&5
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); }; }; then
16716 echo "$as_me: failed program was:" >&5
16717 sed 's/^/| /' conftest.
$ac_ext >&5
16719 ac_lo
=`expr '(' $ac_mid ')' + 1`
16721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16724 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16725 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16726 See \`config.log' for more details." >&5
16727 echo "$as_me: error: cannot compute sizeof (size_t), 77
16728 See \`config.log' for more details." >&2;}
16729 { (exit 1); exit 1; }; } ;;
16732 if test "$cross_compiling" = yes; then
16733 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16734 See \`config.log' for more details." >&5
16735 echo "$as_me: error: cannot run test program while cross compiling
16736 See \`config.log' for more details." >&2;}
16737 { (exit 1); exit 1; }; }
16739 cat >conftest.
$ac_ext <<_ACEOF
16742 cat confdefs.h
>>conftest.
$ac_ext
16743 cat >>conftest.
$ac_ext <<_ACEOF
16744 /* end confdefs.h. */
16745 $ac_includes_default
16746 long longval () { return (long) (sizeof (size_t)); }
16747 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16749 #include <stdlib.h>
16754 FILE *f = fopen ("conftest.val", "w");
16757 if (((long) (sizeof (size_t))) < 0)
16759 long i = longval ();
16760 if (i != ((long) (sizeof (size_t))))
16762 fprintf (f, "%ld\n", i);
16766 unsigned long i = ulongval ();
16767 if (i != ((long) (sizeof (size_t))))
16769 fprintf (f, "%lu\n", i);
16771 exit (ferror (f) || fclose (f) != 0);
16777 rm -f conftest
$ac_exeext
16778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16779 (eval $ac_link) 2>&5
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16784 (eval $ac_try) 2>&5
16786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16787 (exit $ac_status); }; }; then
16788 ac_cv_sizeof_size_t
=`cat conftest.val`
16790 echo "$as_me: program exited with status $ac_status" >&5
16791 echo "$as_me: failed program was:" >&5
16792 sed 's/^/| /' conftest.
$ac_ext >&5
16794 ( exit $ac_status )
16795 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16796 See \`config.log' for more details." >&5
16797 echo "$as_me: error: cannot compute sizeof (size_t), 77
16798 See \`config.log' for more details." >&2;}
16799 { (exit 1); exit 1; }; }
16801 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16806 ac_cv_sizeof_size_t
=0
16809 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16810 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16811 cat >>confdefs.h
<<_ACEOF
16812 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16819 echo "$as_me:$LINENO: checking for long long" >&5
16820 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16821 if test "${ac_cv_type_long_long+set}" = set; then
16822 echo $ECHO_N "(cached) $ECHO_C" >&6
16824 cat >conftest.
$ac_ext <<_ACEOF
16827 cat confdefs.h
>>conftest.
$ac_ext
16828 cat >>conftest.
$ac_ext <<_ACEOF
16829 /* end confdefs.h. */
16830 $ac_includes_default
16834 if ((long long *) 0)
16836 if (sizeof (long long))
16842 rm -f conftest.
$ac_objext
16843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16844 (eval $ac_compile) 2>conftest.er1
16846 grep -v '^ *+' conftest.er1
>conftest.err
16848 cat conftest.err
>&5
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); } &&
16851 { ac_try
='test -z "$ac_c_werror_flag"
16852 || test ! -s conftest.err'
16853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16854 (eval $ac_try) 2>&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); }; } &&
16858 { ac_try
='test -s conftest.$ac_objext'
16859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16860 (eval $ac_try) 2>&5
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }; }; then
16864 ac_cv_type_long_long
=yes
16866 echo "$as_me: failed program was:" >&5
16867 sed 's/^/| /' conftest.
$ac_ext >&5
16869 ac_cv_type_long_long
=no
16871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16873 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16874 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16876 echo "$as_me:$LINENO: checking size of long long" >&5
16877 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16878 if test "${ac_cv_sizeof_long_long+set}" = set; then
16879 echo $ECHO_N "(cached) $ECHO_C" >&6
16881 if test "$ac_cv_type_long_long" = yes; then
16882 # The cast to unsigned long works around a bug in the HP C Compiler
16883 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16884 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16885 # This bug is HP SR number 8606223364.
16886 if test "$cross_compiling" = yes; then
16887 # Depending upon the size, compute the lo and hi bounds.
16888 cat >conftest.
$ac_ext <<_ACEOF
16891 cat confdefs.h
>>conftest.
$ac_ext
16892 cat >>conftest.
$ac_ext <<_ACEOF
16893 /* end confdefs.h. */
16894 $ac_includes_default
16898 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16905 rm -f conftest.
$ac_objext
16906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16907 (eval $ac_compile) 2>conftest.er1
16909 grep -v '^ *+' conftest.er1
>conftest.err
16911 cat conftest.err
>&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); } &&
16914 { ac_try
='test -z "$ac_c_werror_flag"
16915 || test ! -s conftest.err'
16916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16917 (eval $ac_try) 2>&5
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); }; } &&
16921 { ac_try
='test -s conftest.$ac_objext'
16922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16923 (eval $ac_try) 2>&5
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); }; }; then
16929 cat >conftest.
$ac_ext <<_ACEOF
16932 cat confdefs.h
>>conftest.
$ac_ext
16933 cat >>conftest.
$ac_ext <<_ACEOF
16934 /* end confdefs.h. */
16935 $ac_includes_default
16939 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16946 rm -f conftest.
$ac_objext
16947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16948 (eval $ac_compile) 2>conftest.er1
16950 grep -v '^ *+' conftest.er1
>conftest.err
16952 cat conftest.err
>&5
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); } &&
16955 { ac_try
='test -z "$ac_c_werror_flag"
16956 || test ! -s conftest.err'
16957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16958 (eval $ac_try) 2>&5
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); }; } &&
16962 { ac_try
='test -s conftest.$ac_objext'
16963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16964 (eval $ac_try) 2>&5
16966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); }; }; then
16968 ac_hi
=$ac_mid; break
16970 echo "$as_me: failed program was:" >&5
16971 sed 's/^/| /' conftest.
$ac_ext >&5
16973 ac_lo
=`expr $ac_mid + 1`
16974 if test $ac_lo -le $ac_mid; then
16978 ac_mid
=`expr 2 '*' $ac_mid + 1`
16980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16983 echo "$as_me: failed program was:" >&5
16984 sed 's/^/| /' conftest.
$ac_ext >&5
16986 cat >conftest.
$ac_ext <<_ACEOF
16989 cat confdefs.h
>>conftest.
$ac_ext
16990 cat >>conftest.
$ac_ext <<_ACEOF
16991 /* end confdefs.h. */
16992 $ac_includes_default
16996 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17003 rm -f conftest.
$ac_objext
17004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17005 (eval $ac_compile) 2>conftest.er1
17007 grep -v '^ *+' conftest.er1
>conftest.err
17009 cat conftest.err
>&5
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); } &&
17012 { ac_try
='test -z "$ac_c_werror_flag"
17013 || test ! -s conftest.err'
17014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17015 (eval $ac_try) 2>&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); }; } &&
17019 { ac_try
='test -s conftest.$ac_objext'
17020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17021 (eval $ac_try) 2>&5
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); }; }; then
17027 cat >conftest.
$ac_ext <<_ACEOF
17030 cat confdefs.h
>>conftest.
$ac_ext
17031 cat >>conftest.
$ac_ext <<_ACEOF
17032 /* end confdefs.h. */
17033 $ac_includes_default
17037 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17044 rm -f conftest.
$ac_objext
17045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17046 (eval $ac_compile) 2>conftest.er1
17048 grep -v '^ *+' conftest.er1
>conftest.err
17050 cat conftest.err
>&5
17051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052 (exit $ac_status); } &&
17053 { ac_try
='test -z "$ac_c_werror_flag"
17054 || test ! -s conftest.err'
17055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17056 (eval $ac_try) 2>&5
17058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059 (exit $ac_status); }; } &&
17060 { ac_try
='test -s conftest.$ac_objext'
17061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17062 (eval $ac_try) 2>&5
17064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17065 (exit $ac_status); }; }; then
17066 ac_lo
=$ac_mid; break
17068 echo "$as_me: failed program was:" >&5
17069 sed 's/^/| /' conftest.
$ac_ext >&5
17071 ac_hi
=`expr '(' $ac_mid ')' - 1`
17072 if test $ac_mid -le $ac_hi; then
17076 ac_mid
=`expr 2 '*' $ac_mid`
17078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17081 echo "$as_me: failed program was:" >&5
17082 sed 's/^/| /' conftest.
$ac_ext >&5
17086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17089 # Binary search between lo and hi bounds.
17090 while test "x$ac_lo" != "x$ac_hi"; do
17091 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17092 cat >conftest.
$ac_ext <<_ACEOF
17095 cat confdefs.h
>>conftest.
$ac_ext
17096 cat >>conftest.
$ac_ext <<_ACEOF
17097 /* end confdefs.h. */
17098 $ac_includes_default
17102 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17109 rm -f conftest.
$ac_objext
17110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17111 (eval $ac_compile) 2>conftest.er1
17113 grep -v '^ *+' conftest.er1
>conftest.err
17115 cat conftest.err
>&5
17116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17117 (exit $ac_status); } &&
17118 { ac_try
='test -z "$ac_c_werror_flag"
17119 || test ! -s conftest.err'
17120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17121 (eval $ac_try) 2>&5
17123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124 (exit $ac_status); }; } &&
17125 { ac_try
='test -s conftest.$ac_objext'
17126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17127 (eval $ac_try) 2>&5
17129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17130 (exit $ac_status); }; }; then
17133 echo "$as_me: failed program was:" >&5
17134 sed 's/^/| /' conftest.
$ac_ext >&5
17136 ac_lo
=`expr '(' $ac_mid ')' + 1`
17138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17141 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17142 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17143 See \`config.log' for more details." >&5
17144 echo "$as_me: error: cannot compute sizeof (long long), 77
17145 See \`config.log' for more details." >&2;}
17146 { (exit 1); exit 1; }; } ;;
17149 if test "$cross_compiling" = yes; then
17150 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17151 See \`config.log' for more details." >&5
17152 echo "$as_me: error: cannot run test program while cross compiling
17153 See \`config.log' for more details." >&2;}
17154 { (exit 1); exit 1; }; }
17156 cat >conftest.
$ac_ext <<_ACEOF
17159 cat confdefs.h
>>conftest.
$ac_ext
17160 cat >>conftest.
$ac_ext <<_ACEOF
17161 /* end confdefs.h. */
17162 $ac_includes_default
17163 long longval () { return (long) (sizeof (long long)); }
17164 unsigned long ulongval () { return (long) (sizeof (long long)); }
17166 #include <stdlib.h>
17171 FILE *f = fopen ("conftest.val", "w");
17174 if (((long) (sizeof (long long))) < 0)
17176 long i = longval ();
17177 if (i != ((long) (sizeof (long long))))
17179 fprintf (f, "%ld\n", i);
17183 unsigned long i = ulongval ();
17184 if (i != ((long) (sizeof (long long))))
17186 fprintf (f, "%lu\n", i);
17188 exit (ferror (f) || fclose (f) != 0);
17194 rm -f conftest
$ac_exeext
17195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17196 (eval $ac_link) 2>&5
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17201 (eval $ac_try) 2>&5
17203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17204 (exit $ac_status); }; }; then
17205 ac_cv_sizeof_long_long
=`cat conftest.val`
17207 echo "$as_me: program exited with status $ac_status" >&5
17208 echo "$as_me: failed program was:" >&5
17209 sed 's/^/| /' conftest.
$ac_ext >&5
17211 ( exit $ac_status )
17212 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17213 See \`config.log' for more details." >&5
17214 echo "$as_me: error: cannot compute sizeof (long long), 77
17215 See \`config.log' for more details." >&2;}
17216 { (exit 1); exit 1; }; }
17218 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17223 ac_cv_sizeof_long_long
=0
17226 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17227 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17228 cat >>confdefs.h
<<_ACEOF
17229 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17235 echo "$as_me:$LINENO: checking for long long" >&5
17236 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17237 if test "${ac_cv_type_long_long+set}" = set; then
17238 echo $ECHO_N "(cached) $ECHO_C" >&6
17240 cat >conftest.
$ac_ext <<_ACEOF
17243 cat confdefs.h
>>conftest.
$ac_ext
17244 cat >>conftest.
$ac_ext <<_ACEOF
17245 /* end confdefs.h. */
17246 $ac_includes_default
17250 if ((long long *) 0)
17252 if (sizeof (long long))
17258 rm -f conftest.
$ac_objext
17259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17260 (eval $ac_compile) 2>conftest.er1
17262 grep -v '^ *+' conftest.er1
>conftest.err
17264 cat conftest.err
>&5
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); } &&
17267 { ac_try
='test -z "$ac_c_werror_flag"
17268 || test ! -s conftest.err'
17269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17270 (eval $ac_try) 2>&5
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); }; } &&
17274 { ac_try
='test -s conftest.$ac_objext'
17275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17276 (eval $ac_try) 2>&5
17278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17279 (exit $ac_status); }; }; then
17280 ac_cv_type_long_long
=yes
17282 echo "$as_me: failed program was:" >&5
17283 sed 's/^/| /' conftest.
$ac_ext >&5
17285 ac_cv_type_long_long
=no
17287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17289 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17290 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17292 echo "$as_me:$LINENO: checking size of long long" >&5
17293 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17294 if test "${ac_cv_sizeof_long_long+set}" = set; then
17295 echo $ECHO_N "(cached) $ECHO_C" >&6
17297 if test "$ac_cv_type_long_long" = yes; then
17298 # The cast to unsigned long works around a bug in the HP C Compiler
17299 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17300 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17301 # This bug is HP SR number 8606223364.
17302 if test "$cross_compiling" = yes; then
17303 # Depending upon the size, compute the lo and hi bounds.
17304 cat >conftest.
$ac_ext <<_ACEOF
17307 cat confdefs.h
>>conftest.
$ac_ext
17308 cat >>conftest.
$ac_ext <<_ACEOF
17309 /* end confdefs.h. */
17310 $ac_includes_default
17314 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17321 rm -f conftest.
$ac_objext
17322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17323 (eval $ac_compile) 2>conftest.er1
17325 grep -v '^ *+' conftest.er1
>conftest.err
17327 cat conftest.err
>&5
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 (exit $ac_status); } &&
17330 { ac_try
='test -z "$ac_c_werror_flag"
17331 || test ! -s conftest.err'
17332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17333 (eval $ac_try) 2>&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); }; } &&
17337 { ac_try
='test -s conftest.$ac_objext'
17338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17339 (eval $ac_try) 2>&5
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); }; }; then
17345 cat >conftest.
$ac_ext <<_ACEOF
17348 cat confdefs.h
>>conftest.
$ac_ext
17349 cat >>conftest.
$ac_ext <<_ACEOF
17350 /* end confdefs.h. */
17351 $ac_includes_default
17355 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17362 rm -f conftest.
$ac_objext
17363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17364 (eval $ac_compile) 2>conftest.er1
17366 grep -v '^ *+' conftest.er1
>conftest.err
17368 cat conftest.err
>&5
17369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17370 (exit $ac_status); } &&
17371 { ac_try
='test -z "$ac_c_werror_flag"
17372 || test ! -s conftest.err'
17373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17374 (eval $ac_try) 2>&5
17376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17377 (exit $ac_status); }; } &&
17378 { ac_try
='test -s conftest.$ac_objext'
17379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17380 (eval $ac_try) 2>&5
17382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17383 (exit $ac_status); }; }; then
17384 ac_hi
=$ac_mid; break
17386 echo "$as_me: failed program was:" >&5
17387 sed 's/^/| /' conftest.
$ac_ext >&5
17389 ac_lo
=`expr $ac_mid + 1`
17390 if test $ac_lo -le $ac_mid; then
17394 ac_mid
=`expr 2 '*' $ac_mid + 1`
17396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17399 echo "$as_me: failed program was:" >&5
17400 sed 's/^/| /' conftest.
$ac_ext >&5
17402 cat >conftest.
$ac_ext <<_ACEOF
17405 cat confdefs.h
>>conftest.
$ac_ext
17406 cat >>conftest.
$ac_ext <<_ACEOF
17407 /* end confdefs.h. */
17408 $ac_includes_default
17412 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17419 rm -f conftest.
$ac_objext
17420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17421 (eval $ac_compile) 2>conftest.er1
17423 grep -v '^ *+' conftest.er1
>conftest.err
17425 cat conftest.err
>&5
17426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427 (exit $ac_status); } &&
17428 { ac_try
='test -z "$ac_c_werror_flag"
17429 || test ! -s conftest.err'
17430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17431 (eval $ac_try) 2>&5
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); }; } &&
17435 { ac_try
='test -s conftest.$ac_objext'
17436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17437 (eval $ac_try) 2>&5
17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); }; }; then
17443 cat >conftest.
$ac_ext <<_ACEOF
17446 cat confdefs.h
>>conftest.
$ac_ext
17447 cat >>conftest.
$ac_ext <<_ACEOF
17448 /* end confdefs.h. */
17449 $ac_includes_default
17453 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17460 rm -f conftest.
$ac_objext
17461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17462 (eval $ac_compile) 2>conftest.er1
17464 grep -v '^ *+' conftest.er1
>conftest.err
17466 cat conftest.err
>&5
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); } &&
17469 { ac_try
='test -z "$ac_c_werror_flag"
17470 || test ! -s conftest.err'
17471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17472 (eval $ac_try) 2>&5
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); }; } &&
17476 { ac_try
='test -s conftest.$ac_objext'
17477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17478 (eval $ac_try) 2>&5
17480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17481 (exit $ac_status); }; }; then
17482 ac_lo
=$ac_mid; break
17484 echo "$as_me: failed program was:" >&5
17485 sed 's/^/| /' conftest.
$ac_ext >&5
17487 ac_hi
=`expr '(' $ac_mid ')' - 1`
17488 if test $ac_mid -le $ac_hi; then
17492 ac_mid
=`expr 2 '*' $ac_mid`
17494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17497 echo "$as_me: failed program was:" >&5
17498 sed 's/^/| /' conftest.
$ac_ext >&5
17502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17505 # Binary search between lo and hi bounds.
17506 while test "x$ac_lo" != "x$ac_hi"; do
17507 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17508 cat >conftest.
$ac_ext <<_ACEOF
17511 cat confdefs.h
>>conftest.
$ac_ext
17512 cat >>conftest.
$ac_ext <<_ACEOF
17513 /* end confdefs.h. */
17514 $ac_includes_default
17518 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17525 rm -f conftest.
$ac_objext
17526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17527 (eval $ac_compile) 2>conftest.er1
17529 grep -v '^ *+' conftest.er1
>conftest.err
17531 cat conftest.err
>&5
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); } &&
17534 { ac_try
='test -z "$ac_c_werror_flag"
17535 || test ! -s conftest.err'
17536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17537 (eval $ac_try) 2>&5
17539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17540 (exit $ac_status); }; } &&
17541 { ac_try
='test -s conftest.$ac_objext'
17542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17543 (eval $ac_try) 2>&5
17545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17546 (exit $ac_status); }; }; then
17549 echo "$as_me: failed program was:" >&5
17550 sed 's/^/| /' conftest.
$ac_ext >&5
17552 ac_lo
=`expr '(' $ac_mid ')' + 1`
17554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17557 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17558 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17559 See \`config.log' for more details." >&5
17560 echo "$as_me: error: cannot compute sizeof (long long), 77
17561 See \`config.log' for more details." >&2;}
17562 { (exit 1); exit 1; }; } ;;
17565 if test "$cross_compiling" = yes; then
17566 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17567 See \`config.log' for more details." >&5
17568 echo "$as_me: error: cannot run test program while cross compiling
17569 See \`config.log' for more details." >&2;}
17570 { (exit 1); exit 1; }; }
17572 cat >conftest.
$ac_ext <<_ACEOF
17575 cat confdefs.h
>>conftest.
$ac_ext
17576 cat >>conftest.
$ac_ext <<_ACEOF
17577 /* end confdefs.h. */
17578 $ac_includes_default
17579 long longval () { return (long) (sizeof (long long)); }
17580 unsigned long ulongval () { return (long) (sizeof (long long)); }
17582 #include <stdlib.h>
17587 FILE *f = fopen ("conftest.val", "w");
17590 if (((long) (sizeof (long long))) < 0)
17592 long i = longval ();
17593 if (i != ((long) (sizeof (long long))))
17595 fprintf (f, "%ld\n", i);
17599 unsigned long i = ulongval ();
17600 if (i != ((long) (sizeof (long long))))
17602 fprintf (f, "%lu\n", i);
17604 exit (ferror (f) || fclose (f) != 0);
17610 rm -f conftest
$ac_exeext
17611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17612 (eval $ac_link) 2>&5
17614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17617 (eval $ac_try) 2>&5
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); }; }; then
17621 ac_cv_sizeof_long_long
=`cat conftest.val`
17623 echo "$as_me: program exited with status $ac_status" >&5
17624 echo "$as_me: failed program was:" >&5
17625 sed 's/^/| /' conftest.
$ac_ext >&5
17627 ( exit $ac_status )
17628 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17629 See \`config.log' for more details." >&5
17630 echo "$as_me: error: cannot compute sizeof (long long), 77
17631 See \`config.log' for more details." >&2;}
17632 { (exit 1); exit 1; }; }
17634 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17639 ac_cv_sizeof_long_long
=0
17642 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17643 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17644 cat >>confdefs.h
<<_ACEOF
17645 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17649 if test "$ac_cv_sizeof_long_long" != "0"; then
17650 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17654 echo "$as_me:$LINENO: checking for long long" >&5
17655 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17656 if test "${ac_cv_type_long_long+set}" = set; then
17657 echo $ECHO_N "(cached) $ECHO_C" >&6
17659 cat >conftest.
$ac_ext <<_ACEOF
17662 cat confdefs.h
>>conftest.
$ac_ext
17663 cat >>conftest.
$ac_ext <<_ACEOF
17664 /* end confdefs.h. */
17665 $ac_includes_default
17669 if ((long long *) 0)
17671 if (sizeof (long long))
17677 rm -f conftest.
$ac_objext
17678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17679 (eval $ac_compile) 2>conftest.er1
17681 grep -v '^ *+' conftest.er1
>conftest.err
17683 cat conftest.err
>&5
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); } &&
17686 { ac_try
='test -z "$ac_c_werror_flag"
17687 || test ! -s conftest.err'
17688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17689 (eval $ac_try) 2>&5
17691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692 (exit $ac_status); }; } &&
17693 { ac_try
='test -s conftest.$ac_objext'
17694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17695 (eval $ac_try) 2>&5
17697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698 (exit $ac_status); }; }; then
17699 ac_cv_type_long_long
=yes
17701 echo "$as_me: failed program was:" >&5
17702 sed 's/^/| /' conftest.
$ac_ext >&5
17704 ac_cv_type_long_long
=no
17706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17708 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17709 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17711 echo "$as_me:$LINENO: checking size of long long" >&5
17712 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17713 if test "${ac_cv_sizeof_long_long+set}" = set; then
17714 echo $ECHO_N "(cached) $ECHO_C" >&6
17716 if test "$ac_cv_type_long_long" = yes; then
17717 # The cast to unsigned long works around a bug in the HP C Compiler
17718 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17719 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17720 # This bug is HP SR number 8606223364.
17721 if test "$cross_compiling" = yes; then
17722 # Depending upon the size, compute the lo and hi bounds.
17723 cat >conftest.
$ac_ext <<_ACEOF
17726 cat confdefs.h
>>conftest.
$ac_ext
17727 cat >>conftest.
$ac_ext <<_ACEOF
17728 /* end confdefs.h. */
17729 $ac_includes_default
17733 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17740 rm -f conftest.
$ac_objext
17741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17742 (eval $ac_compile) 2>conftest.er1
17744 grep -v '^ *+' conftest.er1
>conftest.err
17746 cat conftest.err
>&5
17747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17748 (exit $ac_status); } &&
17749 { ac_try
='test -z "$ac_c_werror_flag"
17750 || test ! -s conftest.err'
17751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17752 (eval $ac_try) 2>&5
17754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17755 (exit $ac_status); }; } &&
17756 { ac_try
='test -s conftest.$ac_objext'
17757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17758 (eval $ac_try) 2>&5
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); }; }; then
17764 cat >conftest.
$ac_ext <<_ACEOF
17767 cat confdefs.h
>>conftest.
$ac_ext
17768 cat >>conftest.
$ac_ext <<_ACEOF
17769 /* end confdefs.h. */
17770 $ac_includes_default
17774 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17781 rm -f conftest.
$ac_objext
17782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17783 (eval $ac_compile) 2>conftest.er1
17785 grep -v '^ *+' conftest.er1
>conftest.err
17787 cat conftest.err
>&5
17788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17789 (exit $ac_status); } &&
17790 { ac_try
='test -z "$ac_c_werror_flag"
17791 || test ! -s conftest.err'
17792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17793 (eval $ac_try) 2>&5
17795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17796 (exit $ac_status); }; } &&
17797 { ac_try
='test -s conftest.$ac_objext'
17798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17799 (eval $ac_try) 2>&5
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); }; }; then
17803 ac_hi
=$ac_mid; break
17805 echo "$as_me: failed program was:" >&5
17806 sed 's/^/| /' conftest.
$ac_ext >&5
17808 ac_lo
=`expr $ac_mid + 1`
17809 if test $ac_lo -le $ac_mid; then
17813 ac_mid
=`expr 2 '*' $ac_mid + 1`
17815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17818 echo "$as_me: failed program was:" >&5
17819 sed 's/^/| /' conftest.
$ac_ext >&5
17821 cat >conftest.
$ac_ext <<_ACEOF
17824 cat confdefs.h
>>conftest.
$ac_ext
17825 cat >>conftest.
$ac_ext <<_ACEOF
17826 /* end confdefs.h. */
17827 $ac_includes_default
17831 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17838 rm -f conftest.
$ac_objext
17839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17840 (eval $ac_compile) 2>conftest.er1
17842 grep -v '^ *+' conftest.er1
>conftest.err
17844 cat conftest.err
>&5
17845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846 (exit $ac_status); } &&
17847 { ac_try
='test -z "$ac_c_werror_flag"
17848 || test ! -s conftest.err'
17849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17850 (eval $ac_try) 2>&5
17852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17853 (exit $ac_status); }; } &&
17854 { ac_try
='test -s conftest.$ac_objext'
17855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17856 (eval $ac_try) 2>&5
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); }; }; then
17862 cat >conftest.
$ac_ext <<_ACEOF
17865 cat confdefs.h
>>conftest.
$ac_ext
17866 cat >>conftest.
$ac_ext <<_ACEOF
17867 /* end confdefs.h. */
17868 $ac_includes_default
17872 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17879 rm -f conftest.
$ac_objext
17880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17881 (eval $ac_compile) 2>conftest.er1
17883 grep -v '^ *+' conftest.er1
>conftest.err
17885 cat conftest.err
>&5
17886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887 (exit $ac_status); } &&
17888 { ac_try
='test -z "$ac_c_werror_flag"
17889 || test ! -s conftest.err'
17890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17891 (eval $ac_try) 2>&5
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); }; } &&
17895 { ac_try
='test -s conftest.$ac_objext'
17896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17897 (eval $ac_try) 2>&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); }; }; then
17901 ac_lo
=$ac_mid; break
17903 echo "$as_me: failed program was:" >&5
17904 sed 's/^/| /' conftest.
$ac_ext >&5
17906 ac_hi
=`expr '(' $ac_mid ')' - 1`
17907 if test $ac_mid -le $ac_hi; then
17911 ac_mid
=`expr 2 '*' $ac_mid`
17913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17916 echo "$as_me: failed program was:" >&5
17917 sed 's/^/| /' conftest.
$ac_ext >&5
17921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17924 # Binary search between lo and hi bounds.
17925 while test "x$ac_lo" != "x$ac_hi"; do
17926 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17927 cat >conftest.
$ac_ext <<_ACEOF
17930 cat confdefs.h
>>conftest.
$ac_ext
17931 cat >>conftest.
$ac_ext <<_ACEOF
17932 /* end confdefs.h. */
17933 $ac_includes_default
17937 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17944 rm -f conftest.
$ac_objext
17945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17946 (eval $ac_compile) 2>conftest.er1
17948 grep -v '^ *+' conftest.er1
>conftest.err
17950 cat conftest.err
>&5
17951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17952 (exit $ac_status); } &&
17953 { ac_try
='test -z "$ac_c_werror_flag"
17954 || test ! -s conftest.err'
17955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17956 (eval $ac_try) 2>&5
17958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17959 (exit $ac_status); }; } &&
17960 { ac_try
='test -s conftest.$ac_objext'
17961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17962 (eval $ac_try) 2>&5
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); }; }; then
17968 echo "$as_me: failed program was:" >&5
17969 sed 's/^/| /' conftest.
$ac_ext >&5
17971 ac_lo
=`expr '(' $ac_mid ')' + 1`
17973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17976 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17977 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17978 See \`config.log' for more details." >&5
17979 echo "$as_me: error: cannot compute sizeof (long long), 77
17980 See \`config.log' for more details." >&2;}
17981 { (exit 1); exit 1; }; } ;;
17984 if test "$cross_compiling" = yes; then
17985 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17986 See \`config.log' for more details." >&5
17987 echo "$as_me: error: cannot run test program while cross compiling
17988 See \`config.log' for more details." >&2;}
17989 { (exit 1); exit 1; }; }
17991 cat >conftest.
$ac_ext <<_ACEOF
17994 cat confdefs.h
>>conftest.
$ac_ext
17995 cat >>conftest.
$ac_ext <<_ACEOF
17996 /* end confdefs.h. */
17997 $ac_includes_default
17998 long longval () { return (long) (sizeof (long long)); }
17999 unsigned long ulongval () { return (long) (sizeof (long long)); }
18001 #include <stdlib.h>
18006 FILE *f = fopen ("conftest.val", "w");
18009 if (((long) (sizeof (long long))) < 0)
18011 long i = longval ();
18012 if (i != ((long) (sizeof (long long))))
18014 fprintf (f, "%ld\n", i);
18018 unsigned long i = ulongval ();
18019 if (i != ((long) (sizeof (long long))))
18021 fprintf (f, "%lu\n", i);
18023 exit (ferror (f) || fclose (f) != 0);
18029 rm -f conftest
$ac_exeext
18030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18031 (eval $ac_link) 2>&5
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18036 (eval $ac_try) 2>&5
18038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039 (exit $ac_status); }; }; then
18040 ac_cv_sizeof_long_long
=`cat conftest.val`
18042 echo "$as_me: program exited with status $ac_status" >&5
18043 echo "$as_me: failed program was:" >&5
18044 sed 's/^/| /' conftest.
$ac_ext >&5
18046 ( exit $ac_status )
18047 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18048 See \`config.log' for more details." >&5
18049 echo "$as_me: error: cannot compute sizeof (long long), 77
18050 See \`config.log' for more details." >&2;}
18051 { (exit 1); exit 1; }; }
18053 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18058 ac_cv_sizeof_long_long
=0
18061 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18062 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18063 cat >>confdefs.h
<<_ACEOF
18064 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18070 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18071 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18072 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18073 echo $ECHO_N "(cached) $ECHO_C" >&6
18076 if test "$cross_compiling" = yes; then
18080 wx_cv_sizeof_wchar_t
=0
18083 wx_cv_sizeof_wchar_t
=4
18089 cat >conftest.
$ac_ext <<_ACEOF
18092 cat confdefs.h
>>conftest.
$ac_ext
18093 cat >>conftest.
$ac_ext <<_ACEOF
18094 /* end confdefs.h. */
18096 /* DJGPP only has fake wchar_t: */
18098 # error "fake wchar_t"
18100 #ifdef HAVE_WCHAR_H
18102 # include <stddef.h>
18104 # include <wchar.h>
18106 #ifdef HAVE_STDLIB_H
18107 # include <stdlib.h>
18112 FILE *f=fopen("conftestval", "w");
18114 fprintf(f, "%i", sizeof(wchar_t));
18119 rm -f conftest
$ac_exeext
18120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18121 (eval $ac_link) 2>&5
18123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18126 (eval $ac_try) 2>&5
18128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18129 (exit $ac_status); }; }; then
18130 wx_cv_sizeof_wchar_t
=`cat conftestval`
18132 echo "$as_me: program exited with status $ac_status" >&5
18133 echo "$as_me: failed program was:" >&5
18134 sed 's/^/| /' conftest.
$ac_ext >&5
18136 ( exit $ac_status )
18137 wx_cv_sizeof_wchar_t
=0
18139 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18143 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18144 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18146 cat >>confdefs.h
<<_ACEOF
18147 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18151 # Check whether --enable-largefile or --disable-largefile was given.
18152 if test "${enable_largefile+set}" = set; then
18153 enableval
="$enable_largefile"
18156 if test "$enable_largefile" != no
; then
18159 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18160 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18161 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18162 echo $ECHO_N "(cached) $ECHO_C" >&6
18165 cat >conftest.
$ac_ext <<_ACEOF
18168 cat confdefs.h
>>conftest.
$ac_ext
18169 cat >>conftest.
$ac_ext <<_ACEOF
18170 /* end confdefs.h. */
18171 #define _FILE_OFFSET_BITS 64
18172 #include <sys/types.h>
18177 unsigned int field: sizeof(off_t) == 8;
18184 rm -f conftest.
$ac_objext
18185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18186 (eval $ac_compile) 2>conftest.er1
18188 grep -v '^ *+' conftest.er1
>conftest.err
18190 cat conftest.err
>&5
18191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18192 (exit $ac_status); } &&
18193 { ac_try
='test -z "$ac_c_werror_flag"
18194 || test ! -s conftest.err'
18195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18196 (eval $ac_try) 2>&5
18198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18199 (exit $ac_status); }; } &&
18200 { ac_try
='test -s conftest.$ac_objext'
18201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18202 (eval $ac_try) 2>&5
18204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18205 (exit $ac_status); }; }; then
18206 ac_cv_sys_file_offset_bits
=64
18208 echo "$as_me: failed program was:" >&5
18209 sed 's/^/| /' conftest.
$ac_ext >&5
18211 ac_cv_sys_file_offset_bits
=no
18213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18217 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18218 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18220 if test "$ac_cv_sys_file_offset_bits" != no
; then
18222 cat >>confdefs.h
<<_ACEOF
18223 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18228 if test "x$wx_largefile" != "xyes"; then
18230 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18231 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18232 if test "${ac_cv_sys_large_files+set}" = set; then
18233 echo $ECHO_N "(cached) $ECHO_C" >&6
18236 cat >conftest.
$ac_ext <<_ACEOF
18239 cat confdefs.h
>>conftest.
$ac_ext
18240 cat >>conftest.
$ac_ext <<_ACEOF
18241 /* end confdefs.h. */
18242 #define _LARGE_FILES 1
18243 #include <sys/types.h>
18248 unsigned int field: sizeof(off_t) == 8;
18255 rm -f conftest.
$ac_objext
18256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18257 (eval $ac_compile) 2>conftest.er1
18259 grep -v '^ *+' conftest.er1
>conftest.err
18261 cat conftest.err
>&5
18262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18263 (exit $ac_status); } &&
18264 { ac_try
='test -z "$ac_c_werror_flag"
18265 || test ! -s conftest.err'
18266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18267 (eval $ac_try) 2>&5
18269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270 (exit $ac_status); }; } &&
18271 { ac_try
='test -s conftest.$ac_objext'
18272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18273 (eval $ac_try) 2>&5
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); }; }; then
18277 ac_cv_sys_large_files
=1
18279 echo "$as_me: failed program was:" >&5
18280 sed 's/^/| /' conftest.
$ac_ext >&5
18282 ac_cv_sys_large_files
=no
18284 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18288 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18289 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18291 if test "$ac_cv_sys_large_files" != no
; then
18293 cat >>confdefs.h
<<_ACEOF
18294 #define _LARGE_FILES $ac_cv_sys_large_files
18301 echo "$as_me:$LINENO: checking if large file support is available" >&5
18302 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18303 if test "x$wx_largefile" = "xyes"; then
18304 cat >>confdefs.h
<<\_ACEOF
18305 #define HAVE_LARGEFILE_SUPPORT 1
18309 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18310 echo "${ECHO_T}$wx_largefile" >&6
18314 if test "x$wx_largefile" = "xyes"; then
18315 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18316 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18318 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18320 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18323 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18324 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18325 if test "${ac_cv_c_bigendian+set}" = set; then
18326 echo $ECHO_N "(cached) $ECHO_C" >&6
18328 ac_cv_c_bigendian
=unknown
18329 # See if sys/param.h defines the BYTE_ORDER macro.
18330 cat >conftest.
$ac_ext <<_ACEOF
18333 cat confdefs.h
>>conftest.
$ac_ext
18334 cat >>conftest.
$ac_ext <<_ACEOF
18335 /* end confdefs.h. */
18336 #include <sys/types.h>
18337 #include <sys/param.h>
18342 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18343 bogus endian macros
18349 rm -f conftest.
$ac_objext
18350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18351 (eval $ac_compile) 2>conftest.er1
18353 grep -v '^ *+' conftest.er1
>conftest.err
18355 cat conftest.err
>&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); } &&
18358 { ac_try
='test -z "$ac_c_werror_flag"
18359 || test ! -s conftest.err'
18360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18361 (eval $ac_try) 2>&5
18363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364 (exit $ac_status); }; } &&
18365 { ac_try
='test -s conftest.$ac_objext'
18366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18367 (eval $ac_try) 2>&5
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); }; }; then
18371 # It does; now see whether it defined to BIG_ENDIAN or not.
18372 cat >conftest.
$ac_ext <<_ACEOF
18375 cat confdefs.h
>>conftest.
$ac_ext
18376 cat >>conftest.
$ac_ext <<_ACEOF
18377 /* end confdefs.h. */
18378 #include <sys/types.h>
18379 #include <sys/param.h>
18384 #if BYTE_ORDER != BIG_ENDIAN
18391 rm -f conftest.
$ac_objext
18392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18393 (eval $ac_compile) 2>conftest.er1
18395 grep -v '^ *+' conftest.er1
>conftest.err
18397 cat conftest.err
>&5
18398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18399 (exit $ac_status); } &&
18400 { ac_try
='test -z "$ac_c_werror_flag"
18401 || test ! -s conftest.err'
18402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18403 (eval $ac_try) 2>&5
18405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 (exit $ac_status); }; } &&
18407 { ac_try
='test -s conftest.$ac_objext'
18408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18409 (eval $ac_try) 2>&5
18411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18412 (exit $ac_status); }; }; then
18413 ac_cv_c_bigendian
=yes
18415 echo "$as_me: failed program was:" >&5
18416 sed 's/^/| /' conftest.
$ac_ext >&5
18418 ac_cv_c_bigendian
=no
18420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18422 echo "$as_me: failed program was:" >&5
18423 sed 's/^/| /' conftest.
$ac_ext >&5
18426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18427 if test $ac_cv_c_bigendian = unknown
; then
18428 if test "$cross_compiling" = yes; then
18429 ac_cv_c_bigendian
=unknown
18431 cat >conftest.
$ac_ext <<_ACEOF
18434 cat confdefs.h
>>conftest.
$ac_ext
18435 cat >>conftest.
$ac_ext <<_ACEOF
18436 /* end confdefs.h. */
18438 /* Are we little or big endian? From Harbison&Steele. */
18442 char c[sizeof (long)];
18445 exit (u.c[sizeof (long) - 1] == 1);
18448 rm -f conftest
$ac_exeext
18449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18450 (eval $ac_link) 2>&5
18452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18453 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18455 (eval $ac_try) 2>&5
18457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18458 (exit $ac_status); }; }; then
18459 ac_cv_c_bigendian
=no
18461 echo "$as_me: program exited with status $ac_status" >&5
18462 echo "$as_me: failed program was:" >&5
18463 sed 's/^/| /' conftest.
$ac_ext >&5
18465 ( exit $ac_status )
18466 ac_cv_c_bigendian
=yes
18468 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18472 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18473 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18474 if test $ac_cv_c_bigendian = unknown
; then
18475 { 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
18476 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;}
18478 if test $ac_cv_c_bigendian = yes; then
18479 cat >>confdefs.h
<<\_ACEOF
18480 #define WORDS_BIGENDIAN 1
18487 ac_cpp
='$CXXCPP $CPPFLAGS'
18488 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18489 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18490 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18491 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18492 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18493 if test -z "$CXXCPP"; then
18494 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18495 echo $ECHO_N "(cached) $ECHO_C" >&6
18497 # Double quotes because CXXCPP needs to be expanded
18498 for CXXCPP
in "$CXX -E" "/lib/cpp"
18500 ac_preproc_ok
=false
18501 for ac_cxx_preproc_warn_flag
in '' yes
18503 # Use a header file that comes with gcc, so configuring glibc
18504 # with a fresh cross-compiler works.
18505 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18506 # <limits.h> exists even on freestanding compilers.
18507 # On the NeXT, cc -E runs the code through the compiler's parser,
18508 # not just through cpp. "Syntax error" is here to catch this case.
18509 cat >conftest.
$ac_ext <<_ACEOF
18512 cat confdefs.h
>>conftest.
$ac_ext
18513 cat >>conftest.
$ac_ext <<_ACEOF
18514 /* end confdefs.h. */
18516 # include <limits.h>
18518 # include <assert.h>
18522 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18523 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18525 grep -v '^ *+' conftest.er1
>conftest.err
18527 cat conftest.err
>&5
18528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18529 (exit $ac_status); } >/dev
/null
; then
18530 if test -s conftest.err
; then
18531 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18532 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18539 if test -z "$ac_cpp_err"; then
18542 echo "$as_me: failed program was:" >&5
18543 sed 's/^/| /' conftest.
$ac_ext >&5
18545 # Broken: fails on valid input.
18548 rm -f conftest.err conftest.
$ac_ext
18550 # OK, works on sane cases. Now check whether non-existent headers
18551 # can be detected and how.
18552 cat >conftest.
$ac_ext <<_ACEOF
18555 cat confdefs.h
>>conftest.
$ac_ext
18556 cat >>conftest.
$ac_ext <<_ACEOF
18557 /* end confdefs.h. */
18558 #include <ac_nonexistent.h>
18560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18561 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18563 grep -v '^ *+' conftest.er1
>conftest.err
18565 cat conftest.err
>&5
18566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18567 (exit $ac_status); } >/dev
/null
; then
18568 if test -s conftest.err
; then
18569 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18570 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18577 if test -z "$ac_cpp_err"; then
18578 # Broken: success on invalid input.
18581 echo "$as_me: failed program was:" >&5
18582 sed 's/^/| /' conftest.
$ac_ext >&5
18584 # Passes both tests.
18588 rm -f conftest.err conftest.
$ac_ext
18591 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18592 rm -f conftest.err conftest.
$ac_ext
18593 if $ac_preproc_ok; then
18598 ac_cv_prog_CXXCPP
=$CXXCPP
18601 CXXCPP
=$ac_cv_prog_CXXCPP
18603 ac_cv_prog_CXXCPP
=$CXXCPP
18605 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18606 echo "${ECHO_T}$CXXCPP" >&6
18607 ac_preproc_ok
=false
18608 for ac_cxx_preproc_warn_flag
in '' yes
18610 # Use a header file that comes with gcc, so configuring glibc
18611 # with a fresh cross-compiler works.
18612 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18613 # <limits.h> exists even on freestanding compilers.
18614 # On the NeXT, cc -E runs the code through the compiler's parser,
18615 # not just through cpp. "Syntax error" is here to catch this case.
18616 cat >conftest.
$ac_ext <<_ACEOF
18619 cat confdefs.h
>>conftest.
$ac_ext
18620 cat >>conftest.
$ac_ext <<_ACEOF
18621 /* end confdefs.h. */
18623 # include <limits.h>
18625 # include <assert.h>
18629 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18630 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18632 grep -v '^ *+' conftest.er1
>conftest.err
18634 cat conftest.err
>&5
18635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); } >/dev
/null
; then
18637 if test -s conftest.err
; then
18638 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18639 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18646 if test -z "$ac_cpp_err"; then
18649 echo "$as_me: failed program was:" >&5
18650 sed 's/^/| /' conftest.
$ac_ext >&5
18652 # Broken: fails on valid input.
18655 rm -f conftest.err conftest.
$ac_ext
18657 # OK, works on sane cases. Now check whether non-existent headers
18658 # can be detected and how.
18659 cat >conftest.
$ac_ext <<_ACEOF
18662 cat confdefs.h
>>conftest.
$ac_ext
18663 cat >>conftest.
$ac_ext <<_ACEOF
18664 /* end confdefs.h. */
18665 #include <ac_nonexistent.h>
18667 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18668 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18670 grep -v '^ *+' conftest.er1
>conftest.err
18672 cat conftest.err
>&5
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); } >/dev
/null
; then
18675 if test -s conftest.err
; then
18676 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18677 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18684 if test -z "$ac_cpp_err"; then
18685 # Broken: success on invalid input.
18688 echo "$as_me: failed program was:" >&5
18689 sed 's/^/| /' conftest.
$ac_ext >&5
18691 # Passes both tests.
18695 rm -f conftest.err conftest.
$ac_ext
18698 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18699 rm -f conftest.err conftest.
$ac_ext
18700 if $ac_preproc_ok; then
18703 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18704 See \`config.log' for more details." >&5
18705 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18706 See \`config.log' for more details." >&2;}
18707 { (exit 1); exit 1; }; }
18711 ac_cpp
='$CXXCPP $CPPFLAGS'
18712 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18713 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18714 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18721 ac_cpp
='$CXXCPP $CPPFLAGS'
18722 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18723 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18724 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18728 for ac_header
in iostream
18730 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18732 echo "$as_me:$LINENO: checking for $ac_header" >&5
18733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18735 echo $ECHO_N "(cached) $ECHO_C" >&6
18737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18740 # Is the header compilable?
18741 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18742 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18743 cat >conftest.
$ac_ext <<_ACEOF
18746 cat confdefs.h
>>conftest.
$ac_ext
18747 cat >>conftest.
$ac_ext <<_ACEOF
18748 /* end confdefs.h. */
18749 $ac_includes_default
18750 #include <$ac_header>
18752 rm -f conftest.
$ac_objext
18753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18754 (eval $ac_compile) 2>conftest.er1
18756 grep -v '^ *+' conftest.er1
>conftest.err
18758 cat conftest.err
>&5
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); } &&
18761 { ac_try
='test -z "$ac_cxx_werror_flag"
18762 || test ! -s conftest.err'
18763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18764 (eval $ac_try) 2>&5
18766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18767 (exit $ac_status); }; } &&
18768 { ac_try
='test -s conftest.$ac_objext'
18769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18770 (eval $ac_try) 2>&5
18772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18773 (exit $ac_status); }; }; then
18774 ac_header_compiler
=yes
18776 echo "$as_me: failed program was:" >&5
18777 sed 's/^/| /' conftest.
$ac_ext >&5
18779 ac_header_compiler
=no
18781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18782 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18783 echo "${ECHO_T}$ac_header_compiler" >&6
18785 # Is the header present?
18786 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18787 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18788 cat >conftest.
$ac_ext <<_ACEOF
18791 cat confdefs.h
>>conftest.
$ac_ext
18792 cat >>conftest.
$ac_ext <<_ACEOF
18793 /* end confdefs.h. */
18794 #include <$ac_header>
18796 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18797 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18799 grep -v '^ *+' conftest.er1
>conftest.err
18801 cat conftest.err
>&5
18802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18803 (exit $ac_status); } >/dev
/null
; then
18804 if test -s conftest.err
; then
18805 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18806 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18813 if test -z "$ac_cpp_err"; then
18814 ac_header_preproc
=yes
18816 echo "$as_me: failed program was:" >&5
18817 sed 's/^/| /' conftest.
$ac_ext >&5
18819 ac_header_preproc
=no
18821 rm -f conftest.err conftest.
$ac_ext
18822 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18823 echo "${ECHO_T}$ac_header_preproc" >&6
18825 # So? What about this header?
18826 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18828 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18829 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18831 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18832 ac_header_preproc
=yes
18835 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18836 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18837 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18838 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18839 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18840 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18841 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18842 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18843 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18844 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18845 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18846 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18849 ## ----------------------------------------- ##
18850 ## Report this to wx-dev@lists.wxwidgets.org ##
18851 ## ----------------------------------------- ##
18854 sed "s/^/$as_me: WARNING: /" >&2
18857 echo "$as_me:$LINENO: checking for $ac_header" >&5
18858 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18860 echo $ECHO_N "(cached) $ECHO_C" >&6
18862 eval "$as_ac_Header=\$ac_header_preproc"
18864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18868 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18869 cat >>confdefs.h
<<_ACEOF
18870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18878 if test "$ac_cv_header_iostream" = "yes" ; then
18881 cat >>confdefs.h
<<\_ACEOF
18882 #define wxUSE_IOSTREAMH 1
18888 ac_cpp
='$CPP $CPPFLAGS'
18889 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18890 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18891 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18896 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18897 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18898 if test "${wx_cv_cpp_bool+set}" = set; then
18899 echo $ECHO_N "(cached) $ECHO_C" >&6
18905 ac_cpp
='$CXXCPP $CPPFLAGS'
18906 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18907 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18908 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18911 cat >conftest.
$ac_ext <<_ACEOF
18914 cat confdefs.h
>>conftest.
$ac_ext
18915 cat >>conftest.
$ac_ext <<_ACEOF
18916 /* end confdefs.h. */
18931 rm -f conftest.
$ac_objext
18932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18933 (eval $ac_compile) 2>conftest.er1
18935 grep -v '^ *+' conftest.er1
>conftest.err
18937 cat conftest.err
>&5
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); } &&
18940 { ac_try
='test -z "$ac_cxx_werror_flag"
18941 || test ! -s conftest.err'
18942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18943 (eval $ac_try) 2>&5
18945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18946 (exit $ac_status); }; } &&
18947 { ac_try
='test -s conftest.$ac_objext'
18948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18949 (eval $ac_try) 2>&5
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); }; }; then
18957 echo "$as_me: failed program was:" >&5
18958 sed 's/^/| /' conftest.
$ac_ext >&5
18965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18968 ac_cpp
='$CPP $CPPFLAGS'
18969 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18970 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18971 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18975 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18976 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18978 if test "$wx_cv_cpp_bool" = "yes"; then
18979 cat >>confdefs.h
<<\_ACEOF
18980 #define HAVE_BOOL 1
18987 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18988 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18989 if test "${wx_cv_explicit+set}" = set; then
18990 echo $ECHO_N "(cached) $ECHO_C" >&6
18996 ac_cpp
='$CXXCPP $CPPFLAGS'
18997 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18998 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18999 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19002 cat >conftest.
$ac_ext <<_ACEOF
19005 cat confdefs.h
>>conftest.
$ac_ext
19006 cat >>conftest.
$ac_ext <<_ACEOF
19007 /* end confdefs.h. */
19009 class Foo { public: explicit Foo(int) {} };
19021 rm -f conftest.
$ac_objext
19022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19023 (eval $ac_compile) 2>conftest.er1
19025 grep -v '^ *+' conftest.er1
>conftest.err
19027 cat conftest.err
>&5
19028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029 (exit $ac_status); } &&
19030 { ac_try
='test -z "$ac_cxx_werror_flag"
19031 || test ! -s conftest.err'
19032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19033 (eval $ac_try) 2>&5
19035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036 (exit $ac_status); }; } &&
19037 { ac_try
='test -s conftest.$ac_objext'
19038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19039 (eval $ac_try) 2>&5
19041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042 (exit $ac_status); }; }; then
19044 cat >conftest.
$ac_ext <<_ACEOF
19047 cat confdefs.h
>>conftest.
$ac_ext
19048 cat >>conftest.
$ac_ext <<_ACEOF
19049 /* end confdefs.h. */
19051 class Foo { public: explicit Foo(int) {} };
19052 static void TakeFoo(const Foo& foo) { }
19065 rm -f conftest.
$ac_objext
19066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19067 (eval $ac_compile) 2>conftest.er1
19069 grep -v '^ *+' conftest.er1
>conftest.err
19071 cat conftest.err
>&5
19072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); } &&
19074 { ac_try
='test -z "$ac_cxx_werror_flag"
19075 || test ! -s conftest.err'
19076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19077 (eval $ac_try) 2>&5
19079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19080 (exit $ac_status); }; } &&
19081 { ac_try
='test -s conftest.$ac_objext'
19082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19083 (eval $ac_try) 2>&5
19085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19086 (exit $ac_status); }; }; then
19089 echo "$as_me: failed program was:" >&5
19090 sed 's/^/| /' conftest.
$ac_ext >&5
19095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19098 echo "$as_me: failed program was:" >&5
19099 sed 's/^/| /' conftest.
$ac_ext >&5
19104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19107 ac_cpp
='$CPP $CPPFLAGS'
19108 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19109 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19110 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19114 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19115 echo "${ECHO_T}$wx_cv_explicit" >&6
19117 if test "$wx_cv_explicit" = "yes"; then
19118 cat >>confdefs.h
<<\_ACEOF
19119 #define HAVE_EXPLICIT 1
19125 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19126 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19127 if test "${ac_cv_cxx_const_cast+set}" = set; then
19128 echo $ECHO_N "(cached) $ECHO_C" >&6
19133 ac_cpp
='$CXXCPP $CPPFLAGS'
19134 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19135 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19136 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19138 cat >conftest.
$ac_ext <<_ACEOF
19141 cat confdefs.h
>>conftest.
$ac_ext
19142 cat >>conftest.
$ac_ext <<_ACEOF
19143 /* end confdefs.h. */
19148 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19153 rm -f conftest.
$ac_objext
19154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19155 (eval $ac_compile) 2>conftest.er1
19157 grep -v '^ *+' conftest.er1
>conftest.err
19159 cat conftest.err
>&5
19160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19161 (exit $ac_status); } &&
19162 { ac_try
='test -z "$ac_cxx_werror_flag"
19163 || test ! -s conftest.err'
19164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19165 (eval $ac_try) 2>&5
19167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19168 (exit $ac_status); }; } &&
19169 { ac_try
='test -s conftest.$ac_objext'
19170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19171 (eval $ac_try) 2>&5
19173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19174 (exit $ac_status); }; }; then
19175 ac_cv_cxx_const_cast
=yes
19177 echo "$as_me: failed program was:" >&5
19178 sed 's/^/| /' conftest.
$ac_ext >&5
19180 ac_cv_cxx_const_cast
=no
19182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19184 ac_cpp
='$CPP $CPPFLAGS'
19185 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19186 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19187 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19191 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19192 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19193 if test "$ac_cv_cxx_const_cast" = yes; then
19195 cat >>confdefs.h
<<\_ACEOF
19196 #define HAVE_CONST_CAST
19201 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19202 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19203 if test "${ac_cv_cxx_static_cast+set}" = set; then
19204 echo $ECHO_N "(cached) $ECHO_C" >&6
19209 ac_cpp
='$CXXCPP $CPPFLAGS'
19210 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19211 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19212 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19214 cat >conftest.
$ac_ext <<_ACEOF
19217 cat confdefs.h
>>conftest.
$ac_ext
19218 cat >>conftest.
$ac_ext <<_ACEOF
19219 /* end confdefs.h. */
19220 #include <typeinfo>
19221 class Base { public : Base () {} virtual void f () = 0; };
19222 class Derived : public Base { public : Derived () {} virtual void f () {} };
19223 int g (Derived&) { return 0; }
19228 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19233 rm -f conftest.
$ac_objext
19234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19235 (eval $ac_compile) 2>conftest.er1
19237 grep -v '^ *+' conftest.er1
>conftest.err
19239 cat conftest.err
>&5
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); } &&
19242 { ac_try
='test -z "$ac_cxx_werror_flag"
19243 || test ! -s conftest.err'
19244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19245 (eval $ac_try) 2>&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); }; } &&
19249 { ac_try
='test -s conftest.$ac_objext'
19250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19251 (eval $ac_try) 2>&5
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); }; }; then
19255 ac_cv_cxx_static_cast
=yes
19257 echo "$as_me: failed program was:" >&5
19258 sed 's/^/| /' conftest.
$ac_ext >&5
19260 ac_cv_cxx_static_cast
=no
19262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19264 ac_cpp
='$CPP $CPPFLAGS'
19265 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19266 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19267 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19271 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19272 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19273 if test "$ac_cv_cxx_static_cast" = yes; then
19275 cat >>confdefs.h
<<\_ACEOF
19276 #define HAVE_STATIC_CAST
19282 if test "$wxUSE_STL" = "yes"; then
19284 ac_cpp
='$CXXCPP $CPPFLAGS'
19285 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19286 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19287 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19290 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19291 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19292 cat >conftest.
$ac_ext <<_ACEOF
19295 cat confdefs.h
>>conftest.
$ac_ext
19296 cat >>conftest.
$ac_ext <<_ACEOF
19297 /* end confdefs.h. */
19299 #include <functional>
19300 #include <algorithm>
19306 std::vector<int> moo;
19307 std::list<int> foo;
19308 std::vector<int>::iterator it =
19309 std::find_if(moo.begin(), moo.end(),
19310 std::bind2nd(std::less<int>(), 3));
19315 rm -f conftest.
$ac_objext
19316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19317 (eval $ac_compile) 2>conftest.er1
19319 grep -v '^ *+' conftest.er1
>conftest.err
19321 cat conftest.err
>&5
19322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19323 (exit $ac_status); } &&
19324 { ac_try
='test -z "$ac_cxx_werror_flag"
19325 || test ! -s conftest.err'
19326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19327 (eval $ac_try) 2>&5
19329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19330 (exit $ac_status); }; } &&
19331 { ac_try
='test -s conftest.$ac_objext'
19332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19333 (eval $ac_try) 2>&5
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); }; }; then
19337 echo "$as_me:$LINENO: result: yes" >&5
19338 echo "${ECHO_T}yes" >&6
19340 echo "$as_me: failed program was:" >&5
19341 sed 's/^/| /' conftest.
$ac_ext >&5
19343 echo "$as_me:$LINENO: result: no" >&5
19344 echo "${ECHO_T}no" >&6
19345 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19346 echo "$as_me: error: Basic STL functionality missing" >&2;}
19347 { (exit 1); exit 1; }; }
19349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19351 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19352 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19353 cat >conftest.
$ac_ext <<_ACEOF
19356 cat confdefs.h
>>conftest.
$ac_ext
19357 cat >>conftest.
$ac_ext <<_ACEOF
19358 /* end confdefs.h. */
19368 rm -f conftest.
$ac_objext
19369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19370 (eval $ac_compile) 2>conftest.er1
19372 grep -v '^ *+' conftest.er1
>conftest.err
19374 cat conftest.err
>&5
19375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19376 (exit $ac_status); } &&
19377 { ac_try
='test -z "$ac_cxx_werror_flag"
19378 || test ! -s conftest.err'
19379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19380 (eval $ac_try) 2>&5
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); }; } &&
19384 { ac_try
='test -s conftest.$ac_objext'
19385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19386 (eval $ac_try) 2>&5
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); }; }; then
19390 echo "$as_me:$LINENO: result: yes" >&5
19391 echo "${ECHO_T}yes" >&6
19392 cat >>confdefs.h
<<\_ACEOF
19393 #define HAVE_STD_WSTRING 1
19397 echo "$as_me: failed program was:" >&5
19398 sed 's/^/| /' conftest.
$ac_ext >&5
19400 echo "$as_me:$LINENO: result: no" >&5
19401 echo "${ECHO_T}no" >&6
19403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19405 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19406 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19407 cat >conftest.
$ac_ext <<_ACEOF
19410 cat confdefs.h
>>conftest.
$ac_ext
19411 cat >>conftest.
$ac_ext <<_ACEOF
19412 /* end confdefs.h. */
19417 std::string foo, bar;
19419 foo.compare(1, 1, bar);
19420 foo.compare(1, 1, bar, 1, 1);
19422 foo.compare(1, 1, "");
19423 foo.compare(1, 1, "", 2);
19428 rm -f conftest.
$ac_objext
19429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19430 (eval $ac_compile) 2>conftest.er1
19432 grep -v '^ *+' conftest.er1
>conftest.err
19434 cat conftest.err
>&5
19435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19436 (exit $ac_status); } &&
19437 { ac_try
='test -z "$ac_cxx_werror_flag"
19438 || test ! -s conftest.err'
19439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19440 (eval $ac_try) 2>&5
19442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19443 (exit $ac_status); }; } &&
19444 { ac_try
='test -s conftest.$ac_objext'
19445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19446 (eval $ac_try) 2>&5
19448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19449 (exit $ac_status); }; }; then
19450 echo "$as_me:$LINENO: result: yes" >&5
19451 echo "${ECHO_T}yes" >&6
19452 cat >>confdefs.h
<<\_ACEOF
19453 #define HAVE_STD_STRING_COMPARE 1
19457 echo "$as_me: failed program was:" >&5
19458 sed 's/^/| /' conftest.
$ac_ext >&5
19460 echo "$as_me:$LINENO: result: no" >&5
19461 echo "${ECHO_T}no" >&6
19463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19465 if test "${ac_cv_header_hash_map+set}" = set; then
19466 echo "$as_me:$LINENO: checking for hash_map" >&5
19467 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19468 if test "${ac_cv_header_hash_map+set}" = set; then
19469 echo $ECHO_N "(cached) $ECHO_C" >&6
19471 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19472 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19474 # Is the header compilable?
19475 echo "$as_me:$LINENO: checking hash_map usability" >&5
19476 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19477 cat >conftest.
$ac_ext <<_ACEOF
19480 cat confdefs.h
>>conftest.
$ac_ext
19481 cat >>conftest.
$ac_ext <<_ACEOF
19482 /* end confdefs.h. */
19483 $ac_includes_default
19484 #include <hash_map>
19486 rm -f conftest.
$ac_objext
19487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19488 (eval $ac_compile) 2>conftest.er1
19490 grep -v '^ *+' conftest.er1
>conftest.err
19492 cat conftest.err
>&5
19493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19494 (exit $ac_status); } &&
19495 { ac_try
='test -z "$ac_cxx_werror_flag"
19496 || test ! -s conftest.err'
19497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19498 (eval $ac_try) 2>&5
19500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19501 (exit $ac_status); }; } &&
19502 { ac_try
='test -s conftest.$ac_objext'
19503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19504 (eval $ac_try) 2>&5
19506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19507 (exit $ac_status); }; }; then
19508 ac_header_compiler
=yes
19510 echo "$as_me: failed program was:" >&5
19511 sed 's/^/| /' conftest.
$ac_ext >&5
19513 ac_header_compiler
=no
19515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19516 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19517 echo "${ECHO_T}$ac_header_compiler" >&6
19519 # Is the header present?
19520 echo "$as_me:$LINENO: checking hash_map presence" >&5
19521 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19522 cat >conftest.
$ac_ext <<_ACEOF
19525 cat confdefs.h
>>conftest.
$ac_ext
19526 cat >>conftest.
$ac_ext <<_ACEOF
19527 /* end confdefs.h. */
19528 #include <hash_map>
19530 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19531 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19533 grep -v '^ *+' conftest.er1
>conftest.err
19535 cat conftest.err
>&5
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); } >/dev
/null
; then
19538 if test -s conftest.err
; then
19539 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19540 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19547 if test -z "$ac_cpp_err"; then
19548 ac_header_preproc
=yes
19550 echo "$as_me: failed program was:" >&5
19551 sed 's/^/| /' conftest.
$ac_ext >&5
19553 ac_header_preproc
=no
19555 rm -f conftest.err conftest.
$ac_ext
19556 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19557 echo "${ECHO_T}$ac_header_preproc" >&6
19559 # So? What about this header?
19560 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19562 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19563 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19564 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19565 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19566 ac_header_preproc
=yes
19569 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19570 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19571 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19572 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19573 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19574 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19575 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19576 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19577 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19578 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19579 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19580 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19583 ## ----------------------------------------- ##
19584 ## Report this to wx-dev@lists.wxwidgets.org ##
19585 ## ----------------------------------------- ##
19588 sed "s/^/$as_me: WARNING: /" >&2
19591 echo "$as_me:$LINENO: checking for hash_map" >&5
19592 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19593 if test "${ac_cv_header_hash_map+set}" = set; then
19594 echo $ECHO_N "(cached) $ECHO_C" >&6
19596 ac_cv_header_hash_map
=$ac_header_preproc
19598 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19599 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19602 if test $ac_cv_header_hash_map = yes; then
19603 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19604 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19605 cat >conftest.
$ac_ext <<_ACEOF
19608 cat confdefs.h
>>conftest.
$ac_ext
19609 cat >>conftest.
$ac_ext <<_ACEOF
19610 /* end confdefs.h. */
19611 #include <hash_map>
19612 #include <hash_set>
19616 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19617 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19622 rm -f conftest.
$ac_objext
19623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19624 (eval $ac_compile) 2>conftest.er1
19626 grep -v '^ *+' conftest.er1
>conftest.err
19628 cat conftest.err
>&5
19629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19630 (exit $ac_status); } &&
19631 { ac_try
='test -z "$ac_cxx_werror_flag"
19632 || test ! -s conftest.err'
19633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19634 (eval $ac_try) 2>&5
19636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19637 (exit $ac_status); }; } &&
19638 { ac_try
='test -s conftest.$ac_objext'
19639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19640 (eval $ac_try) 2>&5
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); }; }; then
19644 echo "$as_me:$LINENO: result: yes" >&5
19645 echo "${ECHO_T}yes" >&6
19646 cat >>confdefs.h
<<\_ACEOF
19647 #define HAVE_HASH_MAP 1
19650 cat >>confdefs.h
<<\_ACEOF
19651 #define HAVE_STD_HASH_MAP 1
19655 echo "$as_me: failed program was:" >&5
19656 sed 's/^/| /' conftest.
$ac_ext >&5
19658 echo "$as_me:$LINENO: result: no" >&5
19659 echo "${ECHO_T}no" >&6
19661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19667 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19668 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19669 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19670 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19671 echo $ECHO_N "(cached) $ECHO_C" >&6
19673 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19674 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19676 # Is the header compilable?
19677 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19678 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19679 cat >conftest.
$ac_ext <<_ACEOF
19682 cat confdefs.h
>>conftest.
$ac_ext
19683 cat >>conftest.
$ac_ext <<_ACEOF
19684 /* end confdefs.h. */
19685 $ac_includes_default
19686 #include <ext/hash_map>
19688 rm -f conftest.
$ac_objext
19689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19690 (eval $ac_compile) 2>conftest.er1
19692 grep -v '^ *+' conftest.er1
>conftest.err
19694 cat conftest.err
>&5
19695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19696 (exit $ac_status); } &&
19697 { ac_try
='test -z "$ac_cxx_werror_flag"
19698 || test ! -s conftest.err'
19699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19700 (eval $ac_try) 2>&5
19702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); }; } &&
19704 { ac_try
='test -s conftest.$ac_objext'
19705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19706 (eval $ac_try) 2>&5
19708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709 (exit $ac_status); }; }; then
19710 ac_header_compiler
=yes
19712 echo "$as_me: failed program was:" >&5
19713 sed 's/^/| /' conftest.
$ac_ext >&5
19715 ac_header_compiler
=no
19717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19718 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19719 echo "${ECHO_T}$ac_header_compiler" >&6
19721 # Is the header present?
19722 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
19723 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
19724 cat >conftest.
$ac_ext <<_ACEOF
19727 cat confdefs.h
>>conftest.
$ac_ext
19728 cat >>conftest.
$ac_ext <<_ACEOF
19729 /* end confdefs.h. */
19730 #include <ext/hash_map>
19732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19733 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19735 grep -v '^ *+' conftest.er1
>conftest.err
19737 cat conftest.err
>&5
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); } >/dev
/null
; then
19740 if test -s conftest.err
; then
19741 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19742 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19749 if test -z "$ac_cpp_err"; then
19750 ac_header_preproc
=yes
19752 echo "$as_me: failed program was:" >&5
19753 sed 's/^/| /' conftest.
$ac_ext >&5
19755 ac_header_preproc
=no
19757 rm -f conftest.err conftest.
$ac_ext
19758 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19759 echo "${ECHO_T}$ac_header_preproc" >&6
19761 # So? What about this header?
19762 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19764 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19765 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19766 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
19767 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
19768 ac_header_preproc
=yes
19771 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
19772 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
19773 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
19774 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
19775 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
19776 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
19777 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
19778 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19779 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
19780 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
19781 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
19782 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
19785 ## ----------------------------------------- ##
19786 ## Report this to wx-dev@lists.wxwidgets.org ##
19787 ## ----------------------------------------- ##
19790 sed "s/^/$as_me: WARNING: /" >&2
19793 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19794 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19795 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19796 echo $ECHO_N "(cached) $ECHO_C" >&6
19798 ac_cv_header_ext_hash_map
=$ac_header_preproc
19800 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19801 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19804 if test $ac_cv_header_ext_hash_map = yes; then
19805 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19806 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19807 cat >conftest.
$ac_ext <<_ACEOF
19810 cat confdefs.h
>>conftest.
$ac_ext
19811 cat >>conftest.
$ac_ext <<_ACEOF
19812 /* end confdefs.h. */
19813 #include <ext/hash_map>
19814 #include <ext/hash_set>
19818 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
19819 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
19824 rm -f conftest.
$ac_objext
19825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19826 (eval $ac_compile) 2>conftest.er1
19828 grep -v '^ *+' conftest.er1
>conftest.err
19830 cat conftest.err
>&5
19831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19832 (exit $ac_status); } &&
19833 { ac_try
='test -z "$ac_cxx_werror_flag"
19834 || test ! -s conftest.err'
19835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19836 (eval $ac_try) 2>&5
19838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839 (exit $ac_status); }; } &&
19840 { ac_try
='test -s conftest.$ac_objext'
19841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19842 (eval $ac_try) 2>&5
19844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845 (exit $ac_status); }; }; then
19846 echo "$as_me:$LINENO: result: yes" >&5
19847 echo "${ECHO_T}yes" >&6
19848 cat >>confdefs.h
<<\_ACEOF
19849 #define HAVE_EXT_HASH_MAP 1
19852 cat >>confdefs.h
<<\_ACEOF
19853 #define HAVE_GNU_CXX_HASH_MAP 1
19857 echo "$as_me: failed program was:" >&5
19858 sed 's/^/| /' conftest.
$ac_ext >&5
19860 echo "$as_me:$LINENO: result: no" >&5
19861 echo "${ECHO_T}no" >&6
19863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19870 ac_cpp
='$CPP $CPPFLAGS'
19871 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19872 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19873 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19879 /usr/local/include \
19881 /usr/Motif-2.1/include \
19882 /usr/Motif-1.2/include \
19883 /usr/include/Motif1.2 \
19884 /opt/xpm/include/X11 \
19885 /opt/GBxpm/include/ \
19886 /opt/GBxpm/X11/include/ \
19889 /usr/openwin/include \
19893 /usr/X11R6/include \
19894 /usr/X11R6.4/include \
19895 /usr/X11R5/include \
19896 /usr/X11R4/include \
19898 /usr/include/X11R6 \
19899 /usr/include/X11R5 \
19900 /usr/include/X11R4 \
19902 /usr/local/X11R6/include \
19903 /usr/local/X11R5/include \
19904 /usr/local/X11R4/include \
19906 /usr/local/include/X11R6 \
19907 /usr/local/include/X11R5 \
19908 /usr/local/include/X11R4 \
19912 /usr/local/X11/include \
19913 /usr/local/include/X11 \
19915 /usr/X386/include \
19916 /usr/x386/include \
19917 /usr/XFree86/include/X11 \
19919 X:/XFree86/include \
19920 X:/XFree86/include/X11 \
19923 /usr/local/include/gtk \
19924 /usr/include/glib \
19925 /usr/local/include/glib \
19928 /usr/local/include/qt \
19930 /usr/local/arm/3.3.2/include \
19932 /usr/include/windows \
19933 /usr/include/wine \
19934 /usr/local/include/wine \
19936 /usr/unsupported/include \
19937 /usr/athena/include \
19938 /usr/local/x11r5/include \
19939 /usr/lpp/Xamples/include \
19941 /usr/openwin/share/include"
19943 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19946 cat >confcache
<<\_ACEOF
19947 # This file is a shell script that caches the results of configure
19948 # tests run on this system so they can be shared between configure
19949 # scripts and configure runs, see configure's option --config-cache.
19950 # It is not useful on other systems. If it contains results you don't
19951 # want to keep, you may remove or edit it.
19953 # config.status only pays attention to the cache file if you give it
19954 # the --recheck option to rerun configure.
19956 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19957 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19958 # following values.
19962 # The following way of writing the cache mishandles newlines in values,
19963 # but we know of no workaround that is simple, portable, and efficient.
19964 # So, don't put newlines in cache variables' values.
19965 # Ultrix sh set writes to stderr and can't be redirected directly,
19966 # and sets the high bit in the cache file unless we assign to the vars.
19969 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19971 # `set' does not quote correctly, so add quotes (double-quote
19972 # substitution turns \\\\ into \\, and sed turns \\ into \).
19975 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19978 # `set' quotes correctly as required by POSIX, so do not add quotes.
19980 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19987 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19989 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19991 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19992 if test -w $cache_file; then
19993 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19994 cat confcache
>$cache_file
19996 echo "not updating unwritable cache $cache_file"
20001 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20002 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20003 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20004 if test "${wx_cv_lib_glibc21+set}" = set; then
20005 echo $ECHO_N "(cached) $ECHO_C" >&6
20008 cat >conftest.
$ac_ext <<_ACEOF
20011 cat confdefs.h
>>conftest.
$ac_ext
20012 cat >>conftest.
$ac_ext <<_ACEOF
20013 /* end confdefs.h. */
20014 #include <features.h>
20019 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20020 #error not glibc2.1
20027 rm -f conftest.
$ac_objext
20028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20029 (eval $ac_compile) 2>conftest.er1
20031 grep -v '^ *+' conftest.er1
>conftest.err
20033 cat conftest.err
>&5
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); } &&
20036 { ac_try
='test -z "$ac_c_werror_flag"
20037 || test ! -s conftest.err'
20038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20039 (eval $ac_try) 2>&5
20041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20042 (exit $ac_status); }; } &&
20043 { ac_try
='test -s conftest.$ac_objext'
20044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20045 (eval $ac_try) 2>&5
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); }; }; then
20050 wx_cv_lib_glibc21
=yes
20053 echo "$as_me: failed program was:" >&5
20054 sed 's/^/| /' conftest.
$ac_ext >&5
20057 wx_cv_lib_glibc21
=no
20061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20064 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20065 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20066 if test "$wx_cv_lib_glibc21" = "yes"; then
20067 cat >>confdefs.h
<<\_ACEOF
20068 #define wxHAVE_GLIBC2 1
20074 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20075 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20076 cat >>confdefs.h
<<\_ACEOF
20077 #define _GNU_SOURCE 1
20085 if test "$wxUSE_REGEX" != "no"; then
20086 cat >>confdefs.h
<<\_ACEOF
20087 #define wxUSE_REGEX 1
20091 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20092 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20093 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20094 wxUSE_REGEX
=builtin
20097 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20098 if test "${ac_cv_header_regex_h+set}" = set; then
20099 echo "$as_me:$LINENO: checking for regex.h" >&5
20100 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20101 if test "${ac_cv_header_regex_h+set}" = set; then
20102 echo $ECHO_N "(cached) $ECHO_C" >&6
20104 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20105 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20107 # Is the header compilable?
20108 echo "$as_me:$LINENO: checking regex.h usability" >&5
20109 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20110 cat >conftest.
$ac_ext <<_ACEOF
20113 cat confdefs.h
>>conftest.
$ac_ext
20114 cat >>conftest.
$ac_ext <<_ACEOF
20115 /* end confdefs.h. */
20116 $ac_includes_default
20119 rm -f conftest.
$ac_objext
20120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20121 (eval $ac_compile) 2>conftest.er1
20123 grep -v '^ *+' conftest.er1
>conftest.err
20125 cat conftest.err
>&5
20126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20127 (exit $ac_status); } &&
20128 { ac_try
='test -z "$ac_c_werror_flag"
20129 || test ! -s conftest.err'
20130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20131 (eval $ac_try) 2>&5
20133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20134 (exit $ac_status); }; } &&
20135 { ac_try
='test -s conftest.$ac_objext'
20136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20137 (eval $ac_try) 2>&5
20139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20140 (exit $ac_status); }; }; then
20141 ac_header_compiler
=yes
20143 echo "$as_me: failed program was:" >&5
20144 sed 's/^/| /' conftest.
$ac_ext >&5
20146 ac_header_compiler
=no
20148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20149 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20150 echo "${ECHO_T}$ac_header_compiler" >&6
20152 # Is the header present?
20153 echo "$as_me:$LINENO: checking regex.h presence" >&5
20154 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20155 cat >conftest.
$ac_ext <<_ACEOF
20158 cat confdefs.h
>>conftest.
$ac_ext
20159 cat >>conftest.
$ac_ext <<_ACEOF
20160 /* end confdefs.h. */
20163 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20164 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20166 grep -v '^ *+' conftest.er1
>conftest.err
20168 cat conftest.err
>&5
20169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20170 (exit $ac_status); } >/dev
/null
; then
20171 if test -s conftest.err
; then
20172 ac_cpp_err
=$ac_c_preproc_warn_flag
20173 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20180 if test -z "$ac_cpp_err"; then
20181 ac_header_preproc
=yes
20183 echo "$as_me: failed program was:" >&5
20184 sed 's/^/| /' conftest.
$ac_ext >&5
20186 ac_header_preproc
=no
20188 rm -f conftest.err conftest.
$ac_ext
20189 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20190 echo "${ECHO_T}$ac_header_preproc" >&6
20192 # So? What about this header?
20193 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20195 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20196 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20197 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20198 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20199 ac_header_preproc
=yes
20202 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20203 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20204 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20205 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20206 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20207 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20208 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20209 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20210 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20211 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20212 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20213 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20216 ## ----------------------------------------- ##
20217 ## Report this to wx-dev@lists.wxwidgets.org ##
20218 ## ----------------------------------------- ##
20221 sed "s/^/$as_me: WARNING: /" >&2
20224 echo "$as_me:$LINENO: checking for regex.h" >&5
20225 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20226 if test "${ac_cv_header_regex_h+set}" = set; then
20227 echo $ECHO_N "(cached) $ECHO_C" >&6
20229 ac_cv_header_regex_h
=$ac_header_preproc
20231 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20232 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20235 if test $ac_cv_header_regex_h = yes; then
20237 for ac_func
in regcomp
20239 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20240 echo "$as_me:$LINENO: checking for $ac_func" >&5
20241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20242 if eval "test \"\${$as_ac_var+set}\" = set"; then
20243 echo $ECHO_N "(cached) $ECHO_C" >&6
20245 cat >conftest.
$ac_ext <<_ACEOF
20248 cat confdefs.h
>>conftest.
$ac_ext
20249 cat >>conftest.
$ac_ext <<_ACEOF
20250 /* end confdefs.h. */
20251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20253 #define $ac_func innocuous_$ac_func
20255 /* System header to define __stub macros and hopefully few prototypes,
20256 which can conflict with char $ac_func (); below.
20257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20258 <limits.h> exists even on freestanding compilers. */
20261 # include <limits.h>
20263 # include <assert.h>
20268 /* Override any gcc2 internal prototype to avoid an error. */
20273 /* We use char because int might match the return type of a gcc2
20274 builtin and then its argument prototype would still apply. */
20276 /* The GNU C library defines this for functions which it implements
20277 to always fail with ENOSYS. Some functions are actually named
20278 something starting with __ and the normal name is an alias. */
20279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20282 char (*f) () = $ac_func;
20291 return f != $ac_func;
20296 rm -f conftest.
$ac_objext conftest
$ac_exeext
20297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20298 (eval $ac_link) 2>conftest.er1
20300 grep -v '^ *+' conftest.er1
>conftest.err
20302 cat conftest.err
>&5
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); } &&
20305 { ac_try
='test -z "$ac_c_werror_flag"
20306 || test ! -s conftest.err'
20307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20308 (eval $ac_try) 2>&5
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); }; } &&
20312 { ac_try
='test -s conftest$ac_exeext'
20313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20314 (eval $ac_try) 2>&5
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); }; }; then
20318 eval "$as_ac_var=yes"
20320 echo "$as_me: failed program was:" >&5
20321 sed 's/^/| /' conftest.
$ac_ext >&5
20323 eval "$as_ac_var=no"
20325 rm -f conftest.err conftest.
$ac_objext \
20326 conftest
$ac_exeext conftest.
$ac_ext
20328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20330 if test `eval echo '${'$as_ac_var'}'` = yes; then
20331 cat >>confdefs.h
<<_ACEOF
20332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20342 if test "x$ac_cv_func_regcomp" != "xyes"; then
20343 if test "$wxUSE_REGEX" = "sys" ; then
20344 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20345 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20346 { (exit 1); exit 1; }; }
20348 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20349 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20350 wxUSE_REGEX
=builtin
20354 cat >>confdefs.h
<<\_ACEOF
20355 #define WX_NO_REGEX_ADVANCED 1
20364 if test "$wxUSE_ZLIB" != "no" ; then
20365 cat >>confdefs.h
<<\_ACEOF
20366 #define wxUSE_ZLIB 1
20370 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20371 if test "$USE_DARWIN" = 1; then
20372 system_zlib_h_ok
="yes"
20374 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20375 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20376 if test "${ac_cv_header_zlib_h+set}" = set; then
20377 echo $ECHO_N "(cached) $ECHO_C" >&6
20379 if test "$cross_compiling" = yes; then
20380 unset ac_cv_header_zlib_h
20383 cat >conftest.
$ac_ext <<_ACEOF
20386 cat confdefs.h
>>conftest.
$ac_ext
20387 cat >>conftest.
$ac_ext <<_ACEOF
20388 /* end confdefs.h. */
20395 FILE *f=fopen("conftestval", "w");
20398 ZLIB_VERSION[0] == '1' &&
20399 (ZLIB_VERSION[2] > '1' ||
20400 (ZLIB_VERSION[2] == '1' &&
20401 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20406 rm -f conftest
$ac_exeext
20407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20408 (eval $ac_link) 2>&5
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20413 (eval $ac_try) 2>&5
20415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20416 (exit $ac_status); }; }; then
20417 ac_cv_header_zlib_h
=`cat conftestval`
20419 echo "$as_me: program exited with status $ac_status" >&5
20420 echo "$as_me: failed program was:" >&5
20421 sed 's/^/| /' conftest.
$ac_ext >&5
20423 ( exit $ac_status )
20424 ac_cv_header_zlib_h
=no
20426 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20430 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20431 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20432 if test "${ac_cv_header_zlib_h+set}" = set; then
20433 echo "$as_me:$LINENO: checking for zlib.h" >&5
20434 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20435 if test "${ac_cv_header_zlib_h+set}" = set; then
20436 echo $ECHO_N "(cached) $ECHO_C" >&6
20438 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20439 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20441 # Is the header compilable?
20442 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20443 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20444 cat >conftest.
$ac_ext <<_ACEOF
20447 cat confdefs.h
>>conftest.
$ac_ext
20448 cat >>conftest.
$ac_ext <<_ACEOF
20449 /* end confdefs.h. */
20450 $ac_includes_default
20453 rm -f conftest.
$ac_objext
20454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20455 (eval $ac_compile) 2>conftest.er1
20457 grep -v '^ *+' conftest.er1
>conftest.err
20459 cat conftest.err
>&5
20460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20461 (exit $ac_status); } &&
20462 { ac_try
='test -z "$ac_c_werror_flag"
20463 || test ! -s conftest.err'
20464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20465 (eval $ac_try) 2>&5
20467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20468 (exit $ac_status); }; } &&
20469 { ac_try
='test -s conftest.$ac_objext'
20470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20471 (eval $ac_try) 2>&5
20473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20474 (exit $ac_status); }; }; then
20475 ac_header_compiler
=yes
20477 echo "$as_me: failed program was:" >&5
20478 sed 's/^/| /' conftest.
$ac_ext >&5
20480 ac_header_compiler
=no
20482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20483 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20484 echo "${ECHO_T}$ac_header_compiler" >&6
20486 # Is the header present?
20487 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20488 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20489 cat >conftest.
$ac_ext <<_ACEOF
20492 cat confdefs.h
>>conftest.
$ac_ext
20493 cat >>conftest.
$ac_ext <<_ACEOF
20494 /* end confdefs.h. */
20497 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20498 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20500 grep -v '^ *+' conftest.er1
>conftest.err
20502 cat conftest.err
>&5
20503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20504 (exit $ac_status); } >/dev
/null
; then
20505 if test -s conftest.err
; then
20506 ac_cpp_err
=$ac_c_preproc_warn_flag
20507 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20514 if test -z "$ac_cpp_err"; then
20515 ac_header_preproc
=yes
20517 echo "$as_me: failed program was:" >&5
20518 sed 's/^/| /' conftest.
$ac_ext >&5
20520 ac_header_preproc
=no
20522 rm -f conftest.err conftest.
$ac_ext
20523 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20524 echo "${ECHO_T}$ac_header_preproc" >&6
20526 # So? What about this header?
20527 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20529 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20530 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20531 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20532 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20533 ac_header_preproc
=yes
20536 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20537 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20538 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20539 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20540 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20541 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20542 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20543 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20544 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20545 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20546 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20547 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20550 ## ----------------------------------------- ##
20551 ## Report this to wx-dev@lists.wxwidgets.org ##
20552 ## ----------------------------------------- ##
20555 sed "s/^/$as_me: WARNING: /" >&2
20558 echo "$as_me:$LINENO: checking for zlib.h" >&5
20559 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20560 if test "${ac_cv_header_zlib_h+set}" = set; then
20561 echo $ECHO_N "(cached) $ECHO_C" >&6
20563 ac_cv_header_zlib_h
=$ac_header_preproc
20565 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20566 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20572 system_zlib_h_ok
=$ac_cv_header_zlib_h
20575 if test "$system_zlib_h_ok" = "yes"; then
20576 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20577 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20578 if test "${ac_cv_lib_z_deflate+set}" = set; then
20579 echo $ECHO_N "(cached) $ECHO_C" >&6
20581 ac_check_lib_save_LIBS
=$LIBS
20583 cat >conftest.
$ac_ext <<_ACEOF
20586 cat confdefs.h
>>conftest.
$ac_ext
20587 cat >>conftest.
$ac_ext <<_ACEOF
20588 /* end confdefs.h. */
20590 /* Override any gcc2 internal prototype to avoid an error. */
20594 /* We use char because int might match the return type of a gcc2
20595 builtin and then its argument prototype would still apply. */
20605 rm -f conftest.
$ac_objext conftest
$ac_exeext
20606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20607 (eval $ac_link) 2>conftest.er1
20609 grep -v '^ *+' conftest.er1
>conftest.err
20611 cat conftest.err
>&5
20612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20613 (exit $ac_status); } &&
20614 { ac_try
='test -z "$ac_c_werror_flag"
20615 || test ! -s conftest.err'
20616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20617 (eval $ac_try) 2>&5
20619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620 (exit $ac_status); }; } &&
20621 { ac_try
='test -s conftest$ac_exeext'
20622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20623 (eval $ac_try) 2>&5
20625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20626 (exit $ac_status); }; }; then
20627 ac_cv_lib_z_deflate
=yes
20629 echo "$as_me: failed program was:" >&5
20630 sed 's/^/| /' conftest.
$ac_ext >&5
20632 ac_cv_lib_z_deflate
=no
20634 rm -f conftest.err conftest.
$ac_objext \
20635 conftest
$ac_exeext conftest.
$ac_ext
20636 LIBS
=$ac_check_lib_save_LIBS
20638 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20639 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20640 if test $ac_cv_lib_z_deflate = yes; then
20646 if test "x$ZLIB_LINK" = "x" ; then
20647 if test "$wxUSE_ZLIB" = "sys" ; then
20648 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20649 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20650 { (exit 1); exit 1; }; }
20652 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20653 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20664 if test "$wxUSE_LIBPNG" != "no" ; then
20665 cat >>confdefs.h
<<\_ACEOF
20666 #define wxUSE_LIBPNG 1
20670 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20671 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20672 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20676 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20677 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20678 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20679 wxUSE_LIBPNG
=builtin
20682 if test "$wxUSE_MGL" != 1 ; then
20683 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20684 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20685 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20686 if test "${ac_cv_header_png_h+set}" = set; then
20687 echo $ECHO_N "(cached) $ECHO_C" >&6
20689 if test "$cross_compiling" = yes; then
20690 unset ac_cv_header_png_h
20693 cat >conftest.
$ac_ext <<_ACEOF
20696 cat confdefs.h
>>conftest.
$ac_ext
20697 cat >>conftest.
$ac_ext <<_ACEOF
20698 /* end confdefs.h. */
20705 FILE *f=fopen("conftestval", "w");
20708 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20713 rm -f conftest
$ac_exeext
20714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20715 (eval $ac_link) 2>&5
20717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20718 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20720 (eval $ac_try) 2>&5
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); }; }; then
20724 ac_cv_header_png_h
=`cat conftestval`
20726 echo "$as_me: program exited with status $ac_status" >&5
20727 echo "$as_me: failed program was:" >&5
20728 sed 's/^/| /' conftest.
$ac_ext >&5
20730 ( exit $ac_status )
20731 ac_cv_header_png_h
=no
20733 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20737 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20738 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20739 if test "${ac_cv_header_png_h+set}" = set; then
20740 echo "$as_me:$LINENO: checking for png.h" >&5
20741 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20742 if test "${ac_cv_header_png_h+set}" = set; then
20743 echo $ECHO_N "(cached) $ECHO_C" >&6
20745 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20746 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20748 # Is the header compilable?
20749 echo "$as_me:$LINENO: checking png.h usability" >&5
20750 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20751 cat >conftest.
$ac_ext <<_ACEOF
20754 cat confdefs.h
>>conftest.
$ac_ext
20755 cat >>conftest.
$ac_ext <<_ACEOF
20756 /* end confdefs.h. */
20757 $ac_includes_default
20760 rm -f conftest.
$ac_objext
20761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20762 (eval $ac_compile) 2>conftest.er1
20764 grep -v '^ *+' conftest.er1
>conftest.err
20766 cat conftest.err
>&5
20767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20768 (exit $ac_status); } &&
20769 { ac_try
='test -z "$ac_c_werror_flag"
20770 || test ! -s conftest.err'
20771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20772 (eval $ac_try) 2>&5
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); }; } &&
20776 { ac_try
='test -s conftest.$ac_objext'
20777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20778 (eval $ac_try) 2>&5
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); }; }; then
20782 ac_header_compiler
=yes
20784 echo "$as_me: failed program was:" >&5
20785 sed 's/^/| /' conftest.
$ac_ext >&5
20787 ac_header_compiler
=no
20789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20790 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20791 echo "${ECHO_T}$ac_header_compiler" >&6
20793 # Is the header present?
20794 echo "$as_me:$LINENO: checking png.h presence" >&5
20795 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20796 cat >conftest.
$ac_ext <<_ACEOF
20799 cat confdefs.h
>>conftest.
$ac_ext
20800 cat >>conftest.
$ac_ext <<_ACEOF
20801 /* end confdefs.h. */
20804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20805 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20807 grep -v '^ *+' conftest.er1
>conftest.err
20809 cat conftest.err
>&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); } >/dev
/null
; then
20812 if test -s conftest.err
; then
20813 ac_cpp_err
=$ac_c_preproc_warn_flag
20814 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20821 if test -z "$ac_cpp_err"; then
20822 ac_header_preproc
=yes
20824 echo "$as_me: failed program was:" >&5
20825 sed 's/^/| /' conftest.
$ac_ext >&5
20827 ac_header_preproc
=no
20829 rm -f conftest.err conftest.
$ac_ext
20830 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20831 echo "${ECHO_T}$ac_header_preproc" >&6
20833 # So? What about this header?
20834 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20836 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20837 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20838 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20839 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20840 ac_header_preproc
=yes
20843 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20844 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20845 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20846 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20847 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20848 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20849 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20850 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20851 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20852 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20853 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20854 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20857 ## ----------------------------------------- ##
20858 ## Report this to wx-dev@lists.wxwidgets.org ##
20859 ## ----------------------------------------- ##
20862 sed "s/^/$as_me: WARNING: /" >&2
20865 echo "$as_me:$LINENO: checking for png.h" >&5
20866 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20867 if test "${ac_cv_header_png_h+set}" = set; then
20868 echo $ECHO_N "(cached) $ECHO_C" >&6
20870 ac_cv_header_png_h
=$ac_header_preproc
20872 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20873 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20879 if test "$ac_cv_header_png_h" = "yes"; then
20880 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20881 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20882 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20883 echo $ECHO_N "(cached) $ECHO_C" >&6
20885 ac_check_lib_save_LIBS
=$LIBS
20886 LIBS
="-lpng -lz -lm $LIBS"
20887 cat >conftest.
$ac_ext <<_ACEOF
20890 cat confdefs.h
>>conftest.
$ac_ext
20891 cat >>conftest.
$ac_ext <<_ACEOF
20892 /* end confdefs.h. */
20894 /* Override any gcc2 internal prototype to avoid an error. */
20898 /* We use char because int might match the return type of a gcc2
20899 builtin and then its argument prototype would still apply. */
20900 char png_check_sig ();
20909 rm -f conftest.
$ac_objext conftest
$ac_exeext
20910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20911 (eval $ac_link) 2>conftest.er1
20913 grep -v '^ *+' conftest.er1
>conftest.err
20915 cat conftest.err
>&5
20916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20917 (exit $ac_status); } &&
20918 { ac_try
='test -z "$ac_c_werror_flag"
20919 || test ! -s conftest.err'
20920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20921 (eval $ac_try) 2>&5
20923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20924 (exit $ac_status); }; } &&
20925 { ac_try
='test -s conftest$ac_exeext'
20926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20927 (eval $ac_try) 2>&5
20929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20930 (exit $ac_status); }; }; then
20931 ac_cv_lib_png_png_check_sig
=yes
20933 echo "$as_me: failed program was:" >&5
20934 sed 's/^/| /' conftest.
$ac_ext >&5
20936 ac_cv_lib_png_png_check_sig
=no
20938 rm -f conftest.err conftest.
$ac_objext \
20939 conftest
$ac_exeext conftest.
$ac_ext
20940 LIBS
=$ac_check_lib_save_LIBS
20942 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20943 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20944 if test $ac_cv_lib_png_png_check_sig = yes; then
20945 PNG_LINK
=" -lpng -lz"
20950 if test "x$PNG_LINK" = "x" ; then
20951 if test "$wxUSE_LIBPNG" = "sys" ; then
20952 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20953 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20954 { (exit 1); exit 1; }; }
20956 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20957 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20958 wxUSE_LIBPNG
=builtin
20966 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
20971 if test "$wxUSE_LIBJPEG" != "no" ; then
20972 cat >>confdefs.h
<<\_ACEOF
20973 #define wxUSE_LIBJPEG 1
20977 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20978 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20979 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20983 if test "$wxUSE_MGL" != 1 ; then
20984 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20985 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20986 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20987 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20988 echo $ECHO_N "(cached) $ECHO_C" >&6
20990 cat >conftest.
$ac_ext <<_ACEOF
20993 cat confdefs.h
>>conftest.
$ac_ext
20994 cat >>conftest.
$ac_ext <<_ACEOF
20995 /* end confdefs.h. */
20997 #undef HAVE_STDLIB_H
20999 #include <jpeglib.h>
21010 rm -f conftest.
$ac_objext
21011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21012 (eval $ac_compile) 2>conftest.er1
21014 grep -v '^ *+' conftest.er1
>conftest.err
21016 cat conftest.err
>&5
21017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21018 (exit $ac_status); } &&
21019 { ac_try
='test -z "$ac_c_werror_flag"
21020 || test ! -s conftest.err'
21021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21022 (eval $ac_try) 2>&5
21024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21025 (exit $ac_status); }; } &&
21026 { ac_try
='test -s conftest.$ac_objext'
21027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21028 (eval $ac_try) 2>&5
21030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031 (exit $ac_status); }; }; then
21032 ac_cv_header_jpeglib_h
=yes
21034 echo "$as_me: failed program was:" >&5
21035 sed 's/^/| /' conftest.
$ac_ext >&5
21037 ac_cv_header_jpeglib_h
=no
21040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21044 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21045 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21047 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21048 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21049 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21050 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21051 echo $ECHO_N "(cached) $ECHO_C" >&6
21053 ac_check_lib_save_LIBS
=$LIBS
21054 LIBS
="-ljpeg $LIBS"
21055 cat >conftest.
$ac_ext <<_ACEOF
21058 cat confdefs.h
>>conftest.
$ac_ext
21059 cat >>conftest.
$ac_ext <<_ACEOF
21060 /* end confdefs.h. */
21062 /* Override any gcc2 internal prototype to avoid an error. */
21066 /* We use char because int might match the return type of a gcc2
21067 builtin and then its argument prototype would still apply. */
21068 char jpeg_read_header ();
21072 jpeg_read_header ();
21077 rm -f conftest.
$ac_objext conftest
$ac_exeext
21078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21079 (eval $ac_link) 2>conftest.er1
21081 grep -v '^ *+' conftest.er1
>conftest.err
21083 cat conftest.err
>&5
21084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21085 (exit $ac_status); } &&
21086 { ac_try
='test -z "$ac_c_werror_flag"
21087 || test ! -s conftest.err'
21088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21089 (eval $ac_try) 2>&5
21091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21092 (exit $ac_status); }; } &&
21093 { ac_try
='test -s conftest$ac_exeext'
21094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21095 (eval $ac_try) 2>&5
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); }; }; then
21099 ac_cv_lib_jpeg_jpeg_read_header
=yes
21101 echo "$as_me: failed program was:" >&5
21102 sed 's/^/| /' conftest.
$ac_ext >&5
21104 ac_cv_lib_jpeg_jpeg_read_header
=no
21106 rm -f conftest.err conftest.
$ac_objext \
21107 conftest
$ac_exeext conftest.
$ac_ext
21108 LIBS
=$ac_check_lib_save_LIBS
21110 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21111 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21112 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21113 JPEG_LINK
=" -ljpeg"
21118 if test "x$JPEG_LINK" = "x" ; then
21119 if test "$wxUSE_LIBJPEG" = "sys" ; then
21120 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21121 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21122 { (exit 1); exit 1; }; }
21124 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21125 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21126 wxUSE_LIBJPEG
=builtin
21137 TIFF_PREREQ_LINKS
=-lm
21138 if test "$wxUSE_LIBTIFF" != "no" ; then
21139 cat >>confdefs.h
<<\_ACEOF
21140 #define wxUSE_LIBTIFF 1
21144 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21145 if test "$wxUSE_LIBJPEG" = "sys"; then
21146 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21148 if test "$wxUSE_ZLIB" = "sys"; then
21149 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21151 if test "${ac_cv_header_tiffio_h+set}" = set; then
21152 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21153 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21154 if test "${ac_cv_header_tiffio_h+set}" = set; then
21155 echo $ECHO_N "(cached) $ECHO_C" >&6
21157 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21158 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21160 # Is the header compilable?
21161 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21162 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21163 cat >conftest.
$ac_ext <<_ACEOF
21166 cat confdefs.h
>>conftest.
$ac_ext
21167 cat >>conftest.
$ac_ext <<_ACEOF
21168 /* end confdefs.h. */
21169 $ac_includes_default
21170 #include <tiffio.h>
21172 rm -f conftest.
$ac_objext
21173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21174 (eval $ac_compile) 2>conftest.er1
21176 grep -v '^ *+' conftest.er1
>conftest.err
21178 cat conftest.err
>&5
21179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21180 (exit $ac_status); } &&
21181 { ac_try
='test -z "$ac_c_werror_flag"
21182 || test ! -s conftest.err'
21183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21184 (eval $ac_try) 2>&5
21186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21187 (exit $ac_status); }; } &&
21188 { ac_try
='test -s conftest.$ac_objext'
21189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21190 (eval $ac_try) 2>&5
21192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21193 (exit $ac_status); }; }; then
21194 ac_header_compiler
=yes
21196 echo "$as_me: failed program was:" >&5
21197 sed 's/^/| /' conftest.
$ac_ext >&5
21199 ac_header_compiler
=no
21201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21202 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21203 echo "${ECHO_T}$ac_header_compiler" >&6
21205 # Is the header present?
21206 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21207 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21208 cat >conftest.
$ac_ext <<_ACEOF
21211 cat confdefs.h
>>conftest.
$ac_ext
21212 cat >>conftest.
$ac_ext <<_ACEOF
21213 /* end confdefs.h. */
21214 #include <tiffio.h>
21216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21217 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21219 grep -v '^ *+' conftest.er1
>conftest.err
21221 cat conftest.err
>&5
21222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21223 (exit $ac_status); } >/dev
/null
; then
21224 if test -s conftest.err
; then
21225 ac_cpp_err
=$ac_c_preproc_warn_flag
21226 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21233 if test -z "$ac_cpp_err"; then
21234 ac_header_preproc
=yes
21236 echo "$as_me: failed program was:" >&5
21237 sed 's/^/| /' conftest.
$ac_ext >&5
21239 ac_header_preproc
=no
21241 rm -f conftest.err conftest.
$ac_ext
21242 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21243 echo "${ECHO_T}$ac_header_preproc" >&6
21245 # So? What about this header?
21246 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21248 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21249 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21250 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21251 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21252 ac_header_preproc
=yes
21255 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21256 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21257 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21258 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21259 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21260 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21261 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21262 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21263 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21264 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21265 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21266 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21269 ## ----------------------------------------- ##
21270 ## Report this to wx-dev@lists.wxwidgets.org ##
21271 ## ----------------------------------------- ##
21274 sed "s/^/$as_me: WARNING: /" >&2
21277 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21278 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21279 if test "${ac_cv_header_tiffio_h+set}" = set; then
21280 echo $ECHO_N "(cached) $ECHO_C" >&6
21282 ac_cv_header_tiffio_h
=$ac_header_preproc
21284 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21285 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21288 if test $ac_cv_header_tiffio_h = yes; then
21290 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21291 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21292 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21293 echo $ECHO_N "(cached) $ECHO_C" >&6
21295 ac_check_lib_save_LIBS
=$LIBS
21296 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21297 cat >conftest.
$ac_ext <<_ACEOF
21300 cat confdefs.h
>>conftest.
$ac_ext
21301 cat >>conftest.
$ac_ext <<_ACEOF
21302 /* end confdefs.h. */
21304 /* Override any gcc2 internal prototype to avoid an error. */
21308 /* We use char because int might match the return type of a gcc2
21309 builtin and then its argument prototype would still apply. */
21319 rm -f conftest.
$ac_objext conftest
$ac_exeext
21320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21321 (eval $ac_link) 2>conftest.er1
21323 grep -v '^ *+' conftest.er1
>conftest.err
21325 cat conftest.err
>&5
21326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327 (exit $ac_status); } &&
21328 { ac_try
='test -z "$ac_c_werror_flag"
21329 || test ! -s conftest.err'
21330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21331 (eval $ac_try) 2>&5
21333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334 (exit $ac_status); }; } &&
21335 { ac_try
='test -s conftest$ac_exeext'
21336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21337 (eval $ac_try) 2>&5
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); }; }; then
21341 ac_cv_lib_tiff_TIFFError
=yes
21343 echo "$as_me: failed program was:" >&5
21344 sed 's/^/| /' conftest.
$ac_ext >&5
21346 ac_cv_lib_tiff_TIFFError
=no
21348 rm -f conftest.err conftest.
$ac_objext \
21349 conftest
$ac_exeext conftest.
$ac_ext
21350 LIBS
=$ac_check_lib_save_LIBS
21352 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21353 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21354 if test $ac_cv_lib_tiff_TIFFError = yes; then
21355 TIFF_LINK
=" -ltiff"
21364 if test "x$TIFF_LINK" = "x" ; then
21365 if test "$wxUSE_LIBTIFF" = "sys" ; then
21366 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21367 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21368 { (exit 1); exit 1; }; }
21370 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21371 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21372 wxUSE_LIBTIFF
=builtin
21381 if test "$wxUSE_EXPAT" != "no"; then
21383 cat >>confdefs.h
<<\_ACEOF
21384 #define wxUSE_EXPAT 1
21387 cat >>confdefs.h
<<\_ACEOF
21388 #define wxUSE_XML 1
21392 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21393 if test "${ac_cv_header_expat_h+set}" = set; then
21394 echo "$as_me:$LINENO: checking for expat.h" >&5
21395 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21396 if test "${ac_cv_header_expat_h+set}" = set; then
21397 echo $ECHO_N "(cached) $ECHO_C" >&6
21399 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21400 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21402 # Is the header compilable?
21403 echo "$as_me:$LINENO: checking expat.h usability" >&5
21404 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21405 cat >conftest.
$ac_ext <<_ACEOF
21408 cat confdefs.h
>>conftest.
$ac_ext
21409 cat >>conftest.
$ac_ext <<_ACEOF
21410 /* end confdefs.h. */
21411 $ac_includes_default
21414 rm -f conftest.
$ac_objext
21415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21416 (eval $ac_compile) 2>conftest.er1
21418 grep -v '^ *+' conftest.er1
>conftest.err
21420 cat conftest.err
>&5
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); } &&
21423 { ac_try
='test -z "$ac_c_werror_flag"
21424 || test ! -s conftest.err'
21425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21426 (eval $ac_try) 2>&5
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); }; } &&
21430 { ac_try
='test -s conftest.$ac_objext'
21431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21432 (eval $ac_try) 2>&5
21434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21435 (exit $ac_status); }; }; then
21436 ac_header_compiler
=yes
21438 echo "$as_me: failed program was:" >&5
21439 sed 's/^/| /' conftest.
$ac_ext >&5
21441 ac_header_compiler
=no
21443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21445 echo "${ECHO_T}$ac_header_compiler" >&6
21447 # Is the header present?
21448 echo "$as_me:$LINENO: checking expat.h presence" >&5
21449 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21450 cat >conftest.
$ac_ext <<_ACEOF
21453 cat confdefs.h
>>conftest.
$ac_ext
21454 cat >>conftest.
$ac_ext <<_ACEOF
21455 /* end confdefs.h. */
21458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21459 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21461 grep -v '^ *+' conftest.er1
>conftest.err
21463 cat conftest.err
>&5
21464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21465 (exit $ac_status); } >/dev
/null
; then
21466 if test -s conftest.err
; then
21467 ac_cpp_err
=$ac_c_preproc_warn_flag
21468 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21475 if test -z "$ac_cpp_err"; then
21476 ac_header_preproc
=yes
21478 echo "$as_me: failed program was:" >&5
21479 sed 's/^/| /' conftest.
$ac_ext >&5
21481 ac_header_preproc
=no
21483 rm -f conftest.err conftest.
$ac_ext
21484 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21485 echo "${ECHO_T}$ac_header_preproc" >&6
21487 # So? What about this header?
21488 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21490 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21491 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21492 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21493 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21494 ac_header_preproc
=yes
21497 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21498 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21499 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21500 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21501 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21502 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21503 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21504 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21505 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21506 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21507 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21508 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21511 ## ----------------------------------------- ##
21512 ## Report this to wx-dev@lists.wxwidgets.org ##
21513 ## ----------------------------------------- ##
21516 sed "s/^/$as_me: WARNING: /" >&2
21519 echo "$as_me:$LINENO: checking for expat.h" >&5
21520 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21521 if test "${ac_cv_header_expat_h+set}" = set; then
21522 echo $ECHO_N "(cached) $ECHO_C" >&6
21524 ac_cv_header_expat_h
=$ac_header_preproc
21526 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21527 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21530 if test $ac_cv_header_expat_h = yes; then
21535 if test "x$found_expat_h" = "x1"; then
21536 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21537 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21538 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21539 echo $ECHO_N "(cached) $ECHO_C" >&6
21545 ac_cpp
='$CXXCPP $CPPFLAGS'
21546 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21547 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21548 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21550 cat >conftest.
$ac_ext <<_ACEOF
21553 cat confdefs.h
>>conftest.
$ac_ext
21554 cat >>conftest.
$ac_ext <<_ACEOF
21555 /* end confdefs.h. */
21565 rm -f conftest.
$ac_objext
21566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21567 (eval $ac_compile) 2>conftest.er1
21569 grep -v '^ *+' conftest.er1
>conftest.err
21571 cat conftest.err
>&5
21572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21573 (exit $ac_status); } &&
21574 { ac_try
='test -z "$ac_cxx_werror_flag"
21575 || test ! -s conftest.err'
21576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21577 (eval $ac_try) 2>&5
21579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21580 (exit $ac_status); }; } &&
21581 { ac_try
='test -s conftest.$ac_objext'
21582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21583 (eval $ac_try) 2>&5
21585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21586 (exit $ac_status); }; }; then
21587 wx_cv_expat_is_not_broken
=yes
21589 echo "$as_me: failed program was:" >&5
21590 sed 's/^/| /' conftest.
$ac_ext >&5
21592 wx_cv_expat_is_not_broken
=no
21595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21597 ac_cpp
='$CPP $CPPFLAGS'
21598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21605 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21606 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21607 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21608 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21609 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21610 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21611 echo $ECHO_N "(cached) $ECHO_C" >&6
21613 ac_check_lib_save_LIBS
=$LIBS
21614 LIBS
="-lexpat $LIBS"
21615 cat >conftest.
$ac_ext <<_ACEOF
21618 cat confdefs.h
>>conftest.
$ac_ext
21619 cat >>conftest.
$ac_ext <<_ACEOF
21620 /* end confdefs.h. */
21622 /* Override any gcc2 internal prototype to avoid an error. */
21626 /* We use char because int might match the return type of a gcc2
21627 builtin and then its argument prototype would still apply. */
21628 char XML_ParserCreate ();
21632 XML_ParserCreate ();
21637 rm -f conftest.
$ac_objext conftest
$ac_exeext
21638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21639 (eval $ac_link) 2>conftest.er1
21641 grep -v '^ *+' conftest.er1
>conftest.err
21643 cat conftest.err
>&5
21644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21645 (exit $ac_status); } &&
21646 { ac_try
='test -z "$ac_c_werror_flag"
21647 || test ! -s conftest.err'
21648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21649 (eval $ac_try) 2>&5
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); }; } &&
21653 { ac_try
='test -s conftest$ac_exeext'
21654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21655 (eval $ac_try) 2>&5
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); }; }; then
21659 ac_cv_lib_expat_XML_ParserCreate
=yes
21661 echo "$as_me: failed program was:" >&5
21662 sed 's/^/| /' conftest.
$ac_ext >&5
21664 ac_cv_lib_expat_XML_ParserCreate
=no
21666 rm -f conftest.err conftest.
$ac_objext \
21667 conftest
$ac_exeext conftest.
$ac_ext
21668 LIBS
=$ac_check_lib_save_LIBS
21670 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21671 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21672 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21673 EXPAT_LINK
=" -lexpat"
21678 if test "x$EXPAT_LINK" = "x" ; then
21679 if test "$wxUSE_EXPAT" = "sys" ; then
21680 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21681 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21682 { (exit 1); exit 1; }; }
21684 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21685 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21686 wxUSE_EXPAT
=builtin
21692 if test "$wxUSE_EXPAT" = "builtin" ; then
21695 subdirs
="$subdirs src/expat"
21702 if test "$wxUSE_LIBMSPACK" != "no"; then
21704 if test "${ac_cv_header_mspack_h+set}" = set; then
21705 echo "$as_me:$LINENO: checking for mspack.h" >&5
21706 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21707 if test "${ac_cv_header_mspack_h+set}" = set; then
21708 echo $ECHO_N "(cached) $ECHO_C" >&6
21710 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21711 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21713 # Is the header compilable?
21714 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21715 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21716 cat >conftest.
$ac_ext <<_ACEOF
21719 cat confdefs.h
>>conftest.
$ac_ext
21720 cat >>conftest.
$ac_ext <<_ACEOF
21721 /* end confdefs.h. */
21722 $ac_includes_default
21723 #include <mspack.h>
21725 rm -f conftest.
$ac_objext
21726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21727 (eval $ac_compile) 2>conftest.er1
21729 grep -v '^ *+' conftest.er1
>conftest.err
21731 cat conftest.err
>&5
21732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21733 (exit $ac_status); } &&
21734 { ac_try
='test -z "$ac_c_werror_flag"
21735 || test ! -s conftest.err'
21736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21737 (eval $ac_try) 2>&5
21739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21740 (exit $ac_status); }; } &&
21741 { ac_try
='test -s conftest.$ac_objext'
21742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21743 (eval $ac_try) 2>&5
21745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21746 (exit $ac_status); }; }; then
21747 ac_header_compiler
=yes
21749 echo "$as_me: failed program was:" >&5
21750 sed 's/^/| /' conftest.
$ac_ext >&5
21752 ac_header_compiler
=no
21754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21755 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21756 echo "${ECHO_T}$ac_header_compiler" >&6
21758 # Is the header present?
21759 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21760 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21761 cat >conftest.
$ac_ext <<_ACEOF
21764 cat confdefs.h
>>conftest.
$ac_ext
21765 cat >>conftest.
$ac_ext <<_ACEOF
21766 /* end confdefs.h. */
21767 #include <mspack.h>
21769 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21770 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21772 grep -v '^ *+' conftest.er1
>conftest.err
21774 cat conftest.err
>&5
21775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21776 (exit $ac_status); } >/dev
/null
; then
21777 if test -s conftest.err
; then
21778 ac_cpp_err
=$ac_c_preproc_warn_flag
21779 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21786 if test -z "$ac_cpp_err"; then
21787 ac_header_preproc
=yes
21789 echo "$as_me: failed program was:" >&5
21790 sed 's/^/| /' conftest.
$ac_ext >&5
21792 ac_header_preproc
=no
21794 rm -f conftest.err conftest.
$ac_ext
21795 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21796 echo "${ECHO_T}$ac_header_preproc" >&6
21798 # So? What about this header?
21799 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21801 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21802 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21803 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21804 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21805 ac_header_preproc
=yes
21808 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21809 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21810 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21811 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21812 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21813 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21814 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21815 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21816 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21817 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21818 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21819 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21822 ## ----------------------------------------- ##
21823 ## Report this to wx-dev@lists.wxwidgets.org ##
21824 ## ----------------------------------------- ##
21827 sed "s/^/$as_me: WARNING: /" >&2
21830 echo "$as_me:$LINENO: checking for mspack.h" >&5
21831 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21832 if test "${ac_cv_header_mspack_h+set}" = set; then
21833 echo $ECHO_N "(cached) $ECHO_C" >&6
21835 ac_cv_header_mspack_h
=$ac_header_preproc
21837 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21838 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21841 if test $ac_cv_header_mspack_h = yes; then
21846 if test "x$found_mspack_h" = "x1"; then
21847 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21848 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21849 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21850 echo $ECHO_N "(cached) $ECHO_C" >&6
21852 ac_check_lib_save_LIBS
=$LIBS
21853 LIBS
="-lmspack $LIBS"
21854 cat >conftest.
$ac_ext <<_ACEOF
21857 cat confdefs.h
>>conftest.
$ac_ext
21858 cat >>conftest.
$ac_ext <<_ACEOF
21859 /* end confdefs.h. */
21861 /* Override any gcc2 internal prototype to avoid an error. */
21865 /* We use char because int might match the return type of a gcc2
21866 builtin and then its argument prototype would still apply. */
21867 char mspack_create_chm_decompressor ();
21871 mspack_create_chm_decompressor ();
21876 rm -f conftest.
$ac_objext conftest
$ac_exeext
21877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21878 (eval $ac_link) 2>conftest.er1
21880 grep -v '^ *+' conftest.er1
>conftest.err
21882 cat conftest.err
>&5
21883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21884 (exit $ac_status); } &&
21885 { ac_try
='test -z "$ac_c_werror_flag"
21886 || test ! -s conftest.err'
21887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21888 (eval $ac_try) 2>&5
21890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21891 (exit $ac_status); }; } &&
21892 { ac_try
='test -s conftest$ac_exeext'
21893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21894 (eval $ac_try) 2>&5
21896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21897 (exit $ac_status); }; }; then
21898 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
21900 echo "$as_me: failed program was:" >&5
21901 sed 's/^/| /' conftest.
$ac_ext >&5
21903 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
21905 rm -f conftest.err conftest.
$ac_objext \
21906 conftest
$ac_exeext conftest.
$ac_ext
21907 LIBS
=$ac_check_lib_save_LIBS
21909 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21910 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21911 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21912 MSPACK_LINK
=" -lmspack"
21916 if test "x$MSPACK_LINK" = "x" ; then
21919 cat >>confdefs.h
<<\_ACEOF
21920 #define wxUSE_LIBMSPACK 1
21935 if test "$USE_WIN32" = 1 ; then
21937 for ac_header
in w32api.h
21939 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21940 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21941 echo "$as_me:$LINENO: checking for $ac_header" >&5
21942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21944 echo $ECHO_N "(cached) $ECHO_C" >&6
21946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21947 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21949 # Is the header compilable?
21950 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21951 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21952 cat >conftest.
$ac_ext <<_ACEOF
21955 cat confdefs.h
>>conftest.
$ac_ext
21956 cat >>conftest.
$ac_ext <<_ACEOF
21957 /* end confdefs.h. */
21958 $ac_includes_default
21959 #include <$ac_header>
21961 rm -f conftest.
$ac_objext
21962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21963 (eval $ac_compile) 2>conftest.er1
21965 grep -v '^ *+' conftest.er1
>conftest.err
21967 cat conftest.err
>&5
21968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21969 (exit $ac_status); } &&
21970 { ac_try
='test -z "$ac_c_werror_flag"
21971 || test ! -s conftest.err'
21972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21973 (eval $ac_try) 2>&5
21975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976 (exit $ac_status); }; } &&
21977 { ac_try
='test -s conftest.$ac_objext'
21978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21979 (eval $ac_try) 2>&5
21981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21982 (exit $ac_status); }; }; then
21983 ac_header_compiler
=yes
21985 echo "$as_me: failed program was:" >&5
21986 sed 's/^/| /' conftest.
$ac_ext >&5
21988 ac_header_compiler
=no
21990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21991 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21992 echo "${ECHO_T}$ac_header_compiler" >&6
21994 # Is the header present?
21995 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21996 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21997 cat >conftest.
$ac_ext <<_ACEOF
22000 cat confdefs.h
>>conftest.
$ac_ext
22001 cat >>conftest.
$ac_ext <<_ACEOF
22002 /* end confdefs.h. */
22003 #include <$ac_header>
22005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22006 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22008 grep -v '^ *+' conftest.er1
>conftest.err
22010 cat conftest.err
>&5
22011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22012 (exit $ac_status); } >/dev
/null
; then
22013 if test -s conftest.err
; then
22014 ac_cpp_err
=$ac_c_preproc_warn_flag
22015 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22022 if test -z "$ac_cpp_err"; then
22023 ac_header_preproc
=yes
22025 echo "$as_me: failed program was:" >&5
22026 sed 's/^/| /' conftest.
$ac_ext >&5
22028 ac_header_preproc
=no
22030 rm -f conftest.err conftest.
$ac_ext
22031 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22032 echo "${ECHO_T}$ac_header_preproc" >&6
22034 # So? What about this header?
22035 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22037 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22038 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22039 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22040 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22041 ac_header_preproc
=yes
22044 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22045 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22046 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22047 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22048 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22049 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22050 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22051 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22053 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22054 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22055 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22058 ## ----------------------------------------- ##
22059 ## Report this to wx-dev@lists.wxwidgets.org ##
22060 ## ----------------------------------------- ##
22063 sed "s/^/$as_me: WARNING: /" >&2
22066 echo "$as_me:$LINENO: checking for $ac_header" >&5
22067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22069 echo $ECHO_N "(cached) $ECHO_C" >&6
22071 eval "$as_ac_Header=\$ac_header_preproc"
22073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22074 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22077 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22078 cat >>confdefs.h
<<_ACEOF
22079 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22086 if test "${ac_cv_header_windows_h+set}" = set; then
22087 echo "$as_me:$LINENO: checking for windows.h" >&5
22088 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22089 if test "${ac_cv_header_windows_h+set}" = set; then
22090 echo $ECHO_N "(cached) $ECHO_C" >&6
22092 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22093 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22095 # Is the header compilable?
22096 echo "$as_me:$LINENO: checking windows.h usability" >&5
22097 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22098 cat >conftest.
$ac_ext <<_ACEOF
22101 cat confdefs.h
>>conftest.
$ac_ext
22102 cat >>conftest.
$ac_ext <<_ACEOF
22103 /* end confdefs.h. */
22104 $ac_includes_default
22105 #include <windows.h>
22107 rm -f conftest.
$ac_objext
22108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22109 (eval $ac_compile) 2>conftest.er1
22111 grep -v '^ *+' conftest.er1
>conftest.err
22113 cat conftest.err
>&5
22114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22115 (exit $ac_status); } &&
22116 { ac_try
='test -z "$ac_c_werror_flag"
22117 || test ! -s conftest.err'
22118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22119 (eval $ac_try) 2>&5
22121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22122 (exit $ac_status); }; } &&
22123 { ac_try
='test -s conftest.$ac_objext'
22124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22125 (eval $ac_try) 2>&5
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); }; }; then
22129 ac_header_compiler
=yes
22131 echo "$as_me: failed program was:" >&5
22132 sed 's/^/| /' conftest.
$ac_ext >&5
22134 ac_header_compiler
=no
22136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22137 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22138 echo "${ECHO_T}$ac_header_compiler" >&6
22140 # Is the header present?
22141 echo "$as_me:$LINENO: checking windows.h presence" >&5
22142 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22143 cat >conftest.
$ac_ext <<_ACEOF
22146 cat confdefs.h
>>conftest.
$ac_ext
22147 cat >>conftest.
$ac_ext <<_ACEOF
22148 /* end confdefs.h. */
22149 #include <windows.h>
22151 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22152 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22154 grep -v '^ *+' conftest.er1
>conftest.err
22156 cat conftest.err
>&5
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); } >/dev
/null
; then
22159 if test -s conftest.err
; then
22160 ac_cpp_err
=$ac_c_preproc_warn_flag
22161 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22168 if test -z "$ac_cpp_err"; then
22169 ac_header_preproc
=yes
22171 echo "$as_me: failed program was:" >&5
22172 sed 's/^/| /' conftest.
$ac_ext >&5
22174 ac_header_preproc
=no
22176 rm -f conftest.err conftest.
$ac_ext
22177 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22178 echo "${ECHO_T}$ac_header_preproc" >&6
22180 # So? What about this header?
22181 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22183 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22184 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22185 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22186 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22187 ac_header_preproc
=yes
22190 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22191 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22192 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22193 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22194 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22195 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22196 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22197 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22198 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22199 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22200 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22201 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22204 ## ----------------------------------------- ##
22205 ## Report this to wx-dev@lists.wxwidgets.org ##
22206 ## ----------------------------------------- ##
22209 sed "s/^/$as_me: WARNING: /" >&2
22212 echo "$as_me:$LINENO: checking for windows.h" >&5
22213 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22214 if test "${ac_cv_header_windows_h+set}" = set; then
22215 echo $ECHO_N "(cached) $ECHO_C" >&6
22217 ac_cv_header_windows_h
=$ac_header_preproc
22219 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22220 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22223 if test $ac_cv_header_windows_h = yes; then
22227 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22228 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22229 { (exit 1); exit 1; }; }
22235 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22237 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22238 LIBS
="$LIBS -loleacc"
22243 LIBS
="$LIBS -lkernel32 -luser32"
22244 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
22247 if test "$wxUSE_ODBC" = "sys" ; then
22250 if test "$wxUSE_ODBC" = "yes" ; then
22251 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
22252 cat >>confdefs.h
<<\_ACEOF
22253 #define wxUSE_ODBC 1
22258 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22259 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22261 WIN32INSTALL
=win32install
22264 if test "$wxUSE_GUI" = "yes"; then
22274 if test "$wxUSE_MSW" = 1 ; then
22280 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22284 if test "$wxUSE_GTK" = 1; then
22285 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22286 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22288 gtk_version_cached
=1
22289 if test "${wx_cv_lib_gtk+set}" = set; then
22290 echo $ECHO_N "(cached) $ECHO_C" >&6
22293 gtk_version_cached
=0
22294 echo "$as_me:$LINENO: result: " >&5
22295 echo "${ECHO_T}" >&6
22298 if test "$wxUSE_THREADS" = "yes"; then
22299 GTK_MODULES
=gthread
22303 if test "x$wxUSE_GTK2" = "xyes"; then
22304 # Check whether --enable-gtktest or --disable-gtktest was given.
22305 if test "${enable_gtktest+set}" = set; then
22306 enableval
="$enable_gtktest"
22312 pkg_config_args
=gtk
+-2.0
22313 for module
in .
$GTK_MODULES
22317 pkg_config_args
="$pkg_config_args gthread-2.0"
22324 # Extract the first word of "pkg-config", so it can be a program name with args.
22325 set dummy pkg
-config; ac_word
=$2
22326 echo "$as_me:$LINENO: checking for $ac_word" >&5
22327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22328 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22329 echo $ECHO_N "(cached) $ECHO_C" >&6
22331 case $PKG_CONFIG in
22333 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22337 for as_dir
in $PATH
22340 test -z "$as_dir" && as_dir
=.
22341 for ac_exec_ext
in '' $ac_executable_extensions; do
22342 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22343 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22350 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22354 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22356 if test -n "$PKG_CONFIG"; then
22357 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22358 echo "${ECHO_T}$PKG_CONFIG" >&6
22360 echo "$as_me:$LINENO: result: no" >&5
22361 echo "${ECHO_T}no" >&6
22365 if test x
$PKG_CONFIG != xno
; then
22366 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
22369 echo "*** pkg-config too old; version 0.7 or better required."
22377 min_gtk_version
=2.0.0
22378 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22379 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22381 if test x
$PKG_CONFIG != xno
; then
22382 ## don't try to run the test against uninstalled libtool libs
22383 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22384 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22388 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22395 if test x
"$no_gtk" = x
; then
22396 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
22397 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
22398 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22399 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22400 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22401 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22402 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22403 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22404 if test "x$enable_gtktest" = "xyes" ; then
22405 ac_save_CFLAGS
="$CFLAGS"
22406 ac_save_LIBS
="$LIBS"
22407 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22408 LIBS
="$GTK_LIBS $LIBS"
22410 if test "$cross_compiling" = yes; then
22411 echo $ac_n "cross compiling; assumed OK... $ac_c"
22413 cat >conftest.
$ac_ext <<_ACEOF
22416 cat confdefs.h
>>conftest.
$ac_ext
22417 cat >>conftest.
$ac_ext <<_ACEOF
22418 /* end confdefs.h. */
22420 #include <gtk/gtk.h>
22422 #include <stdlib.h>
22427 int major, minor, micro;
22430 system ("touch conf.gtktest");
22432 /* HP/UX 9 (%@#!) writes to sscanf strings */
22433 tmp_version = g_strdup("$min_gtk_version");
22434 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22435 printf("%s, bad version string\n", "$min_gtk_version");
22439 if ((gtk_major_version != $gtk_config_major_version) ||
22440 (gtk_minor_version != $gtk_config_minor_version) ||
22441 (gtk_micro_version != $gtk_config_micro_version))
22443 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22444 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22445 gtk_major_version, gtk_minor_version, gtk_micro_version);
22446 printf ("*** was found! If pkg-config was correct, then it is best\n");
22447 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22448 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22449 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22450 printf("*** required on your system.\n");
22451 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22452 printf("*** to point to the correct configuration files\n");
22454 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22455 (gtk_minor_version != GTK_MINOR_VERSION) ||
22456 (gtk_micro_version != GTK_MICRO_VERSION))
22458 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22459 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22460 printf("*** library (version %d.%d.%d)\n",
22461 gtk_major_version, gtk_minor_version, gtk_micro_version);
22465 if ((gtk_major_version > major) ||
22466 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22467 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22473 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22474 gtk_major_version, gtk_minor_version, gtk_micro_version);
22475 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22476 major, minor, micro);
22477 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22479 printf("*** If you have already installed a sufficiently new version, this error\n");
22480 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22481 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22482 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22483 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22484 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22485 printf("*** so that the correct libraries are found at run-time))\n");
22492 rm -f conftest
$ac_exeext
22493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22494 (eval $ac_link) 2>&5
22496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22497 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22499 (eval $ac_try) 2>&5
22501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22502 (exit $ac_status); }; }; then
22505 echo "$as_me: program exited with status $ac_status" >&5
22506 echo "$as_me: failed program was:" >&5
22507 sed 's/^/| /' conftest.
$ac_ext >&5
22509 ( exit $ac_status )
22512 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22514 CFLAGS
="$ac_save_CFLAGS"
22515 LIBS
="$ac_save_LIBS"
22518 if test "x$no_gtk" = x
; then
22519 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22520 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22523 echo "$as_me:$LINENO: result: no" >&5
22524 echo "${ECHO_T}no" >&6
22525 if test "$PKG_CONFIG" = "no" ; then
22526 echo "*** A new enough version of pkg-config was not found."
22527 echo "*** See http://pkgconfig.sourceforge.net"
22529 if test -f conf.gtktest
; then
22532 echo "*** Could not run GTK+ test program, checking why..."
22533 ac_save_CFLAGS
="$CFLAGS"
22534 ac_save_LIBS
="$LIBS"
22535 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22536 LIBS
="$LIBS $GTK_LIBS"
22537 cat >conftest.
$ac_ext <<_ACEOF
22540 cat confdefs.h
>>conftest.
$ac_ext
22541 cat >>conftest.
$ac_ext <<_ACEOF
22542 /* end confdefs.h. */
22544 #include <gtk/gtk.h>
22550 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22555 rm -f conftest.
$ac_objext conftest
$ac_exeext
22556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22557 (eval $ac_link) 2>conftest.er1
22559 grep -v '^ *+' conftest.er1
>conftest.err
22561 cat conftest.err
>&5
22562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563 (exit $ac_status); } &&
22564 { ac_try
='test -z "$ac_c_werror_flag"
22565 || test ! -s conftest.err'
22566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22567 (eval $ac_try) 2>&5
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); }; } &&
22571 { ac_try
='test -s conftest$ac_exeext'
22572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22573 (eval $ac_try) 2>&5
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); }; }; then
22577 echo "*** The test program compiled, but did not run. This usually means"
22578 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22579 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22580 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22581 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22582 echo "*** is required on your system"
22584 echo "*** If you have an old version installed, it is best to remove it, although"
22585 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22587 echo "$as_me: failed program was:" >&5
22588 sed 's/^/| /' conftest.
$ac_ext >&5
22590 echo "*** The test program failed to compile or link. See the file config.log for the"
22591 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22593 rm -f conftest.err conftest.
$ac_objext \
22594 conftest
$ac_exeext conftest.
$ac_ext
22595 CFLAGS
="$ac_save_CFLAGS"
22596 LIBS
="$ac_save_LIBS"
22609 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22610 if test "${with_gtk_prefix+set}" = set; then
22611 withval
="$with_gtk_prefix"
22612 gtk_config_prefix
="$withval"
22614 gtk_config_prefix
=""
22617 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22618 if test "${with_gtk_exec_prefix+set}" = set; then
22619 withval
="$with_gtk_exec_prefix"
22620 gtk_config_exec_prefix
="$withval"
22622 gtk_config_exec_prefix
=""
22624 # Check whether --enable-gtktest or --disable-gtktest was given.
22625 if test "${enable_gtktest+set}" = set; then
22626 enableval
="$enable_gtktest"
22632 for module
in .
$GTK_MODULES
22636 gtk_config_args
="$gtk_config_args gthread"
22641 if test x
$gtk_config_exec_prefix != x
; then
22642 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22643 if test x
${GTK_CONFIG+set} != xset
; then
22644 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22647 if test x
$gtk_config_prefix != x
; then
22648 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22649 if test x
${GTK_CONFIG+set} != xset
; then
22650 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22654 # Extract the first word of "gtk-config", so it can be a program name with args.
22655 set dummy gtk
-config; ac_word
=$2
22656 echo "$as_me:$LINENO: checking for $ac_word" >&5
22657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22658 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22659 echo $ECHO_N "(cached) $ECHO_C" >&6
22661 case $GTK_CONFIG in
22663 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22667 for as_dir
in $PATH
22670 test -z "$as_dir" && as_dir
=.
22671 for ac_exec_ext
in '' $ac_executable_extensions; do
22672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22673 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22680 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22684 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22686 if test -n "$GTK_CONFIG"; then
22687 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22688 echo "${ECHO_T}$GTK_CONFIG" >&6
22690 echo "$as_me:$LINENO: result: no" >&5
22691 echo "${ECHO_T}no" >&6
22694 min_gtk_version
=1.2.7
22695 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22696 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22698 if test "$GTK_CONFIG" = "no" ; then
22701 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22702 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22703 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22704 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22705 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22706 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22707 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22708 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22709 if test "x$enable_gtktest" = "xyes" ; then
22710 ac_save_CFLAGS
="$CFLAGS"
22711 ac_save_LIBS
="$LIBS"
22712 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22713 LIBS
="$GTK_LIBS $LIBS"
22715 if test "$cross_compiling" = yes; then
22716 echo $ac_n "cross compiling; assumed OK... $ac_c"
22718 cat >conftest.
$ac_ext <<_ACEOF
22721 cat confdefs.h
>>conftest.
$ac_ext
22722 cat >>conftest.
$ac_ext <<_ACEOF
22723 /* end confdefs.h. */
22725 #include <gtk/gtk.h>
22727 #include <stdlib.h>
22732 int major, minor, micro;
22735 system ("touch conf.gtktest");
22737 /* HP/UX 9 (%@#!) writes to sscanf strings */
22738 tmp_version = g_strdup("$min_gtk_version");
22739 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22740 printf("%s, bad version string\n", "$min_gtk_version");
22744 if ((gtk_major_version != $gtk_config_major_version) ||
22745 (gtk_minor_version != $gtk_config_minor_version) ||
22746 (gtk_micro_version != $gtk_config_micro_version))
22748 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22749 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22750 gtk_major_version, gtk_minor_version, gtk_micro_version);
22751 printf ("*** was found! If gtk-config was correct, then it is best\n");
22752 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22753 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22754 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22755 printf("*** required on your system.\n");
22756 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22757 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22758 printf("*** before re-running configure\n");
22760 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22761 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22762 (gtk_minor_version != GTK_MINOR_VERSION) ||
22763 (gtk_micro_version != GTK_MICRO_VERSION))
22765 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22766 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22767 printf("*** library (version %d.%d.%d)\n",
22768 gtk_major_version, gtk_minor_version, gtk_micro_version);
22770 #endif /* defined (GTK_MAJOR_VERSION) ... */
22773 if ((gtk_major_version > major) ||
22774 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22775 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22781 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22782 gtk_major_version, gtk_minor_version, gtk_micro_version);
22783 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22784 major, minor, micro);
22785 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22787 printf("*** If you have already installed a sufficiently new version, this error\n");
22788 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22789 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22790 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22791 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22792 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22793 printf("*** so that the correct libraries are found at run-time))\n");
22800 rm -f conftest
$ac_exeext
22801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22802 (eval $ac_link) 2>&5
22804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22805 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22807 (eval $ac_try) 2>&5
22809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22810 (exit $ac_status); }; }; then
22813 echo "$as_me: program exited with status $ac_status" >&5
22814 echo "$as_me: failed program was:" >&5
22815 sed 's/^/| /' conftest.
$ac_ext >&5
22817 ( exit $ac_status )
22820 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22822 CFLAGS
="$ac_save_CFLAGS"
22823 LIBS
="$ac_save_LIBS"
22826 if test "x$no_gtk" = x
; then
22827 echo "$as_me:$LINENO: result: yes" >&5
22828 echo "${ECHO_T}yes" >&6
22829 wx_cv_lib_gtk
=1.2.7
22831 echo "$as_me:$LINENO: result: no" >&5
22832 echo "${ECHO_T}no" >&6
22833 if test "$GTK_CONFIG" = "no" ; then
22834 echo "*** The gtk-config script installed by GTK could not be found"
22835 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22836 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22837 echo "*** full path to gtk-config."
22839 if test -f conf.gtktest
; then
22842 echo "*** Could not run GTK test program, checking why..."
22843 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22844 LIBS
="$LIBS $GTK_LIBS"
22845 cat >conftest.
$ac_ext <<_ACEOF
22848 cat confdefs.h
>>conftest.
$ac_ext
22849 cat >>conftest.
$ac_ext <<_ACEOF
22850 /* end confdefs.h. */
22852 #include <gtk/gtk.h>
22858 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22863 rm -f conftest.
$ac_objext conftest
$ac_exeext
22864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22865 (eval $ac_link) 2>conftest.er1
22867 grep -v '^ *+' conftest.er1
>conftest.err
22869 cat conftest.err
>&5
22870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22871 (exit $ac_status); } &&
22872 { ac_try
='test -z "$ac_c_werror_flag"
22873 || test ! -s conftest.err'
22874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22875 (eval $ac_try) 2>&5
22877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22878 (exit $ac_status); }; } &&
22879 { ac_try
='test -s conftest$ac_exeext'
22880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22881 (eval $ac_try) 2>&5
22883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22884 (exit $ac_status); }; }; then
22885 echo "*** The test program compiled, but did not run. This usually means"
22886 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22887 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22888 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22889 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22890 echo "*** is required on your system"
22892 echo "*** If you have an old version installed, it is best to remove it, although"
22893 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22895 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22896 echo "*** came with the system with the command"
22898 echo "*** rpm --erase --nodeps gtk gtk-devel"
22900 echo "$as_me: failed program was:" >&5
22901 sed 's/^/| /' conftest.
$ac_ext >&5
22903 echo "*** The test program failed to compile or link. See the file config.log for the"
22904 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22905 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22906 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22908 rm -f conftest.err conftest.
$ac_objext \
22909 conftest
$ac_exeext conftest.
$ac_ext
22910 CFLAGS
="$ac_save_CFLAGS"
22911 LIBS
="$ac_save_LIBS"
22923 if test -z "$wx_cv_lib_gtk"; then
22925 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22926 if test "${with_gtk_prefix+set}" = set; then
22927 withval
="$with_gtk_prefix"
22928 gtk_config_prefix
="$withval"
22930 gtk_config_prefix
=""
22933 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22934 if test "${with_gtk_exec_prefix+set}" = set; then
22935 withval
="$with_gtk_exec_prefix"
22936 gtk_config_exec_prefix
="$withval"
22938 gtk_config_exec_prefix
=""
22940 # Check whether --enable-gtktest or --disable-gtktest was given.
22941 if test "${enable_gtktest+set}" = set; then
22942 enableval
="$enable_gtktest"
22948 for module
in .
$GTK_MODULES
22952 gtk_config_args
="$gtk_config_args gthread"
22957 if test x
$gtk_config_exec_prefix != x
; then
22958 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22959 if test x
${GTK_CONFIG+set} != xset
; then
22960 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22963 if test x
$gtk_config_prefix != x
; then
22964 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22965 if test x
${GTK_CONFIG+set} != xset
; then
22966 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22970 # Extract the first word of "gtk-config", so it can be a program name with args.
22971 set dummy gtk
-config; ac_word
=$2
22972 echo "$as_me:$LINENO: checking for $ac_word" >&5
22973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22974 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22975 echo $ECHO_N "(cached) $ECHO_C" >&6
22977 case $GTK_CONFIG in
22979 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22983 for as_dir
in $PATH
22986 test -z "$as_dir" && as_dir
=.
22987 for ac_exec_ext
in '' $ac_executable_extensions; do
22988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22989 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22996 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23000 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23002 if test -n "$GTK_CONFIG"; then
23003 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23004 echo "${ECHO_T}$GTK_CONFIG" >&6
23006 echo "$as_me:$LINENO: result: no" >&5
23007 echo "${ECHO_T}no" >&6
23010 min_gtk_version
=1.2.3
23011 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23012 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23014 if test "$GTK_CONFIG" = "no" ; then
23017 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23018 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23019 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23020 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23021 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23022 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23023 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23024 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23025 if test "x$enable_gtktest" = "xyes" ; then
23026 ac_save_CFLAGS
="$CFLAGS"
23027 ac_save_LIBS
="$LIBS"
23028 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23029 LIBS
="$GTK_LIBS $LIBS"
23031 if test "$cross_compiling" = yes; then
23032 echo $ac_n "cross compiling; assumed OK... $ac_c"
23034 cat >conftest.
$ac_ext <<_ACEOF
23037 cat confdefs.h
>>conftest.
$ac_ext
23038 cat >>conftest.
$ac_ext <<_ACEOF
23039 /* end confdefs.h. */
23041 #include <gtk/gtk.h>
23043 #include <stdlib.h>
23048 int major, minor, micro;
23051 system ("touch conf.gtktest");
23053 /* HP/UX 9 (%@#!) writes to sscanf strings */
23054 tmp_version = g_strdup("$min_gtk_version");
23055 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23056 printf("%s, bad version string\n", "$min_gtk_version");
23060 if ((gtk_major_version != $gtk_config_major_version) ||
23061 (gtk_minor_version != $gtk_config_minor_version) ||
23062 (gtk_micro_version != $gtk_config_micro_version))
23064 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23065 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23066 gtk_major_version, gtk_minor_version, gtk_micro_version);
23067 printf ("*** was found! If gtk-config was correct, then it is best\n");
23068 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23069 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23070 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23071 printf("*** required on your system.\n");
23072 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23073 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23074 printf("*** before re-running configure\n");
23076 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23077 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23078 (gtk_minor_version != GTK_MINOR_VERSION) ||
23079 (gtk_micro_version != GTK_MICRO_VERSION))
23081 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23082 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23083 printf("*** library (version %d.%d.%d)\n",
23084 gtk_major_version, gtk_minor_version, gtk_micro_version);
23086 #endif /* defined (GTK_MAJOR_VERSION) ... */
23089 if ((gtk_major_version > major) ||
23090 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23091 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23097 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23098 gtk_major_version, gtk_minor_version, gtk_micro_version);
23099 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23100 major, minor, micro);
23101 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23103 printf("*** If you have already installed a sufficiently new version, this error\n");
23104 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23105 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23106 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23107 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23108 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23109 printf("*** so that the correct libraries are found at run-time))\n");
23116 rm -f conftest
$ac_exeext
23117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23118 (eval $ac_link) 2>&5
23120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23121 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23123 (eval $ac_try) 2>&5
23125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23126 (exit $ac_status); }; }; then
23129 echo "$as_me: program exited with status $ac_status" >&5
23130 echo "$as_me: failed program was:" >&5
23131 sed 's/^/| /' conftest.
$ac_ext >&5
23133 ( exit $ac_status )
23136 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23138 CFLAGS
="$ac_save_CFLAGS"
23139 LIBS
="$ac_save_LIBS"
23142 if test "x$no_gtk" = x
; then
23143 echo "$as_me:$LINENO: result: yes" >&5
23144 echo "${ECHO_T}yes" >&6
23145 wx_cv_lib_gtk
=1.2.3
23147 echo "$as_me:$LINENO: result: no" >&5
23148 echo "${ECHO_T}no" >&6
23149 if test "$GTK_CONFIG" = "no" ; then
23150 echo "*** The gtk-config script installed by GTK could not be found"
23151 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23152 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23153 echo "*** full path to gtk-config."
23155 if test -f conf.gtktest
; then
23158 echo "*** Could not run GTK test program, checking why..."
23159 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23160 LIBS
="$LIBS $GTK_LIBS"
23161 cat >conftest.
$ac_ext <<_ACEOF
23164 cat confdefs.h
>>conftest.
$ac_ext
23165 cat >>conftest.
$ac_ext <<_ACEOF
23166 /* end confdefs.h. */
23168 #include <gtk/gtk.h>
23174 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23179 rm -f conftest.
$ac_objext conftest
$ac_exeext
23180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23181 (eval $ac_link) 2>conftest.er1
23183 grep -v '^ *+' conftest.er1
>conftest.err
23185 cat conftest.err
>&5
23186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23187 (exit $ac_status); } &&
23188 { ac_try
='test -z "$ac_c_werror_flag"
23189 || test ! -s conftest.err'
23190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23191 (eval $ac_try) 2>&5
23193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23194 (exit $ac_status); }; } &&
23195 { ac_try
='test -s conftest$ac_exeext'
23196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23197 (eval $ac_try) 2>&5
23199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23200 (exit $ac_status); }; }; then
23201 echo "*** The test program compiled, but did not run. This usually means"
23202 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23203 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23204 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23205 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23206 echo "*** is required on your system"
23208 echo "*** If you have an old version installed, it is best to remove it, although"
23209 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23211 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23212 echo "*** came with the system with the command"
23214 echo "*** rpm --erase --nodeps gtk gtk-devel"
23216 echo "$as_me: failed program was:" >&5
23217 sed 's/^/| /' conftest.
$ac_ext >&5
23219 echo "*** The test program failed to compile or link. See the file config.log for the"
23220 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23221 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23222 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23224 rm -f conftest.err conftest.
$ac_objext \
23225 conftest
$ac_exeext conftest.
$ac_ext
23226 CFLAGS
="$ac_save_CFLAGS"
23227 LIBS
="$ac_save_LIBS"
23241 if test -z "$wx_cv_lib_gtk"; then
23244 wx_cv_cflags_gtk
=$GTK_CFLAGS
23245 wx_cv_libs_gtk
=$GTK_LIBS
23252 if test "$gtk_version_cached" = 1; then
23253 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23254 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23257 case "$wx_cv_lib_gtk" in
23266 *) { { echo "$as_me:$LINENO: error:
23267 Please check that gtk-config is in path, the directory
23268 where GTK+ libraries are installed (returned by
23269 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23270 equivalent variable and GTK+ is version 1.2.3 or above.
23272 echo "$as_me: error:
23273 Please check that gtk-config is in path, the directory
23274 where GTK+ libraries are installed (returned by
23275 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23276 equivalent variable and GTK+ is version 1.2.3 or above.
23278 { (exit 1); exit 1; }; }
23282 if test "$WXGTK20" = 1; then
23283 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
23287 if test -z "$PKG_CONFIG"; then
23288 # Extract the first word of "pkg-config", so it can be a program name with args.
23289 set dummy pkg
-config; ac_word
=$2
23290 echo "$as_me:$LINENO: checking for $ac_word" >&5
23291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23292 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23293 echo $ECHO_N "(cached) $ECHO_C" >&6
23295 case $PKG_CONFIG in
23297 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23301 for as_dir
in $PATH
23304 test -z "$as_dir" && as_dir
=.
23305 for ac_exec_ext
in '' $ac_executable_extensions; do
23306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23307 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23314 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23318 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23320 if test -n "$PKG_CONFIG"; then
23321 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23322 echo "${ECHO_T}$PKG_CONFIG" >&6
23324 echo "$as_me:$LINENO: result: no" >&5
23325 echo "${ECHO_T}no" >&6
23330 if test "$PKG_CONFIG" = "no" ; then
23331 echo "*** The pkg-config script could not be found. Make sure it is"
23332 echo "*** in your path, or set the PKG_CONFIG environment variable"
23333 echo "*** to the full path to pkg-config."
23334 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23336 PKG_CONFIG_MIN_VERSION
=0.9.0
23337 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23338 echo "$as_me:$LINENO: checking for pangoft2" >&5
23339 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23341 if $PKG_CONFIG --exists "pangoft2" ; then
23342 echo "$as_me:$LINENO: result: yes" >&5
23343 echo "${ECHO_T}yes" >&6
23346 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23347 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23348 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
23349 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23350 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23352 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23353 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23354 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
23355 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23356 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23360 ## If we have a custom action on failure, don't print errors, but
23361 ## do set a variable so people can do so.
23362 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23369 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23370 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23374 if test $succeeded = yes; then
23376 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
23377 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23381 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23382 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23383 wxUSE_PRINTING_ARCHITECTURE
="no"
23390 save_CFLAGS
="$CFLAGS"
23392 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23393 LIBS
="$LIBS $GTK_LIBS"
23395 for ac_func
in pango_font_family_is_monospace
23397 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23398 echo "$as_me:$LINENO: checking for $ac_func" >&5
23399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23400 if eval "test \"\${$as_ac_var+set}\" = set"; then
23401 echo $ECHO_N "(cached) $ECHO_C" >&6
23403 cat >conftest.
$ac_ext <<_ACEOF
23406 cat confdefs.h
>>conftest.
$ac_ext
23407 cat >>conftest.
$ac_ext <<_ACEOF
23408 /* end confdefs.h. */
23409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23411 #define $ac_func innocuous_$ac_func
23413 /* System header to define __stub macros and hopefully few prototypes,
23414 which can conflict with char $ac_func (); below.
23415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23416 <limits.h> exists even on freestanding compilers. */
23419 # include <limits.h>
23421 # include <assert.h>
23426 /* Override any gcc2 internal prototype to avoid an error. */
23431 /* We use char because int might match the return type of a gcc2
23432 builtin and then its argument prototype would still apply. */
23434 /* The GNU C library defines this for functions which it implements
23435 to always fail with ENOSYS. Some functions are actually named
23436 something starting with __ and the normal name is an alias. */
23437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23440 char (*f) () = $ac_func;
23449 return f != $ac_func;
23454 rm -f conftest.
$ac_objext conftest
$ac_exeext
23455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23456 (eval $ac_link) 2>conftest.er1
23458 grep -v '^ *+' conftest.er1
>conftest.err
23460 cat conftest.err
>&5
23461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23462 (exit $ac_status); } &&
23463 { ac_try
='test -z "$ac_c_werror_flag"
23464 || test ! -s conftest.err'
23465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23466 (eval $ac_try) 2>&5
23468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23469 (exit $ac_status); }; } &&
23470 { ac_try
='test -s conftest$ac_exeext'
23471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23472 (eval $ac_try) 2>&5
23474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23475 (exit $ac_status); }; }; then
23476 eval "$as_ac_var=yes"
23478 echo "$as_me: failed program was:" >&5
23479 sed 's/^/| /' conftest.
$ac_ext >&5
23481 eval "$as_ac_var=no"
23483 rm -f conftest.err conftest.
$ac_objext \
23484 conftest
$ac_exeext conftest.
$ac_ext
23486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23488 if test `eval echo '${'$as_ac_var'}'` = yes; then
23489 cat >>confdefs.h
<<_ACEOF
23490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23496 CFLAGS
="$save_CFLAGS"
23499 if test "$wxUSE_UNICODE" = "yes"; then
23500 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23501 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23506 if test "$USE_DARWIN" != 1; then
23508 for ac_func
in poll
23510 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23511 echo "$as_me:$LINENO: checking for $ac_func" >&5
23512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23513 if eval "test \"\${$as_ac_var+set}\" = set"; then
23514 echo $ECHO_N "(cached) $ECHO_C" >&6
23516 cat >conftest.
$ac_ext <<_ACEOF
23519 cat confdefs.h
>>conftest.
$ac_ext
23520 cat >>conftest.
$ac_ext <<_ACEOF
23521 /* end confdefs.h. */
23522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23524 #define $ac_func innocuous_$ac_func
23526 /* System header to define __stub macros and hopefully few prototypes,
23527 which can conflict with char $ac_func (); below.
23528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23529 <limits.h> exists even on freestanding compilers. */
23532 # include <limits.h>
23534 # include <assert.h>
23539 /* Override any gcc2 internal prototype to avoid an error. */
23544 /* We use char because int might match the return type of a gcc2
23545 builtin and then its argument prototype would still apply. */
23547 /* The GNU C library defines this for functions which it implements
23548 to always fail with ENOSYS. Some functions are actually named
23549 something starting with __ and the normal name is an alias. */
23550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23553 char (*f) () = $ac_func;
23562 return f != $ac_func;
23567 rm -f conftest.
$ac_objext conftest
$ac_exeext
23568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23569 (eval $ac_link) 2>conftest.er1
23571 grep -v '^ *+' conftest.er1
>conftest.err
23573 cat conftest.err
>&5
23574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575 (exit $ac_status); } &&
23576 { ac_try
='test -z "$ac_c_werror_flag"
23577 || test ! -s conftest.err'
23578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23579 (eval $ac_try) 2>&5
23581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23582 (exit $ac_status); }; } &&
23583 { ac_try
='test -s conftest$ac_exeext'
23584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23585 (eval $ac_try) 2>&5
23587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23588 (exit $ac_status); }; }; then
23589 eval "$as_ac_var=yes"
23591 echo "$as_me: failed program was:" >&5
23592 sed 's/^/| /' conftest.
$ac_ext >&5
23594 eval "$as_ac_var=no"
23596 rm -f conftest.err conftest.
$ac_objext \
23597 conftest
$ac_exeext conftest.
$ac_ext
23599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23601 if test `eval echo '${'$as_ac_var'}'` = yes; then
23602 cat >>confdefs.h
<<_ACEOF
23603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23611 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
23612 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23614 AFMINSTALL
=afminstall
23618 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23619 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23620 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23621 echo $ECHO_N "(cached) $ECHO_C" >&6
23623 ac_check_lib_save_LIBS
=$LIBS
23625 cat >conftest.
$ac_ext <<_ACEOF
23628 cat confdefs.h
>>conftest.
$ac_ext
23629 cat >>conftest.
$ac_ext <<_ACEOF
23630 /* end confdefs.h. */
23632 /* Override any gcc2 internal prototype to avoid an error. */
23636 /* We use char because int might match the return type of a gcc2
23637 builtin and then its argument prototype would still apply. */
23638 char gdk_im_open ();
23647 rm -f conftest.
$ac_objext conftest
$ac_exeext
23648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23649 (eval $ac_link) 2>conftest.er1
23651 grep -v '^ *+' conftest.er1
>conftest.err
23653 cat conftest.err
>&5
23654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23655 (exit $ac_status); } &&
23656 { ac_try
='test -z "$ac_c_werror_flag"
23657 || test ! -s conftest.err'
23658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23659 (eval $ac_try) 2>&5
23661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23662 (exit $ac_status); }; } &&
23663 { ac_try
='test -s conftest$ac_exeext'
23664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23665 (eval $ac_try) 2>&5
23667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23668 (exit $ac_status); }; }; then
23669 ac_cv_lib_gdk_gdk_im_open
=yes
23671 echo "$as_me: failed program was:" >&5
23672 sed 's/^/| /' conftest.
$ac_ext >&5
23674 ac_cv_lib_gdk_gdk_im_open
=no
23676 rm -f conftest.err conftest.
$ac_objext \
23677 conftest
$ac_exeext conftest.
$ac_ext
23678 LIBS
=$ac_check_lib_save_LIBS
23680 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23681 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23682 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23683 cat >>confdefs.h
<<\_ACEOF
23691 if test "$wxUSE_GPE" = "yes"; then
23692 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23693 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23696 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23698 for ac_extension
in a so sl dylib
; do
23699 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23700 ac_find_libraries
=$ac_dir
23706 if test "$ac_find_libraries" != "" ; then
23708 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23710 if test $result = 0; then
23713 ac_path_to_link
=" -L$ac_find_libraries"
23716 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23718 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23719 echo "${ECHO_T}found at $ac_find_libraries" >&6
23721 echo "$as_me:$LINENO: result: not found" >&5
23722 echo "${ECHO_T}not found" >&6
23728 if test "$wxUSE_MGL" = 1; then
23729 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23730 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23731 if test "x$MGL_ROOT" = x
; then
23732 echo "$as_me:$LINENO: result: not found" >&5
23733 echo "${ECHO_T}not found" >&6
23734 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23735 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23736 { (exit 1); exit 1; }; }
23738 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23739 echo "${ECHO_T}$MGL_ROOT" >&6
23742 echo "$as_me:$LINENO: checking for libmgl location" >&5
23743 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23746 if test "x$wxUSE_SHARED" = xyes
; then
23747 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23749 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23753 mgl_os_candidates
="dos32/dj2"
23756 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23757 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23758 { (exit 1); exit 1; }; }
23764 for mgl_os_i
in $mgl_os_candidates ; do
23765 if test "x$mgl_os" = x
; then
23766 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23767 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
23768 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
23773 if test "x$mgl_lib_type" = x
; then
23774 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
23775 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
23776 mgl_lib_type
=release
23783 if test "x$mgl_os" = x
; then
23784 echo "$as_me:$LINENO: result: not found" >&5
23785 echo "${ECHO_T}not found" >&6
23786 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23787 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23788 { (exit 1); exit 1; }; }
23790 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23791 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23793 wxUSE_UNIVERSAL
="yes"
23795 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
23796 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23798 AFMINSTALL
=afminstall
23803 if test "$wxUSE_MICROWIN" = 1; then
23804 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23805 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23806 if test "x$MICROWINDOWS" = x
; then
23807 echo "$as_me:$LINENO: result: not found" >&5
23808 echo "${ECHO_T}not found" >&6
23809 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23810 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23811 { (exit 1); exit 1; }; }
23813 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23814 echo "${ECHO_T}$MICROWINDOWS" >&6
23817 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
23818 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23819 echo "${ECHO_T}MicroWindows' libraries found." >&6
23821 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23822 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23823 { (exit 1); exit 1; }; }
23826 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
23827 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23829 wxUSE_UNIVERSAL
="yes"
23831 AFMINSTALL
=afminstall
23833 GUIDIST
=MICROWIN_DIST
23835 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23838 if test "$wxUSE_X11" = 1; then
23839 echo "$as_me:$LINENO: checking for X" >&5
23840 echo $ECHO_N "checking for X... $ECHO_C" >&6
23843 # Check whether --with-x or --without-x was given.
23844 if test "${with_x+set}" = set; then
23848 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23849 if test "x$with_x" = xno
; then
23850 # The user explicitly disabled X.
23853 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
23854 # Both variables are already set.
23857 if test "${ac_cv_have_x+set}" = set; then
23858 echo $ECHO_N "(cached) $ECHO_C" >&6
23860 # One or both of the vars are not set, and there is no cached value.
23861 ac_x_includes
=no ac_x_libraries
=no
23862 rm -fr conftest.dir
23863 if mkdir conftest.dir
; then
23865 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23866 cat >Imakefile
<<'_ACEOF'
23868 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23870 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
23871 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23872 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23873 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23874 for ac_extension
in a so sl
; do
23875 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
23876 test -f $ac_im_libdir/libX11.
$ac_extension; then
23877 ac_im_usrlibdir
=$ac_im_libdir; break
23880 # Screen out bogus values from the imake configuration. They are
23881 # bogus both because they are the default anyway, and because
23882 # using them would break gcc on systems where it needs fixed includes.
23883 case $ac_im_incroot in
23885 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
23887 case $ac_im_usrlibdir in
23888 /usr
/lib
| /lib
) ;;
23889 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
23893 rm -fr conftest.dir
23896 # Standard set of common directories for X headers.
23897 # Check X11 before X11Rn because it is often a symlink to the current release.
23909 /usr/local/X11/include
23910 /usr/local/X11R6/include
23911 /usr/local/X11R5/include
23912 /usr/local/X11R4/include
23914 /usr/local/include/X11
23915 /usr/local/include/X11R6
23916 /usr/local/include/X11R5
23917 /usr/local/include/X11R4
23921 /usr/XFree86/include/X11
23925 /usr/unsupported/include
23926 /usr/athena/include
23927 /usr/local/x11r5/include
23928 /usr/lpp/Xamples/include
23930 /usr/openwin/include
23931 /usr/openwin/share/include'
23933 if test "$ac_x_includes" = no
; then
23934 # Guess where to find include files, by looking for Intrinsic.h.
23935 # First, try using that file with no special directory specified.
23936 cat >conftest.
$ac_ext <<_ACEOF
23939 cat confdefs.h
>>conftest.
$ac_ext
23940 cat >>conftest.
$ac_ext <<_ACEOF
23941 /* end confdefs.h. */
23942 #include <X11/Intrinsic.h>
23944 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23945 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23947 grep -v '^ *+' conftest.er1
>conftest.err
23949 cat conftest.err
>&5
23950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23951 (exit $ac_status); } >/dev
/null
; then
23952 if test -s conftest.err
; then
23953 ac_cpp_err
=$ac_c_preproc_warn_flag
23954 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23961 if test -z "$ac_cpp_err"; then
23962 # We can compile using X headers with no special include directory.
23965 echo "$as_me: failed program was:" >&5
23966 sed 's/^/| /' conftest.
$ac_ext >&5
23968 for ac_dir
in $ac_x_header_dirs; do
23969 if test -r "$ac_dir/X11/Intrinsic.h"; then
23970 ac_x_includes
=$ac_dir
23975 rm -f conftest.err conftest.
$ac_ext
23976 fi # $ac_x_includes = no
23978 if test "$ac_x_libraries" = no
; then
23979 # Check for the libraries.
23980 # See if we find them without any special options.
23981 # Don't add to $LIBS permanently.
23984 cat >conftest.
$ac_ext <<_ACEOF
23987 cat confdefs.h
>>conftest.
$ac_ext
23988 cat >>conftest.
$ac_ext <<_ACEOF
23989 /* end confdefs.h. */
23990 #include <X11/Intrinsic.h>
23999 rm -f conftest.
$ac_objext conftest
$ac_exeext
24000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24001 (eval $ac_link) 2>conftest.er1
24003 grep -v '^ *+' conftest.er1
>conftest.err
24005 cat conftest.err
>&5
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); } &&
24008 { ac_try
='test -z "$ac_c_werror_flag"
24009 || test ! -s conftest.err'
24010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24011 (eval $ac_try) 2>&5
24013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24014 (exit $ac_status); }; } &&
24015 { ac_try
='test -s conftest$ac_exeext'
24016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24017 (eval $ac_try) 2>&5
24019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24020 (exit $ac_status); }; }; then
24022 # We can link X programs with no special library path.
24025 echo "$as_me: failed program was:" >&5
24026 sed 's/^/| /' conftest.
$ac_ext >&5
24029 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24031 # Don't even attempt the hair of trying to link an X program!
24032 for ac_extension
in a so sl
; do
24033 if test -r $ac_dir/libXt.
$ac_extension; then
24034 ac_x_libraries
=$ac_dir
24040 rm -f conftest.err conftest.
$ac_objext \
24041 conftest
$ac_exeext conftest.
$ac_ext
24042 fi # $ac_x_libraries = no
24044 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
24045 # Didn't find X anywhere. Cache the known absence of X.
24046 ac_cv_have_x
="have_x=no"
24048 # Record where we found X for the cache.
24049 ac_cv_have_x
="have_x=yes \
24050 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24055 eval "$ac_cv_have_x"
24058 if test "$have_x" != yes; then
24059 echo "$as_me:$LINENO: result: $have_x" >&5
24060 echo "${ECHO_T}$have_x" >&6
24063 # If each of the values was on the command line, it overrides each guess.
24064 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24065 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24066 # Update the cache value to reflect the command line values.
24067 ac_cv_have_x
="have_x=yes \
24068 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24069 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24070 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
24073 if test "$no_x" = yes; then
24074 # Not all programs may use this symbol, but it does not hurt to define it.
24076 cat >>confdefs.h
<<\_ACEOF
24077 #define X_DISPLAY_MISSING 1
24080 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24082 if test -n "$x_includes"; then
24083 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24086 # It would also be nice to do this for all -L options, not just this one.
24087 if test -n "$x_libraries"; then
24088 X_LIBS
="$X_LIBS -L$x_libraries"
24089 # For Solaris; some versions of Sun CC require a space after -R and
24090 # others require no space. Words are not sufficient . . . .
24091 case `(uname -sr) 2>/dev/null` in
24093 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24094 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24095 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24096 cat >conftest.
$ac_ext <<_ACEOF
24099 cat confdefs.h
>>conftest.
$ac_ext
24100 cat >>conftest.
$ac_ext <<_ACEOF
24101 /* end confdefs.h. */
24111 rm -f conftest.
$ac_objext conftest
$ac_exeext
24112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24113 (eval $ac_link) 2>conftest.er1
24115 grep -v '^ *+' conftest.er1
>conftest.err
24117 cat conftest.err
>&5
24118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24119 (exit $ac_status); } &&
24120 { ac_try
='test -z "$ac_c_werror_flag"
24121 || test ! -s conftest.err'
24122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24123 (eval $ac_try) 2>&5
24125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24126 (exit $ac_status); }; } &&
24127 { ac_try
='test -s conftest$ac_exeext'
24128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24129 (eval $ac_try) 2>&5
24131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24132 (exit $ac_status); }; }; then
24135 echo "$as_me: failed program was:" >&5
24136 sed 's/^/| /' conftest.
$ac_ext >&5
24140 rm -f conftest.err conftest.
$ac_objext \
24141 conftest
$ac_exeext conftest.
$ac_ext
24142 if test $ac_R_nospace = yes; then
24143 echo "$as_me:$LINENO: result: no" >&5
24144 echo "${ECHO_T}no" >&6
24145 X_LIBS
="$X_LIBS -R$x_libraries"
24147 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24148 cat >conftest.
$ac_ext <<_ACEOF
24151 cat confdefs.h
>>conftest.
$ac_ext
24152 cat >>conftest.
$ac_ext <<_ACEOF
24153 /* end confdefs.h. */
24163 rm -f conftest.
$ac_objext conftest
$ac_exeext
24164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24165 (eval $ac_link) 2>conftest.er1
24167 grep -v '^ *+' conftest.er1
>conftest.err
24169 cat conftest.err
>&5
24170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24171 (exit $ac_status); } &&
24172 { ac_try
='test -z "$ac_c_werror_flag"
24173 || test ! -s conftest.err'
24174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24175 (eval $ac_try) 2>&5
24177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24178 (exit $ac_status); }; } &&
24179 { ac_try
='test -s conftest$ac_exeext'
24180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24181 (eval $ac_try) 2>&5
24183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24184 (exit $ac_status); }; }; then
24187 echo "$as_me: failed program was:" >&5
24188 sed 's/^/| /' conftest.
$ac_ext >&5
24192 rm -f conftest.err conftest.
$ac_objext \
24193 conftest
$ac_exeext conftest.
$ac_ext
24194 if test $ac_R_space = yes; then
24195 echo "$as_me:$LINENO: result: yes" >&5
24196 echo "${ECHO_T}yes" >&6
24197 X_LIBS
="$X_LIBS -R $x_libraries"
24199 echo "$as_me:$LINENO: result: neither works" >&5
24200 echo "${ECHO_T}neither works" >&6
24203 LIBS
=$ac_xsave_LIBS
24207 # Check for system-dependent libraries X programs must link with.
24208 # Do this before checking for the system-independent R6 libraries
24209 # (-lICE), since we may need -lsocket or whatever for X linking.
24211 if test "$ISC" = yes; then
24212 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24214 # Martyn Johnson says this is needed for Ultrix, if the X
24215 # libraries were built with DECnet support. And Karl Berry says
24216 # the Alpha needs dnet_stub (dnet does not exist).
24217 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24218 cat >conftest.
$ac_ext <<_ACEOF
24221 cat confdefs.h
>>conftest.
$ac_ext
24222 cat >>conftest.
$ac_ext <<_ACEOF
24223 /* end confdefs.h. */
24225 /* Override any gcc2 internal prototype to avoid an error. */
24229 /* We use char because int might match the return type of a gcc2
24230 builtin and then its argument prototype would still apply. */
24231 char XOpenDisplay ();
24240 rm -f conftest.
$ac_objext conftest
$ac_exeext
24241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24242 (eval $ac_link) 2>conftest.er1
24244 grep -v '^ *+' conftest.er1
>conftest.err
24246 cat conftest.err
>&5
24247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24248 (exit $ac_status); } &&
24249 { ac_try
='test -z "$ac_c_werror_flag"
24250 || test ! -s conftest.err'
24251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24252 (eval $ac_try) 2>&5
24254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24255 (exit $ac_status); }; } &&
24256 { ac_try
='test -s conftest$ac_exeext'
24257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24258 (eval $ac_try) 2>&5
24260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24261 (exit $ac_status); }; }; then
24264 echo "$as_me: failed program was:" >&5
24265 sed 's/^/| /' conftest.
$ac_ext >&5
24267 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24268 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24269 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24270 echo $ECHO_N "(cached) $ECHO_C" >&6
24272 ac_check_lib_save_LIBS
=$LIBS
24273 LIBS
="-ldnet $LIBS"
24274 cat >conftest.
$ac_ext <<_ACEOF
24277 cat confdefs.h
>>conftest.
$ac_ext
24278 cat >>conftest.
$ac_ext <<_ACEOF
24279 /* end confdefs.h. */
24281 /* Override any gcc2 internal prototype to avoid an error. */
24285 /* We use char because int might match the return type of a gcc2
24286 builtin and then its argument prototype would still apply. */
24296 rm -f conftest.
$ac_objext conftest
$ac_exeext
24297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24298 (eval $ac_link) 2>conftest.er1
24300 grep -v '^ *+' conftest.er1
>conftest.err
24302 cat conftest.err
>&5
24303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24304 (exit $ac_status); } &&
24305 { ac_try
='test -z "$ac_c_werror_flag"
24306 || test ! -s conftest.err'
24307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24308 (eval $ac_try) 2>&5
24310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24311 (exit $ac_status); }; } &&
24312 { ac_try
='test -s conftest$ac_exeext'
24313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24314 (eval $ac_try) 2>&5
24316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24317 (exit $ac_status); }; }; then
24318 ac_cv_lib_dnet_dnet_ntoa
=yes
24320 echo "$as_me: failed program was:" >&5
24321 sed 's/^/| /' conftest.
$ac_ext >&5
24323 ac_cv_lib_dnet_dnet_ntoa
=no
24325 rm -f conftest.err conftest.
$ac_objext \
24326 conftest
$ac_exeext conftest.
$ac_ext
24327 LIBS
=$ac_check_lib_save_LIBS
24329 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24330 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24331 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24332 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24335 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24336 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24337 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24338 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24339 echo $ECHO_N "(cached) $ECHO_C" >&6
24341 ac_check_lib_save_LIBS
=$LIBS
24342 LIBS
="-ldnet_stub $LIBS"
24343 cat >conftest.
$ac_ext <<_ACEOF
24346 cat confdefs.h
>>conftest.
$ac_ext
24347 cat >>conftest.
$ac_ext <<_ACEOF
24348 /* end confdefs.h. */
24350 /* Override any gcc2 internal prototype to avoid an error. */
24354 /* We use char because int might match the return type of a gcc2
24355 builtin and then its argument prototype would still apply. */
24365 rm -f conftest.
$ac_objext conftest
$ac_exeext
24366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24367 (eval $ac_link) 2>conftest.er1
24369 grep -v '^ *+' conftest.er1
>conftest.err
24371 cat conftest.err
>&5
24372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24373 (exit $ac_status); } &&
24374 { ac_try
='test -z "$ac_c_werror_flag"
24375 || test ! -s conftest.err'
24376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24377 (eval $ac_try) 2>&5
24379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24380 (exit $ac_status); }; } &&
24381 { ac_try
='test -s conftest$ac_exeext'
24382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24383 (eval $ac_try) 2>&5
24385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24386 (exit $ac_status); }; }; then
24387 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24389 echo "$as_me: failed program was:" >&5
24390 sed 's/^/| /' conftest.
$ac_ext >&5
24392 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24394 rm -f conftest.err conftest.
$ac_objext \
24395 conftest
$ac_exeext conftest.
$ac_ext
24396 LIBS
=$ac_check_lib_save_LIBS
24398 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24399 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24400 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24401 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24406 rm -f conftest.err conftest.
$ac_objext \
24407 conftest
$ac_exeext conftest.
$ac_ext
24408 LIBS
="$ac_xsave_LIBS"
24410 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24411 # to get the SysV transport functions.
24412 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24414 # The nsl library prevents programs from opening the X display
24415 # on Irix 5.2, according to T.E. Dickey.
24416 # The functions gethostbyname, getservbyname, and inet_addr are
24417 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24418 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24419 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24420 if test "${ac_cv_func_gethostbyname+set}" = set; then
24421 echo $ECHO_N "(cached) $ECHO_C" >&6
24423 cat >conftest.
$ac_ext <<_ACEOF
24426 cat confdefs.h
>>conftest.
$ac_ext
24427 cat >>conftest.
$ac_ext <<_ACEOF
24428 /* end confdefs.h. */
24429 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24431 #define gethostbyname innocuous_gethostbyname
24433 /* System header to define __stub macros and hopefully few prototypes,
24434 which can conflict with char gethostbyname (); below.
24435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24436 <limits.h> exists even on freestanding compilers. */
24439 # include <limits.h>
24441 # include <assert.h>
24444 #undef gethostbyname
24446 /* Override any gcc2 internal prototype to avoid an error. */
24451 /* We use char because int might match the return type of a gcc2
24452 builtin and then its argument prototype would still apply. */
24453 char gethostbyname ();
24454 /* The GNU C library defines this for functions which it implements
24455 to always fail with ENOSYS. Some functions are actually named
24456 something starting with __ and the normal name is an alias. */
24457 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24460 char (*f) () = gethostbyname;
24469 return f != gethostbyname;
24474 rm -f conftest.
$ac_objext conftest
$ac_exeext
24475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24476 (eval $ac_link) 2>conftest.er1
24478 grep -v '^ *+' conftest.er1
>conftest.err
24480 cat conftest.err
>&5
24481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24482 (exit $ac_status); } &&
24483 { ac_try
='test -z "$ac_c_werror_flag"
24484 || test ! -s conftest.err'
24485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24486 (eval $ac_try) 2>&5
24488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24489 (exit $ac_status); }; } &&
24490 { ac_try
='test -s conftest$ac_exeext'
24491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24492 (eval $ac_try) 2>&5
24494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24495 (exit $ac_status); }; }; then
24496 ac_cv_func_gethostbyname
=yes
24498 echo "$as_me: failed program was:" >&5
24499 sed 's/^/| /' conftest.
$ac_ext >&5
24501 ac_cv_func_gethostbyname
=no
24503 rm -f conftest.err conftest.
$ac_objext \
24504 conftest
$ac_exeext conftest.
$ac_ext
24506 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24507 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24509 if test $ac_cv_func_gethostbyname = no
; then
24510 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24511 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24512 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24513 echo $ECHO_N "(cached) $ECHO_C" >&6
24515 ac_check_lib_save_LIBS
=$LIBS
24517 cat >conftest.
$ac_ext <<_ACEOF
24520 cat confdefs.h
>>conftest.
$ac_ext
24521 cat >>conftest.
$ac_ext <<_ACEOF
24522 /* end confdefs.h. */
24524 /* Override any gcc2 internal prototype to avoid an error. */
24528 /* We use char because int might match the return type of a gcc2
24529 builtin and then its argument prototype would still apply. */
24530 char gethostbyname ();
24539 rm -f conftest.
$ac_objext conftest
$ac_exeext
24540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24541 (eval $ac_link) 2>conftest.er1
24543 grep -v '^ *+' conftest.er1
>conftest.err
24545 cat conftest.err
>&5
24546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24547 (exit $ac_status); } &&
24548 { ac_try
='test -z "$ac_c_werror_flag"
24549 || test ! -s conftest.err'
24550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24551 (eval $ac_try) 2>&5
24553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24554 (exit $ac_status); }; } &&
24555 { ac_try
='test -s conftest$ac_exeext'
24556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24557 (eval $ac_try) 2>&5
24559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24560 (exit $ac_status); }; }; then
24561 ac_cv_lib_nsl_gethostbyname
=yes
24563 echo "$as_me: failed program was:" >&5
24564 sed 's/^/| /' conftest.
$ac_ext >&5
24566 ac_cv_lib_nsl_gethostbyname
=no
24568 rm -f conftest.err conftest.
$ac_objext \
24569 conftest
$ac_exeext conftest.
$ac_ext
24570 LIBS
=$ac_check_lib_save_LIBS
24572 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24573 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24574 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24575 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
24578 if test $ac_cv_lib_nsl_gethostbyname = no
; then
24579 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24580 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24581 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24582 echo $ECHO_N "(cached) $ECHO_C" >&6
24584 ac_check_lib_save_LIBS
=$LIBS
24586 cat >conftest.
$ac_ext <<_ACEOF
24589 cat confdefs.h
>>conftest.
$ac_ext
24590 cat >>conftest.
$ac_ext <<_ACEOF
24591 /* end confdefs.h. */
24593 /* Override any gcc2 internal prototype to avoid an error. */
24597 /* We use char because int might match the return type of a gcc2
24598 builtin and then its argument prototype would still apply. */
24599 char gethostbyname ();
24608 rm -f conftest.
$ac_objext conftest
$ac_exeext
24609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24610 (eval $ac_link) 2>conftest.er1
24612 grep -v '^ *+' conftest.er1
>conftest.err
24614 cat conftest.err
>&5
24615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24616 (exit $ac_status); } &&
24617 { ac_try
='test -z "$ac_c_werror_flag"
24618 || test ! -s conftest.err'
24619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24620 (eval $ac_try) 2>&5
24622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24623 (exit $ac_status); }; } &&
24624 { ac_try
='test -s conftest$ac_exeext'
24625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24626 (eval $ac_try) 2>&5
24628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24629 (exit $ac_status); }; }; then
24630 ac_cv_lib_bsd_gethostbyname
=yes
24632 echo "$as_me: failed program was:" >&5
24633 sed 's/^/| /' conftest.
$ac_ext >&5
24635 ac_cv_lib_bsd_gethostbyname
=no
24637 rm -f conftest.err conftest.
$ac_objext \
24638 conftest
$ac_exeext conftest.
$ac_ext
24639 LIBS
=$ac_check_lib_save_LIBS
24641 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24642 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24643 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24644 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24650 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24651 # socket/setsockopt and other routines are undefined under SCO ODT
24652 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24653 # on later versions), says Simon Leinen: it contains gethostby*
24654 # variants that don't use the name server (or something). -lsocket
24655 # must be given before -lnsl if both are needed. We assume that
24656 # if connect needs -lnsl, so does gethostbyname.
24657 echo "$as_me:$LINENO: checking for connect" >&5
24658 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24659 if test "${ac_cv_func_connect+set}" = set; then
24660 echo $ECHO_N "(cached) $ECHO_C" >&6
24662 cat >conftest.
$ac_ext <<_ACEOF
24665 cat confdefs.h
>>conftest.
$ac_ext
24666 cat >>conftest.
$ac_ext <<_ACEOF
24667 /* end confdefs.h. */
24668 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24670 #define connect innocuous_connect
24672 /* System header to define __stub macros and hopefully few prototypes,
24673 which can conflict with char connect (); below.
24674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24675 <limits.h> exists even on freestanding compilers. */
24678 # include <limits.h>
24680 # include <assert.h>
24685 /* Override any gcc2 internal prototype to avoid an error. */
24690 /* We use char because int might match the return type of a gcc2
24691 builtin and then its argument prototype would still apply. */
24693 /* The GNU C library defines this for functions which it implements
24694 to always fail with ENOSYS. Some functions are actually named
24695 something starting with __ and the normal name is an alias. */
24696 #if defined (__stub_connect) || defined (__stub___connect)
24699 char (*f) () = connect;
24708 return f != connect;
24713 rm -f conftest.
$ac_objext conftest
$ac_exeext
24714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24715 (eval $ac_link) 2>conftest.er1
24717 grep -v '^ *+' conftest.er1
>conftest.err
24719 cat conftest.err
>&5
24720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24721 (exit $ac_status); } &&
24722 { ac_try
='test -z "$ac_c_werror_flag"
24723 || test ! -s conftest.err'
24724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24725 (eval $ac_try) 2>&5
24727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24728 (exit $ac_status); }; } &&
24729 { ac_try
='test -s conftest$ac_exeext'
24730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24731 (eval $ac_try) 2>&5
24733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734 (exit $ac_status); }; }; then
24735 ac_cv_func_connect
=yes
24737 echo "$as_me: failed program was:" >&5
24738 sed 's/^/| /' conftest.
$ac_ext >&5
24740 ac_cv_func_connect
=no
24742 rm -f conftest.err conftest.
$ac_objext \
24743 conftest
$ac_exeext conftest.
$ac_ext
24745 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24746 echo "${ECHO_T}$ac_cv_func_connect" >&6
24748 if test $ac_cv_func_connect = no
; then
24749 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24750 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24751 if test "${ac_cv_lib_socket_connect+set}" = set; then
24752 echo $ECHO_N "(cached) $ECHO_C" >&6
24754 ac_check_lib_save_LIBS
=$LIBS
24755 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24756 cat >conftest.
$ac_ext <<_ACEOF
24759 cat confdefs.h
>>conftest.
$ac_ext
24760 cat >>conftest.
$ac_ext <<_ACEOF
24761 /* end confdefs.h. */
24763 /* Override any gcc2 internal prototype to avoid an error. */
24767 /* We use char because int might match the return type of a gcc2
24768 builtin and then its argument prototype would still apply. */
24778 rm -f conftest.
$ac_objext conftest
$ac_exeext
24779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24780 (eval $ac_link) 2>conftest.er1
24782 grep -v '^ *+' conftest.er1
>conftest.err
24784 cat conftest.err
>&5
24785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24786 (exit $ac_status); } &&
24787 { ac_try
='test -z "$ac_c_werror_flag"
24788 || test ! -s conftest.err'
24789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24790 (eval $ac_try) 2>&5
24792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24793 (exit $ac_status); }; } &&
24794 { ac_try
='test -s conftest$ac_exeext'
24795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24796 (eval $ac_try) 2>&5
24798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24799 (exit $ac_status); }; }; then
24800 ac_cv_lib_socket_connect
=yes
24802 echo "$as_me: failed program was:" >&5
24803 sed 's/^/| /' conftest.
$ac_ext >&5
24805 ac_cv_lib_socket_connect
=no
24807 rm -f conftest.err conftest.
$ac_objext \
24808 conftest
$ac_exeext conftest.
$ac_ext
24809 LIBS
=$ac_check_lib_save_LIBS
24811 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24812 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24813 if test $ac_cv_lib_socket_connect = yes; then
24814 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24819 # Guillermo Gomez says -lposix is necessary on A/UX.
24820 echo "$as_me:$LINENO: checking for remove" >&5
24821 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24822 if test "${ac_cv_func_remove+set}" = set; then
24823 echo $ECHO_N "(cached) $ECHO_C" >&6
24825 cat >conftest.
$ac_ext <<_ACEOF
24828 cat confdefs.h
>>conftest.
$ac_ext
24829 cat >>conftest.
$ac_ext <<_ACEOF
24830 /* end confdefs.h. */
24831 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24833 #define remove innocuous_remove
24835 /* System header to define __stub macros and hopefully few prototypes,
24836 which can conflict with char remove (); below.
24837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24838 <limits.h> exists even on freestanding compilers. */
24841 # include <limits.h>
24843 # include <assert.h>
24848 /* Override any gcc2 internal prototype to avoid an error. */
24853 /* We use char because int might match the return type of a gcc2
24854 builtin and then its argument prototype would still apply. */
24856 /* The GNU C library defines this for functions which it implements
24857 to always fail with ENOSYS. Some functions are actually named
24858 something starting with __ and the normal name is an alias. */
24859 #if defined (__stub_remove) || defined (__stub___remove)
24862 char (*f) () = remove;
24871 return f != remove;
24876 rm -f conftest.
$ac_objext conftest
$ac_exeext
24877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24878 (eval $ac_link) 2>conftest.er1
24880 grep -v '^ *+' conftest.er1
>conftest.err
24882 cat conftest.err
>&5
24883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24884 (exit $ac_status); } &&
24885 { ac_try
='test -z "$ac_c_werror_flag"
24886 || test ! -s conftest.err'
24887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24888 (eval $ac_try) 2>&5
24890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24891 (exit $ac_status); }; } &&
24892 { ac_try
='test -s conftest$ac_exeext'
24893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24894 (eval $ac_try) 2>&5
24896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24897 (exit $ac_status); }; }; then
24898 ac_cv_func_remove
=yes
24900 echo "$as_me: failed program was:" >&5
24901 sed 's/^/| /' conftest.
$ac_ext >&5
24903 ac_cv_func_remove
=no
24905 rm -f conftest.err conftest.
$ac_objext \
24906 conftest
$ac_exeext conftest.
$ac_ext
24908 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24909 echo "${ECHO_T}$ac_cv_func_remove" >&6
24911 if test $ac_cv_func_remove = no
; then
24912 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24913 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24914 if test "${ac_cv_lib_posix_remove+set}" = set; then
24915 echo $ECHO_N "(cached) $ECHO_C" >&6
24917 ac_check_lib_save_LIBS
=$LIBS
24918 LIBS
="-lposix $LIBS"
24919 cat >conftest.
$ac_ext <<_ACEOF
24922 cat confdefs.h
>>conftest.
$ac_ext
24923 cat >>conftest.
$ac_ext <<_ACEOF
24924 /* end confdefs.h. */
24926 /* Override any gcc2 internal prototype to avoid an error. */
24930 /* We use char because int might match the return type of a gcc2
24931 builtin and then its argument prototype would still apply. */
24941 rm -f conftest.
$ac_objext conftest
$ac_exeext
24942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24943 (eval $ac_link) 2>conftest.er1
24945 grep -v '^ *+' conftest.er1
>conftest.err
24947 cat conftest.err
>&5
24948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24949 (exit $ac_status); } &&
24950 { ac_try
='test -z "$ac_c_werror_flag"
24951 || test ! -s conftest.err'
24952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24953 (eval $ac_try) 2>&5
24955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24956 (exit $ac_status); }; } &&
24957 { ac_try
='test -s conftest$ac_exeext'
24958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24959 (eval $ac_try) 2>&5
24961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24962 (exit $ac_status); }; }; then
24963 ac_cv_lib_posix_remove
=yes
24965 echo "$as_me: failed program was:" >&5
24966 sed 's/^/| /' conftest.
$ac_ext >&5
24968 ac_cv_lib_posix_remove
=no
24970 rm -f conftest.err conftest.
$ac_objext \
24971 conftest
$ac_exeext conftest.
$ac_ext
24972 LIBS
=$ac_check_lib_save_LIBS
24974 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24975 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24976 if test $ac_cv_lib_posix_remove = yes; then
24977 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
24982 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24983 echo "$as_me:$LINENO: checking for shmat" >&5
24984 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24985 if test "${ac_cv_func_shmat+set}" = set; then
24986 echo $ECHO_N "(cached) $ECHO_C" >&6
24988 cat >conftest.
$ac_ext <<_ACEOF
24991 cat confdefs.h
>>conftest.
$ac_ext
24992 cat >>conftest.
$ac_ext <<_ACEOF
24993 /* end confdefs.h. */
24994 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24996 #define shmat innocuous_shmat
24998 /* System header to define __stub macros and hopefully few prototypes,
24999 which can conflict with char shmat (); below.
25000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25001 <limits.h> exists even on freestanding compilers. */
25004 # include <limits.h>
25006 # include <assert.h>
25011 /* Override any gcc2 internal prototype to avoid an error. */
25016 /* We use char because int might match the return type of a gcc2
25017 builtin and then its argument prototype would still apply. */
25019 /* The GNU C library defines this for functions which it implements
25020 to always fail with ENOSYS. Some functions are actually named
25021 something starting with __ and the normal name is an alias. */
25022 #if defined (__stub_shmat) || defined (__stub___shmat)
25025 char (*f) () = shmat;
25039 rm -f conftest.
$ac_objext conftest
$ac_exeext
25040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25041 (eval $ac_link) 2>conftest.er1
25043 grep -v '^ *+' conftest.er1
>conftest.err
25045 cat conftest.err
>&5
25046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25047 (exit $ac_status); } &&
25048 { ac_try
='test -z "$ac_c_werror_flag"
25049 || test ! -s conftest.err'
25050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25051 (eval $ac_try) 2>&5
25053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25054 (exit $ac_status); }; } &&
25055 { ac_try
='test -s conftest$ac_exeext'
25056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25057 (eval $ac_try) 2>&5
25059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25060 (exit $ac_status); }; }; then
25061 ac_cv_func_shmat
=yes
25063 echo "$as_me: failed program was:" >&5
25064 sed 's/^/| /' conftest.
$ac_ext >&5
25066 ac_cv_func_shmat
=no
25068 rm -f conftest.err conftest.
$ac_objext \
25069 conftest
$ac_exeext conftest.
$ac_ext
25071 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25072 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25074 if test $ac_cv_func_shmat = no
; then
25075 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25076 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25077 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25078 echo $ECHO_N "(cached) $ECHO_C" >&6
25080 ac_check_lib_save_LIBS
=$LIBS
25082 cat >conftest.
$ac_ext <<_ACEOF
25085 cat confdefs.h
>>conftest.
$ac_ext
25086 cat >>conftest.
$ac_ext <<_ACEOF
25087 /* end confdefs.h. */
25089 /* Override any gcc2 internal prototype to avoid an error. */
25093 /* We use char because int might match the return type of a gcc2
25094 builtin and then its argument prototype would still apply. */
25104 rm -f conftest.
$ac_objext conftest
$ac_exeext
25105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25106 (eval $ac_link) 2>conftest.er1
25108 grep -v '^ *+' conftest.er1
>conftest.err
25110 cat conftest.err
>&5
25111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25112 (exit $ac_status); } &&
25113 { ac_try
='test -z "$ac_c_werror_flag"
25114 || test ! -s conftest.err'
25115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25116 (eval $ac_try) 2>&5
25118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25119 (exit $ac_status); }; } &&
25120 { ac_try
='test -s conftest$ac_exeext'
25121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25122 (eval $ac_try) 2>&5
25124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25125 (exit $ac_status); }; }; then
25126 ac_cv_lib_ipc_shmat
=yes
25128 echo "$as_me: failed program was:" >&5
25129 sed 's/^/| /' conftest.
$ac_ext >&5
25131 ac_cv_lib_ipc_shmat
=no
25133 rm -f conftest.err conftest.
$ac_objext \
25134 conftest
$ac_exeext conftest.
$ac_ext
25135 LIBS
=$ac_check_lib_save_LIBS
25137 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25138 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25139 if test $ac_cv_lib_ipc_shmat = yes; then
25140 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25146 # Check for libraries that X11R6 Xt/Xaw programs need.
25147 ac_save_LDFLAGS
=$LDFLAGS
25148 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25149 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25150 # check for ICE first), but we must link in the order -lSM -lICE or
25151 # we get undefined symbols. So assume we have SM if we have ICE.
25152 # These have to be linked with before -lX11, unlike the other
25153 # libraries we check for below, so use a different variable.
25154 # John Interrante, Karl Berry
25155 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25156 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25157 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25158 echo $ECHO_N "(cached) $ECHO_C" >&6
25160 ac_check_lib_save_LIBS
=$LIBS
25161 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25162 cat >conftest.
$ac_ext <<_ACEOF
25165 cat confdefs.h
>>conftest.
$ac_ext
25166 cat >>conftest.
$ac_ext <<_ACEOF
25167 /* end confdefs.h. */
25169 /* Override any gcc2 internal prototype to avoid an error. */
25173 /* We use char because int might match the return type of a gcc2
25174 builtin and then its argument prototype would still apply. */
25175 char IceConnectionNumber ();
25179 IceConnectionNumber ();
25184 rm -f conftest.
$ac_objext conftest
$ac_exeext
25185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25186 (eval $ac_link) 2>conftest.er1
25188 grep -v '^ *+' conftest.er1
>conftest.err
25190 cat conftest.err
>&5
25191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25192 (exit $ac_status); } &&
25193 { ac_try
='test -z "$ac_c_werror_flag"
25194 || test ! -s conftest.err'
25195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25196 (eval $ac_try) 2>&5
25198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25199 (exit $ac_status); }; } &&
25200 { ac_try
='test -s conftest$ac_exeext'
25201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25202 (eval $ac_try) 2>&5
25204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25205 (exit $ac_status); }; }; then
25206 ac_cv_lib_ICE_IceConnectionNumber
=yes
25208 echo "$as_me: failed program was:" >&5
25209 sed 's/^/| /' conftest.
$ac_ext >&5
25211 ac_cv_lib_ICE_IceConnectionNumber
=no
25213 rm -f conftest.err conftest.
$ac_objext \
25214 conftest
$ac_exeext conftest.
$ac_ext
25215 LIBS
=$ac_check_lib_save_LIBS
25217 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25218 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25219 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25220 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25223 LDFLAGS
=$ac_save_LDFLAGS
25228 if test "$no_x" = "yes"; then
25229 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25230 echo "$as_me: error: X11 not found" >&2;}
25231 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25234 GUI_TK_LIBRARY
="$X_LIBS"
25235 TOOLKIT_INCLUDE
="$X_CFLAGS"
25236 AFMINSTALL
=afminstall
25237 COMPILED_X_PROGRAM
=0
25239 if test "$wxUSE_NANOX" = "yes"; then
25240 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25241 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25242 if test "x$MICROWIN" = x
; then
25243 echo "$as_me:$LINENO: result: not found" >&5
25244 echo "${ECHO_T}not found" >&6
25245 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25246 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25247 { (exit 1); exit 1; }; }
25249 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25250 echo "${ECHO_T}$MICROWIN" >&6
25251 cat >>confdefs.h
<<\_ACEOF
25252 #define wxUSE_NANOX 1
25258 if test "$wxUSE_UNICODE" = "yes"; then
25262 if test -z "$PKG_CONFIG"; then
25263 # Extract the first word of "pkg-config", so it can be a program name with args.
25264 set dummy pkg
-config; ac_word
=$2
25265 echo "$as_me:$LINENO: checking for $ac_word" >&5
25266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25267 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25268 echo $ECHO_N "(cached) $ECHO_C" >&6
25270 case $PKG_CONFIG in
25272 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25276 for as_dir
in $PATH
25279 test -z "$as_dir" && as_dir
=.
25280 for ac_exec_ext
in '' $ac_executable_extensions; do
25281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25282 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25289 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25293 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25295 if test -n "$PKG_CONFIG"; then
25296 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25297 echo "${ECHO_T}$PKG_CONFIG" >&6
25299 echo "$as_me:$LINENO: result: no" >&5
25300 echo "${ECHO_T}no" >&6
25305 if test "$PKG_CONFIG" = "no" ; then
25306 echo "*** The pkg-config script could not be found. Make sure it is"
25307 echo "*** in your path, or set the PKG_CONFIG environment variable"
25308 echo "*** to the full path to pkg-config."
25309 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25311 PKG_CONFIG_MIN_VERSION
=0.9.0
25312 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25313 echo "$as_me:$LINENO: checking for pangox" >&5
25314 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25316 if $PKG_CONFIG --exists "pangox" ; then
25317 echo "$as_me:$LINENO: result: yes" >&5
25318 echo "${ECHO_T}yes" >&6
25321 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25322 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25323 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
25324 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25325 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25327 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25328 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25329 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
25330 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25331 echo "${ECHO_T}$PANGOX_LIBS" >&6
25335 ## If we have a custom action on failure, don't print errors, but
25336 ## do set a variable so people can do so.
25337 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25344 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25345 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25349 if test $succeeded = yes; then
25351 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
25352 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25356 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25357 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25358 { (exit 1); exit 1; }; }
25366 if test -z "$PKG_CONFIG"; then
25367 # Extract the first word of "pkg-config", so it can be a program name with args.
25368 set dummy pkg
-config; ac_word
=$2
25369 echo "$as_me:$LINENO: checking for $ac_word" >&5
25370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25371 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25372 echo $ECHO_N "(cached) $ECHO_C" >&6
25374 case $PKG_CONFIG in
25376 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25380 for as_dir
in $PATH
25383 test -z "$as_dir" && as_dir
=.
25384 for ac_exec_ext
in '' $ac_executable_extensions; do
25385 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25386 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25393 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25397 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25399 if test -n "$PKG_CONFIG"; then
25400 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25401 echo "${ECHO_T}$PKG_CONFIG" >&6
25403 echo "$as_me:$LINENO: result: no" >&5
25404 echo "${ECHO_T}no" >&6
25409 if test "$PKG_CONFIG" = "no" ; then
25410 echo "*** The pkg-config script could not be found. Make sure it is"
25411 echo "*** in your path, or set the PKG_CONFIG environment variable"
25412 echo "*** to the full path to pkg-config."
25413 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25415 PKG_CONFIG_MIN_VERSION
=0.9.0
25416 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25417 echo "$as_me:$LINENO: checking for pangoft2" >&5
25418 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25420 if $PKG_CONFIG --exists "pangoft2" ; then
25421 echo "$as_me:$LINENO: result: yes" >&5
25422 echo "${ECHO_T}yes" >&6
25425 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25426 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25427 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
25428 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25429 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25431 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25432 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25433 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
25434 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25435 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25439 ## If we have a custom action on failure, don't print errors, but
25440 ## do set a variable so people can do so.
25441 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25448 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25449 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25453 if test $succeeded = yes; then
25455 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
25456 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25460 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25461 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25462 wxUSE_PRINTING_ARCHITECTURE
="no"
25470 if test -z "$PKG_CONFIG"; then
25471 # Extract the first word of "pkg-config", so it can be a program name with args.
25472 set dummy pkg
-config; ac_word
=$2
25473 echo "$as_me:$LINENO: checking for $ac_word" >&5
25474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25475 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25476 echo $ECHO_N "(cached) $ECHO_C" >&6
25478 case $PKG_CONFIG in
25480 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25484 for as_dir
in $PATH
25487 test -z "$as_dir" && as_dir
=.
25488 for ac_exec_ext
in '' $ac_executable_extensions; do
25489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25490 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25497 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25501 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25503 if test -n "$PKG_CONFIG"; then
25504 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25505 echo "${ECHO_T}$PKG_CONFIG" >&6
25507 echo "$as_me:$LINENO: result: no" >&5
25508 echo "${ECHO_T}no" >&6
25513 if test "$PKG_CONFIG" = "no" ; then
25514 echo "*** The pkg-config script could not be found. Make sure it is"
25515 echo "*** in your path, or set the PKG_CONFIG environment variable"
25516 echo "*** to the full path to pkg-config."
25517 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25519 PKG_CONFIG_MIN_VERSION
=0.9.0
25520 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25521 echo "$as_me:$LINENO: checking for pangoxft" >&5
25522 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25524 if $PKG_CONFIG --exists "pangoxft" ; then
25525 echo "$as_me:$LINENO: result: yes" >&5
25526 echo "${ECHO_T}yes" >&6
25529 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25530 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25531 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
25532 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25533 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25535 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25536 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25537 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
25538 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25539 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25543 ## If we have a custom action on failure, don't print errors, but
25544 ## do set a variable so people can do so.
25545 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25552 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25553 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25557 if test $succeeded = yes; then
25559 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
25560 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25564 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25565 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25570 save_CFLAGS
="$CFLAGS"
25572 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
25573 LIBS
="$LIBS $PANGOX_LIBS"
25575 for ac_func
in pango_font_family_is_monospace
25577 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25578 echo "$as_me:$LINENO: checking for $ac_func" >&5
25579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25580 if eval "test \"\${$as_ac_var+set}\" = set"; then
25581 echo $ECHO_N "(cached) $ECHO_C" >&6
25583 cat >conftest.
$ac_ext <<_ACEOF
25586 cat confdefs.h
>>conftest.
$ac_ext
25587 cat >>conftest.
$ac_ext <<_ACEOF
25588 /* end confdefs.h. */
25589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25591 #define $ac_func innocuous_$ac_func
25593 /* System header to define __stub macros and hopefully few prototypes,
25594 which can conflict with char $ac_func (); below.
25595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25596 <limits.h> exists even on freestanding compilers. */
25599 # include <limits.h>
25601 # include <assert.h>
25606 /* Override any gcc2 internal prototype to avoid an error. */
25611 /* We use char because int might match the return type of a gcc2
25612 builtin and then its argument prototype would still apply. */
25614 /* The GNU C library defines this for functions which it implements
25615 to always fail with ENOSYS. Some functions are actually named
25616 something starting with __ and the normal name is an alias. */
25617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25620 char (*f) () = $ac_func;
25629 return f != $ac_func;
25634 rm -f conftest.
$ac_objext conftest
$ac_exeext
25635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25636 (eval $ac_link) 2>conftest.er1
25638 grep -v '^ *+' conftest.er1
>conftest.err
25640 cat conftest.err
>&5
25641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642 (exit $ac_status); } &&
25643 { ac_try
='test -z "$ac_c_werror_flag"
25644 || test ! -s conftest.err'
25645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25646 (eval $ac_try) 2>&5
25648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25649 (exit $ac_status); }; } &&
25650 { ac_try
='test -s conftest$ac_exeext'
25651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25652 (eval $ac_try) 2>&5
25654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25655 (exit $ac_status); }; }; then
25656 eval "$as_ac_var=yes"
25658 echo "$as_me: failed program was:" >&5
25659 sed 's/^/| /' conftest.
$ac_ext >&5
25661 eval "$as_ac_var=no"
25663 rm -f conftest.err conftest.
$ac_objext \
25664 conftest
$ac_exeext conftest.
$ac_ext
25666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25668 if test `eval echo '${'$as_ac_var'}'` = yes; then
25669 cat >>confdefs.h
<<_ACEOF
25670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25676 CFLAGS
="$save_CFLAGS"
25680 wxUSE_UNIVERSAL
="yes"
25682 if test "$wxUSE_NANOX" = "yes"; then
25683 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25684 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"
25685 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25687 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25690 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
25695 if test "$wxUSE_MOTIF" = 1; then
25696 if test "$no_x" = yes; then
25697 # Not all programs may use this symbol, but it does not hurt to define it.
25699 cat >>confdefs.h
<<\_ACEOF
25700 #define X_DISPLAY_MISSING 1
25703 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
25705 if test -n "$x_includes"; then
25706 X_CFLAGS
="$X_CFLAGS -I$x_includes"
25709 # It would also be nice to do this for all -L options, not just this one.
25710 if test -n "$x_libraries"; then
25711 X_LIBS
="$X_LIBS -L$x_libraries"
25712 # For Solaris; some versions of Sun CC require a space after -R and
25713 # others require no space. Words are not sufficient . . . .
25714 case `(uname -sr) 2>/dev/null` in
25716 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
25717 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
25718 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
25719 cat >conftest.
$ac_ext <<_ACEOF
25722 cat confdefs.h
>>conftest.
$ac_ext
25723 cat >>conftest.
$ac_ext <<_ACEOF
25724 /* end confdefs.h. */
25734 rm -f conftest.
$ac_objext conftest
$ac_exeext
25735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25736 (eval $ac_link) 2>conftest.er1
25738 grep -v '^ *+' conftest.er1
>conftest.err
25740 cat conftest.err
>&5
25741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25742 (exit $ac_status); } &&
25743 { ac_try
='test -z "$ac_c_werror_flag"
25744 || test ! -s conftest.err'
25745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25746 (eval $ac_try) 2>&5
25748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25749 (exit $ac_status); }; } &&
25750 { ac_try
='test -s conftest$ac_exeext'
25751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25752 (eval $ac_try) 2>&5
25754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25755 (exit $ac_status); }; }; then
25758 echo "$as_me: failed program was:" >&5
25759 sed 's/^/| /' conftest.
$ac_ext >&5
25763 rm -f conftest.err conftest.
$ac_objext \
25764 conftest
$ac_exeext conftest.
$ac_ext
25765 if test $ac_R_nospace = yes; then
25766 echo "$as_me:$LINENO: result: no" >&5
25767 echo "${ECHO_T}no" >&6
25768 X_LIBS
="$X_LIBS -R$x_libraries"
25770 LIBS
="$ac_xsave_LIBS -R $x_libraries"
25771 cat >conftest.
$ac_ext <<_ACEOF
25774 cat confdefs.h
>>conftest.
$ac_ext
25775 cat >>conftest.
$ac_ext <<_ACEOF
25776 /* end confdefs.h. */
25786 rm -f conftest.
$ac_objext conftest
$ac_exeext
25787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25788 (eval $ac_link) 2>conftest.er1
25790 grep -v '^ *+' conftest.er1
>conftest.err
25792 cat conftest.err
>&5
25793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25794 (exit $ac_status); } &&
25795 { ac_try
='test -z "$ac_c_werror_flag"
25796 || test ! -s conftest.err'
25797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25798 (eval $ac_try) 2>&5
25800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25801 (exit $ac_status); }; } &&
25802 { ac_try
='test -s conftest$ac_exeext'
25803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25804 (eval $ac_try) 2>&5
25806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25807 (exit $ac_status); }; }; then
25810 echo "$as_me: failed program was:" >&5
25811 sed 's/^/| /' conftest.
$ac_ext >&5
25815 rm -f conftest.err conftest.
$ac_objext \
25816 conftest
$ac_exeext conftest.
$ac_ext
25817 if test $ac_R_space = yes; then
25818 echo "$as_me:$LINENO: result: yes" >&5
25819 echo "${ECHO_T}yes" >&6
25820 X_LIBS
="$X_LIBS -R $x_libraries"
25822 echo "$as_me:$LINENO: result: neither works" >&5
25823 echo "${ECHO_T}neither works" >&6
25826 LIBS
=$ac_xsave_LIBS
25830 # Check for system-dependent libraries X programs must link with.
25831 # Do this before checking for the system-independent R6 libraries
25832 # (-lICE), since we may need -lsocket or whatever for X linking.
25834 if test "$ISC" = yes; then
25835 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
25837 # Martyn Johnson says this is needed for Ultrix, if the X
25838 # libraries were built with DECnet support. And Karl Berry says
25839 # the Alpha needs dnet_stub (dnet does not exist).
25840 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
25841 cat >conftest.
$ac_ext <<_ACEOF
25844 cat confdefs.h
>>conftest.
$ac_ext
25845 cat >>conftest.
$ac_ext <<_ACEOF
25846 /* end confdefs.h. */
25848 /* Override any gcc2 internal prototype to avoid an error. */
25852 /* We use char because int might match the return type of a gcc2
25853 builtin and then its argument prototype would still apply. */
25854 char XOpenDisplay ();
25863 rm -f conftest.
$ac_objext conftest
$ac_exeext
25864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25865 (eval $ac_link) 2>conftest.er1
25867 grep -v '^ *+' conftest.er1
>conftest.err
25869 cat conftest.err
>&5
25870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871 (exit $ac_status); } &&
25872 { ac_try
='test -z "$ac_c_werror_flag"
25873 || test ! -s conftest.err'
25874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25875 (eval $ac_try) 2>&5
25877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25878 (exit $ac_status); }; } &&
25879 { ac_try
='test -s conftest$ac_exeext'
25880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25881 (eval $ac_try) 2>&5
25883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25884 (exit $ac_status); }; }; then
25887 echo "$as_me: failed program was:" >&5
25888 sed 's/^/| /' conftest.
$ac_ext >&5
25890 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25891 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25892 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25893 echo $ECHO_N "(cached) $ECHO_C" >&6
25895 ac_check_lib_save_LIBS
=$LIBS
25896 LIBS
="-ldnet $LIBS"
25897 cat >conftest.
$ac_ext <<_ACEOF
25900 cat confdefs.h
>>conftest.
$ac_ext
25901 cat >>conftest.
$ac_ext <<_ACEOF
25902 /* end confdefs.h. */
25904 /* Override any gcc2 internal prototype to avoid an error. */
25908 /* We use char because int might match the return type of a gcc2
25909 builtin and then its argument prototype would still apply. */
25919 rm -f conftest.
$ac_objext conftest
$ac_exeext
25920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25921 (eval $ac_link) 2>conftest.er1
25923 grep -v '^ *+' conftest.er1
>conftest.err
25925 cat conftest.err
>&5
25926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25927 (exit $ac_status); } &&
25928 { ac_try
='test -z "$ac_c_werror_flag"
25929 || test ! -s conftest.err'
25930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25931 (eval $ac_try) 2>&5
25933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934 (exit $ac_status); }; } &&
25935 { ac_try
='test -s conftest$ac_exeext'
25936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25937 (eval $ac_try) 2>&5
25939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940 (exit $ac_status); }; }; then
25941 ac_cv_lib_dnet_dnet_ntoa
=yes
25943 echo "$as_me: failed program was:" >&5
25944 sed 's/^/| /' conftest.
$ac_ext >&5
25946 ac_cv_lib_dnet_dnet_ntoa
=no
25948 rm -f conftest.err conftest.
$ac_objext \
25949 conftest
$ac_exeext conftest.
$ac_ext
25950 LIBS
=$ac_check_lib_save_LIBS
25952 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25953 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25954 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25955 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
25958 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
25959 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25960 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25961 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25962 echo $ECHO_N "(cached) $ECHO_C" >&6
25964 ac_check_lib_save_LIBS
=$LIBS
25965 LIBS
="-ldnet_stub $LIBS"
25966 cat >conftest.
$ac_ext <<_ACEOF
25969 cat confdefs.h
>>conftest.
$ac_ext
25970 cat >>conftest.
$ac_ext <<_ACEOF
25971 /* end confdefs.h. */
25973 /* Override any gcc2 internal prototype to avoid an error. */
25977 /* We use char because int might match the return type of a gcc2
25978 builtin and then its argument prototype would still apply. */
25988 rm -f conftest.
$ac_objext conftest
$ac_exeext
25989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25990 (eval $ac_link) 2>conftest.er1
25992 grep -v '^ *+' conftest.er1
>conftest.err
25994 cat conftest.err
>&5
25995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25996 (exit $ac_status); } &&
25997 { ac_try
='test -z "$ac_c_werror_flag"
25998 || test ! -s conftest.err'
25999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26000 (eval $ac_try) 2>&5
26002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26003 (exit $ac_status); }; } &&
26004 { ac_try
='test -s conftest$ac_exeext'
26005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26006 (eval $ac_try) 2>&5
26008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26009 (exit $ac_status); }; }; then
26010 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
26012 echo "$as_me: failed program was:" >&5
26013 sed 's/^/| /' conftest.
$ac_ext >&5
26015 ac_cv_lib_dnet_stub_dnet_ntoa
=no
26017 rm -f conftest.err conftest.
$ac_objext \
26018 conftest
$ac_exeext conftest.
$ac_ext
26019 LIBS
=$ac_check_lib_save_LIBS
26021 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26022 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26023 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26024 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
26029 rm -f conftest.err conftest.
$ac_objext \
26030 conftest
$ac_exeext conftest.
$ac_ext
26031 LIBS
="$ac_xsave_LIBS"
26033 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26034 # to get the SysV transport functions.
26035 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26037 # The nsl library prevents programs from opening the X display
26038 # on Irix 5.2, according to T.E. Dickey.
26039 # The functions gethostbyname, getservbyname, and inet_addr are
26040 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26041 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26042 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26043 if test "${ac_cv_func_gethostbyname+set}" = set; then
26044 echo $ECHO_N "(cached) $ECHO_C" >&6
26046 cat >conftest.
$ac_ext <<_ACEOF
26049 cat confdefs.h
>>conftest.
$ac_ext
26050 cat >>conftest.
$ac_ext <<_ACEOF
26051 /* end confdefs.h. */
26052 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26054 #define gethostbyname innocuous_gethostbyname
26056 /* System header to define __stub macros and hopefully few prototypes,
26057 which can conflict with char gethostbyname (); below.
26058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26059 <limits.h> exists even on freestanding compilers. */
26062 # include <limits.h>
26064 # include <assert.h>
26067 #undef gethostbyname
26069 /* Override any gcc2 internal prototype to avoid an error. */
26074 /* We use char because int might match the return type of a gcc2
26075 builtin and then its argument prototype would still apply. */
26076 char gethostbyname ();
26077 /* The GNU C library defines this for functions which it implements
26078 to always fail with ENOSYS. Some functions are actually named
26079 something starting with __ and the normal name is an alias. */
26080 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26083 char (*f) () = gethostbyname;
26092 return f != gethostbyname;
26097 rm -f conftest.
$ac_objext conftest
$ac_exeext
26098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26099 (eval $ac_link) 2>conftest.er1
26101 grep -v '^ *+' conftest.er1
>conftest.err
26103 cat conftest.err
>&5
26104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26105 (exit $ac_status); } &&
26106 { ac_try
='test -z "$ac_c_werror_flag"
26107 || test ! -s conftest.err'
26108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26109 (eval $ac_try) 2>&5
26111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26112 (exit $ac_status); }; } &&
26113 { ac_try
='test -s conftest$ac_exeext'
26114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26115 (eval $ac_try) 2>&5
26117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26118 (exit $ac_status); }; }; then
26119 ac_cv_func_gethostbyname
=yes
26121 echo "$as_me: failed program was:" >&5
26122 sed 's/^/| /' conftest.
$ac_ext >&5
26124 ac_cv_func_gethostbyname
=no
26126 rm -f conftest.err conftest.
$ac_objext \
26127 conftest
$ac_exeext conftest.
$ac_ext
26129 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26130 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26132 if test $ac_cv_func_gethostbyname = no
; then
26133 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26134 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26135 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26136 echo $ECHO_N "(cached) $ECHO_C" >&6
26138 ac_check_lib_save_LIBS
=$LIBS
26140 cat >conftest.
$ac_ext <<_ACEOF
26143 cat confdefs.h
>>conftest.
$ac_ext
26144 cat >>conftest.
$ac_ext <<_ACEOF
26145 /* end confdefs.h. */
26147 /* Override any gcc2 internal prototype to avoid an error. */
26151 /* We use char because int might match the return type of a gcc2
26152 builtin and then its argument prototype would still apply. */
26153 char gethostbyname ();
26162 rm -f conftest.
$ac_objext conftest
$ac_exeext
26163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26164 (eval $ac_link) 2>conftest.er1
26166 grep -v '^ *+' conftest.er1
>conftest.err
26168 cat conftest.err
>&5
26169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26170 (exit $ac_status); } &&
26171 { ac_try
='test -z "$ac_c_werror_flag"
26172 || test ! -s conftest.err'
26173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26174 (eval $ac_try) 2>&5
26176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26177 (exit $ac_status); }; } &&
26178 { ac_try
='test -s conftest$ac_exeext'
26179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26180 (eval $ac_try) 2>&5
26182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26183 (exit $ac_status); }; }; then
26184 ac_cv_lib_nsl_gethostbyname
=yes
26186 echo "$as_me: failed program was:" >&5
26187 sed 's/^/| /' conftest.
$ac_ext >&5
26189 ac_cv_lib_nsl_gethostbyname
=no
26191 rm -f conftest.err conftest.
$ac_objext \
26192 conftest
$ac_exeext conftest.
$ac_ext
26193 LIBS
=$ac_check_lib_save_LIBS
26195 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26196 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26197 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26198 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
26201 if test $ac_cv_lib_nsl_gethostbyname = no
; then
26202 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26203 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26204 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26205 echo $ECHO_N "(cached) $ECHO_C" >&6
26207 ac_check_lib_save_LIBS
=$LIBS
26209 cat >conftest.
$ac_ext <<_ACEOF
26212 cat confdefs.h
>>conftest.
$ac_ext
26213 cat >>conftest.
$ac_ext <<_ACEOF
26214 /* end confdefs.h. */
26216 /* Override any gcc2 internal prototype to avoid an error. */
26220 /* We use char because int might match the return type of a gcc2
26221 builtin and then its argument prototype would still apply. */
26222 char gethostbyname ();
26231 rm -f conftest.
$ac_objext conftest
$ac_exeext
26232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26233 (eval $ac_link) 2>conftest.er1
26235 grep -v '^ *+' conftest.er1
>conftest.err
26237 cat conftest.err
>&5
26238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26239 (exit $ac_status); } &&
26240 { ac_try
='test -z "$ac_c_werror_flag"
26241 || test ! -s conftest.err'
26242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26243 (eval $ac_try) 2>&5
26245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26246 (exit $ac_status); }; } &&
26247 { ac_try
='test -s conftest$ac_exeext'
26248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26249 (eval $ac_try) 2>&5
26251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26252 (exit $ac_status); }; }; then
26253 ac_cv_lib_bsd_gethostbyname
=yes
26255 echo "$as_me: failed program was:" >&5
26256 sed 's/^/| /' conftest.
$ac_ext >&5
26258 ac_cv_lib_bsd_gethostbyname
=no
26260 rm -f conftest.err conftest.
$ac_objext \
26261 conftest
$ac_exeext conftest.
$ac_ext
26262 LIBS
=$ac_check_lib_save_LIBS
26264 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26265 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26266 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26267 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
26273 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26274 # socket/setsockopt and other routines are undefined under SCO ODT
26275 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26276 # on later versions), says Simon Leinen: it contains gethostby*
26277 # variants that don't use the name server (or something). -lsocket
26278 # must be given before -lnsl if both are needed. We assume that
26279 # if connect needs -lnsl, so does gethostbyname.
26280 echo "$as_me:$LINENO: checking for connect" >&5
26281 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26282 if test "${ac_cv_func_connect+set}" = set; then
26283 echo $ECHO_N "(cached) $ECHO_C" >&6
26285 cat >conftest.
$ac_ext <<_ACEOF
26288 cat confdefs.h
>>conftest.
$ac_ext
26289 cat >>conftest.
$ac_ext <<_ACEOF
26290 /* end confdefs.h. */
26291 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26293 #define connect innocuous_connect
26295 /* System header to define __stub macros and hopefully few prototypes,
26296 which can conflict with char connect (); below.
26297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26298 <limits.h> exists even on freestanding compilers. */
26301 # include <limits.h>
26303 # include <assert.h>
26308 /* Override any gcc2 internal prototype to avoid an error. */
26313 /* We use char because int might match the return type of a gcc2
26314 builtin and then its argument prototype would still apply. */
26316 /* The GNU C library defines this for functions which it implements
26317 to always fail with ENOSYS. Some functions are actually named
26318 something starting with __ and the normal name is an alias. */
26319 #if defined (__stub_connect) || defined (__stub___connect)
26322 char (*f) () = connect;
26331 return f != connect;
26336 rm -f conftest.
$ac_objext conftest
$ac_exeext
26337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26338 (eval $ac_link) 2>conftest.er1
26340 grep -v '^ *+' conftest.er1
>conftest.err
26342 cat conftest.err
>&5
26343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26344 (exit $ac_status); } &&
26345 { ac_try
='test -z "$ac_c_werror_flag"
26346 || test ! -s conftest.err'
26347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26348 (eval $ac_try) 2>&5
26350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26351 (exit $ac_status); }; } &&
26352 { ac_try
='test -s conftest$ac_exeext'
26353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26354 (eval $ac_try) 2>&5
26356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26357 (exit $ac_status); }; }; then
26358 ac_cv_func_connect
=yes
26360 echo "$as_me: failed program was:" >&5
26361 sed 's/^/| /' conftest.
$ac_ext >&5
26363 ac_cv_func_connect
=no
26365 rm -f conftest.err conftest.
$ac_objext \
26366 conftest
$ac_exeext conftest.
$ac_ext
26368 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
26369 echo "${ECHO_T}$ac_cv_func_connect" >&6
26371 if test $ac_cv_func_connect = no
; then
26372 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
26373 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
26374 if test "${ac_cv_lib_socket_connect+set}" = set; then
26375 echo $ECHO_N "(cached) $ECHO_C" >&6
26377 ac_check_lib_save_LIBS
=$LIBS
26378 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
26379 cat >conftest.
$ac_ext <<_ACEOF
26382 cat confdefs.h
>>conftest.
$ac_ext
26383 cat >>conftest.
$ac_ext <<_ACEOF
26384 /* end confdefs.h. */
26386 /* Override any gcc2 internal prototype to avoid an error. */
26390 /* We use char because int might match the return type of a gcc2
26391 builtin and then its argument prototype would still apply. */
26401 rm -f conftest.
$ac_objext conftest
$ac_exeext
26402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26403 (eval $ac_link) 2>conftest.er1
26405 grep -v '^ *+' conftest.er1
>conftest.err
26407 cat conftest.err
>&5
26408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26409 (exit $ac_status); } &&
26410 { ac_try
='test -z "$ac_c_werror_flag"
26411 || test ! -s conftest.err'
26412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26413 (eval $ac_try) 2>&5
26415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26416 (exit $ac_status); }; } &&
26417 { ac_try
='test -s conftest$ac_exeext'
26418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26419 (eval $ac_try) 2>&5
26421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26422 (exit $ac_status); }; }; then
26423 ac_cv_lib_socket_connect
=yes
26425 echo "$as_me: failed program was:" >&5
26426 sed 's/^/| /' conftest.
$ac_ext >&5
26428 ac_cv_lib_socket_connect
=no
26430 rm -f conftest.err conftest.
$ac_objext \
26431 conftest
$ac_exeext conftest.
$ac_ext
26432 LIBS
=$ac_check_lib_save_LIBS
26434 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
26435 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
26436 if test $ac_cv_lib_socket_connect = yes; then
26437 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
26442 # Guillermo Gomez says -lposix is necessary on A/UX.
26443 echo "$as_me:$LINENO: checking for remove" >&5
26444 echo $ECHO_N "checking for remove... $ECHO_C" >&6
26445 if test "${ac_cv_func_remove+set}" = set; then
26446 echo $ECHO_N "(cached) $ECHO_C" >&6
26448 cat >conftest.
$ac_ext <<_ACEOF
26451 cat confdefs.h
>>conftest.
$ac_ext
26452 cat >>conftest.
$ac_ext <<_ACEOF
26453 /* end confdefs.h. */
26454 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
26455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26456 #define remove innocuous_remove
26458 /* System header to define __stub macros and hopefully few prototypes,
26459 which can conflict with char remove (); below.
26460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26461 <limits.h> exists even on freestanding compilers. */
26464 # include <limits.h>
26466 # include <assert.h>
26471 /* Override any gcc2 internal prototype to avoid an error. */
26476 /* We use char because int might match the return type of a gcc2
26477 builtin and then its argument prototype would still apply. */
26479 /* The GNU C library defines this for functions which it implements
26480 to always fail with ENOSYS. Some functions are actually named
26481 something starting with __ and the normal name is an alias. */
26482 #if defined (__stub_remove) || defined (__stub___remove)
26485 char (*f) () = remove;
26494 return f != remove;
26499 rm -f conftest.
$ac_objext conftest
$ac_exeext
26500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26501 (eval $ac_link) 2>conftest.er1
26503 grep -v '^ *+' conftest.er1
>conftest.err
26505 cat conftest.err
>&5
26506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26507 (exit $ac_status); } &&
26508 { ac_try
='test -z "$ac_c_werror_flag"
26509 || test ! -s conftest.err'
26510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26511 (eval $ac_try) 2>&5
26513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26514 (exit $ac_status); }; } &&
26515 { ac_try
='test -s conftest$ac_exeext'
26516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26517 (eval $ac_try) 2>&5
26519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26520 (exit $ac_status); }; }; then
26521 ac_cv_func_remove
=yes
26523 echo "$as_me: failed program was:" >&5
26524 sed 's/^/| /' conftest.
$ac_ext >&5
26526 ac_cv_func_remove
=no
26528 rm -f conftest.err conftest.
$ac_objext \
26529 conftest
$ac_exeext conftest.
$ac_ext
26531 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
26532 echo "${ECHO_T}$ac_cv_func_remove" >&6
26534 if test $ac_cv_func_remove = no
; then
26535 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
26536 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
26537 if test "${ac_cv_lib_posix_remove+set}" = set; then
26538 echo $ECHO_N "(cached) $ECHO_C" >&6
26540 ac_check_lib_save_LIBS
=$LIBS
26541 LIBS
="-lposix $LIBS"
26542 cat >conftest.
$ac_ext <<_ACEOF
26545 cat confdefs.h
>>conftest.
$ac_ext
26546 cat >>conftest.
$ac_ext <<_ACEOF
26547 /* end confdefs.h. */
26549 /* Override any gcc2 internal prototype to avoid an error. */
26553 /* We use char because int might match the return type of a gcc2
26554 builtin and then its argument prototype would still apply. */
26564 rm -f conftest.
$ac_objext conftest
$ac_exeext
26565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26566 (eval $ac_link) 2>conftest.er1
26568 grep -v '^ *+' conftest.er1
>conftest.err
26570 cat conftest.err
>&5
26571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26572 (exit $ac_status); } &&
26573 { ac_try
='test -z "$ac_c_werror_flag"
26574 || test ! -s conftest.err'
26575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26576 (eval $ac_try) 2>&5
26578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26579 (exit $ac_status); }; } &&
26580 { ac_try
='test -s conftest$ac_exeext'
26581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26582 (eval $ac_try) 2>&5
26584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 (exit $ac_status); }; }; then
26586 ac_cv_lib_posix_remove
=yes
26588 echo "$as_me: failed program was:" >&5
26589 sed 's/^/| /' conftest.
$ac_ext >&5
26591 ac_cv_lib_posix_remove
=no
26593 rm -f conftest.err conftest.
$ac_objext \
26594 conftest
$ac_exeext conftest.
$ac_ext
26595 LIBS
=$ac_check_lib_save_LIBS
26597 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
26598 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
26599 if test $ac_cv_lib_posix_remove = yes; then
26600 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
26605 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26606 echo "$as_me:$LINENO: checking for shmat" >&5
26607 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
26608 if test "${ac_cv_func_shmat+set}" = set; then
26609 echo $ECHO_N "(cached) $ECHO_C" >&6
26611 cat >conftest.
$ac_ext <<_ACEOF
26614 cat confdefs.h
>>conftest.
$ac_ext
26615 cat >>conftest.
$ac_ext <<_ACEOF
26616 /* end confdefs.h. */
26617 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
26618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26619 #define shmat innocuous_shmat
26621 /* System header to define __stub macros and hopefully few prototypes,
26622 which can conflict with char shmat (); below.
26623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26624 <limits.h> exists even on freestanding compilers. */
26627 # include <limits.h>
26629 # include <assert.h>
26634 /* Override any gcc2 internal prototype to avoid an error. */
26639 /* We use char because int might match the return type of a gcc2
26640 builtin and then its argument prototype would still apply. */
26642 /* The GNU C library defines this for functions which it implements
26643 to always fail with ENOSYS. Some functions are actually named
26644 something starting with __ and the normal name is an alias. */
26645 #if defined (__stub_shmat) || defined (__stub___shmat)
26648 char (*f) () = shmat;
26662 rm -f conftest.
$ac_objext conftest
$ac_exeext
26663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26664 (eval $ac_link) 2>conftest.er1
26666 grep -v '^ *+' conftest.er1
>conftest.err
26668 cat conftest.err
>&5
26669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26670 (exit $ac_status); } &&
26671 { ac_try
='test -z "$ac_c_werror_flag"
26672 || test ! -s conftest.err'
26673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26674 (eval $ac_try) 2>&5
26676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26677 (exit $ac_status); }; } &&
26678 { ac_try
='test -s conftest$ac_exeext'
26679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26680 (eval $ac_try) 2>&5
26682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26683 (exit $ac_status); }; }; then
26684 ac_cv_func_shmat
=yes
26686 echo "$as_me: failed program was:" >&5
26687 sed 's/^/| /' conftest.
$ac_ext >&5
26689 ac_cv_func_shmat
=no
26691 rm -f conftest.err conftest.
$ac_objext \
26692 conftest
$ac_exeext conftest.
$ac_ext
26694 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
26695 echo "${ECHO_T}$ac_cv_func_shmat" >&6
26697 if test $ac_cv_func_shmat = no
; then
26698 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
26699 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
26700 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
26701 echo $ECHO_N "(cached) $ECHO_C" >&6
26703 ac_check_lib_save_LIBS
=$LIBS
26705 cat >conftest.
$ac_ext <<_ACEOF
26708 cat confdefs.h
>>conftest.
$ac_ext
26709 cat >>conftest.
$ac_ext <<_ACEOF
26710 /* end confdefs.h. */
26712 /* Override any gcc2 internal prototype to avoid an error. */
26716 /* We use char because int might match the return type of a gcc2
26717 builtin and then its argument prototype would still apply. */
26727 rm -f conftest.
$ac_objext conftest
$ac_exeext
26728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26729 (eval $ac_link) 2>conftest.er1
26731 grep -v '^ *+' conftest.er1
>conftest.err
26733 cat conftest.err
>&5
26734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735 (exit $ac_status); } &&
26736 { ac_try
='test -z "$ac_c_werror_flag"
26737 || test ! -s conftest.err'
26738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26739 (eval $ac_try) 2>&5
26741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26742 (exit $ac_status); }; } &&
26743 { ac_try
='test -s conftest$ac_exeext'
26744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26745 (eval $ac_try) 2>&5
26747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26748 (exit $ac_status); }; }; then
26749 ac_cv_lib_ipc_shmat
=yes
26751 echo "$as_me: failed program was:" >&5
26752 sed 's/^/| /' conftest.
$ac_ext >&5
26754 ac_cv_lib_ipc_shmat
=no
26756 rm -f conftest.err conftest.
$ac_objext \
26757 conftest
$ac_exeext conftest.
$ac_ext
26758 LIBS
=$ac_check_lib_save_LIBS
26760 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
26761 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
26762 if test $ac_cv_lib_ipc_shmat = yes; then
26763 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
26769 # Check for libraries that X11R6 Xt/Xaw programs need.
26770 ac_save_LDFLAGS
=$LDFLAGS
26771 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
26772 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26773 # check for ICE first), but we must link in the order -lSM -lICE or
26774 # we get undefined symbols. So assume we have SM if we have ICE.
26775 # These have to be linked with before -lX11, unlike the other
26776 # libraries we check for below, so use a different variable.
26777 # John Interrante, Karl Berry
26778 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
26779 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
26780 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
26781 echo $ECHO_N "(cached) $ECHO_C" >&6
26783 ac_check_lib_save_LIBS
=$LIBS
26784 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
26785 cat >conftest.
$ac_ext <<_ACEOF
26788 cat confdefs.h
>>conftest.
$ac_ext
26789 cat >>conftest.
$ac_ext <<_ACEOF
26790 /* end confdefs.h. */
26792 /* Override any gcc2 internal prototype to avoid an error. */
26796 /* We use char because int might match the return type of a gcc2
26797 builtin and then its argument prototype would still apply. */
26798 char IceConnectionNumber ();
26802 IceConnectionNumber ();
26807 rm -f conftest.
$ac_objext conftest
$ac_exeext
26808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26809 (eval $ac_link) 2>conftest.er1
26811 grep -v '^ *+' conftest.er1
>conftest.err
26813 cat conftest.err
>&5
26814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815 (exit $ac_status); } &&
26816 { ac_try
='test -z "$ac_c_werror_flag"
26817 || test ! -s conftest.err'
26818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26819 (eval $ac_try) 2>&5
26821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26822 (exit $ac_status); }; } &&
26823 { ac_try
='test -s conftest$ac_exeext'
26824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26825 (eval $ac_try) 2>&5
26827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26828 (exit $ac_status); }; }; then
26829 ac_cv_lib_ICE_IceConnectionNumber
=yes
26831 echo "$as_me: failed program was:" >&5
26832 sed 's/^/| /' conftest.
$ac_ext >&5
26834 ac_cv_lib_ICE_IceConnectionNumber
=no
26836 rm -f conftest.err conftest.
$ac_objext \
26837 conftest
$ac_exeext conftest.
$ac_ext
26838 LIBS
=$ac_check_lib_save_LIBS
26840 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26841 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26842 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26843 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
26846 LDFLAGS
=$ac_save_LDFLAGS
26851 if test "$no_x" = "yes"; then
26852 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26853 echo "$as_me: error: X11 not found" >&2;}
26854 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
26857 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
26858 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
26859 AFMINSTALL
=afminstall
26860 COMPILED_X_PROGRAM
=0
26862 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26863 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26866 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26868 if test -f "$ac_dir/Xm/Xm.h"; then
26869 ac_find_includes
=$ac_dir
26874 if test "$ac_find_includes" != "" ; then
26875 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26876 echo "${ECHO_T}found in $ac_find_includes" >&6
26878 if test "x$ac_find_includes" = "x/usr/include"; then
26879 ac_path_to_include
=""
26881 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26883 if test $result = 0; then
26884 ac_path_to_include
=""
26886 ac_path_to_include
=" -I$ac_find_includes"
26890 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26892 cat >conftest.
$ac_ext <<_ACEOF
26895 cat confdefs.h
>>conftest.
$ac_ext
26896 cat >>conftest.
$ac_ext <<_ACEOF
26897 /* end confdefs.h. */
26906 version = xmUseVersion;
26912 rm -f conftest.
$ac_objext
26913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26914 (eval $ac_compile) 2>conftest.er1
26916 grep -v '^ *+' conftest.er1
>conftest.err
26918 cat conftest.err
>&5
26919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26920 (exit $ac_status); } &&
26921 { ac_try
='test -z "$ac_c_werror_flag"
26922 || test ! -s conftest.err'
26923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26924 (eval $ac_try) 2>&5
26926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26927 (exit $ac_status); }; } &&
26928 { ac_try
='test -s conftest.$ac_objext'
26929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26930 (eval $ac_try) 2>&5
26932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26933 (exit $ac_status); }; }; then
26935 echo "$as_me:$LINENO: result: found in default search path" >&5
26936 echo "${ECHO_T}found in default search path" >&6
26937 COMPILED_X_PROGRAM
=1
26940 echo "$as_me: failed program was:" >&5
26941 sed 's/^/| /' conftest.
$ac_ext >&5
26944 echo "$as_me:$LINENO: result: no" >&5
26945 echo "${ECHO_T}no" >&6
26946 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26947 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26948 { (exit 1); exit 1; }; }
26952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26955 if test "$COMPILED_X_PROGRAM" = 0; then
26956 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26957 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26960 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26962 for ac_extension
in a so sl dylib
; do
26963 if test -f "$ac_dir/libXm.$ac_extension"; then
26964 ac_find_libraries
=$ac_dir
26970 if test "$ac_find_libraries" != "" ; then
26971 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26972 echo "${ECHO_T}found at $ac_find_libraries" >&6
26975 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26977 if test $result = 0; then
26980 ac_path_to_link
=" -L$ac_find_libraries"
26983 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26985 save_CFLAGS
=$CFLAGS
26986 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26988 cat >conftest.
$ac_ext <<_ACEOF
26991 cat confdefs.h
>>conftest.
$ac_ext
26992 cat >>conftest.
$ac_ext <<_ACEOF
26993 /* end confdefs.h. */
27002 version = xmUseVersion;
27008 rm -f conftest.
$ac_objext
27009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27010 (eval $ac_compile) 2>conftest.er1
27012 grep -v '^ *+' conftest.er1
>conftest.err
27014 cat conftest.err
>&5
27015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27016 (exit $ac_status); } &&
27017 { ac_try
='test -z "$ac_c_werror_flag"
27018 || test ! -s conftest.err'
27019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27020 (eval $ac_try) 2>&5
27022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27023 (exit $ac_status); }; } &&
27024 { ac_try
='test -s conftest.$ac_objext'
27025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27026 (eval $ac_try) 2>&5
27028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27029 (exit $ac_status); }; }; then
27031 echo "$as_me:$LINENO: result: found in default search path" >&5
27032 echo "${ECHO_T}found in default search path" >&6
27033 COMPILED_X_PROGRAM
=1
27036 echo "$as_me: failed program was:" >&5
27037 sed 's/^/| /' conftest.
$ac_ext >&5
27040 echo "$as_me:$LINENO: result: no" >&5
27041 echo "${ECHO_T}no" >&6
27042 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
27043 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
27044 { (exit 1); exit 1; }; }
27048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27050 CFLAGS
=$save_CFLAGS
27054 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
27055 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
27059 for libp
in "" " -lXp"; do
27060 if test "$libs_found" = "0"; then
27061 for libsm_ice
in "" " -lSM -lICE"; do
27062 if test "$libs_found" = "0"; then
27064 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
27065 save_CFLAGS
=$CFLAGS
27066 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27068 cat >conftest.
$ac_ext <<_ACEOF
27071 cat confdefs.h
>>conftest.
$ac_ext
27072 cat >>conftest.
$ac_ext <<_ACEOF
27073 /* end confdefs.h. */
27076 #include <Xm/List.h>
27082 XmString string = NULL;
27085 XmListAddItem(w, string, position);
27091 rm -f conftest.
$ac_objext conftest
$ac_exeext
27092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27093 (eval $ac_link) 2>conftest.er1
27095 grep -v '^ *+' conftest.er1
>conftest.err
27097 cat conftest.err
>&5
27098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27099 (exit $ac_status); } &&
27100 { ac_try
='test -z "$ac_c_werror_flag"
27101 || test ! -s conftest.err'
27102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27103 (eval $ac_try) 2>&5
27105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27106 (exit $ac_status); }; } &&
27107 { ac_try
='test -s conftest$ac_exeext'
27108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27109 (eval $ac_try) 2>&5
27111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27112 (exit $ac_status); }; }; then
27115 libsm_ice_link
="$libsm_ice"
27116 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
27117 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
27121 echo "$as_me: failed program was:" >&5
27122 sed 's/^/| /' conftest.
$ac_ext >&5
27127 rm -f conftest.err conftest.
$ac_objext \
27128 conftest
$ac_exeext conftest.
$ac_ext
27131 CFLAGS
=$save_CFLAGS
27137 if test "$libs_found" = "0"; then
27138 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
27139 echo "${ECHO_T}can't find the right libraries" >&6
27140 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
27141 echo "$as_me: error: can't link a simple motif program" >&2;}
27142 { (exit 1); exit 1; }; }
27145 save_CFLAGS
=$CFLAGS
27146 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27147 echo "$as_me:$LINENO: checking for Motif 2" >&5
27148 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
27149 cat >conftest.
$ac_ext <<_ACEOF
27152 cat confdefs.h
>>conftest.
$ac_ext
27153 cat >>conftest.
$ac_ext <<_ACEOF
27154 /* end confdefs.h. */
27162 #if XmVersion < 2000
27163 #error "Not Motif 2"
27170 rm -f conftest.
$ac_objext
27171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27172 (eval $ac_compile) 2>conftest.er1
27174 grep -v '^ *+' conftest.er1
>conftest.err
27176 cat conftest.err
>&5
27177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27178 (exit $ac_status); } &&
27179 { ac_try
='test -z "$ac_c_werror_flag"
27180 || test ! -s conftest.err'
27181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27182 (eval $ac_try) 2>&5
27184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27185 (exit $ac_status); }; } &&
27186 { ac_try
='test -s conftest.$ac_objext'
27187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27188 (eval $ac_try) 2>&5
27190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27191 (exit $ac_status); }; }; then
27193 cat >>confdefs.h
<<\_ACEOF
27194 #define __WXMOTIF20__ 1
27197 echo "$as_me:$LINENO: result: found" >&5
27198 echo "${ECHO_T}found" >&6
27201 echo "$as_me: failed program was:" >&5
27202 sed 's/^/| /' conftest.
$ac_ext >&5
27205 cat >>confdefs.h
<<\_ACEOF
27206 #define __WXMOTIF20__ 0
27209 echo "$as_me:$LINENO: result: not found" >&5
27210 echo "${ECHO_T}not found" >&6
27213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27214 CFLAGS
=$save_CFLAGS
27216 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
27217 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
27222 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27223 if test "$wxUSE_LIBXPM" = "sys"; then
27224 echo "$as_me:$LINENO: checking for Xpm library" >&5
27225 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
27228 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27230 for ac_extension
in a so sl dylib
; do
27231 if test -f "$ac_dir/libXpm.$ac_extension"; then
27232 ac_find_libraries
=$ac_dir
27238 if test "$ac_find_libraries" != "" ; then
27240 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27242 if test $result = 0; then
27245 ac_path_to_link
=" -L$ac_find_libraries"
27248 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
27249 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27250 echo "${ECHO_T}found at $ac_find_libraries" >&6
27252 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
27253 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
27254 if test "${wx_cv_x11_xpm_h+set}" = set; then
27255 echo $ECHO_N "(cached) $ECHO_C" >&6
27258 save_CFLAGS
=$CFLAGS
27259 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27261 cat >conftest.
$ac_ext <<_ACEOF
27264 cat confdefs.h
>>conftest.
$ac_ext
27265 cat >>conftest.
$ac_ext <<_ACEOF
27266 /* end confdefs.h. */
27268 #include <X11/xpm.h>
27275 version = XpmLibraryVersion();
27281 rm -f conftest.
$ac_objext
27282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27283 (eval $ac_compile) 2>conftest.er1
27285 grep -v '^ *+' conftest.er1
>conftest.err
27287 cat conftest.err
>&5
27288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27289 (exit $ac_status); } &&
27290 { ac_try
='test -z "$ac_c_werror_flag"
27291 || test ! -s conftest.err'
27292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27293 (eval $ac_try) 2>&5
27295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27296 (exit $ac_status); }; } &&
27297 { ac_try
='test -s conftest.$ac_objext'
27298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27299 (eval $ac_try) 2>&5
27301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27302 (exit $ac_status); }; }; then
27303 wx_cv_x11_xpm_h
=yes
27305 echo "$as_me: failed program was:" >&5
27306 sed 's/^/| /' conftest.
$ac_ext >&5
27311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27313 CFLAGS
=$save_CFLAGS
27317 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
27318 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
27320 if test $wx_cv_x11_xpm_h = "yes"; then
27321 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
27322 cat >>confdefs.h
<<\_ACEOF
27323 #define wxHAVE_LIB_XPM 1
27327 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
27328 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
27334 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
27335 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
27336 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
27337 echo $ECHO_N "(cached) $ECHO_C" >&6
27339 ac_check_lib_save_LIBS
=$LIBS
27340 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
27341 cat >conftest.
$ac_ext <<_ACEOF
27344 cat confdefs.h
>>conftest.
$ac_ext
27345 cat >>conftest.
$ac_ext <<_ACEOF
27346 /* end confdefs.h. */
27348 /* Override any gcc2 internal prototype to avoid an error. */
27352 /* We use char because int might match the return type of a gcc2
27353 builtin and then its argument prototype would still apply. */
27354 char XShapeQueryExtension ();
27358 XShapeQueryExtension ();
27363 rm -f conftest.
$ac_objext conftest
$ac_exeext
27364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27365 (eval $ac_link) 2>conftest.er1
27367 grep -v '^ *+' conftest.er1
>conftest.err
27369 cat conftest.err
>&5
27370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27371 (exit $ac_status); } &&
27372 { ac_try
='test -z "$ac_c_werror_flag"
27373 || test ! -s conftest.err'
27374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27375 (eval $ac_try) 2>&5
27377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27378 (exit $ac_status); }; } &&
27379 { ac_try
='test -s conftest$ac_exeext'
27380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27381 (eval $ac_try) 2>&5
27383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27384 (exit $ac_status); }; }; then
27385 ac_cv_lib_Xext_XShapeQueryExtension
=yes
27387 echo "$as_me: failed program was:" >&5
27388 sed 's/^/| /' conftest.
$ac_ext >&5
27390 ac_cv_lib_Xext_XShapeQueryExtension
=no
27392 rm -f conftest.err conftest.
$ac_objext \
27393 conftest
$ac_exeext conftest.
$ac_ext
27394 LIBS
=$ac_check_lib_save_LIBS
27396 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
27397 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
27398 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
27400 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
27406 if test "$wxHAVE_XEXT_LIB" = 1; then
27407 save_CFLAGS
="$CFLAGS"
27408 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27410 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
27411 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
27412 cat >conftest.
$ac_ext <<_ACEOF
27415 cat confdefs.h
>>conftest.
$ac_ext
27416 cat >>conftest.
$ac_ext <<_ACEOF
27417 /* end confdefs.h. */
27419 #include <X11/Xlib.h>
27420 #include <X11/extensions/shape.h>
27426 int dummy1, dummy2;
27427 XShapeQueryExtension((Display*)NULL,
27428 (int*)NULL, (int*)NULL);
27434 rm -f conftest.
$ac_objext
27435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27436 (eval $ac_compile) 2>conftest.er1
27438 grep -v '^ *+' conftest.er1
>conftest.err
27440 cat conftest.err
>&5
27441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27442 (exit $ac_status); } &&
27443 { ac_try
='test -z "$ac_c_werror_flag"
27444 || test ! -s conftest.err'
27445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27446 (eval $ac_try) 2>&5
27448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27449 (exit $ac_status); }; } &&
27450 { ac_try
='test -s conftest.$ac_objext'
27451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27452 (eval $ac_try) 2>&5
27454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27455 (exit $ac_status); }; }; then
27457 cat >>confdefs.h
<<\_ACEOF
27458 #define HAVE_XSHAPE 1
27461 echo "$as_me:$LINENO: result: found" >&5
27462 echo "${ECHO_T}found" >&6
27465 echo "$as_me: failed program was:" >&5
27466 sed 's/^/| /' conftest.
$ac_ext >&5
27469 echo "$as_me:$LINENO: result: not found" >&5
27470 echo "${ECHO_T}not found" >&6
27473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27474 CFLAGS
="$save_CFLAGS"
27479 if test "$wxUSE_MAC" = 1; then
27480 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
27481 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
27482 if test "$GCC" = yes; then
27483 echo "$as_me:$LINENO: result: gcc" >&5
27484 echo "${ECHO_T}gcc" >&6
27485 CPPFLAGS_PASCAL
="-fpascal-strings"
27486 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
27487 echo "$as_me:$LINENO: result: xlc" >&5
27488 echo "${ECHO_T}xlc" >&6
27489 CPPFLAGS_PASCAL
="-qmacpstr"
27491 echo "$as_me:$LINENO: result: none" >&5
27492 echo "${ECHO_T}none" >&6
27495 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
27497 TOOLKIT_VPATH
="\${top_srcdir}/src/mac/carbon${PATH_IFS}\${top_srcdir}/src/mac/carbon/morefilex"
27500 WXBASEPORT
="_carbon"
27503 if test "$wxUSE_COCOA" = 1; then
27504 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
27509 if test "$wxUSE_PM" = 1; then
27512 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
27513 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
27514 if test "${wx_cv_spbcdata+set}" = set; then
27515 echo $ECHO_N "(cached) $ECHO_C" >&6
27518 cat >conftest.
$ac_ext <<_ACEOF
27521 cat confdefs.h
>>conftest.
$ac_ext
27522 cat >>conftest.
$ac_ext <<_ACEOF
27523 /* end confdefs.h. */
27538 rm -f conftest.
$ac_objext
27539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27540 (eval $ac_compile) 2>conftest.er1
27542 grep -v '^ *+' conftest.er1
>conftest.err
27544 cat conftest.err
>&5
27545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27546 (exit $ac_status); } &&
27547 { ac_try
='test -z "$ac_c_werror_flag"
27548 || test ! -s conftest.err'
27549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27550 (eval $ac_try) 2>&5
27552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27553 (exit $ac_status); }; } &&
27554 { ac_try
='test -s conftest.$ac_objext'
27555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27556 (eval $ac_try) 2>&5
27558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27559 (exit $ac_status); }; }; then
27562 echo "$as_me: failed program was:" >&5
27563 sed 's/^/| /' conftest.
$ac_ext >&5
27568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27572 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
27573 echo "${ECHO_T}$wx_cv_spbcdata" >&6
27575 if test $wx_cv_spbcdata = "yes"; then
27576 cat >>confdefs.h
<<\_ACEOF
27577 #define HAVE_SPBCDATA 1
27583 if test "$TOOLKIT" = "PM" ; then
27586 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
27589 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
27591 if test "$wxUSE_UNIVERSAL" = "yes"; then
27592 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
27594 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
27595 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
27597 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
27598 if test "$wxUSE_X11" = 1; then
27599 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
27601 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
27603 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
27606 ALL_OBJECTS
="\$(GUIOBJS)"
27607 ALL_SOURCES
="\$(ALL_SOURCES)"
27608 ALL_HEADERS
="\$(ALL_HEADERS)"
27611 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
27613 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
27614 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
27617 if test "$wxUSE_HTML" = "yes"; then
27618 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
27621 if test "$wxUSE_LIBJPEG" = "builtin" ; then
27622 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
27624 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27625 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
27627 if test "$wxUSE_LIBPNG" = "builtin" ; then
27628 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
27631 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
27632 DISTDIR
="wx\$(TOOLKIT)"
27638 if test "$USE_WIN32" = 1 ; then
27639 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
27640 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
27644 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
27645 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
27648 ALL_SOURCES
="\$(ALL_SOURCES)"
27649 ALL_HEADERS
="\$(ALL_HEADERS)"
27651 PORT_FILES
="\${top_srcdir}/src/files.lst"
27653 GUIDIST
="BASE_DIST"
27663 if test "$TOOLKIT" != "MSW" ; then
27665 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
27667 if test "${ac_cv_header_sql_h+set}" = set; then
27668 echo "$as_me:$LINENO: checking for sql.h" >&5
27669 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27670 if test "${ac_cv_header_sql_h+set}" = set; then
27671 echo $ECHO_N "(cached) $ECHO_C" >&6
27673 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27674 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27676 # Is the header compilable?
27677 echo "$as_me:$LINENO: checking sql.h usability" >&5
27678 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
27679 cat >conftest.
$ac_ext <<_ACEOF
27682 cat confdefs.h
>>conftest.
$ac_ext
27683 cat >>conftest.
$ac_ext <<_ACEOF
27684 /* end confdefs.h. */
27685 $ac_includes_default
27688 rm -f conftest.
$ac_objext
27689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27690 (eval $ac_compile) 2>conftest.er1
27692 grep -v '^ *+' conftest.er1
>conftest.err
27694 cat conftest.err
>&5
27695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27696 (exit $ac_status); } &&
27697 { ac_try
='test -z "$ac_c_werror_flag"
27698 || test ! -s conftest.err'
27699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27700 (eval $ac_try) 2>&5
27702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27703 (exit $ac_status); }; } &&
27704 { ac_try
='test -s conftest.$ac_objext'
27705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27706 (eval $ac_try) 2>&5
27708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27709 (exit $ac_status); }; }; then
27710 ac_header_compiler
=yes
27712 echo "$as_me: failed program was:" >&5
27713 sed 's/^/| /' conftest.
$ac_ext >&5
27715 ac_header_compiler
=no
27717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27718 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27719 echo "${ECHO_T}$ac_header_compiler" >&6
27721 # Is the header present?
27722 echo "$as_me:$LINENO: checking sql.h presence" >&5
27723 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
27724 cat >conftest.
$ac_ext <<_ACEOF
27727 cat confdefs.h
>>conftest.
$ac_ext
27728 cat >>conftest.
$ac_ext <<_ACEOF
27729 /* end confdefs.h. */
27732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27733 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27735 grep -v '^ *+' conftest.er1
>conftest.err
27737 cat conftest.err
>&5
27738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27739 (exit $ac_status); } >/dev
/null
; then
27740 if test -s conftest.err
; then
27741 ac_cpp_err
=$ac_c_preproc_warn_flag
27742 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27749 if test -z "$ac_cpp_err"; then
27750 ac_header_preproc
=yes
27752 echo "$as_me: failed program was:" >&5
27753 sed 's/^/| /' conftest.
$ac_ext >&5
27755 ac_header_preproc
=no
27757 rm -f conftest.err conftest.
$ac_ext
27758 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27759 echo "${ECHO_T}$ac_header_preproc" >&6
27761 # So? What about this header?
27762 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27764 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
27765 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27766 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
27767 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
27768 ac_header_preproc
=yes
27771 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
27772 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
27773 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
27774 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
27775 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
27776 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
27777 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
27778 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
27779 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
27780 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
27781 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
27782 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
27785 ## ----------------------------------------- ##
27786 ## Report this to wx-dev@lists.wxwidgets.org ##
27787 ## ----------------------------------------- ##
27790 sed "s/^/$as_me: WARNING: /" >&2
27793 echo "$as_me:$LINENO: checking for sql.h" >&5
27794 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27795 if test "${ac_cv_header_sql_h+set}" = set; then
27796 echo $ECHO_N "(cached) $ECHO_C" >&6
27798 ac_cv_header_sql_h
=$ac_header_preproc
27800 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27801 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27804 if test $ac_cv_header_sql_h = yes; then
27809 if test "x$found_sql_h" = "x1" ; then
27810 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
27811 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
27812 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
27813 echo $ECHO_N "(cached) $ECHO_C" >&6
27815 ac_check_lib_save_LIBS
=$LIBS
27816 LIBS
="-liodbc $LIBS"
27817 cat >conftest.
$ac_ext <<_ACEOF
27820 cat confdefs.h
>>conftest.
$ac_ext
27821 cat >>conftest.
$ac_ext <<_ACEOF
27822 /* end confdefs.h. */
27824 /* Override any gcc2 internal prototype to avoid an error. */
27828 /* We use char because int might match the return type of a gcc2
27829 builtin and then its argument prototype would still apply. */
27830 char SQLAllocEnv ();
27839 rm -f conftest.
$ac_objext conftest
$ac_exeext
27840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27841 (eval $ac_link) 2>conftest.er1
27843 grep -v '^ *+' conftest.er1
>conftest.err
27845 cat conftest.err
>&5
27846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27847 (exit $ac_status); } &&
27848 { ac_try
='test -z "$ac_c_werror_flag"
27849 || test ! -s conftest.err'
27850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27851 (eval $ac_try) 2>&5
27853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27854 (exit $ac_status); }; } &&
27855 { ac_try
='test -s conftest$ac_exeext'
27856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27857 (eval $ac_try) 2>&5
27859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27860 (exit $ac_status); }; }; then
27861 ac_cv_lib_iodbc_SQLAllocEnv
=yes
27863 echo "$as_me: failed program was:" >&5
27864 sed 's/^/| /' conftest.
$ac_ext >&5
27866 ac_cv_lib_iodbc_SQLAllocEnv
=no
27868 rm -f conftest.err conftest.
$ac_objext \
27869 conftest
$ac_exeext conftest.
$ac_ext
27870 LIBS
=$ac_check_lib_save_LIBS
27872 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27873 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27874 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27875 ODBC_LINK
=" -liodbc"
27878 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27879 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27880 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27881 echo $ECHO_N "(cached) $ECHO_C" >&6
27883 ac_check_lib_save_LIBS
=$LIBS
27884 LIBS
="-lunixodbc $LIBS"
27885 cat >conftest.
$ac_ext <<_ACEOF
27888 cat confdefs.h
>>conftest.
$ac_ext
27889 cat >>conftest.
$ac_ext <<_ACEOF
27890 /* end confdefs.h. */
27892 /* Override any gcc2 internal prototype to avoid an error. */
27896 /* We use char because int might match the return type of a gcc2
27897 builtin and then its argument prototype would still apply. */
27898 char SQLAllocEnv ();
27907 rm -f conftest.
$ac_objext conftest
$ac_exeext
27908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27909 (eval $ac_link) 2>conftest.er1
27911 grep -v '^ *+' conftest.er1
>conftest.err
27913 cat conftest.err
>&5
27914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27915 (exit $ac_status); } &&
27916 { ac_try
='test -z "$ac_c_werror_flag"
27917 || test ! -s conftest.err'
27918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27919 (eval $ac_try) 2>&5
27921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27922 (exit $ac_status); }; } &&
27923 { ac_try
='test -s conftest$ac_exeext'
27924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27925 (eval $ac_try) 2>&5
27927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27928 (exit $ac_status); }; }; then
27929 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
27931 echo "$as_me: failed program was:" >&5
27932 sed 's/^/| /' conftest.
$ac_ext >&5
27934 ac_cv_lib_unixodbc_SQLAllocEnv
=no
27936 rm -f conftest.err conftest.
$ac_objext \
27937 conftest
$ac_exeext conftest.
$ac_ext
27938 LIBS
=$ac_check_lib_save_LIBS
27940 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27941 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27942 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27943 ODBC_LINK
=" -lunixodbc"
27946 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27947 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27948 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27949 echo $ECHO_N "(cached) $ECHO_C" >&6
27951 ac_check_lib_save_LIBS
=$LIBS
27952 LIBS
="-lodbc $LIBS"
27953 cat >conftest.
$ac_ext <<_ACEOF
27956 cat confdefs.h
>>conftest.
$ac_ext
27957 cat >>conftest.
$ac_ext <<_ACEOF
27958 /* end confdefs.h. */
27960 /* Override any gcc2 internal prototype to avoid an error. */
27964 /* We use char because int might match the return type of a gcc2
27965 builtin and then its argument prototype would still apply. */
27966 char SQLAllocEnv ();
27975 rm -f conftest.
$ac_objext conftest
$ac_exeext
27976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27977 (eval $ac_link) 2>conftest.er1
27979 grep -v '^ *+' conftest.er1
>conftest.err
27981 cat conftest.err
>&5
27982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27983 (exit $ac_status); } &&
27984 { ac_try
='test -z "$ac_c_werror_flag"
27985 || test ! -s conftest.err'
27986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27987 (eval $ac_try) 2>&5
27989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27990 (exit $ac_status); }; } &&
27991 { ac_try
='test -s conftest$ac_exeext'
27992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27993 (eval $ac_try) 2>&5
27995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27996 (exit $ac_status); }; }; then
27997 ac_cv_lib_odbc_SQLAllocEnv
=yes
27999 echo "$as_me: failed program was:" >&5
28000 sed 's/^/| /' conftest.
$ac_ext >&5
28002 ac_cv_lib_odbc_SQLAllocEnv
=no
28004 rm -f conftest.err conftest.
$ac_objext \
28005 conftest
$ac_exeext conftest.
$ac_ext
28006 LIBS
=$ac_check_lib_save_LIBS
28008 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
28009 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
28010 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
28011 ODBC_LINK
=" -lodbc"
28021 if test "x$ODBC_LINK" = "x" ; then
28022 if test "$wxUSE_ODBC" = "sys" ; then
28023 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
28024 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
28025 { (exit 1); exit 1; }; }
28027 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
28028 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
28035 if test "$wxUSE_ODBC" != "no" ; then
28036 cat >>confdefs.h
<<\_ACEOF
28037 #define wxUSE_ODBC 1
28040 if test "$wxUSE_ODBC" = "builtin" ; then
28041 cat >>confdefs.h
<<\_ACEOF
28042 #define wxUSE_BUILTIN_IODBC 1
28046 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
28048 WXODBCFLAG
="-D_IODBC_"
28052 if test "$wxUSE_REGEX" = "builtin" ; then
28053 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
28055 if test "$wxUSE_ZLIB" = "builtin" ; then
28056 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
28060 if test "$wxUSE_DISPLAY" = "yes"; then
28061 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
28062 echo "$as_me:$LINENO: checking for Xinerama" >&5
28063 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
28066 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28068 for ac_extension
in a so sl dylib
; do
28069 if test -f "$ac_dir/libXinerama.$ac_extension"; then
28070 ac_find_libraries
=$ac_dir
28076 if test "$ac_find_libraries" != "" ; then
28078 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28080 if test $result = 0; then
28083 ac_path_to_link
=" -L$ac_find_libraries"
28086 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28087 LDFLAGS
="$LDFLAGS $ac_path_to_link"
28089 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
28090 echo "$as_me:$LINENO: result: yes" >&5
28091 echo "${ECHO_T}yes" >&6
28093 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
28094 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
28097 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28099 for ac_extension
in a so sl dylib
; do
28100 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
28101 ac_find_libraries
=$ac_dir
28107 if test "$ac_find_libraries" != "" ; then
28108 echo "$as_me:$LINENO: result: yes" >&5
28109 echo "${ECHO_T}yes" >&6
28111 for ac_header
in X
11/extensions
/xf86vmode.h
28113 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28114 echo "$as_me:$LINENO: checking for $ac_header" >&5
28115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28117 echo $ECHO_N "(cached) $ECHO_C" >&6
28119 cat >conftest.
$ac_ext <<_ACEOF
28122 cat confdefs.h
>>conftest.
$ac_ext
28123 cat >>conftest.
$ac_ext <<_ACEOF
28124 /* end confdefs.h. */
28126 #if HAVE_X11_XLIB_H
28127 #include <X11/Xlib.h>
28131 #include <$ac_header>
28133 rm -f conftest.
$ac_objext
28134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28135 (eval $ac_compile) 2>conftest.er1
28137 grep -v '^ *+' conftest.er1
>conftest.err
28139 cat conftest.err
>&5
28140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28141 (exit $ac_status); } &&
28142 { ac_try
='test -z "$ac_c_werror_flag"
28143 || test ! -s conftest.err'
28144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28145 (eval $ac_try) 2>&5
28147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28148 (exit $ac_status); }; } &&
28149 { ac_try
='test -s conftest.$ac_objext'
28150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28151 (eval $ac_try) 2>&5
28153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28154 (exit $ac_status); }; }; then
28155 eval "$as_ac_Header=yes"
28157 echo "$as_me: failed program was:" >&5
28158 sed 's/^/| /' conftest.
$ac_ext >&5
28160 eval "$as_ac_Header=no"
28162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28166 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28167 cat >>confdefs.h
<<_ACEOF
28168 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28171 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
28178 echo "$as_me:$LINENO: result: no" >&5
28179 echo "${ECHO_T}no" >&6
28183 echo "$as_me:$LINENO: result: no" >&5
28184 echo "${ECHO_T}no" >&6
28185 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
28186 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
28189 elif test "$wxUSE_MSW" = 1; then
28192 for ac_header
in multimon.h ddraw.h
28194 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28196 echo "$as_me:$LINENO: checking for $ac_header" >&5
28197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28199 echo $ECHO_N "(cached) $ECHO_C" >&6
28201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28204 # Is the header compilable?
28205 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28206 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28207 cat >conftest.
$ac_ext <<_ACEOF
28210 cat confdefs.h
>>conftest.
$ac_ext
28211 cat >>conftest.
$ac_ext <<_ACEOF
28212 /* end confdefs.h. */
28213 $ac_includes_default
28214 #include <$ac_header>
28216 rm -f conftest.
$ac_objext
28217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28218 (eval $ac_compile) 2>conftest.er1
28220 grep -v '^ *+' conftest.er1
>conftest.err
28222 cat conftest.err
>&5
28223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28224 (exit $ac_status); } &&
28225 { ac_try
='test -z "$ac_c_werror_flag"
28226 || test ! -s conftest.err'
28227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28228 (eval $ac_try) 2>&5
28230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28231 (exit $ac_status); }; } &&
28232 { ac_try
='test -s conftest.$ac_objext'
28233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28234 (eval $ac_try) 2>&5
28236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28237 (exit $ac_status); }; }; then
28238 ac_header_compiler
=yes
28240 echo "$as_me: failed program was:" >&5
28241 sed 's/^/| /' conftest.
$ac_ext >&5
28243 ac_header_compiler
=no
28245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28246 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28247 echo "${ECHO_T}$ac_header_compiler" >&6
28249 # Is the header present?
28250 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28251 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28252 cat >conftest.
$ac_ext <<_ACEOF
28255 cat confdefs.h
>>conftest.
$ac_ext
28256 cat >>conftest.
$ac_ext <<_ACEOF
28257 /* end confdefs.h. */
28258 #include <$ac_header>
28260 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28261 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28263 grep -v '^ *+' conftest.er1
>conftest.err
28265 cat conftest.err
>&5
28266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28267 (exit $ac_status); } >/dev
/null
; then
28268 if test -s conftest.err
; then
28269 ac_cpp_err
=$ac_c_preproc_warn_flag
28270 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28277 if test -z "$ac_cpp_err"; then
28278 ac_header_preproc
=yes
28280 echo "$as_me: failed program was:" >&5
28281 sed 's/^/| /' conftest.
$ac_ext >&5
28283 ac_header_preproc
=no
28285 rm -f conftest.err conftest.
$ac_ext
28286 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28287 echo "${ECHO_T}$ac_header_preproc" >&6
28289 # So? What about this header?
28290 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28292 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28293 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28294 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28295 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28296 ac_header_preproc
=yes
28299 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28300 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28301 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28302 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28303 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28304 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28305 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28306 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28307 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28308 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28309 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28310 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28313 ## ----------------------------------------- ##
28314 ## Report this to wx-dev@lists.wxwidgets.org ##
28315 ## ----------------------------------------- ##
28318 sed "s/^/$as_me: WARNING: /" >&2
28321 echo "$as_me:$LINENO: checking for $ac_header" >&5
28322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28324 echo $ECHO_N "(cached) $ECHO_C" >&6
28326 eval "$as_ac_Header=\$ac_header_preproc"
28328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28329 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28332 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28333 cat >>confdefs.h
<<_ACEOF
28334 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28340 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
28341 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
28352 if test "$wxUSE_OPENGL" = "yes"; then
28353 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28354 OPENGL_LIBS
="-framework OpenGL -framework AGL"
28355 elif test "$wxUSE_MSW" = 1; then
28356 OPENGL_LIBS
="-lopengl32 -lglu32"
28361 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
28363 if test -f "$ac_dir/GL/gl.h"; then
28364 ac_find_includes
=$ac_dir
28369 if test "$ac_find_includes" != "" ; then
28370 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28371 echo "${ECHO_T}found in $ac_find_includes" >&6
28373 if test "x$ac_find_includes" = "x/usr/include"; then
28374 ac_path_to_include
=""
28376 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
28378 if test $result = 0; then
28379 ac_path_to_include
=""
28381 ac_path_to_include
=" -I$ac_find_includes"
28385 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
28388 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28389 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28390 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28391 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28392 echo $ECHO_N "(cached) $ECHO_C" >&6
28394 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28395 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28397 # Is the header compilable?
28398 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
28399 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
28400 cat >conftest.
$ac_ext <<_ACEOF
28403 cat confdefs.h
>>conftest.
$ac_ext
28404 cat >>conftest.
$ac_ext <<_ACEOF
28405 /* end confdefs.h. */
28406 $ac_includes_default
28409 rm -f conftest.
$ac_objext
28410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28411 (eval $ac_compile) 2>conftest.er1
28413 grep -v '^ *+' conftest.er1
>conftest.err
28415 cat conftest.err
>&5
28416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28417 (exit $ac_status); } &&
28418 { ac_try
='test -z "$ac_c_werror_flag"
28419 || test ! -s conftest.err'
28420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28421 (eval $ac_try) 2>&5
28423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28424 (exit $ac_status); }; } &&
28425 { ac_try
='test -s conftest.$ac_objext'
28426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28427 (eval $ac_try) 2>&5
28429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28430 (exit $ac_status); }; }; then
28431 ac_header_compiler
=yes
28433 echo "$as_me: failed program was:" >&5
28434 sed 's/^/| /' conftest.
$ac_ext >&5
28436 ac_header_compiler
=no
28438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28439 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28440 echo "${ECHO_T}$ac_header_compiler" >&6
28442 # Is the header present?
28443 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
28444 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
28445 cat >conftest.
$ac_ext <<_ACEOF
28448 cat confdefs.h
>>conftest.
$ac_ext
28449 cat >>conftest.
$ac_ext <<_ACEOF
28450 /* end confdefs.h. */
28453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28454 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28456 grep -v '^ *+' conftest.er1
>conftest.err
28458 cat conftest.err
>&5
28459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28460 (exit $ac_status); } >/dev
/null
; then
28461 if test -s conftest.err
; then
28462 ac_cpp_err
=$ac_c_preproc_warn_flag
28463 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28470 if test -z "$ac_cpp_err"; then
28471 ac_header_preproc
=yes
28473 echo "$as_me: failed program was:" >&5
28474 sed 's/^/| /' conftest.
$ac_ext >&5
28476 ac_header_preproc
=no
28478 rm -f conftest.err conftest.
$ac_ext
28479 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28480 echo "${ECHO_T}$ac_header_preproc" >&6
28482 # So? What about this header?
28483 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28485 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
28486 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28487 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
28488 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
28489 ac_header_preproc
=yes
28492 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
28493 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
28494 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
28495 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
28496 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
28497 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
28498 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
28499 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
28500 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
28501 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
28502 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
28503 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
28506 ## ----------------------------------------- ##
28507 ## Report this to wx-dev@lists.wxwidgets.org ##
28508 ## ----------------------------------------- ##
28511 sed "s/^/$as_me: WARNING: /" >&2
28514 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28515 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28516 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28517 echo $ECHO_N "(cached) $ECHO_C" >&6
28519 ac_cv_header_GL_gl_h
=$ac_header_preproc
28521 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28522 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28525 if test $ac_cv_header_GL_gl_h = yes; then
28529 echo "$as_me:$LINENO: checking for -lGL" >&5
28530 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
28533 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28535 for ac_extension
in a so sl dylib
; do
28536 if test -f "$ac_dir/libGL.$ac_extension"; then
28537 ac_find_libraries
=$ac_dir
28543 if test "$ac_find_libraries" != "" ; then
28545 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28547 if test $result = 0; then
28550 ac_path_to_link
=" -L$ac_find_libraries"
28553 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28554 LDFLAGS_GL
="$ac_path_to_link"
28559 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28561 for ac_extension
in a so sl dylib
; do
28562 if test -f "$ac_dir/libGLU.$ac_extension"; then
28563 ac_find_libraries
=$ac_dir
28569 if test "$ac_find_libraries" != "" ; then
28571 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28573 if test $result = 0; then
28576 ac_path_to_link
=" -L$ac_find_libraries"
28579 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28580 "$ac_path_to_link" != "$LDFLAGS_GL"; then
28581 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28585 OPENGL_LIBS
="-lGL -lGLU"
28586 echo "$as_me:$LINENO: result: yes" >&5
28587 echo "${ECHO_T}yes" >&6
28591 if test "$found_gl" != 1; then
28592 echo "$as_me:$LINENO: result: no" >&5
28593 echo "${ECHO_T}no" >&6
28594 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
28595 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
28598 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28600 for ac_extension
in a so sl dylib
; do
28601 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28602 ac_find_libraries
=$ac_dir
28608 if test "$ac_find_libraries" != "" ; then
28610 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28612 if test $result = 0; then
28615 ac_path_to_link
=" -L$ac_find_libraries"
28618 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
28619 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
28620 echo "$as_me:$LINENO: result: yes" >&5
28621 echo "${ECHO_T}yes" >&6
28623 echo "$as_me:$LINENO: result: no" >&5
28624 echo "${ECHO_T}no" >&6
28632 if test "x$OPENGL_LIBS" = "x"; then
28633 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
28634 echo "$as_me: error: OpenGL libraries not available" >&2;}
28635 { (exit 1); exit 1; }; }
28639 if test "$wxUSE_OPENGL" = "yes"; then
28641 cat >>confdefs.h
<<\_ACEOF
28642 #define wxUSE_OPENGL 1
28645 cat >>confdefs.h
<<\_ACEOF
28646 #define wxUSE_GLCANVAS 1
28649 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28653 if test -z "$TOOLKIT_VPATH" ; then
28654 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
28657 if test -n "$TOOLKIT" ; then
28658 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28662 lib_unicode_suffix
=
28663 if test "$wxUSE_UNICODE" = "yes"; then
28664 lib_unicode_suffix
=u
28670 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
28676 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28680 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
28682 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
28683 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
28685 if test "$cross_compiling" = "yes"; then
28686 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
28687 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
28688 HOST_SUFFIX
="-${host_alias}"
28691 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
28692 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
28693 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
28694 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
28696 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
28697 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
28699 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
28700 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
28701 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
28702 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
28705 *-*-cygwin* | *-*-mingw32* )
28706 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
28707 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
28712 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
28713 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
28715 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
28716 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
28717 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
28718 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
28720 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28721 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
28722 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
28727 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
28728 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
28730 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
28731 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
28733 if test "$wxUSE_OPENGL" = "yes"; then
28734 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
28735 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
28740 if test "$wxUSE_SHARED" = "yes"; then
28744 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
28745 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28751 if test "$wxUSE_SHARED" = "yes"; then
28755 found_versioning
=no
28758 if test $found_versioning = no
; then
28759 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
28760 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
28761 if test "${wx_cv_version_script+set}" = set; then
28762 echo $ECHO_N "(cached) $ECHO_C" >&6
28765 echo "VER_1 { *; };" >conftest.sym
28766 echo "int main() { return 0; }" >conftest.cpp
28769 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28770 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28772 (eval $ac_try) 2>&5
28774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28775 (exit $ac_status); }; } ; then
28776 if test -s conftest.stderr
; then
28777 wx_cv_version_script
=no
28779 wx_cv_version_script
=yes
28782 wx_cv_version_script
=no
28784 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28787 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
28788 echo "${ECHO_T}$wx_cv_version_script" >&6
28789 if test $wx_cv_version_script = yes ; then
28790 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
28796 *-*-linux* | *-*-gnu* )
28797 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
28801 if test "$GCC" = yes ; then
28802 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
28804 saveLdflags
="$LDFLAGS"
28805 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
28806 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
28807 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
28808 cat >conftest.
$ac_ext <<_ACEOF
28811 cat confdefs.h
>>conftest.
$ac_ext
28812 cat >>conftest.
$ac_ext <<_ACEOF
28813 /* end confdefs.h. */
28823 rm -f conftest.
$ac_objext conftest
$ac_exeext
28824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28825 (eval $ac_link) 2>conftest.er1
28827 grep -v '^ *+' conftest.er1
>conftest.err
28829 cat conftest.err
>&5
28830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28831 (exit $ac_status); } &&
28832 { ac_try
='test -z "$ac_c_werror_flag"
28833 || test ! -s conftest.err'
28834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28835 (eval $ac_try) 2>&5
28837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28838 (exit $ac_status); }; } &&
28839 { ac_try
='test -s conftest$ac_exeext'
28840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28841 (eval $ac_try) 2>&5
28843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28844 (exit $ac_status); }; }; then
28846 echo "$as_me:$LINENO: result: yes" >&5
28847 echo "${ECHO_T}yes" >&6
28848 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
28851 echo "$as_me: failed program was:" >&5
28852 sed 's/^/| /' conftest.
$ac_ext >&5
28855 echo "$as_me:$LINENO: result: no" >&5
28856 echo "${ECHO_T}no" >&6
28857 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
28858 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
28859 LDFLAGS
="$saveLdflags -Wl,-R,/"
28860 cat >conftest.
$ac_ext <<_ACEOF
28863 cat confdefs.h
>>conftest.
$ac_ext
28864 cat >>conftest.
$ac_ext <<_ACEOF
28865 /* end confdefs.h. */
28875 rm -f conftest.
$ac_objext conftest
$ac_exeext
28876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28877 (eval $ac_link) 2>conftest.er1
28879 grep -v '^ *+' conftest.er1
>conftest.err
28881 cat conftest.err
>&5
28882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28883 (exit $ac_status); } &&
28884 { ac_try
='test -z "$ac_c_werror_flag"
28885 || test ! -s conftest.err'
28886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28887 (eval $ac_try) 2>&5
28889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28890 (exit $ac_status); }; } &&
28891 { ac_try
='test -s conftest$ac_exeext'
28892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28893 (eval $ac_try) 2>&5
28895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28896 (exit $ac_status); }; }; then
28898 echo "$as_me:$LINENO: result: yes" >&5
28899 echo "${ECHO_T}yes" >&6
28900 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
28902 echo "$as_me: failed program was:" >&5
28903 sed 's/^/| /' conftest.
$ac_ext >&5
28906 echo "$as_me:$LINENO: result: no" >&5
28907 echo "${ECHO_T}no" >&6
28910 rm -f conftest.err conftest.
$ac_objext \
28911 conftest
$ac_exeext conftest.
$ac_ext
28914 rm -f conftest.err conftest.
$ac_objext \
28915 conftest
$ac_exeext conftest.
$ac_ext
28916 LDFLAGS
="$saveLdflags"
28918 SHARED_LD
="${CXX} -G -o"
28920 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
28924 powerpc
-*-darwin* )
28925 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28926 cat <<EOF >change-install-names
28928 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28929 inst_cmd="install_name_tool "
28930 for i in \${libnames} ; do
28931 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28935 chmod +x change
-install-names
28938 *-*-cygwin* | *-*-mingw32* )
28939 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28944 if test "x$WX_TARGET_LIBRARY" = "x"; then
28945 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
28946 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
28949 WX_TARGET_LIBRARY_TYPE
="so"
28950 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
28953 if test "$wxUSE_SHARED" = "no"; then
28955 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
28956 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
28959 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
28960 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
28963 if test "$wxUSE_OPENGL" = "yes"; then
28964 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
28965 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
28967 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
28970 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
28971 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
28973 WX_TARGET_LIBRARY_TYPE
="a"
28974 INSTALL_LIBRARY
='$(INSTALL_DATA)'
28981 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28982 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28983 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
28984 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
28986 # Extract the first word of "Rez", so it can be a program name with args.
28987 set dummy Rez
; ac_word
=$2
28988 echo "$as_me:$LINENO: checking for $ac_word" >&5
28989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28990 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28991 echo $ECHO_N "(cached) $ECHO_C" >&6
28993 if test -n "$RESCOMP"; then
28994 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
28996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28997 for as_dir
in $PATH
29000 test -z "$as_dir" && as_dir
=.
29001 for ac_exec_ext
in '' $ac_executable_extensions; do
29002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29003 ac_cv_prog_RESCOMP
="Rez"
29004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29010 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
29013 RESCOMP
=$ac_cv_prog_RESCOMP
29014 if test -n "$RESCOMP"; then
29015 echo "$as_me:$LINENO: result: $RESCOMP" >&5
29016 echo "${ECHO_T}$RESCOMP" >&6
29018 echo "$as_me:$LINENO: result: no" >&5
29019 echo "${ECHO_T}no" >&6
29022 # Extract the first word of "DeRez", so it can be a program name with args.
29023 set dummy DeRez
; ac_word
=$2
29024 echo "$as_me:$LINENO: checking for $ac_word" >&5
29025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29026 if test "${ac_cv_prog_DEREZ+set}" = set; then
29027 echo $ECHO_N "(cached) $ECHO_C" >&6
29029 if test -n "$DEREZ"; then
29030 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
29032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29033 for as_dir
in $PATH
29036 test -z "$as_dir" && as_dir
=.
29037 for ac_exec_ext
in '' $ac_executable_extensions; do
29038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29039 ac_cv_prog_DEREZ
="DeRez"
29040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29046 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
29049 DEREZ
=$ac_cv_prog_DEREZ
29050 if test -n "$DEREZ"; then
29051 echo "$as_me:$LINENO: result: $DEREZ" >&5
29052 echo "${ECHO_T}$DEREZ" >&6
29054 echo "$as_me:$LINENO: result: no" >&5
29055 echo "${ECHO_T}no" >&6
29058 # Extract the first word of "SetFile", so it can be a program name with args.
29059 set dummy SetFile
; ac_word
=$2
29060 echo "$as_me:$LINENO: checking for $ac_word" >&5
29061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29062 if test "${ac_cv_prog_SETFILE+set}" = set; then
29063 echo $ECHO_N "(cached) $ECHO_C" >&6
29065 if test -n "$SETFILE"; then
29066 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
29068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29069 for as_dir
in $PATH
29072 test -z "$as_dir" && as_dir
=.
29073 for ac_exec_ext
in '' $ac_executable_extensions; do
29074 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29075 ac_cv_prog_SETFILE
="SetFile"
29076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29082 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
29085 SETFILE
=$ac_cv_prog_SETFILE
29086 if test -n "$SETFILE"; then
29087 echo "$as_me:$LINENO: result: $SETFILE" >&5
29088 echo "${ECHO_T}$SETFILE" >&6
29090 echo "$as_me:$LINENO: result: no" >&5
29091 echo "${ECHO_T}no" >&6
29095 MACSETFILE
="\$(SETFILE)"
29097 if test "$wxUSE_MAC" = 1; then
29098 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
29100 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29102 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
29103 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29109 if test "$wxUSE_PM" = 1; then
29110 MACRESCOMP
="emxbind -ep"
29118 echo "$as_me:$LINENO: checking for mode_t" >&5
29119 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
29120 if test "${ac_cv_type_mode_t+set}" = set; then
29121 echo $ECHO_N "(cached) $ECHO_C" >&6
29123 cat >conftest.
$ac_ext <<_ACEOF
29126 cat confdefs.h
>>conftest.
$ac_ext
29127 cat >>conftest.
$ac_ext <<_ACEOF
29128 /* end confdefs.h. */
29129 $ac_includes_default
29135 if (sizeof (mode_t))
29141 rm -f conftest.
$ac_objext
29142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29143 (eval $ac_compile) 2>conftest.er1
29145 grep -v '^ *+' conftest.er1
>conftest.err
29147 cat conftest.err
>&5
29148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29149 (exit $ac_status); } &&
29150 { ac_try
='test -z "$ac_c_werror_flag"
29151 || test ! -s conftest.err'
29152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29153 (eval $ac_try) 2>&5
29155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29156 (exit $ac_status); }; } &&
29157 { ac_try
='test -s conftest.$ac_objext'
29158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29159 (eval $ac_try) 2>&5
29161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29162 (exit $ac_status); }; }; then
29163 ac_cv_type_mode_t
=yes
29165 echo "$as_me: failed program was:" >&5
29166 sed 's/^/| /' conftest.
$ac_ext >&5
29168 ac_cv_type_mode_t
=no
29170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29172 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
29173 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
29174 if test $ac_cv_type_mode_t = yes; then
29178 cat >>confdefs.h
<<_ACEOF
29184 echo "$as_me:$LINENO: checking for off_t" >&5
29185 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
29186 if test "${ac_cv_type_off_t+set}" = set; then
29187 echo $ECHO_N "(cached) $ECHO_C" >&6
29189 cat >conftest.
$ac_ext <<_ACEOF
29192 cat confdefs.h
>>conftest.
$ac_ext
29193 cat >>conftest.
$ac_ext <<_ACEOF
29194 /* end confdefs.h. */
29195 $ac_includes_default
29201 if (sizeof (off_t))
29207 rm -f conftest.
$ac_objext
29208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29209 (eval $ac_compile) 2>conftest.er1
29211 grep -v '^ *+' conftest.er1
>conftest.err
29213 cat conftest.err
>&5
29214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29215 (exit $ac_status); } &&
29216 { ac_try
='test -z "$ac_c_werror_flag"
29217 || test ! -s conftest.err'
29218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29219 (eval $ac_try) 2>&5
29221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29222 (exit $ac_status); }; } &&
29223 { ac_try
='test -s conftest.$ac_objext'
29224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29225 (eval $ac_try) 2>&5
29227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29228 (exit $ac_status); }; }; then
29229 ac_cv_type_off_t
=yes
29231 echo "$as_me: failed program was:" >&5
29232 sed 's/^/| /' conftest.
$ac_ext >&5
29234 ac_cv_type_off_t
=no
29236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29238 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
29239 echo "${ECHO_T}$ac_cv_type_off_t" >&6
29240 if test $ac_cv_type_off_t = yes; then
29244 cat >>confdefs.h
<<_ACEOF
29250 echo "$as_me:$LINENO: checking for pid_t" >&5
29251 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
29252 if test "${ac_cv_type_pid_t+set}" = set; then
29253 echo $ECHO_N "(cached) $ECHO_C" >&6
29255 cat >conftest.
$ac_ext <<_ACEOF
29258 cat confdefs.h
>>conftest.
$ac_ext
29259 cat >>conftest.
$ac_ext <<_ACEOF
29260 /* end confdefs.h. */
29261 $ac_includes_default
29267 if (sizeof (pid_t))
29273 rm -f conftest.
$ac_objext
29274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29275 (eval $ac_compile) 2>conftest.er1
29277 grep -v '^ *+' conftest.er1
>conftest.err
29279 cat conftest.err
>&5
29280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29281 (exit $ac_status); } &&
29282 { ac_try
='test -z "$ac_c_werror_flag"
29283 || test ! -s conftest.err'
29284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29285 (eval $ac_try) 2>&5
29287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29288 (exit $ac_status); }; } &&
29289 { ac_try
='test -s conftest.$ac_objext'
29290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29291 (eval $ac_try) 2>&5
29293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29294 (exit $ac_status); }; }; then
29295 ac_cv_type_pid_t
=yes
29297 echo "$as_me: failed program was:" >&5
29298 sed 's/^/| /' conftest.
$ac_ext >&5
29300 ac_cv_type_pid_t
=no
29302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29304 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
29305 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
29306 if test $ac_cv_type_pid_t = yes; then
29310 cat >>confdefs.h
<<_ACEOF
29316 echo "$as_me:$LINENO: checking for size_t" >&5
29317 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
29318 if test "${ac_cv_type_size_t+set}" = set; then
29319 echo $ECHO_N "(cached) $ECHO_C" >&6
29321 cat >conftest.
$ac_ext <<_ACEOF
29324 cat confdefs.h
>>conftest.
$ac_ext
29325 cat >>conftest.
$ac_ext <<_ACEOF
29326 /* end confdefs.h. */
29327 $ac_includes_default
29333 if (sizeof (size_t))
29339 rm -f conftest.
$ac_objext
29340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29341 (eval $ac_compile) 2>conftest.er1
29343 grep -v '^ *+' conftest.er1
>conftest.err
29345 cat conftest.err
>&5
29346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29347 (exit $ac_status); } &&
29348 { ac_try
='test -z "$ac_c_werror_flag"
29349 || test ! -s conftest.err'
29350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29351 (eval $ac_try) 2>&5
29353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29354 (exit $ac_status); }; } &&
29355 { ac_try
='test -s conftest.$ac_objext'
29356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29357 (eval $ac_try) 2>&5
29359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29360 (exit $ac_status); }; }; then
29361 ac_cv_type_size_t
=yes
29363 echo "$as_me: failed program was:" >&5
29364 sed 's/^/| /' conftest.
$ac_ext >&5
29366 ac_cv_type_size_t
=no
29368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29370 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29371 echo "${ECHO_T}$ac_cv_type_size_t" >&6
29372 if test $ac_cv_type_size_t = yes; then
29376 cat >>confdefs.h
<<_ACEOF
29377 #define size_t unsigned
29382 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
29383 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
29384 if test "${ac_cv_type_uid_t+set}" = set; then
29385 echo $ECHO_N "(cached) $ECHO_C" >&6
29387 cat >conftest.
$ac_ext <<_ACEOF
29390 cat confdefs.h
>>conftest.
$ac_ext
29391 cat >>conftest.
$ac_ext <<_ACEOF
29392 /* end confdefs.h. */
29393 #include <sys/types.h>
29396 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29397 $EGREP "uid_t" >/dev
/null
2>&1; then
29398 ac_cv_type_uid_t
=yes
29400 ac_cv_type_uid_t
=no
29405 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
29406 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
29407 if test $ac_cv_type_uid_t = no
; then
29409 cat >>confdefs.h
<<\_ACEOF
29414 cat >>confdefs.h
<<\_ACEOF
29424 ac_cpp
='$CXXCPP $CPPFLAGS'
29425 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29426 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29427 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29429 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
29430 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
29431 if test "${wx_cv_size_t_is_uint+set}" = set; then
29432 echo $ECHO_N "(cached) $ECHO_C" >&6
29435 cat >conftest.
$ac_ext <<_ACEOF
29438 cat confdefs.h
>>conftest.
$ac_ext
29439 cat >>conftest.
$ac_ext <<_ACEOF
29440 /* end confdefs.h. */
29441 #include <stddef.h>
29448 struct Foo { void foo(size_t); void foo(unsigned int); };
29456 rm -f conftest.
$ac_objext
29457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29458 (eval $ac_compile) 2>conftest.er1
29460 grep -v '^ *+' conftest.er1
>conftest.err
29462 cat conftest.err
>&5
29463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29464 (exit $ac_status); } &&
29465 { ac_try
='test -z "$ac_cxx_werror_flag"
29466 || test ! -s conftest.err'
29467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29468 (eval $ac_try) 2>&5
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); }; } &&
29472 { ac_try
='test -s conftest.$ac_objext'
29473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29474 (eval $ac_try) 2>&5
29476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29477 (exit $ac_status); }; }; then
29478 wx_cv_size_t_is_uint
=no
29480 echo "$as_me: failed program was:" >&5
29481 sed 's/^/| /' conftest.
$ac_ext >&5
29483 wx_cv_size_t_is_uint
=yes
29486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29490 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
29491 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
29493 if test "$wx_cv_size_t_is_uint" = "yes"; then
29494 cat >>confdefs.h
<<\_ACEOF
29495 #define wxSIZE_T_IS_UINT 1
29499 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
29500 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
29501 if test "${wx_cv_size_t_is_ulong+set}" = set; then
29502 echo $ECHO_N "(cached) $ECHO_C" >&6
29504 cat >conftest.
$ac_ext <<_ACEOF
29507 cat confdefs.h
>>conftest.
$ac_ext
29508 cat >>conftest.
$ac_ext <<_ACEOF
29509 /* end confdefs.h. */
29510 #include <stddef.h>
29517 struct Foo { void foo(size_t); void foo(unsigned long); };
29525 rm -f conftest.
$ac_objext
29526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29527 (eval $ac_compile) 2>conftest.er1
29529 grep -v '^ *+' conftest.er1
>conftest.err
29531 cat conftest.err
>&5
29532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29533 (exit $ac_status); } &&
29534 { ac_try
='test -z "$ac_cxx_werror_flag"
29535 || test ! -s conftest.err'
29536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29537 (eval $ac_try) 2>&5
29539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29540 (exit $ac_status); }; } &&
29541 { ac_try
='test -s conftest.$ac_objext'
29542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29543 (eval $ac_try) 2>&5
29545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29546 (exit $ac_status); }; }; then
29547 wx_cv_size_t_is_ulong
=no
29549 echo "$as_me: failed program was:" >&5
29550 sed 's/^/| /' conftest.
$ac_ext >&5
29552 wx_cv_size_t_is_ulong
=yes
29555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29558 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
29559 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
29561 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29562 cat >>confdefs.h
<<\_ACEOF
29563 #define wxSIZE_T_IS_ULONG 1
29570 ac_cpp
='$CPP $CPPFLAGS'
29571 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29572 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29573 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29577 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
29578 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
29579 if test "${wx_cv_struct_pw_gecos+set}" = set; then
29580 echo $ECHO_N "(cached) $ECHO_C" >&6
29583 cat >conftest.
$ac_ext <<_ACEOF
29586 cat confdefs.h
>>conftest.
$ac_ext
29587 cat >>conftest.
$ac_ext <<_ACEOF
29588 /* end confdefs.h. */
29602 rm -f conftest.
$ac_objext
29603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29604 (eval $ac_compile) 2>conftest.er1
29606 grep -v '^ *+' conftest.er1
>conftest.err
29608 cat conftest.err
>&5
29609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29610 (exit $ac_status); } &&
29611 { ac_try
='test -z "$ac_c_werror_flag"
29612 || test ! -s conftest.err'
29613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29614 (eval $ac_try) 2>&5
29616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29617 (exit $ac_status); }; } &&
29618 { ac_try
='test -s conftest.$ac_objext'
29619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29620 (eval $ac_try) 2>&5
29622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29623 (exit $ac_status); }; }; then
29625 wx_cv_struct_pw_gecos
=yes
29628 echo "$as_me: failed program was:" >&5
29629 sed 's/^/| /' conftest.
$ac_ext >&5
29632 wx_cv_struct_pw_gecos
=no
29636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29640 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
29641 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
29643 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29644 cat >>confdefs.h
<<\_ACEOF
29645 #define HAVE_PW_GECOS 1
29651 if test "$wx_cv_sizeof_wchar_t" != "0"; then
29652 cat >>confdefs.h
<<\_ACEOF
29653 #define wxUSE_WCHAR_T 1
29660 for ac_func
in wcslen
29662 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29663 echo "$as_me:$LINENO: checking for $ac_func" >&5
29664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29665 if eval "test \"\${$as_ac_var+set}\" = set"; then
29666 echo $ECHO_N "(cached) $ECHO_C" >&6
29668 cat >conftest.
$ac_ext <<_ACEOF
29671 cat confdefs.h
>>conftest.
$ac_ext
29672 cat >>conftest.
$ac_ext <<_ACEOF
29673 /* end confdefs.h. */
29674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29676 #define $ac_func innocuous_$ac_func
29678 /* System header to define __stub macros and hopefully few prototypes,
29679 which can conflict with char $ac_func (); below.
29680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29681 <limits.h> exists even on freestanding compilers. */
29684 # include <limits.h>
29686 # include <assert.h>
29691 /* Override any gcc2 internal prototype to avoid an error. */
29696 /* We use char because int might match the return type of a gcc2
29697 builtin and then its argument prototype would still apply. */
29699 /* The GNU C library defines this for functions which it implements
29700 to always fail with ENOSYS. Some functions are actually named
29701 something starting with __ and the normal name is an alias. */
29702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29705 char (*f) () = $ac_func;
29714 return f != $ac_func;
29719 rm -f conftest.
$ac_objext conftest
$ac_exeext
29720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29721 (eval $ac_link) 2>conftest.er1
29723 grep -v '^ *+' conftest.er1
>conftest.err
29725 cat conftest.err
>&5
29726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29727 (exit $ac_status); } &&
29728 { ac_try
='test -z "$ac_c_werror_flag"
29729 || test ! -s conftest.err'
29730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29731 (eval $ac_try) 2>&5
29733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29734 (exit $ac_status); }; } &&
29735 { ac_try
='test -s conftest$ac_exeext'
29736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29737 (eval $ac_try) 2>&5
29739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29740 (exit $ac_status); }; }; then
29741 eval "$as_ac_var=yes"
29743 echo "$as_me: failed program was:" >&5
29744 sed 's/^/| /' conftest.
$ac_ext >&5
29746 eval "$as_ac_var=no"
29748 rm -f conftest.err conftest.
$ac_objext \
29749 conftest
$ac_exeext conftest.
$ac_ext
29751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29753 if test `eval echo '${'$as_ac_var'}'` = yes; then
29754 cat >>confdefs.h
<<_ACEOF
29755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29762 if test "$WCSLEN_FOUND" = 0; then
29763 if test "$TOOLKIT" = "MSW"; then
29764 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
29765 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
29766 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
29767 echo $ECHO_N "(cached) $ECHO_C" >&6
29769 ac_check_lib_save_LIBS
=$LIBS
29770 LIBS
="-lmsvcrt $LIBS"
29771 cat >conftest.
$ac_ext <<_ACEOF
29774 cat confdefs.h
>>conftest.
$ac_ext
29775 cat >>conftest.
$ac_ext <<_ACEOF
29776 /* end confdefs.h. */
29778 /* Override any gcc2 internal prototype to avoid an error. */
29782 /* We use char because int might match the return type of a gcc2
29783 builtin and then its argument prototype would still apply. */
29793 rm -f conftest.
$ac_objext conftest
$ac_exeext
29794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29795 (eval $ac_link) 2>conftest.er1
29797 grep -v '^ *+' conftest.er1
>conftest.err
29799 cat conftest.err
>&5
29800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29801 (exit $ac_status); } &&
29802 { ac_try
='test -z "$ac_c_werror_flag"
29803 || test ! -s conftest.err'
29804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29805 (eval $ac_try) 2>&5
29807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808 (exit $ac_status); }; } &&
29809 { ac_try
='test -s conftest$ac_exeext'
29810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29811 (eval $ac_try) 2>&5
29813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29814 (exit $ac_status); }; }; then
29815 ac_cv_lib_msvcrt_wcslen
=yes
29817 echo "$as_me: failed program was:" >&5
29818 sed 's/^/| /' conftest.
$ac_ext >&5
29820 ac_cv_lib_msvcrt_wcslen
=no
29822 rm -f conftest.err conftest.
$ac_objext \
29823 conftest
$ac_exeext conftest.
$ac_ext
29824 LIBS
=$ac_check_lib_save_LIBS
29826 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
29827 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
29828 if test $ac_cv_lib_msvcrt_wcslen = yes; then
29833 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
29834 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
29835 if test "${ac_cv_lib_w_wcslen+set}" = set; then
29836 echo $ECHO_N "(cached) $ECHO_C" >&6
29838 ac_check_lib_save_LIBS
=$LIBS
29840 cat >conftest.
$ac_ext <<_ACEOF
29843 cat confdefs.h
>>conftest.
$ac_ext
29844 cat >>conftest.
$ac_ext <<_ACEOF
29845 /* end confdefs.h. */
29847 /* Override any gcc2 internal prototype to avoid an error. */
29851 /* We use char because int might match the return type of a gcc2
29852 builtin and then its argument prototype would still apply. */
29862 rm -f conftest.
$ac_objext conftest
$ac_exeext
29863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29864 (eval $ac_link) 2>conftest.er1
29866 grep -v '^ *+' conftest.er1
>conftest.err
29868 cat conftest.err
>&5
29869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29870 (exit $ac_status); } &&
29871 { ac_try
='test -z "$ac_c_werror_flag"
29872 || test ! -s conftest.err'
29873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29874 (eval $ac_try) 2>&5
29876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29877 (exit $ac_status); }; } &&
29878 { ac_try
='test -s conftest$ac_exeext'
29879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29880 (eval $ac_try) 2>&5
29882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29883 (exit $ac_status); }; }; then
29884 ac_cv_lib_w_wcslen
=yes
29886 echo "$as_me: failed program was:" >&5
29887 sed 's/^/| /' conftest.
$ac_ext >&5
29889 ac_cv_lib_w_wcslen
=no
29891 rm -f conftest.err conftest.
$ac_objext \
29892 conftest
$ac_exeext conftest.
$ac_ext
29893 LIBS
=$ac_check_lib_save_LIBS
29895 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29896 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29897 if test $ac_cv_lib_w_wcslen = yes; then
29907 if test "$WCSLEN_FOUND" = 1; then
29908 cat >>confdefs.h
<<\_ACEOF
29909 #define HAVE_WCSLEN 1
29914 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
29915 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29919 for ac_func
in wcsrtombs
29921 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29922 echo "$as_me:$LINENO: checking for $ac_func" >&5
29923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29924 if eval "test \"\${$as_ac_var+set}\" = set"; then
29925 echo $ECHO_N "(cached) $ECHO_C" >&6
29927 cat >conftest.
$ac_ext <<_ACEOF
29930 cat confdefs.h
>>conftest.
$ac_ext
29931 cat >>conftest.
$ac_ext <<_ACEOF
29932 /* end confdefs.h. */
29933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29935 #define $ac_func innocuous_$ac_func
29937 /* System header to define __stub macros and hopefully few prototypes,
29938 which can conflict with char $ac_func (); below.
29939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29940 <limits.h> exists even on freestanding compilers. */
29943 # include <limits.h>
29945 # include <assert.h>
29950 /* Override any gcc2 internal prototype to avoid an error. */
29955 /* We use char because int might match the return type of a gcc2
29956 builtin and then its argument prototype would still apply. */
29958 /* The GNU C library defines this for functions which it implements
29959 to always fail with ENOSYS. Some functions are actually named
29960 something starting with __ and the normal name is an alias. */
29961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29964 char (*f) () = $ac_func;
29973 return f != $ac_func;
29978 rm -f conftest.
$ac_objext conftest
$ac_exeext
29979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29980 (eval $ac_link) 2>conftest.er1
29982 grep -v '^ *+' conftest.er1
>conftest.err
29984 cat conftest.err
>&5
29985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29986 (exit $ac_status); } &&
29987 { ac_try
='test -z "$ac_c_werror_flag"
29988 || test ! -s conftest.err'
29989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29990 (eval $ac_try) 2>&5
29992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29993 (exit $ac_status); }; } &&
29994 { ac_try
='test -s conftest$ac_exeext'
29995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29996 (eval $ac_try) 2>&5
29998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29999 (exit $ac_status); }; }; then
30000 eval "$as_ac_var=yes"
30002 echo "$as_me: failed program was:" >&5
30003 sed 's/^/| /' conftest.
$ac_ext >&5
30005 eval "$as_ac_var=no"
30007 rm -f conftest.err conftest.
$ac_objext \
30008 conftest
$ac_exeext conftest.
$ac_ext
30010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30012 if test `eval echo '${'$as_ac_var'}'` = yes; then
30013 cat >>confdefs.h
<<_ACEOF
30014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30021 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
30022 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
30028 ac_cpp
='$CXXCPP $CPPFLAGS'
30029 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30030 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30031 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30035 for ac_func
in vsnprintf
30037 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30038 echo "$as_me:$LINENO: checking for $ac_func" >&5
30039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30040 if eval "test \"\${$as_ac_var+set}\" = set"; then
30041 echo $ECHO_N "(cached) $ECHO_C" >&6
30043 cat >conftest.
$ac_ext <<_ACEOF
30046 cat confdefs.h
>>conftest.
$ac_ext
30047 cat >>conftest.
$ac_ext <<_ACEOF
30048 /* end confdefs.h. */
30049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30051 #define $ac_func innocuous_$ac_func
30053 /* System header to define __stub macros and hopefully few prototypes,
30054 which can conflict with char $ac_func (); below.
30055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30056 <limits.h> exists even on freestanding compilers. */
30059 # include <limits.h>
30061 # include <assert.h>
30066 /* Override any gcc2 internal prototype to avoid an error. */
30071 /* We use char because int might match the return type of a gcc2
30072 builtin and then its argument prototype would still apply. */
30074 /* The GNU C library defines this for functions which it implements
30075 to always fail with ENOSYS. Some functions are actually named
30076 something starting with __ and the normal name is an alias. */
30077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30080 char (*f) () = $ac_func;
30089 return f != $ac_func;
30094 rm -f conftest.
$ac_objext conftest
$ac_exeext
30095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30096 (eval $ac_link) 2>conftest.er1
30098 grep -v '^ *+' conftest.er1
>conftest.err
30100 cat conftest.err
>&5
30101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30102 (exit $ac_status); } &&
30103 { ac_try
='test -z "$ac_cxx_werror_flag"
30104 || test ! -s conftest.err'
30105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30106 (eval $ac_try) 2>&5
30108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30109 (exit $ac_status); }; } &&
30110 { ac_try
='test -s conftest$ac_exeext'
30111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30112 (eval $ac_try) 2>&5
30114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30115 (exit $ac_status); }; }; then
30116 eval "$as_ac_var=yes"
30118 echo "$as_me: failed program was:" >&5
30119 sed 's/^/| /' conftest.
$ac_ext >&5
30121 eval "$as_ac_var=no"
30123 rm -f conftest.err conftest.
$ac_objext \
30124 conftest
$ac_exeext conftest.
$ac_ext
30126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30128 if test `eval echo '${'$as_ac_var'}'` = yes; then
30129 cat >>confdefs.h
<<_ACEOF
30130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30137 if test "$ac_cv_func_vsnprintf" = "yes"; then
30138 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
30139 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
30140 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
30141 echo $ECHO_N "(cached) $ECHO_C" >&6
30144 cat >conftest.
$ac_ext <<_ACEOF
30147 cat confdefs.h
>>conftest.
$ac_ext
30148 cat >>conftest.
$ac_ext <<_ACEOF
30149 /* end confdefs.h. */
30152 #include <stdarg.h>
30160 vsnprintf(buf, 10u, "%s", ap);
30166 rm -f conftest.
$ac_objext
30167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30168 (eval $ac_compile) 2>conftest.er1
30170 grep -v '^ *+' conftest.er1
>conftest.err
30172 cat conftest.err
>&5
30173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30174 (exit $ac_status); } &&
30175 { ac_try
='test -z "$ac_cxx_werror_flag"
30176 || test ! -s conftest.err'
30177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30178 (eval $ac_try) 2>&5
30180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30181 (exit $ac_status); }; } &&
30182 { ac_try
='test -s conftest.$ac_objext'
30183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30184 (eval $ac_try) 2>&5
30186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30187 (exit $ac_status); }; }; then
30188 wx_cv_func_vsnprintf_decl
=yes
30190 echo "$as_me: failed program was:" >&5
30191 sed 's/^/| /' conftest.
$ac_ext >&5
30193 wx_cv_func_vsnprintf_decl
=no
30196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30200 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
30201 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
30203 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
30204 cat >>confdefs.h
<<\_ACEOF
30205 #define HAVE_VSNPRINTF_DECL 1
30211 if test "$wxUSE_UNICODE" = yes; then
30218 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
30220 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30221 echo "$as_me:$LINENO: checking for $ac_func" >&5
30222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30223 if eval "test \"\${$as_ac_var+set}\" = set"; then
30224 echo $ECHO_N "(cached) $ECHO_C" >&6
30226 cat >conftest.
$ac_ext <<_ACEOF
30229 cat confdefs.h
>>conftest.
$ac_ext
30230 cat >>conftest.
$ac_ext <<_ACEOF
30231 /* end confdefs.h. */
30232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30234 #define $ac_func innocuous_$ac_func
30236 /* System header to define __stub macros and hopefully few prototypes,
30237 which can conflict with char $ac_func (); below.
30238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30239 <limits.h> exists even on freestanding compilers. */
30242 # include <limits.h>
30244 # include <assert.h>
30249 /* Override any gcc2 internal prototype to avoid an error. */
30254 /* We use char because int might match the return type of a gcc2
30255 builtin and then its argument prototype would still apply. */
30257 /* The GNU C library defines this for functions which it implements
30258 to always fail with ENOSYS. Some functions are actually named
30259 something starting with __ and the normal name is an alias. */
30260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30263 char (*f) () = $ac_func;
30272 return f != $ac_func;
30277 rm -f conftest.
$ac_objext conftest
$ac_exeext
30278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30279 (eval $ac_link) 2>conftest.er1
30281 grep -v '^ *+' conftest.er1
>conftest.err
30283 cat conftest.err
>&5
30284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30285 (exit $ac_status); } &&
30286 { ac_try
='test -z "$ac_cxx_werror_flag"
30287 || test ! -s conftest.err'
30288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30289 (eval $ac_try) 2>&5
30291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30292 (exit $ac_status); }; } &&
30293 { ac_try
='test -s conftest$ac_exeext'
30294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30295 (eval $ac_try) 2>&5
30297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30298 (exit $ac_status); }; }; then
30299 eval "$as_ac_var=yes"
30301 echo "$as_me: failed program was:" >&5
30302 sed 's/^/| /' conftest.
$ac_ext >&5
30304 eval "$as_ac_var=no"
30306 rm -f conftest.err conftest.
$ac_objext \
30307 conftest
$ac_exeext conftest.
$ac_ext
30309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30311 if test `eval echo '${'$as_ac_var'}'` = yes; then
30312 cat >>confdefs.h
<<_ACEOF
30313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30320 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
30321 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
30322 cat >conftest.
$ac_ext <<_ACEOF
30325 cat confdefs.h
>>conftest.
$ac_ext
30326 cat >>conftest.
$ac_ext <<_ACEOF
30327 /* end confdefs.h. */
30337 rm -f conftest.
$ac_objext
30338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30339 (eval $ac_compile) 2>conftest.er1
30341 grep -v '^ *+' conftest.er1
>conftest.err
30343 cat conftest.err
>&5
30344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30345 (exit $ac_status); } &&
30346 { ac_try
='test -z "$ac_cxx_werror_flag"
30347 || test ! -s conftest.err'
30348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30349 (eval $ac_try) 2>&5
30351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30352 (exit $ac_status); }; } &&
30353 { ac_try
='test -s conftest.$ac_objext'
30354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30355 (eval $ac_try) 2>&5
30357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30358 (exit $ac_status); }; }; then
30359 echo "$as_me:$LINENO: result: yes" >&5
30360 echo "${ECHO_T}yes" >&6
30361 cat >>confdefs.h
<<\_ACEOF
30362 #define HAVE__VSNWPRINTF 1
30366 echo "$as_me: failed program was:" >&5
30367 sed 's/^/| /' conftest.
$ac_ext >&5
30369 echo "$as_me:$LINENO: result: no" >&5
30370 echo "${ECHO_T}no" >&6
30372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
30376 ac_cpp
='$CPP $CPPFLAGS'
30377 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30378 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30379 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30384 if test "$TOOLKIT" != "MSW"; then
30390 ac_cpp
='$CXXCPP $CPPFLAGS'
30391 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30392 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30393 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30398 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
30399 if test "${with_libiconv_prefix+set}" = set; then
30400 withval
="$with_libiconv_prefix"
30402 for dir
in `echo "$withval" | tr : ' '`; do
30403 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
30404 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
30409 echo "$as_me:$LINENO: checking for iconv" >&5
30410 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
30411 if test "${am_cv_func_iconv+set}" = set; then
30412 echo $ECHO_N "(cached) $ECHO_C" >&6
30415 am_cv_func_iconv
="no, consider installing GNU libiconv"
30417 cat >conftest.
$ac_ext <<_ACEOF
30420 cat confdefs.h
>>conftest.
$ac_ext
30421 cat >>conftest.
$ac_ext <<_ACEOF
30422 /* end confdefs.h. */
30423 #include <stdlib.h>
30428 iconv_t cd = iconv_open("","");
30429 iconv(cd,NULL,NULL,NULL,NULL);
30435 rm -f conftest.
$ac_objext conftest
$ac_exeext
30436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30437 (eval $ac_link) 2>conftest.er1
30439 grep -v '^ *+' conftest.er1
>conftest.err
30441 cat conftest.err
>&5
30442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30443 (exit $ac_status); } &&
30444 { ac_try
='test -z "$ac_cxx_werror_flag"
30445 || test ! -s conftest.err'
30446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30447 (eval $ac_try) 2>&5
30449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30450 (exit $ac_status); }; } &&
30451 { ac_try
='test -s conftest$ac_exeext'
30452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30453 (eval $ac_try) 2>&5
30455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30456 (exit $ac_status); }; }; then
30457 am_cv_func_iconv
=yes
30459 echo "$as_me: failed program was:" >&5
30460 sed 's/^/| /' conftest.
$ac_ext >&5
30463 rm -f conftest.err conftest.
$ac_objext \
30464 conftest
$ac_exeext conftest.
$ac_ext
30465 if test "$am_cv_func_iconv" != yes; then
30466 am_save_LIBS
="$LIBS"
30467 LIBS
="$LIBS -liconv"
30468 cat >conftest.
$ac_ext <<_ACEOF
30471 cat confdefs.h
>>conftest.
$ac_ext
30472 cat >>conftest.
$ac_ext <<_ACEOF
30473 /* end confdefs.h. */
30474 #include <stdlib.h>
30479 iconv_t cd = iconv_open("","");
30480 iconv(cd,NULL,NULL,NULL,NULL);
30486 rm -f conftest.
$ac_objext conftest
$ac_exeext
30487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30488 (eval $ac_link) 2>conftest.er1
30490 grep -v '^ *+' conftest.er1
>conftest.err
30492 cat conftest.err
>&5
30493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30494 (exit $ac_status); } &&
30495 { ac_try
='test -z "$ac_cxx_werror_flag"
30496 || test ! -s conftest.err'
30497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30498 (eval $ac_try) 2>&5
30500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30501 (exit $ac_status); }; } &&
30502 { ac_try
='test -s conftest$ac_exeext'
30503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30504 (eval $ac_try) 2>&5
30506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30507 (exit $ac_status); }; }; then
30508 am_cv_lib_iconv
=yes
30509 am_cv_func_iconv
=yes
30511 echo "$as_me: failed program was:" >&5
30512 sed 's/^/| /' conftest.
$ac_ext >&5
30515 rm -f conftest.err conftest.
$ac_objext \
30516 conftest
$ac_exeext conftest.
$ac_ext
30517 LIBS
="$am_save_LIBS"
30521 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
30522 echo "${ECHO_T}$am_cv_func_iconv" >&6
30523 if test "$am_cv_func_iconv" = yes; then
30525 cat >>confdefs.h
<<\_ACEOF
30526 #define HAVE_ICONV 1
30529 echo "$as_me:$LINENO: checking if iconv needs const" >&5
30530 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
30531 if test "${wx_cv_func_iconv_const+set}" = set; then
30532 echo $ECHO_N "(cached) $ECHO_C" >&6
30534 cat >conftest.
$ac_ext <<_ACEOF
30537 cat confdefs.h
>>conftest.
$ac_ext
30538 cat >>conftest.
$ac_ext <<_ACEOF
30539 /* end confdefs.h. */
30541 #include <stdlib.h>
30547 #if defined(__STDC__) || defined(__cplusplus)
30548 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30561 rm -f conftest.
$ac_objext
30562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30563 (eval $ac_compile) 2>conftest.er1
30565 grep -v '^ *+' conftest.er1
>conftest.err
30567 cat conftest.err
>&5
30568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30569 (exit $ac_status); } &&
30570 { ac_try
='test -z "$ac_cxx_werror_flag"
30571 || test ! -s conftest.err'
30572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30573 (eval $ac_try) 2>&5
30575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30576 (exit $ac_status); }; } &&
30577 { ac_try
='test -s conftest.$ac_objext'
30578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30579 (eval $ac_try) 2>&5
30581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30582 (exit $ac_status); }; }; then
30583 wx_cv_func_iconv_const
="no"
30585 echo "$as_me: failed program was:" >&5
30586 sed 's/^/| /' conftest.
$ac_ext >&5
30588 wx_cv_func_iconv_const
="yes"
30591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30594 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
30595 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
30598 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30599 iconv_const
="const"
30603 cat >>confdefs.h
<<_ACEOF
30604 #define ICONV_CONST $iconv_const
30609 if test "$am_cv_lib_iconv" = yes; then
30614 LIBS
="$LIBICONV $LIBS"
30616 ac_cpp
='$CPP $CPPFLAGS'
30617 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30618 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30619 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30622 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30624 for ac_func
in sigaction
30626 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30627 echo "$as_me:$LINENO: checking for $ac_func" >&5
30628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30629 if eval "test \"\${$as_ac_var+set}\" = set"; then
30630 echo $ECHO_N "(cached) $ECHO_C" >&6
30632 cat >conftest.
$ac_ext <<_ACEOF
30635 cat confdefs.h
>>conftest.
$ac_ext
30636 cat >>conftest.
$ac_ext <<_ACEOF
30637 /* end confdefs.h. */
30638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30640 #define $ac_func innocuous_$ac_func
30642 /* System header to define __stub macros and hopefully few prototypes,
30643 which can conflict with char $ac_func (); below.
30644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30645 <limits.h> exists even on freestanding compilers. */
30648 # include <limits.h>
30650 # include <assert.h>
30655 /* Override any gcc2 internal prototype to avoid an error. */
30660 /* We use char because int might match the return type of a gcc2
30661 builtin and then its argument prototype would still apply. */
30663 /* The GNU C library defines this for functions which it implements
30664 to always fail with ENOSYS. Some functions are actually named
30665 something starting with __ and the normal name is an alias. */
30666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30669 char (*f) () = $ac_func;
30678 return f != $ac_func;
30683 rm -f conftest.
$ac_objext conftest
$ac_exeext
30684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30685 (eval $ac_link) 2>conftest.er1
30687 grep -v '^ *+' conftest.er1
>conftest.err
30689 cat conftest.err
>&5
30690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30691 (exit $ac_status); } &&
30692 { ac_try
='test -z "$ac_c_werror_flag"
30693 || test ! -s conftest.err'
30694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30695 (eval $ac_try) 2>&5
30697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30698 (exit $ac_status); }; } &&
30699 { ac_try
='test -s conftest$ac_exeext'
30700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30701 (eval $ac_try) 2>&5
30703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30704 (exit $ac_status); }; }; then
30705 eval "$as_ac_var=yes"
30707 echo "$as_me: failed program was:" >&5
30708 sed 's/^/| /' conftest.
$ac_ext >&5
30710 eval "$as_ac_var=no"
30712 rm -f conftest.err conftest.
$ac_objext \
30713 conftest
$ac_exeext conftest.
$ac_ext
30715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30717 if test `eval echo '${'$as_ac_var'}'` = yes; then
30718 cat >>confdefs.h
<<_ACEOF
30719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30726 if test "$ac_cv_func_sigaction" = "no"; then
30727 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30728 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30729 wxUSE_ON_FATAL_EXCEPTION
=no
30732 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30736 ac_cpp
='$CXXCPP $CPPFLAGS'
30737 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30738 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30739 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30742 echo "$as_me:$LINENO: checking for sa_handler type" >&5
30743 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
30744 if test "${wx_cv_type_sa_handler+set}" = set; then
30745 echo $ECHO_N "(cached) $ECHO_C" >&6
30748 cat >conftest.
$ac_ext <<_ACEOF
30751 cat confdefs.h
>>conftest.
$ac_ext
30752 cat >>conftest.
$ac_ext <<_ACEOF
30753 /* end confdefs.h. */
30754 #include <signal.h>
30759 extern void testSigHandler(int);
30761 struct sigaction sa;
30762 sa.sa_handler = testSigHandler;
30768 rm -f conftest.
$ac_objext
30769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30770 (eval $ac_compile) 2>conftest.er1
30772 grep -v '^ *+' conftest.er1
>conftest.err
30774 cat conftest.err
>&5
30775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30776 (exit $ac_status); } &&
30777 { ac_try
='test -z "$ac_cxx_werror_flag"
30778 || test ! -s conftest.err'
30779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30780 (eval $ac_try) 2>&5
30782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30783 (exit $ac_status); }; } &&
30784 { ac_try
='test -s conftest.$ac_objext'
30785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30786 (eval $ac_try) 2>&5
30788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30789 (exit $ac_status); }; }; then
30791 wx_cv_type_sa_handler
=int
30794 echo "$as_me: failed program was:" >&5
30795 sed 's/^/| /' conftest.
$ac_ext >&5
30798 wx_cv_type_sa_handler
=void
30801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30804 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
30805 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
30808 ac_cpp
='$CPP $CPPFLAGS'
30809 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30810 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30811 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30814 cat >>confdefs.h
<<_ACEOF
30815 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30823 for ac_func
in mkstemp mktemp
30825 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30826 echo "$as_me:$LINENO: checking for $ac_func" >&5
30827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30828 if eval "test \"\${$as_ac_var+set}\" = set"; then
30829 echo $ECHO_N "(cached) $ECHO_C" >&6
30831 cat >conftest.
$ac_ext <<_ACEOF
30834 cat confdefs.h
>>conftest.
$ac_ext
30835 cat >>conftest.
$ac_ext <<_ACEOF
30836 /* end confdefs.h. */
30837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30839 #define $ac_func innocuous_$ac_func
30841 /* System header to define __stub macros and hopefully few prototypes,
30842 which can conflict with char $ac_func (); below.
30843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30844 <limits.h> exists even on freestanding compilers. */
30847 # include <limits.h>
30849 # include <assert.h>
30854 /* Override any gcc2 internal prototype to avoid an error. */
30859 /* We use char because int might match the return type of a gcc2
30860 builtin and then its argument prototype would still apply. */
30862 /* The GNU C library defines this for functions which it implements
30863 to always fail with ENOSYS. Some functions are actually named
30864 something starting with __ and the normal name is an alias. */
30865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30868 char (*f) () = $ac_func;
30877 return f != $ac_func;
30882 rm -f conftest.
$ac_objext conftest
$ac_exeext
30883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30884 (eval $ac_link) 2>conftest.er1
30886 grep -v '^ *+' conftest.er1
>conftest.err
30888 cat conftest.err
>&5
30889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30890 (exit $ac_status); } &&
30891 { ac_try
='test -z "$ac_c_werror_flag"
30892 || test ! -s conftest.err'
30893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30894 (eval $ac_try) 2>&5
30896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30897 (exit $ac_status); }; } &&
30898 { ac_try
='test -s conftest$ac_exeext'
30899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30900 (eval $ac_try) 2>&5
30902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30903 (exit $ac_status); }; }; then
30904 eval "$as_ac_var=yes"
30906 echo "$as_me: failed program was:" >&5
30907 sed 's/^/| /' conftest.
$ac_ext >&5
30909 eval "$as_ac_var=no"
30911 rm -f conftest.err conftest.
$ac_objext \
30912 conftest
$ac_exeext conftest.
$ac_ext
30914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30916 if test `eval echo '${'$as_ac_var'}'` = yes; then
30917 cat >>confdefs.h
<<_ACEOF
30918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30925 echo "$as_me:$LINENO: checking for statfs" >&5
30926 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30927 if test "${wx_cv_func_statfs+set}" = set; then
30928 echo $ECHO_N "(cached) $ECHO_C" >&6
30930 cat >conftest.
$ac_ext <<_ACEOF
30933 cat confdefs.h
>>conftest.
$ac_ext
30934 cat >>conftest.
$ac_ext <<_ACEOF
30935 /* end confdefs.h. */
30937 #if defined(__BSD__)
30938 #include <sys/param.h>
30939 #include <sys/mount.h>
30941 #include <sys/vfs.h>
30959 rm -f conftest.
$ac_objext
30960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30961 (eval $ac_compile) 2>conftest.er1
30963 grep -v '^ *+' conftest.er1
>conftest.err
30965 cat conftest.err
>&5
30966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30967 (exit $ac_status); } &&
30968 { ac_try
='test -z "$ac_c_werror_flag"
30969 || test ! -s conftest.err'
30970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30971 (eval $ac_try) 2>&5
30973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30974 (exit $ac_status); }; } &&
30975 { ac_try
='test -s conftest.$ac_objext'
30976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30977 (eval $ac_try) 2>&5
30979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30980 (exit $ac_status); }; }; then
30982 wx_cv_func_statfs
=yes
30985 echo "$as_me: failed program was:" >&5
30986 sed 's/^/| /' conftest.
$ac_ext >&5
30989 wx_cv_func_statfs
=no
30993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30996 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30997 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30999 if test "$wx_cv_func_statfs" = "yes"; then
31000 wx_cv_type_statvfs_t
="struct statfs"
31001 cat >>confdefs.h
<<\_ACEOF
31002 #define HAVE_STATFS 1
31006 echo "$as_me:$LINENO: checking for statvfs" >&5
31007 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
31008 if test "${wx_cv_func_statvfs+set}" = set; then
31009 echo $ECHO_N "(cached) $ECHO_C" >&6
31011 cat >conftest.
$ac_ext <<_ACEOF
31014 cat confdefs.h
>>conftest.
$ac_ext
31015 cat >>conftest.
$ac_ext <<_ACEOF
31016 /* end confdefs.h. */
31018 #include <stddef.h>
31019 #include <sys/statvfs.h>
31025 statvfs("/", NULL);
31031 rm -f conftest.
$ac_objext
31032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31033 (eval $ac_compile) 2>conftest.er1
31035 grep -v '^ *+' conftest.er1
>conftest.err
31037 cat conftest.err
>&5
31038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31039 (exit $ac_status); } &&
31040 { ac_try
='test -z "$ac_c_werror_flag"
31041 || test ! -s conftest.err'
31042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31043 (eval $ac_try) 2>&5
31045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31046 (exit $ac_status); }; } &&
31047 { ac_try
='test -s conftest.$ac_objext'
31048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31049 (eval $ac_try) 2>&5
31051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31052 (exit $ac_status); }; }; then
31053 wx_cv_func_statvfs
=yes
31055 echo "$as_me: failed program was:" >&5
31056 sed 's/^/| /' conftest.
$ac_ext >&5
31058 wx_cv_func_statvfs
=no
31061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31064 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
31065 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
31067 if test "$wx_cv_func_statvfs" = "yes"; then
31071 ac_cpp
='$CXXCPP $CPPFLAGS'
31072 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31073 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31074 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31077 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
31078 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
31079 if test "${wx_cv_type_statvfs_t+set}" = set; then
31080 echo $ECHO_N "(cached) $ECHO_C" >&6
31082 cat >conftest.
$ac_ext <<_ACEOF
31085 cat confdefs.h
>>conftest.
$ac_ext
31086 cat >>conftest.
$ac_ext <<_ACEOF
31087 /* end confdefs.h. */
31089 #include <sys/statvfs.h>
31106 rm -f conftest.
$ac_objext
31107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31108 (eval $ac_compile) 2>conftest.er1
31110 grep -v '^ *+' conftest.er1
>conftest.err
31112 cat conftest.err
>&5
31113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31114 (exit $ac_status); } &&
31115 { ac_try
='test -z "$ac_cxx_werror_flag"
31116 || test ! -s conftest.err'
31117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31118 (eval $ac_try) 2>&5
31120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31121 (exit $ac_status); }; } &&
31122 { ac_try
='test -s conftest.$ac_objext'
31123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31124 (eval $ac_try) 2>&5
31126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31127 (exit $ac_status); }; }; then
31128 wx_cv_type_statvfs_t
=statvfs_t
31130 echo "$as_me: failed program was:" >&5
31131 sed 's/^/| /' conftest.
$ac_ext >&5
31134 cat >conftest.
$ac_ext <<_ACEOF
31137 cat confdefs.h
>>conftest.
$ac_ext
31138 cat >>conftest.
$ac_ext <<_ACEOF
31139 /* end confdefs.h. */
31141 #include <sys/statvfs.h>
31158 rm -f conftest.
$ac_objext
31159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31160 (eval $ac_compile) 2>conftest.er1
31162 grep -v '^ *+' conftest.er1
>conftest.err
31164 cat conftest.err
>&5
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); } &&
31167 { ac_try
='test -z "$ac_cxx_werror_flag"
31168 || test ! -s conftest.err'
31169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31170 (eval $ac_try) 2>&5
31172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31173 (exit $ac_status); }; } &&
31174 { ac_try
='test -s conftest.$ac_objext'
31175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31176 (eval $ac_try) 2>&5
31178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31179 (exit $ac_status); }; }; then
31180 wx_cv_type_statvfs_t
="struct statvfs"
31182 echo "$as_me: failed program was:" >&5
31183 sed 's/^/| /' conftest.
$ac_ext >&5
31185 wx_cv_type_statvfs_t
="unknown"
31188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31195 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
31196 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
31199 ac_cpp
='$CPP $CPPFLAGS'
31200 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31201 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31202 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31205 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31206 cat >>confdefs.h
<<\_ACEOF
31207 #define HAVE_STATVFS 1
31212 wx_cv_type_statvfs_t
="unknown"
31216 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31217 cat >>confdefs.h
<<_ACEOF
31218 #define WX_STATFS_T $wx_cv_type_statvfs_t
31222 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31223 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31226 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31229 for ac_func
in fcntl flock
31231 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31232 echo "$as_me:$LINENO: checking for $ac_func" >&5
31233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31234 if eval "test \"\${$as_ac_var+set}\" = set"; then
31235 echo $ECHO_N "(cached) $ECHO_C" >&6
31237 cat >conftest.
$ac_ext <<_ACEOF
31240 cat confdefs.h
>>conftest.
$ac_ext
31241 cat >>conftest.
$ac_ext <<_ACEOF
31242 /* end confdefs.h. */
31243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31245 #define $ac_func innocuous_$ac_func
31247 /* System header to define __stub macros and hopefully few prototypes,
31248 which can conflict with char $ac_func (); below.
31249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31250 <limits.h> exists even on freestanding compilers. */
31253 # include <limits.h>
31255 # include <assert.h>
31260 /* Override any gcc2 internal prototype to avoid an error. */
31265 /* We use char because int might match the return type of a gcc2
31266 builtin and then its argument prototype would still apply. */
31268 /* The GNU C library defines this for functions which it implements
31269 to always fail with ENOSYS. Some functions are actually named
31270 something starting with __ and the normal name is an alias. */
31271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31274 char (*f) () = $ac_func;
31283 return f != $ac_func;
31288 rm -f conftest.
$ac_objext conftest
$ac_exeext
31289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31290 (eval $ac_link) 2>conftest.er1
31292 grep -v '^ *+' conftest.er1
>conftest.err
31294 cat conftest.err
>&5
31295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31296 (exit $ac_status); } &&
31297 { ac_try
='test -z "$ac_c_werror_flag"
31298 || test ! -s conftest.err'
31299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31300 (eval $ac_try) 2>&5
31302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31303 (exit $ac_status); }; } &&
31304 { ac_try
='test -s conftest$ac_exeext'
31305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31306 (eval $ac_try) 2>&5
31308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31309 (exit $ac_status); }; }; then
31310 eval "$as_ac_var=yes"
31312 echo "$as_me: failed program was:" >&5
31313 sed 's/^/| /' conftest.
$ac_ext >&5
31315 eval "$as_ac_var=no"
31317 rm -f conftest.err conftest.
$ac_objext \
31318 conftest
$ac_exeext conftest.
$ac_ext
31320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31322 if test `eval echo '${'$as_ac_var'}'` = yes; then
31323 cat >>confdefs.h
<<_ACEOF
31324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31331 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31332 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
31333 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31334 wxUSE_SNGLINST_CHECKER
=no
31339 for ac_func
in timegm
31341 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31342 echo "$as_me:$LINENO: checking for $ac_func" >&5
31343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31344 if eval "test \"\${$as_ac_var+set}\" = set"; then
31345 echo $ECHO_N "(cached) $ECHO_C" >&6
31347 cat >conftest.
$ac_ext <<_ACEOF
31350 cat confdefs.h
>>conftest.
$ac_ext
31351 cat >>conftest.
$ac_ext <<_ACEOF
31352 /* end confdefs.h. */
31353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31355 #define $ac_func innocuous_$ac_func
31357 /* System header to define __stub macros and hopefully few prototypes,
31358 which can conflict with char $ac_func (); below.
31359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31360 <limits.h> exists even on freestanding compilers. */
31363 # include <limits.h>
31365 # include <assert.h>
31370 /* Override any gcc2 internal prototype to avoid an error. */
31375 /* We use char because int might match the return type of a gcc2
31376 builtin and then its argument prototype would still apply. */
31378 /* The GNU C library defines this for functions which it implements
31379 to always fail with ENOSYS. Some functions are actually named
31380 something starting with __ and the normal name is an alias. */
31381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31384 char (*f) () = $ac_func;
31393 return f != $ac_func;
31398 rm -f conftest.
$ac_objext conftest
$ac_exeext
31399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31400 (eval $ac_link) 2>conftest.er1
31402 grep -v '^ *+' conftest.er1
>conftest.err
31404 cat conftest.err
>&5
31405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31406 (exit $ac_status); } &&
31407 { ac_try
='test -z "$ac_c_werror_flag"
31408 || test ! -s conftest.err'
31409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31410 (eval $ac_try) 2>&5
31412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31413 (exit $ac_status); }; } &&
31414 { ac_try
='test -s conftest$ac_exeext'
31415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31416 (eval $ac_try) 2>&5
31418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31419 (exit $ac_status); }; }; then
31420 eval "$as_ac_var=yes"
31422 echo "$as_me: failed program was:" >&5
31423 sed 's/^/| /' conftest.
$ac_ext >&5
31425 eval "$as_ac_var=no"
31427 rm -f conftest.err conftest.
$ac_objext \
31428 conftest
$ac_exeext conftest.
$ac_ext
31430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31432 if test `eval echo '${'$as_ac_var'}'` = yes; then
31433 cat >>confdefs.h
<<_ACEOF
31434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31443 for ac_func
in putenv setenv
31445 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31446 echo "$as_me:$LINENO: checking for $ac_func" >&5
31447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31448 if eval "test \"\${$as_ac_var+set}\" = set"; then
31449 echo $ECHO_N "(cached) $ECHO_C" >&6
31451 cat >conftest.
$ac_ext <<_ACEOF
31454 cat confdefs.h
>>conftest.
$ac_ext
31455 cat >>conftest.
$ac_ext <<_ACEOF
31456 /* end confdefs.h. */
31457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31459 #define $ac_func innocuous_$ac_func
31461 /* System header to define __stub macros and hopefully few prototypes,
31462 which can conflict with char $ac_func (); below.
31463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31464 <limits.h> exists even on freestanding compilers. */
31467 # include <limits.h>
31469 # include <assert.h>
31474 /* Override any gcc2 internal prototype to avoid an error. */
31479 /* We use char because int might match the return type of a gcc2
31480 builtin and then its argument prototype would still apply. */
31482 /* The GNU C library defines this for functions which it implements
31483 to always fail with ENOSYS. Some functions are actually named
31484 something starting with __ and the normal name is an alias. */
31485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31488 char (*f) () = $ac_func;
31497 return f != $ac_func;
31502 rm -f conftest.
$ac_objext conftest
$ac_exeext
31503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31504 (eval $ac_link) 2>conftest.er1
31506 grep -v '^ *+' conftest.er1
>conftest.err
31508 cat conftest.err
>&5
31509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31510 (exit $ac_status); } &&
31511 { ac_try
='test -z "$ac_c_werror_flag"
31512 || test ! -s conftest.err'
31513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31514 (eval $ac_try) 2>&5
31516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31517 (exit $ac_status); }; } &&
31518 { ac_try
='test -s conftest$ac_exeext'
31519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31520 (eval $ac_try) 2>&5
31522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31523 (exit $ac_status); }; }; then
31524 eval "$as_ac_var=yes"
31526 echo "$as_me: failed program was:" >&5
31527 sed 's/^/| /' conftest.
$ac_ext >&5
31529 eval "$as_ac_var=no"
31531 rm -f conftest.err conftest.
$ac_objext \
31532 conftest
$ac_exeext conftest.
$ac_ext
31534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31536 if test `eval echo '${'$as_ac_var'}'` = yes; then
31537 cat >>confdefs.h
<<_ACEOF
31538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31545 HAVE_SOME_SLEEP_FUNC
=0
31546 if test "$USE_BEOS" = 1; then
31547 cat >>confdefs.h
<<\_ACEOF
31548 #define HAVE_SLEEP 1
31551 HAVE_SOME_SLEEP_FUNC
=1
31554 if test "$USE_DARWIN" = 1; then
31555 cat >>confdefs.h
<<\_ACEOF
31556 #define HAVE_USLEEP 1
31559 HAVE_SOME_SLEEP_FUNC
=1
31562 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31565 for ac_func
in nanosleep
31567 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31568 echo "$as_me:$LINENO: checking for $ac_func" >&5
31569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31570 if eval "test \"\${$as_ac_var+set}\" = set"; then
31571 echo $ECHO_N "(cached) $ECHO_C" >&6
31573 cat >conftest.
$ac_ext <<_ACEOF
31576 cat confdefs.h
>>conftest.
$ac_ext
31577 cat >>conftest.
$ac_ext <<_ACEOF
31578 /* end confdefs.h. */
31579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31581 #define $ac_func innocuous_$ac_func
31583 /* System header to define __stub macros and hopefully few prototypes,
31584 which can conflict with char $ac_func (); below.
31585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31586 <limits.h> exists even on freestanding compilers. */
31589 # include <limits.h>
31591 # include <assert.h>
31596 /* Override any gcc2 internal prototype to avoid an error. */
31601 /* We use char because int might match the return type of a gcc2
31602 builtin and then its argument prototype would still apply. */
31604 /* The GNU C library defines this for functions which it implements
31605 to always fail with ENOSYS. Some functions are actually named
31606 something starting with __ and the normal name is an alias. */
31607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31610 char (*f) () = $ac_func;
31619 return f != $ac_func;
31624 rm -f conftest.
$ac_objext conftest
$ac_exeext
31625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31626 (eval $ac_link) 2>conftest.er1
31628 grep -v '^ *+' conftest.er1
>conftest.err
31630 cat conftest.err
>&5
31631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31632 (exit $ac_status); } &&
31633 { ac_try
='test -z "$ac_c_werror_flag"
31634 || test ! -s conftest.err'
31635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31636 (eval $ac_try) 2>&5
31638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31639 (exit $ac_status); }; } &&
31640 { ac_try
='test -s conftest$ac_exeext'
31641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31642 (eval $ac_try) 2>&5
31644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31645 (exit $ac_status); }; }; then
31646 eval "$as_ac_var=yes"
31648 echo "$as_me: failed program was:" >&5
31649 sed 's/^/| /' conftest.
$ac_ext >&5
31651 eval "$as_ac_var=no"
31653 rm -f conftest.err conftest.
$ac_objext \
31654 conftest
$ac_exeext conftest.
$ac_ext
31656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31658 if test `eval echo '${'$as_ac_var'}'` = yes; then
31659 cat >>confdefs.h
<<_ACEOF
31660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31662 cat >>confdefs.h
<<\_ACEOF
31663 #define HAVE_NANOSLEEP 1
31668 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
31669 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
31670 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
31671 echo $ECHO_N "(cached) $ECHO_C" >&6
31673 ac_check_lib_save_LIBS
=$LIBS
31674 LIBS
="-lposix4 $LIBS"
31675 cat >conftest.
$ac_ext <<_ACEOF
31678 cat confdefs.h
>>conftest.
$ac_ext
31679 cat >>conftest.
$ac_ext <<_ACEOF
31680 /* end confdefs.h. */
31682 /* Override any gcc2 internal prototype to avoid an error. */
31686 /* We use char because int might match the return type of a gcc2
31687 builtin and then its argument prototype would still apply. */
31697 rm -f conftest.
$ac_objext conftest
$ac_exeext
31698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31699 (eval $ac_link) 2>conftest.er1
31701 grep -v '^ *+' conftest.er1
>conftest.err
31703 cat conftest.err
>&5
31704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31705 (exit $ac_status); } &&
31706 { ac_try
='test -z "$ac_c_werror_flag"
31707 || test ! -s conftest.err'
31708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31709 (eval $ac_try) 2>&5
31711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31712 (exit $ac_status); }; } &&
31713 { ac_try
='test -s conftest$ac_exeext'
31714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31715 (eval $ac_try) 2>&5
31717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31718 (exit $ac_status); }; }; then
31719 ac_cv_lib_posix4_nanosleep
=yes
31721 echo "$as_me: failed program was:" >&5
31722 sed 's/^/| /' conftest.
$ac_ext >&5
31724 ac_cv_lib_posix4_nanosleep
=no
31726 rm -f conftest.err conftest.
$ac_objext \
31727 conftest
$ac_exeext conftest.
$ac_ext
31728 LIBS
=$ac_check_lib_save_LIBS
31730 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
31731 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
31732 if test $ac_cv_lib_posix4_nanosleep = yes; then
31734 cat >>confdefs.h
<<\_ACEOF
31735 #define HAVE_NANOSLEEP 1
31738 POSIX4_LINK
=" -lposix4"
31743 for ac_func
in usleep
31745 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31746 echo "$as_me:$LINENO: checking for $ac_func" >&5
31747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31748 if eval "test \"\${$as_ac_var+set}\" = set"; then
31749 echo $ECHO_N "(cached) $ECHO_C" >&6
31751 cat >conftest.
$ac_ext <<_ACEOF
31754 cat confdefs.h
>>conftest.
$ac_ext
31755 cat >>conftest.
$ac_ext <<_ACEOF
31756 /* end confdefs.h. */
31757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31759 #define $ac_func innocuous_$ac_func
31761 /* System header to define __stub macros and hopefully few prototypes,
31762 which can conflict with char $ac_func (); below.
31763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31764 <limits.h> exists even on freestanding compilers. */
31767 # include <limits.h>
31769 # include <assert.h>
31774 /* Override any gcc2 internal prototype to avoid an error. */
31779 /* We use char because int might match the return type of a gcc2
31780 builtin and then its argument prototype would still apply. */
31782 /* The GNU C library defines this for functions which it implements
31783 to always fail with ENOSYS. Some functions are actually named
31784 something starting with __ and the normal name is an alias. */
31785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31788 char (*f) () = $ac_func;
31797 return f != $ac_func;
31802 rm -f conftest.
$ac_objext conftest
$ac_exeext
31803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31804 (eval $ac_link) 2>conftest.er1
31806 grep -v '^ *+' conftest.er1
>conftest.err
31808 cat conftest.err
>&5
31809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31810 (exit $ac_status); } &&
31811 { ac_try
='test -z "$ac_c_werror_flag"
31812 || test ! -s conftest.err'
31813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31814 (eval $ac_try) 2>&5
31816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31817 (exit $ac_status); }; } &&
31818 { ac_try
='test -s conftest$ac_exeext'
31819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31820 (eval $ac_try) 2>&5
31822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31823 (exit $ac_status); }; }; then
31824 eval "$as_ac_var=yes"
31826 echo "$as_me: failed program was:" >&5
31827 sed 's/^/| /' conftest.
$ac_ext >&5
31829 eval "$as_ac_var=no"
31831 rm -f conftest.err conftest.
$ac_objext \
31832 conftest
$ac_exeext conftest.
$ac_ext
31834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31836 if test `eval echo '${'$as_ac_var'}'` = yes; then
31837 cat >>confdefs.h
<<_ACEOF
31838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31840 cat >>confdefs.h
<<\_ACEOF
31841 #define HAVE_USLEEP 1
31845 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
31846 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31864 for ac_func
in uname gethostname
31866 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31867 echo "$as_me:$LINENO: checking for $ac_func" >&5
31868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31869 if eval "test \"\${$as_ac_var+set}\" = set"; then
31870 echo $ECHO_N "(cached) $ECHO_C" >&6
31872 cat >conftest.
$ac_ext <<_ACEOF
31875 cat confdefs.h
>>conftest.
$ac_ext
31876 cat >>conftest.
$ac_ext <<_ACEOF
31877 /* end confdefs.h. */
31878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31880 #define $ac_func innocuous_$ac_func
31882 /* System header to define __stub macros and hopefully few prototypes,
31883 which can conflict with char $ac_func (); below.
31884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31885 <limits.h> exists even on freestanding compilers. */
31888 # include <limits.h>
31890 # include <assert.h>
31895 /* Override any gcc2 internal prototype to avoid an error. */
31900 /* We use char because int might match the return type of a gcc2
31901 builtin and then its argument prototype would still apply. */
31903 /* The GNU C library defines this for functions which it implements
31904 to always fail with ENOSYS. Some functions are actually named
31905 something starting with __ and the normal name is an alias. */
31906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31909 char (*f) () = $ac_func;
31918 return f != $ac_func;
31923 rm -f conftest.
$ac_objext conftest
$ac_exeext
31924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31925 (eval $ac_link) 2>conftest.er1
31927 grep -v '^ *+' conftest.er1
>conftest.err
31929 cat conftest.err
>&5
31930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31931 (exit $ac_status); } &&
31932 { ac_try
='test -z "$ac_c_werror_flag"
31933 || test ! -s conftest.err'
31934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31935 (eval $ac_try) 2>&5
31937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31938 (exit $ac_status); }; } &&
31939 { ac_try
='test -s conftest$ac_exeext'
31940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31941 (eval $ac_try) 2>&5
31943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31944 (exit $ac_status); }; }; then
31945 eval "$as_ac_var=yes"
31947 echo "$as_me: failed program was:" >&5
31948 sed 's/^/| /' conftest.
$ac_ext >&5
31950 eval "$as_ac_var=no"
31952 rm -f conftest.err conftest.
$ac_objext \
31953 conftest
$ac_exeext conftest.
$ac_ext
31955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31957 if test `eval echo '${'$as_ac_var'}'` = yes; then
31958 cat >>confdefs.h
<<_ACEOF
31959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31969 ac_cpp
='$CXXCPP $CPPFLAGS'
31970 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31971 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31972 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31976 for ac_func
in strtok_r
31978 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31979 echo "$as_me:$LINENO: checking for $ac_func" >&5
31980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31981 if eval "test \"\${$as_ac_var+set}\" = set"; then
31982 echo $ECHO_N "(cached) $ECHO_C" >&6
31984 cat >conftest.
$ac_ext <<_ACEOF
31987 cat confdefs.h
>>conftest.
$ac_ext
31988 cat >>conftest.
$ac_ext <<_ACEOF
31989 /* end confdefs.h. */
31990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31992 #define $ac_func innocuous_$ac_func
31994 /* System header to define __stub macros and hopefully few prototypes,
31995 which can conflict with char $ac_func (); below.
31996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31997 <limits.h> exists even on freestanding compilers. */
32000 # include <limits.h>
32002 # include <assert.h>
32007 /* Override any gcc2 internal prototype to avoid an error. */
32012 /* We use char because int might match the return type of a gcc2
32013 builtin and then its argument prototype would still apply. */
32015 /* The GNU C library defines this for functions which it implements
32016 to always fail with ENOSYS. Some functions are actually named
32017 something starting with __ and the normal name is an alias. */
32018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32021 char (*f) () = $ac_func;
32030 return f != $ac_func;
32035 rm -f conftest.
$ac_objext conftest
$ac_exeext
32036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32037 (eval $ac_link) 2>conftest.er1
32039 grep -v '^ *+' conftest.er1
>conftest.err
32041 cat conftest.err
>&5
32042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32043 (exit $ac_status); } &&
32044 { ac_try
='test -z "$ac_cxx_werror_flag"
32045 || test ! -s conftest.err'
32046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32047 (eval $ac_try) 2>&5
32049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32050 (exit $ac_status); }; } &&
32051 { ac_try
='test -s conftest$ac_exeext'
32052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32053 (eval $ac_try) 2>&5
32055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32056 (exit $ac_status); }; }; then
32057 eval "$as_ac_var=yes"
32059 echo "$as_me: failed program was:" >&5
32060 sed 's/^/| /' conftest.
$ac_ext >&5
32062 eval "$as_ac_var=no"
32064 rm -f conftest.err conftest.
$ac_objext \
32065 conftest
$ac_exeext conftest.
$ac_ext
32067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32069 if test `eval echo '${'$as_ac_var'}'` = yes; then
32070 cat >>confdefs.h
<<_ACEOF
32071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32079 ac_cpp
='$CPP $CPPFLAGS'
32080 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32081 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32082 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32087 for ac_func
in inet_addr
32089 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32090 echo "$as_me:$LINENO: checking for $ac_func" >&5
32091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32092 if eval "test \"\${$as_ac_var+set}\" = set"; then
32093 echo $ECHO_N "(cached) $ECHO_C" >&6
32095 cat >conftest.
$ac_ext <<_ACEOF
32098 cat confdefs.h
>>conftest.
$ac_ext
32099 cat >>conftest.
$ac_ext <<_ACEOF
32100 /* end confdefs.h. */
32101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32103 #define $ac_func innocuous_$ac_func
32105 /* System header to define __stub macros and hopefully few prototypes,
32106 which can conflict with char $ac_func (); below.
32107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32108 <limits.h> exists even on freestanding compilers. */
32111 # include <limits.h>
32113 # include <assert.h>
32118 /* Override any gcc2 internal prototype to avoid an error. */
32123 /* We use char because int might match the return type of a gcc2
32124 builtin and then its argument prototype would still apply. */
32126 /* The GNU C library defines this for functions which it implements
32127 to always fail with ENOSYS. Some functions are actually named
32128 something starting with __ and the normal name is an alias. */
32129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32132 char (*f) () = $ac_func;
32141 return f != $ac_func;
32146 rm -f conftest.
$ac_objext conftest
$ac_exeext
32147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32148 (eval $ac_link) 2>conftest.er1
32150 grep -v '^ *+' conftest.er1
>conftest.err
32152 cat conftest.err
>&5
32153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32154 (exit $ac_status); } &&
32155 { ac_try
='test -z "$ac_c_werror_flag"
32156 || test ! -s conftest.err'
32157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32158 (eval $ac_try) 2>&5
32160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32161 (exit $ac_status); }; } &&
32162 { ac_try
='test -s conftest$ac_exeext'
32163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32164 (eval $ac_try) 2>&5
32166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32167 (exit $ac_status); }; }; then
32168 eval "$as_ac_var=yes"
32170 echo "$as_me: failed program was:" >&5
32171 sed 's/^/| /' conftest.
$ac_ext >&5
32173 eval "$as_ac_var=no"
32175 rm -f conftest.err conftest.
$ac_objext \
32176 conftest
$ac_exeext conftest.
$ac_ext
32178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32180 if test `eval echo '${'$as_ac_var'}'` = yes; then
32181 cat >>confdefs.h
<<_ACEOF
32182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32184 cat >>confdefs.h
<<\_ACEOF
32185 #define HAVE_INET_ADDR 1
32190 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
32191 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
32192 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
32193 echo $ECHO_N "(cached) $ECHO_C" >&6
32195 ac_check_lib_save_LIBS
=$LIBS
32197 cat >conftest.
$ac_ext <<_ACEOF
32200 cat confdefs.h
>>conftest.
$ac_ext
32201 cat >>conftest.
$ac_ext <<_ACEOF
32202 /* end confdefs.h. */
32204 /* Override any gcc2 internal prototype to avoid an error. */
32208 /* We use char because int might match the return type of a gcc2
32209 builtin and then its argument prototype would still apply. */
32219 rm -f conftest.
$ac_objext conftest
$ac_exeext
32220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32221 (eval $ac_link) 2>conftest.er1
32223 grep -v '^ *+' conftest.er1
>conftest.err
32225 cat conftest.err
>&5
32226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32227 (exit $ac_status); } &&
32228 { ac_try
='test -z "$ac_c_werror_flag"
32229 || test ! -s conftest.err'
32230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32231 (eval $ac_try) 2>&5
32233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32234 (exit $ac_status); }; } &&
32235 { ac_try
='test -s conftest$ac_exeext'
32236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32237 (eval $ac_try) 2>&5
32239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32240 (exit $ac_status); }; }; then
32241 ac_cv_lib_nsl_inet_addr
=yes
32243 echo "$as_me: failed program was:" >&5
32244 sed 's/^/| /' conftest.
$ac_ext >&5
32246 ac_cv_lib_nsl_inet_addr
=no
32248 rm -f conftest.err conftest.
$ac_objext \
32249 conftest
$ac_exeext conftest.
$ac_ext
32250 LIBS
=$ac_check_lib_save_LIBS
32252 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
32253 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
32254 if test $ac_cv_lib_nsl_inet_addr = yes; then
32258 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
32259 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
32260 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
32261 echo $ECHO_N "(cached) $ECHO_C" >&6
32263 ac_check_lib_save_LIBS
=$LIBS
32264 LIBS
="-lresolv $LIBS"
32265 cat >conftest.
$ac_ext <<_ACEOF
32268 cat confdefs.h
>>conftest.
$ac_ext
32269 cat >>conftest.
$ac_ext <<_ACEOF
32270 /* end confdefs.h. */
32272 /* Override any gcc2 internal prototype to avoid an error. */
32276 /* We use char because int might match the return type of a gcc2
32277 builtin and then its argument prototype would still apply. */
32287 rm -f conftest.
$ac_objext conftest
$ac_exeext
32288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32289 (eval $ac_link) 2>conftest.er1
32291 grep -v '^ *+' conftest.er1
>conftest.err
32293 cat conftest.err
>&5
32294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32295 (exit $ac_status); } &&
32296 { ac_try
='test -z "$ac_c_werror_flag"
32297 || test ! -s conftest.err'
32298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32299 (eval $ac_try) 2>&5
32301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32302 (exit $ac_status); }; } &&
32303 { ac_try
='test -s conftest$ac_exeext'
32304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32305 (eval $ac_try) 2>&5
32307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32308 (exit $ac_status); }; }; then
32309 ac_cv_lib_resolv_inet_addr
=yes
32311 echo "$as_me: failed program was:" >&5
32312 sed 's/^/| /' conftest.
$ac_ext >&5
32314 ac_cv_lib_resolv_inet_addr
=no
32316 rm -f conftest.err conftest.
$ac_objext \
32317 conftest
$ac_exeext conftest.
$ac_ext
32318 LIBS
=$ac_check_lib_save_LIBS
32320 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
32321 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
32322 if test $ac_cv_lib_resolv_inet_addr = yes; then
32326 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
32327 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
32328 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
32329 echo $ECHO_N "(cached) $ECHO_C" >&6
32331 ac_check_lib_save_LIBS
=$LIBS
32332 LIBS
="-lsocket $LIBS"
32333 cat >conftest.
$ac_ext <<_ACEOF
32336 cat confdefs.h
>>conftest.
$ac_ext
32337 cat >>conftest.
$ac_ext <<_ACEOF
32338 /* end confdefs.h. */
32340 /* Override any gcc2 internal prototype to avoid an error. */
32344 /* We use char because int might match the return type of a gcc2
32345 builtin and then its argument prototype would still apply. */
32355 rm -f conftest.
$ac_objext conftest
$ac_exeext
32356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32357 (eval $ac_link) 2>conftest.er1
32359 grep -v '^ *+' conftest.er1
>conftest.err
32361 cat conftest.err
>&5
32362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32363 (exit $ac_status); } &&
32364 { ac_try
='test -z "$ac_c_werror_flag"
32365 || test ! -s conftest.err'
32366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32367 (eval $ac_try) 2>&5
32369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32370 (exit $ac_status); }; } &&
32371 { ac_try
='test -s conftest$ac_exeext'
32372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32373 (eval $ac_try) 2>&5
32375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32376 (exit $ac_status); }; }; then
32377 ac_cv_lib_socket_inet_addr
=yes
32379 echo "$as_me: failed program was:" >&5
32380 sed 's/^/| /' conftest.
$ac_ext >&5
32382 ac_cv_lib_socket_inet_addr
=no
32384 rm -f conftest.err conftest.
$ac_objext \
32385 conftest
$ac_exeext conftest.
$ac_ext
32386 LIBS
=$ac_check_lib_save_LIBS
32388 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
32389 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
32390 if test $ac_cv_lib_socket_inet_addr = yes; then
32410 for ac_func
in inet_aton
32412 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32413 echo "$as_me:$LINENO: checking for $ac_func" >&5
32414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32415 if eval "test \"\${$as_ac_var+set}\" = set"; then
32416 echo $ECHO_N "(cached) $ECHO_C" >&6
32418 cat >conftest.
$ac_ext <<_ACEOF
32421 cat confdefs.h
>>conftest.
$ac_ext
32422 cat >>conftest.
$ac_ext <<_ACEOF
32423 /* end confdefs.h. */
32424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32426 #define $ac_func innocuous_$ac_func
32428 /* System header to define __stub macros and hopefully few prototypes,
32429 which can conflict with char $ac_func (); below.
32430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32431 <limits.h> exists even on freestanding compilers. */
32434 # include <limits.h>
32436 # include <assert.h>
32441 /* Override any gcc2 internal prototype to avoid an error. */
32446 /* We use char because int might match the return type of a gcc2
32447 builtin and then its argument prototype would still apply. */
32449 /* The GNU C library defines this for functions which it implements
32450 to always fail with ENOSYS. Some functions are actually named
32451 something starting with __ and the normal name is an alias. */
32452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32455 char (*f) () = $ac_func;
32464 return f != $ac_func;
32469 rm -f conftest.
$ac_objext conftest
$ac_exeext
32470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32471 (eval $ac_link) 2>conftest.er1
32473 grep -v '^ *+' conftest.er1
>conftest.err
32475 cat conftest.err
>&5
32476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32477 (exit $ac_status); } &&
32478 { ac_try
='test -z "$ac_c_werror_flag"
32479 || test ! -s conftest.err'
32480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32481 (eval $ac_try) 2>&5
32483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32484 (exit $ac_status); }; } &&
32485 { ac_try
='test -s conftest$ac_exeext'
32486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32487 (eval $ac_try) 2>&5
32489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32490 (exit $ac_status); }; }; then
32491 eval "$as_ac_var=yes"
32493 echo "$as_me: failed program was:" >&5
32494 sed 's/^/| /' conftest.
$ac_ext >&5
32496 eval "$as_ac_var=no"
32498 rm -f conftest.err conftest.
$ac_objext \
32499 conftest
$ac_exeext conftest.
$ac_ext
32501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32503 if test `eval echo '${'$as_ac_var'}'` = yes; then
32504 cat >>confdefs.h
<<_ACEOF
32505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32507 cat >>confdefs.h
<<\_ACEOF
32508 #define HAVE_INET_ATON 1
32513 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
32514 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
32515 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
32516 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
32517 echo $ECHO_N "(cached) $ECHO_C" >&6
32519 ac_check_lib_save_LIBS
=$LIBS
32520 LIBS
="-l$INET_LINK $LIBS"
32521 cat >conftest.
$ac_ext <<_ACEOF
32524 cat confdefs.h
>>conftest.
$ac_ext
32525 cat >>conftest.
$ac_ext <<_ACEOF
32526 /* end confdefs.h. */
32528 /* Override any gcc2 internal prototype to avoid an error. */
32532 /* We use char because int might match the return type of a gcc2
32533 builtin and then its argument prototype would still apply. */
32543 rm -f conftest.
$ac_objext conftest
$ac_exeext
32544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32545 (eval $ac_link) 2>conftest.er1
32547 grep -v '^ *+' conftest.er1
>conftest.err
32549 cat conftest.err
>&5
32550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32551 (exit $ac_status); } &&
32552 { ac_try
='test -z "$ac_c_werror_flag"
32553 || test ! -s conftest.err'
32554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32555 (eval $ac_try) 2>&5
32557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32558 (exit $ac_status); }; } &&
32559 { ac_try
='test -s conftest$ac_exeext'
32560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32561 (eval $ac_try) 2>&5
32563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32564 (exit $ac_status); }; }; then
32565 eval "$as_ac_Lib=yes"
32567 echo "$as_me: failed program was:" >&5
32568 sed 's/^/| /' conftest.
$ac_ext >&5
32570 eval "$as_ac_Lib=no"
32572 rm -f conftest.err conftest.
$ac_objext \
32573 conftest
$ac_exeext conftest.
$ac_ext
32574 LIBS
=$ac_check_lib_save_LIBS
32576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
32577 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
32578 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
32579 cat >>confdefs.h
<<\_ACEOF
32580 #define HAVE_INET_ATON 1
32590 if test "x$INET_LINK" != "x"; then
32591 cat >>confdefs.h
<<\_ACEOF
32592 #define HAVE_INET_ADDR 1
32595 INET_LINK
=" -l$INET_LINK"
32603 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
32604 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
32605 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
32606 echo $ECHO_N "(cached) $ECHO_C" >&6
32608 ac_check_lib_save_LIBS
=$LIBS
32610 cat >conftest.
$ac_ext <<_ACEOF
32613 cat confdefs.h
>>conftest.
$ac_ext
32614 cat >>conftest.
$ac_ext <<_ACEOF
32615 /* end confdefs.h. */
32617 /* Override any gcc2 internal prototype to avoid an error. */
32621 /* We use char because int might match the return type of a gcc2
32622 builtin and then its argument prototype would still apply. */
32632 rm -f conftest.
$ac_objext conftest
$ac_exeext
32633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32634 (eval $ac_link) 2>conftest.er1
32636 grep -v '^ *+' conftest.er1
>conftest.err
32638 cat conftest.err
>&5
32639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32640 (exit $ac_status); } &&
32641 { ac_try
='test -z "$ac_c_werror_flag"
32642 || test ! -s conftest.err'
32643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32644 (eval $ac_try) 2>&5
32646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32647 (exit $ac_status); }; } &&
32648 { ac_try
='test -s conftest$ac_exeext'
32649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32650 (eval $ac_try) 2>&5
32652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32653 (exit $ac_status); }; }; then
32654 ac_cv_lib_esd_esd_close
=yes
32656 echo "$as_me: failed program was:" >&5
32657 sed 's/^/| /' conftest.
$ac_ext >&5
32659 ac_cv_lib_esd_esd_close
=no
32661 rm -f conftest.err conftest.
$ac_objext \
32662 conftest
$ac_exeext conftest.
$ac_ext
32663 LIBS
=$ac_check_lib_save_LIBS
32665 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
32666 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
32667 if test $ac_cv_lib_esd_esd_close = yes; then
32670 for ac_header
in esd.h
32672 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32674 echo "$as_me:$LINENO: checking for $ac_header" >&5
32675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32677 echo $ECHO_N "(cached) $ECHO_C" >&6
32679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32680 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32682 # Is the header compilable?
32683 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32684 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32685 cat >conftest.
$ac_ext <<_ACEOF
32688 cat confdefs.h
>>conftest.
$ac_ext
32689 cat >>conftest.
$ac_ext <<_ACEOF
32690 /* end confdefs.h. */
32691 $ac_includes_default
32692 #include <$ac_header>
32694 rm -f conftest.
$ac_objext
32695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32696 (eval $ac_compile) 2>conftest.er1
32698 grep -v '^ *+' conftest.er1
>conftest.err
32700 cat conftest.err
>&5
32701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32702 (exit $ac_status); } &&
32703 { ac_try
='test -z "$ac_c_werror_flag"
32704 || test ! -s conftest.err'
32705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32706 (eval $ac_try) 2>&5
32708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32709 (exit $ac_status); }; } &&
32710 { ac_try
='test -s conftest.$ac_objext'
32711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32712 (eval $ac_try) 2>&5
32714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32715 (exit $ac_status); }; }; then
32716 ac_header_compiler
=yes
32718 echo "$as_me: failed program was:" >&5
32719 sed 's/^/| /' conftest.
$ac_ext >&5
32721 ac_header_compiler
=no
32723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32724 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32725 echo "${ECHO_T}$ac_header_compiler" >&6
32727 # Is the header present?
32728 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32729 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32730 cat >conftest.
$ac_ext <<_ACEOF
32733 cat confdefs.h
>>conftest.
$ac_ext
32734 cat >>conftest.
$ac_ext <<_ACEOF
32735 /* end confdefs.h. */
32736 #include <$ac_header>
32738 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32739 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32741 grep -v '^ *+' conftest.er1
>conftest.err
32743 cat conftest.err
>&5
32744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32745 (exit $ac_status); } >/dev
/null
; then
32746 if test -s conftest.err
; then
32747 ac_cpp_err
=$ac_c_preproc_warn_flag
32748 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32755 if test -z "$ac_cpp_err"; then
32756 ac_header_preproc
=yes
32758 echo "$as_me: failed program was:" >&5
32759 sed 's/^/| /' conftest.
$ac_ext >&5
32761 ac_header_preproc
=no
32763 rm -f conftest.err conftest.
$ac_ext
32764 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32765 echo "${ECHO_T}$ac_header_preproc" >&6
32767 # So? What about this header?
32768 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32770 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32771 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32772 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32773 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32774 ac_header_preproc
=yes
32777 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32778 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32779 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32780 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32781 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32782 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32783 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32784 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32785 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32786 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32787 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32788 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32791 ## ----------------------------------------- ##
32792 ## Report this to wx-dev@lists.wxwidgets.org ##
32793 ## ----------------------------------------- ##
32796 sed "s/^/$as_me: WARNING: /" >&2
32799 echo "$as_me:$LINENO: checking for $ac_header" >&5
32800 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32802 echo $ECHO_N "(cached) $ECHO_C" >&6
32804 eval "$as_ac_Header=\$ac_header_preproc"
32806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32807 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32810 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32811 cat >>confdefs.h
<<_ACEOF
32812 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32815 EXTRALIBS_ESD
="-lesd"
32826 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
32827 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
32828 cat >conftest.
$ac_ext <<_ACEOF
32831 cat confdefs.h
>>conftest.
$ac_ext
32832 cat >>conftest.
$ac_ext <<_ACEOF
32833 /* end confdefs.h. */
32835 #include <linux/cdrom.h>
32838 #include <sys/cdio.h>
32844 struct cdrom_tocentry entry, old_entry;
32849 rm -f conftest.
$ac_objext
32850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32851 (eval $ac_compile) 2>conftest.er1
32853 grep -v '^ *+' conftest.er1
>conftest.err
32855 cat conftest.err
>&5
32856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32857 (exit $ac_status); } &&
32858 { ac_try
='test -z "$ac_c_werror_flag"
32859 || test ! -s conftest.err'
32860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32861 (eval $ac_try) 2>&5
32863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32864 (exit $ac_status); }; } &&
32865 { ac_try
='test -s conftest.$ac_objext'
32866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32867 (eval $ac_try) 2>&5
32869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32870 (exit $ac_status); }; }; then
32871 echo "$as_me:$LINENO: result: yes" >&5
32872 echo "${ECHO_T}yes" >&6
32873 cat >>confdefs.h
<<\_ACEOF
32874 #define HAVE_KNOWN_CDROM_INTERFACE 1
32878 echo "$as_me: failed program was:" >&5
32879 sed 's/^/| /' conftest.
$ac_ext >&5
32881 echo "$as_me:$LINENO: result: no" >&5
32882 echo "${ECHO_T}no" >&6
32884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32887 cat >confcache
<<\_ACEOF
32888 # This file is a shell script that caches the results of configure
32889 # tests run on this system so they can be shared between configure
32890 # scripts and configure runs, see configure's option --config-cache.
32891 # It is not useful on other systems. If it contains results you don't
32892 # want to keep, you may remove or edit it.
32894 # config.status only pays attention to the cache file if you give it
32895 # the --recheck option to rerun configure.
32897 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32898 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32899 # following values.
32903 # The following way of writing the cache mishandles newlines in values,
32904 # but we know of no workaround that is simple, portable, and efficient.
32905 # So, don't put newlines in cache variables' values.
32906 # Ultrix sh set writes to stderr and can't be redirected directly,
32907 # and sets the high bit in the cache file unless we assign to the vars.
32910 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32912 # `set' does not quote correctly, so add quotes (double-quote
32913 # substitution turns \\\\ into \\, and sed turns \\ into \).
32916 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32919 # `set' quotes correctly as required by POSIX, so do not add quotes.
32921 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32928 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32930 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32932 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
32933 if test -w $cache_file; then
32934 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32935 cat confcache
>$cache_file
32937 echo "not updating unwritable cache $cache_file"
32944 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32950 if test "$wxUSE_THREADS" = "yes" ; then
32951 if test "$USE_BEOS" = 1; then
32952 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32953 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32958 if test "$wxUSE_THREADS" = "yes" ; then
32961 THREAD_OPTS
="-pthread"
32963 *-*-solaris2* | *-*-sunos4* )
32964 if test "x$GCC" = "xyes"; then
32965 THREAD_OPTS
="-pthreads $THREAD_OPTS"
32967 THREAD_OPTS
="-mt $THREAD_OPTS"
32971 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
32973 *-*-darwin* | *-*-cygwin* )
32977 THREAD_OPTS
="pthreads"
32980 if test "x$GCC" != "xyes"; then
32986 if test "x$GCC" = "xyes"; then
32992 if test "x$GCC" != "xyes"; then
32993 THREAD_OPTS
="-Ethread"
32998 THREAD_OPTS
="$THREAD_OPTS pthread none"
33001 for flag
in $THREAD_OPTS; do
33004 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
33005 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
33009 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
33010 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
33011 THREADS_CFLAGS
="$flag"
33015 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
33016 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
33017 THREADS_LINK
="-l$flag"
33022 save_CFLAGS
="$CFLAGS"
33023 LIBS
="$THREADS_LINK $LIBS"
33024 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
33026 cat >conftest.
$ac_ext <<_ACEOF
33029 cat confdefs.h
>>conftest.
$ac_ext
33030 cat >>conftest.
$ac_ext <<_ACEOF
33031 /* end confdefs.h. */
33032 #include <pthread.h>
33036 pthread_create(0,0,0,0);
33041 rm -f conftest.
$ac_objext conftest
$ac_exeext
33042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33043 (eval $ac_link) 2>conftest.er1
33045 grep -v '^ *+' conftest.er1
>conftest.err
33047 cat conftest.err
>&5
33048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33049 (exit $ac_status); } &&
33050 { ac_try
='test -z "$ac_c_werror_flag"
33051 || test ! -s conftest.err'
33052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33053 (eval $ac_try) 2>&5
33055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33056 (exit $ac_status); }; } &&
33057 { ac_try
='test -s conftest$ac_exeext'
33058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33059 (eval $ac_try) 2>&5
33061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33062 (exit $ac_status); }; }; then
33065 echo "$as_me: failed program was:" >&5
33066 sed 's/^/| /' conftest.
$ac_ext >&5
33069 rm -f conftest.err conftest.
$ac_objext \
33070 conftest
$ac_exeext conftest.
$ac_ext
33073 CFLAGS
="$save_CFLAGS"
33075 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
33076 echo "${ECHO_T}$THREADS_OK" >&6
33077 if test "x$THREADS_OK" = "xyes"; then
33085 if test "x$THREADS_OK" != "xyes"; then
33087 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
33088 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
33090 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
33091 LIBS
="$THREADS_LINK $LIBS"
33093 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
33094 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
33098 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
33099 flag
="-D_THREAD_SAFE"
33102 flag
="-D_THREAD_SAFE"
33105 flag
="-D_REENTRANT"
33106 if test "x$GCC" != "xyes"; then
33107 flag
="$flag -D_RWSTD_MULTI_THREAD"
33112 *solaris
* | alpha
*-osf*)
33113 flag
="-D_REENTRANT"
33116 echo "$as_me:$LINENO: result: ${flag}" >&5
33117 echo "${ECHO_T}${flag}" >&6
33118 if test "x$flag" != xno
; then
33119 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
33122 if test "x$THREADS_CFLAGS" != "x"; then
33123 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
33124 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
33129 if test "$wxUSE_THREADS" = "yes" ; then
33131 for ac_func
in thr_setconcurrency
33133 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33134 echo "$as_me:$LINENO: checking for $ac_func" >&5
33135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33136 if eval "test \"\${$as_ac_var+set}\" = set"; then
33137 echo $ECHO_N "(cached) $ECHO_C" >&6
33139 cat >conftest.
$ac_ext <<_ACEOF
33142 cat confdefs.h
>>conftest.
$ac_ext
33143 cat >>conftest.
$ac_ext <<_ACEOF
33144 /* end confdefs.h. */
33145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33147 #define $ac_func innocuous_$ac_func
33149 /* System header to define __stub macros and hopefully few prototypes,
33150 which can conflict with char $ac_func (); below.
33151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33152 <limits.h> exists even on freestanding compilers. */
33155 # include <limits.h>
33157 # include <assert.h>
33162 /* Override any gcc2 internal prototype to avoid an error. */
33167 /* We use char because int might match the return type of a gcc2
33168 builtin and then its argument prototype would still apply. */
33170 /* The GNU C library defines this for functions which it implements
33171 to always fail with ENOSYS. Some functions are actually named
33172 something starting with __ and the normal name is an alias. */
33173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33176 char (*f) () = $ac_func;
33185 return f != $ac_func;
33190 rm -f conftest.
$ac_objext conftest
$ac_exeext
33191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33192 (eval $ac_link) 2>conftest.er1
33194 grep -v '^ *+' conftest.er1
>conftest.err
33196 cat conftest.err
>&5
33197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33198 (exit $ac_status); } &&
33199 { ac_try
='test -z "$ac_c_werror_flag"
33200 || test ! -s conftest.err'
33201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33202 (eval $ac_try) 2>&5
33204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33205 (exit $ac_status); }; } &&
33206 { ac_try
='test -s conftest$ac_exeext'
33207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33208 (eval $ac_try) 2>&5
33210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33211 (exit $ac_status); }; }; then
33212 eval "$as_ac_var=yes"
33214 echo "$as_me: failed program was:" >&5
33215 sed 's/^/| /' conftest.
$ac_ext >&5
33217 eval "$as_ac_var=no"
33219 rm -f conftest.err conftest.
$ac_objext \
33220 conftest
$ac_exeext conftest.
$ac_ext
33222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33224 if test `eval echo '${'$as_ac_var'}'` = yes; then
33225 cat >>confdefs.h
<<_ACEOF
33226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33234 for ac_header
in sched.h
33236 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33238 echo "$as_me:$LINENO: checking for $ac_header" >&5
33239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33241 echo $ECHO_N "(cached) $ECHO_C" >&6
33243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33246 # Is the header compilable?
33247 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33248 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33249 cat >conftest.
$ac_ext <<_ACEOF
33252 cat confdefs.h
>>conftest.
$ac_ext
33253 cat >>conftest.
$ac_ext <<_ACEOF
33254 /* end confdefs.h. */
33255 $ac_includes_default
33256 #include <$ac_header>
33258 rm -f conftest.
$ac_objext
33259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33260 (eval $ac_compile) 2>conftest.er1
33262 grep -v '^ *+' conftest.er1
>conftest.err
33264 cat conftest.err
>&5
33265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33266 (exit $ac_status); } &&
33267 { ac_try
='test -z "$ac_c_werror_flag"
33268 || test ! -s conftest.err'
33269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33270 (eval $ac_try) 2>&5
33272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33273 (exit $ac_status); }; } &&
33274 { ac_try
='test -s conftest.$ac_objext'
33275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33276 (eval $ac_try) 2>&5
33278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33279 (exit $ac_status); }; }; then
33280 ac_header_compiler
=yes
33282 echo "$as_me: failed program was:" >&5
33283 sed 's/^/| /' conftest.
$ac_ext >&5
33285 ac_header_compiler
=no
33287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33288 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33289 echo "${ECHO_T}$ac_header_compiler" >&6
33291 # Is the header present?
33292 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33293 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33294 cat >conftest.
$ac_ext <<_ACEOF
33297 cat confdefs.h
>>conftest.
$ac_ext
33298 cat >>conftest.
$ac_ext <<_ACEOF
33299 /* end confdefs.h. */
33300 #include <$ac_header>
33302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33303 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33305 grep -v '^ *+' conftest.er1
>conftest.err
33307 cat conftest.err
>&5
33308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33309 (exit $ac_status); } >/dev
/null
; then
33310 if test -s conftest.err
; then
33311 ac_cpp_err
=$ac_c_preproc_warn_flag
33312 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33319 if test -z "$ac_cpp_err"; then
33320 ac_header_preproc
=yes
33322 echo "$as_me: failed program was:" >&5
33323 sed 's/^/| /' conftest.
$ac_ext >&5
33325 ac_header_preproc
=no
33327 rm -f conftest.err conftest.
$ac_ext
33328 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33329 echo "${ECHO_T}$ac_header_preproc" >&6
33331 # So? What about this header?
33332 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33334 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33335 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33336 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33337 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33338 ac_header_preproc
=yes
33341 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33342 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33343 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33344 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33345 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33346 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33347 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33348 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33350 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33351 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33352 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33355 ## ----------------------------------------- ##
33356 ## Report this to wx-dev@lists.wxwidgets.org ##
33357 ## ----------------------------------------- ##
33360 sed "s/^/$as_me: WARNING: /" >&2
33363 echo "$as_me:$LINENO: checking for $ac_header" >&5
33364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33366 echo $ECHO_N "(cached) $ECHO_C" >&6
33368 eval "$as_ac_Header=\$ac_header_preproc"
33370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33375 cat >>confdefs.h
<<_ACEOF
33376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33383 if test "$ac_cv_header_sched_h" = "yes"; then
33384 echo "$as_me:$LINENO: checking for sched_yield" >&5
33385 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
33386 if test "${ac_cv_func_sched_yield+set}" = set; then
33387 echo $ECHO_N "(cached) $ECHO_C" >&6
33389 cat >conftest.
$ac_ext <<_ACEOF
33392 cat confdefs.h
>>conftest.
$ac_ext
33393 cat >>conftest.
$ac_ext <<_ACEOF
33394 /* end confdefs.h. */
33395 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
33396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33397 #define sched_yield innocuous_sched_yield
33399 /* System header to define __stub macros and hopefully few prototypes,
33400 which can conflict with char sched_yield (); below.
33401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33402 <limits.h> exists even on freestanding compilers. */
33405 # include <limits.h>
33407 # include <assert.h>
33412 /* Override any gcc2 internal prototype to avoid an error. */
33417 /* We use char because int might match the return type of a gcc2
33418 builtin and then its argument prototype would still apply. */
33419 char sched_yield ();
33420 /* The GNU C library defines this for functions which it implements
33421 to always fail with ENOSYS. Some functions are actually named
33422 something starting with __ and the normal name is an alias. */
33423 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
33426 char (*f) () = sched_yield;
33435 return f != sched_yield;
33440 rm -f conftest.
$ac_objext conftest
$ac_exeext
33441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33442 (eval $ac_link) 2>conftest.er1
33444 grep -v '^ *+' conftest.er1
>conftest.err
33446 cat conftest.err
>&5
33447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33448 (exit $ac_status); } &&
33449 { ac_try
='test -z "$ac_c_werror_flag"
33450 || test ! -s conftest.err'
33451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33452 (eval $ac_try) 2>&5
33454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33455 (exit $ac_status); }; } &&
33456 { ac_try
='test -s conftest$ac_exeext'
33457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33458 (eval $ac_try) 2>&5
33460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33461 (exit $ac_status); }; }; then
33462 ac_cv_func_sched_yield
=yes
33464 echo "$as_me: failed program was:" >&5
33465 sed 's/^/| /' conftest.
$ac_ext >&5
33467 ac_cv_func_sched_yield
=no
33469 rm -f conftest.err conftest.
$ac_objext \
33470 conftest
$ac_exeext conftest.
$ac_ext
33472 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
33473 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
33474 if test $ac_cv_func_sched_yield = yes; then
33475 cat >>confdefs.h
<<\_ACEOF
33476 #define HAVE_SCHED_YIELD 1
33481 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
33482 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
33483 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
33484 echo $ECHO_N "(cached) $ECHO_C" >&6
33486 ac_check_lib_save_LIBS
=$LIBS
33487 LIBS
="-lposix4 $LIBS"
33488 cat >conftest.
$ac_ext <<_ACEOF
33491 cat confdefs.h
>>conftest.
$ac_ext
33492 cat >>conftest.
$ac_ext <<_ACEOF
33493 /* end confdefs.h. */
33495 /* Override any gcc2 internal prototype to avoid an error. */
33499 /* We use char because int might match the return type of a gcc2
33500 builtin and then its argument prototype would still apply. */
33501 char sched_yield ();
33510 rm -f conftest.
$ac_objext conftest
$ac_exeext
33511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33512 (eval $ac_link) 2>conftest.er1
33514 grep -v '^ *+' conftest.er1
>conftest.err
33516 cat conftest.err
>&5
33517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33518 (exit $ac_status); } &&
33519 { ac_try
='test -z "$ac_c_werror_flag"
33520 || test ! -s conftest.err'
33521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33522 (eval $ac_try) 2>&5
33524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33525 (exit $ac_status); }; } &&
33526 { ac_try
='test -s conftest$ac_exeext'
33527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33528 (eval $ac_try) 2>&5
33530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33531 (exit $ac_status); }; }; then
33532 ac_cv_lib_posix4_sched_yield
=yes
33534 echo "$as_me: failed program was:" >&5
33535 sed 's/^/| /' conftest.
$ac_ext >&5
33537 ac_cv_lib_posix4_sched_yield
=no
33539 rm -f conftest.err conftest.
$ac_objext \
33540 conftest
$ac_exeext conftest.
$ac_ext
33541 LIBS
=$ac_check_lib_save_LIBS
33543 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
33544 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
33545 if test $ac_cv_lib_posix4_sched_yield = yes; then
33546 cat >>confdefs.h
<<\_ACEOF
33547 #define HAVE_SCHED_YIELD 1
33549 POSIX4_LINK
=" -lposix4"
33551 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
33552 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
33563 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
33564 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
33565 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
33566 echo $ECHO_N "(cached) $ECHO_C" >&6
33568 cat >conftest.
$ac_ext <<_ACEOF
33571 cat confdefs.h
>>conftest.
$ac_ext
33572 cat >>conftest.
$ac_ext <<_ACEOF
33573 /* end confdefs.h. */
33574 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
33575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33576 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
33578 /* System header to define __stub macros and hopefully few prototypes,
33579 which can conflict with char pthread_attr_getschedpolicy (); below.
33580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33581 <limits.h> exists even on freestanding compilers. */
33584 # include <limits.h>
33586 # include <assert.h>
33589 #undef pthread_attr_getschedpolicy
33591 /* Override any gcc2 internal prototype to avoid an error. */
33596 /* We use char because int might match the return type of a gcc2
33597 builtin and then its argument prototype would still apply. */
33598 char pthread_attr_getschedpolicy ();
33599 /* The GNU C library defines this for functions which it implements
33600 to always fail with ENOSYS. Some functions are actually named
33601 something starting with __ and the normal name is an alias. */
33602 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
33605 char (*f) () = pthread_attr_getschedpolicy;
33614 return f != pthread_attr_getschedpolicy;
33619 rm -f conftest.
$ac_objext conftest
$ac_exeext
33620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33621 (eval $ac_link) 2>conftest.er1
33623 grep -v '^ *+' conftest.er1
>conftest.err
33625 cat conftest.err
>&5
33626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33627 (exit $ac_status); } &&
33628 { ac_try
='test -z "$ac_c_werror_flag"
33629 || test ! -s conftest.err'
33630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33631 (eval $ac_try) 2>&5
33633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33634 (exit $ac_status); }; } &&
33635 { ac_try
='test -s conftest$ac_exeext'
33636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33637 (eval $ac_try) 2>&5
33639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33640 (exit $ac_status); }; }; then
33641 ac_cv_func_pthread_attr_getschedpolicy
=yes
33643 echo "$as_me: failed program was:" >&5
33644 sed 's/^/| /' conftest.
$ac_ext >&5
33646 ac_cv_func_pthread_attr_getschedpolicy
=no
33648 rm -f conftest.err conftest.
$ac_objext \
33649 conftest
$ac_exeext conftest.
$ac_ext
33651 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
33652 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
33653 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
33654 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
33655 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
33656 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
33657 echo $ECHO_N "(cached) $ECHO_C" >&6
33659 cat >conftest.
$ac_ext <<_ACEOF
33662 cat confdefs.h
>>conftest.
$ac_ext
33663 cat >>conftest.
$ac_ext <<_ACEOF
33664 /* end confdefs.h. */
33665 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
33666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33667 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
33669 /* System header to define __stub macros and hopefully few prototypes,
33670 which can conflict with char pthread_attr_setschedparam (); below.
33671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33672 <limits.h> exists even on freestanding compilers. */
33675 # include <limits.h>
33677 # include <assert.h>
33680 #undef pthread_attr_setschedparam
33682 /* Override any gcc2 internal prototype to avoid an error. */
33687 /* We use char because int might match the return type of a gcc2
33688 builtin and then its argument prototype would still apply. */
33689 char pthread_attr_setschedparam ();
33690 /* The GNU C library defines this for functions which it implements
33691 to always fail with ENOSYS. Some functions are actually named
33692 something starting with __ and the normal name is an alias. */
33693 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
33696 char (*f) () = pthread_attr_setschedparam;
33705 return f != pthread_attr_setschedparam;
33710 rm -f conftest.
$ac_objext conftest
$ac_exeext
33711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33712 (eval $ac_link) 2>conftest.er1
33714 grep -v '^ *+' conftest.er1
>conftest.err
33716 cat conftest.err
>&5
33717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33718 (exit $ac_status); } &&
33719 { ac_try
='test -z "$ac_c_werror_flag"
33720 || test ! -s conftest.err'
33721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33722 (eval $ac_try) 2>&5
33724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33725 (exit $ac_status); }; } &&
33726 { ac_try
='test -s conftest$ac_exeext'
33727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33728 (eval $ac_try) 2>&5
33730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33731 (exit $ac_status); }; }; then
33732 ac_cv_func_pthread_attr_setschedparam
=yes
33734 echo "$as_me: failed program was:" >&5
33735 sed 's/^/| /' conftest.
$ac_ext >&5
33737 ac_cv_func_pthread_attr_setschedparam
=no
33739 rm -f conftest.err conftest.
$ac_objext \
33740 conftest
$ac_exeext conftest.
$ac_ext
33742 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
33743 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
33744 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
33745 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
33746 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
33747 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
33748 echo $ECHO_N "(cached) $ECHO_C" >&6
33750 cat >conftest.
$ac_ext <<_ACEOF
33753 cat confdefs.h
>>conftest.
$ac_ext
33754 cat >>conftest.
$ac_ext <<_ACEOF
33755 /* end confdefs.h. */
33756 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
33757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33758 #define sched_get_priority_max innocuous_sched_get_priority_max
33760 /* System header to define __stub macros and hopefully few prototypes,
33761 which can conflict with char sched_get_priority_max (); below.
33762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33763 <limits.h> exists even on freestanding compilers. */
33766 # include <limits.h>
33768 # include <assert.h>
33771 #undef sched_get_priority_max
33773 /* Override any gcc2 internal prototype to avoid an error. */
33778 /* We use char because int might match the return type of a gcc2
33779 builtin and then its argument prototype would still apply. */
33780 char sched_get_priority_max ();
33781 /* The GNU C library defines this for functions which it implements
33782 to always fail with ENOSYS. Some functions are actually named
33783 something starting with __ and the normal name is an alias. */
33784 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
33787 char (*f) () = sched_get_priority_max;
33796 return f != sched_get_priority_max;
33801 rm -f conftest.
$ac_objext conftest
$ac_exeext
33802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33803 (eval $ac_link) 2>conftest.er1
33805 grep -v '^ *+' conftest.er1
>conftest.err
33807 cat conftest.err
>&5
33808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33809 (exit $ac_status); } &&
33810 { ac_try
='test -z "$ac_c_werror_flag"
33811 || test ! -s conftest.err'
33812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33813 (eval $ac_try) 2>&5
33815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33816 (exit $ac_status); }; } &&
33817 { ac_try
='test -s conftest$ac_exeext'
33818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33819 (eval $ac_try) 2>&5
33821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33822 (exit $ac_status); }; }; then
33823 ac_cv_func_sched_get_priority_max
=yes
33825 echo "$as_me: failed program was:" >&5
33826 sed 's/^/| /' conftest.
$ac_ext >&5
33828 ac_cv_func_sched_get_priority_max
=no
33830 rm -f conftest.err conftest.
$ac_objext \
33831 conftest
$ac_exeext conftest.
$ac_ext
33833 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
33834 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
33835 if test $ac_cv_func_sched_get_priority_max = yes; then
33838 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
33839 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
33840 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
33841 echo $ECHO_N "(cached) $ECHO_C" >&6
33843 ac_check_lib_save_LIBS
=$LIBS
33844 LIBS
="-lposix4 $LIBS"
33845 cat >conftest.
$ac_ext <<_ACEOF
33848 cat confdefs.h
>>conftest.
$ac_ext
33849 cat >>conftest.
$ac_ext <<_ACEOF
33850 /* end confdefs.h. */
33852 /* Override any gcc2 internal prototype to avoid an error. */
33856 /* We use char because int might match the return type of a gcc2
33857 builtin and then its argument prototype would still apply. */
33858 char sched_get_priority_max ();
33862 sched_get_priority_max ();
33867 rm -f conftest.
$ac_objext conftest
$ac_exeext
33868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33869 (eval $ac_link) 2>conftest.er1
33871 grep -v '^ *+' conftest.er1
>conftest.err
33873 cat conftest.err
>&5
33874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33875 (exit $ac_status); } &&
33876 { ac_try
='test -z "$ac_c_werror_flag"
33877 || test ! -s conftest.err'
33878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33879 (eval $ac_try) 2>&5
33881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33882 (exit $ac_status); }; } &&
33883 { ac_try
='test -s conftest$ac_exeext'
33884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33885 (eval $ac_try) 2>&5
33887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33888 (exit $ac_status); }; }; then
33889 ac_cv_lib_posix4_sched_get_priority_max
=yes
33891 echo "$as_me: failed program was:" >&5
33892 sed 's/^/| /' conftest.
$ac_ext >&5
33894 ac_cv_lib_posix4_sched_get_priority_max
=no
33896 rm -f conftest.err conftest.
$ac_objext \
33897 conftest
$ac_exeext conftest.
$ac_ext
33898 LIBS
=$ac_check_lib_save_LIBS
33900 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33901 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33902 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33905 POSIX4_LINK
=" -lposix4"
33919 if test "$HAVE_PRIOR_FUNCS" = 1; then
33920 cat >>confdefs.h
<<\_ACEOF
33921 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33925 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33926 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33929 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33930 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33931 if test "${ac_cv_func_pthread_cancel+set}" = set; then
33932 echo $ECHO_N "(cached) $ECHO_C" >&6
33934 cat >conftest.
$ac_ext <<_ACEOF
33937 cat confdefs.h
>>conftest.
$ac_ext
33938 cat >>conftest.
$ac_ext <<_ACEOF
33939 /* end confdefs.h. */
33940 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33942 #define pthread_cancel innocuous_pthread_cancel
33944 /* System header to define __stub macros and hopefully few prototypes,
33945 which can conflict with char pthread_cancel (); below.
33946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33947 <limits.h> exists even on freestanding compilers. */
33950 # include <limits.h>
33952 # include <assert.h>
33955 #undef pthread_cancel
33957 /* Override any gcc2 internal prototype to avoid an error. */
33962 /* We use char because int might match the return type of a gcc2
33963 builtin and then its argument prototype would still apply. */
33964 char pthread_cancel ();
33965 /* The GNU C library defines this for functions which it implements
33966 to always fail with ENOSYS. Some functions are actually named
33967 something starting with __ and the normal name is an alias. */
33968 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33971 char (*f) () = pthread_cancel;
33980 return f != pthread_cancel;
33985 rm -f conftest.
$ac_objext conftest
$ac_exeext
33986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33987 (eval $ac_link) 2>conftest.er1
33989 grep -v '^ *+' conftest.er1
>conftest.err
33991 cat conftest.err
>&5
33992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33993 (exit $ac_status); } &&
33994 { ac_try
='test -z "$ac_c_werror_flag"
33995 || test ! -s conftest.err'
33996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33997 (eval $ac_try) 2>&5
33999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34000 (exit $ac_status); }; } &&
34001 { ac_try
='test -s conftest$ac_exeext'
34002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34003 (eval $ac_try) 2>&5
34005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34006 (exit $ac_status); }; }; then
34007 ac_cv_func_pthread_cancel
=yes
34009 echo "$as_me: failed program was:" >&5
34010 sed 's/^/| /' conftest.
$ac_ext >&5
34012 ac_cv_func_pthread_cancel
=no
34014 rm -f conftest.err conftest.
$ac_objext \
34015 conftest
$ac_exeext conftest.
$ac_ext
34017 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
34018 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
34019 if test $ac_cv_func_pthread_cancel = yes; then
34020 cat >>confdefs.h
<<\_ACEOF
34021 #define HAVE_PTHREAD_CANCEL 1
34025 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
34026 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
34032 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
34033 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
34034 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
34035 echo $ECHO_N "(cached) $ECHO_C" >&6
34038 cat >conftest.
$ac_ext <<_ACEOF
34041 cat confdefs.h
>>conftest.
$ac_ext
34042 cat >>conftest.
$ac_ext <<_ACEOF
34043 /* end confdefs.h. */
34044 #include <pthread.h>
34049 pthread_mutexattr_t attr;
34050 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
34056 rm -f conftest.
$ac_objext
34057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34058 (eval $ac_compile) 2>conftest.er1
34060 grep -v '^ *+' conftest.er1
>conftest.err
34062 cat conftest.err
>&5
34063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34064 (exit $ac_status); } &&
34065 { ac_try
='test -z "$ac_c_werror_flag"
34066 || test ! -s conftest.err'
34067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34068 (eval $ac_try) 2>&5
34070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34071 (exit $ac_status); }; } &&
34072 { ac_try
='test -s conftest.$ac_objext'
34073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34074 (eval $ac_try) 2>&5
34076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34077 (exit $ac_status); }; }; then
34079 wx_cv_type_pthread_mutexattr_t
=yes
34082 echo "$as_me: failed program was:" >&5
34083 sed 's/^/| /' conftest.
$ac_ext >&5
34086 wx_cv_type_pthread_mutexattr_t
=no
34090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34093 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
34094 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
34096 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
34097 cat >>confdefs.h
<<\_ACEOF
34098 #define HAVE_PTHREAD_MUTEXATTR_T 1
34102 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
34103 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
34104 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
34105 echo $ECHO_N "(cached) $ECHO_C" >&6
34108 cat >conftest.
$ac_ext <<_ACEOF
34111 cat confdefs.h
>>conftest.
$ac_ext
34112 cat >>conftest.
$ac_ext <<_ACEOF
34113 /* end confdefs.h. */
34114 #include <pthread.h>
34119 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
34125 rm -f conftest.
$ac_objext
34126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34127 (eval $ac_compile) 2>conftest.er1
34129 grep -v '^ *+' conftest.er1
>conftest.err
34131 cat conftest.err
>&5
34132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34133 (exit $ac_status); } &&
34134 { ac_try
='test -z "$ac_c_werror_flag"
34135 || test ! -s conftest.err'
34136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34137 (eval $ac_try) 2>&5
34139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34140 (exit $ac_status); }; } &&
34141 { ac_try
='test -s conftest.$ac_objext'
34142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34143 (eval $ac_try) 2>&5
34145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34146 (exit $ac_status); }; }; then
34148 wx_cv_type_pthread_rec_mutex_init
=yes
34151 echo "$as_me: failed program was:" >&5
34152 sed 's/^/| /' conftest.
$ac_ext >&5
34155 wx_cv_type_pthread_rec_mutex_init
=no
34159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34162 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
34163 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
34164 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
34165 cat >>confdefs.h
<<\_ACEOF
34166 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
34170 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
34171 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
34177 if test "$wxUSE_THREADS" = "yes" ; then
34180 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
34181 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
34182 if test "${wx_cv_cflags_mthread+set}" = set; then
34183 echo $ECHO_N "(cached) $ECHO_C" >&6
34186 CFLAGS_OLD
="$CFLAGS"
34187 CFLAGS
="$CFLAGS -mthreads"
34188 cat >conftest.
$ac_ext <<_ACEOF
34191 cat confdefs.h
>>conftest.
$ac_ext
34192 cat >>conftest.
$ac_ext <<_ACEOF
34193 /* end confdefs.h. */
34203 rm -f conftest.
$ac_objext
34204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34205 (eval $ac_compile) 2>conftest.er1
34207 grep -v '^ *+' conftest.er1
>conftest.err
34209 cat conftest.err
>&5
34210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34211 (exit $ac_status); } &&
34212 { ac_try
='test -z "$ac_c_werror_flag"
34213 || test ! -s conftest.err'
34214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34215 (eval $ac_try) 2>&5
34217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34218 (exit $ac_status); }; } &&
34219 { ac_try
='test -s conftest.$ac_objext'
34220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34221 (eval $ac_try) 2>&5
34223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34224 (exit $ac_status); }; }; then
34225 wx_cv_cflags_mthread
=yes
34227 echo "$as_me: failed program was:" >&5
34228 sed 's/^/| /' conftest.
$ac_ext >&5
34230 wx_cv_cflags_mthread
=no
34233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34237 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
34238 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
34240 if test "$wx_cv_cflags_mthread" = "yes"; then
34241 CXXFLAGS
="$CXXFLAGS -mthreads"
34242 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
34243 LDFLAGS
="$LDFLAGS -mthreads"
34245 CFLAGS
="$CFLAGS_OLD"
34249 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
34250 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
34251 LDFLAGS
="$LDFLAGS -Zmt"
34257 if test "$wxUSE_THREADS" = "yes"; then
34258 cat >>confdefs.h
<<\_ACEOF
34259 #define wxUSE_THREADS 1
34263 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
34265 if test "$ac_cv_func_strtok_r" = "yes"; then
34266 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
34267 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
34268 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
34269 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
34270 echo "$as_me:$LINENO: result: yes" >&5
34271 echo "${ECHO_T}yes" >&6
34273 echo "$as_me:$LINENO: result: no" >&5
34274 echo "${ECHO_T}no" >&6
34279 if test "$WXGTK20" = 1 ; then
34280 cat >>confdefs.h
<<_ACEOF
34281 #define __WXGTK20__ $WXGTK20
34287 if test "$WXGTK12" = 1 ; then
34288 cat >>confdefs.h
<<_ACEOF
34289 #define __WXGTK12__ $WXGTK12
34294 if test "$WXGTK127" = 1 ; then
34295 cat >>confdefs.h
<<_ACEOF
34296 #define __WXGTK127__ $WXGTK127
34301 if test "$WXGPE" = 1 ; then
34302 cat >>confdefs.h
<<_ACEOF
34303 #define __WXGPE__ $WXGPE
34310 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
34315 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
34316 wxUSE_DEBUG_INFO
=yes
34320 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
34321 cat >>confdefs.h
<<\_ACEOF
34325 WXDEBUG_DEFINE
="-D__WXDEBUG__"
34327 if test "$wxUSE_GTK" = 1 ; then
34328 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
34332 if test "$wxUSE_MEM_TRACING" = "yes" ; then
34333 cat >>confdefs.h
<<\_ACEOF
34334 #define wxUSE_MEMORY_TRACING 1
34337 cat >>confdefs.h
<<\_ACEOF
34338 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
34341 cat >>confdefs.h
<<\_ACEOF
34342 #define wxUSE_DEBUG_NEW_ALWAYS 1
34345 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
34348 if test "$wxUSE_DMALLOC" = "yes" ; then
34349 DMALLOC_LIBS
="-ldmalloc"
34353 if test "$wxUSE_PROFILE" = "yes" ; then
34358 CODE_GEN_FLAGS_CXX
=
34359 if test "$GCC" = "yes" ; then
34360 if test "$wxUSE_NO_RTTI" = "yes" ; then
34361 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
34363 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
34364 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
34366 if test "$wxUSE_PERMISSIVE" = "yes" ; then
34367 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
34372 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
34375 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
34381 if test "$wxUSE_OPTIMISE" = "no" ; then
34382 if test "$GCC" = yes ; then
34386 if test "$GCC" = yes ; then
34390 i586
-*-*|i686
-*-* )
34391 OPTIMISE
="${OPTIMISE} "
34400 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
34401 cat >>confdefs.h
<<\_ACEOF
34402 #define WXWIN_COMPATIBILITY_2_2 1
34406 WXWIN_COMPATIBILITY_2_4
="yes"
34409 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
34410 cat >>confdefs.h
<<\_ACEOF
34411 #define WXWIN_COMPATIBILITY_2_4 1
34417 if test "$wxUSE_GUI" = "yes"; then
34418 cat >>confdefs.h
<<\_ACEOF
34419 #define wxUSE_GUI 1
34424 cat >>confdefs.h
<<\_ACEOF
34425 #define wxUSE_NOGUI 1
34431 if test "$wxUSE_UNIX" = "yes"; then
34432 cat >>confdefs.h
<<\_ACEOF
34433 #define wxUSE_UNIX 1
34439 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34443 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34444 if test "$USE_DARWIN" = 1; then
34448 for ac_func
in dlopen
34450 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34451 echo "$as_me:$LINENO: checking for $ac_func" >&5
34452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34453 if eval "test \"\${$as_ac_var+set}\" = set"; then
34454 echo $ECHO_N "(cached) $ECHO_C" >&6
34456 cat >conftest.
$ac_ext <<_ACEOF
34459 cat confdefs.h
>>conftest.
$ac_ext
34460 cat >>conftest.
$ac_ext <<_ACEOF
34461 /* end confdefs.h. */
34462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34464 #define $ac_func innocuous_$ac_func
34466 /* System header to define __stub macros and hopefully few prototypes,
34467 which can conflict with char $ac_func (); below.
34468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34469 <limits.h> exists even on freestanding compilers. */
34472 # include <limits.h>
34474 # include <assert.h>
34479 /* Override any gcc2 internal prototype to avoid an error. */
34484 /* We use char because int might match the return type of a gcc2
34485 builtin and then its argument prototype would still apply. */
34487 /* The GNU C library defines this for functions which it implements
34488 to always fail with ENOSYS. Some functions are actually named
34489 something starting with __ and the normal name is an alias. */
34490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34493 char (*f) () = $ac_func;
34502 return f != $ac_func;
34507 rm -f conftest.
$ac_objext conftest
$ac_exeext
34508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34509 (eval $ac_link) 2>conftest.er1
34511 grep -v '^ *+' conftest.er1
>conftest.err
34513 cat conftest.err
>&5
34514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34515 (exit $ac_status); } &&
34516 { ac_try
='test -z "$ac_c_werror_flag"
34517 || test ! -s conftest.err'
34518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34519 (eval $ac_try) 2>&5
34521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34522 (exit $ac_status); }; } &&
34523 { ac_try
='test -s conftest$ac_exeext'
34524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34525 (eval $ac_try) 2>&5
34527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34528 (exit $ac_status); }; }; then
34529 eval "$as_ac_var=yes"
34531 echo "$as_me: failed program was:" >&5
34532 sed 's/^/| /' conftest.
$ac_ext >&5
34534 eval "$as_ac_var=no"
34536 rm -f conftest.err conftest.
$ac_objext \
34537 conftest
$ac_exeext conftest.
$ac_ext
34539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34541 if test `eval echo '${'$as_ac_var'}'` = yes; then
34542 cat >>confdefs.h
<<_ACEOF
34543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34546 cat >>confdefs.h
<<\_ACEOF
34547 #define HAVE_DLOPEN 1
34554 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
34555 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
34556 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
34557 echo $ECHO_N "(cached) $ECHO_C" >&6
34559 ac_check_lib_save_LIBS
=$LIBS
34561 cat >conftest.
$ac_ext <<_ACEOF
34564 cat confdefs.h
>>conftest.
$ac_ext
34565 cat >>conftest.
$ac_ext <<_ACEOF
34566 /* end confdefs.h. */
34568 /* Override any gcc2 internal prototype to avoid an error. */
34572 /* We use char because int might match the return type of a gcc2
34573 builtin and then its argument prototype would still apply. */
34583 rm -f conftest.
$ac_objext conftest
$ac_exeext
34584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34585 (eval $ac_link) 2>conftest.er1
34587 grep -v '^ *+' conftest.er1
>conftest.err
34589 cat conftest.err
>&5
34590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34591 (exit $ac_status); } &&
34592 { ac_try
='test -z "$ac_c_werror_flag"
34593 || test ! -s conftest.err'
34594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34595 (eval $ac_try) 2>&5
34597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34598 (exit $ac_status); }; } &&
34599 { ac_try
='test -s conftest$ac_exeext'
34600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34601 (eval $ac_try) 2>&5
34603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34604 (exit $ac_status); }; }; then
34605 ac_cv_lib_dl_dlopen
=yes
34607 echo "$as_me: failed program was:" >&5
34608 sed 's/^/| /' conftest.
$ac_ext >&5
34610 ac_cv_lib_dl_dlopen
=no
34612 rm -f conftest.err conftest.
$ac_objext \
34613 conftest
$ac_exeext conftest.
$ac_ext
34614 LIBS
=$ac_check_lib_save_LIBS
34616 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
34617 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
34618 if test $ac_cv_lib_dl_dlopen = yes; then
34620 cat >>confdefs.h
<<\_ACEOF
34621 #define HAVE_DLOPEN 1
34625 DL_LINK
=" -ldl$DL_LINK"
34630 for ac_func
in shl_load
34632 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34633 echo "$as_me:$LINENO: checking for $ac_func" >&5
34634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34635 if eval "test \"\${$as_ac_var+set}\" = set"; then
34636 echo $ECHO_N "(cached) $ECHO_C" >&6
34638 cat >conftest.
$ac_ext <<_ACEOF
34641 cat confdefs.h
>>conftest.
$ac_ext
34642 cat >>conftest.
$ac_ext <<_ACEOF
34643 /* end confdefs.h. */
34644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34646 #define $ac_func innocuous_$ac_func
34648 /* System header to define __stub macros and hopefully few prototypes,
34649 which can conflict with char $ac_func (); below.
34650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34651 <limits.h> exists even on freestanding compilers. */
34654 # include <limits.h>
34656 # include <assert.h>
34661 /* Override any gcc2 internal prototype to avoid an error. */
34666 /* We use char because int might match the return type of a gcc2
34667 builtin and then its argument prototype would still apply. */
34669 /* The GNU C library defines this for functions which it implements
34670 to always fail with ENOSYS. Some functions are actually named
34671 something starting with __ and the normal name is an alias. */
34672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34675 char (*f) () = $ac_func;
34684 return f != $ac_func;
34689 rm -f conftest.
$ac_objext conftest
$ac_exeext
34690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34691 (eval $ac_link) 2>conftest.er1
34693 grep -v '^ *+' conftest.er1
>conftest.err
34695 cat conftest.err
>&5
34696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34697 (exit $ac_status); } &&
34698 { ac_try
='test -z "$ac_c_werror_flag"
34699 || test ! -s conftest.err'
34700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34701 (eval $ac_try) 2>&5
34703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34704 (exit $ac_status); }; } &&
34705 { ac_try
='test -s conftest$ac_exeext'
34706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34707 (eval $ac_try) 2>&5
34709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34710 (exit $ac_status); }; }; then
34711 eval "$as_ac_var=yes"
34713 echo "$as_me: failed program was:" >&5
34714 sed 's/^/| /' conftest.
$ac_ext >&5
34716 eval "$as_ac_var=no"
34718 rm -f conftest.err conftest.
$ac_objext \
34719 conftest
$ac_exeext conftest.
$ac_ext
34721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34723 if test `eval echo '${'$as_ac_var'}'` = yes; then
34724 cat >>confdefs.h
<<_ACEOF
34725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34728 cat >>confdefs.h
<<\_ACEOF
34729 #define HAVE_SHL_LOAD 1
34736 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
34737 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
34738 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
34739 echo $ECHO_N "(cached) $ECHO_C" >&6
34741 ac_check_lib_save_LIBS
=$LIBS
34742 LIBS
="-lshl_load $LIBS"
34743 cat >conftest.
$ac_ext <<_ACEOF
34746 cat confdefs.h
>>conftest.
$ac_ext
34747 cat >>conftest.
$ac_ext <<_ACEOF
34748 /* end confdefs.h. */
34750 /* Override any gcc2 internal prototype to avoid an error. */
34754 /* We use char because int might match the return type of a gcc2
34755 builtin and then its argument prototype would still apply. */
34765 rm -f conftest.
$ac_objext conftest
$ac_exeext
34766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34767 (eval $ac_link) 2>conftest.er1
34769 grep -v '^ *+' conftest.er1
>conftest.err
34771 cat conftest.err
>&5
34772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34773 (exit $ac_status); } &&
34774 { ac_try
='test -z "$ac_c_werror_flag"
34775 || test ! -s conftest.err'
34776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34777 (eval $ac_try) 2>&5
34779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34780 (exit $ac_status); }; } &&
34781 { ac_try
='test -s conftest$ac_exeext'
34782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34783 (eval $ac_try) 2>&5
34785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34786 (exit $ac_status); }; }; then
34787 ac_cv_lib_shl_load_dld
=yes
34789 echo "$as_me: failed program was:" >&5
34790 sed 's/^/| /' conftest.
$ac_ext >&5
34792 ac_cv_lib_shl_load_dld
=no
34794 rm -f conftest.err conftest.
$ac_objext \
34795 conftest
$ac_exeext conftest.
$ac_ext
34796 LIBS
=$ac_check_lib_save_LIBS
34798 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
34799 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
34800 if test $ac_cv_lib_shl_load_dld = yes; then
34803 DL_LINK
=" -ldld$DL_LINK"
34819 if test "$HAVE_DL_FUNCS" = 1; then
34821 for ac_func
in dlerror
34823 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34824 echo "$as_me:$LINENO: checking for $ac_func" >&5
34825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34826 if eval "test \"\${$as_ac_var+set}\" = set"; then
34827 echo $ECHO_N "(cached) $ECHO_C" >&6
34829 cat >conftest.
$ac_ext <<_ACEOF
34832 cat confdefs.h
>>conftest.
$ac_ext
34833 cat >>conftest.
$ac_ext <<_ACEOF
34834 /* end confdefs.h. */
34835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34837 #define $ac_func innocuous_$ac_func
34839 /* System header to define __stub macros and hopefully few prototypes,
34840 which can conflict with char $ac_func (); below.
34841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34842 <limits.h> exists even on freestanding compilers. */
34845 # include <limits.h>
34847 # include <assert.h>
34852 /* Override any gcc2 internal prototype to avoid an error. */
34857 /* We use char because int might match the return type of a gcc2
34858 builtin and then its argument prototype would still apply. */
34860 /* The GNU C library defines this for functions which it implements
34861 to always fail with ENOSYS. Some functions are actually named
34862 something starting with __ and the normal name is an alias. */
34863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34866 char (*f) () = $ac_func;
34875 return f != $ac_func;
34880 rm -f conftest.
$ac_objext conftest
$ac_exeext
34881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34882 (eval $ac_link) 2>conftest.er1
34884 grep -v '^ *+' conftest.er1
>conftest.err
34886 cat conftest.err
>&5
34887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34888 (exit $ac_status); } &&
34889 { ac_try
='test -z "$ac_c_werror_flag"
34890 || test ! -s conftest.err'
34891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34892 (eval $ac_try) 2>&5
34894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34895 (exit $ac_status); }; } &&
34896 { ac_try
='test -s conftest$ac_exeext'
34897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34898 (eval $ac_try) 2>&5
34900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34901 (exit $ac_status); }; }; then
34902 eval "$as_ac_var=yes"
34904 echo "$as_me: failed program was:" >&5
34905 sed 's/^/| /' conftest.
$ac_ext >&5
34907 eval "$as_ac_var=no"
34909 rm -f conftest.err conftest.
$ac_objext \
34910 conftest
$ac_exeext conftest.
$ac_ext
34912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34914 if test `eval echo '${'$as_ac_var'}'` = yes; then
34915 cat >>confdefs.h
<<_ACEOF
34916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34918 cat >>confdefs.h
<<\_ACEOF
34919 #define HAVE_DLERROR 1
34924 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34925 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34926 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34927 echo $ECHO_N "(cached) $ECHO_C" >&6
34929 ac_check_lib_save_LIBS
=$LIBS
34931 cat >conftest.
$ac_ext <<_ACEOF
34934 cat confdefs.h
>>conftest.
$ac_ext
34935 cat >>conftest.
$ac_ext <<_ACEOF
34936 /* end confdefs.h. */
34938 /* Override any gcc2 internal prototype to avoid an error. */
34942 /* We use char because int might match the return type of a gcc2
34943 builtin and then its argument prototype would still apply. */
34953 rm -f conftest.
$ac_objext conftest
$ac_exeext
34954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34955 (eval $ac_link) 2>conftest.er1
34957 grep -v '^ *+' conftest.er1
>conftest.err
34959 cat conftest.err
>&5
34960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34961 (exit $ac_status); } &&
34962 { ac_try
='test -z "$ac_c_werror_flag"
34963 || test ! -s conftest.err'
34964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34965 (eval $ac_try) 2>&5
34967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34968 (exit $ac_status); }; } &&
34969 { ac_try
='test -s conftest$ac_exeext'
34970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34971 (eval $ac_try) 2>&5
34973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34974 (exit $ac_status); }; }; then
34975 ac_cv_lib_dl_dlerror
=yes
34977 echo "$as_me: failed program was:" >&5
34978 sed 's/^/| /' conftest.
$ac_ext >&5
34980 ac_cv_lib_dl_dlerror
=no
34982 rm -f conftest.err conftest.
$ac_objext \
34983 conftest
$ac_exeext conftest.
$ac_ext
34984 LIBS
=$ac_check_lib_save_LIBS
34986 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34987 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34988 if test $ac_cv_lib_dl_dlerror = yes; then
34989 cat >>confdefs.h
<<\_ACEOF
34990 #define HAVE_DLERROR 1
35003 if test "$HAVE_DL_FUNCS" = 0; then
35004 if test "$HAVE_SHL_FUNCS" = 0; then
35005 if test "$USE_UNIX" = 1; then
35006 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
35007 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
35008 wxUSE_DYNAMIC_LOADER
=no
35009 wxUSE_DYNLIB_CLASS
=no
35011 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
35012 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
35019 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
35020 cat >>confdefs.h
<<\_ACEOF
35021 #define wxUSE_DYNAMIC_LOADER 1
35025 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35026 cat >>confdefs.h
<<\_ACEOF
35027 #define wxUSE_DYNLIB_CLASS 1
35034 if test "$wxUSE_PLUGINS" = "yes" ; then
35035 if test "$wxUSE_SHARED" = "no" ; then
35036 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
35037 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
35040 if test "$wxUSE_MONOLITHIC" = "yes" ; then
35041 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
35042 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
35045 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
35046 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
35047 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
35050 if test "$wxUSE_PLUGINS" = "yes" ; then
35051 cat >>confdefs.h
<<\_ACEOF
35052 #define wxUSE_PLUGINS 1
35059 if test "$wxUSE_STL" = "yes"; then
35060 cat >>confdefs.h
<<\_ACEOF
35061 #define wxUSE_STL 1
35066 if test "$wxUSE_APPLE_IEEE" = "yes"; then
35067 cat >>confdefs.h
<<\_ACEOF
35068 #define wxUSE_APPLE_IEEE 1
35073 if test "$wxUSE_TIMER" = "yes"; then
35074 cat >>confdefs.h
<<\_ACEOF
35075 #define wxUSE_TIMER 1
35081 if test "$wxUSE_SOUND" = "yes"; then
35082 if test "$USE_UNIX" = "1" ; then
35084 for ac_header
in sys
/soundcard.h
35086 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35087 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35088 echo "$as_me:$LINENO: checking for $ac_header" >&5
35089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35091 echo $ECHO_N "(cached) $ECHO_C" >&6
35093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35094 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35096 # Is the header compilable?
35097 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35098 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35099 cat >conftest.
$ac_ext <<_ACEOF
35102 cat confdefs.h
>>conftest.
$ac_ext
35103 cat >>conftest.
$ac_ext <<_ACEOF
35104 /* end confdefs.h. */
35105 $ac_includes_default
35106 #include <$ac_header>
35108 rm -f conftest.
$ac_objext
35109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35110 (eval $ac_compile) 2>conftest.er1
35112 grep -v '^ *+' conftest.er1
>conftest.err
35114 cat conftest.err
>&5
35115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35116 (exit $ac_status); } &&
35117 { ac_try
='test -z "$ac_c_werror_flag"
35118 || test ! -s conftest.err'
35119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35120 (eval $ac_try) 2>&5
35122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35123 (exit $ac_status); }; } &&
35124 { ac_try
='test -s conftest.$ac_objext'
35125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35126 (eval $ac_try) 2>&5
35128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35129 (exit $ac_status); }; }; then
35130 ac_header_compiler
=yes
35132 echo "$as_me: failed program was:" >&5
35133 sed 's/^/| /' conftest.
$ac_ext >&5
35135 ac_header_compiler
=no
35137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35139 echo "${ECHO_T}$ac_header_compiler" >&6
35141 # Is the header present?
35142 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35143 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35144 cat >conftest.
$ac_ext <<_ACEOF
35147 cat confdefs.h
>>conftest.
$ac_ext
35148 cat >>conftest.
$ac_ext <<_ACEOF
35149 /* end confdefs.h. */
35150 #include <$ac_header>
35152 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35153 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35155 grep -v '^ *+' conftest.er1
>conftest.err
35157 cat conftest.err
>&5
35158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35159 (exit $ac_status); } >/dev
/null
; then
35160 if test -s conftest.err
; then
35161 ac_cpp_err
=$ac_c_preproc_warn_flag
35162 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35169 if test -z "$ac_cpp_err"; then
35170 ac_header_preproc
=yes
35172 echo "$as_me: failed program was:" >&5
35173 sed 's/^/| /' conftest.
$ac_ext >&5
35175 ac_header_preproc
=no
35177 rm -f conftest.err conftest.
$ac_ext
35178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35179 echo "${ECHO_T}$ac_header_preproc" >&6
35181 # So? What about this header?
35182 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35184 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35185 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35187 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35188 ac_header_preproc
=yes
35191 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35192 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35193 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35194 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35195 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35196 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35197 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35198 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35200 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35201 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35202 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35205 ## ----------------------------------------- ##
35206 ## Report this to wx-dev@lists.wxwidgets.org ##
35207 ## ----------------------------------------- ##
35210 sed "s/^/$as_me: WARNING: /" >&2
35213 echo "$as_me:$LINENO: checking for $ac_header" >&5
35214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35216 echo $ECHO_N "(cached) $ECHO_C" >&6
35218 eval "$as_ac_Header=\$ac_header_preproc"
35220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35224 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35225 cat >>confdefs.h
<<_ACEOF
35226 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35234 if test "$wxUSE_LIBSDL" != "no"; then
35236 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
35237 if test "${with_sdl_prefix+set}" = set; then
35238 withval
="$with_sdl_prefix"
35239 sdl_prefix
="$withval"
35244 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
35245 if test "${with_sdl_exec_prefix+set}" = set; then
35246 withval
="$with_sdl_exec_prefix"
35247 sdl_exec_prefix
="$withval"
35251 # Check whether --enable-sdltest or --disable-sdltest was given.
35252 if test "${enable_sdltest+set}" = set; then
35253 enableval
="$enable_sdltest"
35259 if test x
$sdl_exec_prefix != x
; then
35260 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
35261 if test x
${SDL_CONFIG+set} != xset
; then
35262 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
35265 if test x
$sdl_prefix != x
; then
35266 sdl_args
="$sdl_args --prefix=$sdl_prefix"
35267 if test x
${SDL_CONFIG+set} != xset
; then
35268 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
35273 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
35274 # Extract the first word of "sdl-config", so it can be a program name with args.
35275 set dummy sdl
-config; ac_word
=$2
35276 echo "$as_me:$LINENO: checking for $ac_word" >&5
35277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35278 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
35279 echo $ECHO_N "(cached) $ECHO_C" >&6
35281 case $SDL_CONFIG in
35283 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
35286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35287 for as_dir
in $PATH
35290 test -z "$as_dir" && as_dir
=.
35291 for ac_exec_ext
in '' $ac_executable_extensions; do
35292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35293 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
35294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35300 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
35304 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
35306 if test -n "$SDL_CONFIG"; then
35307 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
35308 echo "${ECHO_T}$SDL_CONFIG" >&6
35310 echo "$as_me:$LINENO: result: no" >&5
35311 echo "${ECHO_T}no" >&6
35314 min_sdl_version
=1.2.0
35315 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
35316 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
35318 if test "$SDL_CONFIG" = "no" ; then
35321 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
35322 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
35324 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
35325 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
35326 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
35327 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
35328 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
35329 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
35330 if test "x$enable_sdltest" = "xyes" ; then
35331 ac_save_CFLAGS
="$CFLAGS"
35332 ac_save_LIBS
="$LIBS"
35333 CFLAGS
="$CFLAGS $SDL_CFLAGS"
35334 LIBS
="$LIBS $SDL_LIBS"
35336 if test "$cross_compiling" = yes; then
35337 echo $ac_n "cross compiling; assumed OK... $ac_c"
35339 cat >conftest.
$ac_ext <<_ACEOF
35342 cat confdefs.h
>>conftest.
$ac_ext
35343 cat >>conftest.
$ac_ext <<_ACEOF
35344 /* end confdefs.h. */
35347 #include <stdlib.h>
35348 #include <string.h>
35352 my_strdup (char *str)
35358 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
35359 strcpy (new_str, str);
35367 int main (int argc, char *argv[])
35369 int major, minor, micro;
35372 /* This hangs on some systems (?)
35373 system ("touch conf.sdltest");
35375 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
35377 /* HP/UX 9 (%@#!) writes to sscanf strings */
35378 tmp_version = my_strdup("$min_sdl_version");
35379 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
35380 printf("%s, bad version string\n", "$min_sdl_version");
35384 if (($sdl_major_version > major) ||
35385 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
35386 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
35392 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
35393 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
35394 printf("*** best to upgrade to the required version.\n");
35395 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
35396 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
35397 printf("*** config.cache before re-running configure\n");
35404 rm -f conftest
$ac_exeext
35405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35406 (eval $ac_link) 2>&5
35408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35409 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35411 (eval $ac_try) 2>&5
35413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35414 (exit $ac_status); }; }; then
35417 echo "$as_me: program exited with status $ac_status" >&5
35418 echo "$as_me: failed program was:" >&5
35419 sed 's/^/| /' conftest.
$ac_ext >&5
35421 ( exit $ac_status )
35424 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35426 CFLAGS
="$ac_save_CFLAGS"
35427 LIBS
="$ac_save_LIBS"
35430 if test "x$no_sdl" = x
; then
35431 echo "$as_me:$LINENO: result: yes" >&5
35432 echo "${ECHO_T}yes" >&6
35434 EXTRALIBS_SDL
="$SDL_LIBS"
35435 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
35436 cat >>confdefs.h
<<\_ACEOF
35437 #define wxUSE_LIBSDL 1
35442 echo "$as_me:$LINENO: result: no" >&5
35443 echo "${ECHO_T}no" >&6
35444 if test "$SDL_CONFIG" = "no" ; then
35445 echo "*** The sdl-config script installed by SDL could not be found"
35446 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
35447 echo "*** your path, or set the SDL_CONFIG environment variable to the"
35448 echo "*** full path to sdl-config."
35450 if test -f conf.sdltest
; then
35453 echo "*** Could not run SDL test program, checking why..."
35454 CFLAGS
="$CFLAGS $SDL_CFLAGS"
35455 LIBS
="$LIBS $SDL_LIBS"
35456 cat >conftest.
$ac_ext <<_ACEOF
35459 cat confdefs.h
>>conftest.
$ac_ext
35460 cat >>conftest.
$ac_ext <<_ACEOF
35461 /* end confdefs.h. */
35466 int main(int argc, char *argv[])
35469 #define main K_and_R_C_main
35479 rm -f conftest.
$ac_objext conftest
$ac_exeext
35480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35481 (eval $ac_link) 2>conftest.er1
35483 grep -v '^ *+' conftest.er1
>conftest.err
35485 cat conftest.err
>&5
35486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35487 (exit $ac_status); } &&
35488 { ac_try
='test -z "$ac_c_werror_flag"
35489 || test ! -s conftest.err'
35490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35491 (eval $ac_try) 2>&5
35493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35494 (exit $ac_status); }; } &&
35495 { ac_try
='test -s conftest$ac_exeext'
35496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35497 (eval $ac_try) 2>&5
35499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35500 (exit $ac_status); }; }; then
35501 echo "*** The test program compiled, but did not run. This usually means"
35502 echo "*** that the run-time linker is not finding SDL or finding the wrong"
35503 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
35504 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
35505 echo "*** to the installed location Also, make sure you have run ldconfig if that"
35506 echo "*** is required on your system"
35508 echo "*** If you have an old version installed, it is best to remove it, although"
35509 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
35511 echo "$as_me: failed program was:" >&5
35512 sed 's/^/| /' conftest.
$ac_ext >&5
35514 echo "*** The test program failed to compile or link. See the file config.log for the"
35515 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
35516 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
35517 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
35519 rm -f conftest.err conftest.
$ac_objext \
35520 conftest
$ac_exeext conftest.
$ac_ext
35521 CFLAGS
="$ac_save_CFLAGS"
35522 LIBS
="$ac_save_LIBS"
35533 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
35539 cat >>confdefs.h
<<\_ACEOF
35540 #define wxUSE_SOUND 1
35543 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
35546 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
35547 cat >>confdefs.h
<<\_ACEOF
35548 #define wxUSE_CMDLINE_PARSER 1
35553 if test "$wxUSE_STOPWATCH" = "yes"; then
35554 cat >>confdefs.h
<<\_ACEOF
35555 #define wxUSE_STOPWATCH 1
35560 if test "$wxUSE_DATETIME" = "yes"; then
35561 cat >>confdefs.h
<<\_ACEOF
35562 #define wxUSE_DATETIME 1
35567 if test "$wxUSE_FILE" = "yes"; then
35568 cat >>confdefs.h
<<\_ACEOF
35569 #define wxUSE_FILE 1
35574 if test "$wxUSE_FFILE" = "yes"; then
35575 cat >>confdefs.h
<<\_ACEOF
35576 #define wxUSE_FFILE 1
35581 if test "$wxUSE_FILESYSTEM" = "yes"; then
35582 cat >>confdefs.h
<<\_ACEOF
35583 #define wxUSE_FILESYSTEM 1
35588 if test "$wxUSE_FS_ZIP" = "yes"; then
35589 cat >>confdefs.h
<<\_ACEOF
35590 #define wxUSE_FS_ZIP 1
35595 if test "$wxUSE_ZIPSTREAM" = "yes"; then
35596 cat >>confdefs.h
<<\_ACEOF
35597 #define wxUSE_ZIPSTREAM 1
35602 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35603 cat >>confdefs.h
<<\_ACEOF
35604 #define wxUSE_ON_FATAL_EXCEPTION 1
35609 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35610 cat >>confdefs.h
<<\_ACEOF
35611 #define wxUSE_SNGLINST_CHECKER 1
35616 if test "$wxUSE_BUSYINFO" = "yes"; then
35617 cat >>confdefs.h
<<\_ACEOF
35618 #define wxUSE_BUSYINFO 1
35623 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
35624 cat >>confdefs.h
<<\_ACEOF
35625 #define wxUSE_STD_IOSTREAM 1
35630 if test "$wxUSE_TEXTBUFFER" = "yes"; then
35631 cat >>confdefs.h
<<\_ACEOF
35632 #define wxUSE_TEXTBUFFER 1
35637 if test "$wxUSE_TEXTFILE" = "yes"; then
35638 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
35639 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
35640 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
35642 cat >>confdefs.h
<<\_ACEOF
35643 #define wxUSE_TEXTFILE 1
35649 if test "$wxUSE_CONFIG" = "yes" ; then
35650 if test "$wxUSE_TEXTFILE" != "yes"; then
35651 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
35652 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
35654 cat >>confdefs.h
<<\_ACEOF
35655 #define wxUSE_CONFIG 1
35658 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
35662 if test "$wxUSE_INTL" = "yes" ; then
35663 if test "$wxUSE_FILE" != "yes"; then
35664 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
35665 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35667 cat >>confdefs.h
<<\_ACEOF
35668 #define wxUSE_INTL 1
35671 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
35672 GUIDIST
="$GUIDIST INTL_DIST"
35676 if test "$wxUSE_LOG" = "yes"; then
35677 cat >>confdefs.h
<<\_ACEOF
35678 #define wxUSE_LOG 1
35682 if test "$wxUSE_LOGGUI" = "yes"; then
35683 cat >>confdefs.h
<<\_ACEOF
35684 #define wxUSE_LOGGUI 1
35689 if test "$wxUSE_LOGWINDOW" = "yes"; then
35690 cat >>confdefs.h
<<\_ACEOF
35691 #define wxUSE_LOGWINDOW 1
35696 if test "$wxUSE_LOGDIALOG" = "yes"; then
35697 cat >>confdefs.h
<<\_ACEOF
35698 #define wxUSE_LOG_DIALOG 1
35704 if test "$wxUSE_LONGLONG" = "yes"; then
35705 cat >>confdefs.h
<<\_ACEOF
35706 #define wxUSE_LONGLONG 1
35711 if test "$wxUSE_GEOMETRY" = "yes"; then
35712 cat >>confdefs.h
<<\_ACEOF
35713 #define wxUSE_GEOMETRY 1
35718 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
35719 cat >>confdefs.h
<<\_ACEOF
35720 #define wxUSE_DIALUP_MANAGER 1
35723 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
35726 if test "$wxUSE_STREAMS" = "yes" ; then
35727 cat >>confdefs.h
<<\_ACEOF
35728 #define wxUSE_STREAMS 1
35734 if test "$wxUSE_DATETIME" = "yes"; then
35736 for ac_func
in strptime
35738 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35739 echo "$as_me:$LINENO: checking for $ac_func" >&5
35740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35741 if eval "test \"\${$as_ac_var+set}\" = set"; then
35742 echo $ECHO_N "(cached) $ECHO_C" >&6
35744 cat >conftest.
$ac_ext <<_ACEOF
35747 cat confdefs.h
>>conftest.
$ac_ext
35748 cat >>conftest.
$ac_ext <<_ACEOF
35749 /* end confdefs.h. */
35750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35752 #define $ac_func innocuous_$ac_func
35754 /* System header to define __stub macros and hopefully few prototypes,
35755 which can conflict with char $ac_func (); below.
35756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35757 <limits.h> exists even on freestanding compilers. */
35760 # include <limits.h>
35762 # include <assert.h>
35767 /* Override any gcc2 internal prototype to avoid an error. */
35772 /* We use char because int might match the return type of a gcc2
35773 builtin and then its argument prototype would still apply. */
35775 /* The GNU C library defines this for functions which it implements
35776 to always fail with ENOSYS. Some functions are actually named
35777 something starting with __ and the normal name is an alias. */
35778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35781 char (*f) () = $ac_func;
35790 return f != $ac_func;
35795 rm -f conftest.
$ac_objext conftest
$ac_exeext
35796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35797 (eval $ac_link) 2>conftest.er1
35799 grep -v '^ *+' conftest.er1
>conftest.err
35801 cat conftest.err
>&5
35802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35803 (exit $ac_status); } &&
35804 { ac_try
='test -z "$ac_c_werror_flag"
35805 || test ! -s conftest.err'
35806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35807 (eval $ac_try) 2>&5
35809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35810 (exit $ac_status); }; } &&
35811 { ac_try
='test -s conftest$ac_exeext'
35812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35813 (eval $ac_try) 2>&5
35815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35816 (exit $ac_status); }; }; then
35817 eval "$as_ac_var=yes"
35819 echo "$as_me: failed program was:" >&5
35820 sed 's/^/| /' conftest.
$ac_ext >&5
35822 eval "$as_ac_var=no"
35824 rm -f conftest.err conftest.
$ac_objext \
35825 conftest
$ac_exeext conftest.
$ac_ext
35827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35829 if test `eval echo '${'$as_ac_var'}'` = yes; then
35830 cat >>confdefs.h
<<_ACEOF
35831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35838 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
35839 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
35840 if test "${wx_cv_var_timezone+set}" = set; then
35841 echo $ECHO_N "(cached) $ECHO_C" >&6
35844 cat >conftest.
$ac_ext <<_ACEOF
35847 cat confdefs.h
>>conftest.
$ac_ext
35848 cat >>conftest.
$ac_ext <<_ACEOF
35849 /* end confdefs.h. */
35864 rm -f conftest.
$ac_objext
35865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35866 (eval $ac_compile) 2>conftest.er1
35868 grep -v '^ *+' conftest.er1
>conftest.err
35870 cat conftest.err
>&5
35871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35872 (exit $ac_status); } &&
35873 { ac_try
='test -z "$ac_c_werror_flag"
35874 || test ! -s conftest.err'
35875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35876 (eval $ac_try) 2>&5
35878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35879 (exit $ac_status); }; } &&
35880 { ac_try
='test -s conftest.$ac_objext'
35881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35882 (eval $ac_try) 2>&5
35884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35885 (exit $ac_status); }; }; then
35887 wx_cv_var_timezone
=timezone
35890 echo "$as_me: failed program was:" >&5
35891 sed 's/^/| /' conftest.
$ac_ext >&5
35894 cat >conftest.
$ac_ext <<_ACEOF
35897 cat confdefs.h
>>conftest.
$ac_ext
35898 cat >>conftest.
$ac_ext <<_ACEOF
35899 /* end confdefs.h. */
35914 rm -f conftest.
$ac_objext
35915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35916 (eval $ac_compile) 2>conftest.er1
35918 grep -v '^ *+' conftest.er1
>conftest.err
35920 cat conftest.err
>&5
35921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35922 (exit $ac_status); } &&
35923 { ac_try
='test -z "$ac_c_werror_flag"
35924 || test ! -s conftest.err'
35925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35926 (eval $ac_try) 2>&5
35928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35929 (exit $ac_status); }; } &&
35930 { ac_try
='test -s conftest.$ac_objext'
35931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35932 (eval $ac_try) 2>&5
35934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35935 (exit $ac_status); }; }; then
35937 wx_cv_var_timezone
=_timezone
35940 echo "$as_me: failed program was:" >&5
35941 sed 's/^/| /' conftest.
$ac_ext >&5
35944 cat >conftest.
$ac_ext <<_ACEOF
35947 cat confdefs.h
>>conftest.
$ac_ext
35948 cat >>conftest.
$ac_ext <<_ACEOF
35949 /* end confdefs.h. */
35964 rm -f conftest.
$ac_objext
35965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35966 (eval $ac_compile) 2>conftest.er1
35968 grep -v '^ *+' conftest.er1
>conftest.err
35970 cat conftest.err
>&5
35971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35972 (exit $ac_status); } &&
35973 { ac_try
='test -z "$ac_c_werror_flag"
35974 || test ! -s conftest.err'
35975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35976 (eval $ac_try) 2>&5
35978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35979 (exit $ac_status); }; } &&
35980 { ac_try
='test -s conftest.$ac_objext'
35981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35982 (eval $ac_try) 2>&5
35984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35985 (exit $ac_status); }; }; then
35987 wx_cv_var_timezone
=__timezone
35990 echo "$as_me: failed program was:" >&5
35991 sed 's/^/| /' conftest.
$ac_ext >&5
35994 if test "$USE_DOS" = 0 ; then
35995 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35996 echo "$as_me: WARNING: no timezone variable" >&2;}
36001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36009 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36013 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
36014 echo "${ECHO_T}$wx_cv_var_timezone" >&6
36016 if test "x$wx_cv_var_timezone" != x
; then
36017 cat >>confdefs.h
<<_ACEOF
36018 #define WX_TIMEZONE $wx_cv_var_timezone
36024 for ac_func
in localtime
36026 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36027 echo "$as_me:$LINENO: checking for $ac_func" >&5
36028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36029 if eval "test \"\${$as_ac_var+set}\" = set"; then
36030 echo $ECHO_N "(cached) $ECHO_C" >&6
36032 cat >conftest.
$ac_ext <<_ACEOF
36035 cat confdefs.h
>>conftest.
$ac_ext
36036 cat >>conftest.
$ac_ext <<_ACEOF
36037 /* end confdefs.h. */
36038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36040 #define $ac_func innocuous_$ac_func
36042 /* System header to define __stub macros and hopefully few prototypes,
36043 which can conflict with char $ac_func (); below.
36044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36045 <limits.h> exists even on freestanding compilers. */
36048 # include <limits.h>
36050 # include <assert.h>
36055 /* Override any gcc2 internal prototype to avoid an error. */
36060 /* We use char because int might match the return type of a gcc2
36061 builtin and then its argument prototype would still apply. */
36063 /* The GNU C library defines this for functions which it implements
36064 to always fail with ENOSYS. Some functions are actually named
36065 something starting with __ and the normal name is an alias. */
36066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36069 char (*f) () = $ac_func;
36078 return f != $ac_func;
36083 rm -f conftest.
$ac_objext conftest
$ac_exeext
36084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36085 (eval $ac_link) 2>conftest.er1
36087 grep -v '^ *+' conftest.er1
>conftest.err
36089 cat conftest.err
>&5
36090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36091 (exit $ac_status); } &&
36092 { ac_try
='test -z "$ac_c_werror_flag"
36093 || test ! -s conftest.err'
36094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36095 (eval $ac_try) 2>&5
36097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36098 (exit $ac_status); }; } &&
36099 { ac_try
='test -s conftest$ac_exeext'
36100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36101 (eval $ac_try) 2>&5
36103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36104 (exit $ac_status); }; }; then
36105 eval "$as_ac_var=yes"
36107 echo "$as_me: failed program was:" >&5
36108 sed 's/^/| /' conftest.
$ac_ext >&5
36110 eval "$as_ac_var=no"
36112 rm -f conftest.err conftest.
$ac_objext \
36113 conftest
$ac_exeext conftest.
$ac_ext
36115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36117 if test `eval echo '${'$as_ac_var'}'` = yes; then
36118 cat >>confdefs.h
<<_ACEOF
36119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36126 if test "$ac_cv_func_localtime" = "yes"; then
36127 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
36128 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
36129 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
36130 echo $ECHO_N "(cached) $ECHO_C" >&6
36133 cat >conftest.
$ac_ext <<_ACEOF
36136 cat confdefs.h
>>conftest.
$ac_ext
36137 cat >>conftest.
$ac_ext <<_ACEOF
36138 /* end confdefs.h. */
36153 rm -f conftest.
$ac_objext
36154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36155 (eval $ac_compile) 2>conftest.er1
36157 grep -v '^ *+' conftest.er1
>conftest.err
36159 cat conftest.err
>&5
36160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36161 (exit $ac_status); } &&
36162 { ac_try
='test -z "$ac_c_werror_flag"
36163 || test ! -s conftest.err'
36164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36165 (eval $ac_try) 2>&5
36167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36168 (exit $ac_status); }; } &&
36169 { ac_try
='test -s conftest.$ac_objext'
36170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36171 (eval $ac_try) 2>&5
36173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36174 (exit $ac_status); }; }; then
36176 wx_cv_struct_tm_has_gmtoff
=yes
36179 echo "$as_me: failed program was:" >&5
36180 sed 's/^/| /' conftest.
$ac_ext >&5
36182 wx_cv_struct_tm_has_gmtoff
=no
36185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36188 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
36189 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
36192 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
36193 cat >>confdefs.h
<<\_ACEOF
36194 #define WX_GMTOFF_IN_TM 1
36201 for ac_func
in gettimeofday ftime
36203 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36204 echo "$as_me:$LINENO: checking for $ac_func" >&5
36205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36206 if eval "test \"\${$as_ac_var+set}\" = set"; then
36207 echo $ECHO_N "(cached) $ECHO_C" >&6
36209 cat >conftest.
$ac_ext <<_ACEOF
36212 cat confdefs.h
>>conftest.
$ac_ext
36213 cat >>conftest.
$ac_ext <<_ACEOF
36214 /* end confdefs.h. */
36215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36217 #define $ac_func innocuous_$ac_func
36219 /* System header to define __stub macros and hopefully few prototypes,
36220 which can conflict with char $ac_func (); below.
36221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36222 <limits.h> exists even on freestanding compilers. */
36225 # include <limits.h>
36227 # include <assert.h>
36232 /* Override any gcc2 internal prototype to avoid an error. */
36237 /* We use char because int might match the return type of a gcc2
36238 builtin and then its argument prototype would still apply. */
36240 /* The GNU C library defines this for functions which it implements
36241 to always fail with ENOSYS. Some functions are actually named
36242 something starting with __ and the normal name is an alias. */
36243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36246 char (*f) () = $ac_func;
36255 return f != $ac_func;
36260 rm -f conftest.
$ac_objext conftest
$ac_exeext
36261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36262 (eval $ac_link) 2>conftest.er1
36264 grep -v '^ *+' conftest.er1
>conftest.err
36266 cat conftest.err
>&5
36267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36268 (exit $ac_status); } &&
36269 { ac_try
='test -z "$ac_c_werror_flag"
36270 || test ! -s conftest.err'
36271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36272 (eval $ac_try) 2>&5
36274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36275 (exit $ac_status); }; } &&
36276 { ac_try
='test -s conftest$ac_exeext'
36277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36278 (eval $ac_try) 2>&5
36280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36281 (exit $ac_status); }; }; then
36282 eval "$as_ac_var=yes"
36284 echo "$as_me: failed program was:" >&5
36285 sed 's/^/| /' conftest.
$ac_ext >&5
36287 eval "$as_ac_var=no"
36289 rm -f conftest.err conftest.
$ac_objext \
36290 conftest
$ac_exeext conftest.
$ac_ext
36292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36294 if test `eval echo '${'$as_ac_var'}'` = yes; then
36295 cat >>confdefs.h
<<_ACEOF
36296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36303 if test "$ac_cv_func_gettimeofday" = "yes"; then
36304 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
36305 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
36306 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
36307 echo $ECHO_N "(cached) $ECHO_C" >&6
36313 ac_cpp
='$CXXCPP $CPPFLAGS'
36314 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36315 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36316 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36319 cat >conftest.
$ac_ext <<_ACEOF
36322 cat confdefs.h
>>conftest.
$ac_ext
36323 cat >>conftest.
$ac_ext <<_ACEOF
36324 /* end confdefs.h. */
36326 #include <sys/time.h>
36327 #include <unistd.h>
36334 gettimeofday(&tv, NULL);
36340 rm -f conftest.
$ac_objext
36341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36342 (eval $ac_compile) 2>conftest.er1
36344 grep -v '^ *+' conftest.er1
>conftest.err
36346 cat conftest.err
>&5
36347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36348 (exit $ac_status); } &&
36349 { ac_try
='test -z "$ac_cxx_werror_flag"
36350 || test ! -s conftest.err'
36351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36352 (eval $ac_try) 2>&5
36354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36355 (exit $ac_status); }; } &&
36356 { ac_try
='test -s conftest.$ac_objext'
36357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36358 (eval $ac_try) 2>&5
36360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36361 (exit $ac_status); }; }; then
36362 wx_cv_func_gettimeofday_has_2_args
=yes
36364 echo "$as_me: failed program was:" >&5
36365 sed 's/^/| /' conftest.
$ac_ext >&5
36367 cat >conftest.
$ac_ext <<_ACEOF
36370 cat confdefs.h
>>conftest.
$ac_ext
36371 cat >>conftest.
$ac_ext <<_ACEOF
36372 /* end confdefs.h. */
36374 #include <sys/time.h>
36375 #include <unistd.h>
36388 rm -f conftest.
$ac_objext
36389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36390 (eval $ac_compile) 2>conftest.er1
36392 grep -v '^ *+' conftest.er1
>conftest.err
36394 cat conftest.err
>&5
36395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36396 (exit $ac_status); } &&
36397 { ac_try
='test -z "$ac_cxx_werror_flag"
36398 || test ! -s conftest.err'
36399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36400 (eval $ac_try) 2>&5
36402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36403 (exit $ac_status); }; } &&
36404 { ac_try
='test -s conftest.$ac_objext'
36405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36406 (eval $ac_try) 2>&5
36408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36409 (exit $ac_status); }; }; then
36410 wx_cv_func_gettimeofday_has_2_args
=no
36412 echo "$as_me: failed program was:" >&5
36413 sed 's/^/| /' conftest.
$ac_ext >&5
36416 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
36417 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
36418 wx_cv_func_gettimeofday_has_2_args
=unknown
36422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36427 ac_cpp
='$CPP $CPPFLAGS'
36428 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36429 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36430 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36434 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
36435 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
36437 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
36438 cat >>confdefs.h
<<\_ACEOF
36439 #define WX_GETTIMEOFDAY_NO_TZ 1
36445 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
36449 if test "$wxUSE_SOCKETS" = "yes"; then
36450 if test "$wxUSE_MGL" = "1"; then
36451 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
36452 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
36457 if test "$wxUSE_SOCKETS" = "yes"; then
36458 if test "$TOOLKIT" != "MSW"; then
36459 echo "$as_me:$LINENO: checking for socket" >&5
36460 echo $ECHO_N "checking for socket... $ECHO_C" >&6
36461 if test "${ac_cv_func_socket+set}" = set; then
36462 echo $ECHO_N "(cached) $ECHO_C" >&6
36464 cat >conftest.
$ac_ext <<_ACEOF
36467 cat confdefs.h
>>conftest.
$ac_ext
36468 cat >>conftest.
$ac_ext <<_ACEOF
36469 /* end confdefs.h. */
36470 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
36471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36472 #define socket innocuous_socket
36474 /* System header to define __stub macros and hopefully few prototypes,
36475 which can conflict with char socket (); below.
36476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36477 <limits.h> exists even on freestanding compilers. */
36480 # include <limits.h>
36482 # include <assert.h>
36487 /* Override any gcc2 internal prototype to avoid an error. */
36492 /* We use char because int might match the return type of a gcc2
36493 builtin and then its argument prototype would still apply. */
36495 /* The GNU C library defines this for functions which it implements
36496 to always fail with ENOSYS. Some functions are actually named
36497 something starting with __ and the normal name is an alias. */
36498 #if defined (__stub_socket) || defined (__stub___socket)
36501 char (*f) () = socket;
36510 return f != socket;
36515 rm -f conftest.
$ac_objext conftest
$ac_exeext
36516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36517 (eval $ac_link) 2>conftest.er1
36519 grep -v '^ *+' conftest.er1
>conftest.err
36521 cat conftest.err
>&5
36522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36523 (exit $ac_status); } &&
36524 { ac_try
='test -z "$ac_c_werror_flag"
36525 || test ! -s conftest.err'
36526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36527 (eval $ac_try) 2>&5
36529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36530 (exit $ac_status); }; } &&
36531 { ac_try
='test -s conftest$ac_exeext'
36532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36533 (eval $ac_try) 2>&5
36535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36536 (exit $ac_status); }; }; then
36537 ac_cv_func_socket
=yes
36539 echo "$as_me: failed program was:" >&5
36540 sed 's/^/| /' conftest.
$ac_ext >&5
36542 ac_cv_func_socket
=no
36544 rm -f conftest.err conftest.
$ac_objext \
36545 conftest
$ac_exeext conftest.
$ac_ext
36547 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
36548 echo "${ECHO_T}$ac_cv_func_socket" >&6
36549 if test $ac_cv_func_socket = yes; then
36553 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
36554 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
36555 if test "${ac_cv_lib_socket_socket+set}" = set; then
36556 echo $ECHO_N "(cached) $ECHO_C" >&6
36558 ac_check_lib_save_LIBS
=$LIBS
36559 LIBS
="-lsocket $LIBS"
36560 cat >conftest.
$ac_ext <<_ACEOF
36563 cat confdefs.h
>>conftest.
$ac_ext
36564 cat >>conftest.
$ac_ext <<_ACEOF
36565 /* end confdefs.h. */
36567 /* Override any gcc2 internal prototype to avoid an error. */
36571 /* We use char because int might match the return type of a gcc2
36572 builtin and then its argument prototype would still apply. */
36582 rm -f conftest.
$ac_objext conftest
$ac_exeext
36583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36584 (eval $ac_link) 2>conftest.er1
36586 grep -v '^ *+' conftest.er1
>conftest.err
36588 cat conftest.err
>&5
36589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36590 (exit $ac_status); } &&
36591 { ac_try
='test -z "$ac_c_werror_flag"
36592 || test ! -s conftest.err'
36593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36594 (eval $ac_try) 2>&5
36596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36597 (exit $ac_status); }; } &&
36598 { ac_try
='test -s conftest$ac_exeext'
36599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36600 (eval $ac_try) 2>&5
36602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36603 (exit $ac_status); }; }; then
36604 ac_cv_lib_socket_socket
=yes
36606 echo "$as_me: failed program was:" >&5
36607 sed 's/^/| /' conftest.
$ac_ext >&5
36609 ac_cv_lib_socket_socket
=no
36611 rm -f conftest.err conftest.
$ac_objext \
36612 conftest
$ac_exeext conftest.
$ac_ext
36613 LIBS
=$ac_check_lib_save_LIBS
36615 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
36616 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
36617 if test $ac_cv_lib_socket_socket = yes; then
36618 if test "$INET_LINK" != " -lsocket"; then
36619 INET_LINK
="$INET_LINK -lsocket"
36623 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
36624 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
36637 if test "$wxUSE_SOCKETS" = "yes" ; then
36638 if test "$TOOLKIT" != "MSW"; then
36639 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
36640 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
36641 if test "${wx_cv_type_getsockname3+set}" = set; then
36642 echo $ECHO_N "(cached) $ECHO_C" >&6
36645 cat >conftest.
$ac_ext <<_ACEOF
36648 cat confdefs.h
>>conftest.
$ac_ext
36649 cat >>conftest.
$ac_ext <<_ACEOF
36650 /* end confdefs.h. */
36652 #include <sys/types.h>
36653 #include <sys/socket.h>
36660 getsockname(0, 0, &len);
36666 rm -f conftest.
$ac_objext
36667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36668 (eval $ac_compile) 2>conftest.er1
36670 grep -v '^ *+' conftest.er1
>conftest.err
36672 cat conftest.err
>&5
36673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36674 (exit $ac_status); } &&
36675 { ac_try
='test -z "$ac_c_werror_flag"
36676 || test ! -s conftest.err'
36677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36678 (eval $ac_try) 2>&5
36680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36681 (exit $ac_status); }; } &&
36682 { ac_try
='test -s conftest.$ac_objext'
36683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36684 (eval $ac_try) 2>&5
36686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36687 (exit $ac_status); }; }; then
36688 wx_cv_type_getsockname3
=socklen_t
36690 echo "$as_me: failed program was:" >&5
36691 sed 's/^/| /' conftest.
$ac_ext >&5
36694 CFLAGS_OLD
="$CFLAGS"
36695 if test "$GCC" = yes ; then
36696 CFLAGS
="$CFLAGS -Werror"
36699 cat >conftest.
$ac_ext <<_ACEOF
36702 cat confdefs.h
>>conftest.
$ac_ext
36703 cat >>conftest.
$ac_ext <<_ACEOF
36704 /* end confdefs.h. */
36706 #include <sys/types.h>
36707 #include <sys/socket.h>
36714 getsockname(0, 0, &len);
36720 rm -f conftest.
$ac_objext
36721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36722 (eval $ac_compile) 2>conftest.er1
36724 grep -v '^ *+' conftest.er1
>conftest.err
36726 cat conftest.err
>&5
36727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36728 (exit $ac_status); } &&
36729 { ac_try
='test -z "$ac_c_werror_flag"
36730 || test ! -s conftest.err'
36731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36732 (eval $ac_try) 2>&5
36734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36735 (exit $ac_status); }; } &&
36736 { ac_try
='test -s conftest.$ac_objext'
36737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36738 (eval $ac_try) 2>&5
36740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36741 (exit $ac_status); }; }; then
36742 wx_cv_type_getsockname3
=size_t
36744 echo "$as_me: failed program was:" >&5
36745 sed 's/^/| /' conftest.
$ac_ext >&5
36747 cat >conftest.
$ac_ext <<_ACEOF
36750 cat confdefs.h
>>conftest.
$ac_ext
36751 cat >>conftest.
$ac_ext <<_ACEOF
36752 /* end confdefs.h. */
36754 #include <sys/types.h>
36755 #include <sys/socket.h>
36762 getsockname(0, 0, &len);
36768 rm -f conftest.
$ac_objext
36769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36770 (eval $ac_compile) 2>conftest.er1
36772 grep -v '^ *+' conftest.er1
>conftest.err
36774 cat conftest.err
>&5
36775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36776 (exit $ac_status); } &&
36777 { ac_try
='test -z "$ac_c_werror_flag"
36778 || test ! -s conftest.err'
36779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36780 (eval $ac_try) 2>&5
36782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36783 (exit $ac_status); }; } &&
36784 { ac_try
='test -s conftest.$ac_objext'
36785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36786 (eval $ac_try) 2>&5
36788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36789 (exit $ac_status); }; }; then
36790 wx_cv_type_getsockname3
=int
36792 echo "$as_me: failed program was:" >&5
36793 sed 's/^/| /' conftest.
$ac_ext >&5
36795 wx_cv_type_getsockname3
=unknown
36798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36803 CFLAGS
="$CFLAGS_OLD"
36807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36810 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
36811 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
36813 if test "$wx_cv_type_getsockname3" = "unknown"; then
36815 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36816 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36818 cat >>confdefs.h
<<_ACEOF
36819 #define SOCKLEN_T $wx_cv_type_getsockname3
36826 if test "$wxUSE_SOCKETS" = "yes" ; then
36827 cat >>confdefs.h
<<\_ACEOF
36828 #define wxUSE_SOCKETS 1
36831 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
36834 if test "$wxUSE_PROTOCOL" = "yes"; then
36835 if test "$wxUSE_SOCKETS" != "yes"; then
36836 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
36837 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
36842 if test "$wxUSE_PROTOCOL" = "yes"; then
36843 cat >>confdefs.h
<<\_ACEOF
36844 #define wxUSE_PROTOCOL 1
36848 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
36849 cat >>confdefs.h
<<\_ACEOF
36850 #define wxUSE_PROTOCOL_HTTP 1
36854 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
36855 cat >>confdefs.h
<<\_ACEOF
36856 #define wxUSE_PROTOCOL_FTP 1
36860 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
36861 cat >>confdefs.h
<<\_ACEOF
36862 #define wxUSE_PROTOCOL_FILE 1
36867 if test "$wxUSE_FS_INET" = "yes"; then
36868 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
36869 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
36874 if test "$wxUSE_URL" = "yes"; then
36875 if test "$wxUSE_PROTOCOL" != "yes"; then
36876 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
36877 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
36880 if test "$wxUSE_URL" = "yes"; then
36881 cat >>confdefs.h
<<\_ACEOF
36882 #define wxUSE_URL 1
36888 if test "$wxUSE_FS_INET" = "yes"; then
36889 cat >>confdefs.h
<<\_ACEOF
36890 #define wxUSE_FS_INET 1
36896 if test "$wxUSE_GUI" = "yes"; then
36898 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
36899 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
36900 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
36904 if test "$TOOLKIT" != "MSW"; then
36905 if test "$wxUSE_JOYSTICK" = "yes"; then
36907 for ac_header
in linux
/joystick.h
36909 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36911 echo "$as_me:$LINENO: checking for $ac_header" >&5
36912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36914 echo $ECHO_N "(cached) $ECHO_C" >&6
36916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36919 # Is the header compilable?
36920 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36921 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36922 cat >conftest.
$ac_ext <<_ACEOF
36925 cat confdefs.h
>>conftest.
$ac_ext
36926 cat >>conftest.
$ac_ext <<_ACEOF
36927 /* end confdefs.h. */
36928 $ac_includes_default
36929 #include <$ac_header>
36931 rm -f conftest.
$ac_objext
36932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36933 (eval $ac_compile) 2>conftest.er1
36935 grep -v '^ *+' conftest.er1
>conftest.err
36937 cat conftest.err
>&5
36938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36939 (exit $ac_status); } &&
36940 { ac_try
='test -z "$ac_c_werror_flag"
36941 || test ! -s conftest.err'
36942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36943 (eval $ac_try) 2>&5
36945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36946 (exit $ac_status); }; } &&
36947 { ac_try
='test -s conftest.$ac_objext'
36948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36949 (eval $ac_try) 2>&5
36951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36952 (exit $ac_status); }; }; then
36953 ac_header_compiler
=yes
36955 echo "$as_me: failed program was:" >&5
36956 sed 's/^/| /' conftest.
$ac_ext >&5
36958 ac_header_compiler
=no
36960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36961 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36962 echo "${ECHO_T}$ac_header_compiler" >&6
36964 # Is the header present?
36965 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36966 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36967 cat >conftest.
$ac_ext <<_ACEOF
36970 cat confdefs.h
>>conftest.
$ac_ext
36971 cat >>conftest.
$ac_ext <<_ACEOF
36972 /* end confdefs.h. */
36973 #include <$ac_header>
36975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36976 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36978 grep -v '^ *+' conftest.er1
>conftest.err
36980 cat conftest.err
>&5
36981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36982 (exit $ac_status); } >/dev
/null
; then
36983 if test -s conftest.err
; then
36984 ac_cpp_err
=$ac_c_preproc_warn_flag
36985 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36992 if test -z "$ac_cpp_err"; then
36993 ac_header_preproc
=yes
36995 echo "$as_me: failed program was:" >&5
36996 sed 's/^/| /' conftest.
$ac_ext >&5
36998 ac_header_preproc
=no
37000 rm -f conftest.err conftest.
$ac_ext
37001 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37002 echo "${ECHO_T}$ac_header_preproc" >&6
37004 # So? What about this header?
37005 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37007 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37008 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37009 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37010 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37011 ac_header_preproc
=yes
37014 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37015 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37016 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37017 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37018 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37019 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37020 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37021 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37023 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37024 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37025 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37028 ## ----------------------------------------- ##
37029 ## Report this to wx-dev@lists.wxwidgets.org ##
37030 ## ----------------------------------------- ##
37033 sed "s/^/$as_me: WARNING: /" >&2
37036 echo "$as_me:$LINENO: checking for $ac_header" >&5
37037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37039 echo $ECHO_N "(cached) $ECHO_C" >&6
37041 eval "$as_ac_Header=\$ac_header_preproc"
37043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37047 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37048 cat >>confdefs.h
<<_ACEOF
37049 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37056 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
37058 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
37059 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
37064 if test "$wxUSE_JOYSTICK" = "yes"; then
37065 cat >>confdefs.h
<<\_ACEOF
37066 #define wxUSE_JOYSTICK 1
37069 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
37075 if test "$wxUSE_FONTMAP" = "yes" ; then
37076 cat >>confdefs.h
<<\_ACEOF
37077 #define wxUSE_FONTMAP 1
37082 if test "$wxUSE_UNICODE" = "yes" ; then
37083 cat >>confdefs.h
<<\_ACEOF
37084 #define wxUSE_UNICODE 1
37088 if test "$USE_WIN32" != 1; then
37089 wxUSE_UNICODE_MSLU
=no
37092 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
37093 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
37094 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
37095 if test "${ac_cv_lib_unicows_main+set}" = set; then
37096 echo $ECHO_N "(cached) $ECHO_C" >&6
37098 ac_check_lib_save_LIBS
=$LIBS
37099 LIBS
="-lunicows $LIBS"
37100 cat >conftest.
$ac_ext <<_ACEOF
37103 cat confdefs.h
>>conftest.
$ac_ext
37104 cat >>conftest.
$ac_ext <<_ACEOF
37105 /* end confdefs.h. */
37116 rm -f conftest.
$ac_objext conftest
$ac_exeext
37117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37118 (eval $ac_link) 2>conftest.er1
37120 grep -v '^ *+' conftest.er1
>conftest.err
37122 cat conftest.err
>&5
37123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37124 (exit $ac_status); } &&
37125 { ac_try
='test -z "$ac_c_werror_flag"
37126 || test ! -s conftest.err'
37127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37128 (eval $ac_try) 2>&5
37130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37131 (exit $ac_status); }; } &&
37132 { ac_try
='test -s conftest$ac_exeext'
37133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37134 (eval $ac_try) 2>&5
37136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37137 (exit $ac_status); }; }; then
37138 ac_cv_lib_unicows_main
=yes
37140 echo "$as_me: failed program was:" >&5
37141 sed 's/^/| /' conftest.
$ac_ext >&5
37143 ac_cv_lib_unicows_main
=no
37145 rm -f conftest.err conftest.
$ac_objext \
37146 conftest
$ac_exeext conftest.
$ac_ext
37147 LIBS
=$ac_check_lib_save_LIBS
37149 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
37150 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
37151 if test $ac_cv_lib_unicows_main = yes; then
37153 cat >>confdefs.h
<<\_ACEOF
37154 #define wxUSE_UNICODE_MSLU 1
37160 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37161 Applications will only run on Windows NT/2000/XP!" >&5
37162 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37163 Applications will only run on Windows NT/2000/XP!" >&2;}
37164 wxUSE_UNICODE_MSLU
=no
37171 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
37172 cat >>confdefs.h
<<\_ACEOF
37173 #define wxUSE_EXPERIMENTAL_PRINTF 1
37179 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
37180 cat >>confdefs.h
<<\_ACEOF
37181 #define wxUSE_POSTSCRIPT 1
37186 cat >>confdefs.h
<<\_ACEOF
37187 #define wxUSE_AFM_FOR_POSTSCRIPT 1
37191 cat >>confdefs.h
<<\_ACEOF
37192 #define wxUSE_NORMALIZED_PS_FONTS 1
37197 if test "$wxUSE_CONSTRAINTS" = "yes"; then
37198 cat >>confdefs.h
<<\_ACEOF
37199 #define wxUSE_CONSTRAINTS 1
37202 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
37205 if test "$wxUSE_MDI" = "yes"; then
37206 cat >>confdefs.h
<<\_ACEOF
37207 #define wxUSE_MDI 1
37211 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37212 cat >>confdefs.h
<<\_ACEOF
37213 #define wxUSE_MDI_ARCHITECTURE 1
37216 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
37220 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
37221 cat >>confdefs.h
<<\_ACEOF
37222 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
37225 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
37226 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37227 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
37231 if test "$wxUSE_HELP" = "yes"; then
37232 cat >>confdefs.h
<<\_ACEOF
37233 #define wxUSE_HELP 1
37236 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
37238 if test "$wxUSE_MSW" = 1; then
37239 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
37240 cat >>confdefs.h
<<\_ACEOF
37241 #define wxUSE_MS_HTML_HELP 1
37247 if test "$wxUSE_WXHTML_HELP" = "yes"; then
37248 if test "$wxUSE_HTML" = "yes"; then
37249 cat >>confdefs.h
<<\_ACEOF
37250 #define wxUSE_WXHTML_HELP 1
37254 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
37255 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
37256 wxUSE_WXHTML_HELP
=no
37261 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37262 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37263 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
37264 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
37266 cat >>confdefs.h
<<\_ACEOF
37267 #define wxUSE_PRINTING_ARCHITECTURE 1
37271 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
37274 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
37275 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
37276 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
37277 { (exit 1); exit 1; }; }
37281 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
37282 -o "$wxUSE_CLIPBOARD" = "yes" \
37283 -o "$wxUSE_OLE" = "yes" \
37284 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
37286 for ac_header
in ole2.h
37288 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37290 echo "$as_me:$LINENO: checking for $ac_header" >&5
37291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37293 echo $ECHO_N "(cached) $ECHO_C" >&6
37295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37298 # Is the header compilable?
37299 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37300 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37301 cat >conftest.
$ac_ext <<_ACEOF
37304 cat confdefs.h
>>conftest.
$ac_ext
37305 cat >>conftest.
$ac_ext <<_ACEOF
37306 /* end confdefs.h. */
37307 $ac_includes_default
37308 #include <$ac_header>
37310 rm -f conftest.
$ac_objext
37311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37312 (eval $ac_compile) 2>conftest.er1
37314 grep -v '^ *+' conftest.er1
>conftest.err
37316 cat conftest.err
>&5
37317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37318 (exit $ac_status); } &&
37319 { ac_try
='test -z "$ac_c_werror_flag"
37320 || test ! -s conftest.err'
37321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37322 (eval $ac_try) 2>&5
37324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37325 (exit $ac_status); }; } &&
37326 { ac_try
='test -s conftest.$ac_objext'
37327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37328 (eval $ac_try) 2>&5
37330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37331 (exit $ac_status); }; }; then
37332 ac_header_compiler
=yes
37334 echo "$as_me: failed program was:" >&5
37335 sed 's/^/| /' conftest.
$ac_ext >&5
37337 ac_header_compiler
=no
37339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37340 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37341 echo "${ECHO_T}$ac_header_compiler" >&6
37343 # Is the header present?
37344 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37345 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37346 cat >conftest.
$ac_ext <<_ACEOF
37349 cat confdefs.h
>>conftest.
$ac_ext
37350 cat >>conftest.
$ac_ext <<_ACEOF
37351 /* end confdefs.h. */
37352 #include <$ac_header>
37354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37355 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37357 grep -v '^ *+' conftest.er1
>conftest.err
37359 cat conftest.err
>&5
37360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37361 (exit $ac_status); } >/dev
/null
; then
37362 if test -s conftest.err
; then
37363 ac_cpp_err
=$ac_c_preproc_warn_flag
37364 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37371 if test -z "$ac_cpp_err"; then
37372 ac_header_preproc
=yes
37374 echo "$as_me: failed program was:" >&5
37375 sed 's/^/| /' conftest.
$ac_ext >&5
37377 ac_header_preproc
=no
37379 rm -f conftest.err conftest.
$ac_ext
37380 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37381 echo "${ECHO_T}$ac_header_preproc" >&6
37383 # So? What about this header?
37384 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37386 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37387 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37388 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37389 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37390 ac_header_preproc
=yes
37393 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37394 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37395 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37396 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37397 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37398 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37399 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37400 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37401 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37402 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37403 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37404 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37407 ## ----------------------------------------- ##
37408 ## Report this to wx-dev@lists.wxwidgets.org ##
37409 ## ----------------------------------------- ##
37412 sed "s/^/$as_me: WARNING: /" >&2
37415 echo "$as_me:$LINENO: checking for $ac_header" >&5
37416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37418 echo $ECHO_N "(cached) $ECHO_C" >&6
37420 eval "$as_ac_Header=\$ac_header_preproc"
37422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37423 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37426 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37427 cat >>confdefs.h
<<_ACEOF
37428 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37436 if test "$ac_cv_header_ole2_h" = "yes" ; then
37437 if test "$GCC" = yes ; then
37441 ac_cpp
='$CXXCPP $CPPFLAGS'
37442 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37443 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37444 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37447 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
37448 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
37449 cat >conftest.
$ac_ext <<_ACEOF
37452 cat confdefs.h
>>conftest.
$ac_ext
37453 cat >>conftest.
$ac_ext <<_ACEOF
37454 /* end confdefs.h. */
37455 #include <windows.h>
37465 rm -f conftest.
$ac_objext
37466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37467 (eval $ac_compile) 2>conftest.er1
37469 grep -v '^ *+' conftest.er1
>conftest.err
37471 cat conftest.err
>&5
37472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37473 (exit $ac_status); } &&
37474 { ac_try
='test -z "$ac_cxx_werror_flag"
37475 || test ! -s conftest.err'
37476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37477 (eval $ac_try) 2>&5
37479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37480 (exit $ac_status); }; } &&
37481 { ac_try
='test -s conftest.$ac_objext'
37482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37483 (eval $ac_try) 2>&5
37485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37486 (exit $ac_status); }; }; then
37487 echo "$as_me:$LINENO: result: no" >&5
37488 echo "${ECHO_T}no" >&6
37490 echo "$as_me: failed program was:" >&5
37491 sed 's/^/| /' conftest.
$ac_ext >&5
37493 echo "$as_me:$LINENO: result: yes" >&5
37494 echo "${ECHO_T}yes" >&6
37495 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
37497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37499 ac_cpp
='$CPP $CPPFLAGS'
37500 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37501 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37502 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37504 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
37505 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
37506 if test "$wxUSE_OLE" = "yes" ; then
37507 cat >>confdefs.h
<<\_ACEOF
37508 #define wxUSE_OLE 1
37514 if test "$wxUSE_DATAOBJ" = "yes" ; then
37515 cat >>confdefs.h
<<\_ACEOF
37516 #define wxUSE_DATAOBJ 1
37521 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
37522 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
37525 wxUSE_DRAG_AND_DROP
=no
37530 if test "$wxUSE_METAFILE" = "yes"; then
37531 cat >>confdefs.h
<<\_ACEOF
37532 #define wxUSE_METAFILE 1
37536 cat >>confdefs.h
<<\_ACEOF
37537 #define wxUSE_ENH_METAFILE 1
37543 if test "$wxUSE_IPC" = "yes"; then
37544 if test "$wxUSE_SOCKETS" != "yes"; then
37545 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
37546 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
37549 cat >>confdefs.h
<<\_ACEOF
37550 #define wxUSE_IPC 1
37555 if test "$wxUSE_CLIPBOARD" = "yes"; then
37556 if test "$wxUSE_MGL" = 1; then
37557 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
37558 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
37562 if test "$wxUSE_CLIPBOARD" = "yes"; then
37563 cat >>confdefs.h
<<\_ACEOF
37564 #define wxUSE_CLIPBOARD 1
37568 cat >>confdefs.h
<<\_ACEOF
37569 #define wxUSE_DATAOBJ 1
37575 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
37576 if test "$wxUSE_GTK" = 1; then
37577 if test "$WXGTK12" != 1; then
37578 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
37579 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
37580 wxUSE_DRAG_AND_DROP
=no
37584 if test "$wxUSE_MOTIF" = 1; then
37585 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
37586 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
37587 wxUSE_DRAG_AND_DROP
=no
37590 if test "$wxUSE_X11" = 1; then
37591 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
37592 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
37593 wxUSE_DRAG_AND_DROP
=no
37596 if test "$wxUSE_MGL" = 1; then
37597 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
37598 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
37599 wxUSE_DRAG_AND_DROP
=no
37602 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
37603 cat >>confdefs.h
<<\_ACEOF
37604 #define wxUSE_DRAG_AND_DROP 1
37611 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
37612 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
37615 if test "$wxUSE_SPLINES" = "yes" ; then
37616 cat >>confdefs.h
<<\_ACEOF
37617 #define wxUSE_SPLINES 1
37624 if test "$wxUSE_CONTROLS" = "yes"; then
37628 if test "$wxUSE_ACCEL" = "yes"; then
37629 cat >>confdefs.h
<<\_ACEOF
37630 #define wxUSE_ACCEL 1
37636 if test "$wxUSE_BUTTON" = "yes"; then
37637 cat >>confdefs.h
<<\_ACEOF
37638 #define wxUSE_BUTTON 1
37644 if test "$wxUSE_BMPBUTTON" = "yes"; then
37645 cat >>confdefs.h
<<\_ACEOF
37646 #define wxUSE_BMPBUTTON 1
37652 if test "$wxUSE_CALCTRL" = "yes"; then
37653 cat >>confdefs.h
<<\_ACEOF
37654 #define wxUSE_CALENDARCTRL 1
37658 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
37661 if test "$wxUSE_CARET" = "yes"; then
37662 cat >>confdefs.h
<<\_ACEOF
37663 #define wxUSE_CARET 1
37667 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
37670 if test "$wxUSE_COMBOBOX" = "yes"; then
37671 cat >>confdefs.h
<<\_ACEOF
37672 #define wxUSE_COMBOBOX 1
37678 if test "$wxUSE_CHOICE" = "yes"; then
37679 cat >>confdefs.h
<<\_ACEOF
37680 #define wxUSE_CHOICE 1
37686 if test "$wxUSE_CHECKBOX" = "yes"; then
37687 cat >>confdefs.h
<<\_ACEOF
37688 #define wxUSE_CHECKBOX 1
37694 if test "$wxUSE_CHECKLST" = "yes"; then
37695 cat >>confdefs.h
<<\_ACEOF
37696 #define wxUSE_CHECKLISTBOX 1
37700 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
37703 if test "$wxUSE_DISPLAY" = "yes"; then
37704 cat >>confdefs.h
<<\_ACEOF
37705 #define wxUSE_DISPLAY 1
37708 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
37711 if test "$wxUSE_GAUGE" = "yes"; then
37712 cat >>confdefs.h
<<\_ACEOF
37713 #define wxUSE_GAUGE 1
37719 if test "$wxUSE_GRID" = "yes"; then
37720 cat >>confdefs.h
<<\_ACEOF
37721 #define wxUSE_GRID 1
37725 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
37728 if test "$wxUSE_IMAGLIST" = "yes"; then
37729 cat >>confdefs.h
<<\_ACEOF
37730 #define wxUSE_IMAGLIST 1
37735 if test "$wxUSE_LISTBOOK" = "yes"; then
37736 cat >>confdefs.h
<<\_ACEOF
37737 #define wxUSE_LISTBOOK 1
37743 if test "$wxUSE_LISTBOX" = "yes"; then
37744 cat >>confdefs.h
<<\_ACEOF
37745 #define wxUSE_LISTBOX 1
37751 if test "$wxUSE_LISTCTRL" = "yes"; then
37752 if test "$wxUSE_IMAGLIST" = "yes"; then
37753 cat >>confdefs.h
<<\_ACEOF
37754 #define wxUSE_LISTCTRL 1
37758 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
37760 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
37761 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
37765 if test "$wxUSE_NOTEBOOK" = "yes"; then
37766 cat >>confdefs.h
<<\_ACEOF
37767 #define wxUSE_NOTEBOOK 1
37771 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
37775 if test "$wxUSE_RADIOBOX" = "yes"; then
37776 cat >>confdefs.h
<<\_ACEOF
37777 #define wxUSE_RADIOBOX 1
37783 if test "$wxUSE_RADIOBTN" = "yes"; then
37784 cat >>confdefs.h
<<\_ACEOF
37785 #define wxUSE_RADIOBTN 1
37791 if test "$wxUSE_SASH" = "yes"; then
37792 cat >>confdefs.h
<<\_ACEOF
37793 #define wxUSE_SASH 1
37796 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
37799 if test "$wxUSE_SCROLLBAR" = "yes"; then
37800 cat >>confdefs.h
<<\_ACEOF
37801 #define wxUSE_SCROLLBAR 1
37805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
37808 if test "$wxUSE_SLIDER" = "yes"; then
37809 cat >>confdefs.h
<<\_ACEOF
37810 #define wxUSE_SLIDER 1
37816 if test "$wxUSE_SPINBTN" = "yes"; then
37817 cat >>confdefs.h
<<\_ACEOF
37818 #define wxUSE_SPINBTN 1
37824 if test "$wxUSE_SPINCTRL" = "yes"; then
37825 cat >>confdefs.h
<<\_ACEOF
37826 #define wxUSE_SPINCTRL 1
37832 if test "$wxUSE_SPLITTER" = "yes"; then
37833 cat >>confdefs.h
<<\_ACEOF
37834 #define wxUSE_SPLITTER 1
37837 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
37840 if test "$wxUSE_STATBMP" = "yes"; then
37841 cat >>confdefs.h
<<\_ACEOF
37842 #define wxUSE_STATBMP 1
37848 if test "$wxUSE_STATBOX" = "yes"; then
37849 cat >>confdefs.h
<<\_ACEOF
37850 #define wxUSE_STATBOX 1
37856 if test "$wxUSE_STATTEXT" = "yes"; then
37857 cat >>confdefs.h
<<\_ACEOF
37858 #define wxUSE_STATTEXT 1
37864 if test "$wxUSE_STATLINE" = "yes"; then
37865 cat >>confdefs.h
<<\_ACEOF
37866 #define wxUSE_STATLINE 1
37872 if test "$wxUSE_STATUSBAR" = "yes"; then
37873 cat >>confdefs.h
<<\_ACEOF
37874 #define wxUSE_STATUSBAR 1
37879 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
37882 if test "$wxUSE_TABDIALOG" = "yes"; then
37883 cat >>confdefs.h
<<\_ACEOF
37884 #define wxUSE_TAB_DIALOG 1
37887 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
37890 if test "$wxUSE_TEXTCTRL" = "yes"; then
37891 cat >>confdefs.h
<<\_ACEOF
37892 #define wxUSE_TEXTCTRL 1
37896 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
37899 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37900 if test "$wxUSE_COCOA" = 1 ; then
37901 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
37902 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
37905 if test "$wxUSE_PM" = 1; then
37906 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
37907 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
37911 if test "$wxUSE_UNIVERSAL" = "yes"; then
37912 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
37913 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
37917 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37918 cat >>confdefs.h
<<\_ACEOF
37919 #define wxUSE_TOGGLEBTN 1
37926 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
37927 cat >>confdefs.h
<<\_ACEOF
37928 #define wxUSE_TOOLBAR_SIMPLE 1
37931 wxUSE_TOOLBAR
="yes"
37935 if test "$wxUSE_TOOLBAR" = "yes"; then
37936 cat >>confdefs.h
<<\_ACEOF
37937 #define wxUSE_TOOLBAR 1
37942 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
37943 wxUSE_TOOLBAR_NATIVE
="yes"
37946 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
37947 cat >>confdefs.h
<<\_ACEOF
37948 #define wxUSE_TOOLBAR_NATIVE 1
37954 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
37957 if test "$wxUSE_TOOLTIPS" = "yes"; then
37958 if test "$wxUSE_MOTIF" = 1; then
37959 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37960 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37962 if test "$wxUSE_UNIVERSAL" = "yes"; then
37963 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37964 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37966 cat >>confdefs.h
<<\_ACEOF
37967 #define wxUSE_TOOLTIPS 1
37974 if test "$wxUSE_TREECTRL" = "yes"; then
37975 if test "$wxUSE_IMAGLIST" = "yes"; then
37976 cat >>confdefs.h
<<\_ACEOF
37977 #define wxUSE_TREECTRL 1
37981 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
37983 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37984 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37988 if test "$wxUSE_POPUPWIN" = "yes"; then
37989 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37990 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37991 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37993 if test "$wxUSE_PM" = 1; then
37994 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37995 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37997 cat >>confdefs.h
<<\_ACEOF
37998 #define wxUSE_POPUPWIN 1
38007 if test "$wxUSE_TIPWINDOW" = "yes"; then
38008 if test "$wxUSE_PM" = 1; then
38009 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
38010 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
38012 cat >>confdefs.h
<<\_ACEOF
38013 #define wxUSE_TIPWINDOW 1
38019 if test "$USES_CONTROLS" = 1; then
38020 cat >>confdefs.h
<<\_ACEOF
38021 #define wxUSE_CONTROLS 1
38027 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
38028 cat >>confdefs.h
<<\_ACEOF
38029 #define wxUSE_ACCESSIBILITY 1
38032 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
38035 if test "$wxUSE_DRAGIMAGE" = "yes"; then
38036 cat >>confdefs.h
<<\_ACEOF
38037 #define wxUSE_DRAGIMAGE 1
38040 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
38043 if test "$wxUSE_EXCEPTIONS" = "yes"; then
38044 cat >>confdefs.h
<<\_ACEOF
38045 #define wxUSE_EXCEPTIONS 1
38051 if test "$wxUSE_HTML" = "yes"; then
38052 cat >>confdefs.h
<<\_ACEOF
38053 #define wxUSE_HTML 1
38057 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
38058 if test "$wxUSE_MAC" = 1; then
38059 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
38063 if test "$wxUSE_WEBKIT" = "yes"; then
38064 cat >>confdefs.h
<<\_ACEOF
38065 #define wxUSE_WEBKIT 1
38070 if test "$wxUSE_MENUS" = "yes"; then
38071 cat >>confdefs.h
<<\_ACEOF
38072 #define wxUSE_MENUS 1
38075 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
38078 if test "$wxUSE_METAFILE" = "yes"; then
38079 cat >>confdefs.h
<<\_ACEOF
38080 #define wxUSE_METAFILE 1
38085 if test "$wxUSE_MIMETYPE" = "yes"; then
38086 cat >>confdefs.h
<<\_ACEOF
38087 #define wxUSE_MIMETYPE 1
38092 if test "$wxUSE_MINIFRAME" = "yes"; then
38093 cat >>confdefs.h
<<\_ACEOF
38094 #define wxUSE_MINIFRAME 1
38097 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
38100 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
38101 cat >>confdefs.h
<<\_ACEOF
38102 #define wxUSE_SYSTEM_OPTIONS 1
38105 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
38106 "$TOOLKIT" = "MOTIF"; then
38107 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
38112 if test "$wxUSE_VALIDATORS" = "yes"; then
38113 cat >>confdefs.h
<<\_ACEOF
38114 #define wxUSE_VALIDATORS 1
38117 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
38120 if test "$wxUSE_PALETTE" = "yes" ; then
38121 cat >>confdefs.h
<<\_ACEOF
38122 #define wxUSE_PALETTE 1
38127 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
38128 LIBS
=" -lunicows $LIBS"
38132 if test "$wxUSE_IMAGE" = "yes" ; then
38133 cat >>confdefs.h
<<\_ACEOF
38134 #define wxUSE_IMAGE 1
38138 if test "$wxUSE_GIF" = "yes" ; then
38139 cat >>confdefs.h
<<\_ACEOF
38140 #define wxUSE_GIF 1
38145 if test "$wxUSE_PCX" = "yes" ; then
38146 cat >>confdefs.h
<<\_ACEOF
38147 #define wxUSE_PCX 1
38152 if test "$wxUSE_IFF" = "yes" ; then
38153 cat >>confdefs.h
<<\_ACEOF
38154 #define wxUSE_IFF 1
38159 if test "$wxUSE_PNM" = "yes" ; then
38160 cat >>confdefs.h
<<\_ACEOF
38161 #define wxUSE_PNM 1
38166 if test "$wxUSE_XPM" = "yes" ; then
38167 cat >>confdefs.h
<<\_ACEOF
38168 #define wxUSE_XPM 1
38173 if test "$wxUSE_ICO_CUR" = "yes" ; then
38174 cat >>confdefs.h
<<\_ACEOF
38175 #define wxUSE_ICO_CUR 1
38182 if test "$wxUSE_CHOICEDLG" = "yes"; then
38183 cat >>confdefs.h
<<\_ACEOF
38184 #define wxUSE_CHOICEDLG 1
38189 if test "$wxUSE_COLOURDLG" = "yes"; then
38190 cat >>confdefs.h
<<\_ACEOF
38191 #define wxUSE_COLOURDLG 1
38196 if test "$wxUSE_FILEDLG" = "yes"; then
38197 cat >>confdefs.h
<<\_ACEOF
38198 #define wxUSE_FILEDLG 1
38203 if test "$wxUSE_FINDREPLDLG" = "yes"; then
38204 cat >>confdefs.h
<<\_ACEOF
38205 #define wxUSE_FINDREPLDLG 1
38210 if test "$wxUSE_FONTDLG" = "yes"; then
38211 cat >>confdefs.h
<<\_ACEOF
38212 #define wxUSE_FONTDLG 1
38217 if test "$wxUSE_DIRDLG" = "yes"; then
38218 if test "$wxUSE_TREECTRL" != "yes"; then
38219 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
38220 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
38222 cat >>confdefs.h
<<\_ACEOF
38223 #define wxUSE_DIRDLG 1
38229 if test "$wxUSE_MSGDLG" = "yes"; then
38230 cat >>confdefs.h
<<\_ACEOF
38231 #define wxUSE_MSGDLG 1
38236 if test "$wxUSE_NUMBERDLG" = "yes"; then
38237 cat >>confdefs.h
<<\_ACEOF
38238 #define wxUSE_NUMBERDLG 1
38243 if test "$wxUSE_PROGRESSDLG" = "yes"; then
38244 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38245 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
38246 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
38248 cat >>confdefs.h
<<\_ACEOF
38249 #define wxUSE_PROGRESSDLG 1
38255 if test "$wxUSE_SPLASH" = "yes"; then
38256 cat >>confdefs.h
<<\_ACEOF
38257 #define wxUSE_SPLASH 1
38262 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
38263 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38264 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
38265 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
38267 cat >>confdefs.h
<<\_ACEOF
38268 #define wxUSE_STARTUP_TIPS 1
38274 if test "$wxUSE_TEXTDLG" = "yes"; then
38275 cat >>confdefs.h
<<\_ACEOF
38276 #define wxUSE_TEXTDLG 1
38281 if test "$wxUSE_WIZARDDLG" = "yes"; then
38282 cat >>confdefs.h
<<\_ACEOF
38283 #define wxUSE_WIZARDDLG 1
38286 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
38290 if test "$cross_compiling" = "yes"; then
38293 OSINFO
=`uname -s -r -m`
38294 OSINFO
="\"$OSINFO\""
38297 cat >>confdefs.h
<<_ACEOF
38298 #define WXWIN_OS_DESCRIPTION $OSINFO
38303 if test "x$prefix" != "xNONE"; then
38306 wxPREFIX
=$ac_default_prefix
38309 cat >>confdefs.h
<<_ACEOF
38310 #define wxINSTALL_PREFIX "$wxPREFIX"
38314 top_builddir_wxconfig
=`pwd`
38318 CORE_BASE_LIBS
="net base"
38319 CORE_GUI_LIBS
="adv core"
38321 if test "$wxUSE_XML" = "yes" ; then
38322 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
38324 if test "$wxUSE_ODBC" != "no" ; then
38325 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
38326 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
38328 if test "$wxUSE_HTML" = "yes" ; then
38329 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
38332 if test "$wxUSE_GUI" != "yes"; then
38343 if test "$wxUSE_MAC" = 1 ; then
38344 LDFLAGS
="$LDFLAGS -framework Carbon -framework Cocoa -framework WebKit -framework System"
38346 if test "$wxUSE_COCOA" = 1 ; then
38347 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
38351 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
38358 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38359 echo "$as_me:$LINENO: checking for $ac_func" >&5
38360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38361 if eval "test \"\${$as_ac_var+set}\" = set"; then
38362 echo $ECHO_N "(cached) $ECHO_C" >&6
38364 cat >conftest.
$ac_ext <<_ACEOF
38367 cat confdefs.h
>>conftest.
$ac_ext
38368 cat >>conftest.
$ac_ext <<_ACEOF
38369 /* end confdefs.h. */
38370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38372 #define $ac_func innocuous_$ac_func
38374 /* System header to define __stub macros and hopefully few prototypes,
38375 which can conflict with char $ac_func (); below.
38376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38377 <limits.h> exists even on freestanding compilers. */
38380 # include <limits.h>
38382 # include <assert.h>
38387 /* Override any gcc2 internal prototype to avoid an error. */
38392 /* We use char because int might match the return type of a gcc2
38393 builtin and then its argument prototype would still apply. */
38395 /* The GNU C library defines this for functions which it implements
38396 to always fail with ENOSYS. Some functions are actually named
38397 something starting with __ and the normal name is an alias. */
38398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38401 char (*f) () = $ac_func;
38410 return f != $ac_func;
38415 rm -f conftest.
$ac_objext conftest
$ac_exeext
38416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38417 (eval $ac_link) 2>conftest.er1
38419 grep -v '^ *+' conftest.er1
>conftest.err
38421 cat conftest.err
>&5
38422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38423 (exit $ac_status); } &&
38424 { ac_try
='test -z "$ac_c_werror_flag"
38425 || test ! -s conftest.err'
38426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38427 (eval $ac_try) 2>&5
38429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38430 (exit $ac_status); }; } &&
38431 { ac_try
='test -s conftest$ac_exeext'
38432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38433 (eval $ac_try) 2>&5
38435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38436 (exit $ac_status); }; }; then
38437 eval "$as_ac_var=yes"
38439 echo "$as_me: failed program was:" >&5
38440 sed 's/^/| /' conftest.
$ac_ext >&5
38442 eval "$as_ac_var=no"
38444 rm -f conftest.err conftest.
$ac_objext \
38445 conftest
$ac_exeext conftest.
$ac_ext
38447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38449 if test `eval echo '${'$as_ac_var'}'` = yes; then
38450 cat >>confdefs.h
<<_ACEOF
38451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38458 for ac_func
in floor
38460 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38461 echo "$as_me:$LINENO: checking for $ac_func" >&5
38462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38463 if eval "test \"\${$as_ac_var+set}\" = set"; then
38464 echo $ECHO_N "(cached) $ECHO_C" >&6
38466 cat >conftest.
$ac_ext <<_ACEOF
38469 cat confdefs.h
>>conftest.
$ac_ext
38470 cat >>conftest.
$ac_ext <<_ACEOF
38471 /* end confdefs.h. */
38472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38474 #define $ac_func innocuous_$ac_func
38476 /* System header to define __stub macros and hopefully few prototypes,
38477 which can conflict with char $ac_func (); below.
38478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38479 <limits.h> exists even on freestanding compilers. */
38482 # include <limits.h>
38484 # include <assert.h>
38489 /* Override any gcc2 internal prototype to avoid an error. */
38494 /* We use char because int might match the return type of a gcc2
38495 builtin and then its argument prototype would still apply. */
38497 /* The GNU C library defines this for functions which it implements
38498 to always fail with ENOSYS. Some functions are actually named
38499 something starting with __ and the normal name is an alias. */
38500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38503 char (*f) () = $ac_func;
38512 return f != $ac_func;
38517 rm -f conftest.
$ac_objext conftest
$ac_exeext
38518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38519 (eval $ac_link) 2>conftest.er1
38521 grep -v '^ *+' conftest.er1
>conftest.err
38523 cat conftest.err
>&5
38524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38525 (exit $ac_status); } &&
38526 { ac_try
='test -z "$ac_c_werror_flag"
38527 || test ! -s conftest.err'
38528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38529 (eval $ac_try) 2>&5
38531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38532 (exit $ac_status); }; } &&
38533 { ac_try
='test -s conftest$ac_exeext'
38534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38535 (eval $ac_try) 2>&5
38537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38538 (exit $ac_status); }; }; then
38539 eval "$as_ac_var=yes"
38541 echo "$as_me: failed program was:" >&5
38542 sed 's/^/| /' conftest.
$ac_ext >&5
38544 eval "$as_ac_var=no"
38546 rm -f conftest.err conftest.
$ac_objext \
38547 conftest
$ac_exeext conftest.
$ac_ext
38549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38551 if test `eval echo '${'$as_ac_var'}'` = yes; then
38552 cat >>confdefs.h
<<_ACEOF
38553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38559 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
38560 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
38561 if test "$have_cos" = 1 -a "$have_floor" = 1; then
38562 echo "$as_me:$LINENO: result: yes" >&5
38563 echo "${ECHO_T}yes" >&6
38565 echo "$as_me:$LINENO: result: no" >&5
38566 echo "${ECHO_T}no" >&6
38568 # use different functions to avoid configure caching
38574 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38575 echo "$as_me:$LINENO: checking for $ac_func" >&5
38576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38577 if eval "test \"\${$as_ac_var+set}\" = set"; then
38578 echo $ECHO_N "(cached) $ECHO_C" >&6
38580 cat >conftest.
$ac_ext <<_ACEOF
38583 cat confdefs.h
>>conftest.
$ac_ext
38584 cat >>conftest.
$ac_ext <<_ACEOF
38585 /* end confdefs.h. */
38586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38588 #define $ac_func innocuous_$ac_func
38590 /* System header to define __stub macros and hopefully few prototypes,
38591 which can conflict with char $ac_func (); below.
38592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38593 <limits.h> exists even on freestanding compilers. */
38596 # include <limits.h>
38598 # include <assert.h>
38603 /* Override any gcc2 internal prototype to avoid an error. */
38608 /* We use char because int might match the return type of a gcc2
38609 builtin and then its argument prototype would still apply. */
38611 /* The GNU C library defines this for functions which it implements
38612 to always fail with ENOSYS. Some functions are actually named
38613 something starting with __ and the normal name is an alias. */
38614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38617 char (*f) () = $ac_func;
38626 return f != $ac_func;
38631 rm -f conftest.
$ac_objext conftest
$ac_exeext
38632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38633 (eval $ac_link) 2>conftest.er1
38635 grep -v '^ *+' conftest.er1
>conftest.err
38637 cat conftest.err
>&5
38638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38639 (exit $ac_status); } &&
38640 { ac_try
='test -z "$ac_c_werror_flag"
38641 || test ! -s conftest.err'
38642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38643 (eval $ac_try) 2>&5
38645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38646 (exit $ac_status); }; } &&
38647 { ac_try
='test -s conftest$ac_exeext'
38648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38649 (eval $ac_try) 2>&5
38651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38652 (exit $ac_status); }; }; then
38653 eval "$as_ac_var=yes"
38655 echo "$as_me: failed program was:" >&5
38656 sed 's/^/| /' conftest.
$ac_ext >&5
38658 eval "$as_ac_var=no"
38660 rm -f conftest.err conftest.
$ac_objext \
38661 conftest
$ac_exeext conftest.
$ac_ext
38663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38665 if test `eval echo '${'$as_ac_var'}'` = yes; then
38666 cat >>confdefs.h
<<_ACEOF
38667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38674 for ac_func
in ceil
38676 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38677 echo "$as_me:$LINENO: checking for $ac_func" >&5
38678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38679 if eval "test \"\${$as_ac_var+set}\" = set"; then
38680 echo $ECHO_N "(cached) $ECHO_C" >&6
38682 cat >conftest.
$ac_ext <<_ACEOF
38685 cat confdefs.h
>>conftest.
$ac_ext
38686 cat >>conftest.
$ac_ext <<_ACEOF
38687 /* end confdefs.h. */
38688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38690 #define $ac_func innocuous_$ac_func
38692 /* System header to define __stub macros and hopefully few prototypes,
38693 which can conflict with char $ac_func (); below.
38694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38695 <limits.h> exists even on freestanding compilers. */
38698 # include <limits.h>
38700 # include <assert.h>
38705 /* Override any gcc2 internal prototype to avoid an error. */
38710 /* We use char because int might match the return type of a gcc2
38711 builtin and then its argument prototype would still apply. */
38713 /* The GNU C library defines this for functions which it implements
38714 to always fail with ENOSYS. Some functions are actually named
38715 something starting with __ and the normal name is an alias. */
38716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38719 char (*f) () = $ac_func;
38728 return f != $ac_func;
38733 rm -f conftest.
$ac_objext conftest
$ac_exeext
38734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38735 (eval $ac_link) 2>conftest.er1
38737 grep -v '^ *+' conftest.er1
>conftest.err
38739 cat conftest.err
>&5
38740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38741 (exit $ac_status); } &&
38742 { ac_try
='test -z "$ac_c_werror_flag"
38743 || test ! -s conftest.err'
38744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38745 (eval $ac_try) 2>&5
38747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38748 (exit $ac_status); }; } &&
38749 { ac_try
='test -s conftest$ac_exeext'
38750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38751 (eval $ac_try) 2>&5
38753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38754 (exit $ac_status); }; }; then
38755 eval "$as_ac_var=yes"
38757 echo "$as_me: failed program was:" >&5
38758 sed 's/^/| /' conftest.
$ac_ext >&5
38760 eval "$as_ac_var=no"
38762 rm -f conftest.err conftest.
$ac_objext \
38763 conftest
$ac_exeext conftest.
$ac_ext
38765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38767 if test `eval echo '${'$as_ac_var'}'` = yes; then
38768 cat >>confdefs.h
<<_ACEOF
38769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38775 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
38776 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
38777 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
38778 echo "$as_me:$LINENO: result: yes" >&5
38779 echo "${ECHO_T}yes" >&6
38781 echo "$as_me:$LINENO: result: no" >&5
38782 echo "${ECHO_T}no" >&6
38783 # not sure we should warn the user, crash, etc.
38787 if test "$wxUSE_GUI" = "yes"; then
38790 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
38791 drawing dynamic erase event exec font image \
38792 minimal propsize rotate shaped widgets render"
38794 if test "$wxUSE_MONOLITHIC" != "yes"; then
38795 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
38798 SAMPLES_SUBDIRS
="console"
38802 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
38803 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
38805 if test "$GXX" = yes ; then
38806 CXXWARNINGS
="-Wall"
38809 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
38811 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
38812 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
38813 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
38816 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
38817 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
38818 EXTRALIBS_XML
="$EXPAT_LINK"
38819 EXTRALIBS_HTML
="$MSPACK_LINK"
38820 EXTRALIBS_ODBC
="$ODBC_LINK"
38821 if test "$wxUSE_GUI" = "yes"; then
38822 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
38824 if test "$wxUSE_OPENGL" = "yes"; then
38825 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
38828 LDFLAGS
="$LDFLAGS $PROFILE"
38830 if test "$wxUSE_GTK" = 1; then
38833 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
38836 WXCONFIG_EXTRALIBS
="$LIBS"
38838 if test "$wxUSE_REGEX" = "builtin" ; then
38839 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
38841 if test "$wxUSE_EXPAT" = "builtin" ; then
38842 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
38844 if test "$wxUSE_ODBC" = "builtin" ; then
38845 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38847 if test "$wxUSE_LIBTIFF" = "builtin" ; then
38848 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
38850 if test "$wxUSE_LIBJPEG" = "builtin" ; then
38851 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
38853 if test "$wxUSE_LIBPNG" = "builtin" ; then
38854 wxconfig_3rdparty
="$wxconfig_3rdparty png"
38856 if test "$wxUSE_ZLIB" = "builtin" ; then
38857 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
38859 if test "$wxUSE_ODBC" = "builtin" ; then
38860 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38863 for i
in $wxconfig_3rdparty ; do
38864 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
38868 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
38882 if test $wxUSE_MONOLITHIC = "yes" ; then
38888 if test $wxUSE_PLUGINS = "yes" ; then
38894 if test $wxUSE_ODBC != "no" ; then
38900 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38926 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38936 if test "x$BAKEFILE_HOST" = "x"; then
38937 BAKEFILE_HOST
="${host}"
38940 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38942 if test -n "$ac_tool_prefix"; then
38943 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38944 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38945 echo "$as_me:$LINENO: checking for $ac_word" >&5
38946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38947 if test "${ac_cv_prog_RANLIB+set}" = set; then
38948 echo $ECHO_N "(cached) $ECHO_C" >&6
38950 if test -n "$RANLIB"; then
38951 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38954 for as_dir
in $PATH
38957 test -z "$as_dir" && as_dir
=.
38958 for ac_exec_ext
in '' $ac_executable_extensions; do
38959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38960 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38969 RANLIB
=$ac_cv_prog_RANLIB
38970 if test -n "$RANLIB"; then
38971 echo "$as_me:$LINENO: result: $RANLIB" >&5
38972 echo "${ECHO_T}$RANLIB" >&6
38974 echo "$as_me:$LINENO: result: no" >&5
38975 echo "${ECHO_T}no" >&6
38979 if test -z "$ac_cv_prog_RANLIB"; then
38980 ac_ct_RANLIB
=$RANLIB
38981 # Extract the first word of "ranlib", so it can be a program name with args.
38982 set dummy ranlib
; ac_word
=$2
38983 echo "$as_me:$LINENO: checking for $ac_word" >&5
38984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38985 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38986 echo $ECHO_N "(cached) $ECHO_C" >&6
38988 if test -n "$ac_ct_RANLIB"; then
38989 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38992 for as_dir
in $PATH
38995 test -z "$as_dir" && as_dir
=.
38996 for ac_exec_ext
in '' $ac_executable_extensions; do
38997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38998 ac_cv_prog_ac_ct_RANLIB
="ranlib"
38999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39005 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
39008 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
39009 if test -n "$ac_ct_RANLIB"; then
39010 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
39011 echo "${ECHO_T}$ac_ct_RANLIB" >&6
39013 echo "$as_me:$LINENO: result: no" >&5
39014 echo "${ECHO_T}no" >&6
39017 RANLIB
=$ac_ct_RANLIB
39019 RANLIB
="$ac_cv_prog_RANLIB"
39022 # Find a good install program. We prefer a C program (faster),
39023 # so one script is as good as another. But avoid the broken or
39024 # incompatible versions:
39025 # SysV /etc/install, /usr/sbin/install
39026 # SunOS /usr/etc/install
39027 # IRIX /sbin/install
39029 # AmigaOS /C/install, which installs bootblocks on floppy discs
39030 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
39031 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
39032 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
39033 # OS/2's system install, which has a completely different semantic
39034 # ./install, which can be erroneously created by make from ./install.sh.
39035 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
39036 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
39037 if test -z "$INSTALL"; then
39038 if test "${ac_cv_path_install+set}" = set; then
39039 echo $ECHO_N "(cached) $ECHO_C" >&6
39041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39042 for as_dir
in $PATH
39045 test -z "$as_dir" && as_dir
=.
39046 # Account for people who put trailing slashes in PATH elements.
39048 .
/ | .
// | /cC
/* | \
39049 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
39050 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
39053 # OSF1 and SCO ODT 3.0 have their own names for install.
39054 # Don't use installbsd from OSF since it installs stuff as root
39056 for ac_prog
in ginstall scoinst
install; do
39057 for ac_exec_ext
in '' $ac_executable_extensions; do
39058 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
39059 if test $ac_prog = install &&
39060 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
39061 # AIX install. It has an incompatible calling convention.
39063 elif test $ac_prog = install &&
39064 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
39065 # program-specific install script used by HP pwplus--don't use.
39068 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
39080 if test "${ac_cv_path_install+set}" = set; then
39081 INSTALL
=$ac_cv_path_install
39083 # As a last resort, use the slow shell script. We don't cache a
39084 # path for INSTALL within a source directory, because that will
39085 # break other packages using the cache if that directory is
39086 # removed, or if the path is relative.
39087 INSTALL
=$ac_install_sh
39090 echo "$as_me:$LINENO: result: $INSTALL" >&5
39091 echo "${ECHO_T}$INSTALL" >&6
39093 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
39094 # It thinks the first close brace ends the variable substitution.
39095 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
39097 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
39099 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
39101 echo "$as_me:$LINENO: checking whether ln -s works" >&5
39102 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
39104 if test "$LN_S" = "ln -s"; then
39105 echo "$as_me:$LINENO: result: yes" >&5
39106 echo "${ECHO_T}yes" >&6
39108 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
39109 echo "${ECHO_T}no, using $LN_S" >&6
39113 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39114 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39115 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
39116 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39117 echo $ECHO_N "(cached) $ECHO_C" >&6
39119 cat >conftest.
make <<\_ACEOF
39121 @
echo 'ac_maketemp="$(MAKE)"'
39123 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39124 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39125 if test -n "$ac_maketemp"; then
39126 eval ac_cv_prog_make_
${ac_make}_set
=yes
39128 eval ac_cv_prog_make_
${ac_make}_set
=no
39130 rm -f conftest.
make
39132 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39133 echo "$as_me:$LINENO: result: yes" >&5
39134 echo "${ECHO_T}yes" >&6
39137 echo "$as_me:$LINENO: result: no" >&5
39138 echo "${ECHO_T}no" >&6
39139 SET_MAKE
="MAKE=${MAKE-make}"
39144 if test -n "$ac_tool_prefix"; then
39145 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
39146 set dummy
${ac_tool_prefix}ar; ac_word
=$2
39147 echo "$as_me:$LINENO: checking for $ac_word" >&5
39148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39149 if test "${ac_cv_prog_AR+set}" = set; then
39150 echo $ECHO_N "(cached) $ECHO_C" >&6
39152 if test -n "$AR"; then
39153 ac_cv_prog_AR
="$AR" # Let the user override the test.
39155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39156 for as_dir
in $PATH
39159 test -z "$as_dir" && as_dir
=.
39160 for ac_exec_ext
in '' $ac_executable_extensions; do
39161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39162 ac_cv_prog_AR
="${ac_tool_prefix}ar"
39163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39172 if test -n "$AR"; then
39173 echo "$as_me:$LINENO: result: $AR" >&5
39174 echo "${ECHO_T}$AR" >&6
39176 echo "$as_me:$LINENO: result: no" >&5
39177 echo "${ECHO_T}no" >&6
39181 if test -z "$ac_cv_prog_AR"; then
39183 # Extract the first word of "ar", so it can be a program name with args.
39184 set dummy
ar; ac_word
=$2
39185 echo "$as_me:$LINENO: checking for $ac_word" >&5
39186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39187 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
39188 echo $ECHO_N "(cached) $ECHO_C" >&6
39190 if test -n "$ac_ct_AR"; then
39191 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
39193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39194 for as_dir
in $PATH
39197 test -z "$as_dir" && as_dir
=.
39198 for ac_exec_ext
in '' $ac_executable_extensions; do
39199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39200 ac_cv_prog_ac_ct_AR
="ar"
39201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39207 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
39210 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
39211 if test -n "$ac_ct_AR"; then
39212 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
39213 echo "${ECHO_T}$ac_ct_AR" >&6
39215 echo "$as_me:$LINENO: result: no" >&5
39216 echo "${ECHO_T}no" >&6
39221 AR
="$ac_cv_prog_AR"
39224 if test -n "$ac_tool_prefix"; then
39225 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
39226 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
39227 echo "$as_me:$LINENO: checking for $ac_word" >&5
39228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39229 if test "${ac_cv_prog_STRIP+set}" = set; then
39230 echo $ECHO_N "(cached) $ECHO_C" >&6
39232 if test -n "$STRIP"; then
39233 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
39235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39236 for as_dir
in $PATH
39239 test -z "$as_dir" && as_dir
=.
39240 for ac_exec_ext
in '' $ac_executable_extensions; do
39241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39242 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
39243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39251 STRIP
=$ac_cv_prog_STRIP
39252 if test -n "$STRIP"; then
39253 echo "$as_me:$LINENO: result: $STRIP" >&5
39254 echo "${ECHO_T}$STRIP" >&6
39256 echo "$as_me:$LINENO: result: no" >&5
39257 echo "${ECHO_T}no" >&6
39261 if test -z "$ac_cv_prog_STRIP"; then
39263 # Extract the first word of "strip", so it can be a program name with args.
39264 set dummy strip
; ac_word
=$2
39265 echo "$as_me:$LINENO: checking for $ac_word" >&5
39266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39267 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
39268 echo $ECHO_N "(cached) $ECHO_C" >&6
39270 if test -n "$ac_ct_STRIP"; then
39271 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
39273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39274 for as_dir
in $PATH
39277 test -z "$as_dir" && as_dir
=.
39278 for ac_exec_ext
in '' $ac_executable_extensions; do
39279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39280 ac_cv_prog_ac_ct_STRIP
="strip"
39281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39287 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
39290 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
39291 if test -n "$ac_ct_STRIP"; then
39292 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
39293 echo "${ECHO_T}$ac_ct_STRIP" >&6
39295 echo "$as_me:$LINENO: result: no" >&5
39296 echo "${ECHO_T}no" >&6
39301 STRIP
="$ac_cv_prog_STRIP"
39304 if test -n "$ac_tool_prefix"; then
39305 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
39306 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
39307 echo "$as_me:$LINENO: checking for $ac_word" >&5
39308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39309 if test "${ac_cv_prog_NM+set}" = set; then
39310 echo $ECHO_N "(cached) $ECHO_C" >&6
39312 if test -n "$NM"; then
39313 ac_cv_prog_NM
="$NM" # Let the user override the test.
39315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39316 for as_dir
in $PATH
39319 test -z "$as_dir" && as_dir
=.
39320 for ac_exec_ext
in '' $ac_executable_extensions; do
39321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39322 ac_cv_prog_NM
="${ac_tool_prefix}nm"
39323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39332 if test -n "$NM"; then
39333 echo "$as_me:$LINENO: result: $NM" >&5
39334 echo "${ECHO_T}$NM" >&6
39336 echo "$as_me:$LINENO: result: no" >&5
39337 echo "${ECHO_T}no" >&6
39341 if test -z "$ac_cv_prog_NM"; then
39343 # Extract the first word of "nm", so it can be a program name with args.
39344 set dummy nm
; ac_word
=$2
39345 echo "$as_me:$LINENO: checking for $ac_word" >&5
39346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39347 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
39348 echo $ECHO_N "(cached) $ECHO_C" >&6
39350 if test -n "$ac_ct_NM"; then
39351 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
39353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39354 for as_dir
in $PATH
39357 test -z "$as_dir" && as_dir
=.
39358 for ac_exec_ext
in '' $ac_executable_extensions; do
39359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39360 ac_cv_prog_ac_ct_NM
="nm"
39361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39367 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
39370 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
39371 if test -n "$ac_ct_NM"; then
39372 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
39373 echo "${ECHO_T}$ac_ct_NM" >&6
39375 echo "$as_me:$LINENO: result: no" >&5
39376 echo "${ECHO_T}no" >&6
39381 NM
="$ac_cv_prog_NM"
39385 case ${BAKEFILE_HOST} in
39387 INSTALL_DIR
="mkdir"
39389 *) INSTALL_DIR
="$INSTALL -d"
39395 case ${BAKEFILE_HOST} in
39396 *-*-cygwin* | *-*-mingw32* )
39397 LDFLAGS_GUI
="-mwindows"
39403 echo "$as_me:$LINENO: checking if make is GNU make" >&5
39404 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
39405 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
39406 echo $ECHO_N "(cached) $ECHO_C" >&6
39409 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
39410 egrep -s GNU
> /dev
/null
); then
39411 bakefile_cv_prog_makeisgnu
="yes"
39413 bakefile_cv_prog_makeisgnu
="no"
39417 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
39418 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
39420 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
39435 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
39436 case "${BAKEFILE_HOST}" in
39437 *-*-cygwin* | *-*-mingw32* )
39443 *-pc-os2_emx | *-pc-os2-emx )
39446 powerpc
-*-darwin* )
39455 case "$BAKEFILE_FORCE_PLATFORM" in
39473 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
39474 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
39475 { (exit 1); exit 1; }; }
39488 # Check whether --enable-omf or --disable-omf was given.
39489 if test "${enable_omf+set}" = set; then
39490 enableval
="$enable_omf"
39491 bk_os2_use_omf
="$enableval"
39494 case "${BAKEFILE_HOST}" in
39496 CFLAGS
="$CFLAGS -fno-common"
39497 CXXFLAGS
="$CXXFLAGS -fno-common"
39500 *-pc-os2_emx | *-pc-os2-emx )
39501 if test "x$bk_os2_use_omf" = "xyes" ; then
39504 LDFLAGS
="-Zomf $LDFLAGS"
39505 CFLAGS
="-Zomf $CFLAGS"
39506 CXXFLAGS
="-Zomf $CXXFLAGS"
39516 SO_SUFFIX_MODULE
="so"
39521 DLLPREFIX_MODULE
=""
39524 case "${BAKEFILE_HOST}" in
39527 SO_SUFFIX_MODULE
="sl"
39531 SO_SUFFIX_MODULE
="a"
39533 *-*-cygwin* | *-*-mingw32* )
39535 SO_SUFFIX_MODULE
="dll"
39536 DLLIMP_SUFFIX
="dll.a"
39544 *-pc-os2_emx | *-pc-os2-emx )
39546 SO_SUFFIX_MODULE
="dll"
39547 DLLIMP_SUFFIX
=$OS2_LIBEXT
39551 LIBEXT
=".$OS2_LIBEXT"
39553 powerpc
-*-darwin* )
39555 SO_SUFFIX_MODULE
="bundle"
39559 if test "x$DLLIMP_SUFFIX" = "x" ; then
39560 DLLIMP_SUFFIX
="$SO_SUFFIX"
39573 SHARED_LD_CC
="\$(CC) -shared -o"
39574 SHARED_LD_CXX
="\$(CXX) -shared -o"
39576 if test "x$GCC" = "xyes"; then
39580 case "${BAKEFILE_HOST}" in
39582 if test "x$GCC" = "xyes"; then
39583 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
39584 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
39586 LDFLAGS
="$LDFLAGS -L/usr/lib"
39588 SHARED_LD_CC
="${CC} -b -o"
39589 SHARED_LD_CXX
="${CXX} -b -o"
39595 if test "x$GCC" != "xyes"; then
39596 echo "$as_me:$LINENO: checking for Intel compiler" >&5
39597 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
39598 if test "${bakefile_cv_prog_icc+set}" = set; then
39599 echo $ECHO_N "(cached) $ECHO_C" >&6
39602 cat >conftest.
$ac_ext <<_ACEOF
39605 cat confdefs.h
>>conftest.
$ac_ext
39606 cat >>conftest.
$ac_ext <<_ACEOF
39607 /* end confdefs.h. */
39613 #ifndef __INTEL_COMPILER
39621 rm -f conftest.
$ac_objext
39622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39623 (eval $ac_compile) 2>conftest.er1
39625 grep -v '^ *+' conftest.er1
>conftest.err
39627 cat conftest.err
>&5
39628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39629 (exit $ac_status); } &&
39630 { ac_try
='test -z "$ac_c_werror_flag"
39631 || test ! -s conftest.err'
39632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39633 (eval $ac_try) 2>&5
39635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39636 (exit $ac_status); }; } &&
39637 { ac_try
='test -s conftest.$ac_objext'
39638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39639 (eval $ac_try) 2>&5
39641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39642 (exit $ac_status); }; }; then
39643 bakefile_cv_prog_icc
=yes
39645 echo "$as_me: failed program was:" >&5
39646 sed 's/^/| /' conftest.
$ac_ext >&5
39648 bakefile_cv_prog_icc
=no
39651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39654 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
39655 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
39656 if test "$bakefile_cv_prog_icc" = "yes"; then
39663 if test "x$GCC" != xyes
; then
39664 SHARED_LD_CC
="${CC} -G -o"
39665 SHARED_LD_CXX
="${CXX} -G -o"
39672 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
39673 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
39674 if test "${wx_cv_gcc31+set}" = set; then
39675 echo $ECHO_N "(cached) $ECHO_C" >&6
39678 cat >conftest.
$ac_ext <<_ACEOF
39681 cat confdefs.h
>>conftest.
$ac_ext
39682 cat >>conftest.
$ac_ext <<_ACEOF
39683 /* end confdefs.h. */
39689 #if (__GNUC__ < 3) || \
39690 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39698 rm -f conftest.
$ac_objext
39699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39700 (eval $ac_compile) 2>conftest.er1
39702 grep -v '^ *+' conftest.er1
>conftest.err
39704 cat conftest.err
>&5
39705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39706 (exit $ac_status); } &&
39707 { ac_try
='test -z "$ac_c_werror_flag"
39708 || test ! -s conftest.err'
39709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39710 (eval $ac_try) 2>&5
39712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39713 (exit $ac_status); }; } &&
39714 { ac_try
='test -s conftest.$ac_objext'
39715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39716 (eval $ac_try) 2>&5
39718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39719 (exit $ac_status); }; }; then
39724 echo "$as_me: failed program was:" >&5
39725 sed 's/^/| /' conftest.
$ac_ext >&5
39732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39735 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
39736 echo "${ECHO_T}$wx_cv_gcc31" >&6
39737 if test "$wx_cv_gcc31" = "no"; then
39740 cat <<EOF >shared-ld-sh
39742 #-----------------------------------------------------------------------------
39743 #-- Name: distrib/mac/shared-ld-sh
39744 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
39745 #-- Author: Gilles Depeyrot
39746 #-- Copyright: (c) 2002 Gilles Depeyrot
39747 #-- Licence: any use permitted
39748 #-----------------------------------------------------------------------------
39753 linking_flag="-dynamiclib"
39755 while test ${D}# -gt 0; do
39762 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
39763 # collect these options and values
39764 args="${D}{args} ${D}1 ${D}2"
39768 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
39769 # collect these options
39770 args="${D}{args} ${D}1"
39773 -dynamiclib|-bundle)
39774 linking_flag="${D}1"
39778 echo "shared-ld: unhandled option '${D}1'"
39782 *.o | *.a | *.dylib)
39783 # collect object files
39784 objects="${D}{objects} ${D}1"
39788 echo "shared-ld: unhandled argument '${D}1'"
39797 # Link one module containing all the others
39799 if test ${D}{verbose} = 1; then
39800 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
39802 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
39804 if test ${D}{status} != 0; then
39809 # Link the shared library from the single module created
39811 if test ${D}{verbose} = 1; then
39812 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
39814 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
39816 if test ${D}{status} != 0; then
39821 # Remove intermediate module
39823 rm -f master.${D}${D}.o
39828 chmod +x shared
-ld-sh
39830 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39831 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39832 SHARED_LD_CXX
="$SHARED_LD_CC"
39833 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
39835 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39836 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
39837 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39838 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
39841 PIC_FLAG
="-dynamic -fPIC"
39845 if test "x$GCC" != "xyes"; then
39846 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39847 set dummy makeC
++SharedLib
; ac_word
=$2
39848 echo "$as_me:$LINENO: checking for $ac_word" >&5
39849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39850 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
39851 echo $ECHO_N "(cached) $ECHO_C" >&6
39853 if test -n "$AIX_CXX_LD"; then
39854 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
39856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39857 for as_dir
in $PATH
39860 test -z "$as_dir" && as_dir
=.
39861 for ac_exec_ext
in '' $ac_executable_extensions; do
39862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39863 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
39864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39870 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
39873 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
39874 if test -n "$AIX_CXX_LD"; then
39875 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
39876 echo "${ECHO_T}$AIX_CXX_LD" >&6
39878 echo "$as_me:$LINENO: result: no" >&5
39879 echo "${ECHO_T}no" >&6
39882 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
39883 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
39888 SHARED_LD_CC
="${LD} -shared -o"
39889 SHARED_LD_CXX
="${LD} -shared -o"
39893 if test "x$GCC" != "xyes"; then
39898 *-*-cygwin* | *-*-mingw32* )
39902 *-pc-os2_emx | *-pc-os2-emx )
39903 SHARED_LD_CC
="`pwd`/dllar.sh -o"
39904 SHARED_LD_CXX
="`pwd`/dllar.sh -o"
39908 cat <<EOF >dllar.sh
39911 # dllar - a tool to build both a .dll and an .a file
39912 # from a set of object (.o) files for EMX/OS2.
39914 # Written by Andrew Zabolotny, bit@freya.etu.ru
39915 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39917 # This script will accept a set of files on the command line.
39918 # All the public symbols from the .o files will be exported into
39919 # a .DEF file, then linker will be run (through gcc) against them to
39920 # build a shared library consisting of all given .o files. All libraries
39921 # (.a) will be first decompressed into component .o files then act as
39922 # described above. You can optionally give a description (-d "description")
39923 # which will be put into .DLL. To see the list of accepted options (as well
39924 # as command-line format) simply run this program without options. The .DLL
39925 # is built to be imported by name (there is no guarantee that new versions
39926 # of the library you build will have same ordinals for same symbols).
39928 # dllar is free software; you can redistribute it and/or modify
39929 # it under the terms of the GNU General Public License as published by
39930 # the Free Software Foundation; either version 2, or (at your option)
39931 # any later version.
39933 # dllar is distributed in the hope that it will be useful,
39934 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39935 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39936 # GNU General Public License for more details.
39938 # You should have received a copy of the GNU General Public License
39939 # along with dllar; see the file COPYING. If not, write to the Free
39940 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39943 # To successfuly run this program you will need:
39944 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39945 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39947 # (used to build the .dll)
39949 # (used to create .def file from .o files)
39951 # (used to create .a file from .def file)
39952 # - GNU text utilites (cat, sort, uniq)
39953 # used to process emxexp output
39954 # - GNU file utilities (mv, rm)
39956 # - lxlite (optional, see flag below)
39957 # (used for general .dll cleanup)
39964 # basnam, variant of basename, which does _not_ remove the path, _iff_
39965 # second argument (suffix to remove) is given
39969 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
39972 echo ${D}1 | sed 's/'${D}2'${D}//'
39975 echo "error in basnam ${D}*"
39981 # Cleanup temporary files and output
39984 for i in ${D}inputFiles ; do
39987 rm -rf \`basnam ${D}i !\`
39994 # Kill result in case of failure as there is just to many stupid make/nmake
39995 # things out there which doesn't do this.
39996 if ${D}# -eq 0 ; then
39997 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
40001 # Print usage and exit script with rc=1.
40003 echo 'Usage: dllar -o[utput] output_file -i[mport] importlib_name'
40004 echo ' -d[escription] "dll descrption" -cc "CC" -f[lags] "CFLAGS"'
40005 echo ' -ord[inals] -exclude "symbol(s)"'
40006 echo ' -libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}" -nocrt[dll] -nolxl[ite]'
40008 echo '*> "output_file" should have no extension.'
40009 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
40010 echo ' The import library name is derived from this and is set to "name".a,'
40011 echo ' unless overridden by -import'
40012 echo '*> "importlib_name" should have no extension.'
40013 echo ' If it has the .o, or .a extension, it is automatically removed.'
40014 echo ' This name is used as the import library name and may be longer and'
40015 echo ' more descriptive than the DLL name which has to follow the old '
40016 echo ' 8.3 convention of FAT.'
40017 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
40018 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
40019 echo ' These flags will be put at the start of GCC command line.'
40020 echo '*> -ordinals tells dllar to export entries by ordinals. Be careful.'
40021 echo '*> -exclude defines symbols which will not be exported. You can define'
40022 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
40023 echo ' If the last character of a symbol is "*", all symbols beginning'
40024 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
40025 echo '*> -libflags can be used to add INITGLOBAL/INITINSTANCE and/or'
40026 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
40027 echo '*> -nocrtdll switch will disable linking the library against emx''s'
40028 echo ' C runtime DLLs.'
40029 echo '*> -nolxlite switch will disable running lxlite on the resulting DLL.'
40030 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
40031 echo ' unchanged to GCC at the end of command line.'
40032 echo '*> If you create a DLL from a library and you do not specify -o,'
40033 echo ' the basename for DLL and import library will be set to library name,'
40034 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
40035 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
40036 echo ' library will be renamed into gcc_s.a.'
40039 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
40040 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
40045 # Execute a command.
40046 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
40047 # @Uses Whatever CleanUp() uses.
40053 if ${D}rcCmd -ne 0 ; then
40054 echo "command failed, exit code="${D}rcCmd
40068 CFLAGS="-s -Zcrtdll"
40070 EXPORT_BY_ORDINALS=0
40075 case ${D}curDirS in
40079 curDirS=${D}{curDirS}"/"
40082 # Parse commandline
40087 EXPORT_BY_ORDINALS=1;
40114 exclude_symbols=${D}{exclude_symbols}${D}1" "
40118 library_flags=${D}{library_flags}${D}1" "
40134 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40138 if ${D}libsToLink -ne 0 ; then
40139 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40141 for file in ${D}1 ; do
40142 if -f ${D}file ; then
40143 inputFiles="${D}{inputFiles} ${D}file"
40147 if ${D}found -eq 0 ; then
40148 echo "ERROR: No file(s) found: "${D}1
40155 done # iterate cmdline words
40158 if -z "${D}inputFiles" ; then
40159 echo "dllar: no input files"
40163 # Now extract all .o files from .a files
40165 for file in ${D}inputFiles ; do
40176 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
40181 dirname=\`basnam ${D}file ${D}suffix\`"_%"
40183 if ${D}? -ne 0 ; then
40184 echo "Failed to create subdirectory ./${D}dirname"
40188 # Append '!' to indicate archive
40189 newInputFiles="${D}newInputFiles ${D}{dirname}!"
40190 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
40193 for subfile in ${D}dirname/*.o* ; do
40194 if -f ${D}subfile ; then
40196 if -s ${D}subfile ; then
40197 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
40198 newInputFiles="${D}newInputFiles ${D}subfile"
40202 if ${D}found -eq 0 ; then
40203 echo "WARNING: there are no files in archive \'${D}file\'"
40207 newInputFiles="${D}{newInputFiles} ${D}file"
40211 inputFiles="${D}newInputFiles"
40213 # Output filename(s).
40215 if -z ${D}outFile ; then
40217 set outFile ${D}inputFiles; outFile=${D}2
40220 # If it is an archive, remove the '!' and the '_%' suffixes
40221 case ${D}outFile in
40223 outFile=\`basnam ${D}outFile _%!\`
40228 case ${D}outFile in
40230 outFile=\`basnam ${D}outFile .dll\`
40233 outFile=\`basnam ${D}outFile .DLL\`
40236 outFile=\`basnam ${D}outFile .o\`
40239 outFile=\`basnam ${D}outFile .obj\`
40242 outFile=\`basnam ${D}outFile .a\`
40245 outFile=\`basnam ${D}outFile .lib\`
40250 case ${D}outimpFile in
40252 outimpFile=\`basnam ${D}outimpFile .a\`
40255 outimpFile=\`basnam ${D}outimpFile .lib\`
40260 if -z ${D}outimpFile ; then
40261 outimpFile=${D}outFile
40263 defFile="${D}{outFile}.def"
40264 arcFile="${D}{outimpFile}.a"
40265 arcFile2="${D}{outimpFile}.lib"
40266 dllFile="${D}outFile"
40267 # Add suffix to dllFile later, first we need a version to use as
40268 # name in .def file.
40270 if ${D}do_backup -ne 0 ; then
40271 if -f ${D}arcFile ; then
40272 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
40274 if -f ${D}arcFile2 ; then
40275 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
40279 # Extract public symbols from all the object files.
40280 tmpdefFile=${D}{defFile}_%
40281 rm -f ${D}tmpdefFile
40282 for file in ${D}inputFiles ; do
40287 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
40292 # Create the def file.
40294 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
40295 dllFile="${D}dllFile.dll"
40296 if -n ${D}description ; then
40297 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
40299 echo "EXPORTS" >> ${D}defFile
40301 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
40302 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
40304 # Checks if the export is ok or not.
40305 for word in ${D}exclude_symbols; do
40306 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
40307 mv ${D}{tmpdefFile}% ${D}tmpdefFile
40311 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
40312 sed "=" < ${D}tmpdefFile | \
40316 s/^\(0-9\+\)\(^;*\)\(;.*\)\?/\2 @\1 NONAME/
40318 ' > ${D}{tmpdefFile}%
40319 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
40321 rm -f ${D}{tmpdefFile}%
40323 cat ${D}tmpdefFile >> ${D}defFile
40324 rm -f ${D}tmpdefFile
40326 # Do linking, create implib, and apply lxlite.
40328 for file in ${D}inputFiles ; do
40333 gccCmdl="${D}gccCmdl ${D}file"
40337 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
40338 touch "${D}{outFile}.dll"
40340 doCommand "emximp -o ${D}arcFile ${D}defFile"
40341 if ${D}flag_USE_LXLITE -ne 0 ; then
40343 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
40346 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
40348 doCommand "emxomf -s -l ${D}arcFile"
40358 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
40366 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
40367 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
40368 { (exit 1); exit 1; }; }
40371 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
40372 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
40374 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
40375 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
40392 case "${BAKEFILE_HOST}" in
40394 SONAME_FLAG
="-Wl,-soname,"
40422 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
40423 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
40426 if test "x$GCC" = "xyes"; then
40429 case "${BAKEFILE_HOST}" in
40430 powerpc
-*-darwin* )
40431 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
40434 DEPSFLAG_GCC
="-MMD"
40437 echo "$as_me:$LINENO: result: gcc" >&5
40438 echo "${ECHO_T}gcc" >&6
40440 echo "$as_me:$LINENO: result: none" >&5
40441 echo "${ECHO_T}none" >&6
40444 if test $DEPS_TRACKING = 1 ; then
40450 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40451 # script. It is used to track C/C++ files dependencies in portable way.
40453 # Permission is given to use this file in any way.
40455 DEPSMODE=${DEPSMODE}
40457 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
40459 mkdir -p ${D}DEPSDIR
40461 if test ${D}DEPSMODE = gcc ; then
40462 ${D}* ${D}{DEPSFLAG_GCC}
40464 if test ${D}{status} != 0 ; then
40467 # move created file to the location we want it in:
40468 while test ${D}# -gt 0; do
40482 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
40483 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
40484 if test -f ${D}depfile ; then
40485 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40488 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
40489 if test -f ${D}depfile ; then
40490 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40510 case ${BAKEFILE_HOST} in
40511 *-*-cygwin* | *-*-mingw32* )
40512 if test "$build" != "$host" ; then
40513 RESCOMP
=$host_alias-windres
40515 # Extract the first word of "windres", so it can be a program name with args.
40516 set dummy windres
; ac_word
=$2
40517 echo "$as_me:$LINENO: checking for $ac_word" >&5
40518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40519 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40520 echo $ECHO_N "(cached) $ECHO_C" >&6
40522 if test -n "$RESCOMP"; then
40523 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
40525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40526 for as_dir
in $PATH
40529 test -z "$as_dir" && as_dir
=.
40530 for ac_exec_ext
in '' $ac_executable_extensions; do
40531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40532 ac_cv_prog_RESCOMP
="windres"
40533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40539 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
40542 RESCOMP
=$ac_cv_prog_RESCOMP
40543 if test -n "$RESCOMP"; then
40544 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40545 echo "${ECHO_T}$RESCOMP" >&6
40547 echo "$as_me:$LINENO: result: no" >&5
40548 echo "${ECHO_T}no" >&6
40555 # Extract the first word of "Rez", so it can be a program name with args.
40556 set dummy Rez
; ac_word
=$2
40557 echo "$as_me:$LINENO: checking for $ac_word" >&5
40558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40559 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40560 echo $ECHO_N "(cached) $ECHO_C" >&6
40562 if test -n "$RESCOMP"; then
40563 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
40565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40566 for as_dir
in $PATH
40569 test -z "$as_dir" && as_dir
=.
40570 for ac_exec_ext
in '' $ac_executable_extensions; do
40571 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40572 ac_cv_prog_RESCOMP
="Rez"
40573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40579 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
40582 RESCOMP
=$ac_cv_prog_RESCOMP
40583 if test -n "$RESCOMP"; then
40584 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40585 echo "${ECHO_T}$RESCOMP" >&6
40587 echo "$as_me:$LINENO: result: no" >&5
40588 echo "${ECHO_T}no" >&6
40591 # Extract the first word of "SetFile", so it can be a program name with args.
40592 set dummy SetFile
; ac_word
=$2
40593 echo "$as_me:$LINENO: checking for $ac_word" >&5
40594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40595 if test "${ac_cv_prog_SETFILE+set}" = set; then
40596 echo $ECHO_N "(cached) $ECHO_C" >&6
40598 if test -n "$SETFILE"; then
40599 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
40601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40602 for as_dir
in $PATH
40605 test -z "$as_dir" && as_dir
=.
40606 for ac_exec_ext
in '' $ac_executable_extensions; do
40607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40608 ac_cv_prog_SETFILE
="SetFile"
40609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40615 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
40618 SETFILE
=$ac_cv_prog_SETFILE
40619 if test -n "$SETFILE"; then
40620 echo "$as_me:$LINENO: result: $SETFILE" >&5
40621 echo "${ECHO_T}$SETFILE" >&6
40623 echo "$as_me:$LINENO: result: no" >&5
40624 echo "${ECHO_T}no" >&6
40636 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.4"
40640 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40641 if test "${enable_precomp_headers+set}" = set; then
40642 enableval
="$enable_precomp_headers"
40643 bk_use_pch
="$enableval"
40648 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40649 if test "x$GCC" = "xyes"; then
40650 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40651 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40652 cat >conftest.
$ac_ext <<_ACEOF
40655 cat confdefs.h
>>conftest.
$ac_ext
40656 cat >>conftest.
$ac_ext <<_ACEOF
40657 /* end confdefs.h. */
40663 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40664 #error "no pch support"
40667 #error "no pch support"
40669 #if (__GNUC__ == 3) && \
40670 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40671 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40672 #error "no pch support"
40679 rm -f conftest.
$ac_objext
40680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40681 (eval $ac_compile) 2>conftest.er1
40683 grep -v '^ *+' conftest.er1
>conftest.err
40685 cat conftest.err
>&5
40686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40687 (exit $ac_status); } &&
40688 { ac_try
='test -z "$ac_c_werror_flag"
40689 || test ! -s conftest.err'
40690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40691 (eval $ac_try) 2>&5
40693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40694 (exit $ac_status); }; } &&
40695 { ac_try
='test -s conftest.$ac_objext'
40696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40697 (eval $ac_try) 2>&5
40699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40700 (exit $ac_status); }; }; then
40702 echo "$as_me:$LINENO: result: yes" >&5
40703 echo "${ECHO_T}yes" >&6
40704 CPPFLAGS
="-fpch-deps $CPPFLAGS"
40708 echo "$as_me: failed program was:" >&5
40709 sed 's/^/| /' conftest.
$ac_ext >&5
40712 echo "$as_me:$LINENO: result: no" >&5
40713 echo "${ECHO_T}no" >&6
40716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40717 if test $GCC_PCH = 1 ; then
40718 cat <<EOF >bk-make-pch
40721 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40722 # script. It is used to generated precompiled headers.
40724 # Permission is given to use this file in any way.
40733 while test \${#} -gt 0; do
40736 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
40737 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
40738 headerfile="\${incdir}/\${header}"
40742 compiler="\${compiler} \${1}"
40746 if test "x\${headerfile}" = "x" ; then
40747 echo "error: can't find header \${header} in include paths" >2
40749 if test -f \${outfile} ; then
40752 mkdir -p \`dirname \${outfile}\`
40754 depsfile=".deps/\`basename \${outfile}\`.d"
40756 # can do this because gcc is >= 3.4:
40757 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
40761 chmod +x bk
-make-pch
40772 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40773 if test "${enable_precomp_headers+set}" = set; then
40774 enableval
="$enable_precomp_headers"
40775 bk_use_pch
="$enableval"
40780 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40781 if test "x$GCC" = "xyes"; then
40782 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40783 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40784 cat >conftest.
$ac_ext <<_ACEOF
40787 cat confdefs.h
>>conftest.
$ac_ext
40788 cat >>conftest.
$ac_ext <<_ACEOF
40789 /* end confdefs.h. */
40795 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40796 #error "no pch support"
40799 #error "no pch support"
40801 #if (__GNUC__ == 3) && \
40802 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40803 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40804 #error "no pch support"
40811 rm -f conftest.
$ac_objext
40812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40813 (eval $ac_compile) 2>conftest.er1
40815 grep -v '^ *+' conftest.er1
>conftest.err
40817 cat conftest.err
>&5
40818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40819 (exit $ac_status); } &&
40820 { ac_try
='test -z "$ac_c_werror_flag"
40821 || test ! -s conftest.err'
40822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40823 (eval $ac_try) 2>&5
40825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40826 (exit $ac_status); }; } &&
40827 { ac_try
='test -s conftest.$ac_objext'
40828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40829 (eval $ac_try) 2>&5
40831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40832 (exit $ac_status); }; }; then
40834 echo "$as_me:$LINENO: result: yes" >&5
40835 echo "${ECHO_T}yes" >&6
40836 CPPFLAGS
="-fpch-deps $CPPFLAGS"
40840 echo "$as_me: failed program was:" >&5
40841 sed 's/^/| /' conftest.
$ac_ext >&5
40844 echo "$as_me:$LINENO: result: no" >&5
40845 echo "${ECHO_T}no" >&6
40848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40849 if test $GCC_PCH = 1 ; then
40850 cat <<EOF >bk-make-pch
40853 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40854 # script. It is used to generated precompiled headers.
40856 # Permission is given to use this file in any way.
40865 while test \${#} -gt 0; do
40868 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
40869 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
40870 headerfile="\${incdir}/\${header}"
40874 compiler="\${compiler} \${1}"
40878 if test "x\${headerfile}" = "x" ; then
40879 echo "error: can't find header \${header} in include paths" >2
40881 if test -f \${outfile} ; then
40884 mkdir -p \`dirname \${outfile}\`
40886 depsfile=".deps/\`basename \${outfile}\`.d"
40888 # can do this because gcc is >= 3.4:
40889 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
40893 chmod +x bk
-make-pch
40901 COND_BUILD_DEBUG
="#"
40902 if test "x$BUILD" = "xdebug" ; then
40903 COND_BUILD_DEBUG
=""
40906 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40907 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40908 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40911 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40912 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40913 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40916 COND_BUILD_DEBUG_UNICODE_0
="#"
40917 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40918 COND_BUILD_DEBUG_UNICODE_0
=""
40921 COND_BUILD_DEBUG_UNICODE_1
="#"
40922 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40923 COND_BUILD_DEBUG_UNICODE_1
=""
40926 COND_BUILD_RELEASE
="#"
40927 if test "x$BUILD" = "xrelease" ; then
40928 COND_BUILD_RELEASE
=""
40931 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40932 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40933 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40936 COND_BUILD_RELEASE_UNICODE_0
="#"
40937 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40938 COND_BUILD_RELEASE_UNICODE_0
=""
40941 COND_BUILD_RELEASE_UNICODE_1
="#"
40942 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40943 COND_BUILD_RELEASE_UNICODE_1
=""
40946 COND_DEBUG_FLAG_1
="#"
40947 if test "x$DEBUG_FLAG" = "x1" ; then
40948 COND_DEBUG_FLAG_1
=""
40951 COND_DEBUG_INFO_0
="#"
40952 if test "x$DEBUG_INFO" = "x0" ; then
40953 COND_DEBUG_INFO_0
=""
40956 COND_DEBUG_INFO_1
="#"
40957 if test "x$DEBUG_INFO" = "x1" ; then
40958 COND_DEBUG_INFO_1
=""
40961 COND_DEPS_TRACKING_0
="#"
40962 if test "x$DEPS_TRACKING" = "x0" ; then
40963 COND_DEPS_TRACKING_0
=""
40966 COND_DEPS_TRACKING_1
="#"
40967 if test "x$DEPS_TRACKING" = "x1" ; then
40968 COND_DEPS_TRACKING_1
=""
40972 if test "x$GCC_PCH" = "x1" ; then
40976 COND_MONOLITHIC_0
="#"
40977 if test "x$MONOLITHIC" = "x0" ; then
40978 COND_MONOLITHIC_0
=""
40981 COND_MONOLITHIC_0_SHARED_0
="#"
40982 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40983 COND_MONOLITHIC_0_SHARED_0
=""
40986 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40987 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40988 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40991 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40992 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40993 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40996 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
40997 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40998 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
41001 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
41002 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
41003 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
41006 COND_MONOLITHIC_0_SHARED_1
="#"
41007 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
41008 COND_MONOLITHIC_0_SHARED_1
=""
41011 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
41012 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
41013 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
41016 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
41017 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41018 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
41021 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
41022 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
41023 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
41026 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
41027 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
41028 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
41031 COND_MONOLITHIC_0_USE_ODBC_1
="#"
41032 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
41033 COND_MONOLITHIC_0_USE_ODBC_1
=""
41036 COND_MONOLITHIC_1
="#"
41037 if test "x$MONOLITHIC" = "x1" ; then
41038 COND_MONOLITHIC_1
=""
41041 COND_MONOLITHIC_1_SHARED_0
="#"
41042 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
41043 COND_MONOLITHIC_1_SHARED_0
=""
41046 COND_MONOLITHIC_1_SHARED_1
="#"
41047 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
41048 COND_MONOLITHIC_1_SHARED_1
=""
41051 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
41052 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
41053 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
41056 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
41057 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
41058 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
41061 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
41062 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
41063 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
41066 COND_PLATFORM_MACOSX_1
="#"
41067 if test "x$PLATFORM_MACOSX" = "x1" ; then
41068 COND_PLATFORM_MACOSX_1
=""
41071 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
41072 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
41073 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
41076 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
41077 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
41078 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
41081 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
41082 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
41083 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
41086 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
41087 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
41088 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
41091 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
41092 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41093 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
41096 COND_PLATFORM_MAC_1
="#"
41097 if test "x$PLATFORM_MAC" = "x1" ; then
41098 COND_PLATFORM_MAC_1
=""
41101 COND_PLATFORM_OS2_1
="#"
41102 if test "x$PLATFORM_OS2" = "x1" ; then
41103 COND_PLATFORM_OS2_1
=""
41106 COND_PLATFORM_UNIX_0
="#"
41107 if test "x$PLATFORM_UNIX" = "x0" ; then
41108 COND_PLATFORM_UNIX_0
=""
41111 COND_PLATFORM_UNIX_1
="#"
41112 if test "x$PLATFORM_UNIX" = "x1" ; then
41113 COND_PLATFORM_UNIX_1
=""
41116 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
41117 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
41118 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
41121 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
41122 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
41123 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
41126 COND_PLATFORM_WIN32_0
="#"
41127 if test "x$PLATFORM_WIN32" = "x0" ; then
41128 COND_PLATFORM_WIN32_0
=""
41131 COND_PLATFORM_WIN32_1
="#"
41132 if test "x$PLATFORM_WIN32" = "x1" ; then
41133 COND_PLATFORM_WIN32_1
=""
41137 if test "x$SHARED" = "x0" ; then
41141 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
41142 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41143 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
41146 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41147 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41148 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41151 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41152 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41153 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41156 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41157 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41158 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41161 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
41162 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41163 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
41166 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
41167 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41168 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
41171 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
41172 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41173 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
41176 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
41177 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41178 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
41182 if test "x$SHARED" = "x1" ; then
41186 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
41187 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41188 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
41191 COND_TOOLKIT_COCOA
="#"
41192 if test "x$TOOLKIT" = "xCOCOA" ; then
41193 COND_TOOLKIT_COCOA
=""
41196 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
41197 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41198 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
41201 COND_TOOLKIT_GTK
="#"
41202 if test "x$TOOLKIT" = "xGTK" ; then
41203 COND_TOOLKIT_GTK
=""
41206 COND_TOOLKIT_GTK_USE_GUI_1
="#"
41207 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41208 COND_TOOLKIT_GTK_USE_GUI_1
=""
41211 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
41212 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41213 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
41216 COND_TOOLKIT_MAC
="#"
41217 if test "x$TOOLKIT" = "xMAC" ; then
41218 COND_TOOLKIT_MAC
=""
41221 COND_TOOLKIT_MAC_USE_GUI_1
="#"
41222 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41223 COND_TOOLKIT_MAC_USE_GUI_1
=""
41226 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
41227 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41228 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
41231 COND_TOOLKIT_MAC_WXUNIV_0
="#"
41232 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
41233 COND_TOOLKIT_MAC_WXUNIV_0
=""
41236 COND_TOOLKIT_MGL
="#"
41237 if test "x$TOOLKIT" = "xMGL" ; then
41238 COND_TOOLKIT_MGL
=""
41241 COND_TOOLKIT_MGL_USE_GUI_1
="#"
41242 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41243 COND_TOOLKIT_MGL_USE_GUI_1
=""
41246 COND_TOOLKIT_MOTIF
="#"
41247 if test "x$TOOLKIT" = "xMOTIF" ; then
41248 COND_TOOLKIT_MOTIF
=""
41251 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
41252 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41253 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
41256 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
41257 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41258 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
41261 COND_TOOLKIT_MSW
="#"
41262 if test "x$TOOLKIT" = "xMSW" ; then
41263 COND_TOOLKIT_MSW
=""
41266 COND_TOOLKIT_MSW_USE_GUI_1
="#"
41267 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41268 COND_TOOLKIT_MSW_USE_GUI_1
=""
41271 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
41272 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41273 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
41276 COND_TOOLKIT_MSW_WXUNIV_0
="#"
41277 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41278 COND_TOOLKIT_MSW_WXUNIV_0
=""
41281 COND_TOOLKIT_PM
="#"
41282 if test "x$TOOLKIT" = "xPM" ; then
41286 COND_TOOLKIT_PM_USE_GUI_1
="#"
41287 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41288 COND_TOOLKIT_PM_USE_GUI_1
=""
41291 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
41292 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41293 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
41296 COND_TOOLKIT_PM_WXUNIV_0
="#"
41297 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41298 COND_TOOLKIT_PM_WXUNIV_0
=""
41301 COND_TOOLKIT_WINCE
="#"
41302 if test "x$TOOLKIT" = "xWINCE" ; then
41303 COND_TOOLKIT_WINCE
=""
41306 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
41307 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41308 COND_TOOLKIT_WINCE_USE_GUI_1
=""
41311 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
41312 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41313 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
41316 COND_TOOLKIT_X11
="#"
41317 if test "x$TOOLKIT" = "xX11" ; then
41318 COND_TOOLKIT_X11
=""
41321 COND_TOOLKIT_X11_USE_GUI_1
="#"
41322 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41323 COND_TOOLKIT_X11_USE_GUI_1
=""
41327 if test "x$UNICODE" = "x1" ; then
41331 COND_USE_EXCEPTIONS_0
="#"
41332 if test "x$USE_EXCEPTIONS" = "x0" ; then
41333 COND_USE_EXCEPTIONS_0
=""
41336 COND_USE_EXCEPTIONS_1
="#"
41337 if test "x$USE_EXCEPTIONS" = "x1" ; then
41338 COND_USE_EXCEPTIONS_1
=""
41342 if test "x$USE_GUI" = "x0" ; then
41347 if test "x$USE_GUI" = "x1" ; then
41351 COND_USE_GUI_1_WXUNIV_0
="#"
41352 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41353 COND_USE_GUI_1_WXUNIV_0
=""
41356 COND_USE_GUI_1_WXUNIV_1
="#"
41357 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41358 COND_USE_GUI_1_WXUNIV_1
=""
41361 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41362 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41363 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41366 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41367 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41368 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41371 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41372 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41373 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41376 COND_USE_ODBC_1
="#"
41377 if test "x$USE_ODBC" = "x1" ; then
41381 COND_USE_PLUGINS_0
="#"
41382 if test "x$USE_PLUGINS" = "x0" ; then
41383 COND_USE_PLUGINS_0
=""
41386 COND_USE_SOSYMLINKS_1
="#"
41387 if test "x$USE_SOSYMLINKS" = "x1" ; then
41388 COND_USE_SOSYMLINKS_1
=""
41391 COND_USE_SOVERLINUX_1
="#"
41392 if test "x$USE_SOVERLINUX" = "x1" ; then
41393 COND_USE_SOVERLINUX_1
=""
41396 COND_USE_SOVERSION_0
="#"
41397 if test "x$USE_SOVERSION" = "x0" ; then
41398 COND_USE_SOVERSION_0
=""
41401 COND_USE_SOVERSOLARIS_1
="#"
41402 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41403 COND_USE_SOVERSOLARIS_1
=""
41406 COND_WITH_PLUGIN_SDL_1
="#"
41407 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41408 COND_WITH_PLUGIN_SDL_1
=""
41411 COND_WITH_SDL_1
="#"
41412 if test "x$WITH_SDL" = "x1" ; then
41417 if test "x$WXUNIV" = "x1" ; then
41421 COND_WXUSE_EXPAT_BUILTIN
="#"
41422 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41423 COND_WXUSE_EXPAT_BUILTIN
=""
41426 COND_WXUSE_LIBJPEG_BUILTIN
="#"
41427 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41428 COND_WXUSE_LIBJPEG_BUILTIN
=""
41431 COND_WXUSE_LIBPNG_BUILTIN
="#"
41432 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41433 COND_WXUSE_LIBPNG_BUILTIN
=""
41436 COND_WXUSE_LIBTIFF_BUILTIN
="#"
41437 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41438 COND_WXUSE_LIBTIFF_BUILTIN
=""
41441 COND_WXUSE_ODBC_BUILTIN
="#"
41442 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41443 COND_WXUSE_ODBC_BUILTIN
=""
41446 COND_WXUSE_REGEX_BUILTIN
="#"
41447 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41448 COND_WXUSE_REGEX_BUILTIN
=""
41451 COND_WXUSE_ZLIB_BUILTIN
="#"
41452 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41453 COND_WXUSE_ZLIB_BUILTIN
=""
41456 COND_BUILD_DEBUG
="#"
41457 if test "x$BUILD" = "xdebug" ; then
41458 COND_BUILD_DEBUG
=""
41461 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
41462 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
41463 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
41466 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
41467 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
41468 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
41471 COND_BUILD_DEBUG_UNICODE_0
="#"
41472 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
41473 COND_BUILD_DEBUG_UNICODE_0
=""
41476 COND_BUILD_DEBUG_UNICODE_1
="#"
41477 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
41478 COND_BUILD_DEBUG_UNICODE_1
=""
41481 COND_BUILD_RELEASE
="#"
41482 if test "x$BUILD" = "xrelease" ; then
41483 COND_BUILD_RELEASE
=""
41486 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
41487 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
41488 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
41491 COND_BUILD_RELEASE_UNICODE_0
="#"
41492 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
41493 COND_BUILD_RELEASE_UNICODE_0
=""
41496 COND_BUILD_RELEASE_UNICODE_1
="#"
41497 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
41498 COND_BUILD_RELEASE_UNICODE_1
=""
41501 COND_DEBUG_FLAG_1
="#"
41502 if test "x$DEBUG_FLAG" = "x1" ; then
41503 COND_DEBUG_FLAG_1
=""
41506 COND_DEBUG_INFO_0
="#"
41507 if test "x$DEBUG_INFO" = "x0" ; then
41508 COND_DEBUG_INFO_0
=""
41511 COND_DEBUG_INFO_1
="#"
41512 if test "x$DEBUG_INFO" = "x1" ; then
41513 COND_DEBUG_INFO_1
=""
41516 COND_DEPS_TRACKING_0
="#"
41517 if test "x$DEPS_TRACKING" = "x0" ; then
41518 COND_DEPS_TRACKING_0
=""
41521 COND_DEPS_TRACKING_1
="#"
41522 if test "x$DEPS_TRACKING" = "x1" ; then
41523 COND_DEPS_TRACKING_1
=""
41527 if test "x$GCC_PCH" = "x1" ; then
41531 COND_MONOLITHIC_0
="#"
41532 if test "x$MONOLITHIC" = "x0" ; then
41533 COND_MONOLITHIC_0
=""
41536 COND_MONOLITHIC_0_SHARED_0
="#"
41537 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
41538 COND_MONOLITHIC_0_SHARED_0
=""
41541 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
41542 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
41543 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
41546 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
41547 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41548 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
41551 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
41552 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
41553 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
41556 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
41557 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
41558 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
41561 COND_MONOLITHIC_0_SHARED_1
="#"
41562 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
41563 COND_MONOLITHIC_0_SHARED_1
=""
41566 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
41567 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
41568 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
41571 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
41572 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41573 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
41576 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
41577 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
41578 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
41581 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
41582 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
41583 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
41586 COND_MONOLITHIC_0_USE_ODBC_1
="#"
41587 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
41588 COND_MONOLITHIC_0_USE_ODBC_1
=""
41591 COND_MONOLITHIC_1
="#"
41592 if test "x$MONOLITHIC" = "x1" ; then
41593 COND_MONOLITHIC_1
=""
41596 COND_MONOLITHIC_1_SHARED_0
="#"
41597 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
41598 COND_MONOLITHIC_1_SHARED_0
=""
41601 COND_MONOLITHIC_1_SHARED_1
="#"
41602 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
41603 COND_MONOLITHIC_1_SHARED_1
=""
41606 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
41607 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
41608 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
41611 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
41612 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
41613 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
41616 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
41617 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
41618 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
41621 COND_PLATFORM_MACOSX_1
="#"
41622 if test "x$PLATFORM_MACOSX" = "x1" ; then
41623 COND_PLATFORM_MACOSX_1
=""
41626 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
41627 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
41628 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
41631 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
41632 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
41633 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
41636 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
41637 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
41638 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
41641 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
41642 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
41643 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
41646 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
41647 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41648 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
41651 COND_PLATFORM_MAC_1
="#"
41652 if test "x$PLATFORM_MAC" = "x1" ; then
41653 COND_PLATFORM_MAC_1
=""
41656 COND_PLATFORM_OS2_1
="#"
41657 if test "x$PLATFORM_OS2" = "x1" ; then
41658 COND_PLATFORM_OS2_1
=""
41661 COND_PLATFORM_UNIX_0
="#"
41662 if test "x$PLATFORM_UNIX" = "x0" ; then
41663 COND_PLATFORM_UNIX_0
=""
41666 COND_PLATFORM_UNIX_1
="#"
41667 if test "x$PLATFORM_UNIX" = "x1" ; then
41668 COND_PLATFORM_UNIX_1
=""
41671 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
41672 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
41673 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
41676 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
41677 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
41678 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
41681 COND_PLATFORM_WIN32_0
="#"
41682 if test "x$PLATFORM_WIN32" = "x0" ; then
41683 COND_PLATFORM_WIN32_0
=""
41686 COND_PLATFORM_WIN32_1
="#"
41687 if test "x$PLATFORM_WIN32" = "x1" ; then
41688 COND_PLATFORM_WIN32_1
=""
41692 if test "x$SHARED" = "x0" ; then
41696 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
41697 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41698 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
41701 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41702 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41703 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41706 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41707 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41708 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41711 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41712 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41713 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41716 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
41717 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41718 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
41721 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
41722 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41723 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
41726 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
41727 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41728 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
41731 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
41732 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41733 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
41737 if test "x$SHARED" = "x1" ; then
41741 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
41742 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41743 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
41746 COND_TOOLKIT_COCOA
="#"
41747 if test "x$TOOLKIT" = "xCOCOA" ; then
41748 COND_TOOLKIT_COCOA
=""
41751 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
41752 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41753 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
41756 COND_TOOLKIT_GTK
="#"
41757 if test "x$TOOLKIT" = "xGTK" ; then
41758 COND_TOOLKIT_GTK
=""
41761 COND_TOOLKIT_GTK_USE_GUI_1
="#"
41762 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41763 COND_TOOLKIT_GTK_USE_GUI_1
=""
41766 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
41767 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41768 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
41771 COND_TOOLKIT_MAC
="#"
41772 if test "x$TOOLKIT" = "xMAC" ; then
41773 COND_TOOLKIT_MAC
=""
41776 COND_TOOLKIT_MAC_USE_GUI_1
="#"
41777 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41778 COND_TOOLKIT_MAC_USE_GUI_1
=""
41781 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
41782 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41783 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
41786 COND_TOOLKIT_MGL
="#"
41787 if test "x$TOOLKIT" = "xMGL" ; then
41788 COND_TOOLKIT_MGL
=""
41791 COND_TOOLKIT_MGL_USE_GUI_1
="#"
41792 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41793 COND_TOOLKIT_MGL_USE_GUI_1
=""
41796 COND_TOOLKIT_MOTIF
="#"
41797 if test "x$TOOLKIT" = "xMOTIF" ; then
41798 COND_TOOLKIT_MOTIF
=""
41801 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
41802 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41803 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
41806 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
41807 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41808 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
41811 COND_TOOLKIT_MSW
="#"
41812 if test "x$TOOLKIT" = "xMSW" ; then
41813 COND_TOOLKIT_MSW
=""
41816 COND_TOOLKIT_MSW_USE_GUI_1
="#"
41817 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41818 COND_TOOLKIT_MSW_USE_GUI_1
=""
41821 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
41822 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41823 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
41826 COND_TOOLKIT_PM
="#"
41827 if test "x$TOOLKIT" = "xPM" ; then
41831 COND_TOOLKIT_PM_USE_GUI_1
="#"
41832 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41833 COND_TOOLKIT_PM_USE_GUI_1
=""
41836 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
41837 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41838 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
41841 COND_TOOLKIT_WINCE
="#"
41842 if test "x$TOOLKIT" = "xWINCE" ; then
41843 COND_TOOLKIT_WINCE
=""
41846 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
41847 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41848 COND_TOOLKIT_WINCE_USE_GUI_1
=""
41851 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
41852 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41853 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
41856 COND_TOOLKIT_X11
="#"
41857 if test "x$TOOLKIT" = "xX11" ; then
41858 COND_TOOLKIT_X11
=""
41861 COND_TOOLKIT_X11_USE_GUI_1
="#"
41862 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41863 COND_TOOLKIT_X11_USE_GUI_1
=""
41867 if test "x$UNICODE" = "x1" ; then
41871 COND_USE_EXCEPTIONS_0
="#"
41872 if test "x$USE_EXCEPTIONS" = "x0" ; then
41873 COND_USE_EXCEPTIONS_0
=""
41876 COND_USE_EXCEPTIONS_1
="#"
41877 if test "x$USE_EXCEPTIONS" = "x1" ; then
41878 COND_USE_EXCEPTIONS_1
=""
41882 if test "x$USE_GUI" = "x0" ; then
41887 if test "x$USE_GUI" = "x1" ; then
41891 COND_USE_GUI_1_WXUNIV_0
="#"
41892 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41893 COND_USE_GUI_1_WXUNIV_0
=""
41896 COND_USE_GUI_1_WXUNIV_1
="#"
41897 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41898 COND_USE_GUI_1_WXUNIV_1
=""
41901 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41902 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41903 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41906 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41907 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41908 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41911 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41912 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41913 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41916 COND_USE_ODBC_1
="#"
41917 if test "x$USE_ODBC" = "x1" ; then
41921 COND_USE_PLUGINS_0
="#"
41922 if test "x$USE_PLUGINS" = "x0" ; then
41923 COND_USE_PLUGINS_0
=""
41926 COND_USE_SOSYMLINKS_1
="#"
41927 if test "x$USE_SOSYMLINKS" = "x1" ; then
41928 COND_USE_SOSYMLINKS_1
=""
41931 COND_USE_SOVERLINUX_1
="#"
41932 if test "x$USE_SOVERLINUX" = "x1" ; then
41933 COND_USE_SOVERLINUX_1
=""
41936 COND_USE_SOVERSION_0
="#"
41937 if test "x$USE_SOVERSION" = "x0" ; then
41938 COND_USE_SOVERSION_0
=""
41941 COND_USE_SOVERSOLARIS_1
="#"
41942 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41943 COND_USE_SOVERSOLARIS_1
=""
41946 COND_WITH_PLUGIN_SDL_1
="#"
41947 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41948 COND_WITH_PLUGIN_SDL_1
=""
41952 if test "x$WXUNIV" = "x1" ; then
41956 COND_WXUSE_EXPAT_BUILTIN
="#"
41957 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41958 COND_WXUSE_EXPAT_BUILTIN
=""
41961 COND_WXUSE_LIBJPEG_BUILTIN
="#"
41962 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41963 COND_WXUSE_LIBJPEG_BUILTIN
=""
41966 COND_WXUSE_LIBPNG_BUILTIN
="#"
41967 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41968 COND_WXUSE_LIBPNG_BUILTIN
=""
41971 COND_WXUSE_LIBTIFF_BUILTIN
="#"
41972 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41973 COND_WXUSE_LIBTIFF_BUILTIN
=""
41976 COND_WXUSE_ODBC_BUILTIN
="#"
41977 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41978 COND_WXUSE_ODBC_BUILTIN
=""
41981 COND_WXUSE_REGEX_BUILTIN
="#"
41982 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41983 COND_WXUSE_REGEX_BUILTIN
=""
41986 COND_WXUSE_ZLIB_BUILTIN
="#"
41987 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41988 COND_WXUSE_ZLIB_BUILTIN
=""
41995 if test $GCC_PCH = 1 ; then
41996 CODE_GEN_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
41997 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
42000 powerpc
-*-darwin* )
42001 CODE_GEN_FLAGS
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
42002 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
42005 if test "$wxUSE_STL" = "yes" -o \
42006 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
42007 "$wxUSE_NO_RTTI" != "yes"; then
42008 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
42009 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
42010 cat >conftest.
$ac_ext <<_ACEOF
42013 cat confdefs.h
>>conftest.
$ac_ext
42014 cat >>conftest.
$ac_ext <<_ACEOF
42015 /* end confdefs.h. */
42020 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
42021 #error "Not GCC 3.2 or greater"
42028 rm -f conftest.
$ac_objext
42029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42030 (eval $ac_compile) 2>conftest.er1
42032 grep -v '^ *+' conftest.er1
>conftest.err
42034 cat conftest.err
>&5
42035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42036 (exit $ac_status); } &&
42037 { ac_try
='test -z "$ac_c_werror_flag"
42038 || test ! -s conftest.err'
42039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42040 (eval $ac_try) 2>&5
42042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42043 (exit $ac_status); }; } &&
42044 { ac_try
='test -s conftest.$ac_objext'
42045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42046 (eval $ac_try) 2>&5
42048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42049 (exit $ac_status); }; }; then
42050 CODE_GEN_FLAGS
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
42051 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
42052 echo "$as_me:$LINENO: result: yes" >&5
42053 echo "${ECHO_T}yes" >&6
42055 echo "$as_me: failed program was:" >&5
42056 sed 's/^/| /' conftest.
$ac_ext >&5
42058 echo "$as_me:$LINENO: result: no" >&5
42059 echo "${ECHO_T}no" >&6
42061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42068 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
42169 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
42170 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
42171 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
42172 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
42173 echo $ECHO_N "(cached) $ECHO_C" >&6
42175 cat >conftest.
make <<\_ACEOF
42177 @
echo 'ac_maketemp="$(MAKE)"'
42179 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
42180 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
42181 if test -n "$ac_maketemp"; then
42182 eval ac_cv_prog_make_
${ac_make}_set
=yes
42184 eval ac_cv_prog_make_
${ac_make}_set
=no
42186 rm -f conftest.
make
42188 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
42189 echo "$as_me:$LINENO: result: yes" >&5
42190 echo "${ECHO_T}yes" >&6
42193 echo "$as_me:$LINENO: result: no" >&5
42194 echo "${ECHO_T}no" >&6
42195 SET_MAKE
="MAKE=${MAKE-make}"
42199 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
42200 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
42203 ac_config_headers
="$ac_config_headers setup.h"
42206 ac_config_files
="$ac_config_files wx-config version-script Makefile"
42209 ac_config_commands
="$ac_config_commands default"
42213 if test "$wxUSE_GUI" = "yes"; then
42214 SUBDIRS
="samples demos utils contrib"
42215 else SUBDIRS
="samples utils"
42220 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
42221 if test "${with_cppunit_prefix+set}" = set; then
42222 withval
="$with_cppunit_prefix"
42223 cppunit_config_prefix
="$withval"
42225 cppunit_config_prefix
=""
42228 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
42229 if test "${with_cppunit_exec_prefix+set}" = set; then
42230 withval
="$with_cppunit_exec_prefix"
42231 cppunit_config_exec_prefix
="$withval"
42233 cppunit_config_exec_prefix
=""
42236 if test x
$cppunit_config_exec_prefix != x
; then
42237 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
42238 if test x
${CPPUNIT_CONFIG+set} != xset
; then
42239 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
42242 if test x
$cppunit_config_prefix != x
; then
42243 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
42244 if test x
${CPPUNIT_CONFIG+set} != xset
; then
42245 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
42249 # Extract the first word of "cppunit-config", so it can be a program name with args.
42250 set dummy cppunit
-config; ac_word
=$2
42251 echo "$as_me:$LINENO: checking for $ac_word" >&5
42252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42253 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
42254 echo $ECHO_N "(cached) $ECHO_C" >&6
42256 case $CPPUNIT_CONFIG in
42258 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
42261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42262 for as_dir
in $PATH
42265 test -z "$as_dir" && as_dir
=.
42266 for ac_exec_ext
in '' $ac_executable_extensions; do
42267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42268 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42275 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
42279 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
42281 if test -n "$CPPUNIT_CONFIG"; then
42282 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
42283 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
42285 echo "$as_me:$LINENO: result: no" >&5
42286 echo "${ECHO_T}no" >&6
42289 cppunit_version_min
=1.8.0
42291 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
42292 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
42294 if test "$CPPUNIT_CONFIG" = "no" ; then
42296 echo "$as_me:$LINENO: result: no" >&5
42297 echo "${ECHO_T}no" >&6
42299 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
42300 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
42301 cppunit_version
=`$CPPUNIT_CONFIG --version`
42303 cppunit_major_version
=`echo $cppunit_version | \
42304 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42305 cppunit_minor_version
=`echo $cppunit_version | \
42306 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42307 cppunit_micro_version
=`echo $cppunit_version | \
42308 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42310 cppunit_major_min
=`echo $cppunit_version_min | \
42311 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42312 cppunit_minor_min
=`echo $cppunit_version_min | \
42313 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42314 cppunit_micro_min
=`echo $cppunit_version_min | \
42315 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42317 cppunit_version_proper
=`expr \
42318 $cppunit_major_version \> $cppunit_major_min \| \
42319 $cppunit_major_version \= $cppunit_major_min \& \
42320 $cppunit_minor_version \> $cppunit_minor_min \| \
42321 $cppunit_major_version \= $cppunit_major_min \& \
42322 $cppunit_minor_version \= $cppunit_minor_min \& \
42323 $cppunit_micro_version \>= $cppunit_micro_min `
42325 if test "$cppunit_version_proper" = "1" ; then
42326 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
42327 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
42329 echo "$as_me:$LINENO: result: no" >&5
42330 echo "${ECHO_T}no" >&6
42335 if test "x$no_cppunit" = x
; then
42336 SUBDIRS
="$SUBDIRS tests"
42347 for subdir
in `echo $SUBDIRS`; do
42348 if test -d ${srcdir}/${subdir} ; then
42349 if test "$wxUSE_GUI" = "yes"; then
42350 if test ${subdir} = "samples"; then
42351 makefiles
="samples/Makefile.in $makefiles"
42352 for sample
in `echo $SAMPLES_SUBDIRS`; do
42353 if test -d $srcdir/samples
/$sample; then
42354 makefiles
="samples/$sample/Makefile.in $makefiles"
42357 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
42359 else if test ${subdir} = "samples"; then
42360 makefiles
="samples/Makefile.in samples/console/Makefile.in"
42361 elif test ${subdir} = "utils"; then
42362 makefiles
="utils/HelpGen/Makefile.in \
42363 utils/HelpGen/src/Makefile.in \
42364 utils/tex2rtf/Makefile.in \
42365 utils/tex2rtf/src/Makefile.in"
42366 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
42370 for mkin
in $makefiles ; do
42371 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
42372 ac_config_files
="$ac_config_files $mk"
42379 cat >confcache
<<\_ACEOF
42380 # This file is a shell script that caches the results of configure
42381 # tests run on this system so they can be shared between configure
42382 # scripts and configure runs, see configure's option --config-cache.
42383 # It is not useful on other systems. If it contains results you don't
42384 # want to keep, you may remove or edit it.
42386 # config.status only pays attention to the cache file if you give it
42387 # the --recheck option to rerun configure.
42389 # `ac_cv_env_foo' variables (set or unset) will be overridden when
42390 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42391 # following values.
42395 # The following way of writing the cache mishandles newlines in values,
42396 # but we know of no workaround that is simple, portable, and efficient.
42397 # So, don't put newlines in cache variables' values.
42398 # Ultrix sh set writes to stderr and can't be redirected directly,
42399 # and sets the high bit in the cache file unless we assign to the vars.
42402 case `(ac_space=' '; set | grep ac_space) 2>&1` in
42404 # `set' does not quote correctly, so add quotes (double-quote
42405 # substitution turns \\\\ into \\, and sed turns \\ into \).
42408 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42411 # `set' quotes correctly as required by POSIX, so do not add quotes.
42413 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
42420 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42422 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42424 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
42425 if test -w $cache_file; then
42426 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
42427 cat confcache
>$cache_file
42429 echo "not updating unwritable cache $cache_file"
42434 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
42435 # Let make expand exec_prefix.
42436 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
42438 # VPATH may cause trouble with some makes, so we remove $(srcdir),
42439 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
42440 # trailing colons and then remove the whole line if VPATH becomes empty
42441 # (actually we leave an empty line to preserve line numbers).
42442 if test "x$srcdir" = x.
; then
42443 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
42444 s/:*\$(srcdir):*/:/;
42445 s/:*\${srcdir}:*/:/;
42447 s/^\([^=]*=[ ]*\):*/\1/;
42453 DEFS
=-DHAVE_CONFIG_H
42457 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
42458 # 1. Remove the extension, and $U if already installed.
42459 ac_i
=`echo "$ac_i" |
42460 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
42462 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
42463 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
42465 LIBOBJS
=$ac_libobjs
42467 LTLIBOBJS
=$ac_ltlibobjs
42471 : ${CONFIG_STATUS=./config.status}
42472 ac_clean_files_save
=$ac_clean_files
42473 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
42474 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
42475 echo "$as_me: creating $CONFIG_STATUS" >&6;}
42476 cat >$CONFIG_STATUS <<_ACEOF
42478 # Generated by $as_me.
42479 # Run this file to recreate the current configuration.
42480 # Compiler output produced by configure, useful for debugging
42481 # configure, is in config.log if it exists.
42484 ac_cs_recheck=false
42486 SHELL=\${CONFIG_SHELL-$SHELL}
42489 cat >>$CONFIG_STATUS <<\_ACEOF
42490 ## --------------------- ##
42491 ## M4sh Initialization. ##
42492 ## --------------------- ##
42494 # Be Bourne compatible
42495 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
42498 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
42499 # is contrary to our usage. Disable this feature.
42500 alias -g '${1+"$@"}'='"$@"'
42501 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
42504 DUALCASE
=1; export DUALCASE
# for MKS sh
42506 # Support unset when possible.
42507 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
42514 # Work around bugs in pre-3.0 UWIN ksh.
42515 $as_unset ENV MAIL MAILPATH
42522 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42523 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42524 LC_TELEPHONE LC_TIME
42526 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
42527 eval $as_var=C
; export $as_var
42533 # Required to use basename.
42534 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42540 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
42541 as_basename
=basename
42547 # Name of the executable.
42548 as_me
=`$as_basename "$0" ||
42549 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42550 X"$0" : 'X\(//\)$' \| \
42551 X"$0" : 'X\(/\)$' \| \
42552 . : '\(.\)' 2>/dev/null ||
42554 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
42555 /^X\/\(\/\/\)$/{ s//\1/; q; }
42556 /^X\/\(\/\).*/{ s//\1/; q; }
42560 # PATH needs CR, and LINENO needs CR and PATH.
42561 # Avoid depending upon Character Ranges.
42562 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
42563 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42564 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
42565 as_cr_digits
='0123456789'
42566 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42568 # The user is always right.
42569 if test "${PATH_SEPARATOR+set}" != set; then
42570 echo "#! /bin/sh" >conf$$.sh
42571 echo "exit 0" >>conf$$.sh
42573 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
42582 as_lineno_1
=$LINENO
42583 as_lineno_2
=$LINENO
42584 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
42585 test "x$as_lineno_1" != "x$as_lineno_2" &&
42586 test "x$as_lineno_3" = "x$as_lineno_2" || {
42587 # Find who we are. Look in the path if we contain no path at all
42590 *[\\/]* ) as_myself
=$0 ;;
42591 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42592 for as_dir
in $PATH
42595 test -z "$as_dir" && as_dir
=.
42596 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
42601 # We did not find ourselves, most probably we were run as `sh COMMAND'
42602 # in which case we are not to be found in the path.
42603 if test "x$as_myself" = x
; then
42606 if test ! -f "$as_myself"; then
42607 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
42608 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
42609 { (exit 1); exit 1; }; }
42611 case $CONFIG_SHELL in
42613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42614 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
42617 test -z "$as_dir" && as_dir
=.
42618 for as_base
in sh bash ksh sh5
; do
42621 if ("$as_dir/$as_base" -c '
42622 as_lineno_1=$LINENO
42623 as_lineno_2=$LINENO
42624 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42625 test "x$as_lineno_1" != "x$as_lineno_2" &&
42626 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
42627 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
42628 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
42629 CONFIG_SHELL
=$as_dir/$as_base
42630 export CONFIG_SHELL
42631 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
42639 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
42640 # uniformly replaced by the line number. The first 'sed' inserts a
42641 # line-number line before each line; the second 'sed' does the real
42642 # work. The second script uses 'N' to pair each line-number line
42643 # with the numbered line, and appends trailing '-' during
42644 # substitution so that $LINENO is not a special case at line end.
42645 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
42646 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
42647 sed '=' <$as_myself |
42652 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
42655 s,^['$as_cr_digits']*\n,,
42656 ' >$as_me.lineno
&&
42657 chmod +x
$as_me.lineno
||
42658 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
42659 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
42660 { (exit 1); exit 1; }; }
42662 # Don't try to exec as it changes $[0], causing all sort of problems
42663 # (the dirname of $[0] is not the place where we might find the
42664 # original and so on. Autoconf is especially sensible to this).
42666 # Exit status is that of the last command.
42671 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
42672 *c
*,-n*) ECHO_N
= ECHO_C
='
42674 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
42675 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
42678 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42684 rm -f conf$$ conf$$.exe conf$$.
file
42686 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
42687 # We could just check for DJGPP; but this test a) works b) is more generic
42688 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
42689 if test -f conf$$.exe
; then
42690 # Don't use ln at all; we don't have any links
42695 elif ln conf$$.
file conf$$
2>/dev
/null
; then
42700 rm -f conf$$ conf$$.exe conf$$.
file
42702 if mkdir -p .
2>/dev
/null
; then
42705 test -d .
/-p && rmdir .
/-p
42709 as_executable_p
="test -f"
42711 # Sed expression to map a string onto a valid CPP name.
42712 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42714 # Sed expression to map a string onto a valid variable name.
42715 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42719 # We need space, tab and new line, in precisely that order.
42729 # Open the log real soon, to keep \$[0] and so on meaningful, and to
42730 # report actual input values of CONFIG_FILES etc. instead of their
42731 # values after options handling. Logging --version etc. is OK.
42735 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42736 ## Running $as_me. ##
42741 This file was extended by wxWidgets $as_me 2.5.2, which was
42742 generated by GNU Autoconf 2.59. Invocation command line was
42744 CONFIG_FILES = $CONFIG_FILES
42745 CONFIG_HEADERS = $CONFIG_HEADERS
42746 CONFIG_LINKS = $CONFIG_LINKS
42747 CONFIG_COMMANDS = $CONFIG_COMMANDS
42751 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42755 # Files that config.status was made for.
42756 if test -n "$ac_config_files"; then
42757 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
42760 if test -n "$ac_config_headers"; then
42761 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
42764 if test -n "$ac_config_links"; then
42765 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
42768 if test -n "$ac_config_commands"; then
42769 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
42772 cat >>$CONFIG_STATUS <<\_ACEOF
42775 \`$as_me' instantiates files from templates according to the
42776 current configuration.
42778 Usage: $0 [OPTIONS] [FILE]...
42780 -h, --help print this help, then exit
42781 -V, --version print version number, then exit
42782 -q, --quiet do not print progress messages
42783 -d, --debug don't remove temporary files
42784 --recheck update $as_me by reconfiguring in the same conditions
42785 --file=FILE[:TEMPLATE]
42786 instantiate the configuration file FILE
42787 --header=FILE[:TEMPLATE]
42788 instantiate the configuration header FILE
42790 Configuration files:
42793 Configuration headers:
42796 Configuration commands:
42799 Report bugs to <bug-autoconf@gnu.org>."
42802 cat >>$CONFIG_STATUS <<_ACEOF
42804 wxWidgets config.status 2.5.2
42805 configured by $0, generated by GNU Autoconf 2.59,
42806 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42808 Copyright (C) 2003 Free Software Foundation, Inc.
42809 This config.status script is free software; the Free Software Foundation
42810 gives unlimited permission to copy, distribute and modify it."
42815 cat >>$CONFIG_STATUS <<\_ACEOF
42816 # If no file are specified by the user, then we need to provide default
42817 # value. By we need to know if files were specified by the user.
42823 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
42824 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
42832 *) # This is not an option, so the user has probably given explicit
42835 ac_need_defaults
=false
;;
42839 # Handling of the options.
42841 cat >>$CONFIG_STATUS <<\_ACEOF
42842 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42844 --version | --vers* | -V )
42845 echo "$ac_cs_version"; exit 0 ;;
42847 # Conflict between --help and --header
42848 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42849 Try \`$0 --help' for more information." >&5
42850 echo "$as_me: error: ambiguous option: $1
42851 Try \`$0 --help' for more information." >&2;}
42852 { (exit 1); exit 1; }; };;
42853 --help | --hel | -h )
42854 echo "$ac_cs_usage"; exit 0 ;;
42855 --debug | --d* | -d )
42857 --file | --fil | --fi | --f )
42859 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
42860 ac_need_defaults
=false
;;
42861 --header | --heade | --head | --hea )
42863 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
42864 ac_need_defaults
=false
;;
42865 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42866 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42869 # This is an error.
42870 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42871 Try \`$0 --help' for more information." >&5
42872 echo "$as_me: error: unrecognized option: $1
42873 Try \`$0 --help' for more information." >&2;}
42874 { (exit 1); exit 1; }; } ;;
42876 *) ac_config_targets
="$ac_config_targets $1" ;;
42882 ac_configure_extra_args
=
42884 if $ac_cs_silent; then
42886 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42890 cat >>$CONFIG_STATUS <<_ACEOF
42891 if \$ac_cs_recheck; then
42892 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42893 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42898 cat >>$CONFIG_STATUS <<_ACEOF
42900 # INIT-COMMANDS section.
42904 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
42913 cat >>$CONFIG_STATUS <<\_ACEOF
42914 for ac_config_target
in $ac_config_targets
42916 case "$ac_config_target" in
42917 # Handling of arguments.
42918 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
42919 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42920 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42921 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42922 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
42923 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
42924 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42925 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42926 { (exit 1); exit 1; }; };;
42930 # If the user did not use the arguments to specify the items to instantiate,
42931 # then the envvar interface is used. Set only those that are not.
42932 # We use the long form for the default assignment because of an extremely
42933 # bizarre bug on SunOS 4.1.3.
42934 if $ac_need_defaults; then
42935 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42936 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42937 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42940 # Have a temporary directory for convenience. Make it in the build tree
42941 # simply because there is no reason to put it here, and in addition,
42942 # creating and moving files from /tmp can sometimes cause problems.
42943 # Create a temporary directory, and hook for its removal unless debugging.
42946 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42947 trap '{ (exit 1); exit 1; }' 1 2 13 15
42950 # Create a (secure) tmp directory for tmp files.
42953 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42954 test -n "$tmp" && test -d "$tmp"
42957 tmp
=.
/confstat$$
-$RANDOM
42958 (umask 077 && mkdir $tmp)
42961 echo "$me: cannot create a temporary directory in ." >&2
42962 { (exit 1); exit 1; }
42967 cat >>$CONFIG_STATUS <<_ACEOF
42970 # CONFIG_FILES section.
42973 # No need to generate the scripts if there are no CONFIG_FILES.
42974 # This happens for instance when ./config.status config.h
42975 if test -n "\$CONFIG_FILES"; then
42976 # Protect against being on the right side of a sed subst in config.status.
42977 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42978 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42979 s,@SHELL@,$SHELL,;t t
42980 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42981 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42982 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42983 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42984 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42985 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42986 s,@exec_prefix@,$exec_prefix,;t t
42987 s,@prefix@,$prefix,;t t
42988 s,@program_transform_name@,$program_transform_name,;t t
42989 s,@bindir@,$bindir,;t t
42990 s,@sbindir@,$sbindir,;t t
42991 s,@libexecdir@,$libexecdir,;t t
42992 s,@datadir@,$datadir,;t t
42993 s,@sysconfdir@,$sysconfdir,;t t
42994 s,@sharedstatedir@,$sharedstatedir,;t t
42995 s,@localstatedir@,$localstatedir,;t t
42996 s,@libdir@,$libdir,;t t
42997 s,@includedir@,$includedir,;t t
42998 s,@oldincludedir@,$oldincludedir,;t t
42999 s,@infodir@,$infodir,;t t
43000 s,@mandir@,$mandir,;t t
43001 s,@build_alias@,$build_alias,;t t
43002 s,@host_alias@,$host_alias,;t t
43003 s,@target_alias@,$target_alias,;t t
43004 s,@DEFS@,$DEFS,;t t
43005 s,@ECHO_C@,$ECHO_C,;t t
43006 s,@ECHO_N@,$ECHO_N,;t t
43007 s,@ECHO_T@,$ECHO_T,;t t
43008 s,@LIBS@,$LIBS,;t t
43009 s,@build@,$build,;t t
43010 s,@build_cpu@,$build_cpu,;t t
43011 s,@build_vendor@,$build_vendor,;t t
43012 s,@build_os@,$build_os,;t t
43013 s,@host@,$host,;t t
43014 s,@host_cpu@,$host_cpu,;t t
43015 s,@host_vendor@,$host_vendor,;t t
43016 s,@host_os@,$host_os,;t t
43017 s,@target@,$target,;t t
43018 s,@target_cpu@,$target_cpu,;t t
43019 s,@target_vendor@,$target_vendor,;t t
43020 s,@target_os@,$target_os,;t t
43022 s,@CFLAGS@,$CFLAGS,;t t
43023 s,@LDFLAGS@,$LDFLAGS,;t t
43024 s,@CPPFLAGS@,$CPPFLAGS,;t t
43025 s,@ac_ct_CC@,$ac_ct_CC,;t t
43026 s,@EXEEXT@,$EXEEXT,;t t
43027 s,@OBJEXT@,$OBJEXT,;t t
43029 s,@EGREP@,$EGREP,;t t
43031 s,@CXXFLAGS@,$CXXFLAGS,;t t
43032 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
43033 s,@RANLIB@,$RANLIB,;t t
43034 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
43036 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
43037 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
43038 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
43039 s,@STRIP@,$STRIP,;t t
43040 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
43041 s,@LN_S@,$LN_S,;t t
43042 s,@CXXCPP@,$CXXCPP,;t t
43043 s,@subdirs@,$subdirs,;t t
43044 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
43045 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
43046 s,@GTK_LIBS@,$GTK_LIBS,;t t
43047 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
43048 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
43049 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
43050 s,@X_CFLAGS@,$X_CFLAGS,;t t
43051 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
43052 s,@X_LIBS@,$X_LIBS,;t t
43053 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
43054 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
43055 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
43056 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
43057 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
43058 s,@RESCOMP@,$RESCOMP,;t t
43059 s,@DEREZ@,$DEREZ,;t t
43060 s,@SETFILE@,$SETFILE,;t t
43061 s,@LIBICONV@,$LIBICONV,;t t
43062 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
43063 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
43064 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
43065 s,@SDL_LIBS@,$SDL_LIBS,;t t
43066 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
43067 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
43068 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
43069 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
43070 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
43071 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
43072 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
43073 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
43074 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
43075 s,@VENDOR@,$VENDOR,;t t
43076 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
43077 s,@WXUNIV@,$WXUNIV,;t t
43078 s,@MONOLITHIC@,$MONOLITHIC,;t t
43079 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
43080 s,@EXTRALIBS@,$EXTRALIBS,;t t
43081 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
43082 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
43083 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
43084 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
43085 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
43086 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
43087 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
43088 s,@UNICODE@,$UNICODE,;t t
43089 s,@BUILD@,$BUILD,;t t
43090 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
43091 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
43092 s,@SHARED@,$SHARED,;t t
43093 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
43094 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
43095 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
43096 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
43097 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
43098 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
43099 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
43100 s,@SET_MAKE@,$SET_MAKE,;t t
43101 s,@MAKE_SET@,$MAKE_SET,;t t
43102 s,@ac_ct_AR@,$ac_ct_AR,;t t
43103 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
43105 s,@ac_ct_NM@,$ac_ct_NM,;t t
43106 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
43107 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
43108 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
43109 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
43110 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
43111 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
43112 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
43113 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
43114 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
43115 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
43116 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
43117 s,@LIBPREFIX@,$LIBPREFIX,;t t
43118 s,@LIBEXT@,$LIBEXT,;t t
43119 s,@DLLPREFIX@,$DLLPREFIX,;t t
43120 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
43121 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
43122 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
43123 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
43124 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
43125 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
43126 s,@PIC_FLAG@,$PIC_FLAG,;t t
43127 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
43128 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
43129 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
43130 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
43131 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
43132 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
43133 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
43134 s,@GCC_PCH@,$GCC_PCH,;t t
43135 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
43136 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
43137 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
43138 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
43139 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
43140 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
43141 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
43142 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
43143 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
43144 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
43145 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
43146 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
43147 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
43148 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
43149 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
43150 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
43151 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
43152 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
43153 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
43154 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
43155 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
43156 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
43157 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
43158 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
43159 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
43160 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
43161 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
43162 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
43163 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
43164 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
43165 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
43166 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
43167 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
43168 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
43169 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
43170 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
43171 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
43172 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
43173 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
43174 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
43175 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
43176 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
43177 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
43178 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
43179 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
43180 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
43181 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
43182 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
43183 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
43184 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
43185 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
43186 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
43187 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
43188 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
43189 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
43190 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
43191 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
43192 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
43193 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
43194 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
43195 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
43196 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
43197 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
43198 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
43199 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
43200 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
43201 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
43202 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
43203 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
43204 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
43205 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
43206 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
43207 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
43208 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
43209 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
43210 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
43211 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
43212 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
43213 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
43214 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
43215 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
43216 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
43217 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
43218 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
43219 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
43220 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
43221 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
43222 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
43223 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
43224 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
43225 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
43226 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
43227 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
43228 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
43229 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
43230 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
43231 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
43232 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
43233 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
43234 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
43235 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
43236 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
43237 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
43238 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
43239 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
43240 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
43241 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
43242 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
43243 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
43244 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
43245 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
43246 s,@PATH_IFS@,$PATH_IFS,;t t
43247 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
43248 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
43249 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
43250 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
43251 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
43252 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
43253 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
43254 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
43255 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
43256 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
43257 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
43258 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
43259 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
43260 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
43261 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
43262 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
43263 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
43264 s,@WX_ALL@,$WX_ALL,;t t
43265 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
43266 s,@SHARED_LD@,$SHARED_LD,;t t
43267 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
43268 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
43269 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
43270 s,@USE_GUI@,$USE_GUI,;t t
43271 s,@AFMINSTALL@,$AFMINSTALL,;t t
43272 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
43273 s,@TOOLKIT@,$TOOLKIT,;t t
43274 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
43275 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
43276 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
43277 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
43278 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
43279 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
43280 s,@cross_compiling@,$cross_compiling,;t t
43281 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
43282 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
43283 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
43284 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
43285 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
43286 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
43287 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
43288 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
43289 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
43290 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
43291 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
43292 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
43293 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
43294 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
43295 s,@GUIDIST@,$GUIDIST,;t t
43296 s,@PORT_FILES@,$PORT_FILES,;t t
43297 s,@DISTDIR@,$DISTDIR,;t t
43298 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
43299 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
43300 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
43301 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
43302 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
43303 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
43304 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
43305 s,@RESFLAGS@,$RESFLAGS,;t t
43306 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
43307 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
43308 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
43309 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
43310 s,@MACRESCOMP@,$MACRESCOMP,;t t
43311 s,@MACSETFILE@,$MACSETFILE,;t t
43312 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
43314 s,@GCC_SEARCHES_USR_LOCAL_INCLUDE@,$GCC_SEARCHES_USR_LOCAL_INCLUDE,;t t
43315 s,@DLLTOOL@,$DLLTOOL,;t t
43318 s,@MAKEINFO@,$MAKEINFO,;t t
43319 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
43320 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
43321 s,@LIBOBJS@,$LIBOBJS,;t t
43322 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
43327 cat >>$CONFIG_STATUS <<\_ACEOF
43328 # Split the substitutions into bite-sized pieces for seds with
43329 # small command number limits, like on Digital OSF/1 and HP-UX.
43330 ac_max_sed_lines
=48
43331 ac_sed_frag
=1 # Number of current file.
43332 ac_beg
=1 # First line for current file.
43333 ac_end
=$ac_max_sed_lines # Line after last line for current file.
43336 while $ac_more_lines; do
43337 if test $ac_beg -gt 1; then
43338 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
43340 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
43342 if test ! -s $tmp/subs.frag
; then
43343 ac_more_lines
=false
43345 # The purpose of the label and of the branching condition is to
43346 # speed up the sed processing (if there are no `@' at all, there
43347 # is no need to browse any of the substitutions).
43348 # These are the two extra sed commands mentioned above.
43350 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
43351 if test -z "$ac_sed_cmds"; then
43352 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
43354 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
43356 ac_sed_frag
=`expr $ac_sed_frag + 1`
43358 ac_end
=`expr $ac_end + $ac_max_sed_lines`
43361 if test -z "$ac_sed_cmds"; then
43364 fi # test -n "$CONFIG_FILES"
43367 cat >>$CONFIG_STATUS <<\_ACEOF
43368 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
43369 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43371 - | *:- | *:-:* ) # input from stdin
43373 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43374 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43375 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43376 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43377 * ) ac_file_in
=$ac_file.
in ;;
43380 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
43381 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
43382 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43383 X"$ac_file" : 'X\(//\)[^/]' \| \
43384 X"$ac_file" : 'X\(//\)$' \| \
43385 X"$ac_file" : 'X\(/\)' \| \
43386 . : '\(.\)' 2>/dev/null ||
43388 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43389 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43390 /^X\(\/\/\)$/{ s//\1/; q; }
43391 /^X\(\/\).*/{ s//\1/; q; }
43393 { if $as_mkdir_p; then
43398 while test ! -d "$as_dir"; do
43399 as_dirs
="$as_dir $as_dirs"
43400 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43401 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43402 X"$as_dir" : 'X\(//\)[^/]' \| \
43403 X"$as_dir" : 'X\(//\)$' \| \
43404 X"$as_dir" : 'X\(/\)' \| \
43405 . : '\(.\)' 2>/dev/null ||
43407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43408 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43409 /^X\(\/\/\)$/{ s//\1/; q; }
43410 /^X\(\/\).*/{ s//\1/; q; }
43413 test ! -n "$as_dirs" || mkdir $as_dirs
43414 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43415 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43416 { (exit 1); exit 1; }; }; }
43420 if test "$ac_dir" != .
; then
43421 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43422 # A "../" for each directory in $ac_dir_suffix.
43423 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43425 ac_dir_suffix
= ac_top_builddir
=
43429 .
) # No --srcdir option. We are building in place.
43431 if test -z "$ac_top_builddir"; then
43434 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43436 [\\/]* | ?
:[\\/]* ) # Absolute path.
43437 ac_srcdir
=$srcdir$ac_dir_suffix;
43438 ac_top_srcdir
=$srcdir ;;
43439 *) # Relative path.
43440 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43441 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43444 # Do not use `cd foo && pwd` to compute absolute paths, because
43445 # the directories may not exist.
43447 .
) ac_abs_builddir
="$ac_dir";;
43450 .
) ac_abs_builddir
=`pwd`;;
43451 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43452 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43455 case $ac_abs_builddir in
43456 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43458 case ${ac_top_builddir}.
in
43459 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43460 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43461 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43464 case $ac_abs_builddir in
43465 .
) ac_abs_srcdir
=$ac_srcdir;;
43468 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43469 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43470 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43473 case $ac_abs_builddir in
43474 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43476 case $ac_top_srcdir in
43477 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43478 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43479 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43485 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
43486 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
43489 if test x
"$ac_file" != x
-; then
43490 { echo "$as_me:$LINENO: creating $ac_file" >&5
43491 echo "$as_me: creating $ac_file" >&6;}
43494 # Let's still pretend it is `configure' which instantiates (i.e., don't
43495 # use $as_me), people would be surprised to read:
43496 # /* config.h. Generated by config.status. */
43497 if test x
"$ac_file" = x
-; then
43500 configure_input
="$ac_file. "
43502 configure_input
=$configure_input"Generated from `echo $ac_file_in |
43503 sed 's,.*/,,'` by configure."
43505 # First look for the input files in the build tree, otherwise in the
43507 ac_file_inputs
=`IFS=:
43508 for f in $ac_file_in; do
43510 -) echo $tmp/stdin ;;
43512 # Absolute (can't be DOS-style, as IFS=:)
43513 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43514 echo "$as_me: error: cannot find input file: $f" >&2;}
43515 { (exit 1); exit 1; }; }
43518 if test -f "$f"; then
43521 elif test -f "$srcdir/$f"; then
43526 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43527 echo "$as_me: error: cannot find input file: $f" >&2;}
43528 { (exit 1); exit 1; }; }
43531 done` || { (exit 1); exit 1; }
43533 cat >>$CONFIG_STATUS <<_ACEOF
43537 cat >>$CONFIG_STATUS <<\_ACEOF
43539 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
43540 s
,@configure_input@
,$configure_input,;t t
43541 s
,@srcdir@
,$ac_srcdir,;t t
43542 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
43543 s
,@top_srcdir@
,$ac_top_srcdir,;t t
43544 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
43545 s
,@builddir@
,$ac_builddir,;t t
43546 s
,@abs_builddir@
,$ac_abs_builddir,;t t
43547 s
,@top_builddir@
,$ac_top_builddir,;t t
43548 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
43549 s
,@INSTALL@
,$ac_INSTALL,;t t
43550 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
43552 if test x"$ac_file" != x-; then
43553 mv $tmp/out $ac_file
43561 cat >>$CONFIG_STATUS <<\_ACEOF
43564 # CONFIG_HEADER section.
43567 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
43568 # NAME is the cpp macro being defined and VALUE is the value it is being given.
43570 # ac_d sets the value in "#define NAME VALUE" lines.
43571 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
43572 ac_dB
='[ ].*$,\1#\2'
43575 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
43576 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
43577 ac_uB
='$,\1#\2define\3'
43581 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
43582 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43584 - | *:- | *:-:* ) # input from stdin
43586 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43587 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43588 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43589 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43590 * ) ac_file_in
=$ac_file.
in ;;
43593 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
43594 echo "$as_me: creating $ac_file" >&6;}
43596 # First look for the input files in the build tree, otherwise in the
43598 ac_file_inputs
=`IFS=:
43599 for f in $ac_file_in; do
43601 -) echo $tmp/stdin ;;
43603 # Absolute (can't be DOS-style, as IFS=:)
43604 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43605 echo "$as_me: error: cannot find input file: $f" >&2;}
43606 { (exit 1); exit 1; }; }
43607 # Do quote $f, to prevent DOS paths from being IFS'd.
43610 if test -f "$f"; then
43613 elif test -f "$srcdir/$f"; then
43618 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43619 echo "$as_me: error: cannot find input file: $f" >&2;}
43620 { (exit 1); exit 1; }; }
43623 done` || { (exit 1); exit 1; }
43624 # Remove the trailing spaces.
43625 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
43629 # Transform confdefs.h into two sed scripts, `conftest.defines' and
43630 # `conftest.undefs', that substitutes the proper values into
43631 # config.h.in to produce config.h. The first handles `#define'
43632 # templates, and the second `#undef' templates.
43633 # And first: Protect against being on the right side of a sed subst in
43634 # config.status. Protect against being in an unquoted here document
43635 # in config.status.
43636 rm -f conftest.defines conftest.undefs
43637 # Using a here document instead of a string reduces the quoting nightmare.
43638 # Putting comments in sed scripts is not portable.
43640 # `end' is used to avoid that the second main sed command (meant for
43641 # 0-ary CPP macros) applies to n-ary macro definitions.
43642 # See the Autoconf documentation for `clear'.
43643 cat >confdef2sed.
sed <<\_ACEOF
43648 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
43650 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
43653 # If some macros were called several times there might be several times
43654 # the same #defines, which is useless. Nevertheless, we may not want to
43655 # sort them, since we want the *last* AC-DEFINE to be honored.
43656 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
43657 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
43658 rm -f confdef2sed.sed
43660 # This sed command replaces #undef with comments. This is necessary, for
43661 # example, in the case of _POSIX_SOURCE, which is predefined and required
43662 # on some systems where configure will not decide to define it.
43663 cat >>conftest.undefs <<\_ACEOF
43664 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
43667 # Break up conftest.defines because some shells have a limit on the size
43668 # of here documents, and old seds have small limits too (100 cmds).
43669 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
43670 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
43671 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
43672 echo ' :' >>$CONFIG_STATUS
43673 rm -f conftest.tail
43674 while grep . conftest.defines >/dev/null
43676 # Write a limited-size here document to $tmp/defines.sed.
43677 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
43678 # Speed up: don't consider the non `#define' lines.
43679 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
43680 # Work around the forget-to-reset-the-flag bug.
43681 echo 't clr' >>$CONFIG_STATUS
43682 echo ': clr' >>$CONFIG_STATUS
43683 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
43685 sed -f $tmp/defines.sed $tmp/in >$tmp/out
43687 mv $tmp/out $tmp/in
43689 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
43690 rm -f conftest.defines
43691 mv conftest.
tail conftest.defines
43693 rm -f conftest.defines
43694 echo ' fi # grep' >>$CONFIG_STATUS
43695 echo >>$CONFIG_STATUS
43697 # Break up conftest.undefs because some shells have a limit on the size
43698 # of here documents, and old seds have small limits too (100 cmds).
43699 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
43700 rm -f conftest.
tail
43701 while grep . conftest.undefs
>/dev
/null
43703 # Write a limited-size here document to $tmp/undefs.sed.
43704 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
43705 # Speed up: don't consider the non
`#undef'
43706 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
43707 # Work around the forget-to-reset-the-flag bug.
43708 echo 't clr' >>$CONFIG_STATUS
43709 echo ': clr' >>$CONFIG_STATUS
43710 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
43712 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
43714 mv $tmp/out $tmp/in
43716 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
43717 rm -f conftest.undefs
43718 mv conftest.tail conftest.undefs
43720 rm -f conftest.undefs
43722 cat >>$CONFIG_STATUS <<\_ACEOF
43723 # Let's still pretend it is `configure
' which instantiates (i.e., don't
43724 # use $as_me), people would be surprised to read:
43725 # /* config.h. Generated by config.status. */
43726 if test x
"$ac_file" = x
-; then
43727 echo "/* Generated by configure. */" >$tmp/config.h
43729 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
43731 cat $tmp/in >>$tmp/config.h
43733 if test x
"$ac_file" != x
-; then
43734 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
43735 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
43736 echo "$as_me: $ac_file is unchanged" >&6;}
43738 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
43739 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43740 X"$ac_file" : 'X\(//\)[^/]' \| \
43741 X"$ac_file" : 'X\(//\)$' \| \
43742 X"$ac_file" : 'X\(/\)' \| \
43743 . : '\(.\)' 2>/dev/null ||
43745 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43746 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43747 /^X\(\/\/\)$/{ s//\1/; q; }
43748 /^X\(\/\).*/{ s//\1/; q; }
43750 { if $as_mkdir_p; then
43755 while test ! -d "$as_dir"; do
43756 as_dirs
="$as_dir $as_dirs"
43757 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43758 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43759 X"$as_dir" : 'X\(//\)[^/]' \| \
43760 X"$as_dir" : 'X\(//\)$' \| \
43761 X"$as_dir" : 'X\(/\)' \| \
43762 . : '\(.\)' 2>/dev/null ||
43764 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43765 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43766 /^X\(\/\/\)$/{ s//\1/; q; }
43767 /^X\(\/\).*/{ s//\1/; q; }
43770 test ! -n "$as_dirs" || mkdir $as_dirs
43771 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43772 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43773 { (exit 1); exit 1; }; }; }
43776 mv $tmp/config.h
$ac_file
43780 rm -f $tmp/config.h
43784 cat >>$CONFIG_STATUS <<\_ACEOF
43787 # CONFIG_COMMANDS section.
43789 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
43790 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
43791 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43792 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
43793 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43794 X"$ac_dest" : 'X\(//\)[^/]' \| \
43795 X"$ac_dest" : 'X\(//\)$' \| \
43796 X"$ac_dest" : 'X\(/\)' \| \
43797 . : '\(.\)' 2>/dev/null ||
43799 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43800 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43801 /^X\(\/\/\)$/{ s//\1/; q; }
43802 /^X\(\/\).*/{ s//\1/; q; }
43804 { if $as_mkdir_p; then
43809 while test ! -d "$as_dir"; do
43810 as_dirs
="$as_dir $as_dirs"
43811 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43812 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43813 X"$as_dir" : 'X\(//\)[^/]' \| \
43814 X"$as_dir" : 'X\(//\)$' \| \
43815 X"$as_dir" : 'X\(/\)' \| \
43816 . : '\(.\)' 2>/dev/null ||
43818 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43819 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43820 /^X\(\/\/\)$/{ s//\1/; q; }
43821 /^X\(\/\).*/{ s//\1/; q; }
43824 test ! -n "$as_dirs" || mkdir $as_dirs
43825 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43826 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43827 { (exit 1); exit 1; }; }; }
43831 if test "$ac_dir" != .
; then
43832 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43833 # A "../" for each directory in $ac_dir_suffix.
43834 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43836 ac_dir_suffix
= ac_top_builddir
=
43840 .
) # No --srcdir option. We are building in place.
43842 if test -z "$ac_top_builddir"; then
43845 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43847 [\\/]* | ?
:[\\/]* ) # Absolute path.
43848 ac_srcdir
=$srcdir$ac_dir_suffix;
43849 ac_top_srcdir
=$srcdir ;;
43850 *) # Relative path.
43851 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43852 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43855 # Do not use `cd foo && pwd` to compute absolute paths, because
43856 # the directories may not exist.
43858 .
) ac_abs_builddir
="$ac_dir";;
43861 .
) ac_abs_builddir
=`pwd`;;
43862 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43863 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43866 case $ac_abs_builddir in
43867 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43869 case ${ac_top_builddir}.
in
43870 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43871 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43872 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43875 case $ac_abs_builddir in
43876 .
) ac_abs_srcdir
=$ac_srcdir;;
43879 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43880 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43881 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43884 case $ac_abs_builddir in
43885 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43887 case $ac_top_srcdir in
43888 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43889 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43890 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43895 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43896 echo "$as_me: executing $ac_dest commands" >&6;}
43899 if test ! -h wx
-config; then
43901 mv wx
-config wx
${TOOLCHAIN_NAME}-config
43902 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
43905 if test ! -d lib
; then
43908 if test ! -d lib
/wx
; then
43911 if test ! -d lib
/wx
/include
; then
43912 mkdir lib
/wx
/include
43914 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
43915 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
43917 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
43918 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
43920 if test -f setup.h
; then
43921 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
43928 cat >>$CONFIG_STATUS <<\_ACEOF
43930 { (exit 0); exit 0; }
43932 chmod +x
$CONFIG_STATUS
43933 ac_clean_files
=$ac_clean_files_save
43936 # configure is writing to config.log, and then calls config.status.
43937 # config.status does its own redirection, appending to config.log.
43938 # Unfortunately, on DOS this fails, as config.log is still kept open
43939 # by configure, so config.status won't be able to write to it; its
43940 # output is simply discarded. So we exec the FD to /dev/null,
43941 # effectively closing config.log, so it can be properly (re)opened and
43942 # appended to by config.status. When coming back to configure, we
43943 # need to make the FD available again.
43944 if test "$no_create" != yes; then
43946 ac_config_status_args
=
43947 test "$silent" = yes &&
43948 ac_config_status_args
="$ac_config_status_args --quiet"
43950 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
43952 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43953 # would make configure fail if this is the last instruction.
43954 $ac_cs_success || { (exit 1); exit 1; }
43958 # CONFIG_SUBDIRS section.
43960 if test "$no_recursion" != yes; then
43962 # Remove --cache-file and --srcdir arguments so they do not pile up.
43963 ac_sub_configure_args
=
43965 for ac_arg
in $ac_configure_args; do
43966 if test -n "$ac_prev"; then
43971 -cache-file | --cache-file | --cache-fil | --cache-fi \
43972 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43973 ac_prev
=cache_file
;;
43974 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43975 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43978 --config-cache | -C)
43980 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43982 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43984 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43986 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43988 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
43992 # Always prepend --prefix to ensure using the same prefix
43993 # in subdir configurations.
43994 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
43997 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
43999 # Do not complain, so a configure script can configure whichever
44000 # parts of a large source tree are present.
44001 test -d $srcdir/$ac_dir || continue
44003 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
44004 echo "$as_me: configuring in $ac_dir" >&6;}
44005 { if $as_mkdir_p; then
44010 while test ! -d "$as_dir"; do
44011 as_dirs
="$as_dir $as_dirs"
44012 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44013 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44014 X"$as_dir" : 'X\(//\)[^/]' \| \
44015 X"$as_dir" : 'X\(//\)$' \| \
44016 X"$as_dir" : 'X\(/\)' \| \
44017 . : '\(.\)' 2>/dev/null ||
44019 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44020 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44021 /^X\(\/\/\)$/{ s//\1/; q; }
44022 /^X\(\/\).*/{ s//\1/; q; }
44025 test ! -n "$as_dirs" || mkdir $as_dirs
44026 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44027 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44028 { (exit 1); exit 1; }; }; }
44032 if test "$ac_dir" != .
; then
44033 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44034 # A "../" for each directory in $ac_dir_suffix.
44035 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44037 ac_dir_suffix
= ac_top_builddir
=
44041 .
) # No --srcdir option. We are building in place.
44043 if test -z "$ac_top_builddir"; then
44046 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
44048 [\\/]* | ?
:[\\/]* ) # Absolute path.
44049 ac_srcdir
=$srcdir$ac_dir_suffix;
44050 ac_top_srcdir
=$srcdir ;;
44051 *) # Relative path.
44052 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
44053 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
44056 # Do not use `cd foo && pwd` to compute absolute paths, because
44057 # the directories may not exist.
44059 .
) ac_abs_builddir
="$ac_dir";;
44062 .
) ac_abs_builddir
=`pwd`;;
44063 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
44064 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
44067 case $ac_abs_builddir in
44068 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44070 case ${ac_top_builddir}.
in
44071 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
44072 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44073 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
44076 case $ac_abs_builddir in
44077 .
) ac_abs_srcdir
=$ac_srcdir;;
44080 .
) ac_abs_srcdir
=$ac_abs_builddir;;
44081 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
44082 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
44085 case $ac_abs_builddir in
44086 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
44088 case $ac_top_srcdir in
44089 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
44090 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
44091 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
44098 # Check for guested configure; otherwise get Cygnus style configure.
44099 if test -f $ac_srcdir/configure.gnu
; then
44100 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
44101 elif test -f $ac_srcdir/configure
; then
44102 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
44103 elif test -f $ac_srcdir/configure.
in; then
44104 ac_sub_configure
=$ac_configure
44106 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
44107 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
44111 # The recursion is here.
44112 if test -n "$ac_sub_configure"; then
44113 # Make the cache file name correct relative to the subdirectory.
44114 case $cache_file in
44115 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
44116 *) # Relative path.
44117 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
44120 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
44121 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
44122 # The eval makes quoting arguments work.
44123 eval $ac_sub_configure $ac_sub_configure_args \
44124 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
44125 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
44126 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
44127 { (exit 1); exit 1; }; }
44136 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
44138 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_LOWERCASE:-base only}"
44139 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
44141 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
44142 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
44143 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
44145 echo " What level of wxWidgets compatibility should be enabled?"
44146 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
44147 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
44149 echo " Which libraries should wxWidgets use?"
44150 echo " jpeg ${wxUSE_LIBJPEG-none}"
44151 echo " png ${wxUSE_LIBPNG-none}"
44152 echo " regex ${wxUSE_REGEX}"
44153 echo " tiff ${wxUSE_LIBTIFF-none}"
44154 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
44155 echo " xpm ${wxUSE_LIBXPM-none}"
44157 echo " zlib ${wxUSE_ZLIB}"
44158 echo " odbc ${wxUSE_ODBC}"
44159 echo " expat ${wxUSE_EXPAT}"
44160 echo " libmspack ${wxUSE_LIBMSPACK}"
44161 echo " sdl ${wxUSE_LIBSDL}"