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 WXCONFIG_DATA_FILE WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC 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 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets
2.2 compatibility
893 --disable-compat24 disable wxWidgets
2.4 compatibility
894 --enable-rpath=DIR output the rpath flag from wx
-config
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
907 --enable-cmdline use wxCmdLineParser class
908 --enable-datetime use wxDateTime class
909 --enable-dialupman use dialup network classes
910 --enable-dynlib use wxLibrary class
for DLL loading
911 --enable-dynamicloader use
(new
) wxDynamicLibrary class
912 --enable-exceptions build exception
-safe library
913 --enable-ffile use wxFFile class
914 --enable-file use wxFile class
915 --enable-filesystem use virtual
file systems classes
916 --enable-fontmap use font encodings conversion classes
917 --enable-fs_inet use virtual HTTP
/FTP filesystems
918 --enable-fs_zip use virtual ZIP filesystems
919 --enable-geometry use geometry class
920 --enable-log use logging system
921 --enable-longlong use wxLongLong class
922 --enable-mimetype use wxMimeTypesManager
923 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
924 --enable-snglinst use wxSingleInstanceChecker class
925 --enable-streams use wxStream etc classes
926 --enable-std_iostreams use standard C
++ stream classes
927 --enable-stopwatch use wxStopWatch class
928 --enable-sysoptions use wxSystemOptions
929 --enable-textbuf use wxTextBuffer class
930 --enable-textfile use wxTextFile class
931 --enable-timer use wxTimer class
932 --enable-unicode compile wxString with Unicode support
933 --enable-sound use wxSound class
934 --enable-wxprintfv use wxWidgets implementation of vprintf
()
935 --enable-zipstream use wxZipInputStream
936 --enable-url use wxURL class
937 --enable-protocol use wxProtocol class
938 --enable-protocol-http HTTP support
in wxProtocol
939 --enable-protocol-ftp FTP support
in wxProtocol
940 --enable-protocol-file FILE support
in wxProtocol
941 --enable-threads use threads
942 --enable-docview use document view architecture
943 --enable-help use
help subsystem
944 --enable-mshtmlhelp use MS HTML Help
(win32
)
945 --enable-html use wxHTML sub
-library
946 --enable-htmlhelp use wxHTML
-based help
947 --enable-constraints use layout
-constraints system
948 --enable-printarch use printing architecture
949 --enable-mdi use multiple document interface architecture
950 --enable-mdidoc use docview architecture with MDI
951 --enable-loggui use standard GUI logger
952 --enable-logwin use wxLogWindow
953 --enable-logdialog use wxLogDialog
954 --enable-webkit use wxWebKitCtrl
(Mac
)
955 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
956 --enable-prologio not available
; see contrib
957 --enable-resources not available
; see contrib
958 --enable-clipboard use wxClipboard class
959 --enable-dnd use Drag
'n'Drop classes
960 --enable-metafile use win32 metafiles
961 --enable-controls use all usual controls
962 --enable-accel use accelerators
963 --enable-button use wxButton class
964 --enable-bmpbutton use wxBitmapButton class
965 --enable-calendar use wxCalendarCtrl class
966 --enable-caret use wxCaret class
967 --enable-checkbox use wxCheckBox class
968 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
969 --enable-choice use wxChoice class
970 --enable-combobox use wxComboBox class
971 --enable-display use wxDisplay class
972 --enable-gauge use wxGauge class
973 --enable-grid use wxGrid class
974 --enable-imaglist use wxImageList class
975 --enable-listbook use wxListbook class
976 --enable-listbox use wxListBox class
977 --enable-listctrl use wxListCtrl class
978 --enable-notebook use wxNotebook class
979 --enable-radiobox use wxRadioBox class
980 --enable-radiobtn use wxRadioButton class
981 --enable-sash use wxSashWindow class
982 --enable-scrollbar use wxScrollBar class and scrollable windows
983 --enable-slider use wxSlider class
984 --enable-spinbtn use wxSpinButton class
985 --enable-spinctrl use wxSpinCtrl class
986 --enable-splitter use wxSplitterWindow class
987 --enable-statbmp use wxStaticBitmap class
988 --enable-statbox use wxStaticBox class
989 --enable-statline use wxStaticLine class
990 --enable-stattext use wxStaticText class
991 --enable-statusbar use wxStatusBar class
992 --enable-tabdialog use wxTabControl class
993 --enable-textctrl use wxTextCtrl class
994 --enable-togglebtn use wxToggleButton class
995 --enable-toolbar use wxToolBar class
996 --enable-tbarnative use native wxToolBar class
997 --enable-tbarsmpl use wxToolBarSimple class
998 --enable-treectrl use wxTreeCtrl class
999 --enable-tipwindow use wxTipWindow class
1000 --enable-popupwin use wxPopUpWindow class
1001 --enable-commondlg use all common dialogs
1002 --enable-choicedlg use wxChoiceDialog
1003 --enable-coldlg use wxColourDialog
1004 --enable-filedlg use wxFileDialog
1005 --enable-finddlg use wxFindReplaceDialog
1006 --enable-fontdlg use wxFontDialog
1007 --enable-dirdlg use wxDirDialog
1008 --enable-msgdlg use wxMessageDialog
1009 --enable-numberdlg use wxNumberEntryDialog
1010 --enable-splash use wxSplashScreen
1011 --enable-textdlg use wxTextDialog
1012 --enable-tipdlg use startup tips
1013 --enable-progressdlg use wxProgressDialog
1014 --enable-wizarddlg use wxWizard
1015 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1016 --enable-miniframe use wxMiniFrame class
1017 --enable-tooltips use wxToolTip class
1018 --enable-splines use spline drawing code
1019 --enable-validators use wxValidator and derived classes
1020 --enable-busyinfo use wxBusyInfo
1021 --enable-joystick use wxJoystick
(Linux only
)
1022 --enable-metafiles use wxMetaFile
(Windows only
)
1023 --enable-dragimage use wxDragImage
1024 --enable-accessibility enable accessibility support
1025 --enable-palette use wxPalette class
1026 --enable-image use wxImage class
1027 --enable-gif use gif images
(GIF
file format
)
1028 --enable-pcx use pcx images
(PCX
file format
)
1029 --enable-iff use iff images
(IFF
file format
)
1030 --enable-pnm use pnm images
(PNM
file format
)
1031 --enable-xpm use xpm images
(XPM
file format
)
1032 --enable-icocur use Windows ICO and CUR formats
1033 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1034 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1035 --disable-largefile omit support
for large files
1036 --disable-gtktest do not try to compile and run a
test GTK
+ program
1037 --disable-gtktest Do not try to compile and run a
test GTK program
1038 --disable-sdltest Do not try to compile and run a
test SDL program
1039 --enable-omf use OMF object format
(OS
/2)
1040 --disable-precomp-headers don
't use precompiled headers even if compiler can
1043 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1044 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1046 --with-motif use Motif/Lesstif
1047 --with-mac use Mac OS X
1048 --with-cocoa use Cocoa
1049 --with-wine use Wine
1050 --with-msw use MS-Windows
1051 --with-pm use OS/2 Presentation Manager
1052 --with-mgl use SciTech MGL
1053 --with-microwin use MicroWindows
1055 --with-libpng use libpng (PNG image format)
1056 --with-libjpeg use libjpeg (JPEG file format)
1057 --with-libtiff use libtiff (TIFF file format)
1058 --with-libxpm use libxpm (XPM file format)
1059 --with-libmspack use libmspack (CHM help files loading)
1060 --with-sdl use SDL for audio on Unix
1061 --with-opengl use OpenGL (or Mesa)
1062 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1063 --with-regex enable support for wxRegEx class
1064 --with-zlib use zlib for LZW compression
1065 --with-odbc use the IODBC and wxODBC classes
1066 --with-expat enable XML support using expat parser
1067 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1068 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1069 --with-x use the X Window System
1070 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1071 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1072 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1073 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1074 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1076 Some influential environment variables:
1077 CC C compiler command
1078 CFLAGS C compiler flags
1079 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1080 nonstandard directory <lib dir>
1081 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1082 headers in a nonstandard directory <include dir>
1084 CXX C++ compiler command
1085 CXXFLAGS C++ compiler flags
1086 CXXCPP C++ preprocessor
1088 Use these variables to override the choices made by `configure' or to
help
1089 it to
find libraries and programs with nonstandard names
/locations.
1091 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1095 if test "$ac_init_help" = "recursive"; then
1096 # If there are subdirs, report their specific --help.
1098 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1099 test -d $ac_dir || continue
1102 if test "$ac_dir" != .
; then
1103 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1104 # A "../" for each directory in $ac_dir_suffix.
1105 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1107 ac_dir_suffix
= ac_top_builddir
=
1111 .
) # No --srcdir option. We are building in place.
1113 if test -z "$ac_top_builddir"; then
1116 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1118 [\\/]* | ?
:[\\/]* ) # Absolute path.
1119 ac_srcdir
=$srcdir$ac_dir_suffix;
1120 ac_top_srcdir
=$srcdir ;;
1122 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1123 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1126 # Do not use `cd foo && pwd` to compute absolute paths, because
1127 # the directories may not exist.
1129 .
) ac_abs_builddir
="$ac_dir";;
1132 .
) ac_abs_builddir
=`pwd`;;
1133 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1134 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1137 case $ac_abs_builddir in
1138 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1140 case ${ac_top_builddir}.
in
1141 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1142 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1143 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1146 case $ac_abs_builddir in
1147 .
) ac_abs_srcdir
=$ac_srcdir;;
1150 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1151 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1152 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1155 case $ac_abs_builddir in
1156 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1158 case $ac_top_srcdir in
1159 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1160 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1161 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1166 # Check for guested configure; otherwise get Cygnus style configure.
1167 if test -f $ac_srcdir/configure.gnu
; then
1169 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1170 elif test -f $ac_srcdir/configure
; then
1172 $SHELL $ac_srcdir/configure
--help=recursive
1173 elif test -f $ac_srcdir/configure.ac
||
1174 test -f $ac_srcdir/configure.
in; then
1176 $ac_configure --help
1178 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1184 test -n "$ac_init_help" && exit 0
1185 if $ac_init_version; then
1187 wxWidgets configure
2.5.2
1188 generated by GNU Autoconf
2.59
1190 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1191 This configure
script is free software
; the Free Software Foundation
1192 gives unlimited permission to copy
, distribute and modify it.
1198 This file contains any messages produced by compilers while
1199 running configure, to aid debugging if configure makes a mistake.
1201 It was created by wxWidgets $as_me 2.5.2, which was
1202 generated by GNU Autoconf 2.59. Invocation command line was
1213 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1214 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1215 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1216 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1217 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1219 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1220 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1222 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1223 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1224 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1225 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1226 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1227 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1228 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1236 test -z "$as_dir" && as_dir
=.
1237 echo "PATH: $as_dir"
1252 # Keep a trace of the command line.
1253 # Strip out --no-create and --no-recursion so they do not pile up.
1254 # Strip out --silent because we don't want to record it for future runs.
1255 # Also quote any args containing shell meta-characters.
1256 # Make two passes to allow for proper duplicate-argument suppression.
1261 ac_must_keep_next
=false
1267 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1268 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1269 | -silent | --silent | --silen | --sile | --sil)
1271 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1272 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1275 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1277 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1278 if test $ac_must_keep_next = true
; then
1279 ac_must_keep_next
=false
# Got value, back to normal.
1282 *=* | --config-cache | -C | -disable-* | --disable-* \
1283 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1284 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1285 | -with-* | --with-* | -without-* | --without-* | --x)
1286 case "$ac_configure_args0 " in
1287 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1290 -* ) ac_must_keep_next
=true
;;
1293 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1294 # Get rid of the leading space.
1300 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1301 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1303 # When interrupted or exit'd, cleanup temporary files, and complete
1304 # config.log. We remove comments because anyway the quotes in there
1305 # would cause problems or look ugly.
1306 # WARNING: Be sure not to use single quotes in there, as some shells,
1307 # such as our DU 5.0 friend, will then `close' the trap.
1308 trap 'exit_status=$?
1309 # Save into config.log some information that might help in debugging.
1314 ## ---------------- ##
1315 ## Cache variables. ##
1316 ## ---------------- ##
1319 # The following way of writing the cache mishandles newlines in values,
1322 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1325 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1326 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1330 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1337 ## ----------------- ##
1338 ## Output variables. ##
1339 ## ----------------- ##
1342 for ac_var in $ac_subst_vars
1344 eval ac_val=$`echo $ac_var`
1345 echo "$ac_var='"'"'$ac_val'"'"'"
1349 if test -n "$ac_subst_files"; then
1356 for ac_var in $ac_subst_files
1358 eval ac_val=$`echo $ac_var`
1359 echo "$ac_var='"'"'$ac_val'"'"'"
1364 if test -s confdefs.h; then
1371 sed "/^$/d" confdefs.h | sort
1374 test "$ac_signal" != 0 &&
1375 echo "$as_me: caught signal $ac_signal"
1376 echo "$as_me: exit $exit_status"
1378 rm -f core *.core &&
1379 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1382 for ac_signal
in 1 2 13 15; do
1383 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1387 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1388 rm -rf conftest
* confdefs.h
1389 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1392 # Predefined preprocessor variables.
1394 cat >>confdefs.h
<<_ACEOF
1395 #define PACKAGE_NAME "$PACKAGE_NAME"
1399 cat >>confdefs.h
<<_ACEOF
1400 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1404 cat >>confdefs.h
<<_ACEOF
1405 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1409 cat >>confdefs.h
<<_ACEOF
1410 #define PACKAGE_STRING "$PACKAGE_STRING"
1414 cat >>confdefs.h
<<_ACEOF
1415 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1419 # Let the site file select an alternate cache file if it wants to.
1420 # Prefer explicitly selected file to automatically selected ones.
1421 if test -z "$CONFIG_SITE"; then
1422 if test "x$prefix" != xNONE
; then
1423 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1425 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1428 for ac_site_file
in $CONFIG_SITE; do
1429 if test -r "$ac_site_file"; then
1430 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1431 echo "$as_me: loading site script $ac_site_file" >&6;}
1432 sed 's/^/| /' "$ac_site_file" >&5
1437 if test -r "$cache_file"; then
1438 # Some versions of bash will fail to source /dev/null (special
1439 # files actually), so we avoid doing that.
1440 if test -f "$cache_file"; then
1441 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1442 echo "$as_me: loading cache $cache_file" >&6;}
1444 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1445 *) . .
/$cache_file;;
1449 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1450 echo "$as_me: creating cache $cache_file" >&6;}
1454 # Check that the precious variables saved in the cache have kept the same
1456 ac_cache_corrupted
=false
1457 for ac_var
in `(set) 2>&1 |
1458 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1459 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1460 eval ac_new_set
=\
$ac_env_${ac_var}_set
1461 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1462 eval ac_new_val
="\$ac_env_${ac_var}_value"
1463 case $ac_old_set,$ac_new_set in
1465 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1466 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1467 ac_cache_corrupted
=: ;;
1469 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1470 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1471 ac_cache_corrupted
=: ;;
1474 if test "x$ac_old_val" != "x$ac_new_val"; then
1475 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1476 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1477 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1478 echo "$as_me: former value: $ac_old_val" >&2;}
1479 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1480 echo "$as_me: current value: $ac_new_val" >&2;}
1481 ac_cache_corrupted
=:
1484 # Pass precious variables to config.status.
1485 if test "$ac_new_set" = set; then
1487 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1488 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1489 *) ac_arg
=$ac_var=$ac_new_val ;;
1491 case " $ac_configure_args " in
1492 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1493 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1497 if $ac_cache_corrupted; then
1498 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1499 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1500 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1501 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1502 { (exit 1); exit 1; }; }
1506 ac_cpp
='$CPP $CPPFLAGS'
1507 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1508 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1509 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1541 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1542 if test -f $ac_dir/install-sh; then
1544 ac_install_sh
="$ac_aux_dir/install-sh -c"
1546 elif test -f $ac_dir/install.sh
; then
1548 ac_install_sh
="$ac_aux_dir/install.sh -c"
1550 elif test -f $ac_dir/shtool
; then
1552 ac_install_sh
="$ac_aux_dir/shtool install -c"
1556 if test -z "$ac_aux_dir"; then
1557 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1558 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1559 { (exit 1); exit 1; }; }
1561 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1562 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1563 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1565 # Make sure we can run config.sub.
1566 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1567 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1568 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1569 { (exit 1); exit 1; }; }
1571 echo "$as_me:$LINENO: checking build system type" >&5
1572 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1573 if test "${ac_cv_build+set}" = set; then
1574 echo $ECHO_N "(cached) $ECHO_C" >&6
1576 ac_cv_build_alias
=$build_alias
1577 test -z "$ac_cv_build_alias" &&
1578 ac_cv_build_alias
=`$ac_config_guess`
1579 test -z "$ac_cv_build_alias" &&
1580 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1581 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1582 { (exit 1); exit 1; }; }
1583 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1584 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1585 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1586 { (exit 1); exit 1; }; }
1589 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1590 echo "${ECHO_T}$ac_cv_build" >&6
1592 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1593 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1594 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1597 echo "$as_me:$LINENO: checking host system type" >&5
1598 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1599 if test "${ac_cv_host+set}" = set; then
1600 echo $ECHO_N "(cached) $ECHO_C" >&6
1602 ac_cv_host_alias
=$host_alias
1603 test -z "$ac_cv_host_alias" &&
1604 ac_cv_host_alias
=$ac_cv_build_alias
1605 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1606 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1607 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1608 { (exit 1); exit 1; }; }
1611 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1612 echo "${ECHO_T}$ac_cv_host" >&6
1614 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1615 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1616 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1619 echo "$as_me:$LINENO: checking target system type" >&5
1620 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1621 if test "${ac_cv_target+set}" = set; then
1622 echo $ECHO_N "(cached) $ECHO_C" >&6
1624 ac_cv_target_alias
=$target_alias
1625 test "x$ac_cv_target_alias" = "x" &&
1626 ac_cv_target_alias
=$ac_cv_host_alias
1627 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1628 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1629 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1630 { (exit 1); exit 1; }; }
1633 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1634 echo "${ECHO_T}$ac_cv_target" >&6
1635 target
=$ac_cv_target
1636 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1637 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1638 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1641 # The aliases save the names the user supplied, while $host etc.
1642 # will get canonicalized.
1643 test -n "$target_alias" &&
1644 test "$program_prefix$program_suffix$program_transform_name" = \
1646 program_prefix
=${target_alias}-
1650 WX_MAJOR_VERSION_NUMBER
=2
1651 WX_MINOR_VERSION_NUMBER
=5
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
2380 DEFAULT_wxUSE_GTK2
=yes
2385 for toolkit
in `echo $ALL_TOOLKITS`; do
2386 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2387 if test "x$LINE" != "x" ; then
2388 has_toolkit_in_cache
=1
2389 eval "DEFAULT_$LINE"
2390 eval "CACHE_$toolkit=1"
2397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2398 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2400 # Check whether --enable-gui or --disable-gui was given.
2401 if test "${enable_gui+set}" = set; then
2402 enableval
="$enable_gui"
2404 if test "$enableval" = yes; then
2405 ac_cv_use_gui
='wxUSE_GUI=yes'
2407 ac_cv_use_gui
='wxUSE_GUI=no'
2412 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2413 if test "x$LINE" != x
; then
2414 eval "DEFAULT_$LINE"
2419 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2423 eval "$ac_cv_use_gui"
2424 if test "$no_cache" != 1; then
2425 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2428 if test "$wxUSE_GUI" = yes; then
2429 echo "$as_me:$LINENO: result: yes" >&5
2430 echo "${ECHO_T}yes" >&6
2432 echo "$as_me:$LINENO: result: no" >&5
2433 echo "${ECHO_T}no" >&6
2438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2439 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2441 # Check whether --enable-monolithic or --disable-monolithic was given.
2442 if test "${enable_monolithic+set}" = set; then
2443 enableval
="$enable_monolithic"
2445 if test "$enableval" = yes; then
2446 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2448 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2453 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2454 if test "x$LINE" != x
; then
2455 eval "DEFAULT_$LINE"
2460 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2464 eval "$ac_cv_use_monolithic"
2465 if test "$no_cache" != 1; then
2466 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2469 if test "$wxUSE_MONOLITHIC" = yes; then
2470 echo "$as_me:$LINENO: result: yes" >&5
2471 echo "${ECHO_T}yes" >&6
2473 echo "$as_me:$LINENO: result: no" >&5
2474 echo "${ECHO_T}no" >&6
2479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2480 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2482 # Check whether --enable-plugins or --disable-plugins was given.
2483 if test "${enable_plugins+set}" = set; then
2484 enableval
="$enable_plugins"
2486 if test "$enableval" = yes; then
2487 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2489 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2494 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2495 if test "x$LINE" != x
; then
2496 eval "DEFAULT_$LINE"
2501 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2505 eval "$ac_cv_use_plugins"
2506 if test "$no_cache" != 1; then
2507 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2510 if test "$wxUSE_PLUGINS" = yes; then
2511 echo "$as_me:$LINENO: result: yes" >&5
2512 echo "${ECHO_T}yes" >&6
2514 echo "$as_me:$LINENO: result: no" >&5
2515 echo "${ECHO_T}no" >&6
2519 if test "$wxUSE_GUI" = "yes"; then
2523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2524 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2526 # Check whether --enable-universal or --disable-universal was given.
2527 if test "${enable_universal+set}" = set; then
2528 enableval
="$enable_universal"
2530 if test "$enableval" = yes; then
2531 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2533 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2538 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2539 if test "x$LINE" != x
; then
2540 eval "DEFAULT_$LINE"
2545 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2549 eval "$ac_cv_use_universal"
2550 if test "$no_cache" != 1; then
2551 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2554 if test "$wxUSE_UNIVERSAL" = yes; then
2555 echo "$as_me:$LINENO: result: yes" >&5
2556 echo "${ECHO_T}yes" >&6
2558 echo "$as_me:$LINENO: result: no" >&5
2559 echo "${ECHO_T}no" >&6
2563 # Check whether --with-gtk or --without-gtk was given.
2564 if test "${with_gtk+set}" = set; then
2566 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2569 # Check whether --with-motif or --without-motif was given.
2570 if test "${with_motif+set}" = set; then
2571 withval
="$with_motif"
2572 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2575 # Check whether --with-mac or --without-mac was given.
2576 if test "${with_mac+set}" = set; then
2578 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
2581 # Check whether --with-cocoa or --without-cocoa was given.
2582 if test "${with_cocoa+set}" = set; then
2583 withval
="$with_cocoa"
2584 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
2587 # Check whether --with-wine or --without-wine was given.
2588 if test "${with_wine+set}" = set; then
2589 withval
="$with_wine"
2590 wxUSE_WINE
="$withval" CACHE_WINE
=1
2593 # Check whether --with-msw or --without-msw was given.
2594 if test "${with_msw+set}" = set; then
2596 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2599 # Check whether --with-pm or --without-pm was given.
2600 if test "${with_pm+set}" = set; then
2602 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2605 # Check whether --with-mgl or --without-mgl was given.
2606 if test "${with_mgl+set}" = set; then
2608 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2611 # Check whether --with-microwin or --without-microwin was given.
2612 if test "${with_microwin+set}" = set; then
2613 withval
="$with_microwin"
2614 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2617 # Check whether --with-x11 or --without-x11 was given.
2618 if test "${with_x11+set}" = set; then
2620 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2625 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2627 # Check whether --enable-nanox or --disable-nanox was given.
2628 if test "${enable_nanox+set}" = set; then
2629 enableval
="$enable_nanox"
2631 if test "$enableval" = yes; then
2632 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2634 ac_cv_use_nanox
='wxUSE_NANOX=no'
2639 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2640 if test "x$LINE" != x
; then
2641 eval "DEFAULT_$LINE"
2646 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2650 eval "$ac_cv_use_nanox"
2651 if test "$no_cache" != 1; then
2652 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2655 if test "$wxUSE_NANOX" = yes; then
2656 echo "$as_me:$LINENO: result: yes" >&5
2657 echo "${ECHO_T}yes" >&6
2659 echo "$as_me:$LINENO: result: no" >&5
2660 echo "${ECHO_T}no" >&6
2666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2667 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2669 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2670 if test "${enable_gtk2+set}" = set; then
2671 enableval
="$enable_gtk2"
2673 if test "$enableval" = yes; then
2674 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2676 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2681 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2682 if test "x$LINE" != x
; then
2683 eval "DEFAULT_$LINE"
2688 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2692 eval "$ac_cv_use_gtk2"
2693 if test "$no_cache" != 1; then
2694 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2697 if test "$wxUSE_GTK2" = yes; then
2698 echo "$as_me:$LINENO: result: yes" >&5
2699 echo "${ECHO_T}yes" >&6
2701 echo "$as_me:$LINENO: result: no" >&5
2702 echo "${ECHO_T}no" >&6
2707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2708 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2710 # Check whether --enable-gpe or --disable-gpe was given.
2711 if test "${enable_gpe+set}" = set; then
2712 enableval
="$enable_gpe"
2714 if test "$enableval" = yes; then
2715 ac_cv_use_gpe
='wxUSE_GPE=yes'
2717 ac_cv_use_gpe
='wxUSE_GPE=no'
2722 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2723 if test "x$LINE" != x
; then
2724 eval "DEFAULT_$LINE"
2729 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2733 eval "$ac_cv_use_gpe"
2734 if test "$no_cache" != 1; then
2735 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2738 if test "$wxUSE_GPE" = yes; then
2739 echo "$as_me:$LINENO: result: yes" >&5
2740 echo "${ECHO_T}yes" >&6
2742 echo "$as_me:$LINENO: result: no" >&5
2743 echo "${ECHO_T}no" >&6
2748 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2749 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2752 # Check whether --with-libpng or --without-libpng was given.
2753 if test "${with_libpng+set}" = set; then
2754 withval
="$with_libpng"
2756 if test "$withval" = yes; then
2757 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2758 elif test "$withval" = no
; then
2759 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2760 elif test "$withval" = sys
; then
2761 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2762 elif test "$withval" = builtin; then
2763 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2765 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2766 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2767 { (exit 1); exit 1; }; }
2772 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2773 if test "x$LINE" != x
; then
2774 eval "DEFAULT_$LINE"
2779 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2783 eval "$ac_cv_use_libpng"
2784 if test "$no_cache" != 1; then
2785 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2788 if test "$wxUSE_LIBPNG" = yes; then
2789 echo "$as_me:$LINENO: result: yes" >&5
2790 echo "${ECHO_T}yes" >&6
2791 elif test "$wxUSE_LIBPNG" = no
; then
2792 echo "$as_me:$LINENO: result: no" >&5
2793 echo "${ECHO_T}no" >&6
2794 elif test "$wxUSE_LIBPNG" = sys
; then
2795 echo "$as_me:$LINENO: result: system version" >&5
2796 echo "${ECHO_T}system version" >&6
2797 elif test "$wxUSE_LIBPNG" = builtin; then
2798 echo "$as_me:$LINENO: result: builtin version" >&5
2799 echo "${ECHO_T}builtin version" >&6
2801 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2802 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2803 { (exit 1); exit 1; }; }
2807 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2808 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2811 # Check whether --with-libjpeg or --without-libjpeg was given.
2812 if test "${with_libjpeg+set}" = set; then
2813 withval
="$with_libjpeg"
2815 if test "$withval" = yes; then
2816 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2817 elif test "$withval" = no
; then
2818 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2819 elif test "$withval" = sys
; then
2820 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2821 elif test "$withval" = builtin; then
2822 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2824 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2825 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2826 { (exit 1); exit 1; }; }
2831 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2832 if test "x$LINE" != x
; then
2833 eval "DEFAULT_$LINE"
2838 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2842 eval "$ac_cv_use_libjpeg"
2843 if test "$no_cache" != 1; then
2844 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2847 if test "$wxUSE_LIBJPEG" = yes; then
2848 echo "$as_me:$LINENO: result: yes" >&5
2849 echo "${ECHO_T}yes" >&6
2850 elif test "$wxUSE_LIBJPEG" = no
; then
2851 echo "$as_me:$LINENO: result: no" >&5
2852 echo "${ECHO_T}no" >&6
2853 elif test "$wxUSE_LIBJPEG" = sys
; then
2854 echo "$as_me:$LINENO: result: system version" >&5
2855 echo "${ECHO_T}system version" >&6
2856 elif test "$wxUSE_LIBJPEG" = builtin; then
2857 echo "$as_me:$LINENO: result: builtin version" >&5
2858 echo "${ECHO_T}builtin version" >&6
2860 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2861 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2862 { (exit 1); exit 1; }; }
2866 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2867 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2870 # Check whether --with-libtiff or --without-libtiff was given.
2871 if test "${with_libtiff+set}" = set; then
2872 withval
="$with_libtiff"
2874 if test "$withval" = yes; then
2875 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2876 elif test "$withval" = no
; then
2877 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2878 elif test "$withval" = sys
; then
2879 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2880 elif test "$withval" = builtin; then
2881 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2883 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2884 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2885 { (exit 1); exit 1; }; }
2890 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2891 if test "x$LINE" != x
; then
2892 eval "DEFAULT_$LINE"
2897 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2901 eval "$ac_cv_use_libtiff"
2902 if test "$no_cache" != 1; then
2903 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2906 if test "$wxUSE_LIBTIFF" = yes; then
2907 echo "$as_me:$LINENO: result: yes" >&5
2908 echo "${ECHO_T}yes" >&6
2909 elif test "$wxUSE_LIBTIFF" = no
; then
2910 echo "$as_me:$LINENO: result: no" >&5
2911 echo "${ECHO_T}no" >&6
2912 elif test "$wxUSE_LIBTIFF" = sys
; then
2913 echo "$as_me:$LINENO: result: system version" >&5
2914 echo "${ECHO_T}system version" >&6
2915 elif test "$wxUSE_LIBTIFF" = builtin; then
2916 echo "$as_me:$LINENO: result: builtin version" >&5
2917 echo "${ECHO_T}builtin version" >&6
2919 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2920 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2921 { (exit 1); exit 1; }; }
2925 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2926 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2929 # Check whether --with-libxpm or --without-libxpm was given.
2930 if test "${with_libxpm+set}" = set; then
2931 withval
="$with_libxpm"
2933 if test "$withval" = yes; then
2934 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2935 elif test "$withval" = no
; then
2936 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2937 elif test "$withval" = sys
; then
2938 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2939 elif test "$withval" = builtin; then
2940 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2942 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2943 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2944 { (exit 1); exit 1; }; }
2949 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2950 if test "x$LINE" != x
; then
2951 eval "DEFAULT_$LINE"
2956 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2960 eval "$ac_cv_use_libxpm"
2961 if test "$no_cache" != 1; then
2962 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2965 if test "$wxUSE_LIBXPM" = yes; then
2966 echo "$as_me:$LINENO: result: yes" >&5
2967 echo "${ECHO_T}yes" >&6
2968 elif test "$wxUSE_LIBXPM" = no
; then
2969 echo "$as_me:$LINENO: result: no" >&5
2970 echo "${ECHO_T}no" >&6
2971 elif test "$wxUSE_LIBXPM" = sys
; then
2972 echo "$as_me:$LINENO: result: system version" >&5
2973 echo "${ECHO_T}system version" >&6
2974 elif test "$wxUSE_LIBXPM" = builtin; then
2975 echo "$as_me:$LINENO: result: builtin version" >&5
2976 echo "${ECHO_T}builtin version" >&6
2978 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2979 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2980 { (exit 1); exit 1; }; }
2984 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2985 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2988 # Check whether --with-libmspack or --without-libmspack was given.
2989 if test "${with_libmspack+set}" = set; then
2990 withval
="$with_libmspack"
2992 if test "$withval" = yes; then
2993 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
2995 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3000 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3001 if test "x$LINE" != x
; then
3002 eval "DEFAULT_$LINE"
3007 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3011 eval "$ac_cv_use_libmspack"
3012 if test "$no_cache" != 1; then
3013 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3016 if test "$wxUSE_LIBMSPACK" = yes; then
3017 echo "$as_me:$LINENO: result: yes" >&5
3018 echo "${ECHO_T}yes" >&6
3020 echo "$as_me:$LINENO: result: no" >&5
3021 echo "${ECHO_T}no" >&6
3025 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3026 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3029 # Check whether --with-sdl or --without-sdl was given.
3030 if test "${with_sdl+set}" = set; then
3033 if test "$withval" = yes; then
3034 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3036 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3041 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3042 if test "x$LINE" != x
; then
3043 eval "DEFAULT_$LINE"
3048 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3052 eval "$ac_cv_use_sdl"
3053 if test "$no_cache" != 1; then
3054 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3057 if test "$wxUSE_LIBSDL" = yes; then
3058 echo "$as_me:$LINENO: result: yes" >&5
3059 echo "${ECHO_T}yes" >&6
3061 echo "$as_me:$LINENO: result: no" >&5
3062 echo "${ECHO_T}no" >&6
3066 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3067 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3070 # Check whether --with-opengl or --without-opengl was given.
3071 if test "${with_opengl+set}" = set; then
3072 withval
="$with_opengl"
3074 if test "$withval" = yes; then
3075 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3077 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3082 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3083 if test "x$LINE" != x
; then
3084 eval "DEFAULT_$LINE"
3089 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3093 eval "$ac_cv_use_opengl"
3094 if test "$no_cache" != 1; then
3095 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3098 if test "$wxUSE_OPENGL" = yes; then
3099 echo "$as_me:$LINENO: result: yes" >&5
3100 echo "${ECHO_T}yes" >&6
3102 echo "$as_me:$LINENO: result: no" >&5
3103 echo "${ECHO_T}no" >&6
3110 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3111 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3114 # Check whether --with-dmalloc or --without-dmalloc was given.
3115 if test "${with_dmalloc+set}" = set; then
3116 withval
="$with_dmalloc"
3118 if test "$withval" = yes; then
3119 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3121 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3126 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3127 if test "x$LINE" != x
; then
3128 eval "DEFAULT_$LINE"
3133 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3137 eval "$ac_cv_use_dmalloc"
3138 if test "$no_cache" != 1; then
3139 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3142 if test "$wxUSE_DMALLOC" = yes; then
3143 echo "$as_me:$LINENO: result: yes" >&5
3144 echo "${ECHO_T}yes" >&6
3146 echo "$as_me:$LINENO: result: no" >&5
3147 echo "${ECHO_T}no" >&6
3151 echo "$as_me:$LINENO: checking for --with-regex" >&5
3152 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3155 # Check whether --with-regex or --without-regex was given.
3156 if test "${with_regex+set}" = set; then
3157 withval
="$with_regex"
3159 if test "$withval" = yes; then
3160 ac_cv_use_regex
='wxUSE_REGEX=yes'
3161 elif test "$withval" = no
; then
3162 ac_cv_use_regex
='wxUSE_REGEX=no'
3163 elif test "$withval" = sys
; then
3164 ac_cv_use_regex
='wxUSE_REGEX=sys'
3165 elif test "$withval" = builtin; then
3166 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3168 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3169 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3170 { (exit 1); exit 1; }; }
3175 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3176 if test "x$LINE" != x
; then
3177 eval "DEFAULT_$LINE"
3182 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3186 eval "$ac_cv_use_regex"
3187 if test "$no_cache" != 1; then
3188 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3191 if test "$wxUSE_REGEX" = yes; then
3192 echo "$as_me:$LINENO: result: yes" >&5
3193 echo "${ECHO_T}yes" >&6
3194 elif test "$wxUSE_REGEX" = no
; then
3195 echo "$as_me:$LINENO: result: no" >&5
3196 echo "${ECHO_T}no" >&6
3197 elif test "$wxUSE_REGEX" = sys
; then
3198 echo "$as_me:$LINENO: result: system version" >&5
3199 echo "${ECHO_T}system version" >&6
3200 elif test "$wxUSE_REGEX" = builtin; then
3201 echo "$as_me:$LINENO: result: builtin version" >&5
3202 echo "${ECHO_T}builtin version" >&6
3204 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3205 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3206 { (exit 1); exit 1; }; }
3210 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3211 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3214 # Check whether --with-zlib or --without-zlib was given.
3215 if test "${with_zlib+set}" = set; then
3216 withval
="$with_zlib"
3218 if test "$withval" = yes; then
3219 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3220 elif test "$withval" = no
; then
3221 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3222 elif test "$withval" = sys
; then
3223 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3224 elif test "$withval" = builtin; then
3225 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3227 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3228 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3229 { (exit 1); exit 1; }; }
3234 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3235 if test "x$LINE" != x
; then
3236 eval "DEFAULT_$LINE"
3241 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3245 eval "$ac_cv_use_zlib"
3246 if test "$no_cache" != 1; then
3247 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3250 if test "$wxUSE_ZLIB" = yes; then
3251 echo "$as_me:$LINENO: result: yes" >&5
3252 echo "${ECHO_T}yes" >&6
3253 elif test "$wxUSE_ZLIB" = no
; then
3254 echo "$as_me:$LINENO: result: no" >&5
3255 echo "${ECHO_T}no" >&6
3256 elif test "$wxUSE_ZLIB" = sys
; then
3257 echo "$as_me:$LINENO: result: system version" >&5
3258 echo "${ECHO_T}system version" >&6
3259 elif test "$wxUSE_ZLIB" = builtin; then
3260 echo "$as_me:$LINENO: result: builtin version" >&5
3261 echo "${ECHO_T}builtin version" >&6
3263 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3264 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3265 { (exit 1); exit 1; }; }
3269 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3270 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3273 # Check whether --with-odbc or --without-odbc was given.
3274 if test "${with_odbc+set}" = set; then
3275 withval
="$with_odbc"
3277 if test "$withval" = yes; then
3278 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3279 elif test "$withval" = no
; then
3280 ac_cv_use_odbc
='wxUSE_ODBC=no'
3281 elif test "$withval" = sys
; then
3282 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3283 elif test "$withval" = builtin; then
3284 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3286 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3287 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3288 { (exit 1); exit 1; }; }
3293 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3294 if test "x$LINE" != x
; then
3295 eval "DEFAULT_$LINE"
3300 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3304 eval "$ac_cv_use_odbc"
3305 if test "$no_cache" != 1; then
3306 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3309 if test "$wxUSE_ODBC" = yes; then
3310 echo "$as_me:$LINENO: result: yes" >&5
3311 echo "${ECHO_T}yes" >&6
3312 elif test "$wxUSE_ODBC" = no
; then
3313 echo "$as_me:$LINENO: result: no" >&5
3314 echo "${ECHO_T}no" >&6
3315 elif test "$wxUSE_ODBC" = sys
; then
3316 echo "$as_me:$LINENO: result: system version" >&5
3317 echo "${ECHO_T}system version" >&6
3318 elif test "$wxUSE_ODBC" = builtin; then
3319 echo "$as_me:$LINENO: result: builtin version" >&5
3320 echo "${ECHO_T}builtin version" >&6
3322 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3323 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3324 { (exit 1); exit 1; }; }
3328 echo "$as_me:$LINENO: checking for --with-expat" >&5
3329 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3332 # Check whether --with-expat or --without-expat was given.
3333 if test "${with_expat+set}" = set; then
3334 withval
="$with_expat"
3336 if test "$withval" = yes; then
3337 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3338 elif test "$withval" = no
; then
3339 ac_cv_use_expat
='wxUSE_EXPAT=no'
3340 elif test "$withval" = sys
; then
3341 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3342 elif test "$withval" = builtin; then
3343 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3345 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3346 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3347 { (exit 1); exit 1; }; }
3352 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3353 if test "x$LINE" != x
; then
3354 eval "DEFAULT_$LINE"
3359 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3363 eval "$ac_cv_use_expat"
3364 if test "$no_cache" != 1; then
3365 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3368 if test "$wxUSE_EXPAT" = yes; then
3369 echo "$as_me:$LINENO: result: yes" >&5
3370 echo "${ECHO_T}yes" >&6
3371 elif test "$wxUSE_EXPAT" = no
; then
3372 echo "$as_me:$LINENO: result: no" >&5
3373 echo "${ECHO_T}no" >&6
3374 elif test "$wxUSE_EXPAT" = sys
; then
3375 echo "$as_me:$LINENO: result: system version" >&5
3376 echo "${ECHO_T}system version" >&6
3377 elif test "$wxUSE_EXPAT" = builtin; then
3378 echo "$as_me:$LINENO: result: builtin version" >&5
3379 echo "${ECHO_T}builtin version" >&6
3381 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3382 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3383 { (exit 1); exit 1; }; }
3390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3391 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3393 # Check whether --enable-shared or --disable-shared was given.
3394 if test "${enable_shared+set}" = set; then
3395 enableval
="$enable_shared"
3397 if test "$enableval" = yes; then
3398 ac_cv_use_shared
='wxUSE_SHARED=yes'
3400 ac_cv_use_shared
='wxUSE_SHARED=no'
3405 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3406 if test "x$LINE" != x
; then
3407 eval "DEFAULT_$LINE"
3412 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3416 eval "$ac_cv_use_shared"
3417 if test "$no_cache" != 1; then
3418 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3421 if test "$wxUSE_SHARED" = yes; then
3422 echo "$as_me:$LINENO: result: yes" >&5
3423 echo "${ECHO_T}yes" >&6
3425 echo "$as_me:$LINENO: result: no" >&5
3426 echo "${ECHO_T}no" >&6
3431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3432 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3434 # Check whether --enable-optimise or --disable-optimise was given.
3435 if test "${enable_optimise+set}" = set; then
3436 enableval
="$enable_optimise"
3438 if test "$enableval" = yes; then
3439 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3441 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3446 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3447 if test "x$LINE" != x
; then
3448 eval "DEFAULT_$LINE"
3453 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3457 eval "$ac_cv_use_optimise"
3458 if test "$no_cache" != 1; then
3459 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3462 if test "$wxUSE_OPTIMISE" = yes; then
3463 echo "$as_me:$LINENO: result: yes" >&5
3464 echo "${ECHO_T}yes" >&6
3466 echo "$as_me:$LINENO: result: no" >&5
3467 echo "${ECHO_T}no" >&6
3472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3473 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3475 # Check whether --enable-debug or --disable-debug was given.
3476 if test "${enable_debug+set}" = set; then
3477 enableval
="$enable_debug"
3479 if test "$enableval" = yes; then
3480 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3482 ac_cv_use_debug
='wxUSE_DEBUG=no'
3487 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3488 if test "x$LINE" != x
; then
3489 eval "DEFAULT_$LINE"
3494 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3498 eval "$ac_cv_use_debug"
3499 if test "$no_cache" != 1; then
3500 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3503 if test "$wxUSE_DEBUG" = yes; then
3504 echo "$as_me:$LINENO: result: yes" >&5
3505 echo "${ECHO_T}yes" >&6
3507 echo "$as_me:$LINENO: result: no" >&5
3508 echo "${ECHO_T}no" >&6
3513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3514 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3516 # Check whether --enable-stl or --disable-stl was given.
3517 if test "${enable_stl+set}" = set; then
3518 enableval
="$enable_stl"
3520 if test "$enableval" = yes; then
3521 ac_cv_use_stl
='wxUSE_STL=yes'
3523 ac_cv_use_stl
='wxUSE_STL=no'
3528 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3529 if test "x$LINE" != x
; then
3530 eval "DEFAULT_$LINE"
3535 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3539 eval "$ac_cv_use_stl"
3540 if test "$no_cache" != 1; then
3541 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3544 if test "$wxUSE_STL" = yes; then
3545 echo "$as_me:$LINENO: result: yes" >&5
3546 echo "${ECHO_T}yes" >&6
3548 echo "$as_me:$LINENO: result: no" >&5
3549 echo "${ECHO_T}no" >&6
3552 if test "$USE_OS2" = "1"; then
3555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3556 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3558 # Check whether --enable-omf or --disable-omf was given.
3559 if test "${enable_omf+set}" = set; then
3560 enableval
="$enable_omf"
3562 if test "$enableval" = yes; then
3563 ac_cv_use_omf
='wxUSE_OMF=yes'
3565 ac_cv_use_omf
='wxUSE_OMF=no'
3570 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3571 if test "x$LINE" != x
; then
3572 eval "DEFAULT_$LINE"
3577 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3581 eval "$ac_cv_use_omf"
3582 if test "$no_cache" != 1; then
3583 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3586 if test "$wxUSE_OMF" = yes; then
3587 echo "$as_me:$LINENO: result: yes" >&5
3588 echo "${ECHO_T}yes" >&6
3590 echo "$as_me:$LINENO: result: no" >&5
3591 echo "${ECHO_T}no" >&6
3596 if test "$wxUSE_DEBUG" = "yes"; then
3597 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3598 DEFAULT_wxUSE_DEBUG_INFO
=yes
3600 elif test "$wxUSE_DEBUG" = "no"; then
3601 DEFAULT_wxUSE_DEBUG_FLAG
=no
3602 DEFAULT_wxUSE_DEBUG_INFO
=no
3608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3609 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3611 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3612 if test "${enable_debug_flag+set}" = set; then
3613 enableval
="$enable_debug_flag"
3615 if test "$enableval" = yes; then
3616 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3618 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3623 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3624 if test "x$LINE" != x
; then
3625 eval "DEFAULT_$LINE"
3630 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3634 eval "$ac_cv_use_debug_flag"
3635 if test "$no_cache" != 1; then
3636 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3639 if test "$wxUSE_DEBUG_FLAG" = yes; then
3640 echo "$as_me:$LINENO: result: yes" >&5
3641 echo "${ECHO_T}yes" >&6
3643 echo "$as_me:$LINENO: result: no" >&5
3644 echo "${ECHO_T}no" >&6
3649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3650 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3652 # Check whether --enable-debug_info or --disable-debug_info was given.
3653 if test "${enable_debug_info+set}" = set; then
3654 enableval
="$enable_debug_info"
3656 if test "$enableval" = yes; then
3657 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3659 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3664 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3665 if test "x$LINE" != x
; then
3666 eval "DEFAULT_$LINE"
3671 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3675 eval "$ac_cv_use_debug_info"
3676 if test "$no_cache" != 1; then
3677 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3680 if test "$wxUSE_DEBUG_INFO" = yes; then
3681 echo "$as_me:$LINENO: result: yes" >&5
3682 echo "${ECHO_T}yes" >&6
3684 echo "$as_me:$LINENO: result: no" >&5
3685 echo "${ECHO_T}no" >&6
3690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3691 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3693 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3694 if test "${enable_debug_gdb+set}" = set; then
3695 enableval
="$enable_debug_gdb"
3697 if test "$enableval" = yes; then
3698 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3700 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3705 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3706 if test "x$LINE" != x
; then
3707 eval "DEFAULT_$LINE"
3712 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3716 eval "$ac_cv_use_debug_gdb"
3717 if test "$no_cache" != 1; then
3718 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3721 if test "$wxUSE_DEBUG_GDB" = yes; then
3722 echo "$as_me:$LINENO: result: yes" >&5
3723 echo "${ECHO_T}yes" >&6
3725 echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6
3731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3732 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3734 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3735 if test "${enable_debug_cntxt+set}" = set; then
3736 enableval
="$enable_debug_cntxt"
3738 if test "$enableval" = yes; then
3739 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3741 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3746 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3747 if test "x$LINE" != x
; then
3748 eval "DEFAULT_$LINE"
3753 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3757 eval "$ac_cv_use_debug_cntxt"
3758 if test "$no_cache" != 1; then
3759 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3762 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3763 echo "$as_me:$LINENO: result: yes" >&5
3764 echo "${ECHO_T}yes" >&6
3766 echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6
3772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3773 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3775 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3776 if test "${enable_mem_tracing+set}" = set; then
3777 enableval
="$enable_mem_tracing"
3779 if test "$enableval" = yes; then
3780 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3782 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3787 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3788 if test "x$LINE" != x
; then
3789 eval "DEFAULT_$LINE"
3794 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3798 eval "$ac_cv_use_mem_tracing"
3799 if test "$no_cache" != 1; then
3800 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3803 if test "$wxUSE_MEM_TRACING" = yes; then
3804 echo "$as_me:$LINENO: result: yes" >&5
3805 echo "${ECHO_T}yes" >&6
3807 echo "$as_me:$LINENO: result: no" >&5
3808 echo "${ECHO_T}no" >&6
3813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3814 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3816 # Check whether --enable-profile or --disable-profile was given.
3817 if test "${enable_profile+set}" = set; then
3818 enableval
="$enable_profile"
3820 if test "$enableval" = yes; then
3821 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3823 ac_cv_use_profile
='wxUSE_PROFILE=no'
3828 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3829 if test "x$LINE" != x
; then
3830 eval "DEFAULT_$LINE"
3835 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3839 eval "$ac_cv_use_profile"
3840 if test "$no_cache" != 1; then
3841 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3844 if test "$wxUSE_PROFILE" = yes; then
3845 echo "$as_me:$LINENO: result: yes" >&5
3846 echo "${ECHO_T}yes" >&6
3848 echo "$as_me:$LINENO: result: no" >&5
3849 echo "${ECHO_T}no" >&6
3854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3855 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3857 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3858 if test "${enable_no_rtti+set}" = set; then
3859 enableval
="$enable_no_rtti"
3861 if test "$enableval" = yes; then
3862 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3864 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3869 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3870 if test "x$LINE" != x
; then
3871 eval "DEFAULT_$LINE"
3876 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3880 eval "$ac_cv_use_no_rtti"
3881 if test "$no_cache" != 1; then
3882 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3885 if test "$wxUSE_NO_RTTI" = yes; then
3886 echo "$as_me:$LINENO: result: yes" >&5
3887 echo "${ECHO_T}yes" >&6
3889 echo "$as_me:$LINENO: result: no" >&5
3890 echo "${ECHO_T}no" >&6
3895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3896 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3898 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3899 if test "${enable_no_exceptions+set}" = set; then
3900 enableval
="$enable_no_exceptions"
3902 if test "$enableval" = yes; then
3903 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3905 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3910 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3911 if test "x$LINE" != x
; then
3912 eval "DEFAULT_$LINE"
3917 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3921 eval "$ac_cv_use_no_exceptions"
3922 if test "$no_cache" != 1; then
3923 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3926 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3927 echo "$as_me:$LINENO: result: yes" >&5
3928 echo "${ECHO_T}yes" >&6
3930 echo "$as_me:$LINENO: result: no" >&5
3931 echo "${ECHO_T}no" >&6
3936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3937 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3939 # Check whether --enable-permissive or --disable-permissive was given.
3940 if test "${enable_permissive+set}" = set; then
3941 enableval
="$enable_permissive"
3943 if test "$enableval" = yes; then
3944 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3946 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3951 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3952 if test "x$LINE" != x
; then
3953 eval "DEFAULT_$LINE"
3958 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3962 eval "$ac_cv_use_permissive"
3963 if test "$no_cache" != 1; then
3964 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3967 if test "$wxUSE_PERMISSIVE" = yes; then
3968 echo "$as_me:$LINENO: result: yes" >&5
3969 echo "${ECHO_T}yes" >&6
3971 echo "$as_me:$LINENO: result: no" >&5
3972 echo "${ECHO_T}no" >&6
3977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3978 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3980 # Check whether --enable-no_deps or --disable-no_deps was given.
3981 if test "${enable_no_deps+set}" = set; then
3982 enableval
="$enable_no_deps"
3984 if test "$enableval" = yes; then
3985 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3987 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
3992 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3993 if test "x$LINE" != x
; then
3994 eval "DEFAULT_$LINE"
3999 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4003 eval "$ac_cv_use_no_deps"
4004 if test "$no_cache" != 1; then
4005 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4008 if test "$wxUSE_NO_DEPS" = yes; then
4009 echo "$as_me:$LINENO: result: yes" >&5
4010 echo "${ECHO_T}yes" >&6
4012 echo "$as_me:$LINENO: result: no" >&5
4013 echo "${ECHO_T}no" >&6
4019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4020 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4022 # Check whether --enable-compat22 or --disable-compat22 was given.
4023 if test "${enable_compat22+set}" = set; then
4024 enableval
="$enable_compat22"
4026 if test "$enableval" = yes; then
4027 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4029 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4034 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4035 if test "x$LINE" != x
; then
4036 eval "DEFAULT_$LINE"
4041 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4045 eval "$ac_cv_use_compat22"
4046 if test "$no_cache" != 1; then
4047 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4050 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4051 echo "$as_me:$LINENO: result: yes" >&5
4052 echo "${ECHO_T}yes" >&6
4054 echo "$as_me:$LINENO: result: no" >&5
4055 echo "${ECHO_T}no" >&6
4059 enablestring
=disable
4060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4061 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4063 # Check whether --enable-compat24 or --disable-compat24 was given.
4064 if test "${enable_compat24+set}" = set; then
4065 enableval
="$enable_compat24"
4067 if test "$enableval" = yes; then
4068 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4070 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4075 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4076 if test "x$LINE" != x
; then
4077 eval "DEFAULT_$LINE"
4082 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4086 eval "$ac_cv_use_compat24"
4087 if test "$no_cache" != 1; then
4088 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4091 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4092 echo "$as_me:$LINENO: result: yes" >&5
4093 echo "${ECHO_T}yes" >&6
4095 echo "$as_me:$LINENO: result: no" >&5
4096 echo "${ECHO_T}no" >&6
4100 # Check whether --enable-rpath or --disable-rpath was given.
4101 if test "${enable_rpath+set}" = set; then
4102 enableval
="$enable_rpath"
4103 wxRPATH_DIR
="$enableval"
4106 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable" -a "$wxRPATH_DIR" != "no"; then
4107 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
4114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4115 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4117 # Check whether --enable-intl or --disable-intl was given.
4118 if test "${enable_intl+set}" = set; then
4119 enableval
="$enable_intl"
4121 if test "$enableval" = yes; then
4122 ac_cv_use_intl
='wxUSE_INTL=yes'
4124 ac_cv_use_intl
='wxUSE_INTL=no'
4129 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4130 if test "x$LINE" != x
; then
4131 eval "DEFAULT_$LINE"
4136 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4140 eval "$ac_cv_use_intl"
4141 if test "$no_cache" != 1; then
4142 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4145 if test "$wxUSE_INTL" = yes; then
4146 echo "$as_me:$LINENO: result: yes" >&5
4147 echo "${ECHO_T}yes" >&6
4149 echo "$as_me:$LINENO: result: no" >&5
4150 echo "${ECHO_T}no" >&6
4155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4156 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4158 # Check whether --enable-config or --disable-config was given.
4159 if test "${enable_config+set}" = set; then
4160 enableval
="$enable_config"
4162 if test "$enableval" = yes; then
4163 ac_cv_use_config
='wxUSE_CONFIG=yes'
4165 ac_cv_use_config
='wxUSE_CONFIG=no'
4170 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4171 if test "x$LINE" != x
; then
4172 eval "DEFAULT_$LINE"
4177 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4181 eval "$ac_cv_use_config"
4182 if test "$no_cache" != 1; then
4183 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4186 if test "$wxUSE_CONFIG" = yes; then
4187 echo "$as_me:$LINENO: result: yes" >&5
4188 echo "${ECHO_T}yes" >&6
4190 echo "$as_me:$LINENO: result: no" >&5
4191 echo "${ECHO_T}no" >&6
4197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4198 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4200 # Check whether --enable-protocols or --disable-protocols was given.
4201 if test "${enable_protocols+set}" = set; then
4202 enableval
="$enable_protocols"
4204 if test "$enableval" = yes; then
4205 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4207 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4212 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4213 if test "x$LINE" != x
; then
4214 eval "DEFAULT_$LINE"
4219 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4223 eval "$ac_cv_use_protocols"
4224 if test "$no_cache" != 1; then
4225 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4228 if test "$wxUSE_PROTOCOL" = yes; then
4229 echo "$as_me:$LINENO: result: yes" >&5
4230 echo "${ECHO_T}yes" >&6
4232 echo "$as_me:$LINENO: result: no" >&5
4233 echo "${ECHO_T}no" >&6
4238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4239 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4241 # Check whether --enable-ftp or --disable-ftp was given.
4242 if test "${enable_ftp+set}" = set; then
4243 enableval
="$enable_ftp"
4245 if test "$enableval" = yes; then
4246 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4248 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4253 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4254 if test "x$LINE" != x
; then
4255 eval "DEFAULT_$LINE"
4260 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4264 eval "$ac_cv_use_ftp"
4265 if test "$no_cache" != 1; then
4266 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4269 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4270 echo "$as_me:$LINENO: result: yes" >&5
4271 echo "${ECHO_T}yes" >&6
4273 echo "$as_me:$LINENO: result: no" >&5
4274 echo "${ECHO_T}no" >&6
4279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4280 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4282 # Check whether --enable-http or --disable-http was given.
4283 if test "${enable_http+set}" = set; then
4284 enableval
="$enable_http"
4286 if test "$enableval" = yes; then
4287 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4289 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4294 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4295 if test "x$LINE" != x
; then
4296 eval "DEFAULT_$LINE"
4301 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4305 eval "$ac_cv_use_http"
4306 if test "$no_cache" != 1; then
4307 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4310 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4311 echo "$as_me:$LINENO: result: yes" >&5
4312 echo "${ECHO_T}yes" >&6
4314 echo "$as_me:$LINENO: result: no" >&5
4315 echo "${ECHO_T}no" >&6
4320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4321 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4323 # Check whether --enable-fileproto or --disable-fileproto was given.
4324 if test "${enable_fileproto+set}" = set; then
4325 enableval
="$enable_fileproto"
4327 if test "$enableval" = yes; then
4328 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4330 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4335 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4336 if test "x$LINE" != x
; then
4337 eval "DEFAULT_$LINE"
4342 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4346 eval "$ac_cv_use_fileproto"
4347 if test "$no_cache" != 1; then
4348 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4351 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4352 echo "$as_me:$LINENO: result: yes" >&5
4353 echo "${ECHO_T}yes" >&6
4355 echo "$as_me:$LINENO: result: no" >&5
4356 echo "${ECHO_T}no" >&6
4361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4362 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4364 # Check whether --enable-sockets or --disable-sockets was given.
4365 if test "${enable_sockets+set}" = set; then
4366 enableval
="$enable_sockets"
4368 if test "$enableval" = yes; then
4369 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4371 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4376 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4377 if test "x$LINE" != x
; then
4378 eval "DEFAULT_$LINE"
4383 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4387 eval "$ac_cv_use_sockets"
4388 if test "$no_cache" != 1; then
4389 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4392 if test "$wxUSE_SOCKETS" = yes; then
4393 echo "$as_me:$LINENO: result: yes" >&5
4394 echo "${ECHO_T}yes" >&6
4396 echo "$as_me:$LINENO: result: no" >&5
4397 echo "${ECHO_T}no" >&6
4402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4403 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4405 # Check whether --enable-ole or --disable-ole was given.
4406 if test "${enable_ole+set}" = set; then
4407 enableval
="$enable_ole"
4409 if test "$enableval" = yes; then
4410 ac_cv_use_ole
='wxUSE_OLE=yes'
4412 ac_cv_use_ole
='wxUSE_OLE=no'
4417 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4418 if test "x$LINE" != x
; then
4419 eval "DEFAULT_$LINE"
4424 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4428 eval "$ac_cv_use_ole"
4429 if test "$no_cache" != 1; then
4430 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4433 if test "$wxUSE_OLE" = yes; then
4434 echo "$as_me:$LINENO: result: yes" >&5
4435 echo "${ECHO_T}yes" >&6
4437 echo "$as_me:$LINENO: result: no" >&5
4438 echo "${ECHO_T}no" >&6
4443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4444 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4446 # Check whether --enable-dataobj or --disable-dataobj was given.
4447 if test "${enable_dataobj+set}" = set; then
4448 enableval
="$enable_dataobj"
4450 if test "$enableval" = yes; then
4451 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4453 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4458 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4459 if test "x$LINE" != x
; then
4460 eval "DEFAULT_$LINE"
4465 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4469 eval "$ac_cv_use_dataobj"
4470 if test "$no_cache" != 1; then
4471 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4474 if test "$wxUSE_DATAOBJ" = yes; then
4475 echo "$as_me:$LINENO: result: yes" >&5
4476 echo "${ECHO_T}yes" >&6
4478 echo "$as_me:$LINENO: result: no" >&5
4479 echo "${ECHO_T}no" >&6
4485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4486 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4488 # Check whether --enable-ipc or --disable-ipc was given.
4489 if test "${enable_ipc+set}" = set; then
4490 enableval
="$enable_ipc"
4492 if test "$enableval" = yes; then
4493 ac_cv_use_ipc
='wxUSE_IPC=yes'
4495 ac_cv_use_ipc
='wxUSE_IPC=no'
4500 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4501 if test "x$LINE" != x
; then
4502 eval "DEFAULT_$LINE"
4507 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4511 eval "$ac_cv_use_ipc"
4512 if test "$no_cache" != 1; then
4513 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4516 if test "$wxUSE_IPC" = yes; then
4517 echo "$as_me:$LINENO: result: yes" >&5
4518 echo "${ECHO_T}yes" >&6
4520 echo "$as_me:$LINENO: result: no" >&5
4521 echo "${ECHO_T}no" >&6
4527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4528 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4530 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4531 if test "${enable_apple_ieee+set}" = set; then
4532 enableval
="$enable_apple_ieee"
4534 if test "$enableval" = yes; then
4535 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4537 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4542 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4543 if test "x$LINE" != x
; then
4544 eval "DEFAULT_$LINE"
4549 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4553 eval "$ac_cv_use_apple_ieee"
4554 if test "$no_cache" != 1; then
4555 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4558 if test "$wxUSE_APPLE_IEEE" = yes; then
4559 echo "$as_me:$LINENO: result: yes" >&5
4560 echo "${ECHO_T}yes" >&6
4562 echo "$as_me:$LINENO: result: no" >&5
4563 echo "${ECHO_T}no" >&6
4568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4569 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4571 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4572 if test "${enable_catch_segvs+set}" = set; then
4573 enableval
="$enable_catch_segvs"
4575 if test "$enableval" = yes; then
4576 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4578 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4583 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4584 if test "x$LINE" != x
; then
4585 eval "DEFAULT_$LINE"
4590 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4594 eval "$ac_cv_use_catch_segvs"
4595 if test "$no_cache" != 1; then
4596 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4599 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4600 echo "$as_me:$LINENO: result: yes" >&5
4601 echo "${ECHO_T}yes" >&6
4603 echo "$as_me:$LINENO: result: no" >&5
4604 echo "${ECHO_T}no" >&6
4609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4610 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4612 # Check whether --enable-cmdline or --disable-cmdline was given.
4613 if test "${enable_cmdline+set}" = set; then
4614 enableval
="$enable_cmdline"
4616 if test "$enableval" = yes; then
4617 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4619 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4624 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4625 if test "x$LINE" != x
; then
4626 eval "DEFAULT_$LINE"
4631 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4635 eval "$ac_cv_use_cmdline"
4636 if test "$no_cache" != 1; then
4637 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4640 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4641 echo "$as_me:$LINENO: result: yes" >&5
4642 echo "${ECHO_T}yes" >&6
4644 echo "$as_me:$LINENO: result: no" >&5
4645 echo "${ECHO_T}no" >&6
4650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4651 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4653 # Check whether --enable-datetime or --disable-datetime was given.
4654 if test "${enable_datetime+set}" = set; then
4655 enableval
="$enable_datetime"
4657 if test "$enableval" = yes; then
4658 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4660 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4665 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4666 if test "x$LINE" != x
; then
4667 eval "DEFAULT_$LINE"
4672 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4676 eval "$ac_cv_use_datetime"
4677 if test "$no_cache" != 1; then
4678 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4681 if test "$wxUSE_DATETIME" = yes; then
4682 echo "$as_me:$LINENO: result: yes" >&5
4683 echo "${ECHO_T}yes" >&6
4685 echo "$as_me:$LINENO: result: no" >&5
4686 echo "${ECHO_T}no" >&6
4691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4692 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4694 # Check whether --enable-dialupman or --disable-dialupman was given.
4695 if test "${enable_dialupman+set}" = set; then
4696 enableval
="$enable_dialupman"
4698 if test "$enableval" = yes; then
4699 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4701 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4706 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4707 if test "x$LINE" != x
; then
4708 eval "DEFAULT_$LINE"
4713 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4717 eval "$ac_cv_use_dialupman"
4718 if test "$no_cache" != 1; then
4719 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4722 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4723 echo "$as_me:$LINENO: result: yes" >&5
4724 echo "${ECHO_T}yes" >&6
4726 echo "$as_me:$LINENO: result: no" >&5
4727 echo "${ECHO_T}no" >&6
4732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4733 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4735 # Check whether --enable-dynlib or --disable-dynlib was given.
4736 if test "${enable_dynlib+set}" = set; then
4737 enableval
="$enable_dynlib"
4739 if test "$enableval" = yes; then
4740 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4742 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4747 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4748 if test "x$LINE" != x
; then
4749 eval "DEFAULT_$LINE"
4754 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4758 eval "$ac_cv_use_dynlib"
4759 if test "$no_cache" != 1; then
4760 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4763 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4764 echo "$as_me:$LINENO: result: yes" >&5
4765 echo "${ECHO_T}yes" >&6
4767 echo "$as_me:$LINENO: result: no" >&5
4768 echo "${ECHO_T}no" >&6
4773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4774 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4776 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4777 if test "${enable_dynamicloader+set}" = set; then
4778 enableval
="$enable_dynamicloader"
4780 if test "$enableval" = yes; then
4781 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4783 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4788 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4789 if test "x$LINE" != x
; then
4790 eval "DEFAULT_$LINE"
4795 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4799 eval "$ac_cv_use_dynamicloader"
4800 if test "$no_cache" != 1; then
4801 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4804 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4805 echo "$as_me:$LINENO: result: yes" >&5
4806 echo "${ECHO_T}yes" >&6
4808 echo "$as_me:$LINENO: result: no" >&5
4809 echo "${ECHO_T}no" >&6
4814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4815 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4817 # Check whether --enable-exceptions or --disable-exceptions was given.
4818 if test "${enable_exceptions+set}" = set; then
4819 enableval
="$enable_exceptions"
4821 if test "$enableval" = yes; then
4822 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4824 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4829 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4830 if test "x$LINE" != x
; then
4831 eval "DEFAULT_$LINE"
4836 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4840 eval "$ac_cv_use_exceptions"
4841 if test "$no_cache" != 1; then
4842 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4845 if test "$wxUSE_EXCEPTIONS" = yes; then
4846 echo "$as_me:$LINENO: result: yes" >&5
4847 echo "${ECHO_T}yes" >&6
4849 echo "$as_me:$LINENO: result: no" >&5
4850 echo "${ECHO_T}no" >&6
4855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4856 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4858 # Check whether --enable-ffile or --disable-ffile was given.
4859 if test "${enable_ffile+set}" = set; then
4860 enableval
="$enable_ffile"
4862 if test "$enableval" = yes; then
4863 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4865 ac_cv_use_ffile
='wxUSE_FFILE=no'
4870 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4871 if test "x$LINE" != x
; then
4872 eval "DEFAULT_$LINE"
4877 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4881 eval "$ac_cv_use_ffile"
4882 if test "$no_cache" != 1; then
4883 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4886 if test "$wxUSE_FFILE" = yes; then
4887 echo "$as_me:$LINENO: result: yes" >&5
4888 echo "${ECHO_T}yes" >&6
4890 echo "$as_me:$LINENO: result: no" >&5
4891 echo "${ECHO_T}no" >&6
4896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4897 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4899 # Check whether --enable-file or --disable-file was given.
4900 if test "${enable_file+set}" = set; then
4901 enableval
="$enable_file"
4903 if test "$enableval" = yes; then
4904 ac_cv_use_file
='wxUSE_FILE=yes'
4906 ac_cv_use_file
='wxUSE_FILE=no'
4911 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4912 if test "x$LINE" != x
; then
4913 eval "DEFAULT_$LINE"
4918 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4922 eval "$ac_cv_use_file"
4923 if test "$no_cache" != 1; then
4924 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4927 if test "$wxUSE_FILE" = yes; then
4928 echo "$as_me:$LINENO: result: yes" >&5
4929 echo "${ECHO_T}yes" >&6
4931 echo "$as_me:$LINENO: result: no" >&5
4932 echo "${ECHO_T}no" >&6
4937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4938 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4940 # Check whether --enable-filesystem or --disable-filesystem was given.
4941 if test "${enable_filesystem+set}" = set; then
4942 enableval
="$enable_filesystem"
4944 if test "$enableval" = yes; then
4945 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4947 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4952 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4953 if test "x$LINE" != x
; then
4954 eval "DEFAULT_$LINE"
4959 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4963 eval "$ac_cv_use_filesystem"
4964 if test "$no_cache" != 1; then
4965 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4968 if test "$wxUSE_FILESYSTEM" = yes; then
4969 echo "$as_me:$LINENO: result: yes" >&5
4970 echo "${ECHO_T}yes" >&6
4972 echo "$as_me:$LINENO: result: no" >&5
4973 echo "${ECHO_T}no" >&6
4978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4979 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4981 # Check whether --enable-fontmap or --disable-fontmap was given.
4982 if test "${enable_fontmap+set}" = set; then
4983 enableval
="$enable_fontmap"
4985 if test "$enableval" = yes; then
4986 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4988 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4993 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4994 if test "x$LINE" != x
; then
4995 eval "DEFAULT_$LINE"
5000 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5004 eval "$ac_cv_use_fontmap"
5005 if test "$no_cache" != 1; then
5006 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5009 if test "$wxUSE_FONTMAP" = yes; then
5010 echo "$as_me:$LINENO: result: yes" >&5
5011 echo "${ECHO_T}yes" >&6
5013 echo "$as_me:$LINENO: result: no" >&5
5014 echo "${ECHO_T}no" >&6
5019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5020 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5022 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5023 if test "${enable_fs_inet+set}" = set; then
5024 enableval
="$enable_fs_inet"
5026 if test "$enableval" = yes; then
5027 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5029 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5034 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5035 if test "x$LINE" != x
; then
5036 eval "DEFAULT_$LINE"
5041 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5045 eval "$ac_cv_use_fs_inet"
5046 if test "$no_cache" != 1; then
5047 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5050 if test "$wxUSE_FS_INET" = yes; then
5051 echo "$as_me:$LINENO: result: yes" >&5
5052 echo "${ECHO_T}yes" >&6
5054 echo "$as_me:$LINENO: result: no" >&5
5055 echo "${ECHO_T}no" >&6
5060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5061 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5063 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5064 if test "${enable_fs_zip+set}" = set; then
5065 enableval
="$enable_fs_zip"
5067 if test "$enableval" = yes; then
5068 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5070 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5075 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5076 if test "x$LINE" != x
; then
5077 eval "DEFAULT_$LINE"
5082 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5086 eval "$ac_cv_use_fs_zip"
5087 if test "$no_cache" != 1; then
5088 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5091 if test "$wxUSE_FS_ZIP" = yes; then
5092 echo "$as_me:$LINENO: result: yes" >&5
5093 echo "${ECHO_T}yes" >&6
5095 echo "$as_me:$LINENO: result: no" >&5
5096 echo "${ECHO_T}no" >&6
5101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5102 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5104 # Check whether --enable-geometry or --disable-geometry was given.
5105 if test "${enable_geometry+set}" = set; then
5106 enableval
="$enable_geometry"
5108 if test "$enableval" = yes; then
5109 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5111 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5116 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5117 if test "x$LINE" != x
; then
5118 eval "DEFAULT_$LINE"
5123 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5127 eval "$ac_cv_use_geometry"
5128 if test "$no_cache" != 1; then
5129 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5132 if test "$wxUSE_GEOMETRY" = yes; then
5133 echo "$as_me:$LINENO: result: yes" >&5
5134 echo "${ECHO_T}yes" >&6
5136 echo "$as_me:$LINENO: result: no" >&5
5137 echo "${ECHO_T}no" >&6
5142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5143 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5145 # Check whether --enable-log or --disable-log was given.
5146 if test "${enable_log+set}" = set; then
5147 enableval
="$enable_log"
5149 if test "$enableval" = yes; then
5150 ac_cv_use_log
='wxUSE_LOG=yes'
5152 ac_cv_use_log
='wxUSE_LOG=no'
5157 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5158 if test "x$LINE" != x
; then
5159 eval "DEFAULT_$LINE"
5164 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5168 eval "$ac_cv_use_log"
5169 if test "$no_cache" != 1; then
5170 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5173 if test "$wxUSE_LOG" = yes; then
5174 echo "$as_me:$LINENO: result: yes" >&5
5175 echo "${ECHO_T}yes" >&6
5177 echo "$as_me:$LINENO: result: no" >&5
5178 echo "${ECHO_T}no" >&6
5183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5184 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5186 # Check whether --enable-longlong or --disable-longlong was given.
5187 if test "${enable_longlong+set}" = set; then
5188 enableval
="$enable_longlong"
5190 if test "$enableval" = yes; then
5191 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5193 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5198 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5199 if test "x$LINE" != x
; then
5200 eval "DEFAULT_$LINE"
5205 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5209 eval "$ac_cv_use_longlong"
5210 if test "$no_cache" != 1; then
5211 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5214 if test "$wxUSE_LONGLONG" = yes; then
5215 echo "$as_me:$LINENO: result: yes" >&5
5216 echo "${ECHO_T}yes" >&6
5218 echo "$as_me:$LINENO: result: no" >&5
5219 echo "${ECHO_T}no" >&6
5224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5225 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5227 # Check whether --enable-mimetype or --disable-mimetype was given.
5228 if test "${enable_mimetype+set}" = set; then
5229 enableval
="$enable_mimetype"
5231 if test "$enableval" = yes; then
5232 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5234 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5239 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5240 if test "x$LINE" != x
; then
5241 eval "DEFAULT_$LINE"
5246 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5250 eval "$ac_cv_use_mimetype"
5251 if test "$no_cache" != 1; then
5252 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5255 if test "$wxUSE_MIMETYPE" = yes; then
5256 echo "$as_me:$LINENO: result: yes" >&5
5257 echo "${ECHO_T}yes" >&6
5259 echo "$as_me:$LINENO: result: no" >&5
5260 echo "${ECHO_T}no" >&6
5265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5266 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5268 # Check whether --enable-mslu or --disable-mslu was given.
5269 if test "${enable_mslu+set}" = set; then
5270 enableval
="$enable_mslu"
5272 if test "$enableval" = yes; then
5273 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5275 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5280 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5281 if test "x$LINE" != x
; then
5282 eval "DEFAULT_$LINE"
5287 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5291 eval "$ac_cv_use_mslu"
5292 if test "$no_cache" != 1; then
5293 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5296 if test "$wxUSE_UNICODE_MSLU" = yes; then
5297 echo "$as_me:$LINENO: result: yes" >&5
5298 echo "${ECHO_T}yes" >&6
5300 echo "$as_me:$LINENO: result: no" >&5
5301 echo "${ECHO_T}no" >&6
5306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5307 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5309 # Check whether --enable-snglinst or --disable-snglinst was given.
5310 if test "${enable_snglinst+set}" = set; then
5311 enableval
="$enable_snglinst"
5313 if test "$enableval" = yes; then
5314 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5316 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5321 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5322 if test "x$LINE" != x
; then
5323 eval "DEFAULT_$LINE"
5328 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5332 eval "$ac_cv_use_snglinst"
5333 if test "$no_cache" != 1; then
5334 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5337 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5338 echo "$as_me:$LINENO: result: yes" >&5
5339 echo "${ECHO_T}yes" >&6
5341 echo "$as_me:$LINENO: result: no" >&5
5342 echo "${ECHO_T}no" >&6
5347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5348 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5350 # Check whether --enable-streams or --disable-streams was given.
5351 if test "${enable_streams+set}" = set; then
5352 enableval
="$enable_streams"
5354 if test "$enableval" = yes; then
5355 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5357 ac_cv_use_streams
='wxUSE_STREAMS=no'
5362 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5363 if test "x$LINE" != x
; then
5364 eval "DEFAULT_$LINE"
5369 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5373 eval "$ac_cv_use_streams"
5374 if test "$no_cache" != 1; then
5375 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5378 if test "$wxUSE_STREAMS" = yes; then
5379 echo "$as_me:$LINENO: result: yes" >&5
5380 echo "${ECHO_T}yes" >&6
5382 echo "$as_me:$LINENO: result: no" >&5
5383 echo "${ECHO_T}no" >&6
5388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5389 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5391 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5392 if test "${enable_std_iostreams+set}" = set; then
5393 enableval
="$enable_std_iostreams"
5395 if test "$enableval" = yes; then
5396 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5398 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5403 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5404 if test "x$LINE" != x
; then
5405 eval "DEFAULT_$LINE"
5410 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5414 eval "$ac_cv_use_std_iostreams"
5415 if test "$no_cache" != 1; then
5416 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5419 if test "$wxUSE_STD_IOSTREAM" = yes; then
5420 echo "$as_me:$LINENO: result: yes" >&5
5421 echo "${ECHO_T}yes" >&6
5423 echo "$as_me:$LINENO: result: no" >&5
5424 echo "${ECHO_T}no" >&6
5429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5430 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5432 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5433 if test "${enable_stopwatch+set}" = set; then
5434 enableval
="$enable_stopwatch"
5436 if test "$enableval" = yes; then
5437 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5439 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5444 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5445 if test "x$LINE" != x
; then
5446 eval "DEFAULT_$LINE"
5451 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5455 eval "$ac_cv_use_stopwatch"
5456 if test "$no_cache" != 1; then
5457 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5460 if test "$wxUSE_STOPWATCH" = yes; then
5461 echo "$as_me:$LINENO: result: yes" >&5
5462 echo "${ECHO_T}yes" >&6
5464 echo "$as_me:$LINENO: result: no" >&5
5465 echo "${ECHO_T}no" >&6
5470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5471 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5473 # Check whether --enable-system_options or --disable-system_options was given.
5474 if test "${enable_system_options+set}" = set; then
5475 enableval
="$enable_system_options"
5477 if test "$enableval" = yes; then
5478 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5480 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5485 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5486 if test "x$LINE" != x
; then
5487 eval "DEFAULT_$LINE"
5492 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5496 eval "$ac_cv_use_system_options"
5497 if test "$no_cache" != 1; then
5498 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5501 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5502 echo "$as_me:$LINENO: result: yes" >&5
5503 echo "${ECHO_T}yes" >&6
5505 echo "$as_me:$LINENO: result: no" >&5
5506 echo "${ECHO_T}no" >&6
5511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5512 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5514 # Check whether --enable-textbuf or --disable-textbuf was given.
5515 if test "${enable_textbuf+set}" = set; then
5516 enableval
="$enable_textbuf"
5518 if test "$enableval" = yes; then
5519 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5521 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5526 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5527 if test "x$LINE" != x
; then
5528 eval "DEFAULT_$LINE"
5533 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5537 eval "$ac_cv_use_textbuf"
5538 if test "$no_cache" != 1; then
5539 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5542 if test "$wxUSE_TEXTBUFFER" = yes; then
5543 echo "$as_me:$LINENO: result: yes" >&5
5544 echo "${ECHO_T}yes" >&6
5546 echo "$as_me:$LINENO: result: no" >&5
5547 echo "${ECHO_T}no" >&6
5552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5553 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5555 # Check whether --enable-textfile or --disable-textfile was given.
5556 if test "${enable_textfile+set}" = set; then
5557 enableval
="$enable_textfile"
5559 if test "$enableval" = yes; then
5560 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5562 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5567 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5568 if test "x$LINE" != x
; then
5569 eval "DEFAULT_$LINE"
5574 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5578 eval "$ac_cv_use_textfile"
5579 if test "$no_cache" != 1; then
5580 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5583 if test "$wxUSE_TEXTFILE" = yes; then
5584 echo "$as_me:$LINENO: result: yes" >&5
5585 echo "${ECHO_T}yes" >&6
5587 echo "$as_me:$LINENO: result: no" >&5
5588 echo "${ECHO_T}no" >&6
5593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5594 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5596 # Check whether --enable-timer or --disable-timer was given.
5597 if test "${enable_timer+set}" = set; then
5598 enableval
="$enable_timer"
5600 if test "$enableval" = yes; then
5601 ac_cv_use_timer
='wxUSE_TIMER=yes'
5603 ac_cv_use_timer
='wxUSE_TIMER=no'
5608 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5609 if test "x$LINE" != x
; then
5610 eval "DEFAULT_$LINE"
5615 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5619 eval "$ac_cv_use_timer"
5620 if test "$no_cache" != 1; then
5621 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5624 if test "$wxUSE_TIMER" = yes; then
5625 echo "$as_me:$LINENO: result: yes" >&5
5626 echo "${ECHO_T}yes" >&6
5628 echo "$as_me:$LINENO: result: no" >&5
5629 echo "${ECHO_T}no" >&6
5634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5635 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5637 # Check whether --enable-unicode or --disable-unicode was given.
5638 if test "${enable_unicode+set}" = set; then
5639 enableval
="$enable_unicode"
5641 if test "$enableval" = yes; then
5642 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5644 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5649 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5650 if test "x$LINE" != x
; then
5651 eval "DEFAULT_$LINE"
5656 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5660 eval "$ac_cv_use_unicode"
5661 if test "$no_cache" != 1; then
5662 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5665 if test "$wxUSE_UNICODE" = yes; then
5666 echo "$as_me:$LINENO: result: yes" >&5
5667 echo "${ECHO_T}yes" >&6
5669 echo "$as_me:$LINENO: result: no" >&5
5670 echo "${ECHO_T}no" >&6
5675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5676 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5678 # Check whether --enable-sound or --disable-sound was given.
5679 if test "${enable_sound+set}" = set; then
5680 enableval
="$enable_sound"
5682 if test "$enableval" = yes; then
5683 ac_cv_use_sound
='wxUSE_SOUND=yes'
5685 ac_cv_use_sound
='wxUSE_SOUND=no'
5690 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5691 if test "x$LINE" != x
; then
5692 eval "DEFAULT_$LINE"
5697 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5701 eval "$ac_cv_use_sound"
5702 if test "$no_cache" != 1; then
5703 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5706 if test "$wxUSE_SOUND" = yes; then
5707 echo "$as_me:$LINENO: result: yes" >&5
5708 echo "${ECHO_T}yes" >&6
5710 echo "$as_me:$LINENO: result: no" >&5
5711 echo "${ECHO_T}no" >&6
5716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5717 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5719 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5720 if test "${enable_wxprintfv+set}" = set; then
5721 enableval
="$enable_wxprintfv"
5723 if test "$enableval" = yes; then
5724 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5726 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5731 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5732 if test "x$LINE" != x
; then
5733 eval "DEFAULT_$LINE"
5738 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5742 eval "$ac_cv_use_wxprintfv"
5743 if test "$no_cache" != 1; then
5744 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5747 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5748 echo "$as_me:$LINENO: result: yes" >&5
5749 echo "${ECHO_T}yes" >&6
5751 echo "$as_me:$LINENO: result: no" >&5
5752 echo "${ECHO_T}no" >&6
5757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5758 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5760 # Check whether --enable-zipstream or --disable-zipstream was given.
5761 if test "${enable_zipstream+set}" = set; then
5762 enableval
="$enable_zipstream"
5764 if test "$enableval" = yes; then
5765 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5767 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5772 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5773 if test "x$LINE" != x
; then
5774 eval "DEFAULT_$LINE"
5779 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5783 eval "$ac_cv_use_zipstream"
5784 if test "$no_cache" != 1; then
5785 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5788 if test "$wxUSE_ZIPSTREAM" = yes; then
5789 echo "$as_me:$LINENO: result: yes" >&5
5790 echo "${ECHO_T}yes" >&6
5792 echo "$as_me:$LINENO: result: no" >&5
5793 echo "${ECHO_T}no" >&6
5799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5800 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5802 # Check whether --enable-url or --disable-url was given.
5803 if test "${enable_url+set}" = set; then
5804 enableval
="$enable_url"
5806 if test "$enableval" = yes; then
5807 ac_cv_use_url
='wxUSE_URL=yes'
5809 ac_cv_use_url
='wxUSE_URL=no'
5814 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5815 if test "x$LINE" != x
; then
5816 eval "DEFAULT_$LINE"
5821 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5825 eval "$ac_cv_use_url"
5826 if test "$no_cache" != 1; then
5827 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5830 if test "$wxUSE_URL" = yes; then
5831 echo "$as_me:$LINENO: result: yes" >&5
5832 echo "${ECHO_T}yes" >&6
5834 echo "$as_me:$LINENO: result: no" >&5
5835 echo "${ECHO_T}no" >&6
5840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5841 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5843 # Check whether --enable-protocol or --disable-protocol was given.
5844 if test "${enable_protocol+set}" = set; then
5845 enableval
="$enable_protocol"
5847 if test "$enableval" = yes; then
5848 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5850 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5855 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5856 if test "x$LINE" != x
; then
5857 eval "DEFAULT_$LINE"
5862 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5866 eval "$ac_cv_use_protocol"
5867 if test "$no_cache" != 1; then
5868 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5871 if test "$wxUSE_PROTOCOL" = yes; then
5872 echo "$as_me:$LINENO: result: yes" >&5
5873 echo "${ECHO_T}yes" >&6
5875 echo "$as_me:$LINENO: result: no" >&5
5876 echo "${ECHO_T}no" >&6
5881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5882 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5884 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5885 if test "${enable_protocol_http+set}" = set; then
5886 enableval
="$enable_protocol_http"
5888 if test "$enableval" = yes; then
5889 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5891 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5896 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5897 if test "x$LINE" != x
; then
5898 eval "DEFAULT_$LINE"
5903 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5907 eval "$ac_cv_use_protocol_http"
5908 if test "$no_cache" != 1; then
5909 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5912 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5913 echo "$as_me:$LINENO: result: yes" >&5
5914 echo "${ECHO_T}yes" >&6
5916 echo "$as_me:$LINENO: result: no" >&5
5917 echo "${ECHO_T}no" >&6
5922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5923 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5925 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5926 if test "${enable_protocol_ftp+set}" = set; then
5927 enableval
="$enable_protocol_ftp"
5929 if test "$enableval" = yes; then
5930 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5932 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5937 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5938 if test "x$LINE" != x
; then
5939 eval "DEFAULT_$LINE"
5944 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5948 eval "$ac_cv_use_protocol_ftp"
5949 if test "$no_cache" != 1; then
5950 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5953 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5954 echo "$as_me:$LINENO: result: yes" >&5
5955 echo "${ECHO_T}yes" >&6
5957 echo "$as_me:$LINENO: result: no" >&5
5958 echo "${ECHO_T}no" >&6
5963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5964 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5966 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5967 if test "${enable_protocol_file+set}" = set; then
5968 enableval
="$enable_protocol_file"
5970 if test "$enableval" = yes; then
5971 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
5973 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
5978 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5979 if test "x$LINE" != x
; then
5980 eval "DEFAULT_$LINE"
5985 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5989 eval "$ac_cv_use_protocol_file"
5990 if test "$no_cache" != 1; then
5991 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5994 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5995 echo "$as_me:$LINENO: result: yes" >&5
5996 echo "${ECHO_T}yes" >&6
5998 echo "$as_me:$LINENO: result: no" >&5
5999 echo "${ECHO_T}no" >&6
6007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6008 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6010 # Check whether --enable-threads or --disable-threads was given.
6011 if test "${enable_threads+set}" = set; then
6012 enableval
="$enable_threads"
6014 if test "$enableval" = yes; then
6015 ac_cv_use_threads
='wxUSE_THREADS=yes'
6017 ac_cv_use_threads
='wxUSE_THREADS=no'
6022 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6023 if test "x$LINE" != x
; then
6024 eval "DEFAULT_$LINE"
6029 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6033 eval "$ac_cv_use_threads"
6034 if test "$no_cache" != 1; then
6035 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6038 if test "$wxUSE_THREADS" = yes; then
6039 echo "$as_me:$LINENO: result: yes" >&5
6040 echo "${ECHO_T}yes" >&6
6042 echo "$as_me:$LINENO: result: no" >&5
6043 echo "${ECHO_T}no" >&6
6047 if test "$wxUSE_GUI" = "yes"; then
6052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6053 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6055 # Check whether --enable-docview or --disable-docview was given.
6056 if test "${enable_docview+set}" = set; then
6057 enableval
="$enable_docview"
6059 if test "$enableval" = yes; then
6060 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6062 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6067 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6068 if test "x$LINE" != x
; then
6069 eval "DEFAULT_$LINE"
6074 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6078 eval "$ac_cv_use_docview"
6079 if test "$no_cache" != 1; then
6080 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6083 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6084 echo "$as_me:$LINENO: result: yes" >&5
6085 echo "${ECHO_T}yes" >&6
6087 echo "$as_me:$LINENO: result: no" >&5
6088 echo "${ECHO_T}no" >&6
6093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6094 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6096 # Check whether --enable-help or --disable-help was given.
6097 if test "${enable_help+set}" = set; then
6098 enableval
="$enable_help"
6100 if test "$enableval" = yes; then
6101 ac_cv_use_help
='wxUSE_HELP=yes'
6103 ac_cv_use_help
='wxUSE_HELP=no'
6108 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6109 if test "x$LINE" != x
; then
6110 eval "DEFAULT_$LINE"
6115 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6119 eval "$ac_cv_use_help"
6120 if test "$no_cache" != 1; then
6121 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6124 if test "$wxUSE_HELP" = yes; then
6125 echo "$as_me:$LINENO: result: yes" >&5
6126 echo "${ECHO_T}yes" >&6
6128 echo "$as_me:$LINENO: result: no" >&5
6129 echo "${ECHO_T}no" >&6
6134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6135 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6137 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6138 if test "${enable_mshtmlhelp+set}" = set; then
6139 enableval
="$enable_mshtmlhelp"
6141 if test "$enableval" = yes; then
6142 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6144 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6149 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6150 if test "x$LINE" != x
; then
6151 eval "DEFAULT_$LINE"
6156 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6160 eval "$ac_cv_use_mshtmlhelp"
6161 if test "$no_cache" != 1; then
6162 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6165 if test "$wxUSE_MS_HTML_HELP" = yes; then
6166 echo "$as_me:$LINENO: result: yes" >&5
6167 echo "${ECHO_T}yes" >&6
6169 echo "$as_me:$LINENO: result: no" >&5
6170 echo "${ECHO_T}no" >&6
6175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6176 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6178 # Check whether --enable-html or --disable-html was given.
6179 if test "${enable_html+set}" = set; then
6180 enableval
="$enable_html"
6182 if test "$enableval" = yes; then
6183 ac_cv_use_html
='wxUSE_HTML=yes'
6185 ac_cv_use_html
='wxUSE_HTML=no'
6190 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6191 if test "x$LINE" != x
; then
6192 eval "DEFAULT_$LINE"
6197 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6201 eval "$ac_cv_use_html"
6202 if test "$no_cache" != 1; then
6203 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6206 if test "$wxUSE_HTML" = yes; then
6207 echo "$as_me:$LINENO: result: yes" >&5
6208 echo "${ECHO_T}yes" >&6
6210 echo "$as_me:$LINENO: result: no" >&5
6211 echo "${ECHO_T}no" >&6
6216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6217 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6219 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6220 if test "${enable_htmlhelp+set}" = set; then
6221 enableval
="$enable_htmlhelp"
6223 if test "$enableval" = yes; then
6224 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6226 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6231 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6232 if test "x$LINE" != x
; then
6233 eval "DEFAULT_$LINE"
6238 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6242 eval "$ac_cv_use_htmlhelp"
6243 if test "$no_cache" != 1; then
6244 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6247 if test "$wxUSE_WXHTML_HELP" = yes; then
6248 echo "$as_me:$LINENO: result: yes" >&5
6249 echo "${ECHO_T}yes" >&6
6251 echo "$as_me:$LINENO: result: no" >&5
6252 echo "${ECHO_T}no" >&6
6257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6258 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6260 # Check whether --enable-constraints or --disable-constraints was given.
6261 if test "${enable_constraints+set}" = set; then
6262 enableval
="$enable_constraints"
6264 if test "$enableval" = yes; then
6265 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6267 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6272 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6273 if test "x$LINE" != x
; then
6274 eval "DEFAULT_$LINE"
6279 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6283 eval "$ac_cv_use_constraints"
6284 if test "$no_cache" != 1; then
6285 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6288 if test "$wxUSE_CONSTRAINTS" = yes; then
6289 echo "$as_me:$LINENO: result: yes" >&5
6290 echo "${ECHO_T}yes" >&6
6292 echo "$as_me:$LINENO: result: no" >&5
6293 echo "${ECHO_T}no" >&6
6298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6299 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6301 # Check whether --enable-printarch or --disable-printarch was given.
6302 if test "${enable_printarch+set}" = set; then
6303 enableval
="$enable_printarch"
6305 if test "$enableval" = yes; then
6306 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6308 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6313 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6314 if test "x$LINE" != x
; then
6315 eval "DEFAULT_$LINE"
6320 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6324 eval "$ac_cv_use_printarch"
6325 if test "$no_cache" != 1; then
6326 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6329 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6330 echo "$as_me:$LINENO: result: yes" >&5
6331 echo "${ECHO_T}yes" >&6
6333 echo "$as_me:$LINENO: result: no" >&5
6334 echo "${ECHO_T}no" >&6
6339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6340 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6342 # Check whether --enable-mdi or --disable-mdi was given.
6343 if test "${enable_mdi+set}" = set; then
6344 enableval
="$enable_mdi"
6346 if test "$enableval" = yes; then
6347 ac_cv_use_mdi
='wxUSE_MDI=yes'
6349 ac_cv_use_mdi
='wxUSE_MDI=no'
6354 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6355 if test "x$LINE" != x
; then
6356 eval "DEFAULT_$LINE"
6361 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6365 eval "$ac_cv_use_mdi"
6366 if test "$no_cache" != 1; then
6367 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6370 if test "$wxUSE_MDI" = yes; then
6371 echo "$as_me:$LINENO: result: yes" >&5
6372 echo "${ECHO_T}yes" >&6
6374 echo "$as_me:$LINENO: result: no" >&5
6375 echo "${ECHO_T}no" >&6
6380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6381 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6383 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6384 if test "${enable_mdidoc+set}" = set; then
6385 enableval
="$enable_mdidoc"
6387 if test "$enableval" = yes; then
6388 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6390 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6395 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6396 if test "x$LINE" != x
; then
6397 eval "DEFAULT_$LINE"
6402 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6406 eval "$ac_cv_use_mdidoc"
6407 if test "$no_cache" != 1; then
6408 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6411 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6412 echo "$as_me:$LINENO: result: yes" >&5
6413 echo "${ECHO_T}yes" >&6
6415 echo "$as_me:$LINENO: result: no" >&5
6416 echo "${ECHO_T}no" >&6
6421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6422 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6424 # Check whether --enable-loggui or --disable-loggui was given.
6425 if test "${enable_loggui+set}" = set; then
6426 enableval
="$enable_loggui"
6428 if test "$enableval" = yes; then
6429 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6431 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6436 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6437 if test "x$LINE" != x
; then
6438 eval "DEFAULT_$LINE"
6443 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6447 eval "$ac_cv_use_loggui"
6448 if test "$no_cache" != 1; then
6449 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6452 if test "$wxUSE_LOGGUI" = yes; then
6453 echo "$as_me:$LINENO: result: yes" >&5
6454 echo "${ECHO_T}yes" >&6
6456 echo "$as_me:$LINENO: result: no" >&5
6457 echo "${ECHO_T}no" >&6
6462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6463 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6465 # Check whether --enable-logwin or --disable-logwin was given.
6466 if test "${enable_logwin+set}" = set; then
6467 enableval
="$enable_logwin"
6469 if test "$enableval" = yes; then
6470 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6472 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6477 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6478 if test "x$LINE" != x
; then
6479 eval "DEFAULT_$LINE"
6484 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6488 eval "$ac_cv_use_logwin"
6489 if test "$no_cache" != 1; then
6490 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6493 if test "$wxUSE_LOGWINDOW" = yes; then
6494 echo "$as_me:$LINENO: result: yes" >&5
6495 echo "${ECHO_T}yes" >&6
6497 echo "$as_me:$LINENO: result: no" >&5
6498 echo "${ECHO_T}no" >&6
6503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6504 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6506 # Check whether --enable-logdialog or --disable-logdialog was given.
6507 if test "${enable_logdialog+set}" = set; then
6508 enableval
="$enable_logdialog"
6510 if test "$enableval" = yes; then
6511 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6513 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6518 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6519 if test "x$LINE" != x
; then
6520 eval "DEFAULT_$LINE"
6525 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6529 eval "$ac_cv_use_logdialog"
6530 if test "$no_cache" != 1; then
6531 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6534 if test "$wxUSE_LOGDIALOG" = yes; then
6535 echo "$as_me:$LINENO: result: yes" >&5
6536 echo "${ECHO_T}yes" >&6
6538 echo "$as_me:$LINENO: result: no" >&5
6539 echo "${ECHO_T}no" >&6
6544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6545 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6547 # Check whether --enable-webkit or --disable-webkit was given.
6548 if test "${enable_webkit+set}" = set; then
6549 enableval
="$enable_webkit"
6551 if test "$enableval" = yes; then
6552 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6554 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6559 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6560 if test "x$LINE" != x
; then
6561 eval "DEFAULT_$LINE"
6566 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6570 eval "$ac_cv_use_webkit"
6571 if test "$no_cache" != 1; then
6572 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6575 if test "$wxUSE_WEBKIT" = yes; then
6576 echo "$as_me:$LINENO: result: yes" >&5
6577 echo "${ECHO_T}yes" >&6
6579 echo "$as_me:$LINENO: result: no" >&5
6580 echo "${ECHO_T}no" >&6
6586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6587 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6589 # Check whether --enable-postscript or --disable-postscript was given.
6590 if test "${enable_postscript+set}" = set; then
6591 enableval
="$enable_postscript"
6593 if test "$enableval" = yes; then
6594 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6596 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6601 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6602 if test "x$LINE" != x
; then
6603 eval "DEFAULT_$LINE"
6608 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6612 eval "$ac_cv_use_postscript"
6613 if test "$no_cache" != 1; then
6614 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6617 if test "$wxUSE_POSTSCRIPT" = yes; then
6618 echo "$as_me:$LINENO: result: yes" >&5
6619 echo "${ECHO_T}yes" >&6
6621 echo "$as_me:$LINENO: result: no" >&5
6622 echo "${ECHO_T}no" >&6
6630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6631 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6633 # Check whether --enable-prologio or --disable-prologio was given.
6634 if test "${enable_prologio+set}" = set; then
6635 enableval
="$enable_prologio"
6637 if test "$enableval" = yes; then
6638 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6640 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6645 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6646 if test "x$LINE" != x
; then
6647 eval "DEFAULT_$LINE"
6652 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6656 eval "$ac_cv_use_prologio"
6657 if test "$no_cache" != 1; then
6658 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6661 if test "$wxUSE_PROLOGIO" = yes; then
6662 echo "$as_me:$LINENO: result: yes" >&5
6663 echo "${ECHO_T}yes" >&6
6665 echo "$as_me:$LINENO: result: no" >&5
6666 echo "${ECHO_T}no" >&6
6671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6672 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6674 # Check whether --enable-resources or --disable-resources was given.
6675 if test "${enable_resources+set}" = set; then
6676 enableval
="$enable_resources"
6678 if test "$enableval" = yes; then
6679 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6681 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6686 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6687 if test "x$LINE" != x
; then
6688 eval "DEFAULT_$LINE"
6693 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6697 eval "$ac_cv_use_resources"
6698 if test "$no_cache" != 1; then
6699 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6702 if test "$wxUSE_RESOURCES" = yes; then
6703 echo "$as_me:$LINENO: result: yes" >&5
6704 echo "${ECHO_T}yes" >&6
6706 echo "$as_me:$LINENO: result: no" >&5
6707 echo "${ECHO_T}no" >&6
6714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6715 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6717 # Check whether --enable-clipboard or --disable-clipboard was given.
6718 if test "${enable_clipboard+set}" = set; then
6719 enableval
="$enable_clipboard"
6721 if test "$enableval" = yes; then
6722 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6724 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6729 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6730 if test "x$LINE" != x
; then
6731 eval "DEFAULT_$LINE"
6736 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6740 eval "$ac_cv_use_clipboard"
6741 if test "$no_cache" != 1; then
6742 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6745 if test "$wxUSE_CLIPBOARD" = yes; then
6746 echo "$as_me:$LINENO: result: yes" >&5
6747 echo "${ECHO_T}yes" >&6
6749 echo "$as_me:$LINENO: result: no" >&5
6750 echo "${ECHO_T}no" >&6
6755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6756 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6758 # Check whether --enable-dnd or --disable-dnd was given.
6759 if test "${enable_dnd+set}" = set; then
6760 enableval
="$enable_dnd"
6762 if test "$enableval" = yes; then
6763 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6765 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6770 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6771 if test "x$LINE" != x
; then
6772 eval "DEFAULT_$LINE"
6777 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6781 eval "$ac_cv_use_dnd"
6782 if test "$no_cache" != 1; then
6783 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6786 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6787 echo "$as_me:$LINENO: result: yes" >&5
6788 echo "${ECHO_T}yes" >&6
6790 echo "$as_me:$LINENO: result: no" >&5
6791 echo "${ECHO_T}no" >&6
6796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6797 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6799 # Check whether --enable-metafile or --disable-metafile was given.
6800 if test "${enable_metafile+set}" = set; then
6801 enableval
="$enable_metafile"
6803 if test "$enableval" = yes; then
6804 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6806 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6811 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6812 if test "x$LINE" != x
; then
6813 eval "DEFAULT_$LINE"
6818 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6822 eval "$ac_cv_use_metafile"
6823 if test "$no_cache" != 1; then
6824 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6827 if test "$wxUSE_METAFILE" = yes; then
6828 echo "$as_me:$LINENO: result: yes" >&5
6829 echo "${ECHO_T}yes" >&6
6831 echo "$as_me:$LINENO: result: no" >&5
6832 echo "${ECHO_T}no" >&6
6840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6841 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6843 # Check whether --enable-controls or --disable-controls was given.
6844 if test "${enable_controls+set}" = set; then
6845 enableval
="$enable_controls"
6847 if test "$enableval" = yes; then
6848 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6850 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6855 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6856 if test "x$LINE" != x
; then
6857 eval "DEFAULT_$LINE"
6862 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6866 eval "$ac_cv_use_controls"
6867 if test "$no_cache" != 1; then
6868 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6871 if test "$wxUSE_CONTROLS" = yes; then
6872 echo "$as_me:$LINENO: result: yes" >&5
6873 echo "${ECHO_T}yes" >&6
6875 echo "$as_me:$LINENO: result: no" >&5
6876 echo "${ECHO_T}no" >&6
6880 if test "$wxUSE_CONTROLS" = "yes"; then
6881 DEFAULT_wxUSE_ACCEL
=yes
6882 DEFAULT_wxUSE_BMPBUTTON
=yes
6883 DEFAULT_wxUSE_BUTTON
=yes
6884 DEFAULT_wxUSE_CALCTRL
=no
6885 DEFAULT_wxUSE_CARET
=yes
6886 DEFAULT_wxUSE_COMBOBOX
=yes
6887 DEFAULT_wxUSE_CHECKBOX
=yes
6888 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6889 DEFAULT_wxUSE_CHOICE
=yes
6890 DEFAULT_wxUSE_GAUGE
=yes
6891 DEFAULT_wxUSE_GRID
=yes
6892 DEFAULT_wxUSE_IMAGLIST
=yes
6893 DEFAULT_wxUSE_LISTBOOK
=yes
6894 DEFAULT_wxUSE_LISTBOX
=yes
6895 DEFAULT_wxUSE_LISTCTRL
=yes
6896 DEFAULT_wxUSE_NOTEBOOK
=yes
6897 DEFAULT_wxUSE_RADIOBOX
=yes
6898 DEFAULT_wxUSE_RADIOBTN
=yes
6899 DEFAULT_wxUSE_SASH
=yes
6900 DEFAULT_wxUSE_SCROLLBAR
=yes
6901 DEFAULT_wxUSE_SLIDER
=yes
6902 DEFAULT_wxUSE_SPINBTN
=yes
6903 DEFAULT_wxUSE_SPINCTRL
=yes
6904 DEFAULT_wxUSE_SPLITTER
=yes
6905 DEFAULT_wxUSE_STATBMP
=yes
6906 DEFAULT_wxUSE_STATBOX
=yes
6907 DEFAULT_wxUSE_STATLINE
=yes
6908 DEFAULT_wxUSE_STATUSBAR
=yes
6909 DEFAULT_wxUSE_TAB_DIALOG
=yes
6910 DEFAULT_wxUSE_TOGGLEBTN
=yes
6911 DEFAULT_wxUSE_TOOLBAR
=yes
6912 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6913 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
6914 DEFAULT_wxUSE_TOOLTIPS
=yes
6915 DEFAULT_wxUSE_TREECTRL
=yes
6916 DEFAULT_wxUSE_POPUPWIN
=yes
6917 DEFAULT_wxUSE_TIPWINDOW
=yes
6918 elif test "$wxUSE_CONTROLS" = "no"; then
6919 DEFAULT_wxUSE_ACCEL
=no
6920 DEFAULT_wxUSE_BMPBUTTON
=no
6921 DEFAULT_wxUSE_BUTTON
=no
6922 DEFAULT_wxUSE_CALCTRL
=no
6923 DEFAULT_wxUSE_CARET
=no
6924 DEFAULT_wxUSE_COMBOBOX
=no
6925 DEFAULT_wxUSE_CHECKBOX
=no
6926 DEFAULT_wxUSE_CHECKLISTBOX
=no
6927 DEFAULT_wxUSE_CHOICE
=no
6928 DEFAULT_wxUSE_GAUGE
=no
6929 DEFAULT_wxUSE_GRID
=no
6930 DEFAULT_wxUSE_IMAGLIST
=no
6931 DEFAULT_wxUSE_LISTBOOK
=no
6932 DEFAULT_wxUSE_LISTBOX
=no
6933 DEFAULT_wxUSE_LISTCTRL
=no
6934 DEFAULT_wxUSE_NOTEBOOK
=no
6935 DEFAULT_wxUSE_RADIOBOX
=no
6936 DEFAULT_wxUSE_RADIOBTN
=no
6937 DEFAULT_wxUSE_SASH
=no
6938 DEFAULT_wxUSE_SCROLLBAR
=no
6939 DEFAULT_wxUSE_SLIDER
=no
6940 DEFAULT_wxUSE_SPINBTN
=no
6941 DEFAULT_wxUSE_SPINCTRL
=no
6942 DEFAULT_wxUSE_SPLITTER
=no
6943 DEFAULT_wxUSE_STATBMP
=no
6944 DEFAULT_wxUSE_STATBOX
=no
6945 DEFAULT_wxUSE_STATLINE
=no
6946 DEFAULT_wxUSE_STATUSBAR
=no
6947 DEFAULT_wxUSE_TAB_DIALOG
=no
6948 DEFAULT_wxUSE_TOGGLEBTN
=no
6949 DEFAULT_wxUSE_TOOLBAR
=no
6950 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6951 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
6952 DEFAULT_wxUSE_TOOLTIPS
=no
6953 DEFAULT_wxUSE_TREECTRL
=no
6954 DEFAULT_wxUSE_POPUPWIN
=no
6955 DEFAULT_wxUSE_TIPWINDOW
=no
6958 ## FIXME: This is a blatant hack
6959 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6960 wxUSE_PRINTING_ARCHITECTURE
=no
6961 wxUSE_DRAG_AND_DROP
=no
6962 DEFAULT_wxUSE_TOOLTIPS
=no
6963 DEFAULT_wxUSE_DRAGIMAGE
=no
6968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6969 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6971 # Check whether --enable-accel or --disable-accel was given.
6972 if test "${enable_accel+set}" = set; then
6973 enableval
="$enable_accel"
6975 if test "$enableval" = yes; then
6976 ac_cv_use_accel
='wxUSE_ACCEL=yes'
6978 ac_cv_use_accel
='wxUSE_ACCEL=no'
6983 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6984 if test "x$LINE" != x
; then
6985 eval "DEFAULT_$LINE"
6990 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6994 eval "$ac_cv_use_accel"
6995 if test "$no_cache" != 1; then
6996 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6999 if test "$wxUSE_ACCEL" = yes; then
7000 echo "$as_me:$LINENO: result: yes" >&5
7001 echo "${ECHO_T}yes" >&6
7003 echo "$as_me:$LINENO: result: no" >&5
7004 echo "${ECHO_T}no" >&6
7009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7010 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7012 # Check whether --enable-button or --disable-button was given.
7013 if test "${enable_button+set}" = set; then
7014 enableval
="$enable_button"
7016 if test "$enableval" = yes; then
7017 ac_cv_use_button
='wxUSE_BUTTON=yes'
7019 ac_cv_use_button
='wxUSE_BUTTON=no'
7024 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7025 if test "x$LINE" != x
; then
7026 eval "DEFAULT_$LINE"
7031 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7035 eval "$ac_cv_use_button"
7036 if test "$no_cache" != 1; then
7037 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7040 if test "$wxUSE_BUTTON" = yes; then
7041 echo "$as_me:$LINENO: result: yes" >&5
7042 echo "${ECHO_T}yes" >&6
7044 echo "$as_me:$LINENO: result: no" >&5
7045 echo "${ECHO_T}no" >&6
7050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7051 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7053 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7054 if test "${enable_bmpbutton+set}" = set; then
7055 enableval
="$enable_bmpbutton"
7057 if test "$enableval" = yes; then
7058 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7060 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7065 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7066 if test "x$LINE" != x
; then
7067 eval "DEFAULT_$LINE"
7072 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7076 eval "$ac_cv_use_bmpbutton"
7077 if test "$no_cache" != 1; then
7078 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7081 if test "$wxUSE_BMPBUTTON" = yes; then
7082 echo "$as_me:$LINENO: result: yes" >&5
7083 echo "${ECHO_T}yes" >&6
7085 echo "$as_me:$LINENO: result: no" >&5
7086 echo "${ECHO_T}no" >&6
7091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7092 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7094 # Check whether --enable-calendar or --disable-calendar was given.
7095 if test "${enable_calendar+set}" = set; then
7096 enableval
="$enable_calendar"
7098 if test "$enableval" = yes; then
7099 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7101 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7106 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x
; then
7108 eval "DEFAULT_$LINE"
7113 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7117 eval "$ac_cv_use_calendar"
7118 if test "$no_cache" != 1; then
7119 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7122 if test "$wxUSE_CALCTRL" = yes; then
7123 echo "$as_me:$LINENO: result: yes" >&5
7124 echo "${ECHO_T}yes" >&6
7126 echo "$as_me:$LINENO: result: no" >&5
7127 echo "${ECHO_T}no" >&6
7132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7133 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7135 # Check whether --enable-caret or --disable-caret was given.
7136 if test "${enable_caret+set}" = set; then
7137 enableval
="$enable_caret"
7139 if test "$enableval" = yes; then
7140 ac_cv_use_caret
='wxUSE_CARET=yes'
7142 ac_cv_use_caret
='wxUSE_CARET=no'
7147 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7148 if test "x$LINE" != x
; then
7149 eval "DEFAULT_$LINE"
7154 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7158 eval "$ac_cv_use_caret"
7159 if test "$no_cache" != 1; then
7160 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7163 if test "$wxUSE_CARET" = yes; then
7164 echo "$as_me:$LINENO: result: yes" >&5
7165 echo "${ECHO_T}yes" >&6
7167 echo "$as_me:$LINENO: result: no" >&5
7168 echo "${ECHO_T}no" >&6
7173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7174 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7176 # Check whether --enable-checkbox or --disable-checkbox was given.
7177 if test "${enable_checkbox+set}" = set; then
7178 enableval
="$enable_checkbox"
7180 if test "$enableval" = yes; then
7181 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7183 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7188 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x
; then
7190 eval "DEFAULT_$LINE"
7195 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7199 eval "$ac_cv_use_checkbox"
7200 if test "$no_cache" != 1; then
7201 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7204 if test "$wxUSE_CHECKBOX" = yes; then
7205 echo "$as_me:$LINENO: result: yes" >&5
7206 echo "${ECHO_T}yes" >&6
7208 echo "$as_me:$LINENO: result: no" >&5
7209 echo "${ECHO_T}no" >&6
7214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7215 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7217 # Check whether --enable-checklst or --disable-checklst was given.
7218 if test "${enable_checklst+set}" = set; then
7219 enableval
="$enable_checklst"
7221 if test "$enableval" = yes; then
7222 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7224 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7229 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x
; then
7231 eval "DEFAULT_$LINE"
7236 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7240 eval "$ac_cv_use_checklst"
7241 if test "$no_cache" != 1; then
7242 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7245 if test "$wxUSE_CHECKLST" = yes; then
7246 echo "$as_me:$LINENO: result: yes" >&5
7247 echo "${ECHO_T}yes" >&6
7249 echo "$as_me:$LINENO: result: no" >&5
7250 echo "${ECHO_T}no" >&6
7255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7256 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7258 # Check whether --enable-choice or --disable-choice was given.
7259 if test "${enable_choice+set}" = set; then
7260 enableval
="$enable_choice"
7262 if test "$enableval" = yes; then
7263 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7265 ac_cv_use_choice
='wxUSE_CHOICE=no'
7270 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7271 if test "x$LINE" != x
; then
7272 eval "DEFAULT_$LINE"
7277 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7281 eval "$ac_cv_use_choice"
7282 if test "$no_cache" != 1; then
7283 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7286 if test "$wxUSE_CHOICE" = yes; then
7287 echo "$as_me:$LINENO: result: yes" >&5
7288 echo "${ECHO_T}yes" >&6
7290 echo "$as_me:$LINENO: result: no" >&5
7291 echo "${ECHO_T}no" >&6
7296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7297 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7299 # Check whether --enable-combobox or --disable-combobox was given.
7300 if test "${enable_combobox+set}" = set; then
7301 enableval
="$enable_combobox"
7303 if test "$enableval" = yes; then
7304 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7306 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7311 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7312 if test "x$LINE" != x
; then
7313 eval "DEFAULT_$LINE"
7318 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7322 eval "$ac_cv_use_combobox"
7323 if test "$no_cache" != 1; then
7324 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7327 if test "$wxUSE_COMBOBOX" = yes; then
7328 echo "$as_me:$LINENO: result: yes" >&5
7329 echo "${ECHO_T}yes" >&6
7331 echo "$as_me:$LINENO: result: no" >&5
7332 echo "${ECHO_T}no" >&6
7337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7338 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7340 # Check whether --enable-display or --disable-display was given.
7341 if test "${enable_display+set}" = set; then
7342 enableval
="$enable_display"
7344 if test "$enableval" = yes; then
7345 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7347 ac_cv_use_display
='wxUSE_DISPLAY=no'
7352 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7353 if test "x$LINE" != x
; then
7354 eval "DEFAULT_$LINE"
7359 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7363 eval "$ac_cv_use_display"
7364 if test "$no_cache" != 1; then
7365 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7368 if test "$wxUSE_DISPLAY" = yes; then
7369 echo "$as_me:$LINENO: result: yes" >&5
7370 echo "${ECHO_T}yes" >&6
7372 echo "$as_me:$LINENO: result: no" >&5
7373 echo "${ECHO_T}no" >&6
7378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7379 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7381 # Check whether --enable-gauge or --disable-gauge was given.
7382 if test "${enable_gauge+set}" = set; then
7383 enableval
="$enable_gauge"
7385 if test "$enableval" = yes; then
7386 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7388 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7393 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7394 if test "x$LINE" != x
; then
7395 eval "DEFAULT_$LINE"
7400 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7404 eval "$ac_cv_use_gauge"
7405 if test "$no_cache" != 1; then
7406 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7409 if test "$wxUSE_GAUGE" = yes; then
7410 echo "$as_me:$LINENO: result: yes" >&5
7411 echo "${ECHO_T}yes" >&6
7413 echo "$as_me:$LINENO: result: no" >&5
7414 echo "${ECHO_T}no" >&6
7419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7420 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7422 # Check whether --enable-grid or --disable-grid was given.
7423 if test "${enable_grid+set}" = set; then
7424 enableval
="$enable_grid"
7426 if test "$enableval" = yes; then
7427 ac_cv_use_grid
='wxUSE_GRID=yes'
7429 ac_cv_use_grid
='wxUSE_GRID=no'
7434 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7435 if test "x$LINE" != x
; then
7436 eval "DEFAULT_$LINE"
7441 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7445 eval "$ac_cv_use_grid"
7446 if test "$no_cache" != 1; then
7447 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7450 if test "$wxUSE_GRID" = yes; then
7451 echo "$as_me:$LINENO: result: yes" >&5
7452 echo "${ECHO_T}yes" >&6
7454 echo "$as_me:$LINENO: result: no" >&5
7455 echo "${ECHO_T}no" >&6
7460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7461 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7463 # Check whether --enable-imaglist or --disable-imaglist was given.
7464 if test "${enable_imaglist+set}" = set; then
7465 enableval
="$enable_imaglist"
7467 if test "$enableval" = yes; then
7468 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7470 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7475 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7476 if test "x$LINE" != x
; then
7477 eval "DEFAULT_$LINE"
7482 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7486 eval "$ac_cv_use_imaglist"
7487 if test "$no_cache" != 1; then
7488 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7491 if test "$wxUSE_IMAGLIST" = yes; then
7492 echo "$as_me:$LINENO: result: yes" >&5
7493 echo "${ECHO_T}yes" >&6
7495 echo "$as_me:$LINENO: result: no" >&5
7496 echo "${ECHO_T}no" >&6
7501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7502 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7504 # Check whether --enable-listbook or --disable-listbook was given.
7505 if test "${enable_listbook+set}" = set; then
7506 enableval
="$enable_listbook"
7508 if test "$enableval" = yes; then
7509 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7511 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7516 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7517 if test "x$LINE" != x
; then
7518 eval "DEFAULT_$LINE"
7523 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7527 eval "$ac_cv_use_listbook"
7528 if test "$no_cache" != 1; then
7529 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7532 if test "$wxUSE_LISTBOOK" = yes; then
7533 echo "$as_me:$LINENO: result: yes" >&5
7534 echo "${ECHO_T}yes" >&6
7536 echo "$as_me:$LINENO: result: no" >&5
7537 echo "${ECHO_T}no" >&6
7542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7543 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7545 # Check whether --enable-listbox or --disable-listbox was given.
7546 if test "${enable_listbox+set}" = set; then
7547 enableval
="$enable_listbox"
7549 if test "$enableval" = yes; then
7550 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7552 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7557 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7558 if test "x$LINE" != x
; then
7559 eval "DEFAULT_$LINE"
7564 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7568 eval "$ac_cv_use_listbox"
7569 if test "$no_cache" != 1; then
7570 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7573 if test "$wxUSE_LISTBOX" = yes; then
7574 echo "$as_me:$LINENO: result: yes" >&5
7575 echo "${ECHO_T}yes" >&6
7577 echo "$as_me:$LINENO: result: no" >&5
7578 echo "${ECHO_T}no" >&6
7583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7584 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7586 # Check whether --enable-listctrl or --disable-listctrl was given.
7587 if test "${enable_listctrl+set}" = set; then
7588 enableval
="$enable_listctrl"
7590 if test "$enableval" = yes; then
7591 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7593 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7598 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7599 if test "x$LINE" != x
; then
7600 eval "DEFAULT_$LINE"
7605 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7609 eval "$ac_cv_use_listctrl"
7610 if test "$no_cache" != 1; then
7611 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7614 if test "$wxUSE_LISTCTRL" = yes; then
7615 echo "$as_me:$LINENO: result: yes" >&5
7616 echo "${ECHO_T}yes" >&6
7618 echo "$as_me:$LINENO: result: no" >&5
7619 echo "${ECHO_T}no" >&6
7624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7625 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7627 # Check whether --enable-notebook or --disable-notebook was given.
7628 if test "${enable_notebook+set}" = set; then
7629 enableval
="$enable_notebook"
7631 if test "$enableval" = yes; then
7632 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7634 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7639 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7640 if test "x$LINE" != x
; then
7641 eval "DEFAULT_$LINE"
7646 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7650 eval "$ac_cv_use_notebook"
7651 if test "$no_cache" != 1; then
7652 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7655 if test "$wxUSE_NOTEBOOK" = yes; then
7656 echo "$as_me:$LINENO: result: yes" >&5
7657 echo "${ECHO_T}yes" >&6
7659 echo "$as_me:$LINENO: result: no" >&5
7660 echo "${ECHO_T}no" >&6
7665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7666 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7668 # Check whether --enable-radiobox or --disable-radiobox was given.
7669 if test "${enable_radiobox+set}" = set; then
7670 enableval
="$enable_radiobox"
7672 if test "$enableval" = yes; then
7673 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7675 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7680 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7681 if test "x$LINE" != x
; then
7682 eval "DEFAULT_$LINE"
7687 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7691 eval "$ac_cv_use_radiobox"
7692 if test "$no_cache" != 1; then
7693 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7696 if test "$wxUSE_RADIOBOX" = yes; then
7697 echo "$as_me:$LINENO: result: yes" >&5
7698 echo "${ECHO_T}yes" >&6
7700 echo "$as_me:$LINENO: result: no" >&5
7701 echo "${ECHO_T}no" >&6
7706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7707 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7709 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7710 if test "${enable_radiobtn+set}" = set; then
7711 enableval
="$enable_radiobtn"
7713 if test "$enableval" = yes; then
7714 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7716 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7721 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7722 if test "x$LINE" != x
; then
7723 eval "DEFAULT_$LINE"
7728 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7732 eval "$ac_cv_use_radiobtn"
7733 if test "$no_cache" != 1; then
7734 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7737 if test "$wxUSE_RADIOBTN" = yes; then
7738 echo "$as_me:$LINENO: result: yes" >&5
7739 echo "${ECHO_T}yes" >&6
7741 echo "$as_me:$LINENO: result: no" >&5
7742 echo "${ECHO_T}no" >&6
7747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7748 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7750 # Check whether --enable-sash or --disable-sash was given.
7751 if test "${enable_sash+set}" = set; then
7752 enableval
="$enable_sash"
7754 if test "$enableval" = yes; then
7755 ac_cv_use_sash
='wxUSE_SASH=yes'
7757 ac_cv_use_sash
='wxUSE_SASH=no'
7762 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7763 if test "x$LINE" != x
; then
7764 eval "DEFAULT_$LINE"
7769 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7773 eval "$ac_cv_use_sash"
7774 if test "$no_cache" != 1; then
7775 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7778 if test "$wxUSE_SASH" = yes; then
7779 echo "$as_me:$LINENO: result: yes" >&5
7780 echo "${ECHO_T}yes" >&6
7782 echo "$as_me:$LINENO: result: no" >&5
7783 echo "${ECHO_T}no" >&6
7788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7789 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7791 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7792 if test "${enable_scrollbar+set}" = set; then
7793 enableval
="$enable_scrollbar"
7795 if test "$enableval" = yes; then
7796 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7798 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7803 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7804 if test "x$LINE" != x
; then
7805 eval "DEFAULT_$LINE"
7810 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7814 eval "$ac_cv_use_scrollbar"
7815 if test "$no_cache" != 1; then
7816 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7819 if test "$wxUSE_SCROLLBAR" = yes; then
7820 echo "$as_me:$LINENO: result: yes" >&5
7821 echo "${ECHO_T}yes" >&6
7823 echo "$as_me:$LINENO: result: no" >&5
7824 echo "${ECHO_T}no" >&6
7829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7830 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7832 # Check whether --enable-slider or --disable-slider was given.
7833 if test "${enable_slider+set}" = set; then
7834 enableval
="$enable_slider"
7836 if test "$enableval" = yes; then
7837 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7839 ac_cv_use_slider
='wxUSE_SLIDER=no'
7844 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7845 if test "x$LINE" != x
; then
7846 eval "DEFAULT_$LINE"
7851 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7855 eval "$ac_cv_use_slider"
7856 if test "$no_cache" != 1; then
7857 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7860 if test "$wxUSE_SLIDER" = yes; then
7861 echo "$as_me:$LINENO: result: yes" >&5
7862 echo "${ECHO_T}yes" >&6
7864 echo "$as_me:$LINENO: result: no" >&5
7865 echo "${ECHO_T}no" >&6
7870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7871 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7873 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7874 if test "${enable_spinbtn+set}" = set; then
7875 enableval
="$enable_spinbtn"
7877 if test "$enableval" = yes; then
7878 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7880 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7885 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7886 if test "x$LINE" != x
; then
7887 eval "DEFAULT_$LINE"
7892 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7896 eval "$ac_cv_use_spinbtn"
7897 if test "$no_cache" != 1; then
7898 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7901 if test "$wxUSE_SPINBTN" = yes; then
7902 echo "$as_me:$LINENO: result: yes" >&5
7903 echo "${ECHO_T}yes" >&6
7905 echo "$as_me:$LINENO: result: no" >&5
7906 echo "${ECHO_T}no" >&6
7911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7912 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7914 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7915 if test "${enable_spinctrl+set}" = set; then
7916 enableval
="$enable_spinctrl"
7918 if test "$enableval" = yes; then
7919 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
7921 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
7926 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7927 if test "x$LINE" != x
; then
7928 eval "DEFAULT_$LINE"
7933 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7937 eval "$ac_cv_use_spinctrl"
7938 if test "$no_cache" != 1; then
7939 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7942 if test "$wxUSE_SPINCTRL" = yes; then
7943 echo "$as_me:$LINENO: result: yes" >&5
7944 echo "${ECHO_T}yes" >&6
7946 echo "$as_me:$LINENO: result: no" >&5
7947 echo "${ECHO_T}no" >&6
7952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7953 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7955 # Check whether --enable-splitter or --disable-splitter was given.
7956 if test "${enable_splitter+set}" = set; then
7957 enableval
="$enable_splitter"
7959 if test "$enableval" = yes; then
7960 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
7962 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
7967 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7968 if test "x$LINE" != x
; then
7969 eval "DEFAULT_$LINE"
7974 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7978 eval "$ac_cv_use_splitter"
7979 if test "$no_cache" != 1; then
7980 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7983 if test "$wxUSE_SPLITTER" = yes; then
7984 echo "$as_me:$LINENO: result: yes" >&5
7985 echo "${ECHO_T}yes" >&6
7987 echo "$as_me:$LINENO: result: no" >&5
7988 echo "${ECHO_T}no" >&6
7993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7994 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7996 # Check whether --enable-statbmp or --disable-statbmp was given.
7997 if test "${enable_statbmp+set}" = set; then
7998 enableval
="$enable_statbmp"
8000 if test "$enableval" = yes; then
8001 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8003 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8008 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8009 if test "x$LINE" != x
; then
8010 eval "DEFAULT_$LINE"
8015 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8019 eval "$ac_cv_use_statbmp"
8020 if test "$no_cache" != 1; then
8021 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8024 if test "$wxUSE_STATBMP" = yes; then
8025 echo "$as_me:$LINENO: result: yes" >&5
8026 echo "${ECHO_T}yes" >&6
8028 echo "$as_me:$LINENO: result: no" >&5
8029 echo "${ECHO_T}no" >&6
8034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8035 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8037 # Check whether --enable-statbox or --disable-statbox was given.
8038 if test "${enable_statbox+set}" = set; then
8039 enableval
="$enable_statbox"
8041 if test "$enableval" = yes; then
8042 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8044 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8049 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8050 if test "x$LINE" != x
; then
8051 eval "DEFAULT_$LINE"
8056 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8060 eval "$ac_cv_use_statbox"
8061 if test "$no_cache" != 1; then
8062 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8065 if test "$wxUSE_STATBOX" = yes; then
8066 echo "$as_me:$LINENO: result: yes" >&5
8067 echo "${ECHO_T}yes" >&6
8069 echo "$as_me:$LINENO: result: no" >&5
8070 echo "${ECHO_T}no" >&6
8075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8076 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8078 # Check whether --enable-statline or --disable-statline was given.
8079 if test "${enable_statline+set}" = set; then
8080 enableval
="$enable_statline"
8082 if test "$enableval" = yes; then
8083 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8085 ac_cv_use_statline
='wxUSE_STATLINE=no'
8090 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8091 if test "x$LINE" != x
; then
8092 eval "DEFAULT_$LINE"
8097 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8101 eval "$ac_cv_use_statline"
8102 if test "$no_cache" != 1; then
8103 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8106 if test "$wxUSE_STATLINE" = yes; then
8107 echo "$as_me:$LINENO: result: yes" >&5
8108 echo "${ECHO_T}yes" >&6
8110 echo "$as_me:$LINENO: result: no" >&5
8111 echo "${ECHO_T}no" >&6
8116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8117 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8119 # Check whether --enable-stattext or --disable-stattext was given.
8120 if test "${enable_stattext+set}" = set; then
8121 enableval
="$enable_stattext"
8123 if test "$enableval" = yes; then
8124 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8126 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8131 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8132 if test "x$LINE" != x
; then
8133 eval "DEFAULT_$LINE"
8138 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8142 eval "$ac_cv_use_stattext"
8143 if test "$no_cache" != 1; then
8144 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8147 if test "$wxUSE_STATTEXT" = yes; then
8148 echo "$as_me:$LINENO: result: yes" >&5
8149 echo "${ECHO_T}yes" >&6
8151 echo "$as_me:$LINENO: result: no" >&5
8152 echo "${ECHO_T}no" >&6
8157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8158 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8160 # Check whether --enable-statusbar or --disable-statusbar was given.
8161 if test "${enable_statusbar+set}" = set; then
8162 enableval
="$enable_statusbar"
8164 if test "$enableval" = yes; then
8165 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8167 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8172 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8173 if test "x$LINE" != x
; then
8174 eval "DEFAULT_$LINE"
8179 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8183 eval "$ac_cv_use_statusbar"
8184 if test "$no_cache" != 1; then
8185 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8188 if test "$wxUSE_STATUSBAR" = yes; then
8189 echo "$as_me:$LINENO: result: yes" >&5
8190 echo "${ECHO_T}yes" >&6
8192 echo "$as_me:$LINENO: result: no" >&5
8193 echo "${ECHO_T}no" >&6
8198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8199 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8201 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8202 if test "${enable_tabdialog+set}" = set; then
8203 enableval
="$enable_tabdialog"
8205 if test "$enableval" = yes; then
8206 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8208 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8213 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8214 if test "x$LINE" != x
; then
8215 eval "DEFAULT_$LINE"
8220 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8224 eval "$ac_cv_use_tabdialog"
8225 if test "$no_cache" != 1; then
8226 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8229 if test "$wxUSE_TABDIALOG" = yes; then
8230 echo "$as_me:$LINENO: result: yes" >&5
8231 echo "${ECHO_T}yes" >&6
8233 echo "$as_me:$LINENO: result: no" >&5
8234 echo "${ECHO_T}no" >&6
8239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8240 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8242 # Check whether --enable-textctrl or --disable-textctrl was given.
8243 if test "${enable_textctrl+set}" = set; then
8244 enableval
="$enable_textctrl"
8246 if test "$enableval" = yes; then
8247 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8249 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8254 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8255 if test "x$LINE" != x
; then
8256 eval "DEFAULT_$LINE"
8261 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8265 eval "$ac_cv_use_textctrl"
8266 if test "$no_cache" != 1; then
8267 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8270 if test "$wxUSE_TEXTCTRL" = yes; then
8271 echo "$as_me:$LINENO: result: yes" >&5
8272 echo "${ECHO_T}yes" >&6
8274 echo "$as_me:$LINENO: result: no" >&5
8275 echo "${ECHO_T}no" >&6
8280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8281 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8283 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8284 if test "${enable_togglebtn+set}" = set; then
8285 enableval
="$enable_togglebtn"
8287 if test "$enableval" = yes; then
8288 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8290 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8295 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8296 if test "x$LINE" != x
; then
8297 eval "DEFAULT_$LINE"
8302 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8306 eval "$ac_cv_use_togglebtn"
8307 if test "$no_cache" != 1; then
8308 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8311 if test "$wxUSE_TOGGLEBTN" = yes; then
8312 echo "$as_me:$LINENO: result: yes" >&5
8313 echo "${ECHO_T}yes" >&6
8315 echo "$as_me:$LINENO: result: no" >&5
8316 echo "${ECHO_T}no" >&6
8321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8322 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8324 # Check whether --enable-toolbar or --disable-toolbar was given.
8325 if test "${enable_toolbar+set}" = set; then
8326 enableval
="$enable_toolbar"
8328 if test "$enableval" = yes; then
8329 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8331 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8336 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8337 if test "x$LINE" != x
; then
8338 eval "DEFAULT_$LINE"
8343 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8347 eval "$ac_cv_use_toolbar"
8348 if test "$no_cache" != 1; then
8349 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8352 if test "$wxUSE_TOOLBAR" = yes; then
8353 echo "$as_me:$LINENO: result: yes" >&5
8354 echo "${ECHO_T}yes" >&6
8356 echo "$as_me:$LINENO: result: no" >&5
8357 echo "${ECHO_T}no" >&6
8362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8363 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8365 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8366 if test "${enable_tbarnative+set}" = set; then
8367 enableval
="$enable_tbarnative"
8369 if test "$enableval" = yes; then
8370 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8372 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8377 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8378 if test "x$LINE" != x
; then
8379 eval "DEFAULT_$LINE"
8384 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8388 eval "$ac_cv_use_tbarnative"
8389 if test "$no_cache" != 1; then
8390 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8393 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8394 echo "$as_me:$LINENO: result: yes" >&5
8395 echo "${ECHO_T}yes" >&6
8397 echo "$as_me:$LINENO: result: no" >&5
8398 echo "${ECHO_T}no" >&6
8403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8404 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8406 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8407 if test "${enable_tbarsmpl+set}" = set; then
8408 enableval
="$enable_tbarsmpl"
8410 if test "$enableval" = yes; then
8411 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8413 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8418 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8419 if test "x$LINE" != x
; then
8420 eval "DEFAULT_$LINE"
8425 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8429 eval "$ac_cv_use_tbarsmpl"
8430 if test "$no_cache" != 1; then
8431 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8434 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8435 echo "$as_me:$LINENO: result: yes" >&5
8436 echo "${ECHO_T}yes" >&6
8438 echo "$as_me:$LINENO: result: no" >&5
8439 echo "${ECHO_T}no" >&6
8444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8445 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8447 # Check whether --enable-treectrl or --disable-treectrl was given.
8448 if test "${enable_treectrl+set}" = set; then
8449 enableval
="$enable_treectrl"
8451 if test "$enableval" = yes; then
8452 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8454 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8459 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8460 if test "x$LINE" != x
; then
8461 eval "DEFAULT_$LINE"
8466 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8470 eval "$ac_cv_use_treectrl"
8471 if test "$no_cache" != 1; then
8472 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8475 if test "$wxUSE_TREECTRL" = yes; then
8476 echo "$as_me:$LINENO: result: yes" >&5
8477 echo "${ECHO_T}yes" >&6
8479 echo "$as_me:$LINENO: result: no" >&5
8480 echo "${ECHO_T}no" >&6
8485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8486 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8488 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8489 if test "${enable_tipwindow+set}" = set; then
8490 enableval
="$enable_tipwindow"
8492 if test "$enableval" = yes; then
8493 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8495 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8500 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8501 if test "x$LINE" != x
; then
8502 eval "DEFAULT_$LINE"
8507 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8511 eval "$ac_cv_use_tipwindow"
8512 if test "$no_cache" != 1; then
8513 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8516 if test "$wxUSE_TIPWINDOW" = yes; then
8517 echo "$as_me:$LINENO: result: yes" >&5
8518 echo "${ECHO_T}yes" >&6
8520 echo "$as_me:$LINENO: result: no" >&5
8521 echo "${ECHO_T}no" >&6
8526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8527 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8529 # Check whether --enable-popupwin or --disable-popupwin was given.
8530 if test "${enable_popupwin+set}" = set; then
8531 enableval
="$enable_popupwin"
8533 if test "$enableval" = yes; then
8534 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8536 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8541 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8542 if test "x$LINE" != x
; then
8543 eval "DEFAULT_$LINE"
8548 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8552 eval "$ac_cv_use_popupwin"
8553 if test "$no_cache" != 1; then
8554 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8557 if test "$wxUSE_POPUPWIN" = yes; then
8558 echo "$as_me:$LINENO: result: yes" >&5
8559 echo "${ECHO_T}yes" >&6
8561 echo "$as_me:$LINENO: result: no" >&5
8562 echo "${ECHO_T}no" >&6
8569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8570 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8572 # Check whether --enable-commondlg or --disable-commondlg was given.
8573 if test "${enable_commondlg+set}" = set; then
8574 enableval
="$enable_commondlg"
8576 if test "$enableval" = yes; then
8577 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8579 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8584 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8585 if test "x$LINE" != x
; then
8586 eval "DEFAULT_$LINE"
8591 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8595 eval "$ac_cv_use_commondlg"
8596 if test "$no_cache" != 1; then
8597 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8600 if test "$wxUSE_COMMONDLGS" = yes; then
8601 echo "$as_me:$LINENO: result: yes" >&5
8602 echo "${ECHO_T}yes" >&6
8604 echo "$as_me:$LINENO: result: no" >&5
8605 echo "${ECHO_T}no" >&6
8610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8611 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8613 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8614 if test "${enable_choicedlg+set}" = set; then
8615 enableval
="$enable_choicedlg"
8617 if test "$enableval" = yes; then
8618 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8620 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8625 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8626 if test "x$LINE" != x
; then
8627 eval "DEFAULT_$LINE"
8632 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8636 eval "$ac_cv_use_choicedlg"
8637 if test "$no_cache" != 1; then
8638 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8641 if test "$wxUSE_CHOICEDLG" = yes; then
8642 echo "$as_me:$LINENO: result: yes" >&5
8643 echo "${ECHO_T}yes" >&6
8645 echo "$as_me:$LINENO: result: no" >&5
8646 echo "${ECHO_T}no" >&6
8651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8652 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8654 # Check whether --enable-coldlg or --disable-coldlg was given.
8655 if test "${enable_coldlg+set}" = set; then
8656 enableval
="$enable_coldlg"
8658 if test "$enableval" = yes; then
8659 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8661 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8666 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8667 if test "x$LINE" != x
; then
8668 eval "DEFAULT_$LINE"
8673 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8677 eval "$ac_cv_use_coldlg"
8678 if test "$no_cache" != 1; then
8679 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8682 if test "$wxUSE_COLOURDLG" = yes; then
8683 echo "$as_me:$LINENO: result: yes" >&5
8684 echo "${ECHO_T}yes" >&6
8686 echo "$as_me:$LINENO: result: no" >&5
8687 echo "${ECHO_T}no" >&6
8692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8693 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8695 # Check whether --enable-filedlg or --disable-filedlg was given.
8696 if test "${enable_filedlg+set}" = set; then
8697 enableval
="$enable_filedlg"
8699 if test "$enableval" = yes; then
8700 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8702 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8707 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8708 if test "x$LINE" != x
; then
8709 eval "DEFAULT_$LINE"
8714 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8718 eval "$ac_cv_use_filedlg"
8719 if test "$no_cache" != 1; then
8720 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8723 if test "$wxUSE_FILEDLG" = yes; then
8724 echo "$as_me:$LINENO: result: yes" >&5
8725 echo "${ECHO_T}yes" >&6
8727 echo "$as_me:$LINENO: result: no" >&5
8728 echo "${ECHO_T}no" >&6
8733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8734 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8736 # Check whether --enable-finddlg or --disable-finddlg was given.
8737 if test "${enable_finddlg+set}" = set; then
8738 enableval
="$enable_finddlg"
8740 if test "$enableval" = yes; then
8741 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8743 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8748 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8749 if test "x$LINE" != x
; then
8750 eval "DEFAULT_$LINE"
8755 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8759 eval "$ac_cv_use_finddlg"
8760 if test "$no_cache" != 1; then
8761 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8764 if test "$wxUSE_FINDREPLDLG" = yes; then
8765 echo "$as_me:$LINENO: result: yes" >&5
8766 echo "${ECHO_T}yes" >&6
8768 echo "$as_me:$LINENO: result: no" >&5
8769 echo "${ECHO_T}no" >&6
8774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8775 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8777 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8778 if test "${enable_fontdlg+set}" = set; then
8779 enableval
="$enable_fontdlg"
8781 if test "$enableval" = yes; then
8782 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8784 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8789 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8790 if test "x$LINE" != x
; then
8791 eval "DEFAULT_$LINE"
8796 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8800 eval "$ac_cv_use_fontdlg"
8801 if test "$no_cache" != 1; then
8802 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8805 if test "$wxUSE_FONTDLG" = yes; then
8806 echo "$as_me:$LINENO: result: yes" >&5
8807 echo "${ECHO_T}yes" >&6
8809 echo "$as_me:$LINENO: result: no" >&5
8810 echo "${ECHO_T}no" >&6
8815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8816 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8818 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8819 if test "${enable_dirdlg+set}" = set; then
8820 enableval
="$enable_dirdlg"
8822 if test "$enableval" = yes; then
8823 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8825 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8830 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8831 if test "x$LINE" != x
; then
8832 eval "DEFAULT_$LINE"
8837 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8841 eval "$ac_cv_use_dirdlg"
8842 if test "$no_cache" != 1; then
8843 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8846 if test "$wxUSE_DIRDLG" = yes; then
8847 echo "$as_me:$LINENO: result: yes" >&5
8848 echo "${ECHO_T}yes" >&6
8850 echo "$as_me:$LINENO: result: no" >&5
8851 echo "${ECHO_T}no" >&6
8856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8857 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8859 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8860 if test "${enable_msgdlg+set}" = set; then
8861 enableval
="$enable_msgdlg"
8863 if test "$enableval" = yes; then
8864 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8866 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8871 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8872 if test "x$LINE" != x
; then
8873 eval "DEFAULT_$LINE"
8878 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8882 eval "$ac_cv_use_msgdlg"
8883 if test "$no_cache" != 1; then
8884 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8887 if test "$wxUSE_MSGDLG" = yes; then
8888 echo "$as_me:$LINENO: result: yes" >&5
8889 echo "${ECHO_T}yes" >&6
8891 echo "$as_me:$LINENO: result: no" >&5
8892 echo "${ECHO_T}no" >&6
8897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8898 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8900 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8901 if test "${enable_numberdlg+set}" = set; then
8902 enableval
="$enable_numberdlg"
8904 if test "$enableval" = yes; then
8905 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
8907 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
8912 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8913 if test "x$LINE" != x
; then
8914 eval "DEFAULT_$LINE"
8919 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8923 eval "$ac_cv_use_numberdlg"
8924 if test "$no_cache" != 1; then
8925 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8928 if test "$wxUSE_NUMBERDLG" = yes; then
8929 echo "$as_me:$LINENO: result: yes" >&5
8930 echo "${ECHO_T}yes" >&6
8932 echo "$as_me:$LINENO: result: no" >&5
8933 echo "${ECHO_T}no" >&6
8938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8939 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8941 # Check whether --enable-splash or --disable-splash was given.
8942 if test "${enable_splash+set}" = set; then
8943 enableval
="$enable_splash"
8945 if test "$enableval" = yes; then
8946 ac_cv_use_splash
='wxUSE_SPLASH=yes'
8948 ac_cv_use_splash
='wxUSE_SPLASH=no'
8953 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8954 if test "x$LINE" != x
; then
8955 eval "DEFAULT_$LINE"
8960 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8964 eval "$ac_cv_use_splash"
8965 if test "$no_cache" != 1; then
8966 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8969 if test "$wxUSE_SPLASH" = yes; then
8970 echo "$as_me:$LINENO: result: yes" >&5
8971 echo "${ECHO_T}yes" >&6
8973 echo "$as_me:$LINENO: result: no" >&5
8974 echo "${ECHO_T}no" >&6
8979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8980 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8982 # Check whether --enable-textdlg or --disable-textdlg was given.
8983 if test "${enable_textdlg+set}" = set; then
8984 enableval
="$enable_textdlg"
8986 if test "$enableval" = yes; then
8987 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
8989 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
8994 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8995 if test "x$LINE" != x
; then
8996 eval "DEFAULT_$LINE"
9001 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9005 eval "$ac_cv_use_textdlg"
9006 if test "$no_cache" != 1; then
9007 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9010 if test "$wxUSE_TEXTDLG" = yes; then
9011 echo "$as_me:$LINENO: result: yes" >&5
9012 echo "${ECHO_T}yes" >&6
9014 echo "$as_me:$LINENO: result: no" >&5
9015 echo "${ECHO_T}no" >&6
9020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9021 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9023 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9024 if test "${enable_tipdlg+set}" = set; then
9025 enableval
="$enable_tipdlg"
9027 if test "$enableval" = yes; then
9028 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9030 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9035 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9036 if test "x$LINE" != x
; then
9037 eval "DEFAULT_$LINE"
9042 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9046 eval "$ac_cv_use_tipdlg"
9047 if test "$no_cache" != 1; then
9048 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9051 if test "$wxUSE_STARTUP_TIPS" = yes; then
9052 echo "$as_me:$LINENO: result: yes" >&5
9053 echo "${ECHO_T}yes" >&6
9055 echo "$as_me:$LINENO: result: no" >&5
9056 echo "${ECHO_T}no" >&6
9061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9062 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9064 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9065 if test "${enable_progressdlg+set}" = set; then
9066 enableval
="$enable_progressdlg"
9068 if test "$enableval" = yes; then
9069 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9071 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9076 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9077 if test "x$LINE" != x
; then
9078 eval "DEFAULT_$LINE"
9083 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9087 eval "$ac_cv_use_progressdlg"
9088 if test "$no_cache" != 1; then
9089 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9092 if test "$wxUSE_PROGRESSDLG" = yes; then
9093 echo "$as_me:$LINENO: result: yes" >&5
9094 echo "${ECHO_T}yes" >&6
9096 echo "$as_me:$LINENO: result: no" >&5
9097 echo "${ECHO_T}no" >&6
9102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9103 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9105 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9106 if test "${enable_wizarddlg+set}" = set; then
9107 enableval
="$enable_wizarddlg"
9109 if test "$enableval" = yes; then
9110 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9112 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9117 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9118 if test "x$LINE" != x
; then
9119 eval "DEFAULT_$LINE"
9124 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9128 eval "$ac_cv_use_wizarddlg"
9129 if test "$no_cache" != 1; then
9130 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9133 if test "$wxUSE_WIZARDDLG" = yes; then
9134 echo "$as_me:$LINENO: result: yes" >&5
9135 echo "${ECHO_T}yes" >&6
9137 echo "$as_me:$LINENO: result: no" >&5
9138 echo "${ECHO_T}no" >&6
9145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9146 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9148 # Check whether --enable-menus or --disable-menus was given.
9149 if test "${enable_menus+set}" = set; then
9150 enableval
="$enable_menus"
9152 if test "$enableval" = yes; then
9153 ac_cv_use_menus
='wxUSE_MENUS=yes'
9155 ac_cv_use_menus
='wxUSE_MENUS=no'
9160 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9161 if test "x$LINE" != x
; then
9162 eval "DEFAULT_$LINE"
9167 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9171 eval "$ac_cv_use_menus"
9172 if test "$no_cache" != 1; then
9173 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9176 if test "$wxUSE_MENUS" = yes; then
9177 echo "$as_me:$LINENO: result: yes" >&5
9178 echo "${ECHO_T}yes" >&6
9180 echo "$as_me:$LINENO: result: no" >&5
9181 echo "${ECHO_T}no" >&6
9186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9187 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9189 # Check whether --enable-miniframe or --disable-miniframe was given.
9190 if test "${enable_miniframe+set}" = set; then
9191 enableval
="$enable_miniframe"
9193 if test "$enableval" = yes; then
9194 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9196 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9201 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9202 if test "x$LINE" != x
; then
9203 eval "DEFAULT_$LINE"
9208 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9212 eval "$ac_cv_use_miniframe"
9213 if test "$no_cache" != 1; then
9214 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9217 if test "$wxUSE_MINIFRAME" = yes; then
9218 echo "$as_me:$LINENO: result: yes" >&5
9219 echo "${ECHO_T}yes" >&6
9221 echo "$as_me:$LINENO: result: no" >&5
9222 echo "${ECHO_T}no" >&6
9227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9228 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9230 # Check whether --enable-tooltips or --disable-tooltips was given.
9231 if test "${enable_tooltips+set}" = set; then
9232 enableval
="$enable_tooltips"
9234 if test "$enableval" = yes; then
9235 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9237 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9242 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9243 if test "x$LINE" != x
; then
9244 eval "DEFAULT_$LINE"
9249 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9253 eval "$ac_cv_use_tooltips"
9254 if test "$no_cache" != 1; then
9255 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9258 if test "$wxUSE_TOOLTIPS" = yes; then
9259 echo "$as_me:$LINENO: result: yes" >&5
9260 echo "${ECHO_T}yes" >&6
9262 echo "$as_me:$LINENO: result: no" >&5
9263 echo "${ECHO_T}no" >&6
9268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9269 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9271 # Check whether --enable-splines or --disable-splines was given.
9272 if test "${enable_splines+set}" = set; then
9273 enableval
="$enable_splines"
9275 if test "$enableval" = yes; then
9276 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9278 ac_cv_use_splines
='wxUSE_SPLINES=no'
9283 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9284 if test "x$LINE" != x
; then
9285 eval "DEFAULT_$LINE"
9290 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9294 eval "$ac_cv_use_splines"
9295 if test "$no_cache" != 1; then
9296 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9299 if test "$wxUSE_SPLINES" = yes; then
9300 echo "$as_me:$LINENO: result: yes" >&5
9301 echo "${ECHO_T}yes" >&6
9303 echo "$as_me:$LINENO: result: no" >&5
9304 echo "${ECHO_T}no" >&6
9309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9310 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9312 # Check whether --enable-validators or --disable-validators was given.
9313 if test "${enable_validators+set}" = set; then
9314 enableval
="$enable_validators"
9316 if test "$enableval" = yes; then
9317 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9319 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9324 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9325 if test "x$LINE" != x
; then
9326 eval "DEFAULT_$LINE"
9331 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9335 eval "$ac_cv_use_validators"
9336 if test "$no_cache" != 1; then
9337 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9340 if test "$wxUSE_VALIDATORS" = yes; then
9341 echo "$as_me:$LINENO: result: yes" >&5
9342 echo "${ECHO_T}yes" >&6
9344 echo "$as_me:$LINENO: result: no" >&5
9345 echo "${ECHO_T}no" >&6
9350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9351 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9353 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9354 if test "${enable_busyinfo+set}" = set; then
9355 enableval
="$enable_busyinfo"
9357 if test "$enableval" = yes; then
9358 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9360 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9365 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9366 if test "x$LINE" != x
; then
9367 eval "DEFAULT_$LINE"
9372 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9376 eval "$ac_cv_use_busyinfo"
9377 if test "$no_cache" != 1; then
9378 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9381 if test "$wxUSE_BUSYINFO" = yes; then
9382 echo "$as_me:$LINENO: result: yes" >&5
9383 echo "${ECHO_T}yes" >&6
9385 echo "$as_me:$LINENO: result: no" >&5
9386 echo "${ECHO_T}no" >&6
9391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9392 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9394 # Check whether --enable-joystick or --disable-joystick was given.
9395 if test "${enable_joystick+set}" = set; then
9396 enableval
="$enable_joystick"
9398 if test "$enableval" = yes; then
9399 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9401 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9406 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9407 if test "x$LINE" != x
; then
9408 eval "DEFAULT_$LINE"
9413 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9417 eval "$ac_cv_use_joystick"
9418 if test "$no_cache" != 1; then
9419 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9422 if test "$wxUSE_JOYSTICK" = yes; then
9423 echo "$as_me:$LINENO: result: yes" >&5
9424 echo "${ECHO_T}yes" >&6
9426 echo "$as_me:$LINENO: result: no" >&5
9427 echo "${ECHO_T}no" >&6
9432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9433 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9435 # Check whether --enable-metafile or --disable-metafile was given.
9436 if test "${enable_metafile+set}" = set; then
9437 enableval
="$enable_metafile"
9439 if test "$enableval" = yes; then
9440 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9442 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9447 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9448 if test "x$LINE" != x
; then
9449 eval "DEFAULT_$LINE"
9454 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9458 eval "$ac_cv_use_metafile"
9459 if test "$no_cache" != 1; then
9460 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9463 if test "$wxUSE_METAFILE" = yes; then
9464 echo "$as_me:$LINENO: result: yes" >&5
9465 echo "${ECHO_T}yes" >&6
9467 echo "$as_me:$LINENO: result: no" >&5
9468 echo "${ECHO_T}no" >&6
9473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9474 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9476 # Check whether --enable-dragimage or --disable-dragimage was given.
9477 if test "${enable_dragimage+set}" = set; then
9478 enableval
="$enable_dragimage"
9480 if test "$enableval" = yes; then
9481 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9483 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9488 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9489 if test "x$LINE" != x
; then
9490 eval "DEFAULT_$LINE"
9495 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9499 eval "$ac_cv_use_dragimage"
9500 if test "$no_cache" != 1; then
9501 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9504 if test "$wxUSE_DRAGIMAGE" = yes; then
9505 echo "$as_me:$LINENO: result: yes" >&5
9506 echo "${ECHO_T}yes" >&6
9508 echo "$as_me:$LINENO: result: no" >&5
9509 echo "${ECHO_T}no" >&6
9514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9515 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9517 # Check whether --enable-accessibility or --disable-accessibility was given.
9518 if test "${enable_accessibility+set}" = set; then
9519 enableval
="$enable_accessibility"
9521 if test "$enableval" = yes; then
9522 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9524 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9529 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9530 if test "x$LINE" != x
; then
9531 eval "DEFAULT_$LINE"
9536 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9540 eval "$ac_cv_use_accessibility"
9541 if test "$no_cache" != 1; then
9542 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9545 if test "$wxUSE_ACCESSIBILITY" = yes; then
9546 echo "$as_me:$LINENO: result: yes" >&5
9547 echo "${ECHO_T}yes" >&6
9549 echo "$as_me:$LINENO: result: no" >&5
9550 echo "${ECHO_T}no" >&6
9557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9558 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9560 # Check whether --enable-palette or --disable-palette was given.
9561 if test "${enable_palette+set}" = set; then
9562 enableval
="$enable_palette"
9564 if test "$enableval" = yes; then
9565 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9567 ac_cv_use_palette
='wxUSE_PALETTE=no'
9572 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9573 if test "x$LINE" != x
; then
9574 eval "DEFAULT_$LINE"
9579 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9583 eval "$ac_cv_use_palette"
9584 if test "$no_cache" != 1; then
9585 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9588 if test "$wxUSE_PALETTE" = yes; then
9589 echo "$as_me:$LINENO: result: yes" >&5
9590 echo "${ECHO_T}yes" >&6
9592 echo "$as_me:$LINENO: result: no" >&5
9593 echo "${ECHO_T}no" >&6
9598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9599 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9601 # Check whether --enable-image or --disable-image was given.
9602 if test "${enable_image+set}" = set; then
9603 enableval
="$enable_image"
9605 if test "$enableval" = yes; then
9606 ac_cv_use_image
='wxUSE_IMAGE=yes'
9608 ac_cv_use_image
='wxUSE_IMAGE=no'
9613 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9614 if test "x$LINE" != x
; then
9615 eval "DEFAULT_$LINE"
9620 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9624 eval "$ac_cv_use_image"
9625 if test "$no_cache" != 1; then
9626 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9629 if test "$wxUSE_IMAGE" = yes; then
9630 echo "$as_me:$LINENO: result: yes" >&5
9631 echo "${ECHO_T}yes" >&6
9633 echo "$as_me:$LINENO: result: no" >&5
9634 echo "${ECHO_T}no" >&6
9639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9640 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9642 # Check whether --enable-gif or --disable-gif was given.
9643 if test "${enable_gif+set}" = set; then
9644 enableval
="$enable_gif"
9646 if test "$enableval" = yes; then
9647 ac_cv_use_gif
='wxUSE_GIF=yes'
9649 ac_cv_use_gif
='wxUSE_GIF=no'
9654 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9655 if test "x$LINE" != x
; then
9656 eval "DEFAULT_$LINE"
9661 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9665 eval "$ac_cv_use_gif"
9666 if test "$no_cache" != 1; then
9667 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9670 if test "$wxUSE_GIF" = yes; then
9671 echo "$as_me:$LINENO: result: yes" >&5
9672 echo "${ECHO_T}yes" >&6
9674 echo "$as_me:$LINENO: result: no" >&5
9675 echo "${ECHO_T}no" >&6
9680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9681 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9683 # Check whether --enable-pcx or --disable-pcx was given.
9684 if test "${enable_pcx+set}" = set; then
9685 enableval
="$enable_pcx"
9687 if test "$enableval" = yes; then
9688 ac_cv_use_pcx
='wxUSE_PCX=yes'
9690 ac_cv_use_pcx
='wxUSE_PCX=no'
9695 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9696 if test "x$LINE" != x
; then
9697 eval "DEFAULT_$LINE"
9702 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9706 eval "$ac_cv_use_pcx"
9707 if test "$no_cache" != 1; then
9708 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9711 if test "$wxUSE_PCX" = yes; then
9712 echo "$as_me:$LINENO: result: yes" >&5
9713 echo "${ECHO_T}yes" >&6
9715 echo "$as_me:$LINENO: result: no" >&5
9716 echo "${ECHO_T}no" >&6
9721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9722 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9724 # Check whether --enable-iff or --disable-iff was given.
9725 if test "${enable_iff+set}" = set; then
9726 enableval
="$enable_iff"
9728 if test "$enableval" = yes; then
9729 ac_cv_use_iff
='wxUSE_IFF=yes'
9731 ac_cv_use_iff
='wxUSE_IFF=no'
9736 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9737 if test "x$LINE" != x
; then
9738 eval "DEFAULT_$LINE"
9743 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9747 eval "$ac_cv_use_iff"
9748 if test "$no_cache" != 1; then
9749 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9752 if test "$wxUSE_IFF" = yes; then
9753 echo "$as_me:$LINENO: result: yes" >&5
9754 echo "${ECHO_T}yes" >&6
9756 echo "$as_me:$LINENO: result: no" >&5
9757 echo "${ECHO_T}no" >&6
9762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9763 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9765 # Check whether --enable-pnm or --disable-pnm was given.
9766 if test "${enable_pnm+set}" = set; then
9767 enableval
="$enable_pnm"
9769 if test "$enableval" = yes; then
9770 ac_cv_use_pnm
='wxUSE_PNM=yes'
9772 ac_cv_use_pnm
='wxUSE_PNM=no'
9777 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9778 if test "x$LINE" != x
; then
9779 eval "DEFAULT_$LINE"
9784 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9788 eval "$ac_cv_use_pnm"
9789 if test "$no_cache" != 1; then
9790 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9793 if test "$wxUSE_PNM" = yes; then
9794 echo "$as_me:$LINENO: result: yes" >&5
9795 echo "${ECHO_T}yes" >&6
9797 echo "$as_me:$LINENO: result: no" >&5
9798 echo "${ECHO_T}no" >&6
9803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9804 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9806 # Check whether --enable-xpm or --disable-xpm was given.
9807 if test "${enable_xpm+set}" = set; then
9808 enableval
="$enable_xpm"
9810 if test "$enableval" = yes; then
9811 ac_cv_use_xpm
='wxUSE_XPM=yes'
9813 ac_cv_use_xpm
='wxUSE_XPM=no'
9818 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9819 if test "x$LINE" != x
; then
9820 eval "DEFAULT_$LINE"
9825 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9829 eval "$ac_cv_use_xpm"
9830 if test "$no_cache" != 1; then
9831 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9834 if test "$wxUSE_XPM" = yes; then
9835 echo "$as_me:$LINENO: result: yes" >&5
9836 echo "${ECHO_T}yes" >&6
9838 echo "$as_me:$LINENO: result: no" >&5
9839 echo "${ECHO_T}no" >&6
9844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9845 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9847 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9848 if test "${enable_ico_cur+set}" = set; then
9849 enableval
="$enable_ico_cur"
9851 if test "$enableval" = yes; then
9852 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9854 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9859 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9860 if test "x$LINE" != x
; then
9861 eval "DEFAULT_$LINE"
9866 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9870 eval "$ac_cv_use_ico_cur"
9871 if test "$no_cache" != 1; then
9872 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9875 if test "$wxUSE_ICO_CUR" = yes; then
9876 echo "$as_me:$LINENO: result: yes" >&5
9877 echo "${ECHO_T}yes" >&6
9879 echo "$as_me:$LINENO: result: no" >&5
9880 echo "${ECHO_T}no" >&6
9889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9890 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9892 # Check whether --enable-official_build or --disable-official_build was given.
9893 if test "${enable_official_build+set}" = set; then
9894 enableval
="$enable_official_build"
9896 if test "$enableval" = yes; then
9897 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
9899 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
9904 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9905 if test "x$LINE" != x
; then
9906 eval "DEFAULT_$LINE"
9911 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9915 eval "$ac_cv_use_official_build"
9916 if test "$no_cache" != 1; then
9917 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9920 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9921 echo "$as_me:$LINENO: result: yes" >&5
9922 echo "${ECHO_T}yes" >&6
9924 echo "$as_me:$LINENO: result: no" >&5
9925 echo "${ECHO_T}no" >&6
9928 # Check whether --enable-vendor or --disable-vendor was given.
9929 if test "${enable_vendor+set}" = set; then
9930 enableval
="$enable_vendor"
9933 if test "x$VENDOR" = "x"; then
9938 *-pc-os2_emx | *-pc-os2-emx )
9948 echo "saving argument cache $wx_arg_cache_file"
9949 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
9953 echo "$as_me:$LINENO: checking for toolkit" >&5
9954 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9956 # In Wine, we need to default to MSW, not GTK or MOTIF
9957 if test "$wxUSE_WINE" = "yes"; then
9958 DEFAULT_DEFAULT_wxUSE_GTK
=0
9959 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
9960 DEFAULT_DEFAULT_wxUSE_MSW
=1
9964 if test "$wxUSE_GUI" = "yes"; then
9966 if test "$USE_BEOS" = 1; then
9967 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9968 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9969 { (exit 1); exit 1; }; }
9972 if test "$TOOLKIT_GIVEN" = 1; then
9973 for toolkit
in `echo $ALL_TOOLKITS`; do
9975 eval "value=\$${var}"
9976 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
9979 for toolkit
in `echo $ALL_TOOLKITS`; do
9980 if test "$has_toolkit_in_cache" != 1; then
9981 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
9983 var
=DEFAULT_wxUSE_
$toolkit
9985 eval "wxUSE_$toolkit=\$${var}"
9989 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9990 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9991 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9994 *-pc-os2_emx | *-pc-os2-emx )
9995 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9998 case "$NUM_TOOLKITS" in
10002 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10003 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10004 { (exit 1); exit 1; }; }
10007 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10008 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10009 { (exit 1); exit 1; }; }
10012 for toolkit
in `echo $ALL_TOOLKITS`; do
10014 eval "value=\$${var}"
10015 if test "x$value" != x
; then
10016 cache_var
=CACHE_
$toolkit
10017 eval "cache=\$${cache_var}"
10018 if test "$cache" = 1; then
10019 echo "$var=$value" >> ${wx_arg_cache_file}
10021 if test "$value" = 1; then
10022 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10023 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10024 echo "${ECHO_T}$toolkit_echo" >&6
10029 if test "x$host_alias" != "x"; then
10030 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10031 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10033 echo "$as_me:$LINENO: result: base only" >&5
10034 echo "${ECHO_T}base only" >&6
10039 doesnt_want_win32
=0
10042 if test "$wxUSE_MSW" = 1 ; then
10045 doesnt_want_win32
=1
10053 if test "$wxUSE_WINE" = "yes"; then
10058 LDFLAGS_GUI
="-mwindows"
10061 if test "$wants_win32" = 1 ; then
10064 cat >>confdefs.h
<<\_ACEOF
10065 #define __WIN32__ 1
10068 cat >>confdefs.h
<<\_ACEOF
10069 #define __WIN95__ 1
10072 cat >>confdefs.h
<<\_ACEOF
10073 #define __WINDOWS__ 1
10076 cat >>confdefs.h
<<\_ACEOF
10077 #define __GNUWIN32__ 1
10080 cat >>confdefs.h
<<\_ACEOF
10084 cat >>confdefs.h
<<\_ACEOF
10085 #define WINVER 0x0400
10089 if test "$doesnt_want_win32" = 1 ; then
10094 if test "$USE_UNIX" = 1 ; then
10096 cat >>confdefs.h
<<\_ACEOF
10103 cat >confcache
<<\_ACEOF
10104 # This file is a shell script that caches the results of configure
10105 # tests run on this system so they can be shared between configure
10106 # scripts and configure runs, see configure's option --config-cache.
10107 # It is not useful on other systems. If it contains results you don't
10108 # want to keep, you may remove or edit it.
10110 # config.status only pays attention to the cache file if you give it
10111 # the --recheck option to rerun configure.
10113 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10114 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10115 # following values.
10119 # The following way of writing the cache mishandles newlines in values,
10120 # but we know of no workaround that is simple, portable, and efficient.
10121 # So, don't put newlines in cache variables' values.
10122 # Ultrix sh set writes to stderr and can't be redirected directly,
10123 # and sets the high bit in the cache file unless we assign to the vars.
10126 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10128 # `set' does not quote correctly, so add quotes (double-quote
10129 # substitution turns \\\\ into \\, and sed turns \\ into \).
10132 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10135 # `set' quotes correctly as required by POSIX, so do not add quotes.
10137 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10144 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10146 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10148 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10149 if test -w $cache_file; then
10150 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10151 cat confcache
>$cache_file
10153 echo "not updating unwritable cache $cache_file"
10158 if test "$build" != "$host" ; then
10159 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10161 CXX
=$host_alias-c++
10163 RANLIB
=$host_alias-ranlib
10164 DLLTOOL
=$host_alias-dlltool
10165 RESCOMP
=$host_alias-windres
10168 STRIP
=$host_alias-strip
10170 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10171 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10172 { (exit 1); exit 1; }; }
10178 ac_cpp
='$CPP $CPPFLAGS'
10179 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10180 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10181 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10182 if test -n "$ac_tool_prefix"; then
10183 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10184 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10185 echo "$as_me:$LINENO: checking for $ac_word" >&5
10186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10187 if test "${ac_cv_prog_CC+set}" = set; then
10188 echo $ECHO_N "(cached) $ECHO_C" >&6
10190 if test -n "$CC"; then
10191 ac_cv_prog_CC
="$CC" # Let the user override the test.
10193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10194 for as_dir
in $PATH
10197 test -z "$as_dir" && as_dir
=.
10198 for ac_exec_ext
in '' $ac_executable_extensions; do
10199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10200 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10210 if test -n "$CC"; then
10211 echo "$as_me:$LINENO: result: $CC" >&5
10212 echo "${ECHO_T}$CC" >&6
10214 echo "$as_me:$LINENO: result: no" >&5
10215 echo "${ECHO_T}no" >&6
10219 if test -z "$ac_cv_prog_CC"; then
10221 # Extract the first word of "gcc", so it can be a program name with args.
10222 set dummy gcc
; ac_word
=$2
10223 echo "$as_me:$LINENO: checking for $ac_word" >&5
10224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10225 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10226 echo $ECHO_N "(cached) $ECHO_C" >&6
10228 if test -n "$ac_ct_CC"; then
10229 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10232 for as_dir
in $PATH
10235 test -z "$as_dir" && as_dir
=.
10236 for ac_exec_ext
in '' $ac_executable_extensions; do
10237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10238 ac_cv_prog_ac_ct_CC
="gcc"
10239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10247 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10248 if test -n "$ac_ct_CC"; then
10249 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10250 echo "${ECHO_T}$ac_ct_CC" >&6
10252 echo "$as_me:$LINENO: result: no" >&5
10253 echo "${ECHO_T}no" >&6
10258 CC
="$ac_cv_prog_CC"
10261 if test -z "$CC"; then
10262 if test -n "$ac_tool_prefix"; then
10263 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10264 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10265 echo "$as_me:$LINENO: checking for $ac_word" >&5
10266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10267 if test "${ac_cv_prog_CC+set}" = set; then
10268 echo $ECHO_N "(cached) $ECHO_C" >&6
10270 if test -n "$CC"; then
10271 ac_cv_prog_CC
="$CC" # Let the user override the test.
10273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10274 for as_dir
in $PATH
10277 test -z "$as_dir" && as_dir
=.
10278 for ac_exec_ext
in '' $ac_executable_extensions; do
10279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10280 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10290 if test -n "$CC"; then
10291 echo "$as_me:$LINENO: result: $CC" >&5
10292 echo "${ECHO_T}$CC" >&6
10294 echo "$as_me:$LINENO: result: no" >&5
10295 echo "${ECHO_T}no" >&6
10299 if test -z "$ac_cv_prog_CC"; then
10301 # Extract the first word of "cc", so it can be a program name with args.
10302 set dummy cc
; ac_word
=$2
10303 echo "$as_me:$LINENO: checking for $ac_word" >&5
10304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10305 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10306 echo $ECHO_N "(cached) $ECHO_C" >&6
10308 if test -n "$ac_ct_CC"; then
10309 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10312 for as_dir
in $PATH
10315 test -z "$as_dir" && as_dir
=.
10316 for ac_exec_ext
in '' $ac_executable_extensions; do
10317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10318 ac_cv_prog_ac_ct_CC
="cc"
10319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10327 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10328 if test -n "$ac_ct_CC"; then
10329 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10330 echo "${ECHO_T}$ac_ct_CC" >&6
10332 echo "$as_me:$LINENO: result: no" >&5
10333 echo "${ECHO_T}no" >&6
10338 CC
="$ac_cv_prog_CC"
10342 if test -z "$CC"; then
10343 # Extract the first word of "cc", so it can be a program name with args.
10344 set dummy cc
; ac_word
=$2
10345 echo "$as_me:$LINENO: checking for $ac_word" >&5
10346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10347 if test "${ac_cv_prog_CC+set}" = set; then
10348 echo $ECHO_N "(cached) $ECHO_C" >&6
10350 if test -n "$CC"; then
10351 ac_cv_prog_CC
="$CC" # Let the user override the test.
10353 ac_prog_rejected
=no
10354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10355 for as_dir
in $PATH
10358 test -z "$as_dir" && as_dir
=.
10359 for ac_exec_ext
in '' $ac_executable_extensions; do
10360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10361 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10362 ac_prog_rejected
=yes
10366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10372 if test $ac_prog_rejected = yes; then
10373 # We found a bogon in the path, so make sure we never use it.
10374 set dummy
$ac_cv_prog_CC
10376 if test $# != 0; then
10377 # We chose a different compiler from the bogus one.
10378 # However, it has the same basename, so the bogon will be chosen
10379 # first if we set CC to just the basename; use the full file name.
10381 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10387 if test -n "$CC"; then
10388 echo "$as_me:$LINENO: result: $CC" >&5
10389 echo "${ECHO_T}$CC" >&6
10391 echo "$as_me:$LINENO: result: no" >&5
10392 echo "${ECHO_T}no" >&6
10396 if test -z "$CC"; then
10397 if test -n "$ac_tool_prefix"; then
10400 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10401 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10402 echo "$as_me:$LINENO: checking for $ac_word" >&5
10403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10404 if test "${ac_cv_prog_CC+set}" = set; then
10405 echo $ECHO_N "(cached) $ECHO_C" >&6
10407 if test -n "$CC"; then
10408 ac_cv_prog_CC
="$CC" # Let the user override the test.
10410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10411 for as_dir
in $PATH
10414 test -z "$as_dir" && as_dir
=.
10415 for ac_exec_ext
in '' $ac_executable_extensions; do
10416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10417 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10427 if test -n "$CC"; then
10428 echo "$as_me:$LINENO: result: $CC" >&5
10429 echo "${ECHO_T}$CC" >&6
10431 echo "$as_me:$LINENO: result: no" >&5
10432 echo "${ECHO_T}no" >&6
10435 test -n "$CC" && break
10438 if test -z "$CC"; then
10442 # Extract the first word of "$ac_prog", so it can be a program name with args.
10443 set dummy
$ac_prog; ac_word
=$2
10444 echo "$as_me:$LINENO: checking for $ac_word" >&5
10445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10446 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10447 echo $ECHO_N "(cached) $ECHO_C" >&6
10449 if test -n "$ac_ct_CC"; then
10450 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10453 for as_dir
in $PATH
10456 test -z "$as_dir" && as_dir
=.
10457 for ac_exec_ext
in '' $ac_executable_extensions; do
10458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10459 ac_cv_prog_ac_ct_CC
="$ac_prog"
10460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10468 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10469 if test -n "$ac_ct_CC"; then
10470 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10471 echo "${ECHO_T}$ac_ct_CC" >&6
10473 echo "$as_me:$LINENO: result: no" >&5
10474 echo "${ECHO_T}no" >&6
10477 test -n "$ac_ct_CC" && break
10486 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10487 See \`config.log' for more details." >&5
10488 echo "$as_me: error: no acceptable C compiler found in \$PATH
10489 See \`config.log' for more details." >&2;}
10490 { (exit 1); exit 1; }; }
10492 # Provide some information about the compiler.
10493 echo "$as_me:$LINENO:" \
10494 "checking for C compiler version" >&5
10495 ac_compiler
=`set X $ac_compile; echo $2`
10496 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10497 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10500 (exit $ac_status); }
10501 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10502 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10505 (exit $ac_status); }
10506 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10507 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10510 (exit $ac_status); }
10512 cat >conftest.
$ac_ext <<_ACEOF
10515 cat confdefs.h
>>conftest.
$ac_ext
10516 cat >>conftest.
$ac_ext <<_ACEOF
10517 /* end confdefs.h. */
10527 ac_clean_files_save
=$ac_clean_files
10528 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10529 # Try to create an executable without -o first, disregard a.out.
10530 # It will help us diagnose broken compilers, and finding out an intuition
10532 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10533 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10534 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10535 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10536 (eval $ac_link_default) 2>&5
10538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10539 (exit $ac_status); }; then
10540 # Find the output, starting from the most likely. This scheme is
10541 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10544 # Be careful to initialize this variable, since it used to be cached.
10545 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10547 # b.out is created by i960 compilers.
10548 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10550 test -f "$ac_file" || continue
10552 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10555 # This is the source file.
10558 # We found the default executable, but exeext='' is most
10562 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10563 # FIXME: I believe we export ac_cv_exeext for Libtool,
10564 # but it would be cool to find out if it's true. Does anybody
10565 # maintain Libtool? --akim.
10566 export ac_cv_exeext
10573 echo "$as_me: failed program was:" >&5
10574 sed 's/^/| /' conftest.
$ac_ext >&5
10576 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10577 See \`config.log' for more details." >&5
10578 echo "$as_me: error: C compiler cannot create executables
10579 See \`config.log' for more details." >&2;}
10580 { (exit 77); exit 77; }; }
10583 ac_exeext
=$ac_cv_exeext
10584 echo "$as_me:$LINENO: result: $ac_file" >&5
10585 echo "${ECHO_T}$ac_file" >&6
10587 # Check the compiler produces executables we can run. If not, either
10588 # the compiler is broken, or we cross compile.
10589 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10590 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10591 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10592 # If not cross compiling, check that we can run a simple program.
10593 if test "$cross_compiling" != yes; then
10594 if { ac_try
='./$ac_file'
10595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10596 (eval $ac_try) 2>&5
10598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10599 (exit $ac_status); }; }; then
10602 if test "$cross_compiling" = maybe
; then
10603 cross_compiling
=yes
10605 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10606 If you meant to cross compile, use \`--host'.
10607 See \`config.log' for more details." >&5
10608 echo "$as_me: error: cannot run C compiled programs.
10609 If you meant to cross compile, use \`--host'.
10610 See \`config.log' for more details." >&2;}
10611 { (exit 1); exit 1; }; }
10615 echo "$as_me:$LINENO: result: yes" >&5
10616 echo "${ECHO_T}yes" >&6
10618 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10619 ac_clean_files
=$ac_clean_files_save
10620 # Check the compiler produces executables we can run. If not, either
10621 # the compiler is broken, or we cross compile.
10622 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10623 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10624 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10625 echo "${ECHO_T}$cross_compiling" >&6
10627 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10628 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10630 (eval $ac_link) 2>&5
10632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10633 (exit $ac_status); }; then
10634 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10635 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10636 # work properly (i.e., refer to `conftest.exe'), while it won't with
10638 for ac_file
in conftest.exe conftest conftest.
*; do
10639 test -f "$ac_file" || continue
10641 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10642 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10643 export ac_cv_exeext
10649 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10650 See \`config.log' for more details." >&5
10651 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10652 See \`config.log' for more details." >&2;}
10653 { (exit 1); exit 1; }; }
10656 rm -f conftest
$ac_cv_exeext
10657 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10658 echo "${ECHO_T}$ac_cv_exeext" >&6
10660 rm -f conftest.
$ac_ext
10661 EXEEXT
=$ac_cv_exeext
10663 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10664 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10665 if test "${ac_cv_objext+set}" = set; then
10666 echo $ECHO_N "(cached) $ECHO_C" >&6
10668 cat >conftest.
$ac_ext <<_ACEOF
10671 cat confdefs.h
>>conftest.
$ac_ext
10672 cat >>conftest.
$ac_ext <<_ACEOF
10673 /* end confdefs.h. */
10683 rm -f conftest.o conftest.obj
10684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10685 (eval $ac_compile) 2>&5
10687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10688 (exit $ac_status); }; then
10689 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10691 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10692 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10697 echo "$as_me: failed program was:" >&5
10698 sed 's/^/| /' conftest.
$ac_ext >&5
10700 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10701 See \`config.log' for more details." >&5
10702 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10703 See \`config.log' for more details." >&2;}
10704 { (exit 1); exit 1; }; }
10707 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10709 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10710 echo "${ECHO_T}$ac_cv_objext" >&6
10711 OBJEXT
=$ac_cv_objext
10713 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10714 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10715 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10716 echo $ECHO_N "(cached) $ECHO_C" >&6
10718 cat >conftest.
$ac_ext <<_ACEOF
10721 cat confdefs.h
>>conftest.
$ac_ext
10722 cat >>conftest.
$ac_ext <<_ACEOF
10723 /* end confdefs.h. */
10736 rm -f conftest.
$ac_objext
10737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10738 (eval $ac_compile) 2>conftest.er1
10740 grep -v '^ *+' conftest.er1
>conftest.err
10742 cat conftest.err
>&5
10743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10744 (exit $ac_status); } &&
10745 { ac_try
='test -z "$ac_c_werror_flag"
10746 || test ! -s conftest.err'
10747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10748 (eval $ac_try) 2>&5
10750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10751 (exit $ac_status); }; } &&
10752 { ac_try
='test -s conftest.$ac_objext'
10753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10754 (eval $ac_try) 2>&5
10756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757 (exit $ac_status); }; }; then
10758 ac_compiler_gnu
=yes
10760 echo "$as_me: failed program was:" >&5
10761 sed 's/^/| /' conftest.
$ac_ext >&5
10765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10766 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10769 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10770 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10771 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10772 ac_test_CFLAGS
=${CFLAGS+set}
10773 ac_save_CFLAGS
=$CFLAGS
10775 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10776 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10777 if test "${ac_cv_prog_cc_g+set}" = set; then
10778 echo $ECHO_N "(cached) $ECHO_C" >&6
10780 cat >conftest.
$ac_ext <<_ACEOF
10783 cat confdefs.h
>>conftest.
$ac_ext
10784 cat >>conftest.
$ac_ext <<_ACEOF
10785 /* end confdefs.h. */
10795 rm -f conftest.
$ac_objext
10796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10797 (eval $ac_compile) 2>conftest.er1
10799 grep -v '^ *+' conftest.er1
>conftest.err
10801 cat conftest.err
>&5
10802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10803 (exit $ac_status); } &&
10804 { ac_try
='test -z "$ac_c_werror_flag"
10805 || test ! -s conftest.err'
10806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10807 (eval $ac_try) 2>&5
10809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810 (exit $ac_status); }; } &&
10811 { ac_try
='test -s conftest.$ac_objext'
10812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10813 (eval $ac_try) 2>&5
10815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816 (exit $ac_status); }; }; then
10817 ac_cv_prog_cc_g
=yes
10819 echo "$as_me: failed program was:" >&5
10820 sed 's/^/| /' conftest.
$ac_ext >&5
10824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10826 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10827 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10828 if test "$ac_test_CFLAGS" = set; then
10829 CFLAGS
=$ac_save_CFLAGS
10830 elif test $ac_cv_prog_cc_g = yes; then
10831 if test "$GCC" = yes; then
10837 if test "$GCC" = yes; then
10843 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10844 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10845 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10846 echo $ECHO_N "(cached) $ECHO_C" >&6
10848 ac_cv_prog_cc_stdc
=no
10850 cat >conftest.
$ac_ext <<_ACEOF
10853 cat confdefs.h
>>conftest.
$ac_ext
10854 cat >>conftest.
$ac_ext <<_ACEOF
10855 /* end confdefs.h. */
10856 #include <stdarg.h>
10858 #include <sys/types.h>
10859 #include <sys/stat.h>
10860 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10861 struct buf { int x; };
10862 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10863 static char *e (p, i)
10869 static char *f (char * (*g) (char **, int), char **p, ...)
10874 s = g (p, va_arg (v,int));
10879 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10880 function prototypes and stuff, but not '\xHH' hex character constants.
10881 These don't provoke an error unfortunately, instead are silently treated
10882 as 'x'. The following induces an error, until -std1 is added to get
10883 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10884 array size at least. It's necessary to write '\x00'==0 to get something
10885 that's true only with -std1. */
10886 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10888 int test (int i, double x);
10889 struct s1 {int (*f) (int a);};
10890 struct s2 {int (*f) (double a);};
10891 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10897 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10902 # Don't try gcc -ansi; that turns off useful extensions and
10903 # breaks some systems' header files.
10904 # AIX -qlanglvl=ansi
10905 # Ultrix and OSF/1 -std1
10906 # HP-UX 10.20 and later -Ae
10907 # HP-UX older versions -Aa -D_HPUX_SOURCE
10908 # SVR4 -Xc -D__EXTENSIONS__
10909 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10911 CC
="$ac_save_CC $ac_arg"
10912 rm -f conftest.
$ac_objext
10913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10914 (eval $ac_compile) 2>conftest.er1
10916 grep -v '^ *+' conftest.er1
>conftest.err
10918 cat conftest.err
>&5
10919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10920 (exit $ac_status); } &&
10921 { ac_try
='test -z "$ac_c_werror_flag"
10922 || test ! -s conftest.err'
10923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10924 (eval $ac_try) 2>&5
10926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10927 (exit $ac_status); }; } &&
10928 { ac_try
='test -s conftest.$ac_objext'
10929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10930 (eval $ac_try) 2>&5
10932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10933 (exit $ac_status); }; }; then
10934 ac_cv_prog_cc_stdc
=$ac_arg
10937 echo "$as_me: failed program was:" >&5
10938 sed 's/^/| /' conftest.
$ac_ext >&5
10941 rm -f conftest.err conftest.
$ac_objext
10943 rm -f conftest.
$ac_ext conftest.
$ac_objext
10948 case "x$ac_cv_prog_cc_stdc" in
10950 echo "$as_me:$LINENO: result: none needed" >&5
10951 echo "${ECHO_T}none needed" >&6 ;;
10953 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10954 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10955 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10958 # Some people use a C++ compiler to compile C. Since we use `exit',
10959 # in C++ we need to declare it. In case someone uses the same compiler
10960 # for both compiling C and C++ we need to have the C++ compiler decide
10961 # the declaration of exit, since it's the most demanding environment.
10962 cat >conftest.
$ac_ext <<_ACEOF
10963 #ifndef __cplusplus
10967 rm -f conftest.
$ac_objext
10968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10969 (eval $ac_compile) 2>conftest.er1
10971 grep -v '^ *+' conftest.er1
>conftest.err
10973 cat conftest.err
>&5
10974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975 (exit $ac_status); } &&
10976 { ac_try
='test -z "$ac_c_werror_flag"
10977 || test ! -s conftest.err'
10978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10979 (eval $ac_try) 2>&5
10981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982 (exit $ac_status); }; } &&
10983 { ac_try
='test -s conftest.$ac_objext'
10984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10985 (eval $ac_try) 2>&5
10987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10988 (exit $ac_status); }; }; then
10989 for ac_declaration
in \
10991 'extern "C" void std::exit (int) throw (); using std::exit;' \
10992 'extern "C" void std::exit (int); using std::exit;' \
10993 'extern "C" void exit (int) throw ();' \
10994 'extern "C" void exit (int);' \
10997 cat >conftest.
$ac_ext <<_ACEOF
11000 cat confdefs.h
>>conftest.
$ac_ext
11001 cat >>conftest.
$ac_ext <<_ACEOF
11002 /* end confdefs.h. */
11004 #include <stdlib.h>
11013 rm -f conftest.
$ac_objext
11014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11015 (eval $ac_compile) 2>conftest.er1
11017 grep -v '^ *+' conftest.er1
>conftest.err
11019 cat conftest.err
>&5
11020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11021 (exit $ac_status); } &&
11022 { ac_try
='test -z "$ac_c_werror_flag"
11023 || test ! -s conftest.err'
11024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11025 (eval $ac_try) 2>&5
11027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 (exit $ac_status); }; } &&
11029 { ac_try
='test -s conftest.$ac_objext'
11030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11031 (eval $ac_try) 2>&5
11033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034 (exit $ac_status); }; }; then
11037 echo "$as_me: failed program was:" >&5
11038 sed 's/^/| /' conftest.
$ac_ext >&5
11042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11043 cat >conftest.
$ac_ext <<_ACEOF
11046 cat confdefs.h
>>conftest.
$ac_ext
11047 cat >>conftest.
$ac_ext <<_ACEOF
11048 /* end confdefs.h. */
11058 rm -f conftest.
$ac_objext
11059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11060 (eval $ac_compile) 2>conftest.er1
11062 grep -v '^ *+' conftest.er1
>conftest.err
11064 cat conftest.err
>&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); } &&
11067 { ac_try
='test -z "$ac_c_werror_flag"
11068 || test ! -s conftest.err'
11069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11070 (eval $ac_try) 2>&5
11072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11073 (exit $ac_status); }; } &&
11074 { ac_try
='test -s conftest.$ac_objext'
11075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11076 (eval $ac_try) 2>&5
11078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11079 (exit $ac_status); }; }; then
11082 echo "$as_me: failed program was:" >&5
11083 sed 's/^/| /' conftest.
$ac_ext >&5
11086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11089 if test -n "$ac_declaration"; then
11090 echo '#ifdef __cplusplus' >>confdefs.h
11091 echo $ac_declaration >>confdefs.h
11092 echo '#endif' >>confdefs.h
11096 echo "$as_me: failed program was:" >&5
11097 sed 's/^/| /' conftest.
$ac_ext >&5
11100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11102 ac_cpp
='$CPP $CPPFLAGS'
11103 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11104 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11105 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11110 ac_cpp
='$CPP $CPPFLAGS'
11111 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11112 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11113 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11114 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11115 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11116 # On Suns, sometimes $CPP names a directory.
11117 if test -n "$CPP" && test -d "$CPP"; then
11120 if test -z "$CPP"; then
11121 if test "${ac_cv_prog_CPP+set}" = set; then
11122 echo $ECHO_N "(cached) $ECHO_C" >&6
11124 # Double quotes because CPP needs to be expanded
11125 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11127 ac_preproc_ok
=false
11128 for ac_c_preproc_warn_flag
in '' yes
11130 # Use a header file that comes with gcc, so configuring glibc
11131 # with a fresh cross-compiler works.
11132 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11133 # <limits.h> exists even on freestanding compilers.
11134 # On the NeXT, cc -E runs the code through the compiler's parser,
11135 # not just through cpp. "Syntax error" is here to catch this case.
11136 cat >conftest.
$ac_ext <<_ACEOF
11139 cat confdefs.h
>>conftest.
$ac_ext
11140 cat >>conftest.
$ac_ext <<_ACEOF
11141 /* end confdefs.h. */
11143 # include <limits.h>
11145 # include <assert.h>
11149 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11150 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11152 grep -v '^ *+' conftest.er1
>conftest.err
11154 cat conftest.err
>&5
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); } >/dev
/null
; then
11157 if test -s conftest.err
; then
11158 ac_cpp_err
=$ac_c_preproc_warn_flag
11159 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11166 if test -z "$ac_cpp_err"; then
11169 echo "$as_me: failed program was:" >&5
11170 sed 's/^/| /' conftest.
$ac_ext >&5
11172 # Broken: fails on valid input.
11175 rm -f conftest.err conftest.
$ac_ext
11177 # OK, works on sane cases. Now check whether non-existent headers
11178 # can be detected and how.
11179 cat >conftest.
$ac_ext <<_ACEOF
11182 cat confdefs.h
>>conftest.
$ac_ext
11183 cat >>conftest.
$ac_ext <<_ACEOF
11184 /* end confdefs.h. */
11185 #include <ac_nonexistent.h>
11187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11188 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11190 grep -v '^ *+' conftest.er1
>conftest.err
11192 cat conftest.err
>&5
11193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194 (exit $ac_status); } >/dev
/null
; then
11195 if test -s conftest.err
; then
11196 ac_cpp_err
=$ac_c_preproc_warn_flag
11197 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11204 if test -z "$ac_cpp_err"; then
11205 # Broken: success on invalid input.
11208 echo "$as_me: failed program was:" >&5
11209 sed 's/^/| /' conftest.
$ac_ext >&5
11211 # Passes both tests.
11215 rm -f conftest.err conftest.
$ac_ext
11218 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11219 rm -f conftest.err conftest.
$ac_ext
11220 if $ac_preproc_ok; then
11225 ac_cv_prog_CPP
=$CPP
11228 CPP
=$ac_cv_prog_CPP
11230 ac_cv_prog_CPP
=$CPP
11232 echo "$as_me:$LINENO: result: $CPP" >&5
11233 echo "${ECHO_T}$CPP" >&6
11234 ac_preproc_ok
=false
11235 for ac_c_preproc_warn_flag
in '' yes
11237 # Use a header file that comes with gcc, so configuring glibc
11238 # with a fresh cross-compiler works.
11239 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11240 # <limits.h> exists even on freestanding compilers.
11241 # On the NeXT, cc -E runs the code through the compiler's parser,
11242 # not just through cpp. "Syntax error" is here to catch this case.
11243 cat >conftest.
$ac_ext <<_ACEOF
11246 cat confdefs.h
>>conftest.
$ac_ext
11247 cat >>conftest.
$ac_ext <<_ACEOF
11248 /* end confdefs.h. */
11250 # include <limits.h>
11252 # include <assert.h>
11256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11257 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11259 grep -v '^ *+' conftest.er1
>conftest.err
11261 cat conftest.err
>&5
11262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263 (exit $ac_status); } >/dev
/null
; then
11264 if test -s conftest.err
; then
11265 ac_cpp_err
=$ac_c_preproc_warn_flag
11266 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11273 if test -z "$ac_cpp_err"; then
11276 echo "$as_me: failed program was:" >&5
11277 sed 's/^/| /' conftest.
$ac_ext >&5
11279 # Broken: fails on valid input.
11282 rm -f conftest.err conftest.
$ac_ext
11284 # OK, works on sane cases. Now check whether non-existent headers
11285 # can be detected and how.
11286 cat >conftest.
$ac_ext <<_ACEOF
11289 cat confdefs.h
>>conftest.
$ac_ext
11290 cat >>conftest.
$ac_ext <<_ACEOF
11291 /* end confdefs.h. */
11292 #include <ac_nonexistent.h>
11294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11295 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11297 grep -v '^ *+' conftest.er1
>conftest.err
11299 cat conftest.err
>&5
11300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11301 (exit $ac_status); } >/dev
/null
; then
11302 if test -s conftest.err
; then
11303 ac_cpp_err
=$ac_c_preproc_warn_flag
11304 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11311 if test -z "$ac_cpp_err"; then
11312 # Broken: success on invalid input.
11315 echo "$as_me: failed program was:" >&5
11316 sed 's/^/| /' conftest.
$ac_ext >&5
11318 # Passes both tests.
11322 rm -f conftest.err conftest.
$ac_ext
11325 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11326 rm -f conftest.err conftest.
$ac_ext
11327 if $ac_preproc_ok; then
11330 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11331 See \`config.log' for more details." >&5
11332 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11333 See \`config.log' for more details." >&2;}
11334 { (exit 1); exit 1; }; }
11338 ac_cpp
='$CPP $CPPFLAGS'
11339 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11340 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11341 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11344 echo "$as_me:$LINENO: checking for egrep" >&5
11345 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11346 if test "${ac_cv_prog_egrep+set}" = set; then
11347 echo $ECHO_N "(cached) $ECHO_C" >&6
11349 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11350 then ac_cv_prog_egrep
='grep -E'
11351 else ac_cv_prog_egrep
='egrep'
11354 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11355 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11356 EGREP
=$ac_cv_prog_egrep
11359 if test $ac_cv_c_compiler_gnu = yes; then
11360 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11361 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11362 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11363 echo $ECHO_N "(cached) $ECHO_C" >&6
11365 ac_pattern
="Autoconf.*'x'"
11366 cat >conftest.
$ac_ext <<_ACEOF
11369 cat confdefs.h
>>conftest.
$ac_ext
11370 cat >>conftest.
$ac_ext <<_ACEOF
11371 /* end confdefs.h. */
11375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11376 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11377 ac_cv_prog_gcc_traditional
=yes
11379 ac_cv_prog_gcc_traditional
=no
11384 if test $ac_cv_prog_gcc_traditional = no
; then
11385 cat >conftest.
$ac_ext <<_ACEOF
11388 cat confdefs.h
>>conftest.
$ac_ext
11389 cat >>conftest.
$ac_ext <<_ACEOF
11390 /* end confdefs.h. */
11391 #include <termio.h>
11394 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11395 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11396 ac_cv_prog_gcc_traditional
=yes
11402 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11403 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11404 if test $ac_cv_prog_gcc_traditional = yes; then
11405 CC
="$CC -traditional"
11413 ac_cpp
='$CXXCPP $CPPFLAGS'
11414 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11415 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11416 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11419 CXXFLAGS
=${CXXFLAGS:=}
11421 ac_cpp
='$CXXCPP $CPPFLAGS'
11422 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11423 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11424 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11425 if test -n "$ac_tool_prefix"; then
11426 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11428 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11429 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11430 echo "$as_me:$LINENO: checking for $ac_word" >&5
11431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11432 if test "${ac_cv_prog_CXX+set}" = set; then
11433 echo $ECHO_N "(cached) $ECHO_C" >&6
11435 if test -n "$CXX"; then
11436 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11439 for as_dir
in $PATH
11442 test -z "$as_dir" && as_dir
=.
11443 for ac_exec_ext
in '' $ac_executable_extensions; do
11444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11445 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11454 CXX
=$ac_cv_prog_CXX
11455 if test -n "$CXX"; then
11456 echo "$as_me:$LINENO: result: $CXX" >&5
11457 echo "${ECHO_T}$CXX" >&6
11459 echo "$as_me:$LINENO: result: no" >&5
11460 echo "${ECHO_T}no" >&6
11463 test -n "$CXX" && break
11466 if test -z "$CXX"; then
11468 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11470 # Extract the first word of "$ac_prog", so it can be a program name with args.
11471 set dummy
$ac_prog; ac_word
=$2
11472 echo "$as_me:$LINENO: checking for $ac_word" >&5
11473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11474 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11475 echo $ECHO_N "(cached) $ECHO_C" >&6
11477 if test -n "$ac_ct_CXX"; then
11478 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11481 for as_dir
in $PATH
11484 test -z "$as_dir" && as_dir
=.
11485 for ac_exec_ext
in '' $ac_executable_extensions; do
11486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11487 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11496 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11497 if test -n "$ac_ct_CXX"; then
11498 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11499 echo "${ECHO_T}$ac_ct_CXX" >&6
11501 echo "$as_me:$LINENO: result: no" >&5
11502 echo "${ECHO_T}no" >&6
11505 test -n "$ac_ct_CXX" && break
11507 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11513 # Provide some information about the compiler.
11514 echo "$as_me:$LINENO:" \
11515 "checking for C++ compiler version" >&5
11516 ac_compiler
=`set X $ac_compile; echo $2`
11517 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11518 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521 (exit $ac_status); }
11522 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11523 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526 (exit $ac_status); }
11527 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11528 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11531 (exit $ac_status); }
11533 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11534 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11535 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11536 echo $ECHO_N "(cached) $ECHO_C" >&6
11538 cat >conftest.
$ac_ext <<_ACEOF
11541 cat confdefs.h
>>conftest.
$ac_ext
11542 cat >>conftest.
$ac_ext <<_ACEOF
11543 /* end confdefs.h. */
11556 rm -f conftest.
$ac_objext
11557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11558 (eval $ac_compile) 2>conftest.er1
11560 grep -v '^ *+' conftest.er1
>conftest.err
11562 cat conftest.err
>&5
11563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11564 (exit $ac_status); } &&
11565 { ac_try
='test -z "$ac_cxx_werror_flag"
11566 || test ! -s conftest.err'
11567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11568 (eval $ac_try) 2>&5
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); }; } &&
11572 { ac_try
='test -s conftest.$ac_objext'
11573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11574 (eval $ac_try) 2>&5
11576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11577 (exit $ac_status); }; }; then
11578 ac_compiler_gnu
=yes
11580 echo "$as_me: failed program was:" >&5
11581 sed 's/^/| /' conftest.
$ac_ext >&5
11585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11586 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11589 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11590 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11591 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11592 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11593 ac_save_CXXFLAGS
=$CXXFLAGS
11595 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11596 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11597 if test "${ac_cv_prog_cxx_g+set}" = set; then
11598 echo $ECHO_N "(cached) $ECHO_C" >&6
11600 cat >conftest.
$ac_ext <<_ACEOF
11603 cat confdefs.h
>>conftest.
$ac_ext
11604 cat >>conftest.
$ac_ext <<_ACEOF
11605 /* end confdefs.h. */
11615 rm -f conftest.
$ac_objext
11616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11617 (eval $ac_compile) 2>conftest.er1
11619 grep -v '^ *+' conftest.er1
>conftest.err
11621 cat conftest.err
>&5
11622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11623 (exit $ac_status); } &&
11624 { ac_try
='test -z "$ac_cxx_werror_flag"
11625 || test ! -s conftest.err'
11626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11627 (eval $ac_try) 2>&5
11629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11630 (exit $ac_status); }; } &&
11631 { ac_try
='test -s conftest.$ac_objext'
11632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11633 (eval $ac_try) 2>&5
11635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11636 (exit $ac_status); }; }; then
11637 ac_cv_prog_cxx_g
=yes
11639 echo "$as_me: failed program was:" >&5
11640 sed 's/^/| /' conftest.
$ac_ext >&5
11642 ac_cv_prog_cxx_g
=no
11644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11646 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11647 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11648 if test "$ac_test_CXXFLAGS" = set; then
11649 CXXFLAGS
=$ac_save_CXXFLAGS
11650 elif test $ac_cv_prog_cxx_g = yes; then
11651 if test "$GXX" = yes; then
11657 if test "$GXX" = yes; then
11663 for ac_declaration
in \
11665 'extern "C" void std::exit (int) throw (); using std::exit;' \
11666 'extern "C" void std::exit (int); using std::exit;' \
11667 'extern "C" void exit (int) throw ();' \
11668 'extern "C" void exit (int);' \
11671 cat >conftest.
$ac_ext <<_ACEOF
11674 cat confdefs.h
>>conftest.
$ac_ext
11675 cat >>conftest.
$ac_ext <<_ACEOF
11676 /* end confdefs.h. */
11678 #include <stdlib.h>
11687 rm -f conftest.
$ac_objext
11688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11689 (eval $ac_compile) 2>conftest.er1
11691 grep -v '^ *+' conftest.er1
>conftest.err
11693 cat conftest.err
>&5
11694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11695 (exit $ac_status); } &&
11696 { ac_try
='test -z "$ac_cxx_werror_flag"
11697 || test ! -s conftest.err'
11698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11699 (eval $ac_try) 2>&5
11701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702 (exit $ac_status); }; } &&
11703 { ac_try
='test -s conftest.$ac_objext'
11704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11705 (eval $ac_try) 2>&5
11707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 (exit $ac_status); }; }; then
11711 echo "$as_me: failed program was:" >&5
11712 sed 's/^/| /' conftest.
$ac_ext >&5
11716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11717 cat >conftest.
$ac_ext <<_ACEOF
11720 cat confdefs.h
>>conftest.
$ac_ext
11721 cat >>conftest.
$ac_ext <<_ACEOF
11722 /* end confdefs.h. */
11732 rm -f conftest.
$ac_objext
11733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11734 (eval $ac_compile) 2>conftest.er1
11736 grep -v '^ *+' conftest.er1
>conftest.err
11738 cat conftest.err
>&5
11739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11740 (exit $ac_status); } &&
11741 { ac_try
='test -z "$ac_cxx_werror_flag"
11742 || test ! -s conftest.err'
11743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11744 (eval $ac_try) 2>&5
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747 (exit $ac_status); }; } &&
11748 { ac_try
='test -s conftest.$ac_objext'
11749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11750 (eval $ac_try) 2>&5
11752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11753 (exit $ac_status); }; }; then
11756 echo "$as_me: failed program was:" >&5
11757 sed 's/^/| /' conftest.
$ac_ext >&5
11760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11763 if test -n "$ac_declaration"; then
11764 echo '#ifdef __cplusplus' >>confdefs.h
11765 echo $ac_declaration >>confdefs.h
11766 echo '#endif' >>confdefs.h
11770 ac_cpp
='$CXXCPP $CPPFLAGS'
11771 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11772 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11773 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11777 ac_cpp
='$CPP $CPPFLAGS'
11778 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11779 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11780 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11783 echo "$as_me:$LINENO: checking for /usr/local/include in default include path" >&5
11784 echo $ECHO_N "checking for /usr/local/include in default include path... $ECHO_C" >&6
11785 GCC_SEARCHES_USR_LOCAL_INCLUDE
="no"
11786 if test "$GCC" = "yes" ; then
11787 echo | gcc
-v -x c
++ -E - 2>&1 | sed -n '/^#include </,$p' | \
11788 sed -n '1,/End of search list\./p' | \
11789 grep '^ */usr/local/include$' 2>&1 /dev
/null \
11790 && GCC_SEARCHES_USR_LOCAL_INCLUDE
="yes"
11792 echo "$as_me:$LINENO: result: $GCC_SEARCHES_USR_LOCAL_INCLUDE" >&5
11793 echo "${ECHO_T}$GCC_SEARCHES_USR_LOCAL_INCLUDE" >&6
11795 if test -n "$ac_tool_prefix"; then
11796 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11797 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11798 echo "$as_me:$LINENO: checking for $ac_word" >&5
11799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11800 if test "${ac_cv_prog_RANLIB+set}" = set; then
11801 echo $ECHO_N "(cached) $ECHO_C" >&6
11803 if test -n "$RANLIB"; then
11804 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11807 for as_dir
in $PATH
11810 test -z "$as_dir" && as_dir
=.
11811 for ac_exec_ext
in '' $ac_executable_extensions; do
11812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11813 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11822 RANLIB
=$ac_cv_prog_RANLIB
11823 if test -n "$RANLIB"; then
11824 echo "$as_me:$LINENO: result: $RANLIB" >&5
11825 echo "${ECHO_T}$RANLIB" >&6
11827 echo "$as_me:$LINENO: result: no" >&5
11828 echo "${ECHO_T}no" >&6
11832 if test -z "$ac_cv_prog_RANLIB"; then
11833 ac_ct_RANLIB
=$RANLIB
11834 # Extract the first word of "ranlib", so it can be a program name with args.
11835 set dummy ranlib
; ac_word
=$2
11836 echo "$as_me:$LINENO: checking for $ac_word" >&5
11837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11838 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11839 echo $ECHO_N "(cached) $ECHO_C" >&6
11841 if test -n "$ac_ct_RANLIB"; then
11842 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11845 for as_dir
in $PATH
11848 test -z "$as_dir" && as_dir
=.
11849 for ac_exec_ext
in '' $ac_executable_extensions; do
11850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11851 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11858 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11861 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11862 if test -n "$ac_ct_RANLIB"; then
11863 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11864 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11866 echo "$as_me:$LINENO: result: no" >&5
11867 echo "${ECHO_T}no" >&6
11870 RANLIB
=$ac_ct_RANLIB
11872 RANLIB
="$ac_cv_prog_RANLIB"
11876 # Extract the first word of "ar", so it can be a program name with args.
11877 set dummy
ar; ac_word
=$2
11878 echo "$as_me:$LINENO: checking for $ac_word" >&5
11879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11880 if test "${ac_cv_prog_AR+set}" = set; then
11881 echo $ECHO_N "(cached) $ECHO_C" >&6
11883 if test -n "$AR"; then
11884 ac_cv_prog_AR
="$AR" # Let the user override the test.
11886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11887 for as_dir
in $PATH
11890 test -z "$as_dir" && as_dir
=.
11891 for ac_exec_ext
in '' $ac_executable_extensions; do
11892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11903 if test -n "$AR"; then
11904 echo "$as_me:$LINENO: result: $AR" >&5
11905 echo "${ECHO_T}$AR" >&6
11907 echo "$as_me:$LINENO: result: no" >&5
11908 echo "${ECHO_T}no" >&6
11911 if test "x$AR" = "x" ; then
11912 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
11913 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
11914 { (exit 1); exit 1; }; }
11917 # Find a good install program. We prefer a C program (faster),
11918 # so one script is as good as another. But avoid the broken or
11919 # incompatible versions:
11920 # SysV /etc/install, /usr/sbin/install
11921 # SunOS /usr/etc/install
11922 # IRIX /sbin/install
11924 # AmigaOS /C/install, which installs bootblocks on floppy discs
11925 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11926 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11927 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11928 # OS/2's system install, which has a completely different semantic
11929 # ./install, which can be erroneously created by make from ./install.sh.
11930 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11931 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11932 if test -z "$INSTALL"; then
11933 if test "${ac_cv_path_install+set}" = set; then
11934 echo $ECHO_N "(cached) $ECHO_C" >&6
11936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11937 for as_dir
in $PATH
11940 test -z "$as_dir" && as_dir
=.
11941 # Account for people who put trailing slashes in PATH elements.
11943 .
/ | .
// | /cC
/* | \
11944 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11945 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11948 # OSF1 and SCO ODT 3.0 have their own names for install.
11949 # Don't use installbsd from OSF since it installs stuff as root
11951 for ac_prog
in ginstall scoinst
install; do
11952 for ac_exec_ext
in '' $ac_executable_extensions; do
11953 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11954 if test $ac_prog = install &&
11955 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11956 # AIX install. It has an incompatible calling convention.
11958 elif test $ac_prog = install &&
11959 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11960 # program-specific install script used by HP pwplus--don't use.
11963 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11975 if test "${ac_cv_path_install+set}" = set; then
11976 INSTALL
=$ac_cv_path_install
11978 # As a last resort, use the slow shell script. We don't cache a
11979 # path for INSTALL within a source directory, because that will
11980 # break other packages using the cache if that directory is
11981 # removed, or if the path is relative.
11982 INSTALL
=$ac_install_sh
11985 echo "$as_me:$LINENO: result: $INSTALL" >&5
11986 echo "${ECHO_T}$INSTALL" >&6
11988 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11989 # It thinks the first close brace ends the variable substitution.
11990 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11992 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11994 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12000 ?
:* ) # Drive letter, considered as absolute.
12003 INSTALL
=`pwd`/${INSTALL} ;;
12008 INSTALL_DIR
="mkdir"
12011 *) INSTALL_DIR
="$INSTALL -d"
12018 powerpc
-*-darwin* )
12019 INSTALL_PROGRAM
="cp -fp"
12020 INSTALL_DATA
="cp -fp"
12026 # Extract the first word of "strip", so it can be a program name with args.
12027 set dummy strip
; ac_word
=$2
12028 echo "$as_me:$LINENO: checking for $ac_word" >&5
12029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12030 if test "${ac_cv_prog_STRIP+set}" = set; then
12031 echo $ECHO_N "(cached) $ECHO_C" >&6
12033 if test -n "$STRIP"; then
12034 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12037 for as_dir
in $PATH
12040 test -z "$as_dir" && as_dir
=.
12041 for ac_exec_ext
in '' $ac_executable_extensions; do
12042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12043 ac_cv_prog_STRIP
="strip"
12044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12050 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12053 STRIP
=$ac_cv_prog_STRIP
12054 if test -n "$STRIP"; then
12055 echo "$as_me:$LINENO: result: $STRIP" >&5
12056 echo "${ECHO_T}$STRIP" >&6
12058 echo "$as_me:$LINENO: result: no" >&5
12059 echo "${ECHO_T}no" >&6
12063 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12064 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12065 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12066 echo $ECHO_N "(cached) $ECHO_C" >&6
12069 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12070 egrep -s GNU
> /dev
/null
); then
12071 wx_cv_prog_makeisgnu
="yes"
12073 wx_cv_prog_makeisgnu
="no"
12077 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12078 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12080 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12088 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12089 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12090 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12091 if test "${wx_cv_prog_makevpath+set}" = set; then
12092 echo $ECHO_N "(cached) $ECHO_C" >&6
12095 cat - << EOF > confMake
12101 if test ! -d sub
; then
12104 echo dummy
> sub
/file
12105 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12107 rm -f sub
/file check final_file confMake
12109 if test "$RESULT" = 0; then
12110 wx_cv_prog_makevpath
="yes"
12112 wx_cv_prog_makevpath
="no"
12116 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12117 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12119 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12120 { { echo "$as_me:$LINENO: error:
12121 You need a make-utility that is able to use the variable
12123 If your version of make does not support VPATH correctly,
12124 please install GNU-make (possibly as gmake), and start
12125 configure with the following command:
12126 export MAKE=gmake; ./configure for sh-type shells
12127 setenv MAKE gmake; ./configure for csh-type shells
12128 Also please do remember to use gmake in this case every time
12129 you are trying to compile.
12131 echo "$as_me: error:
12132 You need a make-utility that is able to use the variable
12134 If your version of make does not support VPATH correctly,
12135 please install GNU-make (possibly as gmake), and start
12136 configure with the following command:
12137 export MAKE=gmake; ./configure for sh-type shells
12138 setenv MAKE gmake; ./configure for csh-type shells
12139 Also please do remember to use gmake in this case every time
12140 you are trying to compile.
12142 { (exit 1); exit 1; }; }
12144 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12145 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12147 if test "$LN_S" = "ln -s"; then
12148 echo "$as_me:$LINENO: result: yes" >&5
12149 echo "${ECHO_T}yes" >&6
12151 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12152 echo "${ECHO_T}no, using $LN_S" >&6
12158 *-pc-os2_emx | *-pc-os2-emx )
12159 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12160 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12161 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12162 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12163 echo $ECHO_N "(cached) $ECHO_C" >&6
12165 ac_check_lib_save_LIBS
=$LIBS
12166 LIBS
="-lcExt $LIBS"
12167 cat >conftest.
$ac_ext <<_ACEOF
12170 cat confdefs.h
>>conftest.
$ac_ext
12171 cat >>conftest.
$ac_ext <<_ACEOF
12172 /* end confdefs.h. */
12174 /* Override any gcc2 internal prototype to avoid an error. */
12178 /* We use char because int might match the return type of a gcc2
12179 builtin and then its argument prototype would still apply. */
12189 rm -f conftest.
$ac_objext conftest
$ac_exeext
12190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12191 (eval $ac_link) 2>conftest.er1
12193 grep -v '^ *+' conftest.er1
>conftest.err
12195 cat conftest.err
>&5
12196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12197 (exit $ac_status); } &&
12198 { ac_try
='test -z "$ac_c_werror_flag"
12199 || test ! -s conftest.err'
12200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12201 (eval $ac_try) 2>&5
12203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12204 (exit $ac_status); }; } &&
12205 { ac_try
='test -s conftest$ac_exeext'
12206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12207 (eval $ac_try) 2>&5
12209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12210 (exit $ac_status); }; }; then
12211 ac_cv_lib_cExt_drand48
=yes
12213 echo "$as_me: failed program was:" >&5
12214 sed 's/^/| /' conftest.
$ac_ext >&5
12216 ac_cv_lib_cExt_drand48
=no
12218 rm -f conftest.err conftest.
$ac_objext \
12219 conftest
$ac_exeext conftest.
$ac_ext
12220 LIBS
=$ac_check_lib_save_LIBS
12222 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12223 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12224 if test $ac_cv_lib_cExt_drand48 = yes; then
12225 LIBS
="$LIBS -lcExt"
12229 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12231 echo "$as_me:$LINENO: checking for gcc version" >&5
12232 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12233 if test "${wx_cv_gccversion+set}" = set; then
12234 echo $ECHO_N "(cached) $ECHO_C" >&6
12237 cat >conftest.
$ac_ext <<_ACEOF
12240 cat confdefs.h
>>conftest.
$ac_ext
12241 cat >>conftest.
$ac_ext <<_ACEOF
12242 /* end confdefs.h. */
12256 rm -f conftest.
$ac_objext
12257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12258 (eval $ac_compile) 2>conftest.er1
12260 grep -v '^ *+' conftest.er1
>conftest.err
12262 cat conftest.err
>&5
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); } &&
12265 { ac_try
='test -z "$ac_c_werror_flag"
12266 || test ! -s conftest.err'
12267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12268 (eval $ac_try) 2>&5
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); }; } &&
12272 { ac_try
='test -s conftest.$ac_objext'
12273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12274 (eval $ac_try) 2>&5
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); }; }; then
12279 cat >conftest.
$ac_ext <<_ACEOF
12282 cat confdefs.h
>>conftest.
$ac_ext
12283 cat >>conftest.
$ac_ext <<_ACEOF
12284 /* end confdefs.h. */
12290 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12291 #error intermediate gcc
12298 rm -f conftest.
$ac_objext
12299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12300 (eval $ac_compile) 2>conftest.er1
12302 grep -v '^ *+' conftest.er1
>conftest.err
12304 cat conftest.err
>&5
12305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12306 (exit $ac_status); } &&
12307 { ac_try
='test -z "$ac_c_werror_flag"
12308 || test ! -s conftest.err'
12309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12310 (eval $ac_try) 2>&5
12312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12313 (exit $ac_status); }; } &&
12314 { ac_try
='test -s conftest.$ac_objext'
12315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12316 (eval $ac_try) 2>&5
12318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12319 (exit $ac_status); }; }; then
12321 wx_cv_gccversion
=Innotek
12324 echo "$as_me: failed program was:" >&5
12325 sed 's/^/| /' conftest.
$ac_ext >&5
12332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12335 echo "$as_me: failed program was:" >&5
12336 sed 's/^/| /' conftest.
$ac_ext >&5
12343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12346 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12347 echo "${ECHO_T}$wx_cv_gccversion" >&6
12348 if test "$wx_cv_gccversion" = "2"; then
12349 LIBS
="$LIBS -lstdcpp"
12350 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12352 if test "$wx_cv_gccversion" = "3"; then
12353 LIBS
="$LIBS -lstdcxx"
12354 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12356 LIBS
="$LIBS -lstdc++"
12359 if test "$wxUSE_OMF" = "yes"; then
12360 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12368 ac_cpp
='$CXXCPP $CPPFLAGS'
12369 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12370 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12371 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12375 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12376 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12377 if test "${ac_cv_string_strcasecmp+set}" = set; then
12378 echo $ECHO_N "(cached) $ECHO_C" >&6
12381 cat >conftest.
$ac_ext <<_ACEOF
12384 cat confdefs.h
>>conftest.
$ac_ext
12385 cat >>conftest.
$ac_ext <<_ACEOF
12386 /* end confdefs.h. */
12388 #include <string.h>
12394 strcasecmp("foo", "bar");
12400 rm -f conftest.
$ac_objext conftest
$ac_exeext
12401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12402 (eval $ac_link) 2>conftest.er1
12404 grep -v '^ *+' conftest.er1
>conftest.err
12406 cat conftest.err
>&5
12407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12408 (exit $ac_status); } &&
12409 { ac_try
='test -z "$ac_cxx_werror_flag"
12410 || test ! -s conftest.err'
12411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12412 (eval $ac_try) 2>&5
12414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); }; } &&
12416 { ac_try
='test -s conftest$ac_exeext'
12417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12418 (eval $ac_try) 2>&5
12420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12421 (exit $ac_status); }; }; then
12422 ac_cv_string_strcasecmp
=yes
12424 echo "$as_me: failed program was:" >&5
12425 sed 's/^/| /' conftest.
$ac_ext >&5
12427 ac_cv_string_strcasecmp
=no
12430 rm -f conftest.err conftest.
$ac_objext \
12431 conftest
$ac_exeext conftest.
$ac_ext
12434 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12435 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12437 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12438 cat >>confdefs.h
<<\_ACEOF
12439 #define HAVE_STRCASECMP_IN_STRING_H 1
12443 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12444 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12445 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12446 echo $ECHO_N "(cached) $ECHO_C" >&6
12449 cat >conftest.
$ac_ext <<_ACEOF
12452 cat confdefs.h
>>conftest.
$ac_ext
12453 cat >>conftest.
$ac_ext <<_ACEOF
12454 /* end confdefs.h. */
12456 #include <strings.h>
12462 strcasecmp("foo", "bar");
12468 rm -f conftest.
$ac_objext conftest
$ac_exeext
12469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12470 (eval $ac_link) 2>conftest.er1
12472 grep -v '^ *+' conftest.er1
>conftest.err
12474 cat conftest.err
>&5
12475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12476 (exit $ac_status); } &&
12477 { ac_try
='test -z "$ac_cxx_werror_flag"
12478 || test ! -s conftest.err'
12479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12480 (eval $ac_try) 2>&5
12482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12483 (exit $ac_status); }; } &&
12484 { ac_try
='test -s conftest$ac_exeext'
12485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12486 (eval $ac_try) 2>&5
12488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12489 (exit $ac_status); }; }; then
12490 ac_cv_strings_strcasecmp
=yes
12492 echo "$as_me: failed program was:" >&5
12493 sed 's/^/| /' conftest.
$ac_ext >&5
12495 ac_cv_strings_strcasecmp
=no
12498 rm -f conftest.err conftest.
$ac_objext \
12499 conftest
$ac_exeext conftest.
$ac_ext
12502 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12503 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12505 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12506 cat >>confdefs.h
<<\_ACEOF
12507 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12511 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12512 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12513 { (exit 1); exit 1; }; }
12518 ac_cpp
='$CPP $CPPFLAGS'
12519 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12520 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12521 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12527 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12528 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12529 if test "${ac_cv_header_stdc+set}" = set; then
12530 echo $ECHO_N "(cached) $ECHO_C" >&6
12532 cat >conftest.
$ac_ext <<_ACEOF
12535 cat confdefs.h
>>conftest.
$ac_ext
12536 cat >>conftest.
$ac_ext <<_ACEOF
12537 /* end confdefs.h. */
12538 #include <stdlib.h>
12539 #include <stdarg.h>
12540 #include <string.h>
12551 rm -f conftest.
$ac_objext
12552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12553 (eval $ac_compile) 2>conftest.er1
12555 grep -v '^ *+' conftest.er1
>conftest.err
12557 cat conftest.err
>&5
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); } &&
12560 { ac_try
='test -z "$ac_c_werror_flag"
12561 || test ! -s conftest.err'
12562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12563 (eval $ac_try) 2>&5
12565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12566 (exit $ac_status); }; } &&
12567 { ac_try
='test -s conftest.$ac_objext'
12568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12569 (eval $ac_try) 2>&5
12571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12572 (exit $ac_status); }; }; then
12573 ac_cv_header_stdc
=yes
12575 echo "$as_me: failed program was:" >&5
12576 sed 's/^/| /' conftest.
$ac_ext >&5
12578 ac_cv_header_stdc
=no
12580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12582 if test $ac_cv_header_stdc = yes; then
12583 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12584 cat >conftest.
$ac_ext <<_ACEOF
12587 cat confdefs.h
>>conftest.
$ac_ext
12588 cat >>conftest.
$ac_ext <<_ACEOF
12589 /* end confdefs.h. */
12590 #include <string.h>
12593 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12594 $EGREP "memchr" >/dev
/null
2>&1; then
12597 ac_cv_header_stdc
=no
12603 if test $ac_cv_header_stdc = yes; then
12604 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12605 cat >conftest.
$ac_ext <<_ACEOF
12608 cat confdefs.h
>>conftest.
$ac_ext
12609 cat >>conftest.
$ac_ext <<_ACEOF
12610 /* end confdefs.h. */
12611 #include <stdlib.h>
12614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12615 $EGREP "free" >/dev
/null
2>&1; then
12618 ac_cv_header_stdc
=no
12624 if test $ac_cv_header_stdc = yes; then
12625 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12626 if test "$cross_compiling" = yes; then
12629 cat >conftest.
$ac_ext <<_ACEOF
12632 cat confdefs.h
>>conftest.
$ac_ext
12633 cat >>conftest.
$ac_ext <<_ACEOF
12634 /* end confdefs.h. */
12636 #if ((' ' & 0x0FF) == 0x020)
12637 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12638 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12640 # define ISLOWER(c) \
12641 (('a' <= (c) && (c) <= 'i') \
12642 || ('j' <= (c) && (c) <= 'r') \
12643 || ('s' <= (c) && (c) <= 'z'))
12644 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12647 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12652 for (i = 0; i < 256; i++)
12653 if (XOR (islower (i), ISLOWER (i))
12654 || toupper (i) != TOUPPER (i))
12659 rm -f conftest
$ac_exeext
12660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12661 (eval $ac_link) 2>&5
12663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12664 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12666 (eval $ac_try) 2>&5
12668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669 (exit $ac_status); }; }; then
12672 echo "$as_me: program exited with status $ac_status" >&5
12673 echo "$as_me: failed program was:" >&5
12674 sed 's/^/| /' conftest.
$ac_ext >&5
12676 ( exit $ac_status )
12677 ac_cv_header_stdc
=no
12679 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12683 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12684 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12685 if test $ac_cv_header_stdc = yes; then
12687 cat >>confdefs.h
<<\_ACEOF
12688 #define STDC_HEADERS 1
12693 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12703 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12704 inttypes.h stdint.h unistd.h
12706 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12707 echo "$as_me:$LINENO: checking for $ac_header" >&5
12708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12710 echo $ECHO_N "(cached) $ECHO_C" >&6
12712 cat >conftest.
$ac_ext <<_ACEOF
12715 cat confdefs.h
>>conftest.
$ac_ext
12716 cat >>conftest.
$ac_ext <<_ACEOF
12717 /* end confdefs.h. */
12718 $ac_includes_default
12720 #include <$ac_header>
12722 rm -f conftest.
$ac_objext
12723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12724 (eval $ac_compile) 2>conftest.er1
12726 grep -v '^ *+' conftest.er1
>conftest.err
12728 cat conftest.err
>&5
12729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730 (exit $ac_status); } &&
12731 { ac_try
='test -z "$ac_c_werror_flag"
12732 || test ! -s conftest.err'
12733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12734 (eval $ac_try) 2>&5
12736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12737 (exit $ac_status); }; } &&
12738 { ac_try
='test -s conftest.$ac_objext'
12739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12740 (eval $ac_try) 2>&5
12742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743 (exit $ac_status); }; }; then
12744 eval "$as_ac_Header=yes"
12746 echo "$as_me: failed program was:" >&5
12747 sed 's/^/| /' conftest.
$ac_ext >&5
12749 eval "$as_ac_Header=no"
12751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12755 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12756 cat >>confdefs.h
<<_ACEOF
12757 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12766 for ac_header
in stdlib.h
12768 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12770 echo "$as_me:$LINENO: checking for $ac_header" >&5
12771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12773 echo $ECHO_N "(cached) $ECHO_C" >&6
12775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12778 # Is the header compilable?
12779 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12780 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12781 cat >conftest.
$ac_ext <<_ACEOF
12784 cat confdefs.h
>>conftest.
$ac_ext
12785 cat >>conftest.
$ac_ext <<_ACEOF
12786 /* end confdefs.h. */
12787 $ac_includes_default
12788 #include <$ac_header>
12790 rm -f conftest.
$ac_objext
12791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12792 (eval $ac_compile) 2>conftest.er1
12794 grep -v '^ *+' conftest.er1
>conftest.err
12796 cat conftest.err
>&5
12797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798 (exit $ac_status); } &&
12799 { ac_try
='test -z "$ac_c_werror_flag"
12800 || test ! -s conftest.err'
12801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12802 (eval $ac_try) 2>&5
12804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12805 (exit $ac_status); }; } &&
12806 { ac_try
='test -s conftest.$ac_objext'
12807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12808 (eval $ac_try) 2>&5
12810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12811 (exit $ac_status); }; }; then
12812 ac_header_compiler
=yes
12814 echo "$as_me: failed program was:" >&5
12815 sed 's/^/| /' conftest.
$ac_ext >&5
12817 ac_header_compiler
=no
12819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12820 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12821 echo "${ECHO_T}$ac_header_compiler" >&6
12823 # Is the header present?
12824 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12825 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12826 cat >conftest.
$ac_ext <<_ACEOF
12829 cat confdefs.h
>>conftest.
$ac_ext
12830 cat >>conftest.
$ac_ext <<_ACEOF
12831 /* end confdefs.h. */
12832 #include <$ac_header>
12834 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12835 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12837 grep -v '^ *+' conftest.er1
>conftest.err
12839 cat conftest.err
>&5
12840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12841 (exit $ac_status); } >/dev
/null
; then
12842 if test -s conftest.err
; then
12843 ac_cpp_err
=$ac_c_preproc_warn_flag
12844 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12851 if test -z "$ac_cpp_err"; then
12852 ac_header_preproc
=yes
12854 echo "$as_me: failed program was:" >&5
12855 sed 's/^/| /' conftest.
$ac_ext >&5
12857 ac_header_preproc
=no
12859 rm -f conftest.err conftest.
$ac_ext
12860 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12861 echo "${ECHO_T}$ac_header_preproc" >&6
12863 # So? What about this header?
12864 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12866 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12867 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12868 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12869 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12870 ac_header_preproc
=yes
12873 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12874 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12875 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12876 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12877 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12878 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12879 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12880 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12881 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12882 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12883 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12884 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12887 ## ----------------------------------------- ##
12888 ## Report this to wx-dev@lists.wxwidgets.org ##
12889 ## ----------------------------------------- ##
12892 sed "s/^/$as_me: WARNING: /" >&2
12895 echo "$as_me:$LINENO: checking for $ac_header" >&5
12896 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12897 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12898 echo $ECHO_N "(cached) $ECHO_C" >&6
12900 eval "$as_ac_Header=\$ac_header_preproc"
12902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12903 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12906 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12907 cat >>confdefs.h
<<_ACEOF
12908 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12916 for ac_header
in malloc.h
12918 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12920 echo "$as_me:$LINENO: checking for $ac_header" >&5
12921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12922 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12923 echo $ECHO_N "(cached) $ECHO_C" >&6
12925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12926 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12928 # Is the header compilable?
12929 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12930 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12931 cat >conftest.
$ac_ext <<_ACEOF
12934 cat confdefs.h
>>conftest.
$ac_ext
12935 cat >>conftest.
$ac_ext <<_ACEOF
12936 /* end confdefs.h. */
12937 $ac_includes_default
12938 #include <$ac_header>
12940 rm -f conftest.
$ac_objext
12941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12942 (eval $ac_compile) 2>conftest.er1
12944 grep -v '^ *+' conftest.er1
>conftest.err
12946 cat conftest.err
>&5
12947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12948 (exit $ac_status); } &&
12949 { ac_try
='test -z "$ac_c_werror_flag"
12950 || test ! -s conftest.err'
12951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12952 (eval $ac_try) 2>&5
12954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12955 (exit $ac_status); }; } &&
12956 { ac_try
='test -s conftest.$ac_objext'
12957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12958 (eval $ac_try) 2>&5
12960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12961 (exit $ac_status); }; }; then
12962 ac_header_compiler
=yes
12964 echo "$as_me: failed program was:" >&5
12965 sed 's/^/| /' conftest.
$ac_ext >&5
12967 ac_header_compiler
=no
12969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12970 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12971 echo "${ECHO_T}$ac_header_compiler" >&6
12973 # Is the header present?
12974 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12975 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12976 cat >conftest.
$ac_ext <<_ACEOF
12979 cat confdefs.h
>>conftest.
$ac_ext
12980 cat >>conftest.
$ac_ext <<_ACEOF
12981 /* end confdefs.h. */
12982 #include <$ac_header>
12984 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12985 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12987 grep -v '^ *+' conftest.er1
>conftest.err
12989 cat conftest.err
>&5
12990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12991 (exit $ac_status); } >/dev
/null
; then
12992 if test -s conftest.err
; then
12993 ac_cpp_err
=$ac_c_preproc_warn_flag
12994 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13001 if test -z "$ac_cpp_err"; then
13002 ac_header_preproc
=yes
13004 echo "$as_me: failed program was:" >&5
13005 sed 's/^/| /' conftest.
$ac_ext >&5
13007 ac_header_preproc
=no
13009 rm -f conftest.err conftest.
$ac_ext
13010 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13011 echo "${ECHO_T}$ac_header_preproc" >&6
13013 # So? What about this header?
13014 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13016 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13017 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13018 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13019 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13020 ac_header_preproc
=yes
13023 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13024 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13025 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13026 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13027 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13028 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13029 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13030 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13032 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13033 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13034 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13037 ## ----------------------------------------- ##
13038 ## Report this to wx-dev@lists.wxwidgets.org ##
13039 ## ----------------------------------------- ##
13042 sed "s/^/$as_me: WARNING: /" >&2
13045 echo "$as_me:$LINENO: checking for $ac_header" >&5
13046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13047 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13048 echo $ECHO_N "(cached) $ECHO_C" >&6
13050 eval "$as_ac_Header=\$ac_header_preproc"
13052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13053 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13056 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13057 cat >>confdefs.h
<<_ACEOF
13058 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13066 for ac_header
in unistd.h
13068 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13070 echo "$as_me:$LINENO: checking for $ac_header" >&5
13071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13073 echo $ECHO_N "(cached) $ECHO_C" >&6
13075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13078 # Is the header compilable?
13079 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13080 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13081 cat >conftest.
$ac_ext <<_ACEOF
13084 cat confdefs.h
>>conftest.
$ac_ext
13085 cat >>conftest.
$ac_ext <<_ACEOF
13086 /* end confdefs.h. */
13087 $ac_includes_default
13088 #include <$ac_header>
13090 rm -f conftest.
$ac_objext
13091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13092 (eval $ac_compile) 2>conftest.er1
13094 grep -v '^ *+' conftest.er1
>conftest.err
13096 cat conftest.err
>&5
13097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13098 (exit $ac_status); } &&
13099 { ac_try
='test -z "$ac_c_werror_flag"
13100 || test ! -s conftest.err'
13101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13102 (eval $ac_try) 2>&5
13104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13105 (exit $ac_status); }; } &&
13106 { ac_try
='test -s conftest.$ac_objext'
13107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13108 (eval $ac_try) 2>&5
13110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13111 (exit $ac_status); }; }; then
13112 ac_header_compiler
=yes
13114 echo "$as_me: failed program was:" >&5
13115 sed 's/^/| /' conftest.
$ac_ext >&5
13117 ac_header_compiler
=no
13119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13120 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13121 echo "${ECHO_T}$ac_header_compiler" >&6
13123 # Is the header present?
13124 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13125 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13126 cat >conftest.
$ac_ext <<_ACEOF
13129 cat confdefs.h
>>conftest.
$ac_ext
13130 cat >>conftest.
$ac_ext <<_ACEOF
13131 /* end confdefs.h. */
13132 #include <$ac_header>
13134 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13135 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13137 grep -v '^ *+' conftest.er1
>conftest.err
13139 cat conftest.err
>&5
13140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13141 (exit $ac_status); } >/dev
/null
; then
13142 if test -s conftest.err
; then
13143 ac_cpp_err
=$ac_c_preproc_warn_flag
13144 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13151 if test -z "$ac_cpp_err"; then
13152 ac_header_preproc
=yes
13154 echo "$as_me: failed program was:" >&5
13155 sed 's/^/| /' conftest.
$ac_ext >&5
13157 ac_header_preproc
=no
13159 rm -f conftest.err conftest.
$ac_ext
13160 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13161 echo "${ECHO_T}$ac_header_preproc" >&6
13163 # So? What about this header?
13164 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13166 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13167 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13168 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13169 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13170 ac_header_preproc
=yes
13173 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13174 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13175 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13176 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13177 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13178 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13179 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13180 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13182 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13183 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13184 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13187 ## ----------------------------------------- ##
13188 ## Report this to wx-dev@lists.wxwidgets.org ##
13189 ## ----------------------------------------- ##
13192 sed "s/^/$as_me: WARNING: /" >&2
13195 echo "$as_me:$LINENO: checking for $ac_header" >&5
13196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13198 echo $ECHO_N "(cached) $ECHO_C" >&6
13200 eval "$as_ac_Header=\$ac_header_preproc"
13202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13206 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13207 cat >>confdefs.h
<<_ACEOF
13208 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13216 for ac_header
in wchar.h
13218 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13220 echo "$as_me:$LINENO: checking for $ac_header" >&5
13221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13222 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13223 echo $ECHO_N "(cached) $ECHO_C" >&6
13225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13226 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13228 # Is the header compilable?
13229 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13230 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13231 cat >conftest.
$ac_ext <<_ACEOF
13234 cat confdefs.h
>>conftest.
$ac_ext
13235 cat >>conftest.
$ac_ext <<_ACEOF
13236 /* end confdefs.h. */
13237 $ac_includes_default
13238 #include <$ac_header>
13240 rm -f conftest.
$ac_objext
13241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13242 (eval $ac_compile) 2>conftest.er1
13244 grep -v '^ *+' conftest.er1
>conftest.err
13246 cat conftest.err
>&5
13247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248 (exit $ac_status); } &&
13249 { ac_try
='test -z "$ac_c_werror_flag"
13250 || test ! -s conftest.err'
13251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13252 (eval $ac_try) 2>&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); }; } &&
13256 { ac_try
='test -s conftest.$ac_objext'
13257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13258 (eval $ac_try) 2>&5
13260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261 (exit $ac_status); }; }; then
13262 ac_header_compiler
=yes
13264 echo "$as_me: failed program was:" >&5
13265 sed 's/^/| /' conftest.
$ac_ext >&5
13267 ac_header_compiler
=no
13269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13270 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13271 echo "${ECHO_T}$ac_header_compiler" >&6
13273 # Is the header present?
13274 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13275 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13276 cat >conftest.
$ac_ext <<_ACEOF
13279 cat confdefs.h
>>conftest.
$ac_ext
13280 cat >>conftest.
$ac_ext <<_ACEOF
13281 /* end confdefs.h. */
13282 #include <$ac_header>
13284 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13285 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13287 grep -v '^ *+' conftest.er1
>conftest.err
13289 cat conftest.err
>&5
13290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13291 (exit $ac_status); } >/dev
/null
; then
13292 if test -s conftest.err
; then
13293 ac_cpp_err
=$ac_c_preproc_warn_flag
13294 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13301 if test -z "$ac_cpp_err"; then
13302 ac_header_preproc
=yes
13304 echo "$as_me: failed program was:" >&5
13305 sed 's/^/| /' conftest.
$ac_ext >&5
13307 ac_header_preproc
=no
13309 rm -f conftest.err conftest.
$ac_ext
13310 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13311 echo "${ECHO_T}$ac_header_preproc" >&6
13313 # So? What about this header?
13314 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13316 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13317 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13318 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13319 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13320 ac_header_preproc
=yes
13323 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13324 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13325 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13326 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13327 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13328 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13329 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13330 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13331 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13332 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13333 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13334 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13337 ## ----------------------------------------- ##
13338 ## Report this to wx-dev@lists.wxwidgets.org ##
13339 ## ----------------------------------------- ##
13342 sed "s/^/$as_me: WARNING: /" >&2
13345 echo "$as_me:$LINENO: checking for $ac_header" >&5
13346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13348 echo $ECHO_N "(cached) $ECHO_C" >&6
13350 eval "$as_ac_Header=\$ac_header_preproc"
13352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13353 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13356 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13357 cat >>confdefs.h
<<_ACEOF
13358 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13366 if test "$ac_cv_header_wchar_h" != "yes"; then
13368 for ac_header
in wcstr.h
13370 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13372 echo "$as_me:$LINENO: checking for $ac_header" >&5
13373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13375 echo $ECHO_N "(cached) $ECHO_C" >&6
13377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13380 # Is the header compilable?
13381 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13382 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13383 cat >conftest.
$ac_ext <<_ACEOF
13386 cat confdefs.h
>>conftest.
$ac_ext
13387 cat >>conftest.
$ac_ext <<_ACEOF
13388 /* end confdefs.h. */
13389 $ac_includes_default
13390 #include <$ac_header>
13392 rm -f conftest.
$ac_objext
13393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13394 (eval $ac_compile) 2>conftest.er1
13396 grep -v '^ *+' conftest.er1
>conftest.err
13398 cat conftest.err
>&5
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); } &&
13401 { ac_try
='test -z "$ac_c_werror_flag"
13402 || test ! -s conftest.err'
13403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13404 (eval $ac_try) 2>&5
13406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13407 (exit $ac_status); }; } &&
13408 { ac_try
='test -s conftest.$ac_objext'
13409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13410 (eval $ac_try) 2>&5
13412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13413 (exit $ac_status); }; }; then
13414 ac_header_compiler
=yes
13416 echo "$as_me: failed program was:" >&5
13417 sed 's/^/| /' conftest.
$ac_ext >&5
13419 ac_header_compiler
=no
13421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13422 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13423 echo "${ECHO_T}$ac_header_compiler" >&6
13425 # Is the header present?
13426 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13427 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13428 cat >conftest.
$ac_ext <<_ACEOF
13431 cat confdefs.h
>>conftest.
$ac_ext
13432 cat >>conftest.
$ac_ext <<_ACEOF
13433 /* end confdefs.h. */
13434 #include <$ac_header>
13436 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13437 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13439 grep -v '^ *+' conftest.er1
>conftest.err
13441 cat conftest.err
>&5
13442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13443 (exit $ac_status); } >/dev
/null
; then
13444 if test -s conftest.err
; then
13445 ac_cpp_err
=$ac_c_preproc_warn_flag
13446 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13453 if test -z "$ac_cpp_err"; then
13454 ac_header_preproc
=yes
13456 echo "$as_me: failed program was:" >&5
13457 sed 's/^/| /' conftest.
$ac_ext >&5
13459 ac_header_preproc
=no
13461 rm -f conftest.err conftest.
$ac_ext
13462 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13463 echo "${ECHO_T}$ac_header_preproc" >&6
13465 # So? What about this header?
13466 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13468 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13469 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13471 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13472 ac_header_preproc
=yes
13475 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13476 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13477 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13478 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13479 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13480 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13481 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13482 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13484 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13485 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13486 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13489 ## ----------------------------------------- ##
13490 ## Report this to wx-dev@lists.wxwidgets.org ##
13491 ## ----------------------------------------- ##
13494 sed "s/^/$as_me: WARNING: /" >&2
13497 echo "$as_me:$LINENO: checking for $ac_header" >&5
13498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13500 echo $ECHO_N "(cached) $ECHO_C" >&6
13502 eval "$as_ac_Header=\$ac_header_preproc"
13504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13508 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13509 cat >>confdefs.h
<<_ACEOF
13510 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13520 for ac_header
in fnmatch.h
13522 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13524 echo "$as_me:$LINENO: checking for $ac_header" >&5
13525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13527 echo $ECHO_N "(cached) $ECHO_C" >&6
13529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13532 # Is the header compilable?
13533 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13534 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13535 cat >conftest.
$ac_ext <<_ACEOF
13538 cat confdefs.h
>>conftest.
$ac_ext
13539 cat >>conftest.
$ac_ext <<_ACEOF
13540 /* end confdefs.h. */
13541 $ac_includes_default
13542 #include <$ac_header>
13544 rm -f conftest.
$ac_objext
13545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13546 (eval $ac_compile) 2>conftest.er1
13548 grep -v '^ *+' conftest.er1
>conftest.err
13550 cat conftest.err
>&5
13551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13552 (exit $ac_status); } &&
13553 { ac_try
='test -z "$ac_c_werror_flag"
13554 || test ! -s conftest.err'
13555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13556 (eval $ac_try) 2>&5
13558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13559 (exit $ac_status); }; } &&
13560 { ac_try
='test -s conftest.$ac_objext'
13561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13562 (eval $ac_try) 2>&5
13564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13565 (exit $ac_status); }; }; then
13566 ac_header_compiler
=yes
13568 echo "$as_me: failed program was:" >&5
13569 sed 's/^/| /' conftest.
$ac_ext >&5
13571 ac_header_compiler
=no
13573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13574 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13575 echo "${ECHO_T}$ac_header_compiler" >&6
13577 # Is the header present?
13578 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13579 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13580 cat >conftest.
$ac_ext <<_ACEOF
13583 cat confdefs.h
>>conftest.
$ac_ext
13584 cat >>conftest.
$ac_ext <<_ACEOF
13585 /* end confdefs.h. */
13586 #include <$ac_header>
13588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13589 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13591 grep -v '^ *+' conftest.er1
>conftest.err
13593 cat conftest.err
>&5
13594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13595 (exit $ac_status); } >/dev
/null
; then
13596 if test -s conftest.err
; then
13597 ac_cpp_err
=$ac_c_preproc_warn_flag
13598 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13605 if test -z "$ac_cpp_err"; then
13606 ac_header_preproc
=yes
13608 echo "$as_me: failed program was:" >&5
13609 sed 's/^/| /' conftest.
$ac_ext >&5
13611 ac_header_preproc
=no
13613 rm -f conftest.err conftest.
$ac_ext
13614 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13615 echo "${ECHO_T}$ac_header_preproc" >&6
13617 # So? What about this header?
13618 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13620 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13621 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13622 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13623 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13624 ac_header_preproc
=yes
13627 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13628 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13629 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13630 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13631 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13632 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13633 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13634 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13636 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13637 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13638 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13641 ## ----------------------------------------- ##
13642 ## Report this to wx-dev@lists.wxwidgets.org ##
13643 ## ----------------------------------------- ##
13646 sed "s/^/$as_me: WARNING: /" >&2
13649 echo "$as_me:$LINENO: checking for $ac_header" >&5
13650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13652 echo $ECHO_N "(cached) $ECHO_C" >&6
13654 eval "$as_ac_Header=\$ac_header_preproc"
13656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13661 cat >>confdefs.h
<<_ACEOF
13662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13670 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13672 for ac_func
in fnmatch
13674 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13675 echo "$as_me:$LINENO: checking for $ac_func" >&5
13676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13677 if eval "test \"\${$as_ac_var+set}\" = set"; then
13678 echo $ECHO_N "(cached) $ECHO_C" >&6
13680 cat >conftest.
$ac_ext <<_ACEOF
13683 cat confdefs.h
>>conftest.
$ac_ext
13684 cat >>conftest.
$ac_ext <<_ACEOF
13685 /* end confdefs.h. */
13686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13688 #define $ac_func innocuous_$ac_func
13690 /* System header to define __stub macros and hopefully few prototypes,
13691 which can conflict with char $ac_func (); below.
13692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13693 <limits.h> exists even on freestanding compilers. */
13696 # include <limits.h>
13698 # include <assert.h>
13703 /* Override any gcc2 internal prototype to avoid an error. */
13708 /* We use char because int might match the return type of a gcc2
13709 builtin and then its argument prototype would still apply. */
13711 /* The GNU C library defines this for functions which it implements
13712 to always fail with ENOSYS. Some functions are actually named
13713 something starting with __ and the normal name is an alias. */
13714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13717 char (*f) () = $ac_func;
13726 return f != $ac_func;
13731 rm -f conftest.
$ac_objext conftest
$ac_exeext
13732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13733 (eval $ac_link) 2>conftest.er1
13735 grep -v '^ *+' conftest.er1
>conftest.err
13737 cat conftest.err
>&5
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 (exit $ac_status); } &&
13740 { ac_try
='test -z "$ac_c_werror_flag"
13741 || test ! -s conftest.err'
13742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13743 (eval $ac_try) 2>&5
13745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13746 (exit $ac_status); }; } &&
13747 { ac_try
='test -s conftest$ac_exeext'
13748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13749 (eval $ac_try) 2>&5
13751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13752 (exit $ac_status); }; }; then
13753 eval "$as_ac_var=yes"
13755 echo "$as_me: failed program was:" >&5
13756 sed 's/^/| /' conftest.
$ac_ext >&5
13758 eval "$as_ac_var=no"
13760 rm -f conftest.err conftest.
$ac_objext \
13761 conftest
$ac_exeext conftest.
$ac_ext
13763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13765 if test `eval echo '${'$as_ac_var'}'` = yes; then
13766 cat >>confdefs.h
<<_ACEOF
13767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13776 for ac_header
in langinfo.h
13778 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13780 echo "$as_me:$LINENO: checking for $ac_header" >&5
13781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13783 echo $ECHO_N "(cached) $ECHO_C" >&6
13785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13786 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13788 # Is the header compilable?
13789 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13790 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13791 cat >conftest.
$ac_ext <<_ACEOF
13794 cat confdefs.h
>>conftest.
$ac_ext
13795 cat >>conftest.
$ac_ext <<_ACEOF
13796 /* end confdefs.h. */
13797 $ac_includes_default
13798 #include <$ac_header>
13800 rm -f conftest.
$ac_objext
13801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13802 (eval $ac_compile) 2>conftest.er1
13804 grep -v '^ *+' conftest.er1
>conftest.err
13806 cat conftest.err
>&5
13807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13808 (exit $ac_status); } &&
13809 { ac_try
='test -z "$ac_c_werror_flag"
13810 || test ! -s conftest.err'
13811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13812 (eval $ac_try) 2>&5
13814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13815 (exit $ac_status); }; } &&
13816 { ac_try
='test -s conftest.$ac_objext'
13817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13818 (eval $ac_try) 2>&5
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); }; }; then
13822 ac_header_compiler
=yes
13824 echo "$as_me: failed program was:" >&5
13825 sed 's/^/| /' conftest.
$ac_ext >&5
13827 ac_header_compiler
=no
13829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13830 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13831 echo "${ECHO_T}$ac_header_compiler" >&6
13833 # Is the header present?
13834 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13835 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13836 cat >conftest.
$ac_ext <<_ACEOF
13839 cat confdefs.h
>>conftest.
$ac_ext
13840 cat >>conftest.
$ac_ext <<_ACEOF
13841 /* end confdefs.h. */
13842 #include <$ac_header>
13844 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13845 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13847 grep -v '^ *+' conftest.er1
>conftest.err
13849 cat conftest.err
>&5
13850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13851 (exit $ac_status); } >/dev
/null
; then
13852 if test -s conftest.err
; then
13853 ac_cpp_err
=$ac_c_preproc_warn_flag
13854 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13861 if test -z "$ac_cpp_err"; then
13862 ac_header_preproc
=yes
13864 echo "$as_me: failed program was:" >&5
13865 sed 's/^/| /' conftest.
$ac_ext >&5
13867 ac_header_preproc
=no
13869 rm -f conftest.err conftest.
$ac_ext
13870 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13871 echo "${ECHO_T}$ac_header_preproc" >&6
13873 # So? What about this header?
13874 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13876 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13877 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13879 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13880 ac_header_preproc
=yes
13883 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13884 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13885 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13886 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13887 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13888 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13889 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13890 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13891 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13892 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13893 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13894 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13897 ## ----------------------------------------- ##
13898 ## Report this to wx-dev@lists.wxwidgets.org ##
13899 ## ----------------------------------------- ##
13902 sed "s/^/$as_me: WARNING: /" >&2
13905 echo "$as_me:$LINENO: checking for $ac_header" >&5
13906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13908 echo $ECHO_N "(cached) $ECHO_C" >&6
13910 eval "$as_ac_Header=\$ac_header_preproc"
13912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13917 cat >>confdefs.h
<<_ACEOF
13918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13927 *-pc-os2_emx | *-pc-os2-emx )
13928 if test $ac_cv_header_langinfo_h = "yes"; then
13929 LIBS
="$LIBS -lintl"
13934 if test "$wxUSE_GUI" = "yes"; then
13935 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13937 for ac_header
in X
11/Xlib.h
13939 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13940 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13941 echo "$as_me:$LINENO: checking for $ac_header" >&5
13942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13944 echo $ECHO_N "(cached) $ECHO_C" >&6
13946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13947 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13949 # Is the header compilable?
13950 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13951 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13952 cat >conftest.
$ac_ext <<_ACEOF
13955 cat confdefs.h
>>conftest.
$ac_ext
13956 cat >>conftest.
$ac_ext <<_ACEOF
13957 /* end confdefs.h. */
13958 $ac_includes_default
13959 #include <$ac_header>
13961 rm -f conftest.
$ac_objext
13962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13963 (eval $ac_compile) 2>conftest.er1
13965 grep -v '^ *+' conftest.er1
>conftest.err
13967 cat conftest.err
>&5
13968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13969 (exit $ac_status); } &&
13970 { ac_try
='test -z "$ac_c_werror_flag"
13971 || test ! -s conftest.err'
13972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13973 (eval $ac_try) 2>&5
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); }; } &&
13977 { ac_try
='test -s conftest.$ac_objext'
13978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13979 (eval $ac_try) 2>&5
13981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13982 (exit $ac_status); }; }; then
13983 ac_header_compiler
=yes
13985 echo "$as_me: failed program was:" >&5
13986 sed 's/^/| /' conftest.
$ac_ext >&5
13988 ac_header_compiler
=no
13990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13991 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13992 echo "${ECHO_T}$ac_header_compiler" >&6
13994 # Is the header present?
13995 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13996 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13997 cat >conftest.
$ac_ext <<_ACEOF
14000 cat confdefs.h
>>conftest.
$ac_ext
14001 cat >>conftest.
$ac_ext <<_ACEOF
14002 /* end confdefs.h. */
14003 #include <$ac_header>
14005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14006 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14008 grep -v '^ *+' conftest.er1
>conftest.err
14010 cat conftest.err
>&5
14011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14012 (exit $ac_status); } >/dev
/null
; then
14013 if test -s conftest.err
; then
14014 ac_cpp_err
=$ac_c_preproc_warn_flag
14015 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14022 if test -z "$ac_cpp_err"; then
14023 ac_header_preproc
=yes
14025 echo "$as_me: failed program was:" >&5
14026 sed 's/^/| /' conftest.
$ac_ext >&5
14028 ac_header_preproc
=no
14030 rm -f conftest.err conftest.
$ac_ext
14031 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14032 echo "${ECHO_T}$ac_header_preproc" >&6
14034 # So? What about this header?
14035 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14037 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14038 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14039 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14040 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14041 ac_header_preproc
=yes
14044 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14045 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14046 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14047 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14048 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14049 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14050 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14051 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14053 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14054 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14055 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14058 ## ----------------------------------------- ##
14059 ## Report this to wx-dev@lists.wxwidgets.org ##
14060 ## ----------------------------------------- ##
14063 sed "s/^/$as_me: WARNING: /" >&2
14066 echo "$as_me:$LINENO: checking for $ac_header" >&5
14067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14069 echo $ECHO_N "(cached) $ECHO_C" >&6
14071 eval "$as_ac_Header=\$ac_header_preproc"
14073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14074 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14077 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14078 cat >>confdefs.h
<<_ACEOF
14079 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14087 for ac_header
in X
11/XKBlib.h
14089 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14090 echo "$as_me:$LINENO: checking for $ac_header" >&5
14091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14093 echo $ECHO_N "(cached) $ECHO_C" >&6
14095 cat >conftest.
$ac_ext <<_ACEOF
14098 cat confdefs.h
>>conftest.
$ac_ext
14099 cat >>conftest.
$ac_ext <<_ACEOF
14100 /* end confdefs.h. */
14102 #if HAVE_X11_XLIB_H
14103 #include <X11/Xlib.h>
14107 #include <$ac_header>
14109 rm -f conftest.
$ac_objext
14110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14111 (eval $ac_compile) 2>conftest.er1
14113 grep -v '^ *+' conftest.er1
>conftest.err
14115 cat conftest.err
>&5
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); } &&
14118 { ac_try
='test -z "$ac_c_werror_flag"
14119 || test ! -s conftest.err'
14120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14121 (eval $ac_try) 2>&5
14123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14124 (exit $ac_status); }; } &&
14125 { ac_try
='test -s conftest.$ac_objext'
14126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14127 (eval $ac_try) 2>&5
14129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14130 (exit $ac_status); }; }; then
14131 eval "$as_ac_Header=yes"
14133 echo "$as_me: failed program was:" >&5
14134 sed 's/^/| /' conftest.
$ac_ext >&5
14136 eval "$as_ac_Header=no"
14138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14141 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14142 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14143 cat >>confdefs.h
<<_ACEOF
14144 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14155 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14156 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14157 if test "${ac_cv_c_const+set}" = set; then
14158 echo $ECHO_N "(cached) $ECHO_C" >&6
14160 cat >conftest.
$ac_ext <<_ACEOF
14163 cat confdefs.h
>>conftest.
$ac_ext
14164 cat >>conftest.
$ac_ext <<_ACEOF
14165 /* end confdefs.h. */
14170 /* FIXME: Include the comments suggested by Paul. */
14171 #ifndef __cplusplus
14172 /* Ultrix mips cc rejects this. */
14173 typedef int charset[2];
14175 /* SunOS 4.1.1 cc rejects this. */
14176 char const *const *ccp;
14178 /* NEC SVR4.0.2 mips cc rejects this. */
14179 struct point {int x, y;};
14180 static struct point const zero = {0,0};
14181 /* AIX XL C 1.02.0.0 rejects this.
14182 It does not let you subtract one const X* pointer from another in
14183 an arm of an if-expression whose if-part is not a constant
14185 const char *g = "string";
14186 ccp = &g + (g ? g-g : 0);
14187 /* HPUX 7.0 cc rejects these. */
14190 ccp = (char const *const *) p;
14191 { /* SCO 3.2v4 cc rejects this. */
14193 char const *s = 0 ? (char *) 0 : (char const *) 0;
14197 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14198 int x[] = {25, 17};
14199 const int *foo = &x[0];
14202 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14203 typedef const int *iptr;
14207 { /* AIX XL C 1.02.0.0 rejects this saying
14208 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14209 struct s { int j; const int *ap[3]; };
14210 struct s *b; b->j = 5;
14212 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14213 const int foo = 10;
14221 rm -f conftest.
$ac_objext
14222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14223 (eval $ac_compile) 2>conftest.er1
14225 grep -v '^ *+' conftest.er1
>conftest.err
14227 cat conftest.err
>&5
14228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229 (exit $ac_status); } &&
14230 { ac_try
='test -z "$ac_c_werror_flag"
14231 || test ! -s conftest.err'
14232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14233 (eval $ac_try) 2>&5
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); }; } &&
14237 { ac_try
='test -s conftest.$ac_objext'
14238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14239 (eval $ac_try) 2>&5
14241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14242 (exit $ac_status); }; }; then
14245 echo "$as_me: failed program was:" >&5
14246 sed 's/^/| /' conftest.
$ac_ext >&5
14250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14252 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14253 echo "${ECHO_T}$ac_cv_c_const" >&6
14254 if test $ac_cv_c_const = no
; then
14256 cat >>confdefs.h
<<\_ACEOF
14262 echo "$as_me:$LINENO: checking for inline" >&5
14263 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14264 if test "${ac_cv_c_inline+set}" = set; then
14265 echo $ECHO_N "(cached) $ECHO_C" >&6
14268 for ac_kw
in inline __inline__ __inline
; do
14269 cat >conftest.
$ac_ext <<_ACEOF
14272 cat confdefs.h
>>conftest.
$ac_ext
14273 cat >>conftest.
$ac_ext <<_ACEOF
14274 /* end confdefs.h. */
14275 #ifndef __cplusplus
14277 static $ac_kw foo_t static_foo () {return 0; }
14278 $ac_kw foo_t foo () {return 0; }
14282 rm -f conftest.
$ac_objext
14283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14284 (eval $ac_compile) 2>conftest.er1
14286 grep -v '^ *+' conftest.er1
>conftest.err
14288 cat conftest.err
>&5
14289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14290 (exit $ac_status); } &&
14291 { ac_try
='test -z "$ac_c_werror_flag"
14292 || test ! -s conftest.err'
14293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14294 (eval $ac_try) 2>&5
14296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 (exit $ac_status); }; } &&
14298 { ac_try
='test -s conftest.$ac_objext'
14299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14300 (eval $ac_try) 2>&5
14302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14303 (exit $ac_status); }; }; then
14304 ac_cv_c_inline
=$ac_kw; break
14306 echo "$as_me: failed program was:" >&5
14307 sed 's/^/| /' conftest.
$ac_ext >&5
14310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14314 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14315 echo "${ECHO_T}$ac_cv_c_inline" >&6
14318 case $ac_cv_c_inline in
14321 case $ac_cv_c_inline in
14323 *) ac_val
=$ac_cv_c_inline;;
14325 cat >>confdefs.h
<<_ACEOF
14326 #ifndef __cplusplus
14327 #define inline $ac_val
14334 echo "$as_me:$LINENO: checking for char" >&5
14335 echo $ECHO_N "checking for char... $ECHO_C" >&6
14336 if test "${ac_cv_type_char+set}" = set; then
14337 echo $ECHO_N "(cached) $ECHO_C" >&6
14339 cat >conftest.
$ac_ext <<_ACEOF
14342 cat confdefs.h
>>conftest.
$ac_ext
14343 cat >>conftest.
$ac_ext <<_ACEOF
14344 /* end confdefs.h. */
14345 $ac_includes_default
14357 rm -f conftest.
$ac_objext
14358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14359 (eval $ac_compile) 2>conftest.er1
14361 grep -v '^ *+' conftest.er1
>conftest.err
14363 cat conftest.err
>&5
14364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14365 (exit $ac_status); } &&
14366 { ac_try
='test -z "$ac_c_werror_flag"
14367 || test ! -s conftest.err'
14368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14369 (eval $ac_try) 2>&5
14371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14372 (exit $ac_status); }; } &&
14373 { ac_try
='test -s conftest.$ac_objext'
14374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14375 (eval $ac_try) 2>&5
14377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14378 (exit $ac_status); }; }; then
14379 ac_cv_type_char
=yes
14381 echo "$as_me: failed program was:" >&5
14382 sed 's/^/| /' conftest.
$ac_ext >&5
14386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14388 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14389 echo "${ECHO_T}$ac_cv_type_char" >&6
14391 echo "$as_me:$LINENO: checking size of char" >&5
14392 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14393 if test "${ac_cv_sizeof_char+set}" = set; then
14394 echo $ECHO_N "(cached) $ECHO_C" >&6
14396 if test "$ac_cv_type_char" = yes; then
14397 # The cast to unsigned long works around a bug in the HP C Compiler
14398 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14399 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14400 # This bug is HP SR number 8606223364.
14401 if test "$cross_compiling" = yes; then
14402 # Depending upon the size, compute the lo and hi bounds.
14403 cat >conftest.
$ac_ext <<_ACEOF
14406 cat confdefs.h
>>conftest.
$ac_ext
14407 cat >>conftest.
$ac_ext <<_ACEOF
14408 /* end confdefs.h. */
14409 $ac_includes_default
14413 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14420 rm -f conftest.
$ac_objext
14421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14422 (eval $ac_compile) 2>conftest.er1
14424 grep -v '^ *+' conftest.er1
>conftest.err
14426 cat conftest.err
>&5
14427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14428 (exit $ac_status); } &&
14429 { ac_try
='test -z "$ac_c_werror_flag"
14430 || test ! -s conftest.err'
14431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14432 (eval $ac_try) 2>&5
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); }; } &&
14436 { ac_try
='test -s conftest.$ac_objext'
14437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14438 (eval $ac_try) 2>&5
14440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441 (exit $ac_status); }; }; then
14444 cat >conftest.
$ac_ext <<_ACEOF
14447 cat confdefs.h
>>conftest.
$ac_ext
14448 cat >>conftest.
$ac_ext <<_ACEOF
14449 /* end confdefs.h. */
14450 $ac_includes_default
14454 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14461 rm -f conftest.
$ac_objext
14462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14463 (eval $ac_compile) 2>conftest.er1
14465 grep -v '^ *+' conftest.er1
>conftest.err
14467 cat conftest.err
>&5
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469 (exit $ac_status); } &&
14470 { ac_try
='test -z "$ac_c_werror_flag"
14471 || test ! -s conftest.err'
14472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14473 (eval $ac_try) 2>&5
14475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476 (exit $ac_status); }; } &&
14477 { ac_try
='test -s conftest.$ac_objext'
14478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14479 (eval $ac_try) 2>&5
14481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14482 (exit $ac_status); }; }; then
14483 ac_hi
=$ac_mid; break
14485 echo "$as_me: failed program was:" >&5
14486 sed 's/^/| /' conftest.
$ac_ext >&5
14488 ac_lo
=`expr $ac_mid + 1`
14489 if test $ac_lo -le $ac_mid; then
14493 ac_mid
=`expr 2 '*' $ac_mid + 1`
14495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14498 echo "$as_me: failed program was:" >&5
14499 sed 's/^/| /' conftest.
$ac_ext >&5
14501 cat >conftest.
$ac_ext <<_ACEOF
14504 cat confdefs.h
>>conftest.
$ac_ext
14505 cat >>conftest.
$ac_ext <<_ACEOF
14506 /* end confdefs.h. */
14507 $ac_includes_default
14511 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14518 rm -f conftest.
$ac_objext
14519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14520 (eval $ac_compile) 2>conftest.er1
14522 grep -v '^ *+' conftest.er1
>conftest.err
14524 cat conftest.err
>&5
14525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14526 (exit $ac_status); } &&
14527 { ac_try
='test -z "$ac_c_werror_flag"
14528 || test ! -s conftest.err'
14529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14530 (eval $ac_try) 2>&5
14532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14533 (exit $ac_status); }; } &&
14534 { ac_try
='test -s conftest.$ac_objext'
14535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14536 (eval $ac_try) 2>&5
14538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 (exit $ac_status); }; }; then
14542 cat >conftest.
$ac_ext <<_ACEOF
14545 cat confdefs.h
>>conftest.
$ac_ext
14546 cat >>conftest.
$ac_ext <<_ACEOF
14547 /* end confdefs.h. */
14548 $ac_includes_default
14552 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14559 rm -f conftest.
$ac_objext
14560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14561 (eval $ac_compile) 2>conftest.er1
14563 grep -v '^ *+' conftest.er1
>conftest.err
14565 cat conftest.err
>&5
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); } &&
14568 { ac_try
='test -z "$ac_c_werror_flag"
14569 || test ! -s conftest.err'
14570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14571 (eval $ac_try) 2>&5
14573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14574 (exit $ac_status); }; } &&
14575 { ac_try
='test -s conftest.$ac_objext'
14576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14577 (eval $ac_try) 2>&5
14579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14580 (exit $ac_status); }; }; then
14581 ac_lo
=$ac_mid; break
14583 echo "$as_me: failed program was:" >&5
14584 sed 's/^/| /' conftest.
$ac_ext >&5
14586 ac_hi
=`expr '(' $ac_mid ')' - 1`
14587 if test $ac_mid -le $ac_hi; then
14591 ac_mid
=`expr 2 '*' $ac_mid`
14593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14596 echo "$as_me: failed program was:" >&5
14597 sed 's/^/| /' conftest.
$ac_ext >&5
14601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14604 # Binary search between lo and hi bounds.
14605 while test "x$ac_lo" != "x$ac_hi"; do
14606 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14607 cat >conftest.
$ac_ext <<_ACEOF
14610 cat confdefs.h
>>conftest.
$ac_ext
14611 cat >>conftest.
$ac_ext <<_ACEOF
14612 /* end confdefs.h. */
14613 $ac_includes_default
14617 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14624 rm -f conftest.
$ac_objext
14625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14626 (eval $ac_compile) 2>conftest.er1
14628 grep -v '^ *+' conftest.er1
>conftest.err
14630 cat conftest.err
>&5
14631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14632 (exit $ac_status); } &&
14633 { ac_try
='test -z "$ac_c_werror_flag"
14634 || test ! -s conftest.err'
14635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14636 (eval $ac_try) 2>&5
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); }; } &&
14640 { ac_try
='test -s conftest.$ac_objext'
14641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14642 (eval $ac_try) 2>&5
14644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 (exit $ac_status); }; }; then
14648 echo "$as_me: failed program was:" >&5
14649 sed 's/^/| /' conftest.
$ac_ext >&5
14651 ac_lo
=`expr '(' $ac_mid ')' + 1`
14653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14656 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14657 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14658 See \`config.log' for more details." >&5
14659 echo "$as_me: error: cannot compute sizeof (char), 77
14660 See \`config.log' for more details." >&2;}
14661 { (exit 1); exit 1; }; } ;;
14664 if test "$cross_compiling" = yes; then
14665 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14666 See \`config.log' for more details." >&5
14667 echo "$as_me: error: cannot run test program while cross compiling
14668 See \`config.log' for more details." >&2;}
14669 { (exit 1); exit 1; }; }
14671 cat >conftest.
$ac_ext <<_ACEOF
14674 cat confdefs.h
>>conftest.
$ac_ext
14675 cat >>conftest.
$ac_ext <<_ACEOF
14676 /* end confdefs.h. */
14677 $ac_includes_default
14678 long longval () { return (long) (sizeof (char)); }
14679 unsigned long ulongval () { return (long) (sizeof (char)); }
14681 #include <stdlib.h>
14686 FILE *f = fopen ("conftest.val", "w");
14689 if (((long) (sizeof (char))) < 0)
14691 long i = longval ();
14692 if (i != ((long) (sizeof (char))))
14694 fprintf (f, "%ld\n", i);
14698 unsigned long i = ulongval ();
14699 if (i != ((long) (sizeof (char))))
14701 fprintf (f, "%lu\n", i);
14703 exit (ferror (f) || fclose (f) != 0);
14709 rm -f conftest
$ac_exeext
14710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14711 (eval $ac_link) 2>&5
14713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14714 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14716 (eval $ac_try) 2>&5
14718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14719 (exit $ac_status); }; }; then
14720 ac_cv_sizeof_char
=`cat conftest.val`
14722 echo "$as_me: program exited with status $ac_status" >&5
14723 echo "$as_me: failed program was:" >&5
14724 sed 's/^/| /' conftest.
$ac_ext >&5
14726 ( exit $ac_status )
14727 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14728 See \`config.log' for more details." >&5
14729 echo "$as_me: error: cannot compute sizeof (char), 77
14730 See \`config.log' for more details." >&2;}
14731 { (exit 1); exit 1; }; }
14733 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14738 ac_cv_sizeof_char
=0
14741 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14742 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14743 cat >>confdefs.h
<<_ACEOF
14744 #define SIZEOF_CHAR $ac_cv_sizeof_char
14748 echo "$as_me:$LINENO: checking for short" >&5
14749 echo $ECHO_N "checking for short... $ECHO_C" >&6
14750 if test "${ac_cv_type_short+set}" = set; then
14751 echo $ECHO_N "(cached) $ECHO_C" >&6
14753 cat >conftest.
$ac_ext <<_ACEOF
14756 cat confdefs.h
>>conftest.
$ac_ext
14757 cat >>conftest.
$ac_ext <<_ACEOF
14758 /* end confdefs.h. */
14759 $ac_includes_default
14765 if (sizeof (short))
14771 rm -f conftest.
$ac_objext
14772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14773 (eval $ac_compile) 2>conftest.er1
14775 grep -v '^ *+' conftest.er1
>conftest.err
14777 cat conftest.err
>&5
14778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14779 (exit $ac_status); } &&
14780 { ac_try
='test -z "$ac_c_werror_flag"
14781 || test ! -s conftest.err'
14782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14783 (eval $ac_try) 2>&5
14785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14786 (exit $ac_status); }; } &&
14787 { ac_try
='test -s conftest.$ac_objext'
14788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14789 (eval $ac_try) 2>&5
14791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14792 (exit $ac_status); }; }; then
14793 ac_cv_type_short
=yes
14795 echo "$as_me: failed program was:" >&5
14796 sed 's/^/| /' conftest.
$ac_ext >&5
14798 ac_cv_type_short
=no
14800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14802 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14803 echo "${ECHO_T}$ac_cv_type_short" >&6
14805 echo "$as_me:$LINENO: checking size of short" >&5
14806 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14807 if test "${ac_cv_sizeof_short+set}" = set; then
14808 echo $ECHO_N "(cached) $ECHO_C" >&6
14810 if test "$ac_cv_type_short" = yes; then
14811 # The cast to unsigned long works around a bug in the HP C Compiler
14812 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14813 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14814 # This bug is HP SR number 8606223364.
14815 if test "$cross_compiling" = yes; then
14816 # Depending upon the size, compute the lo and hi bounds.
14817 cat >conftest.
$ac_ext <<_ACEOF
14820 cat confdefs.h
>>conftest.
$ac_ext
14821 cat >>conftest.
$ac_ext <<_ACEOF
14822 /* end confdefs.h. */
14823 $ac_includes_default
14827 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14834 rm -f conftest.
$ac_objext
14835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14836 (eval $ac_compile) 2>conftest.er1
14838 grep -v '^ *+' conftest.er1
>conftest.err
14840 cat conftest.err
>&5
14841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14842 (exit $ac_status); } &&
14843 { ac_try
='test -z "$ac_c_werror_flag"
14844 || test ! -s conftest.err'
14845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14846 (eval $ac_try) 2>&5
14848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 (exit $ac_status); }; } &&
14850 { ac_try
='test -s conftest.$ac_objext'
14851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14852 (eval $ac_try) 2>&5
14854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14855 (exit $ac_status); }; }; then
14858 cat >conftest.
$ac_ext <<_ACEOF
14861 cat confdefs.h
>>conftest.
$ac_ext
14862 cat >>conftest.
$ac_ext <<_ACEOF
14863 /* end confdefs.h. */
14864 $ac_includes_default
14868 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14875 rm -f conftest.
$ac_objext
14876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14877 (eval $ac_compile) 2>conftest.er1
14879 grep -v '^ *+' conftest.er1
>conftest.err
14881 cat conftest.err
>&5
14882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 (exit $ac_status); } &&
14884 { ac_try
='test -z "$ac_c_werror_flag"
14885 || test ! -s conftest.err'
14886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14887 (eval $ac_try) 2>&5
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); }; } &&
14891 { ac_try
='test -s conftest.$ac_objext'
14892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14893 (eval $ac_try) 2>&5
14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14896 (exit $ac_status); }; }; then
14897 ac_hi
=$ac_mid; break
14899 echo "$as_me: failed program was:" >&5
14900 sed 's/^/| /' conftest.
$ac_ext >&5
14902 ac_lo
=`expr $ac_mid + 1`
14903 if test $ac_lo -le $ac_mid; then
14907 ac_mid
=`expr 2 '*' $ac_mid + 1`
14909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14912 echo "$as_me: failed program was:" >&5
14913 sed 's/^/| /' conftest.
$ac_ext >&5
14915 cat >conftest.
$ac_ext <<_ACEOF
14918 cat confdefs.h
>>conftest.
$ac_ext
14919 cat >>conftest.
$ac_ext <<_ACEOF
14920 /* end confdefs.h. */
14921 $ac_includes_default
14925 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14932 rm -f conftest.
$ac_objext
14933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14934 (eval $ac_compile) 2>conftest.er1
14936 grep -v '^ *+' conftest.er1
>conftest.err
14938 cat conftest.err
>&5
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); } &&
14941 { ac_try
='test -z "$ac_c_werror_flag"
14942 || test ! -s conftest.err'
14943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14944 (eval $ac_try) 2>&5
14946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14947 (exit $ac_status); }; } &&
14948 { ac_try
='test -s conftest.$ac_objext'
14949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14950 (eval $ac_try) 2>&5
14952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953 (exit $ac_status); }; }; then
14956 cat >conftest.
$ac_ext <<_ACEOF
14959 cat confdefs.h
>>conftest.
$ac_ext
14960 cat >>conftest.
$ac_ext <<_ACEOF
14961 /* end confdefs.h. */
14962 $ac_includes_default
14966 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14973 rm -f conftest.
$ac_objext
14974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14975 (eval $ac_compile) 2>conftest.er1
14977 grep -v '^ *+' conftest.er1
>conftest.err
14979 cat conftest.err
>&5
14980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); } &&
14982 { ac_try
='test -z "$ac_c_werror_flag"
14983 || test ! -s conftest.err'
14984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14985 (eval $ac_try) 2>&5
14987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14988 (exit $ac_status); }; } &&
14989 { ac_try
='test -s conftest.$ac_objext'
14990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14991 (eval $ac_try) 2>&5
14993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14994 (exit $ac_status); }; }; then
14995 ac_lo
=$ac_mid; break
14997 echo "$as_me: failed program was:" >&5
14998 sed 's/^/| /' conftest.
$ac_ext >&5
15000 ac_hi
=`expr '(' $ac_mid ')' - 1`
15001 if test $ac_mid -le $ac_hi; then
15005 ac_mid
=`expr 2 '*' $ac_mid`
15007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15010 echo "$as_me: failed program was:" >&5
15011 sed 's/^/| /' conftest.
$ac_ext >&5
15015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15018 # Binary search between lo and hi bounds.
15019 while test "x$ac_lo" != "x$ac_hi"; do
15020 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15021 cat >conftest.
$ac_ext <<_ACEOF
15024 cat confdefs.h
>>conftest.
$ac_ext
15025 cat >>conftest.
$ac_ext <<_ACEOF
15026 /* end confdefs.h. */
15027 $ac_includes_default
15031 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15038 rm -f conftest.
$ac_objext
15039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15040 (eval $ac_compile) 2>conftest.er1
15042 grep -v '^ *+' conftest.er1
>conftest.err
15044 cat conftest.err
>&5
15045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15046 (exit $ac_status); } &&
15047 { ac_try
='test -z "$ac_c_werror_flag"
15048 || test ! -s conftest.err'
15049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15050 (eval $ac_try) 2>&5
15052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15053 (exit $ac_status); }; } &&
15054 { ac_try
='test -s conftest.$ac_objext'
15055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15056 (eval $ac_try) 2>&5
15058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059 (exit $ac_status); }; }; then
15062 echo "$as_me: failed program was:" >&5
15063 sed 's/^/| /' conftest.
$ac_ext >&5
15065 ac_lo
=`expr '(' $ac_mid ')' + 1`
15067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15070 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15071 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15072 See \`config.log' for more details." >&5
15073 echo "$as_me: error: cannot compute sizeof (short), 77
15074 See \`config.log' for more details." >&2;}
15075 { (exit 1); exit 1; }; } ;;
15078 if test "$cross_compiling" = yes; then
15079 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15080 See \`config.log' for more details." >&5
15081 echo "$as_me: error: cannot run test program while cross compiling
15082 See \`config.log' for more details." >&2;}
15083 { (exit 1); exit 1; }; }
15085 cat >conftest.
$ac_ext <<_ACEOF
15088 cat confdefs.h
>>conftest.
$ac_ext
15089 cat >>conftest.
$ac_ext <<_ACEOF
15090 /* end confdefs.h. */
15091 $ac_includes_default
15092 long longval () { return (long) (sizeof (short)); }
15093 unsigned long ulongval () { return (long) (sizeof (short)); }
15095 #include <stdlib.h>
15100 FILE *f = fopen ("conftest.val", "w");
15103 if (((long) (sizeof (short))) < 0)
15105 long i = longval ();
15106 if (i != ((long) (sizeof (short))))
15108 fprintf (f, "%ld\n", i);
15112 unsigned long i = ulongval ();
15113 if (i != ((long) (sizeof (short))))
15115 fprintf (f, "%lu\n", i);
15117 exit (ferror (f) || fclose (f) != 0);
15123 rm -f conftest
$ac_exeext
15124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15125 (eval $ac_link) 2>&5
15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15130 (eval $ac_try) 2>&5
15132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15133 (exit $ac_status); }; }; then
15134 ac_cv_sizeof_short
=`cat conftest.val`
15136 echo "$as_me: program exited with status $ac_status" >&5
15137 echo "$as_me: failed program was:" >&5
15138 sed 's/^/| /' conftest.
$ac_ext >&5
15140 ( exit $ac_status )
15141 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15142 See \`config.log' for more details." >&5
15143 echo "$as_me: error: cannot compute sizeof (short), 77
15144 See \`config.log' for more details." >&2;}
15145 { (exit 1); exit 1; }; }
15147 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15152 ac_cv_sizeof_short
=0
15155 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15156 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15157 cat >>confdefs.h
<<_ACEOF
15158 #define SIZEOF_SHORT $ac_cv_sizeof_short
15162 echo "$as_me:$LINENO: checking for void *" >&5
15163 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15164 if test "${ac_cv_type_void_p+set}" = set; then
15165 echo $ECHO_N "(cached) $ECHO_C" >&6
15167 cat >conftest.
$ac_ext <<_ACEOF
15170 cat confdefs.h
>>conftest.
$ac_ext
15171 cat >>conftest.
$ac_ext <<_ACEOF
15172 /* end confdefs.h. */
15173 $ac_includes_default
15179 if (sizeof (void *))
15185 rm -f conftest.
$ac_objext
15186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15187 (eval $ac_compile) 2>conftest.er1
15189 grep -v '^ *+' conftest.er1
>conftest.err
15191 cat conftest.err
>&5
15192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15193 (exit $ac_status); } &&
15194 { ac_try
='test -z "$ac_c_werror_flag"
15195 || test ! -s conftest.err'
15196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15197 (eval $ac_try) 2>&5
15199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15200 (exit $ac_status); }; } &&
15201 { ac_try
='test -s conftest.$ac_objext'
15202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15203 (eval $ac_try) 2>&5
15205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15206 (exit $ac_status); }; }; then
15207 ac_cv_type_void_p
=yes
15209 echo "$as_me: failed program was:" >&5
15210 sed 's/^/| /' conftest.
$ac_ext >&5
15212 ac_cv_type_void_p
=no
15214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15216 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15217 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15219 echo "$as_me:$LINENO: checking size of void *" >&5
15220 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15221 if test "${ac_cv_sizeof_void_p+set}" = set; then
15222 echo $ECHO_N "(cached) $ECHO_C" >&6
15224 if test "$ac_cv_type_void_p" = yes; then
15225 # The cast to unsigned long works around a bug in the HP C Compiler
15226 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15227 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15228 # This bug is HP SR number 8606223364.
15229 if test "$cross_compiling" = yes; then
15230 # Depending upon the size, compute the lo and hi bounds.
15231 cat >conftest.
$ac_ext <<_ACEOF
15234 cat confdefs.h
>>conftest.
$ac_ext
15235 cat >>conftest.
$ac_ext <<_ACEOF
15236 /* end confdefs.h. */
15237 $ac_includes_default
15241 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15248 rm -f conftest.
$ac_objext
15249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15250 (eval $ac_compile) 2>conftest.er1
15252 grep -v '^ *+' conftest.er1
>conftest.err
15254 cat conftest.err
>&5
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); } &&
15257 { ac_try
='test -z "$ac_c_werror_flag"
15258 || test ! -s conftest.err'
15259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15260 (eval $ac_try) 2>&5
15262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15263 (exit $ac_status); }; } &&
15264 { ac_try
='test -s conftest.$ac_objext'
15265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15266 (eval $ac_try) 2>&5
15268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15269 (exit $ac_status); }; }; then
15272 cat >conftest.
$ac_ext <<_ACEOF
15275 cat confdefs.h
>>conftest.
$ac_ext
15276 cat >>conftest.
$ac_ext <<_ACEOF
15277 /* end confdefs.h. */
15278 $ac_includes_default
15282 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15289 rm -f conftest.
$ac_objext
15290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15291 (eval $ac_compile) 2>conftest.er1
15293 grep -v '^ *+' conftest.er1
>conftest.err
15295 cat conftest.err
>&5
15296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15297 (exit $ac_status); } &&
15298 { ac_try
='test -z "$ac_c_werror_flag"
15299 || test ! -s conftest.err'
15300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15301 (eval $ac_try) 2>&5
15303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15304 (exit $ac_status); }; } &&
15305 { ac_try
='test -s conftest.$ac_objext'
15306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15307 (eval $ac_try) 2>&5
15309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15310 (exit $ac_status); }; }; then
15311 ac_hi
=$ac_mid; break
15313 echo "$as_me: failed program was:" >&5
15314 sed 's/^/| /' conftest.
$ac_ext >&5
15316 ac_lo
=`expr $ac_mid + 1`
15317 if test $ac_lo -le $ac_mid; then
15321 ac_mid
=`expr 2 '*' $ac_mid + 1`
15323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15326 echo "$as_me: failed program was:" >&5
15327 sed 's/^/| /' conftest.
$ac_ext >&5
15329 cat >conftest.
$ac_ext <<_ACEOF
15332 cat confdefs.h
>>conftest.
$ac_ext
15333 cat >>conftest.
$ac_ext <<_ACEOF
15334 /* end confdefs.h. */
15335 $ac_includes_default
15339 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15346 rm -f conftest.
$ac_objext
15347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15348 (eval $ac_compile) 2>conftest.er1
15350 grep -v '^ *+' conftest.er1
>conftest.err
15352 cat conftest.err
>&5
15353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15354 (exit $ac_status); } &&
15355 { ac_try
='test -z "$ac_c_werror_flag"
15356 || test ! -s conftest.err'
15357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15358 (eval $ac_try) 2>&5
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); }; } &&
15362 { ac_try
='test -s conftest.$ac_objext'
15363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15364 (eval $ac_try) 2>&5
15366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 (exit $ac_status); }; }; then
15370 cat >conftest.
$ac_ext <<_ACEOF
15373 cat confdefs.h
>>conftest.
$ac_ext
15374 cat >>conftest.
$ac_ext <<_ACEOF
15375 /* end confdefs.h. */
15376 $ac_includes_default
15380 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15387 rm -f conftest.
$ac_objext
15388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15389 (eval $ac_compile) 2>conftest.er1
15391 grep -v '^ *+' conftest.er1
>conftest.err
15393 cat conftest.err
>&5
15394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15395 (exit $ac_status); } &&
15396 { ac_try
='test -z "$ac_c_werror_flag"
15397 || test ! -s conftest.err'
15398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15399 (eval $ac_try) 2>&5
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 (exit $ac_status); }; } &&
15403 { ac_try
='test -s conftest.$ac_objext'
15404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15405 (eval $ac_try) 2>&5
15407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15408 (exit $ac_status); }; }; then
15409 ac_lo
=$ac_mid; break
15411 echo "$as_me: failed program was:" >&5
15412 sed 's/^/| /' conftest.
$ac_ext >&5
15414 ac_hi
=`expr '(' $ac_mid ')' - 1`
15415 if test $ac_mid -le $ac_hi; then
15419 ac_mid
=`expr 2 '*' $ac_mid`
15421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15424 echo "$as_me: failed program was:" >&5
15425 sed 's/^/| /' conftest.
$ac_ext >&5
15429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15432 # Binary search between lo and hi bounds.
15433 while test "x$ac_lo" != "x$ac_hi"; do
15434 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15435 cat >conftest.
$ac_ext <<_ACEOF
15438 cat confdefs.h
>>conftest.
$ac_ext
15439 cat >>conftest.
$ac_ext <<_ACEOF
15440 /* end confdefs.h. */
15441 $ac_includes_default
15445 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15452 rm -f conftest.
$ac_objext
15453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15454 (eval $ac_compile) 2>conftest.er1
15456 grep -v '^ *+' conftest.er1
>conftest.err
15458 cat conftest.err
>&5
15459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15460 (exit $ac_status); } &&
15461 { ac_try
='test -z "$ac_c_werror_flag"
15462 || test ! -s conftest.err'
15463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15464 (eval $ac_try) 2>&5
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); }; } &&
15468 { ac_try
='test -s conftest.$ac_objext'
15469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15470 (eval $ac_try) 2>&5
15472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15473 (exit $ac_status); }; }; then
15476 echo "$as_me: failed program was:" >&5
15477 sed 's/^/| /' conftest.
$ac_ext >&5
15479 ac_lo
=`expr '(' $ac_mid ')' + 1`
15481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15484 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15485 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15486 See \`config.log' for more details." >&5
15487 echo "$as_me: error: cannot compute sizeof (void *), 77
15488 See \`config.log' for more details." >&2;}
15489 { (exit 1); exit 1; }; } ;;
15492 if test "$cross_compiling" = yes; then
15493 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15494 See \`config.log' for more details." >&5
15495 echo "$as_me: error: cannot run test program while cross compiling
15496 See \`config.log' for more details." >&2;}
15497 { (exit 1); exit 1; }; }
15499 cat >conftest.
$ac_ext <<_ACEOF
15502 cat confdefs.h
>>conftest.
$ac_ext
15503 cat >>conftest.
$ac_ext <<_ACEOF
15504 /* end confdefs.h. */
15505 $ac_includes_default
15506 long longval () { return (long) (sizeof (void *)); }
15507 unsigned long ulongval () { return (long) (sizeof (void *)); }
15509 #include <stdlib.h>
15514 FILE *f = fopen ("conftest.val", "w");
15517 if (((long) (sizeof (void *))) < 0)
15519 long i = longval ();
15520 if (i != ((long) (sizeof (void *))))
15522 fprintf (f, "%ld\n", i);
15526 unsigned long i = ulongval ();
15527 if (i != ((long) (sizeof (void *))))
15529 fprintf (f, "%lu\n", i);
15531 exit (ferror (f) || fclose (f) != 0);
15537 rm -f conftest
$ac_exeext
15538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15539 (eval $ac_link) 2>&5
15541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15544 (eval $ac_try) 2>&5
15546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 (exit $ac_status); }; }; then
15548 ac_cv_sizeof_void_p
=`cat conftest.val`
15550 echo "$as_me: program exited with status $ac_status" >&5
15551 echo "$as_me: failed program was:" >&5
15552 sed 's/^/| /' conftest.
$ac_ext >&5
15554 ( exit $ac_status )
15555 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15556 See \`config.log' for more details." >&5
15557 echo "$as_me: error: cannot compute sizeof (void *), 77
15558 See \`config.log' for more details." >&2;}
15559 { (exit 1); exit 1; }; }
15561 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15566 ac_cv_sizeof_void_p
=0
15569 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15570 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15571 cat >>confdefs.h
<<_ACEOF
15572 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15576 echo "$as_me:$LINENO: checking for int" >&5
15577 echo $ECHO_N "checking for int... $ECHO_C" >&6
15578 if test "${ac_cv_type_int+set}" = set; then
15579 echo $ECHO_N "(cached) $ECHO_C" >&6
15581 cat >conftest.
$ac_ext <<_ACEOF
15584 cat confdefs.h
>>conftest.
$ac_ext
15585 cat >>conftest.
$ac_ext <<_ACEOF
15586 /* end confdefs.h. */
15587 $ac_includes_default
15599 rm -f conftest.
$ac_objext
15600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15601 (eval $ac_compile) 2>conftest.er1
15603 grep -v '^ *+' conftest.er1
>conftest.err
15605 cat conftest.err
>&5
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); } &&
15608 { ac_try
='test -z "$ac_c_werror_flag"
15609 || test ! -s conftest.err'
15610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15611 (eval $ac_try) 2>&5
15613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15614 (exit $ac_status); }; } &&
15615 { ac_try
='test -s conftest.$ac_objext'
15616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15617 (eval $ac_try) 2>&5
15619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15620 (exit $ac_status); }; }; then
15623 echo "$as_me: failed program was:" >&5
15624 sed 's/^/| /' conftest.
$ac_ext >&5
15628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15630 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15631 echo "${ECHO_T}$ac_cv_type_int" >&6
15633 echo "$as_me:$LINENO: checking size of int" >&5
15634 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15635 if test "${ac_cv_sizeof_int+set}" = set; then
15636 echo $ECHO_N "(cached) $ECHO_C" >&6
15638 if test "$ac_cv_type_int" = yes; then
15639 # The cast to unsigned long works around a bug in the HP C Compiler
15640 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15641 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15642 # This bug is HP SR number 8606223364.
15643 if test "$cross_compiling" = yes; then
15644 # Depending upon the size, compute the lo and hi bounds.
15645 cat >conftest.
$ac_ext <<_ACEOF
15648 cat confdefs.h
>>conftest.
$ac_ext
15649 cat >>conftest.
$ac_ext <<_ACEOF
15650 /* end confdefs.h. */
15651 $ac_includes_default
15655 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15662 rm -f conftest.
$ac_objext
15663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15664 (eval $ac_compile) 2>conftest.er1
15666 grep -v '^ *+' conftest.er1
>conftest.err
15668 cat conftest.err
>&5
15669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15670 (exit $ac_status); } &&
15671 { ac_try
='test -z "$ac_c_werror_flag"
15672 || test ! -s conftest.err'
15673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15674 (eval $ac_try) 2>&5
15676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15677 (exit $ac_status); }; } &&
15678 { ac_try
='test -s conftest.$ac_objext'
15679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15680 (eval $ac_try) 2>&5
15682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15683 (exit $ac_status); }; }; then
15686 cat >conftest.
$ac_ext <<_ACEOF
15689 cat confdefs.h
>>conftest.
$ac_ext
15690 cat >>conftest.
$ac_ext <<_ACEOF
15691 /* end confdefs.h. */
15692 $ac_includes_default
15696 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15703 rm -f conftest.
$ac_objext
15704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15705 (eval $ac_compile) 2>conftest.er1
15707 grep -v '^ *+' conftest.er1
>conftest.err
15709 cat conftest.err
>&5
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); } &&
15712 { ac_try
='test -z "$ac_c_werror_flag"
15713 || test ! -s conftest.err'
15714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15715 (eval $ac_try) 2>&5
15717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718 (exit $ac_status); }; } &&
15719 { ac_try
='test -s conftest.$ac_objext'
15720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15721 (eval $ac_try) 2>&5
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); }; }; then
15725 ac_hi
=$ac_mid; break
15727 echo "$as_me: failed program was:" >&5
15728 sed 's/^/| /' conftest.
$ac_ext >&5
15730 ac_lo
=`expr $ac_mid + 1`
15731 if test $ac_lo -le $ac_mid; then
15735 ac_mid
=`expr 2 '*' $ac_mid + 1`
15737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15740 echo "$as_me: failed program was:" >&5
15741 sed 's/^/| /' conftest.
$ac_ext >&5
15743 cat >conftest.
$ac_ext <<_ACEOF
15746 cat confdefs.h
>>conftest.
$ac_ext
15747 cat >>conftest.
$ac_ext <<_ACEOF
15748 /* end confdefs.h. */
15749 $ac_includes_default
15753 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15760 rm -f conftest.
$ac_objext
15761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15762 (eval $ac_compile) 2>conftest.er1
15764 grep -v '^ *+' conftest.er1
>conftest.err
15766 cat conftest.err
>&5
15767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768 (exit $ac_status); } &&
15769 { ac_try
='test -z "$ac_c_werror_flag"
15770 || test ! -s conftest.err'
15771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15772 (eval $ac_try) 2>&5
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); }; } &&
15776 { ac_try
='test -s conftest.$ac_objext'
15777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15778 (eval $ac_try) 2>&5
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); }; }; then
15784 cat >conftest.
$ac_ext <<_ACEOF
15787 cat confdefs.h
>>conftest.
$ac_ext
15788 cat >>conftest.
$ac_ext <<_ACEOF
15789 /* end confdefs.h. */
15790 $ac_includes_default
15794 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15801 rm -f conftest.
$ac_objext
15802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15803 (eval $ac_compile) 2>conftest.er1
15805 grep -v '^ *+' conftest.er1
>conftest.err
15807 cat conftest.err
>&5
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); } &&
15810 { ac_try
='test -z "$ac_c_werror_flag"
15811 || test ! -s conftest.err'
15812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15813 (eval $ac_try) 2>&5
15815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15816 (exit $ac_status); }; } &&
15817 { ac_try
='test -s conftest.$ac_objext'
15818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15819 (eval $ac_try) 2>&5
15821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15822 (exit $ac_status); }; }; then
15823 ac_lo
=$ac_mid; break
15825 echo "$as_me: failed program was:" >&5
15826 sed 's/^/| /' conftest.
$ac_ext >&5
15828 ac_hi
=`expr '(' $ac_mid ')' - 1`
15829 if test $ac_mid -le $ac_hi; then
15833 ac_mid
=`expr 2 '*' $ac_mid`
15835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15838 echo "$as_me: failed program was:" >&5
15839 sed 's/^/| /' conftest.
$ac_ext >&5
15843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15846 # Binary search between lo and hi bounds.
15847 while test "x$ac_lo" != "x$ac_hi"; do
15848 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15849 cat >conftest.
$ac_ext <<_ACEOF
15852 cat confdefs.h
>>conftest.
$ac_ext
15853 cat >>conftest.
$ac_ext <<_ACEOF
15854 /* end confdefs.h. */
15855 $ac_includes_default
15859 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15866 rm -f conftest.
$ac_objext
15867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15868 (eval $ac_compile) 2>conftest.er1
15870 grep -v '^ *+' conftest.er1
>conftest.err
15872 cat conftest.err
>&5
15873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15874 (exit $ac_status); } &&
15875 { ac_try
='test -z "$ac_c_werror_flag"
15876 || test ! -s conftest.err'
15877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15878 (eval $ac_try) 2>&5
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); }; } &&
15882 { ac_try
='test -s conftest.$ac_objext'
15883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15884 (eval $ac_try) 2>&5
15886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887 (exit $ac_status); }; }; then
15890 echo "$as_me: failed program was:" >&5
15891 sed 's/^/| /' conftest.
$ac_ext >&5
15893 ac_lo
=`expr '(' $ac_mid ')' + 1`
15895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15898 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15899 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15900 See \`config.log' for more details." >&5
15901 echo "$as_me: error: cannot compute sizeof (int), 77
15902 See \`config.log' for more details." >&2;}
15903 { (exit 1); exit 1; }; } ;;
15906 if test "$cross_compiling" = yes; then
15907 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15908 See \`config.log' for more details." >&5
15909 echo "$as_me: error: cannot run test program while cross compiling
15910 See \`config.log' for more details." >&2;}
15911 { (exit 1); exit 1; }; }
15913 cat >conftest.
$ac_ext <<_ACEOF
15916 cat confdefs.h
>>conftest.
$ac_ext
15917 cat >>conftest.
$ac_ext <<_ACEOF
15918 /* end confdefs.h. */
15919 $ac_includes_default
15920 long longval () { return (long) (sizeof (int)); }
15921 unsigned long ulongval () { return (long) (sizeof (int)); }
15923 #include <stdlib.h>
15928 FILE *f = fopen ("conftest.val", "w");
15931 if (((long) (sizeof (int))) < 0)
15933 long i = longval ();
15934 if (i != ((long) (sizeof (int))))
15936 fprintf (f, "%ld\n", i);
15940 unsigned long i = ulongval ();
15941 if (i != ((long) (sizeof (int))))
15943 fprintf (f, "%lu\n", i);
15945 exit (ferror (f) || fclose (f) != 0);
15951 rm -f conftest
$ac_exeext
15952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15953 (eval $ac_link) 2>&5
15955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15956 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15958 (eval $ac_try) 2>&5
15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961 (exit $ac_status); }; }; then
15962 ac_cv_sizeof_int
=`cat conftest.val`
15964 echo "$as_me: program exited with status $ac_status" >&5
15965 echo "$as_me: failed program was:" >&5
15966 sed 's/^/| /' conftest.
$ac_ext >&5
15968 ( exit $ac_status )
15969 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15970 See \`config.log' for more details." >&5
15971 echo "$as_me: error: cannot compute sizeof (int), 77
15972 See \`config.log' for more details." >&2;}
15973 { (exit 1); exit 1; }; }
15975 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15983 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15984 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15985 cat >>confdefs.h
<<_ACEOF
15986 #define SIZEOF_INT $ac_cv_sizeof_int
15990 echo "$as_me:$LINENO: checking for long" >&5
15991 echo $ECHO_N "checking for long... $ECHO_C" >&6
15992 if test "${ac_cv_type_long+set}" = set; then
15993 echo $ECHO_N "(cached) $ECHO_C" >&6
15995 cat >conftest.
$ac_ext <<_ACEOF
15998 cat confdefs.h
>>conftest.
$ac_ext
15999 cat >>conftest.
$ac_ext <<_ACEOF
16000 /* end confdefs.h. */
16001 $ac_includes_default
16013 rm -f conftest.
$ac_objext
16014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16015 (eval $ac_compile) 2>conftest.er1
16017 grep -v '^ *+' conftest.er1
>conftest.err
16019 cat conftest.err
>&5
16020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16021 (exit $ac_status); } &&
16022 { ac_try
='test -z "$ac_c_werror_flag"
16023 || test ! -s conftest.err'
16024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16025 (eval $ac_try) 2>&5
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); }; } &&
16029 { ac_try
='test -s conftest.$ac_objext'
16030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16031 (eval $ac_try) 2>&5
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); }; }; then
16035 ac_cv_type_long
=yes
16037 echo "$as_me: failed program was:" >&5
16038 sed 's/^/| /' conftest.
$ac_ext >&5
16042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16044 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16045 echo "${ECHO_T}$ac_cv_type_long" >&6
16047 echo "$as_me:$LINENO: checking size of long" >&5
16048 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16049 if test "${ac_cv_sizeof_long+set}" = set; then
16050 echo $ECHO_N "(cached) $ECHO_C" >&6
16052 if test "$ac_cv_type_long" = yes; then
16053 # The cast to unsigned long works around a bug in the HP C Compiler
16054 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16055 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16056 # This bug is HP SR number 8606223364.
16057 if test "$cross_compiling" = yes; then
16058 # Depending upon the size, compute the lo and hi bounds.
16059 cat >conftest.
$ac_ext <<_ACEOF
16062 cat confdefs.h
>>conftest.
$ac_ext
16063 cat >>conftest.
$ac_ext <<_ACEOF
16064 /* end confdefs.h. */
16065 $ac_includes_default
16069 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16076 rm -f conftest.
$ac_objext
16077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16078 (eval $ac_compile) 2>conftest.er1
16080 grep -v '^ *+' conftest.er1
>conftest.err
16082 cat conftest.err
>&5
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); } &&
16085 { ac_try
='test -z "$ac_c_werror_flag"
16086 || test ! -s conftest.err'
16087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16088 (eval $ac_try) 2>&5
16090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16091 (exit $ac_status); }; } &&
16092 { ac_try
='test -s conftest.$ac_objext'
16093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16094 (eval $ac_try) 2>&5
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); }; }; then
16100 cat >conftest.
$ac_ext <<_ACEOF
16103 cat confdefs.h
>>conftest.
$ac_ext
16104 cat >>conftest.
$ac_ext <<_ACEOF
16105 /* end confdefs.h. */
16106 $ac_includes_default
16110 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16117 rm -f conftest.
$ac_objext
16118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16119 (eval $ac_compile) 2>conftest.er1
16121 grep -v '^ *+' conftest.er1
>conftest.err
16123 cat conftest.err
>&5
16124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125 (exit $ac_status); } &&
16126 { ac_try
='test -z "$ac_c_werror_flag"
16127 || test ! -s conftest.err'
16128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16129 (eval $ac_try) 2>&5
16131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16132 (exit $ac_status); }; } &&
16133 { ac_try
='test -s conftest.$ac_objext'
16134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16135 (eval $ac_try) 2>&5
16137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16138 (exit $ac_status); }; }; then
16139 ac_hi
=$ac_mid; break
16141 echo "$as_me: failed program was:" >&5
16142 sed 's/^/| /' conftest.
$ac_ext >&5
16144 ac_lo
=`expr $ac_mid + 1`
16145 if test $ac_lo -le $ac_mid; then
16149 ac_mid
=`expr 2 '*' $ac_mid + 1`
16151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16154 echo "$as_me: failed program was:" >&5
16155 sed 's/^/| /' conftest.
$ac_ext >&5
16157 cat >conftest.
$ac_ext <<_ACEOF
16160 cat confdefs.h
>>conftest.
$ac_ext
16161 cat >>conftest.
$ac_ext <<_ACEOF
16162 /* end confdefs.h. */
16163 $ac_includes_default
16167 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16174 rm -f conftest.
$ac_objext
16175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16176 (eval $ac_compile) 2>conftest.er1
16178 grep -v '^ *+' conftest.er1
>conftest.err
16180 cat conftest.err
>&5
16181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16182 (exit $ac_status); } &&
16183 { ac_try
='test -z "$ac_c_werror_flag"
16184 || test ! -s conftest.err'
16185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16186 (eval $ac_try) 2>&5
16188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16189 (exit $ac_status); }; } &&
16190 { ac_try
='test -s conftest.$ac_objext'
16191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16192 (eval $ac_try) 2>&5
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); }; }; then
16198 cat >conftest.
$ac_ext <<_ACEOF
16201 cat confdefs.h
>>conftest.
$ac_ext
16202 cat >>conftest.
$ac_ext <<_ACEOF
16203 /* end confdefs.h. */
16204 $ac_includes_default
16208 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16215 rm -f conftest.
$ac_objext
16216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16217 (eval $ac_compile) 2>conftest.er1
16219 grep -v '^ *+' conftest.er1
>conftest.err
16221 cat conftest.err
>&5
16222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223 (exit $ac_status); } &&
16224 { ac_try
='test -z "$ac_c_werror_flag"
16225 || test ! -s conftest.err'
16226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16227 (eval $ac_try) 2>&5
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); }; } &&
16231 { ac_try
='test -s conftest.$ac_objext'
16232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16233 (eval $ac_try) 2>&5
16235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236 (exit $ac_status); }; }; then
16237 ac_lo
=$ac_mid; break
16239 echo "$as_me: failed program was:" >&5
16240 sed 's/^/| /' conftest.
$ac_ext >&5
16242 ac_hi
=`expr '(' $ac_mid ')' - 1`
16243 if test $ac_mid -le $ac_hi; then
16247 ac_mid
=`expr 2 '*' $ac_mid`
16249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16252 echo "$as_me: failed program was:" >&5
16253 sed 's/^/| /' conftest.
$ac_ext >&5
16257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16260 # Binary search between lo and hi bounds.
16261 while test "x$ac_lo" != "x$ac_hi"; do
16262 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16263 cat >conftest.
$ac_ext <<_ACEOF
16266 cat confdefs.h
>>conftest.
$ac_ext
16267 cat >>conftest.
$ac_ext <<_ACEOF
16268 /* end confdefs.h. */
16269 $ac_includes_default
16273 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16280 rm -f conftest.
$ac_objext
16281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16282 (eval $ac_compile) 2>conftest.er1
16284 grep -v '^ *+' conftest.er1
>conftest.err
16286 cat conftest.err
>&5
16287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288 (exit $ac_status); } &&
16289 { ac_try
='test -z "$ac_c_werror_flag"
16290 || test ! -s conftest.err'
16291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16292 (eval $ac_try) 2>&5
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); }; } &&
16296 { ac_try
='test -s conftest.$ac_objext'
16297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16298 (eval $ac_try) 2>&5
16300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16301 (exit $ac_status); }; }; then
16304 echo "$as_me: failed program was:" >&5
16305 sed 's/^/| /' conftest.
$ac_ext >&5
16307 ac_lo
=`expr '(' $ac_mid ')' + 1`
16309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16312 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16313 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16314 See \`config.log' for more details." >&5
16315 echo "$as_me: error: cannot compute sizeof (long), 77
16316 See \`config.log' for more details." >&2;}
16317 { (exit 1); exit 1; }; } ;;
16320 if test "$cross_compiling" = yes; then
16321 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16322 See \`config.log' for more details." >&5
16323 echo "$as_me: error: cannot run test program while cross compiling
16324 See \`config.log' for more details." >&2;}
16325 { (exit 1); exit 1; }; }
16327 cat >conftest.
$ac_ext <<_ACEOF
16330 cat confdefs.h
>>conftest.
$ac_ext
16331 cat >>conftest.
$ac_ext <<_ACEOF
16332 /* end confdefs.h. */
16333 $ac_includes_default
16334 long longval () { return (long) (sizeof (long)); }
16335 unsigned long ulongval () { return (long) (sizeof (long)); }
16337 #include <stdlib.h>
16342 FILE *f = fopen ("conftest.val", "w");
16345 if (((long) (sizeof (long))) < 0)
16347 long i = longval ();
16348 if (i != ((long) (sizeof (long))))
16350 fprintf (f, "%ld\n", i);
16354 unsigned long i = ulongval ();
16355 if (i != ((long) (sizeof (long))))
16357 fprintf (f, "%lu\n", i);
16359 exit (ferror (f) || fclose (f) != 0);
16365 rm -f conftest
$ac_exeext
16366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16367 (eval $ac_link) 2>&5
16369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16370 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16372 (eval $ac_try) 2>&5
16374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375 (exit $ac_status); }; }; then
16376 ac_cv_sizeof_long
=`cat conftest.val`
16378 echo "$as_me: program exited with status $ac_status" >&5
16379 echo "$as_me: failed program was:" >&5
16380 sed 's/^/| /' conftest.
$ac_ext >&5
16382 ( exit $ac_status )
16383 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16384 See \`config.log' for more details." >&5
16385 echo "$as_me: error: cannot compute sizeof (long), 77
16386 See \`config.log' for more details." >&2;}
16387 { (exit 1); exit 1; }; }
16389 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16394 ac_cv_sizeof_long
=0
16397 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16398 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16399 cat >>confdefs.h
<<_ACEOF
16400 #define SIZEOF_LONG $ac_cv_sizeof_long
16404 echo "$as_me:$LINENO: checking for size_t" >&5
16405 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16406 if test "${ac_cv_type_size_t+set}" = set; then
16407 echo $ECHO_N "(cached) $ECHO_C" >&6
16409 cat >conftest.
$ac_ext <<_ACEOF
16412 cat confdefs.h
>>conftest.
$ac_ext
16413 cat >>conftest.
$ac_ext <<_ACEOF
16414 /* end confdefs.h. */
16415 $ac_includes_default
16421 if (sizeof (size_t))
16427 rm -f conftest.
$ac_objext
16428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16429 (eval $ac_compile) 2>conftest.er1
16431 grep -v '^ *+' conftest.er1
>conftest.err
16433 cat conftest.err
>&5
16434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16435 (exit $ac_status); } &&
16436 { ac_try
='test -z "$ac_c_werror_flag"
16437 || test ! -s conftest.err'
16438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16439 (eval $ac_try) 2>&5
16441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16442 (exit $ac_status); }; } &&
16443 { ac_try
='test -s conftest.$ac_objext'
16444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16445 (eval $ac_try) 2>&5
16447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16448 (exit $ac_status); }; }; then
16449 ac_cv_type_size_t
=yes
16451 echo "$as_me: failed program was:" >&5
16452 sed 's/^/| /' conftest.
$ac_ext >&5
16454 ac_cv_type_size_t
=no
16456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16458 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16459 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16461 echo "$as_me:$LINENO: checking size of size_t" >&5
16462 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16463 if test "${ac_cv_sizeof_size_t+set}" = set; then
16464 echo $ECHO_N "(cached) $ECHO_C" >&6
16466 if test "$ac_cv_type_size_t" = yes; then
16467 # The cast to unsigned long works around a bug in the HP C Compiler
16468 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16469 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16470 # This bug is HP SR number 8606223364.
16471 if test "$cross_compiling" = yes; then
16472 # Depending upon the size, compute the lo and hi bounds.
16473 cat >conftest.
$ac_ext <<_ACEOF
16476 cat confdefs.h
>>conftest.
$ac_ext
16477 cat >>conftest.
$ac_ext <<_ACEOF
16478 /* end confdefs.h. */
16479 $ac_includes_default
16483 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16490 rm -f conftest.
$ac_objext
16491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16492 (eval $ac_compile) 2>conftest.er1
16494 grep -v '^ *+' conftest.er1
>conftest.err
16496 cat conftest.err
>&5
16497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16498 (exit $ac_status); } &&
16499 { ac_try
='test -z "$ac_c_werror_flag"
16500 || test ! -s conftest.err'
16501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16502 (eval $ac_try) 2>&5
16504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16505 (exit $ac_status); }; } &&
16506 { ac_try
='test -s conftest.$ac_objext'
16507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16508 (eval $ac_try) 2>&5
16510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16511 (exit $ac_status); }; }; then
16514 cat >conftest.
$ac_ext <<_ACEOF
16517 cat confdefs.h
>>conftest.
$ac_ext
16518 cat >>conftest.
$ac_ext <<_ACEOF
16519 /* end confdefs.h. */
16520 $ac_includes_default
16524 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16531 rm -f conftest.
$ac_objext
16532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16533 (eval $ac_compile) 2>conftest.er1
16535 grep -v '^ *+' conftest.er1
>conftest.err
16537 cat conftest.err
>&5
16538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 (exit $ac_status); } &&
16540 { ac_try
='test -z "$ac_c_werror_flag"
16541 || test ! -s conftest.err'
16542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16543 (eval $ac_try) 2>&5
16545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16546 (exit $ac_status); }; } &&
16547 { ac_try
='test -s conftest.$ac_objext'
16548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16549 (eval $ac_try) 2>&5
16551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552 (exit $ac_status); }; }; then
16553 ac_hi
=$ac_mid; break
16555 echo "$as_me: failed program was:" >&5
16556 sed 's/^/| /' conftest.
$ac_ext >&5
16558 ac_lo
=`expr $ac_mid + 1`
16559 if test $ac_lo -le $ac_mid; then
16563 ac_mid
=`expr 2 '*' $ac_mid + 1`
16565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16568 echo "$as_me: failed program was:" >&5
16569 sed 's/^/| /' conftest.
$ac_ext >&5
16571 cat >conftest.
$ac_ext <<_ACEOF
16574 cat confdefs.h
>>conftest.
$ac_ext
16575 cat >>conftest.
$ac_ext <<_ACEOF
16576 /* end confdefs.h. */
16577 $ac_includes_default
16581 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16588 rm -f conftest.
$ac_objext
16589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16590 (eval $ac_compile) 2>conftest.er1
16592 grep -v '^ *+' conftest.er1
>conftest.err
16594 cat conftest.err
>&5
16595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16596 (exit $ac_status); } &&
16597 { ac_try
='test -z "$ac_c_werror_flag"
16598 || test ! -s conftest.err'
16599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16600 (eval $ac_try) 2>&5
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); }; } &&
16604 { ac_try
='test -s conftest.$ac_objext'
16605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16606 (eval $ac_try) 2>&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); }; }; then
16612 cat >conftest.
$ac_ext <<_ACEOF
16615 cat confdefs.h
>>conftest.
$ac_ext
16616 cat >>conftest.
$ac_ext <<_ACEOF
16617 /* end confdefs.h. */
16618 $ac_includes_default
16622 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16629 rm -f conftest.
$ac_objext
16630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16631 (eval $ac_compile) 2>conftest.er1
16633 grep -v '^ *+' conftest.er1
>conftest.err
16635 cat conftest.err
>&5
16636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16637 (exit $ac_status); } &&
16638 { ac_try
='test -z "$ac_c_werror_flag"
16639 || test ! -s conftest.err'
16640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16641 (eval $ac_try) 2>&5
16643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16644 (exit $ac_status); }; } &&
16645 { ac_try
='test -s conftest.$ac_objext'
16646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16647 (eval $ac_try) 2>&5
16649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16650 (exit $ac_status); }; }; then
16651 ac_lo
=$ac_mid; break
16653 echo "$as_me: failed program was:" >&5
16654 sed 's/^/| /' conftest.
$ac_ext >&5
16656 ac_hi
=`expr '(' $ac_mid ')' - 1`
16657 if test $ac_mid -le $ac_hi; then
16661 ac_mid
=`expr 2 '*' $ac_mid`
16663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16666 echo "$as_me: failed program was:" >&5
16667 sed 's/^/| /' conftest.
$ac_ext >&5
16671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16674 # Binary search between lo and hi bounds.
16675 while test "x$ac_lo" != "x$ac_hi"; do
16676 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16677 cat >conftest.
$ac_ext <<_ACEOF
16680 cat confdefs.h
>>conftest.
$ac_ext
16681 cat >>conftest.
$ac_ext <<_ACEOF
16682 /* end confdefs.h. */
16683 $ac_includes_default
16687 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16694 rm -f conftest.
$ac_objext
16695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16696 (eval $ac_compile) 2>conftest.er1
16698 grep -v '^ *+' conftest.er1
>conftest.err
16700 cat conftest.err
>&5
16701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16702 (exit $ac_status); } &&
16703 { ac_try
='test -z "$ac_c_werror_flag"
16704 || test ! -s conftest.err'
16705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16706 (eval $ac_try) 2>&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); }; } &&
16710 { ac_try
='test -s conftest.$ac_objext'
16711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16712 (eval $ac_try) 2>&5
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); }; }; then
16718 echo "$as_me: failed program was:" >&5
16719 sed 's/^/| /' conftest.
$ac_ext >&5
16721 ac_lo
=`expr '(' $ac_mid ')' + 1`
16723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16726 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16727 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16728 See \`config.log' for more details." >&5
16729 echo "$as_me: error: cannot compute sizeof (size_t), 77
16730 See \`config.log' for more details." >&2;}
16731 { (exit 1); exit 1; }; } ;;
16734 if test "$cross_compiling" = yes; then
16735 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16736 See \`config.log' for more details." >&5
16737 echo "$as_me: error: cannot run test program while cross compiling
16738 See \`config.log' for more details." >&2;}
16739 { (exit 1); exit 1; }; }
16741 cat >conftest.
$ac_ext <<_ACEOF
16744 cat confdefs.h
>>conftest.
$ac_ext
16745 cat >>conftest.
$ac_ext <<_ACEOF
16746 /* end confdefs.h. */
16747 $ac_includes_default
16748 long longval () { return (long) (sizeof (size_t)); }
16749 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16751 #include <stdlib.h>
16756 FILE *f = fopen ("conftest.val", "w");
16759 if (((long) (sizeof (size_t))) < 0)
16761 long i = longval ();
16762 if (i != ((long) (sizeof (size_t))))
16764 fprintf (f, "%ld\n", i);
16768 unsigned long i = ulongval ();
16769 if (i != ((long) (sizeof (size_t))))
16771 fprintf (f, "%lu\n", i);
16773 exit (ferror (f) || fclose (f) != 0);
16779 rm -f conftest
$ac_exeext
16780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16781 (eval $ac_link) 2>&5
16783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16784 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16786 (eval $ac_try) 2>&5
16788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16789 (exit $ac_status); }; }; then
16790 ac_cv_sizeof_size_t
=`cat conftest.val`
16792 echo "$as_me: program exited with status $ac_status" >&5
16793 echo "$as_me: failed program was:" >&5
16794 sed 's/^/| /' conftest.
$ac_ext >&5
16796 ( exit $ac_status )
16797 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16798 See \`config.log' for more details." >&5
16799 echo "$as_me: error: cannot compute sizeof (size_t), 77
16800 See \`config.log' for more details." >&2;}
16801 { (exit 1); exit 1; }; }
16803 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16808 ac_cv_sizeof_size_t
=0
16811 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16812 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16813 cat >>confdefs.h
<<_ACEOF
16814 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16821 echo "$as_me:$LINENO: checking for long long" >&5
16822 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16823 if test "${ac_cv_type_long_long+set}" = set; then
16824 echo $ECHO_N "(cached) $ECHO_C" >&6
16826 cat >conftest.
$ac_ext <<_ACEOF
16829 cat confdefs.h
>>conftest.
$ac_ext
16830 cat >>conftest.
$ac_ext <<_ACEOF
16831 /* end confdefs.h. */
16832 $ac_includes_default
16836 if ((long long *) 0)
16838 if (sizeof (long long))
16844 rm -f conftest.
$ac_objext
16845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16846 (eval $ac_compile) 2>conftest.er1
16848 grep -v '^ *+' conftest.er1
>conftest.err
16850 cat conftest.err
>&5
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); } &&
16853 { ac_try
='test -z "$ac_c_werror_flag"
16854 || test ! -s conftest.err'
16855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16856 (eval $ac_try) 2>&5
16858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16859 (exit $ac_status); }; } &&
16860 { ac_try
='test -s conftest.$ac_objext'
16861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16862 (eval $ac_try) 2>&5
16864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16865 (exit $ac_status); }; }; then
16866 ac_cv_type_long_long
=yes
16868 echo "$as_me: failed program was:" >&5
16869 sed 's/^/| /' conftest.
$ac_ext >&5
16871 ac_cv_type_long_long
=no
16873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16875 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16876 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16878 echo "$as_me:$LINENO: checking size of long long" >&5
16879 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16880 if test "${ac_cv_sizeof_long_long+set}" = set; then
16881 echo $ECHO_N "(cached) $ECHO_C" >&6
16883 if test "$ac_cv_type_long_long" = yes; then
16884 # The cast to unsigned long works around a bug in the HP C Compiler
16885 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16886 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16887 # This bug is HP SR number 8606223364.
16888 if test "$cross_compiling" = yes; then
16889 # Depending upon the size, compute the lo and hi bounds.
16890 cat >conftest.
$ac_ext <<_ACEOF
16893 cat confdefs.h
>>conftest.
$ac_ext
16894 cat >>conftest.
$ac_ext <<_ACEOF
16895 /* end confdefs.h. */
16896 $ac_includes_default
16900 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16907 rm -f conftest.
$ac_objext
16908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16909 (eval $ac_compile) 2>conftest.er1
16911 grep -v '^ *+' conftest.er1
>conftest.err
16913 cat conftest.err
>&5
16914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915 (exit $ac_status); } &&
16916 { ac_try
='test -z "$ac_c_werror_flag"
16917 || test ! -s conftest.err'
16918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16919 (eval $ac_try) 2>&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); }; } &&
16923 { ac_try
='test -s conftest.$ac_objext'
16924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16925 (eval $ac_try) 2>&5
16927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928 (exit $ac_status); }; }; then
16931 cat >conftest.
$ac_ext <<_ACEOF
16934 cat confdefs.h
>>conftest.
$ac_ext
16935 cat >>conftest.
$ac_ext <<_ACEOF
16936 /* end confdefs.h. */
16937 $ac_includes_default
16941 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16948 rm -f conftest.
$ac_objext
16949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16950 (eval $ac_compile) 2>conftest.er1
16952 grep -v '^ *+' conftest.er1
>conftest.err
16954 cat conftest.err
>&5
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); } &&
16957 { ac_try
='test -z "$ac_c_werror_flag"
16958 || test ! -s conftest.err'
16959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16960 (eval $ac_try) 2>&5
16962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16963 (exit $ac_status); }; } &&
16964 { ac_try
='test -s conftest.$ac_objext'
16965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16966 (eval $ac_try) 2>&5
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); }; }; then
16970 ac_hi
=$ac_mid; break
16972 echo "$as_me: failed program was:" >&5
16973 sed 's/^/| /' conftest.
$ac_ext >&5
16975 ac_lo
=`expr $ac_mid + 1`
16976 if test $ac_lo -le $ac_mid; then
16980 ac_mid
=`expr 2 '*' $ac_mid + 1`
16982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16985 echo "$as_me: failed program was:" >&5
16986 sed 's/^/| /' conftest.
$ac_ext >&5
16988 cat >conftest.
$ac_ext <<_ACEOF
16991 cat confdefs.h
>>conftest.
$ac_ext
16992 cat >>conftest.
$ac_ext <<_ACEOF
16993 /* end confdefs.h. */
16994 $ac_includes_default
16998 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17005 rm -f conftest.
$ac_objext
17006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17007 (eval $ac_compile) 2>conftest.er1
17009 grep -v '^ *+' conftest.er1
>conftest.err
17011 cat conftest.err
>&5
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); } &&
17014 { ac_try
='test -z "$ac_c_werror_flag"
17015 || test ! -s conftest.err'
17016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17017 (eval $ac_try) 2>&5
17019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020 (exit $ac_status); }; } &&
17021 { ac_try
='test -s conftest.$ac_objext'
17022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17023 (eval $ac_try) 2>&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); }; }; then
17029 cat >conftest.
$ac_ext <<_ACEOF
17032 cat confdefs.h
>>conftest.
$ac_ext
17033 cat >>conftest.
$ac_ext <<_ACEOF
17034 /* end confdefs.h. */
17035 $ac_includes_default
17039 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17046 rm -f conftest.
$ac_objext
17047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17048 (eval $ac_compile) 2>conftest.er1
17050 grep -v '^ *+' conftest.er1
>conftest.err
17052 cat conftest.err
>&5
17053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054 (exit $ac_status); } &&
17055 { ac_try
='test -z "$ac_c_werror_flag"
17056 || test ! -s conftest.err'
17057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17058 (eval $ac_try) 2>&5
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); }; } &&
17062 { ac_try
='test -s conftest.$ac_objext'
17063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17064 (eval $ac_try) 2>&5
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); }; }; then
17068 ac_lo
=$ac_mid; break
17070 echo "$as_me: failed program was:" >&5
17071 sed 's/^/| /' conftest.
$ac_ext >&5
17073 ac_hi
=`expr '(' $ac_mid ')' - 1`
17074 if test $ac_mid -le $ac_hi; then
17078 ac_mid
=`expr 2 '*' $ac_mid`
17080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17083 echo "$as_me: failed program was:" >&5
17084 sed 's/^/| /' conftest.
$ac_ext >&5
17088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17091 # Binary search between lo and hi bounds.
17092 while test "x$ac_lo" != "x$ac_hi"; do
17093 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17094 cat >conftest.
$ac_ext <<_ACEOF
17097 cat confdefs.h
>>conftest.
$ac_ext
17098 cat >>conftest.
$ac_ext <<_ACEOF
17099 /* end confdefs.h. */
17100 $ac_includes_default
17104 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17111 rm -f conftest.
$ac_objext
17112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17113 (eval $ac_compile) 2>conftest.er1
17115 grep -v '^ *+' conftest.er1
>conftest.err
17117 cat conftest.err
>&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); } &&
17120 { ac_try
='test -z "$ac_c_werror_flag"
17121 || test ! -s conftest.err'
17122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17123 (eval $ac_try) 2>&5
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); }; } &&
17127 { ac_try
='test -s conftest.$ac_objext'
17128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17129 (eval $ac_try) 2>&5
17131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17132 (exit $ac_status); }; }; then
17135 echo "$as_me: failed program was:" >&5
17136 sed 's/^/| /' conftest.
$ac_ext >&5
17138 ac_lo
=`expr '(' $ac_mid ')' + 1`
17140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17143 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17144 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17145 See \`config.log' for more details." >&5
17146 echo "$as_me: error: cannot compute sizeof (long long), 77
17147 See \`config.log' for more details." >&2;}
17148 { (exit 1); exit 1; }; } ;;
17151 if test "$cross_compiling" = yes; then
17152 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17153 See \`config.log' for more details." >&5
17154 echo "$as_me: error: cannot run test program while cross compiling
17155 See \`config.log' for more details." >&2;}
17156 { (exit 1); exit 1; }; }
17158 cat >conftest.
$ac_ext <<_ACEOF
17161 cat confdefs.h
>>conftest.
$ac_ext
17162 cat >>conftest.
$ac_ext <<_ACEOF
17163 /* end confdefs.h. */
17164 $ac_includes_default
17165 long longval () { return (long) (sizeof (long long)); }
17166 unsigned long ulongval () { return (long) (sizeof (long long)); }
17168 #include <stdlib.h>
17173 FILE *f = fopen ("conftest.val", "w");
17176 if (((long) (sizeof (long long))) < 0)
17178 long i = longval ();
17179 if (i != ((long) (sizeof (long long))))
17181 fprintf (f, "%ld\n", i);
17185 unsigned long i = ulongval ();
17186 if (i != ((long) (sizeof (long long))))
17188 fprintf (f, "%lu\n", i);
17190 exit (ferror (f) || fclose (f) != 0);
17196 rm -f conftest
$ac_exeext
17197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17198 (eval $ac_link) 2>&5
17200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17201 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17203 (eval $ac_try) 2>&5
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); }; }; then
17207 ac_cv_sizeof_long_long
=`cat conftest.val`
17209 echo "$as_me: program exited with status $ac_status" >&5
17210 echo "$as_me: failed program was:" >&5
17211 sed 's/^/| /' conftest.
$ac_ext >&5
17213 ( exit $ac_status )
17214 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17215 See \`config.log' for more details." >&5
17216 echo "$as_me: error: cannot compute sizeof (long long), 77
17217 See \`config.log' for more details." >&2;}
17218 { (exit 1); exit 1; }; }
17220 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17225 ac_cv_sizeof_long_long
=0
17228 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17229 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17230 cat >>confdefs.h
<<_ACEOF
17231 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17237 echo "$as_me:$LINENO: checking for long long" >&5
17238 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17239 if test "${ac_cv_type_long_long+set}" = set; then
17240 echo $ECHO_N "(cached) $ECHO_C" >&6
17242 cat >conftest.
$ac_ext <<_ACEOF
17245 cat confdefs.h
>>conftest.
$ac_ext
17246 cat >>conftest.
$ac_ext <<_ACEOF
17247 /* end confdefs.h. */
17248 $ac_includes_default
17252 if ((long long *) 0)
17254 if (sizeof (long long))
17260 rm -f conftest.
$ac_objext
17261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17262 (eval $ac_compile) 2>conftest.er1
17264 grep -v '^ *+' conftest.er1
>conftest.err
17266 cat conftest.err
>&5
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); } &&
17269 { ac_try
='test -z "$ac_c_werror_flag"
17270 || test ! -s conftest.err'
17271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17272 (eval $ac_try) 2>&5
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); }; } &&
17276 { ac_try
='test -s conftest.$ac_objext'
17277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17278 (eval $ac_try) 2>&5
17280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17281 (exit $ac_status); }; }; then
17282 ac_cv_type_long_long
=yes
17284 echo "$as_me: failed program was:" >&5
17285 sed 's/^/| /' conftest.
$ac_ext >&5
17287 ac_cv_type_long_long
=no
17289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17291 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17292 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17294 echo "$as_me:$LINENO: checking size of long long" >&5
17295 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17296 if test "${ac_cv_sizeof_long_long+set}" = set; then
17297 echo $ECHO_N "(cached) $ECHO_C" >&6
17299 if test "$ac_cv_type_long_long" = yes; then
17300 # The cast to unsigned long works around a bug in the HP C Compiler
17301 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17302 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17303 # This bug is HP SR number 8606223364.
17304 if test "$cross_compiling" = yes; then
17305 # Depending upon the size, compute the lo and hi bounds.
17306 cat >conftest.
$ac_ext <<_ACEOF
17309 cat confdefs.h
>>conftest.
$ac_ext
17310 cat >>conftest.
$ac_ext <<_ACEOF
17311 /* end confdefs.h. */
17312 $ac_includes_default
17316 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17323 rm -f conftest.
$ac_objext
17324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17325 (eval $ac_compile) 2>conftest.er1
17327 grep -v '^ *+' conftest.er1
>conftest.err
17329 cat conftest.err
>&5
17330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17331 (exit $ac_status); } &&
17332 { ac_try
='test -z "$ac_c_werror_flag"
17333 || test ! -s conftest.err'
17334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17335 (eval $ac_try) 2>&5
17337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17338 (exit $ac_status); }; } &&
17339 { ac_try
='test -s conftest.$ac_objext'
17340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17341 (eval $ac_try) 2>&5
17343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17344 (exit $ac_status); }; }; then
17347 cat >conftest.
$ac_ext <<_ACEOF
17350 cat confdefs.h
>>conftest.
$ac_ext
17351 cat >>conftest.
$ac_ext <<_ACEOF
17352 /* end confdefs.h. */
17353 $ac_includes_default
17357 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17364 rm -f conftest.
$ac_objext
17365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17366 (eval $ac_compile) 2>conftest.er1
17368 grep -v '^ *+' conftest.er1
>conftest.err
17370 cat conftest.err
>&5
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); } &&
17373 { ac_try
='test -z "$ac_c_werror_flag"
17374 || test ! -s conftest.err'
17375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17376 (eval $ac_try) 2>&5
17378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); }; } &&
17380 { ac_try
='test -s conftest.$ac_objext'
17381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17382 (eval $ac_try) 2>&5
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); }; }; then
17386 ac_hi
=$ac_mid; break
17388 echo "$as_me: failed program was:" >&5
17389 sed 's/^/| /' conftest.
$ac_ext >&5
17391 ac_lo
=`expr $ac_mid + 1`
17392 if test $ac_lo -le $ac_mid; then
17396 ac_mid
=`expr 2 '*' $ac_mid + 1`
17398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17401 echo "$as_me: failed program was:" >&5
17402 sed 's/^/| /' conftest.
$ac_ext >&5
17404 cat >conftest.
$ac_ext <<_ACEOF
17407 cat confdefs.h
>>conftest.
$ac_ext
17408 cat >>conftest.
$ac_ext <<_ACEOF
17409 /* end confdefs.h. */
17410 $ac_includes_default
17414 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17421 rm -f conftest.
$ac_objext
17422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17423 (eval $ac_compile) 2>conftest.er1
17425 grep -v '^ *+' conftest.er1
>conftest.err
17427 cat conftest.err
>&5
17428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17429 (exit $ac_status); } &&
17430 { ac_try
='test -z "$ac_c_werror_flag"
17431 || test ! -s conftest.err'
17432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17433 (eval $ac_try) 2>&5
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); }; } &&
17437 { ac_try
='test -s conftest.$ac_objext'
17438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17439 (eval $ac_try) 2>&5
17441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17442 (exit $ac_status); }; }; then
17445 cat >conftest.
$ac_ext <<_ACEOF
17448 cat confdefs.h
>>conftest.
$ac_ext
17449 cat >>conftest.
$ac_ext <<_ACEOF
17450 /* end confdefs.h. */
17451 $ac_includes_default
17455 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17462 rm -f conftest.
$ac_objext
17463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17464 (eval $ac_compile) 2>conftest.er1
17466 grep -v '^ *+' conftest.er1
>conftest.err
17468 cat conftest.err
>&5
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); } &&
17471 { ac_try
='test -z "$ac_c_werror_flag"
17472 || test ! -s conftest.err'
17473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17474 (eval $ac_try) 2>&5
17476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477 (exit $ac_status); }; } &&
17478 { ac_try
='test -s conftest.$ac_objext'
17479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17480 (eval $ac_try) 2>&5
17482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17483 (exit $ac_status); }; }; then
17484 ac_lo
=$ac_mid; break
17486 echo "$as_me: failed program was:" >&5
17487 sed 's/^/| /' conftest.
$ac_ext >&5
17489 ac_hi
=`expr '(' $ac_mid ')' - 1`
17490 if test $ac_mid -le $ac_hi; then
17494 ac_mid
=`expr 2 '*' $ac_mid`
17496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17499 echo "$as_me: failed program was:" >&5
17500 sed 's/^/| /' conftest.
$ac_ext >&5
17504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17507 # Binary search between lo and hi bounds.
17508 while test "x$ac_lo" != "x$ac_hi"; do
17509 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17510 cat >conftest.
$ac_ext <<_ACEOF
17513 cat confdefs.h
>>conftest.
$ac_ext
17514 cat >>conftest.
$ac_ext <<_ACEOF
17515 /* end confdefs.h. */
17516 $ac_includes_default
17520 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17527 rm -f conftest.
$ac_objext
17528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17529 (eval $ac_compile) 2>conftest.er1
17531 grep -v '^ *+' conftest.er1
>conftest.err
17533 cat conftest.err
>&5
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); } &&
17536 { ac_try
='test -z "$ac_c_werror_flag"
17537 || test ! -s conftest.err'
17538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17539 (eval $ac_try) 2>&5
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); }; } &&
17543 { ac_try
='test -s conftest.$ac_objext'
17544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17545 (eval $ac_try) 2>&5
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); }; }; then
17551 echo "$as_me: failed program was:" >&5
17552 sed 's/^/| /' conftest.
$ac_ext >&5
17554 ac_lo
=`expr '(' $ac_mid ')' + 1`
17556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17559 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17560 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17561 See \`config.log' for more details." >&5
17562 echo "$as_me: error: cannot compute sizeof (long long), 77
17563 See \`config.log' for more details." >&2;}
17564 { (exit 1); exit 1; }; } ;;
17567 if test "$cross_compiling" = yes; then
17568 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17569 See \`config.log' for more details." >&5
17570 echo "$as_me: error: cannot run test program while cross compiling
17571 See \`config.log' for more details." >&2;}
17572 { (exit 1); exit 1; }; }
17574 cat >conftest.
$ac_ext <<_ACEOF
17577 cat confdefs.h
>>conftest.
$ac_ext
17578 cat >>conftest.
$ac_ext <<_ACEOF
17579 /* end confdefs.h. */
17580 $ac_includes_default
17581 long longval () { return (long) (sizeof (long long)); }
17582 unsigned long ulongval () { return (long) (sizeof (long long)); }
17584 #include <stdlib.h>
17589 FILE *f = fopen ("conftest.val", "w");
17592 if (((long) (sizeof (long long))) < 0)
17594 long i = longval ();
17595 if (i != ((long) (sizeof (long long))))
17597 fprintf (f, "%ld\n", i);
17601 unsigned long i = ulongval ();
17602 if (i != ((long) (sizeof (long long))))
17604 fprintf (f, "%lu\n", i);
17606 exit (ferror (f) || fclose (f) != 0);
17612 rm -f conftest
$ac_exeext
17613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17614 (eval $ac_link) 2>&5
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17619 (eval $ac_try) 2>&5
17621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17622 (exit $ac_status); }; }; then
17623 ac_cv_sizeof_long_long
=`cat conftest.val`
17625 echo "$as_me: program exited with status $ac_status" >&5
17626 echo "$as_me: failed program was:" >&5
17627 sed 's/^/| /' conftest.
$ac_ext >&5
17629 ( exit $ac_status )
17630 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17631 See \`config.log' for more details." >&5
17632 echo "$as_me: error: cannot compute sizeof (long long), 77
17633 See \`config.log' for more details." >&2;}
17634 { (exit 1); exit 1; }; }
17636 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17641 ac_cv_sizeof_long_long
=0
17644 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17645 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17646 cat >>confdefs.h
<<_ACEOF
17647 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17651 if test "$ac_cv_sizeof_long_long" != "0"; then
17652 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17656 echo "$as_me:$LINENO: checking for long long" >&5
17657 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17658 if test "${ac_cv_type_long_long+set}" = set; then
17659 echo $ECHO_N "(cached) $ECHO_C" >&6
17661 cat >conftest.
$ac_ext <<_ACEOF
17664 cat confdefs.h
>>conftest.
$ac_ext
17665 cat >>conftest.
$ac_ext <<_ACEOF
17666 /* end confdefs.h. */
17667 $ac_includes_default
17671 if ((long long *) 0)
17673 if (sizeof (long long))
17679 rm -f conftest.
$ac_objext
17680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17681 (eval $ac_compile) 2>conftest.er1
17683 grep -v '^ *+' conftest.er1
>conftest.err
17685 cat conftest.err
>&5
17686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687 (exit $ac_status); } &&
17688 { ac_try
='test -z "$ac_c_werror_flag"
17689 || test ! -s conftest.err'
17690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17691 (eval $ac_try) 2>&5
17693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17694 (exit $ac_status); }; } &&
17695 { ac_try
='test -s conftest.$ac_objext'
17696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17697 (eval $ac_try) 2>&5
17699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17700 (exit $ac_status); }; }; then
17701 ac_cv_type_long_long
=yes
17703 echo "$as_me: failed program was:" >&5
17704 sed 's/^/| /' conftest.
$ac_ext >&5
17706 ac_cv_type_long_long
=no
17708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17710 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17711 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17713 echo "$as_me:$LINENO: checking size of long long" >&5
17714 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17715 if test "${ac_cv_sizeof_long_long+set}" = set; then
17716 echo $ECHO_N "(cached) $ECHO_C" >&6
17718 if test "$ac_cv_type_long_long" = yes; then
17719 # The cast to unsigned long works around a bug in the HP C Compiler
17720 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17721 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17722 # This bug is HP SR number 8606223364.
17723 if test "$cross_compiling" = yes; then
17724 # Depending upon the size, compute the lo and hi bounds.
17725 cat >conftest.
$ac_ext <<_ACEOF
17728 cat confdefs.h
>>conftest.
$ac_ext
17729 cat >>conftest.
$ac_ext <<_ACEOF
17730 /* end confdefs.h. */
17731 $ac_includes_default
17735 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17742 rm -f conftest.
$ac_objext
17743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17744 (eval $ac_compile) 2>conftest.er1
17746 grep -v '^ *+' conftest.er1
>conftest.err
17748 cat conftest.err
>&5
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); } &&
17751 { ac_try
='test -z "$ac_c_werror_flag"
17752 || test ! -s conftest.err'
17753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17754 (eval $ac_try) 2>&5
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); }; } &&
17758 { ac_try
='test -s conftest.$ac_objext'
17759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17760 (eval $ac_try) 2>&5
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); }; }; then
17766 cat >conftest.
$ac_ext <<_ACEOF
17769 cat confdefs.h
>>conftest.
$ac_ext
17770 cat >>conftest.
$ac_ext <<_ACEOF
17771 /* end confdefs.h. */
17772 $ac_includes_default
17776 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17783 rm -f conftest.
$ac_objext
17784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17785 (eval $ac_compile) 2>conftest.er1
17787 grep -v '^ *+' conftest.er1
>conftest.err
17789 cat conftest.err
>&5
17790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17791 (exit $ac_status); } &&
17792 { ac_try
='test -z "$ac_c_werror_flag"
17793 || test ! -s conftest.err'
17794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17795 (eval $ac_try) 2>&5
17797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17798 (exit $ac_status); }; } &&
17799 { ac_try
='test -s conftest.$ac_objext'
17800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17801 (eval $ac_try) 2>&5
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); }; }; then
17805 ac_hi
=$ac_mid; break
17807 echo "$as_me: failed program was:" >&5
17808 sed 's/^/| /' conftest.
$ac_ext >&5
17810 ac_lo
=`expr $ac_mid + 1`
17811 if test $ac_lo -le $ac_mid; then
17815 ac_mid
=`expr 2 '*' $ac_mid + 1`
17817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17820 echo "$as_me: failed program was:" >&5
17821 sed 's/^/| /' conftest.
$ac_ext >&5
17823 cat >conftest.
$ac_ext <<_ACEOF
17826 cat confdefs.h
>>conftest.
$ac_ext
17827 cat >>conftest.
$ac_ext <<_ACEOF
17828 /* end confdefs.h. */
17829 $ac_includes_default
17833 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17840 rm -f conftest.
$ac_objext
17841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17842 (eval $ac_compile) 2>conftest.er1
17844 grep -v '^ *+' conftest.er1
>conftest.err
17846 cat conftest.err
>&5
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); } &&
17849 { ac_try
='test -z "$ac_c_werror_flag"
17850 || test ! -s conftest.err'
17851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17852 (eval $ac_try) 2>&5
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); }; } &&
17856 { ac_try
='test -s conftest.$ac_objext'
17857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858 (eval $ac_try) 2>&5
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); }; }; then
17864 cat >conftest.
$ac_ext <<_ACEOF
17867 cat confdefs.h
>>conftest.
$ac_ext
17868 cat >>conftest.
$ac_ext <<_ACEOF
17869 /* end confdefs.h. */
17870 $ac_includes_default
17874 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17881 rm -f conftest.
$ac_objext
17882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17883 (eval $ac_compile) 2>conftest.er1
17885 grep -v '^ *+' conftest.er1
>conftest.err
17887 cat conftest.err
>&5
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); } &&
17890 { ac_try
='test -z "$ac_c_werror_flag"
17891 || test ! -s conftest.err'
17892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17893 (eval $ac_try) 2>&5
17895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17896 (exit $ac_status); }; } &&
17897 { ac_try
='test -s conftest.$ac_objext'
17898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17899 (eval $ac_try) 2>&5
17901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17902 (exit $ac_status); }; }; then
17903 ac_lo
=$ac_mid; break
17905 echo "$as_me: failed program was:" >&5
17906 sed 's/^/| /' conftest.
$ac_ext >&5
17908 ac_hi
=`expr '(' $ac_mid ')' - 1`
17909 if test $ac_mid -le $ac_hi; then
17913 ac_mid
=`expr 2 '*' $ac_mid`
17915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17918 echo "$as_me: failed program was:" >&5
17919 sed 's/^/| /' conftest.
$ac_ext >&5
17923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17926 # Binary search between lo and hi bounds.
17927 while test "x$ac_lo" != "x$ac_hi"; do
17928 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17929 cat >conftest.
$ac_ext <<_ACEOF
17932 cat confdefs.h
>>conftest.
$ac_ext
17933 cat >>conftest.
$ac_ext <<_ACEOF
17934 /* end confdefs.h. */
17935 $ac_includes_default
17939 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17946 rm -f conftest.
$ac_objext
17947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17948 (eval $ac_compile) 2>conftest.er1
17950 grep -v '^ *+' conftest.er1
>conftest.err
17952 cat conftest.err
>&5
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); } &&
17955 { ac_try
='test -z "$ac_c_werror_flag"
17956 || test ! -s conftest.err'
17957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17958 (eval $ac_try) 2>&5
17960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17961 (exit $ac_status); }; } &&
17962 { ac_try
='test -s conftest.$ac_objext'
17963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17964 (eval $ac_try) 2>&5
17966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17967 (exit $ac_status); }; }; then
17970 echo "$as_me: failed program was:" >&5
17971 sed 's/^/| /' conftest.
$ac_ext >&5
17973 ac_lo
=`expr '(' $ac_mid ')' + 1`
17975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17978 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17979 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17980 See \`config.log' for more details." >&5
17981 echo "$as_me: error: cannot compute sizeof (long long), 77
17982 See \`config.log' for more details." >&2;}
17983 { (exit 1); exit 1; }; } ;;
17986 if test "$cross_compiling" = yes; then
17987 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17988 See \`config.log' for more details." >&5
17989 echo "$as_me: error: cannot run test program while cross compiling
17990 See \`config.log' for more details." >&2;}
17991 { (exit 1); exit 1; }; }
17993 cat >conftest.
$ac_ext <<_ACEOF
17996 cat confdefs.h
>>conftest.
$ac_ext
17997 cat >>conftest.
$ac_ext <<_ACEOF
17998 /* end confdefs.h. */
17999 $ac_includes_default
18000 long longval () { return (long) (sizeof (long long)); }
18001 unsigned long ulongval () { return (long) (sizeof (long long)); }
18003 #include <stdlib.h>
18008 FILE *f = fopen ("conftest.val", "w");
18011 if (((long) (sizeof (long long))) < 0)
18013 long i = longval ();
18014 if (i != ((long) (sizeof (long long))))
18016 fprintf (f, "%ld\n", i);
18020 unsigned long i = ulongval ();
18021 if (i != ((long) (sizeof (long long))))
18023 fprintf (f, "%lu\n", i);
18025 exit (ferror (f) || fclose (f) != 0);
18031 rm -f conftest
$ac_exeext
18032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18033 (eval $ac_link) 2>&5
18035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18036 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18038 (eval $ac_try) 2>&5
18040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18041 (exit $ac_status); }; }; then
18042 ac_cv_sizeof_long_long
=`cat conftest.val`
18044 echo "$as_me: program exited with status $ac_status" >&5
18045 echo "$as_me: failed program was:" >&5
18046 sed 's/^/| /' conftest.
$ac_ext >&5
18048 ( exit $ac_status )
18049 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18050 See \`config.log' for more details." >&5
18051 echo "$as_me: error: cannot compute sizeof (long long), 77
18052 See \`config.log' for more details." >&2;}
18053 { (exit 1); exit 1; }; }
18055 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18060 ac_cv_sizeof_long_long
=0
18063 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18064 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18065 cat >>confdefs.h
<<_ACEOF
18066 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18072 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18073 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18074 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18075 echo $ECHO_N "(cached) $ECHO_C" >&6
18078 if test "$cross_compiling" = yes; then
18082 wx_cv_sizeof_wchar_t
=0
18085 wx_cv_sizeof_wchar_t
=4
18091 cat >conftest.
$ac_ext <<_ACEOF
18094 cat confdefs.h
>>conftest.
$ac_ext
18095 cat >>conftest.
$ac_ext <<_ACEOF
18096 /* end confdefs.h. */
18098 /* DJGPP only has fake wchar_t: */
18100 # error "fake wchar_t"
18102 #ifdef HAVE_WCHAR_H
18104 # include <stddef.h>
18106 # include <wchar.h>
18108 #ifdef HAVE_STDLIB_H
18109 # include <stdlib.h>
18114 FILE *f=fopen("conftestval", "w");
18116 fprintf(f, "%i", sizeof(wchar_t));
18121 rm -f conftest
$ac_exeext
18122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18123 (eval $ac_link) 2>&5
18125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18126 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18128 (eval $ac_try) 2>&5
18130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131 (exit $ac_status); }; }; then
18132 wx_cv_sizeof_wchar_t
=`cat conftestval`
18134 echo "$as_me: program exited with status $ac_status" >&5
18135 echo "$as_me: failed program was:" >&5
18136 sed 's/^/| /' conftest.
$ac_ext >&5
18138 ( exit $ac_status )
18139 wx_cv_sizeof_wchar_t
=0
18141 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18145 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18146 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18148 cat >>confdefs.h
<<_ACEOF
18149 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18153 # Check whether --enable-largefile or --disable-largefile was given.
18154 if test "${enable_largefile+set}" = set; then
18155 enableval
="$enable_largefile"
18158 if test "$enable_largefile" != no
; then
18161 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18162 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18163 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18164 echo $ECHO_N "(cached) $ECHO_C" >&6
18167 cat >conftest.
$ac_ext <<_ACEOF
18170 cat confdefs.h
>>conftest.
$ac_ext
18171 cat >>conftest.
$ac_ext <<_ACEOF
18172 /* end confdefs.h. */
18173 #define _FILE_OFFSET_BITS 64
18174 #include <sys/types.h>
18179 unsigned int field: sizeof(off_t) == 8;
18186 rm -f conftest.
$ac_objext
18187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18188 (eval $ac_compile) 2>conftest.er1
18190 grep -v '^ *+' conftest.er1
>conftest.err
18192 cat conftest.err
>&5
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); } &&
18195 { ac_try
='test -z "$ac_c_werror_flag"
18196 || test ! -s conftest.err'
18197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18198 (eval $ac_try) 2>&5
18200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18201 (exit $ac_status); }; } &&
18202 { ac_try
='test -s conftest.$ac_objext'
18203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18204 (eval $ac_try) 2>&5
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); }; }; then
18208 ac_cv_sys_file_offset_bits
=64
18210 echo "$as_me: failed program was:" >&5
18211 sed 's/^/| /' conftest.
$ac_ext >&5
18213 ac_cv_sys_file_offset_bits
=no
18215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18219 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18220 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18222 if test "$ac_cv_sys_file_offset_bits" != no
; then
18224 cat >>confdefs.h
<<_ACEOF
18225 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18230 if test "x$wx_largefile" != "xyes"; then
18232 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18233 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18234 if test "${ac_cv_sys_large_files+set}" = set; then
18235 echo $ECHO_N "(cached) $ECHO_C" >&6
18238 cat >conftest.
$ac_ext <<_ACEOF
18241 cat confdefs.h
>>conftest.
$ac_ext
18242 cat >>conftest.
$ac_ext <<_ACEOF
18243 /* end confdefs.h. */
18244 #define _LARGE_FILES 1
18245 #include <sys/types.h>
18250 unsigned int field: sizeof(off_t) == 8;
18257 rm -f conftest.
$ac_objext
18258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18259 (eval $ac_compile) 2>conftest.er1
18261 grep -v '^ *+' conftest.er1
>conftest.err
18263 cat conftest.err
>&5
18264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265 (exit $ac_status); } &&
18266 { ac_try
='test -z "$ac_c_werror_flag"
18267 || test ! -s conftest.err'
18268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18269 (eval $ac_try) 2>&5
18271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18272 (exit $ac_status); }; } &&
18273 { ac_try
='test -s conftest.$ac_objext'
18274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18275 (eval $ac_try) 2>&5
18277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18278 (exit $ac_status); }; }; then
18279 ac_cv_sys_large_files
=1
18281 echo "$as_me: failed program was:" >&5
18282 sed 's/^/| /' conftest.
$ac_ext >&5
18284 ac_cv_sys_large_files
=no
18286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18290 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18291 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18293 if test "$ac_cv_sys_large_files" != no
; then
18295 cat >>confdefs.h
<<_ACEOF
18296 #define _LARGE_FILES $ac_cv_sys_large_files
18303 echo "$as_me:$LINENO: checking if large file support is available" >&5
18304 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18305 if test "x$wx_largefile" = "xyes"; then
18306 cat >>confdefs.h
<<\_ACEOF
18307 #define HAVE_LARGEFILE_SUPPORT 1
18311 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18312 echo "${ECHO_T}$wx_largefile" >&6
18316 if test "x$wx_largefile" = "xyes"; then
18317 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18318 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18320 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18322 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18325 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18326 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18327 if test "${ac_cv_c_bigendian+set}" = set; then
18328 echo $ECHO_N "(cached) $ECHO_C" >&6
18330 ac_cv_c_bigendian
=unknown
18331 # See if sys/param.h defines the BYTE_ORDER macro.
18332 cat >conftest.
$ac_ext <<_ACEOF
18335 cat confdefs.h
>>conftest.
$ac_ext
18336 cat >>conftest.
$ac_ext <<_ACEOF
18337 /* end confdefs.h. */
18338 #include <sys/types.h>
18339 #include <sys/param.h>
18344 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18345 bogus endian macros
18351 rm -f conftest.
$ac_objext
18352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18353 (eval $ac_compile) 2>conftest.er1
18355 grep -v '^ *+' conftest.er1
>conftest.err
18357 cat conftest.err
>&5
18358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18359 (exit $ac_status); } &&
18360 { ac_try
='test -z "$ac_c_werror_flag"
18361 || test ! -s conftest.err'
18362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18363 (eval $ac_try) 2>&5
18365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18366 (exit $ac_status); }; } &&
18367 { ac_try
='test -s conftest.$ac_objext'
18368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18369 (eval $ac_try) 2>&5
18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18372 (exit $ac_status); }; }; then
18373 # It does; now see whether it defined to BIG_ENDIAN or not.
18374 cat >conftest.
$ac_ext <<_ACEOF
18377 cat confdefs.h
>>conftest.
$ac_ext
18378 cat >>conftest.
$ac_ext <<_ACEOF
18379 /* end confdefs.h. */
18380 #include <sys/types.h>
18381 #include <sys/param.h>
18386 #if BYTE_ORDER != BIG_ENDIAN
18393 rm -f conftest.
$ac_objext
18394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18395 (eval $ac_compile) 2>conftest.er1
18397 grep -v '^ *+' conftest.er1
>conftest.err
18399 cat conftest.err
>&5
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); } &&
18402 { ac_try
='test -z "$ac_c_werror_flag"
18403 || test ! -s conftest.err'
18404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18405 (eval $ac_try) 2>&5
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); }; } &&
18409 { ac_try
='test -s conftest.$ac_objext'
18410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18411 (eval $ac_try) 2>&5
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); }; }; then
18415 ac_cv_c_bigendian
=yes
18417 echo "$as_me: failed program was:" >&5
18418 sed 's/^/| /' conftest.
$ac_ext >&5
18420 ac_cv_c_bigendian
=no
18422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18424 echo "$as_me: failed program was:" >&5
18425 sed 's/^/| /' conftest.
$ac_ext >&5
18428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18429 if test $ac_cv_c_bigendian = unknown
; then
18430 if test "$cross_compiling" = yes; then
18431 ac_cv_c_bigendian
=unknown
18433 cat >conftest.
$ac_ext <<_ACEOF
18436 cat confdefs.h
>>conftest.
$ac_ext
18437 cat >>conftest.
$ac_ext <<_ACEOF
18438 /* end confdefs.h. */
18440 /* Are we little or big endian? From Harbison&Steele. */
18444 char c[sizeof (long)];
18447 exit (u.c[sizeof (long) - 1] == 1);
18450 rm -f conftest
$ac_exeext
18451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18452 (eval $ac_link) 2>&5
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18457 (eval $ac_try) 2>&5
18459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18460 (exit $ac_status); }; }; then
18461 ac_cv_c_bigendian
=no
18463 echo "$as_me: program exited with status $ac_status" >&5
18464 echo "$as_me: failed program was:" >&5
18465 sed 's/^/| /' conftest.
$ac_ext >&5
18467 ( exit $ac_status )
18468 ac_cv_c_bigendian
=yes
18470 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18474 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18475 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18476 if test $ac_cv_c_bigendian = unknown
; then
18477 { 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
18478 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;}
18480 if test $ac_cv_c_bigendian = yes; then
18481 cat >>confdefs.h
<<\_ACEOF
18482 #define WORDS_BIGENDIAN 1
18489 ac_cpp
='$CXXCPP $CPPFLAGS'
18490 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18491 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18492 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18493 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18494 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18495 if test -z "$CXXCPP"; then
18496 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18497 echo $ECHO_N "(cached) $ECHO_C" >&6
18499 # Double quotes because CXXCPP needs to be expanded
18500 for CXXCPP
in "$CXX -E" "/lib/cpp"
18502 ac_preproc_ok
=false
18503 for ac_cxx_preproc_warn_flag
in '' yes
18505 # Use a header file that comes with gcc, so configuring glibc
18506 # with a fresh cross-compiler works.
18507 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18508 # <limits.h> exists even on freestanding compilers.
18509 # On the NeXT, cc -E runs the code through the compiler's parser,
18510 # not just through cpp. "Syntax error" is here to catch this case.
18511 cat >conftest.
$ac_ext <<_ACEOF
18514 cat confdefs.h
>>conftest.
$ac_ext
18515 cat >>conftest.
$ac_ext <<_ACEOF
18516 /* end confdefs.h. */
18518 # include <limits.h>
18520 # include <assert.h>
18524 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18525 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18527 grep -v '^ *+' conftest.er1
>conftest.err
18529 cat conftest.err
>&5
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); } >/dev
/null
; then
18532 if test -s conftest.err
; then
18533 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18534 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18541 if test -z "$ac_cpp_err"; then
18544 echo "$as_me: failed program was:" >&5
18545 sed 's/^/| /' conftest.
$ac_ext >&5
18547 # Broken: fails on valid input.
18550 rm -f conftest.err conftest.
$ac_ext
18552 # OK, works on sane cases. Now check whether non-existent headers
18553 # can be detected and how.
18554 cat >conftest.
$ac_ext <<_ACEOF
18557 cat confdefs.h
>>conftest.
$ac_ext
18558 cat >>conftest.
$ac_ext <<_ACEOF
18559 /* end confdefs.h. */
18560 #include <ac_nonexistent.h>
18562 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18563 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18565 grep -v '^ *+' conftest.er1
>conftest.err
18567 cat conftest.err
>&5
18568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); } >/dev
/null
; then
18570 if test -s conftest.err
; then
18571 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18572 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18579 if test -z "$ac_cpp_err"; then
18580 # Broken: success on invalid input.
18583 echo "$as_me: failed program was:" >&5
18584 sed 's/^/| /' conftest.
$ac_ext >&5
18586 # Passes both tests.
18590 rm -f conftest.err conftest.
$ac_ext
18593 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18594 rm -f conftest.err conftest.
$ac_ext
18595 if $ac_preproc_ok; then
18600 ac_cv_prog_CXXCPP
=$CXXCPP
18603 CXXCPP
=$ac_cv_prog_CXXCPP
18605 ac_cv_prog_CXXCPP
=$CXXCPP
18607 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18608 echo "${ECHO_T}$CXXCPP" >&6
18609 ac_preproc_ok
=false
18610 for ac_cxx_preproc_warn_flag
in '' yes
18612 # Use a header file that comes with gcc, so configuring glibc
18613 # with a fresh cross-compiler works.
18614 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18615 # <limits.h> exists even on freestanding compilers.
18616 # On the NeXT, cc -E runs the code through the compiler's parser,
18617 # not just through cpp. "Syntax error" is here to catch this case.
18618 cat >conftest.
$ac_ext <<_ACEOF
18621 cat confdefs.h
>>conftest.
$ac_ext
18622 cat >>conftest.
$ac_ext <<_ACEOF
18623 /* end confdefs.h. */
18625 # include <limits.h>
18627 # include <assert.h>
18631 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18632 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18634 grep -v '^ *+' conftest.er1
>conftest.err
18636 cat conftest.err
>&5
18637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18638 (exit $ac_status); } >/dev
/null
; then
18639 if test -s conftest.err
; then
18640 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18641 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18648 if test -z "$ac_cpp_err"; then
18651 echo "$as_me: failed program was:" >&5
18652 sed 's/^/| /' conftest.
$ac_ext >&5
18654 # Broken: fails on valid input.
18657 rm -f conftest.err conftest.
$ac_ext
18659 # OK, works on sane cases. Now check whether non-existent headers
18660 # can be detected and how.
18661 cat >conftest.
$ac_ext <<_ACEOF
18664 cat confdefs.h
>>conftest.
$ac_ext
18665 cat >>conftest.
$ac_ext <<_ACEOF
18666 /* end confdefs.h. */
18667 #include <ac_nonexistent.h>
18669 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18670 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18672 grep -v '^ *+' conftest.er1
>conftest.err
18674 cat conftest.err
>&5
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); } >/dev
/null
; then
18677 if test -s conftest.err
; then
18678 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18679 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18686 if test -z "$ac_cpp_err"; then
18687 # Broken: success on invalid input.
18690 echo "$as_me: failed program was:" >&5
18691 sed 's/^/| /' conftest.
$ac_ext >&5
18693 # Passes both tests.
18697 rm -f conftest.err conftest.
$ac_ext
18700 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18701 rm -f conftest.err conftest.
$ac_ext
18702 if $ac_preproc_ok; then
18705 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18706 See \`config.log' for more details." >&5
18707 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18708 See \`config.log' for more details." >&2;}
18709 { (exit 1); exit 1; }; }
18713 ac_cpp
='$CXXCPP $CPPFLAGS'
18714 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18715 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18716 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18720 if test "$cross_compiling" = "yes"; then
18721 cat >>confdefs.h
<<\_ACEOF
18722 #define wxUSE_IOSTREAMH 1
18729 ac_cpp
='$CXXCPP $CPPFLAGS'
18730 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18731 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18732 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18736 for ac_header
in iostream
18738 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18740 echo "$as_me:$LINENO: checking for $ac_header" >&5
18741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18743 echo $ECHO_N "(cached) $ECHO_C" >&6
18745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18746 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18748 # Is the header compilable?
18749 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18750 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18751 cat >conftest.
$ac_ext <<_ACEOF
18754 cat confdefs.h
>>conftest.
$ac_ext
18755 cat >>conftest.
$ac_ext <<_ACEOF
18756 /* end confdefs.h. */
18757 $ac_includes_default
18758 #include <$ac_header>
18760 rm -f conftest.
$ac_objext
18761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18762 (eval $ac_compile) 2>conftest.er1
18764 grep -v '^ *+' conftest.er1
>conftest.err
18766 cat conftest.err
>&5
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); } &&
18769 { ac_try
='test -z "$ac_cxx_werror_flag"
18770 || test ! -s conftest.err'
18771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18772 (eval $ac_try) 2>&5
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); }; } &&
18776 { ac_try
='test -s conftest.$ac_objext'
18777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18778 (eval $ac_try) 2>&5
18780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18781 (exit $ac_status); }; }; then
18782 ac_header_compiler
=yes
18784 echo "$as_me: failed program was:" >&5
18785 sed 's/^/| /' conftest.
$ac_ext >&5
18787 ac_header_compiler
=no
18789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18790 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18791 echo "${ECHO_T}$ac_header_compiler" >&6
18793 # Is the header present?
18794 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18795 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18796 cat >conftest.
$ac_ext <<_ACEOF
18799 cat confdefs.h
>>conftest.
$ac_ext
18800 cat >>conftest.
$ac_ext <<_ACEOF
18801 /* end confdefs.h. */
18802 #include <$ac_header>
18804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18805 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18807 grep -v '^ *+' conftest.er1
>conftest.err
18809 cat conftest.err
>&5
18810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18811 (exit $ac_status); } >/dev
/null
; then
18812 if test -s conftest.err
; then
18813 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18814 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18821 if test -z "$ac_cpp_err"; then
18822 ac_header_preproc
=yes
18824 echo "$as_me: failed program was:" >&5
18825 sed 's/^/| /' conftest.
$ac_ext >&5
18827 ac_header_preproc
=no
18829 rm -f conftest.err conftest.
$ac_ext
18830 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18831 echo "${ECHO_T}$ac_header_preproc" >&6
18833 # So? What about this header?
18834 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18836 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18837 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18839 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18840 ac_header_preproc
=yes
18843 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18844 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18845 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18846 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18847 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18848 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18849 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18850 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18851 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18852 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18853 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18854 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18857 ## ----------------------------------------- ##
18858 ## Report this to wx-dev@lists.wxwidgets.org ##
18859 ## ----------------------------------------- ##
18862 sed "s/^/$as_me: WARNING: /" >&2
18865 echo "$as_me:$LINENO: checking for $ac_header" >&5
18866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18868 echo $ECHO_N "(cached) $ECHO_C" >&6
18870 eval "$as_ac_Header=\$ac_header_preproc"
18872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18877 cat >>confdefs.h
<<_ACEOF
18878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18886 if test "$ac_cv_header_iostream" = "yes" ; then
18889 cat >>confdefs.h
<<\_ACEOF
18890 #define wxUSE_IOSTREAMH 1
18896 ac_cpp
='$CPP $CPPFLAGS'
18897 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18898 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18899 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18905 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18906 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18907 if test "${wx_cv_cpp_bool+set}" = set; then
18908 echo $ECHO_N "(cached) $ECHO_C" >&6
18914 ac_cpp
='$CXXCPP $CPPFLAGS'
18915 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18916 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18917 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18920 cat >conftest.
$ac_ext <<_ACEOF
18923 cat confdefs.h
>>conftest.
$ac_ext
18924 cat >>conftest.
$ac_ext <<_ACEOF
18925 /* end confdefs.h. */
18940 rm -f conftest.
$ac_objext
18941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18942 (eval $ac_compile) 2>conftest.er1
18944 grep -v '^ *+' conftest.er1
>conftest.err
18946 cat conftest.err
>&5
18947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948 (exit $ac_status); } &&
18949 { ac_try
='test -z "$ac_cxx_werror_flag"
18950 || test ! -s conftest.err'
18951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18952 (eval $ac_try) 2>&5
18954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18955 (exit $ac_status); }; } &&
18956 { ac_try
='test -s conftest.$ac_objext'
18957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18958 (eval $ac_try) 2>&5
18960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961 (exit $ac_status); }; }; then
18966 echo "$as_me: failed program was:" >&5
18967 sed 's/^/| /' conftest.
$ac_ext >&5
18974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18977 ac_cpp
='$CPP $CPPFLAGS'
18978 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18979 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18980 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18984 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18985 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18987 if test "$wx_cv_cpp_bool" = "yes"; then
18988 cat >>confdefs.h
<<\_ACEOF
18989 #define HAVE_BOOL 1
18996 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18997 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18998 if test "${wx_cv_explicit+set}" = set; then
18999 echo $ECHO_N "(cached) $ECHO_C" >&6
19005 ac_cpp
='$CXXCPP $CPPFLAGS'
19006 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19007 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19008 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19011 cat >conftest.
$ac_ext <<_ACEOF
19014 cat confdefs.h
>>conftest.
$ac_ext
19015 cat >>conftest.
$ac_ext <<_ACEOF
19016 /* end confdefs.h. */
19018 class Foo { public: explicit Foo(int) {} };
19030 rm -f conftest.
$ac_objext
19031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19032 (eval $ac_compile) 2>conftest.er1
19034 grep -v '^ *+' conftest.er1
>conftest.err
19036 cat conftest.err
>&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); } &&
19039 { ac_try
='test -z "$ac_cxx_werror_flag"
19040 || test ! -s conftest.err'
19041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19042 (eval $ac_try) 2>&5
19044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19045 (exit $ac_status); }; } &&
19046 { ac_try
='test -s conftest.$ac_objext'
19047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19048 (eval $ac_try) 2>&5
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); }; }; then
19053 cat >conftest.
$ac_ext <<_ACEOF
19056 cat confdefs.h
>>conftest.
$ac_ext
19057 cat >>conftest.
$ac_ext <<_ACEOF
19058 /* end confdefs.h. */
19060 class Foo { public: explicit Foo(int) {} };
19061 static void TakeFoo(const Foo& foo) { }
19074 rm -f conftest.
$ac_objext
19075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19076 (eval $ac_compile) 2>conftest.er1
19078 grep -v '^ *+' conftest.er1
>conftest.err
19080 cat conftest.err
>&5
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); } &&
19083 { ac_try
='test -z "$ac_cxx_werror_flag"
19084 || test ! -s conftest.err'
19085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19086 (eval $ac_try) 2>&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); }; } &&
19090 { ac_try
='test -s conftest.$ac_objext'
19091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19092 (eval $ac_try) 2>&5
19094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19095 (exit $ac_status); }; }; then
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 echo "$as_me: failed program was:" >&5
19108 sed 's/^/| /' conftest.
$ac_ext >&5
19113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19116 ac_cpp
='$CPP $CPPFLAGS'
19117 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19118 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19119 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19123 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19124 echo "${ECHO_T}$wx_cv_explicit" >&6
19126 if test "$wx_cv_explicit" = "yes"; then
19127 cat >>confdefs.h
<<\_ACEOF
19128 #define HAVE_EXPLICIT 1
19134 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19135 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19136 if test "${ac_cv_cxx_const_cast+set}" = set; then
19137 echo $ECHO_N "(cached) $ECHO_C" >&6
19142 ac_cpp
='$CXXCPP $CPPFLAGS'
19143 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19144 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19145 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19147 cat >conftest.
$ac_ext <<_ACEOF
19150 cat confdefs.h
>>conftest.
$ac_ext
19151 cat >>conftest.
$ac_ext <<_ACEOF
19152 /* end confdefs.h. */
19157 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19162 rm -f conftest.
$ac_objext
19163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19164 (eval $ac_compile) 2>conftest.er1
19166 grep -v '^ *+' conftest.er1
>conftest.err
19168 cat conftest.err
>&5
19169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19170 (exit $ac_status); } &&
19171 { ac_try
='test -z "$ac_cxx_werror_flag"
19172 || test ! -s conftest.err'
19173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19174 (eval $ac_try) 2>&5
19176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19177 (exit $ac_status); }; } &&
19178 { ac_try
='test -s conftest.$ac_objext'
19179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19180 (eval $ac_try) 2>&5
19182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19183 (exit $ac_status); }; }; then
19184 ac_cv_cxx_const_cast
=yes
19186 echo "$as_me: failed program was:" >&5
19187 sed 's/^/| /' conftest.
$ac_ext >&5
19189 ac_cv_cxx_const_cast
=no
19191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19193 ac_cpp
='$CPP $CPPFLAGS'
19194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19200 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19201 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19202 if test "$ac_cv_cxx_const_cast" = yes; then
19204 cat >>confdefs.h
<<\_ACEOF
19205 #define HAVE_CONST_CAST
19210 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19211 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19212 if test "${ac_cv_cxx_static_cast+set}" = set; then
19213 echo $ECHO_N "(cached) $ECHO_C" >&6
19218 ac_cpp
='$CXXCPP $CPPFLAGS'
19219 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19220 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19221 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19223 cat >conftest.
$ac_ext <<_ACEOF
19226 cat confdefs.h
>>conftest.
$ac_ext
19227 cat >>conftest.
$ac_ext <<_ACEOF
19228 /* end confdefs.h. */
19229 #include <typeinfo>
19230 class Base { public : Base () {} virtual void f () = 0; };
19231 class Derived : public Base { public : Derived () {} virtual void f () {} };
19232 int g (Derived&) { return 0; }
19237 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19242 rm -f conftest.
$ac_objext
19243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19244 (eval $ac_compile) 2>conftest.er1
19246 grep -v '^ *+' conftest.er1
>conftest.err
19248 cat conftest.err
>&5
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); } &&
19251 { ac_try
='test -z "$ac_cxx_werror_flag"
19252 || test ! -s conftest.err'
19253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19254 (eval $ac_try) 2>&5
19256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19257 (exit $ac_status); }; } &&
19258 { ac_try
='test -s conftest.$ac_objext'
19259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19260 (eval $ac_try) 2>&5
19262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19263 (exit $ac_status); }; }; then
19264 ac_cv_cxx_static_cast
=yes
19266 echo "$as_me: failed program was:" >&5
19267 sed 's/^/| /' conftest.
$ac_ext >&5
19269 ac_cv_cxx_static_cast
=no
19271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19273 ac_cpp
='$CPP $CPPFLAGS'
19274 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19275 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19276 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19280 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19281 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19282 if test "$ac_cv_cxx_static_cast" = yes; then
19284 cat >>confdefs.h
<<\_ACEOF
19285 #define HAVE_STATIC_CAST
19291 if test "$wxUSE_STL" = "yes"; then
19293 ac_cpp
='$CXXCPP $CPPFLAGS'
19294 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19295 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19296 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19299 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19300 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19301 cat >conftest.
$ac_ext <<_ACEOF
19304 cat confdefs.h
>>conftest.
$ac_ext
19305 cat >>conftest.
$ac_ext <<_ACEOF
19306 /* end confdefs.h. */
19308 #include <functional>
19309 #include <algorithm>
19315 std::vector<int> moo;
19316 std::list<int> foo;
19317 std::vector<int>::iterator it =
19318 std::find_if(moo.begin(), moo.end(),
19319 std::bind2nd(std::less<int>(), 3));
19324 rm -f conftest.
$ac_objext
19325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19326 (eval $ac_compile) 2>conftest.er1
19328 grep -v '^ *+' conftest.er1
>conftest.err
19330 cat conftest.err
>&5
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); } &&
19333 { ac_try
='test -z "$ac_cxx_werror_flag"
19334 || test ! -s conftest.err'
19335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19336 (eval $ac_try) 2>&5
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); }; } &&
19340 { ac_try
='test -s conftest.$ac_objext'
19341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19342 (eval $ac_try) 2>&5
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; }; then
19346 echo "$as_me:$LINENO: result: yes" >&5
19347 echo "${ECHO_T}yes" >&6
19349 echo "$as_me: failed program was:" >&5
19350 sed 's/^/| /' conftest.
$ac_ext >&5
19352 echo "$as_me:$LINENO: result: no" >&5
19353 echo "${ECHO_T}no" >&6
19354 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19355 echo "$as_me: error: Basic STL functionality missing" >&2;}
19356 { (exit 1); exit 1; }; }
19358 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19360 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19361 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19362 cat >conftest.
$ac_ext <<_ACEOF
19365 cat confdefs.h
>>conftest.
$ac_ext
19366 cat >>conftest.
$ac_ext <<_ACEOF
19367 /* end confdefs.h. */
19377 rm -f conftest.
$ac_objext
19378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19379 (eval $ac_compile) 2>conftest.er1
19381 grep -v '^ *+' conftest.er1
>conftest.err
19383 cat conftest.err
>&5
19384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19385 (exit $ac_status); } &&
19386 { ac_try
='test -z "$ac_cxx_werror_flag"
19387 || test ! -s conftest.err'
19388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19389 (eval $ac_try) 2>&5
19391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392 (exit $ac_status); }; } &&
19393 { ac_try
='test -s conftest.$ac_objext'
19394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19395 (eval $ac_try) 2>&5
19397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398 (exit $ac_status); }; }; then
19399 echo "$as_me:$LINENO: result: yes" >&5
19400 echo "${ECHO_T}yes" >&6
19401 cat >>confdefs.h
<<\_ACEOF
19402 #define HAVE_STD_WSTRING 1
19406 echo "$as_me: failed program was:" >&5
19407 sed 's/^/| /' conftest.
$ac_ext >&5
19409 echo "$as_me:$LINENO: result: no" >&5
19410 echo "${ECHO_T}no" >&6
19412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19414 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19415 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19416 cat >conftest.
$ac_ext <<_ACEOF
19419 cat confdefs.h
>>conftest.
$ac_ext
19420 cat >>conftest.
$ac_ext <<_ACEOF
19421 /* end confdefs.h. */
19426 std::string foo, bar;
19428 foo.compare(1, 1, bar);
19429 foo.compare(1, 1, bar, 1, 1);
19431 foo.compare(1, 1, "");
19432 foo.compare(1, 1, "", 2);
19437 rm -f conftest.
$ac_objext
19438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19439 (eval $ac_compile) 2>conftest.er1
19441 grep -v '^ *+' conftest.er1
>conftest.err
19443 cat conftest.err
>&5
19444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19445 (exit $ac_status); } &&
19446 { ac_try
='test -z "$ac_cxx_werror_flag"
19447 || test ! -s conftest.err'
19448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19449 (eval $ac_try) 2>&5
19451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19452 (exit $ac_status); }; } &&
19453 { ac_try
='test -s conftest.$ac_objext'
19454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19455 (eval $ac_try) 2>&5
19457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458 (exit $ac_status); }; }; then
19459 echo "$as_me:$LINENO: result: yes" >&5
19460 echo "${ECHO_T}yes" >&6
19461 cat >>confdefs.h
<<\_ACEOF
19462 #define HAVE_STD_STRING_COMPARE 1
19466 echo "$as_me: failed program was:" >&5
19467 sed 's/^/| /' conftest.
$ac_ext >&5
19469 echo "$as_me:$LINENO: result: no" >&5
19470 echo "${ECHO_T}no" >&6
19472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19474 if test "${ac_cv_header_hash_map+set}" = set; then
19475 echo "$as_me:$LINENO: checking for hash_map" >&5
19476 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19477 if test "${ac_cv_header_hash_map+set}" = set; then
19478 echo $ECHO_N "(cached) $ECHO_C" >&6
19480 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19481 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19483 # Is the header compilable?
19484 echo "$as_me:$LINENO: checking hash_map usability" >&5
19485 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19486 cat >conftest.
$ac_ext <<_ACEOF
19489 cat confdefs.h
>>conftest.
$ac_ext
19490 cat >>conftest.
$ac_ext <<_ACEOF
19491 /* end confdefs.h. */
19492 $ac_includes_default
19493 #include <hash_map>
19495 rm -f conftest.
$ac_objext
19496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19497 (eval $ac_compile) 2>conftest.er1
19499 grep -v '^ *+' conftest.er1
>conftest.err
19501 cat conftest.err
>&5
19502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19503 (exit $ac_status); } &&
19504 { ac_try
='test -z "$ac_cxx_werror_flag"
19505 || test ! -s conftest.err'
19506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19507 (eval $ac_try) 2>&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); }; } &&
19511 { ac_try
='test -s conftest.$ac_objext'
19512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19513 (eval $ac_try) 2>&5
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); }; }; then
19517 ac_header_compiler
=yes
19519 echo "$as_me: failed program was:" >&5
19520 sed 's/^/| /' conftest.
$ac_ext >&5
19522 ac_header_compiler
=no
19524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19525 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19526 echo "${ECHO_T}$ac_header_compiler" >&6
19528 # Is the header present?
19529 echo "$as_me:$LINENO: checking hash_map presence" >&5
19530 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19531 cat >conftest.
$ac_ext <<_ACEOF
19534 cat confdefs.h
>>conftest.
$ac_ext
19535 cat >>conftest.
$ac_ext <<_ACEOF
19536 /* end confdefs.h. */
19537 #include <hash_map>
19539 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19540 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19542 grep -v '^ *+' conftest.er1
>conftest.err
19544 cat conftest.err
>&5
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); } >/dev
/null
; then
19547 if test -s conftest.err
; then
19548 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19549 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19556 if test -z "$ac_cpp_err"; then
19557 ac_header_preproc
=yes
19559 echo "$as_me: failed program was:" >&5
19560 sed 's/^/| /' conftest.
$ac_ext >&5
19562 ac_header_preproc
=no
19564 rm -f conftest.err conftest.
$ac_ext
19565 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19566 echo "${ECHO_T}$ac_header_preproc" >&6
19568 # So? What about this header?
19569 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19571 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19572 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19573 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19574 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19575 ac_header_preproc
=yes
19578 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19579 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19580 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19581 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19582 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19583 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19584 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19585 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19586 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19587 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19588 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19589 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19592 ## ----------------------------------------- ##
19593 ## Report this to wx-dev@lists.wxwidgets.org ##
19594 ## ----------------------------------------- ##
19597 sed "s/^/$as_me: WARNING: /" >&2
19600 echo "$as_me:$LINENO: checking for hash_map" >&5
19601 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19602 if test "${ac_cv_header_hash_map+set}" = set; then
19603 echo $ECHO_N "(cached) $ECHO_C" >&6
19605 ac_cv_header_hash_map
=$ac_header_preproc
19607 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19608 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19611 if test $ac_cv_header_hash_map = yes; then
19612 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19613 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19614 cat >conftest.
$ac_ext <<_ACEOF
19617 cat confdefs.h
>>conftest.
$ac_ext
19618 cat >>conftest.
$ac_ext <<_ACEOF
19619 /* end confdefs.h. */
19620 #include <hash_map>
19621 #include <hash_set>
19625 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19626 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19631 rm -f conftest.
$ac_objext
19632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19633 (eval $ac_compile) 2>conftest.er1
19635 grep -v '^ *+' conftest.er1
>conftest.err
19637 cat conftest.err
>&5
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); } &&
19640 { ac_try
='test -z "$ac_cxx_werror_flag"
19641 || test ! -s conftest.err'
19642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19643 (eval $ac_try) 2>&5
19645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646 (exit $ac_status); }; } &&
19647 { ac_try
='test -s conftest.$ac_objext'
19648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19649 (eval $ac_try) 2>&5
19651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19652 (exit $ac_status); }; }; then
19653 echo "$as_me:$LINENO: result: yes" >&5
19654 echo "${ECHO_T}yes" >&6
19655 cat >>confdefs.h
<<\_ACEOF
19656 #define HAVE_HASH_MAP 1
19659 cat >>confdefs.h
<<\_ACEOF
19660 #define HAVE_STD_HASH_MAP 1
19664 echo "$as_me: failed program was:" >&5
19665 sed 's/^/| /' conftest.
$ac_ext >&5
19667 echo "$as_me:$LINENO: result: no" >&5
19668 echo "${ECHO_T}no" >&6
19670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19676 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19677 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19678 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19679 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19680 echo $ECHO_N "(cached) $ECHO_C" >&6
19682 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19683 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19685 # Is the header compilable?
19686 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19687 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19688 cat >conftest.
$ac_ext <<_ACEOF
19691 cat confdefs.h
>>conftest.
$ac_ext
19692 cat >>conftest.
$ac_ext <<_ACEOF
19693 /* end confdefs.h. */
19694 $ac_includes_default
19695 #include <ext/hash_map>
19697 rm -f conftest.
$ac_objext
19698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19699 (eval $ac_compile) 2>conftest.er1
19701 grep -v '^ *+' conftest.er1
>conftest.err
19703 cat conftest.err
>&5
19704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705 (exit $ac_status); } &&
19706 { ac_try
='test -z "$ac_cxx_werror_flag"
19707 || test ! -s conftest.err'
19708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19709 (eval $ac_try) 2>&5
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); }; } &&
19713 { ac_try
='test -s conftest.$ac_objext'
19714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19715 (eval $ac_try) 2>&5
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); }; }; then
19719 ac_header_compiler
=yes
19721 echo "$as_me: failed program was:" >&5
19722 sed 's/^/| /' conftest.
$ac_ext >&5
19724 ac_header_compiler
=no
19726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19727 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19728 echo "${ECHO_T}$ac_header_compiler" >&6
19730 # Is the header present?
19731 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
19732 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
19733 cat >conftest.
$ac_ext <<_ACEOF
19736 cat confdefs.h
>>conftest.
$ac_ext
19737 cat >>conftest.
$ac_ext <<_ACEOF
19738 /* end confdefs.h. */
19739 #include <ext/hash_map>
19741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19742 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19744 grep -v '^ *+' conftest.er1
>conftest.err
19746 cat conftest.err
>&5
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); } >/dev
/null
; then
19749 if test -s conftest.err
; then
19750 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19751 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19758 if test -z "$ac_cpp_err"; then
19759 ac_header_preproc
=yes
19761 echo "$as_me: failed program was:" >&5
19762 sed 's/^/| /' conftest.
$ac_ext >&5
19764 ac_header_preproc
=no
19766 rm -f conftest.err conftest.
$ac_ext
19767 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19768 echo "${ECHO_T}$ac_header_preproc" >&6
19770 # So? What about this header?
19771 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19773 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19774 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19775 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
19776 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
19777 ac_header_preproc
=yes
19780 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
19781 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
19782 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
19783 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
19784 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
19785 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
19786 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
19787 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19788 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
19789 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
19790 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
19791 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
19794 ## ----------------------------------------- ##
19795 ## Report this to wx-dev@lists.wxwidgets.org ##
19796 ## ----------------------------------------- ##
19799 sed "s/^/$as_me: WARNING: /" >&2
19802 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19803 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19804 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19805 echo $ECHO_N "(cached) $ECHO_C" >&6
19807 ac_cv_header_ext_hash_map
=$ac_header_preproc
19809 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19810 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19813 if test $ac_cv_header_ext_hash_map = yes; then
19814 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19815 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19816 cat >conftest.
$ac_ext <<_ACEOF
19819 cat confdefs.h
>>conftest.
$ac_ext
19820 cat >>conftest.
$ac_ext <<_ACEOF
19821 /* end confdefs.h. */
19822 #include <ext/hash_map>
19823 #include <ext/hash_set>
19827 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
19828 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
19833 rm -f conftest.
$ac_objext
19834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19835 (eval $ac_compile) 2>conftest.er1
19837 grep -v '^ *+' conftest.er1
>conftest.err
19839 cat conftest.err
>&5
19840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19841 (exit $ac_status); } &&
19842 { ac_try
='test -z "$ac_cxx_werror_flag"
19843 || test ! -s conftest.err'
19844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19845 (eval $ac_try) 2>&5
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); }; } &&
19849 { ac_try
='test -s conftest.$ac_objext'
19850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19851 (eval $ac_try) 2>&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); }; }; then
19855 echo "$as_me:$LINENO: result: yes" >&5
19856 echo "${ECHO_T}yes" >&6
19857 cat >>confdefs.h
<<\_ACEOF
19858 #define HAVE_EXT_HASH_MAP 1
19861 cat >>confdefs.h
<<\_ACEOF
19862 #define HAVE_GNU_CXX_HASH_MAP 1
19866 echo "$as_me: failed program was:" >&5
19867 sed 's/^/| /' conftest.
$ac_ext >&5
19869 echo "$as_me:$LINENO: result: no" >&5
19870 echo "${ECHO_T}no" >&6
19872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19879 ac_cpp
='$CPP $CPPFLAGS'
19880 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19881 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19882 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19888 /usr/local/include \
19890 /usr/Motif-2.1/include \
19891 /usr/Motif-1.2/include \
19892 /usr/include/Motif1.2 \
19893 /opt/xpm/include/X11 \
19894 /opt/GBxpm/include/ \
19895 /opt/GBxpm/X11/include/ \
19898 /usr/openwin/include \
19902 /usr/X11R6/include \
19903 /usr/X11R6.4/include \
19904 /usr/X11R5/include \
19905 /usr/X11R4/include \
19907 /usr/include/X11R6 \
19908 /usr/include/X11R5 \
19909 /usr/include/X11R4 \
19911 /usr/local/X11R6/include \
19912 /usr/local/X11R5/include \
19913 /usr/local/X11R4/include \
19915 /usr/local/include/X11R6 \
19916 /usr/local/include/X11R5 \
19917 /usr/local/include/X11R4 \
19921 /usr/local/X11/include \
19922 /usr/local/include/X11 \
19924 /usr/X386/include \
19925 /usr/x386/include \
19926 /usr/XFree86/include/X11 \
19928 X:/XFree86/include \
19929 X:/XFree86/include/X11 \
19932 /usr/local/include/gtk \
19933 /usr/include/glib \
19934 /usr/local/include/glib \
19937 /usr/local/include/qt \
19939 /usr/local/arm/3.3.2/include \
19941 /usr/include/windows \
19942 /usr/include/wine \
19943 /usr/local/include/wine \
19945 /usr/unsupported/include \
19946 /usr/athena/include \
19947 /usr/local/x11r5/include \
19948 /usr/lpp/Xamples/include \
19950 /usr/openwin/share/include"
19952 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19955 cat >confcache
<<\_ACEOF
19956 # This file is a shell script that caches the results of configure
19957 # tests run on this system so they can be shared between configure
19958 # scripts and configure runs, see configure's option --config-cache.
19959 # It is not useful on other systems. If it contains results you don't
19960 # want to keep, you may remove or edit it.
19962 # config.status only pays attention to the cache file if you give it
19963 # the --recheck option to rerun configure.
19965 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19966 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19967 # following values.
19971 # The following way of writing the cache mishandles newlines in values,
19972 # but we know of no workaround that is simple, portable, and efficient.
19973 # So, don't put newlines in cache variables' values.
19974 # Ultrix sh set writes to stderr and can't be redirected directly,
19975 # and sets the high bit in the cache file unless we assign to the vars.
19978 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19980 # `set' does not quote correctly, so add quotes (double-quote
19981 # substitution turns \\\\ into \\, and sed turns \\ into \).
19984 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19987 # `set' quotes correctly as required by POSIX, so do not add quotes.
19989 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19996 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19998 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20000 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20001 if test -w $cache_file; then
20002 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20003 cat confcache
>$cache_file
20005 echo "not updating unwritable cache $cache_file"
20010 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20011 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20012 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20013 if test "${wx_cv_lib_glibc21+set}" = set; then
20014 echo $ECHO_N "(cached) $ECHO_C" >&6
20017 cat >conftest.
$ac_ext <<_ACEOF
20020 cat confdefs.h
>>conftest.
$ac_ext
20021 cat >>conftest.
$ac_ext <<_ACEOF
20022 /* end confdefs.h. */
20023 #include <features.h>
20028 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20029 #error not glibc2.1
20036 rm -f conftest.
$ac_objext
20037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20038 (eval $ac_compile) 2>conftest.er1
20040 grep -v '^ *+' conftest.er1
>conftest.err
20042 cat conftest.err
>&5
20043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20044 (exit $ac_status); } &&
20045 { ac_try
='test -z "$ac_c_werror_flag"
20046 || test ! -s conftest.err'
20047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20048 (eval $ac_try) 2>&5
20050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20051 (exit $ac_status); }; } &&
20052 { ac_try
='test -s conftest.$ac_objext'
20053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20054 (eval $ac_try) 2>&5
20056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20057 (exit $ac_status); }; }; then
20059 wx_cv_lib_glibc21
=yes
20062 echo "$as_me: failed program was:" >&5
20063 sed 's/^/| /' conftest.
$ac_ext >&5
20066 wx_cv_lib_glibc21
=no
20070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20073 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20074 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20075 if test "$wx_cv_lib_glibc21" = "yes"; then
20076 cat >>confdefs.h
<<\_ACEOF
20077 #define wxHAVE_GLIBC2 1
20083 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20084 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20085 cat >>confdefs.h
<<\_ACEOF
20086 #define _GNU_SOURCE 1
20094 if test "$wxUSE_REGEX" != "no"; then
20095 cat >>confdefs.h
<<\_ACEOF
20096 #define wxUSE_REGEX 1
20100 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20101 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20102 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20103 wxUSE_REGEX
=builtin
20106 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20107 if test "${ac_cv_header_regex_h+set}" = set; then
20108 echo "$as_me:$LINENO: checking for regex.h" >&5
20109 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20110 if test "${ac_cv_header_regex_h+set}" = set; then
20111 echo $ECHO_N "(cached) $ECHO_C" >&6
20113 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20114 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20116 # Is the header compilable?
20117 echo "$as_me:$LINENO: checking regex.h usability" >&5
20118 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20119 cat >conftest.
$ac_ext <<_ACEOF
20122 cat confdefs.h
>>conftest.
$ac_ext
20123 cat >>conftest.
$ac_ext <<_ACEOF
20124 /* end confdefs.h. */
20125 $ac_includes_default
20128 rm -f conftest.
$ac_objext
20129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20130 (eval $ac_compile) 2>conftest.er1
20132 grep -v '^ *+' conftest.er1
>conftest.err
20134 cat conftest.err
>&5
20135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); } &&
20137 { ac_try
='test -z "$ac_c_werror_flag"
20138 || test ! -s conftest.err'
20139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20140 (eval $ac_try) 2>&5
20142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20143 (exit $ac_status); }; } &&
20144 { ac_try
='test -s conftest.$ac_objext'
20145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20146 (eval $ac_try) 2>&5
20148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20149 (exit $ac_status); }; }; then
20150 ac_header_compiler
=yes
20152 echo "$as_me: failed program was:" >&5
20153 sed 's/^/| /' conftest.
$ac_ext >&5
20155 ac_header_compiler
=no
20157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20158 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20159 echo "${ECHO_T}$ac_header_compiler" >&6
20161 # Is the header present?
20162 echo "$as_me:$LINENO: checking regex.h presence" >&5
20163 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20164 cat >conftest.
$ac_ext <<_ACEOF
20167 cat confdefs.h
>>conftest.
$ac_ext
20168 cat >>conftest.
$ac_ext <<_ACEOF
20169 /* end confdefs.h. */
20172 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20173 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20175 grep -v '^ *+' conftest.er1
>conftest.err
20177 cat conftest.err
>&5
20178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20179 (exit $ac_status); } >/dev
/null
; then
20180 if test -s conftest.err
; then
20181 ac_cpp_err
=$ac_c_preproc_warn_flag
20182 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20189 if test -z "$ac_cpp_err"; then
20190 ac_header_preproc
=yes
20192 echo "$as_me: failed program was:" >&5
20193 sed 's/^/| /' conftest.
$ac_ext >&5
20195 ac_header_preproc
=no
20197 rm -f conftest.err conftest.
$ac_ext
20198 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20199 echo "${ECHO_T}$ac_header_preproc" >&6
20201 # So? What about this header?
20202 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20204 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20205 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20206 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20207 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20208 ac_header_preproc
=yes
20211 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20212 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20213 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20214 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20215 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20216 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20217 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20218 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20219 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20220 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20221 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20222 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20225 ## ----------------------------------------- ##
20226 ## Report this to wx-dev@lists.wxwidgets.org ##
20227 ## ----------------------------------------- ##
20230 sed "s/^/$as_me: WARNING: /" >&2
20233 echo "$as_me:$LINENO: checking for regex.h" >&5
20234 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20235 if test "${ac_cv_header_regex_h+set}" = set; then
20236 echo $ECHO_N "(cached) $ECHO_C" >&6
20238 ac_cv_header_regex_h
=$ac_header_preproc
20240 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20241 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20244 if test $ac_cv_header_regex_h = yes; then
20246 for ac_func
in regcomp
20248 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20249 echo "$as_me:$LINENO: checking for $ac_func" >&5
20250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20251 if eval "test \"\${$as_ac_var+set}\" = set"; then
20252 echo $ECHO_N "(cached) $ECHO_C" >&6
20254 cat >conftest.
$ac_ext <<_ACEOF
20257 cat confdefs.h
>>conftest.
$ac_ext
20258 cat >>conftest.
$ac_ext <<_ACEOF
20259 /* end confdefs.h. */
20260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20262 #define $ac_func innocuous_$ac_func
20264 /* System header to define __stub macros and hopefully few prototypes,
20265 which can conflict with char $ac_func (); below.
20266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20267 <limits.h> exists even on freestanding compilers. */
20270 # include <limits.h>
20272 # include <assert.h>
20277 /* Override any gcc2 internal prototype to avoid an error. */
20282 /* We use char because int might match the return type of a gcc2
20283 builtin and then its argument prototype would still apply. */
20285 /* The GNU C library defines this for functions which it implements
20286 to always fail with ENOSYS. Some functions are actually named
20287 something starting with __ and the normal name is an alias. */
20288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20291 char (*f) () = $ac_func;
20300 return f != $ac_func;
20305 rm -f conftest.
$ac_objext conftest
$ac_exeext
20306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20307 (eval $ac_link) 2>conftest.er1
20309 grep -v '^ *+' conftest.er1
>conftest.err
20311 cat conftest.err
>&5
20312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20313 (exit $ac_status); } &&
20314 { ac_try
='test -z "$ac_c_werror_flag"
20315 || test ! -s conftest.err'
20316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20317 (eval $ac_try) 2>&5
20319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20320 (exit $ac_status); }; } &&
20321 { ac_try
='test -s conftest$ac_exeext'
20322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20323 (eval $ac_try) 2>&5
20325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20326 (exit $ac_status); }; }; then
20327 eval "$as_ac_var=yes"
20329 echo "$as_me: failed program was:" >&5
20330 sed 's/^/| /' conftest.
$ac_ext >&5
20332 eval "$as_ac_var=no"
20334 rm -f conftest.err conftest.
$ac_objext \
20335 conftest
$ac_exeext conftest.
$ac_ext
20337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20339 if test `eval echo '${'$as_ac_var'}'` = yes; then
20340 cat >>confdefs.h
<<_ACEOF
20341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20351 if test "x$ac_cv_func_regcomp" != "xyes"; then
20352 if test "$wxUSE_REGEX" = "sys" ; then
20353 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20354 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20355 { (exit 1); exit 1; }; }
20357 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20358 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20359 wxUSE_REGEX
=builtin
20363 cat >>confdefs.h
<<\_ACEOF
20364 #define WX_NO_REGEX_ADVANCED 1
20373 if test "$wxUSE_ZLIB" != "no" ; then
20374 cat >>confdefs.h
<<\_ACEOF
20375 #define wxUSE_ZLIB 1
20379 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20380 if test "$USE_DARWIN" = 1; then
20381 system_zlib_h_ok
="yes"
20383 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20384 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20385 if test "${ac_cv_header_zlib_h+set}" = set; then
20386 echo $ECHO_N "(cached) $ECHO_C" >&6
20388 if test "$cross_compiling" = yes; then
20389 unset ac_cv_header_zlib_h
20392 cat >conftest.
$ac_ext <<_ACEOF
20395 cat confdefs.h
>>conftest.
$ac_ext
20396 cat >>conftest.
$ac_ext <<_ACEOF
20397 /* end confdefs.h. */
20404 FILE *f=fopen("conftestval", "w");
20407 ZLIB_VERSION[0] == '1' &&
20408 (ZLIB_VERSION[2] > '1' ||
20409 (ZLIB_VERSION[2] == '1' &&
20410 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20415 rm -f conftest
$ac_exeext
20416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20417 (eval $ac_link) 2>&5
20419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20420 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20422 (eval $ac_try) 2>&5
20424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20425 (exit $ac_status); }; }; then
20426 ac_cv_header_zlib_h
=`cat conftestval`
20428 echo "$as_me: program exited with status $ac_status" >&5
20429 echo "$as_me: failed program was:" >&5
20430 sed 's/^/| /' conftest.
$ac_ext >&5
20432 ( exit $ac_status )
20433 ac_cv_header_zlib_h
=no
20435 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20439 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20440 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20441 if test "${ac_cv_header_zlib_h+set}" = set; then
20442 echo "$as_me:$LINENO: checking for zlib.h" >&5
20443 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20444 if test "${ac_cv_header_zlib_h+set}" = set; then
20445 echo $ECHO_N "(cached) $ECHO_C" >&6
20447 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20448 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20450 # Is the header compilable?
20451 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20452 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20453 cat >conftest.
$ac_ext <<_ACEOF
20456 cat confdefs.h
>>conftest.
$ac_ext
20457 cat >>conftest.
$ac_ext <<_ACEOF
20458 /* end confdefs.h. */
20459 $ac_includes_default
20462 rm -f conftest.
$ac_objext
20463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20464 (eval $ac_compile) 2>conftest.er1
20466 grep -v '^ *+' conftest.er1
>conftest.err
20468 cat conftest.err
>&5
20469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20470 (exit $ac_status); } &&
20471 { ac_try
='test -z "$ac_c_werror_flag"
20472 || test ! -s conftest.err'
20473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20474 (eval $ac_try) 2>&5
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); }; } &&
20478 { ac_try
='test -s conftest.$ac_objext'
20479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20480 (eval $ac_try) 2>&5
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); }; }; then
20484 ac_header_compiler
=yes
20486 echo "$as_me: failed program was:" >&5
20487 sed 's/^/| /' conftest.
$ac_ext >&5
20489 ac_header_compiler
=no
20491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20492 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20493 echo "${ECHO_T}$ac_header_compiler" >&6
20495 # Is the header present?
20496 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20497 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20498 cat >conftest.
$ac_ext <<_ACEOF
20501 cat confdefs.h
>>conftest.
$ac_ext
20502 cat >>conftest.
$ac_ext <<_ACEOF
20503 /* end confdefs.h. */
20506 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20507 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20509 grep -v '^ *+' conftest.er1
>conftest.err
20511 cat conftest.err
>&5
20512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); } >/dev
/null
; then
20514 if test -s conftest.err
; then
20515 ac_cpp_err
=$ac_c_preproc_warn_flag
20516 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20523 if test -z "$ac_cpp_err"; then
20524 ac_header_preproc
=yes
20526 echo "$as_me: failed program was:" >&5
20527 sed 's/^/| /' conftest.
$ac_ext >&5
20529 ac_header_preproc
=no
20531 rm -f conftest.err conftest.
$ac_ext
20532 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20533 echo "${ECHO_T}$ac_header_preproc" >&6
20535 # So? What about this header?
20536 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20538 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20539 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20540 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20541 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20542 ac_header_preproc
=yes
20545 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20546 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20547 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20548 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20549 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20550 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20551 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20552 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20553 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20554 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20555 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20556 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20559 ## ----------------------------------------- ##
20560 ## Report this to wx-dev@lists.wxwidgets.org ##
20561 ## ----------------------------------------- ##
20564 sed "s/^/$as_me: WARNING: /" >&2
20567 echo "$as_me:$LINENO: checking for zlib.h" >&5
20568 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20569 if test "${ac_cv_header_zlib_h+set}" = set; then
20570 echo $ECHO_N "(cached) $ECHO_C" >&6
20572 ac_cv_header_zlib_h
=$ac_header_preproc
20574 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20575 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20581 system_zlib_h_ok
=$ac_cv_header_zlib_h
20584 if test "$system_zlib_h_ok" = "yes"; then
20585 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20586 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20587 if test "${ac_cv_lib_z_deflate+set}" = set; then
20588 echo $ECHO_N "(cached) $ECHO_C" >&6
20590 ac_check_lib_save_LIBS
=$LIBS
20592 cat >conftest.
$ac_ext <<_ACEOF
20595 cat confdefs.h
>>conftest.
$ac_ext
20596 cat >>conftest.
$ac_ext <<_ACEOF
20597 /* end confdefs.h. */
20599 /* Override any gcc2 internal prototype to avoid an error. */
20603 /* We use char because int might match the return type of a gcc2
20604 builtin and then its argument prototype would still apply. */
20614 rm -f conftest.
$ac_objext conftest
$ac_exeext
20615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20616 (eval $ac_link) 2>conftest.er1
20618 grep -v '^ *+' conftest.er1
>conftest.err
20620 cat conftest.err
>&5
20621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20622 (exit $ac_status); } &&
20623 { ac_try
='test -z "$ac_c_werror_flag"
20624 || test ! -s conftest.err'
20625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20626 (eval $ac_try) 2>&5
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); }; } &&
20630 { ac_try
='test -s conftest$ac_exeext'
20631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20632 (eval $ac_try) 2>&5
20634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635 (exit $ac_status); }; }; then
20636 ac_cv_lib_z_deflate
=yes
20638 echo "$as_me: failed program was:" >&5
20639 sed 's/^/| /' conftest.
$ac_ext >&5
20641 ac_cv_lib_z_deflate
=no
20643 rm -f conftest.err conftest.
$ac_objext \
20644 conftest
$ac_exeext conftest.
$ac_ext
20645 LIBS
=$ac_check_lib_save_LIBS
20647 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20648 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20649 if test $ac_cv_lib_z_deflate = yes; then
20655 if test "x$ZLIB_LINK" = "x" ; then
20656 if test "$wxUSE_ZLIB" = "sys" ; then
20657 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20658 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20659 { (exit 1); exit 1; }; }
20661 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20662 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20673 if test "$wxUSE_LIBPNG" != "no" ; then
20674 cat >>confdefs.h
<<\_ACEOF
20675 #define wxUSE_LIBPNG 1
20679 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20680 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20681 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20685 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20686 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20687 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20688 wxUSE_LIBPNG
=builtin
20691 if test "$wxUSE_MGL" != 1 ; then
20692 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20693 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20694 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20695 if test "${ac_cv_header_png_h+set}" = set; then
20696 echo $ECHO_N "(cached) $ECHO_C" >&6
20698 if test "$cross_compiling" = yes; then
20699 unset ac_cv_header_png_h
20702 cat >conftest.
$ac_ext <<_ACEOF
20705 cat confdefs.h
>>conftest.
$ac_ext
20706 cat >>conftest.
$ac_ext <<_ACEOF
20707 /* end confdefs.h. */
20714 FILE *f=fopen("conftestval", "w");
20717 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20722 rm -f conftest
$ac_exeext
20723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20724 (eval $ac_link) 2>&5
20726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20727 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20729 (eval $ac_try) 2>&5
20731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20732 (exit $ac_status); }; }; then
20733 ac_cv_header_png_h
=`cat conftestval`
20735 echo "$as_me: program exited with status $ac_status" >&5
20736 echo "$as_me: failed program was:" >&5
20737 sed 's/^/| /' conftest.
$ac_ext >&5
20739 ( exit $ac_status )
20740 ac_cv_header_png_h
=no
20742 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20746 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20747 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20748 if test "${ac_cv_header_png_h+set}" = set; then
20749 echo "$as_me:$LINENO: checking for png.h" >&5
20750 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20751 if test "${ac_cv_header_png_h+set}" = set; then
20752 echo $ECHO_N "(cached) $ECHO_C" >&6
20754 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20755 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20757 # Is the header compilable?
20758 echo "$as_me:$LINENO: checking png.h usability" >&5
20759 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20760 cat >conftest.
$ac_ext <<_ACEOF
20763 cat confdefs.h
>>conftest.
$ac_ext
20764 cat >>conftest.
$ac_ext <<_ACEOF
20765 /* end confdefs.h. */
20766 $ac_includes_default
20769 rm -f conftest.
$ac_objext
20770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20771 (eval $ac_compile) 2>conftest.er1
20773 grep -v '^ *+' conftest.er1
>conftest.err
20775 cat conftest.err
>&5
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); } &&
20778 { ac_try
='test -z "$ac_c_werror_flag"
20779 || test ! -s conftest.err'
20780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20781 (eval $ac_try) 2>&5
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 (exit $ac_status); }; } &&
20785 { ac_try
='test -s conftest.$ac_objext'
20786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20787 (eval $ac_try) 2>&5
20789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20790 (exit $ac_status); }; }; then
20791 ac_header_compiler
=yes
20793 echo "$as_me: failed program was:" >&5
20794 sed 's/^/| /' conftest.
$ac_ext >&5
20796 ac_header_compiler
=no
20798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20799 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20800 echo "${ECHO_T}$ac_header_compiler" >&6
20802 # Is the header present?
20803 echo "$as_me:$LINENO: checking png.h presence" >&5
20804 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20805 cat >conftest.
$ac_ext <<_ACEOF
20808 cat confdefs.h
>>conftest.
$ac_ext
20809 cat >>conftest.
$ac_ext <<_ACEOF
20810 /* end confdefs.h. */
20813 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20814 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20816 grep -v '^ *+' conftest.er1
>conftest.err
20818 cat conftest.err
>&5
20819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20820 (exit $ac_status); } >/dev
/null
; then
20821 if test -s conftest.err
; then
20822 ac_cpp_err
=$ac_c_preproc_warn_flag
20823 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20830 if test -z "$ac_cpp_err"; then
20831 ac_header_preproc
=yes
20833 echo "$as_me: failed program was:" >&5
20834 sed 's/^/| /' conftest.
$ac_ext >&5
20836 ac_header_preproc
=no
20838 rm -f conftest.err conftest.
$ac_ext
20839 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20840 echo "${ECHO_T}$ac_header_preproc" >&6
20842 # So? What about this header?
20843 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20845 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20846 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20847 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20848 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20849 ac_header_preproc
=yes
20852 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20853 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20854 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20855 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20856 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20857 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20858 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20859 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20860 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20861 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20862 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20863 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20866 ## ----------------------------------------- ##
20867 ## Report this to wx-dev@lists.wxwidgets.org ##
20868 ## ----------------------------------------- ##
20871 sed "s/^/$as_me: WARNING: /" >&2
20874 echo "$as_me:$LINENO: checking for png.h" >&5
20875 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20876 if test "${ac_cv_header_png_h+set}" = set; then
20877 echo $ECHO_N "(cached) $ECHO_C" >&6
20879 ac_cv_header_png_h
=$ac_header_preproc
20881 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20882 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20888 if test "$ac_cv_header_png_h" = "yes"; then
20889 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20890 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20891 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20892 echo $ECHO_N "(cached) $ECHO_C" >&6
20894 ac_check_lib_save_LIBS
=$LIBS
20895 LIBS
="-lpng -lz -lm $LIBS"
20896 cat >conftest.
$ac_ext <<_ACEOF
20899 cat confdefs.h
>>conftest.
$ac_ext
20900 cat >>conftest.
$ac_ext <<_ACEOF
20901 /* end confdefs.h. */
20903 /* Override any gcc2 internal prototype to avoid an error. */
20907 /* We use char because int might match the return type of a gcc2
20908 builtin and then its argument prototype would still apply. */
20909 char png_check_sig ();
20918 rm -f conftest.
$ac_objext conftest
$ac_exeext
20919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20920 (eval $ac_link) 2>conftest.er1
20922 grep -v '^ *+' conftest.er1
>conftest.err
20924 cat conftest.err
>&5
20925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926 (exit $ac_status); } &&
20927 { ac_try
='test -z "$ac_c_werror_flag"
20928 || test ! -s conftest.err'
20929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20930 (eval $ac_try) 2>&5
20932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20933 (exit $ac_status); }; } &&
20934 { ac_try
='test -s conftest$ac_exeext'
20935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20936 (eval $ac_try) 2>&5
20938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20939 (exit $ac_status); }; }; then
20940 ac_cv_lib_png_png_check_sig
=yes
20942 echo "$as_me: failed program was:" >&5
20943 sed 's/^/| /' conftest.
$ac_ext >&5
20945 ac_cv_lib_png_png_check_sig
=no
20947 rm -f conftest.err conftest.
$ac_objext \
20948 conftest
$ac_exeext conftest.
$ac_ext
20949 LIBS
=$ac_check_lib_save_LIBS
20951 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20952 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20953 if test $ac_cv_lib_png_png_check_sig = yes; then
20954 PNG_LINK
=" -lpng -lz"
20959 if test "x$PNG_LINK" = "x" ; then
20960 if test "$wxUSE_LIBPNG" = "sys" ; then
20961 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20962 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20963 { (exit 1); exit 1; }; }
20965 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20966 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20967 wxUSE_LIBPNG
=builtin
20975 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
20980 if test "$wxUSE_LIBJPEG" != "no" ; then
20981 cat >>confdefs.h
<<\_ACEOF
20982 #define wxUSE_LIBJPEG 1
20986 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20987 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20988 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20992 if test "$wxUSE_MGL" != 1 ; then
20993 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20994 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20995 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20996 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20997 echo $ECHO_N "(cached) $ECHO_C" >&6
20999 cat >conftest.
$ac_ext <<_ACEOF
21002 cat confdefs.h
>>conftest.
$ac_ext
21003 cat >>conftest.
$ac_ext <<_ACEOF
21004 /* end confdefs.h. */
21006 #undef HAVE_STDLIB_H
21008 #include <jpeglib.h>
21019 rm -f conftest.
$ac_objext
21020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21021 (eval $ac_compile) 2>conftest.er1
21023 grep -v '^ *+' conftest.er1
>conftest.err
21025 cat conftest.err
>&5
21026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027 (exit $ac_status); } &&
21028 { ac_try
='test -z "$ac_c_werror_flag"
21029 || test ! -s conftest.err'
21030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21031 (eval $ac_try) 2>&5
21033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21034 (exit $ac_status); }; } &&
21035 { ac_try
='test -s conftest.$ac_objext'
21036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21037 (eval $ac_try) 2>&5
21039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21040 (exit $ac_status); }; }; then
21041 ac_cv_header_jpeglib_h
=yes
21043 echo "$as_me: failed program was:" >&5
21044 sed 's/^/| /' conftest.
$ac_ext >&5
21046 ac_cv_header_jpeglib_h
=no
21049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21053 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21054 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21056 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21057 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21058 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21059 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21060 echo $ECHO_N "(cached) $ECHO_C" >&6
21062 ac_check_lib_save_LIBS
=$LIBS
21063 LIBS
="-ljpeg $LIBS"
21064 cat >conftest.
$ac_ext <<_ACEOF
21067 cat confdefs.h
>>conftest.
$ac_ext
21068 cat >>conftest.
$ac_ext <<_ACEOF
21069 /* end confdefs.h. */
21071 /* Override any gcc2 internal prototype to avoid an error. */
21075 /* We use char because int might match the return type of a gcc2
21076 builtin and then its argument prototype would still apply. */
21077 char jpeg_read_header ();
21081 jpeg_read_header ();
21086 rm -f conftest.
$ac_objext conftest
$ac_exeext
21087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21088 (eval $ac_link) 2>conftest.er1
21090 grep -v '^ *+' conftest.er1
>conftest.err
21092 cat conftest.err
>&5
21093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21094 (exit $ac_status); } &&
21095 { ac_try
='test -z "$ac_c_werror_flag"
21096 || test ! -s conftest.err'
21097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21098 (eval $ac_try) 2>&5
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); }; } &&
21102 { ac_try
='test -s conftest$ac_exeext'
21103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21104 (eval $ac_try) 2>&5
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); }; }; then
21108 ac_cv_lib_jpeg_jpeg_read_header
=yes
21110 echo "$as_me: failed program was:" >&5
21111 sed 's/^/| /' conftest.
$ac_ext >&5
21113 ac_cv_lib_jpeg_jpeg_read_header
=no
21115 rm -f conftest.err conftest.
$ac_objext \
21116 conftest
$ac_exeext conftest.
$ac_ext
21117 LIBS
=$ac_check_lib_save_LIBS
21119 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21120 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21121 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21122 JPEG_LINK
=" -ljpeg"
21127 if test "x$JPEG_LINK" = "x" ; then
21128 if test "$wxUSE_LIBJPEG" = "sys" ; then
21129 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21130 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21131 { (exit 1); exit 1; }; }
21133 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21134 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21135 wxUSE_LIBJPEG
=builtin
21146 TIFF_PREREQ_LINKS
=-lm
21147 if test "$wxUSE_LIBTIFF" != "no" ; then
21148 cat >>confdefs.h
<<\_ACEOF
21149 #define wxUSE_LIBTIFF 1
21153 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21154 if test "$wxUSE_LIBJPEG" = "sys"; then
21155 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21157 if test "$wxUSE_ZLIB" = "sys"; then
21158 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21160 if test "${ac_cv_header_tiffio_h+set}" = set; then
21161 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21162 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21163 if test "${ac_cv_header_tiffio_h+set}" = set; then
21164 echo $ECHO_N "(cached) $ECHO_C" >&6
21166 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21167 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21169 # Is the header compilable?
21170 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21171 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21172 cat >conftest.
$ac_ext <<_ACEOF
21175 cat confdefs.h
>>conftest.
$ac_ext
21176 cat >>conftest.
$ac_ext <<_ACEOF
21177 /* end confdefs.h. */
21178 $ac_includes_default
21179 #include <tiffio.h>
21181 rm -f conftest.
$ac_objext
21182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21183 (eval $ac_compile) 2>conftest.er1
21185 grep -v '^ *+' conftest.er1
>conftest.err
21187 cat conftest.err
>&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); } &&
21190 { ac_try
='test -z "$ac_c_werror_flag"
21191 || test ! -s conftest.err'
21192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21193 (eval $ac_try) 2>&5
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); }; } &&
21197 { ac_try
='test -s conftest.$ac_objext'
21198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21199 (eval $ac_try) 2>&5
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); }; }; then
21203 ac_header_compiler
=yes
21205 echo "$as_me: failed program was:" >&5
21206 sed 's/^/| /' conftest.
$ac_ext >&5
21208 ac_header_compiler
=no
21210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21211 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21212 echo "${ECHO_T}$ac_header_compiler" >&6
21214 # Is the header present?
21215 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21216 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21217 cat >conftest.
$ac_ext <<_ACEOF
21220 cat confdefs.h
>>conftest.
$ac_ext
21221 cat >>conftest.
$ac_ext <<_ACEOF
21222 /* end confdefs.h. */
21223 #include <tiffio.h>
21225 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21226 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21228 grep -v '^ *+' conftest.er1
>conftest.err
21230 cat conftest.err
>&5
21231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21232 (exit $ac_status); } >/dev
/null
; then
21233 if test -s conftest.err
; then
21234 ac_cpp_err
=$ac_c_preproc_warn_flag
21235 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21242 if test -z "$ac_cpp_err"; then
21243 ac_header_preproc
=yes
21245 echo "$as_me: failed program was:" >&5
21246 sed 's/^/| /' conftest.
$ac_ext >&5
21248 ac_header_preproc
=no
21250 rm -f conftest.err conftest.
$ac_ext
21251 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21252 echo "${ECHO_T}$ac_header_preproc" >&6
21254 # So? What about this header?
21255 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21257 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21258 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21259 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21260 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21261 ac_header_preproc
=yes
21264 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21265 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21266 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21267 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21268 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21269 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21270 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21271 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21272 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21273 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21274 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21275 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21278 ## ----------------------------------------- ##
21279 ## Report this to wx-dev@lists.wxwidgets.org ##
21280 ## ----------------------------------------- ##
21283 sed "s/^/$as_me: WARNING: /" >&2
21286 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21287 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21288 if test "${ac_cv_header_tiffio_h+set}" = set; then
21289 echo $ECHO_N "(cached) $ECHO_C" >&6
21291 ac_cv_header_tiffio_h
=$ac_header_preproc
21293 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21294 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21297 if test $ac_cv_header_tiffio_h = yes; then
21299 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21300 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21301 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21302 echo $ECHO_N "(cached) $ECHO_C" >&6
21304 ac_check_lib_save_LIBS
=$LIBS
21305 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21306 cat >conftest.
$ac_ext <<_ACEOF
21309 cat confdefs.h
>>conftest.
$ac_ext
21310 cat >>conftest.
$ac_ext <<_ACEOF
21311 /* end confdefs.h. */
21313 /* Override any gcc2 internal prototype to avoid an error. */
21317 /* We use char because int might match the return type of a gcc2
21318 builtin and then its argument prototype would still apply. */
21328 rm -f conftest.
$ac_objext conftest
$ac_exeext
21329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21330 (eval $ac_link) 2>conftest.er1
21332 grep -v '^ *+' conftest.er1
>conftest.err
21334 cat conftest.err
>&5
21335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21336 (exit $ac_status); } &&
21337 { ac_try
='test -z "$ac_c_werror_flag"
21338 || test ! -s conftest.err'
21339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21340 (eval $ac_try) 2>&5
21342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21343 (exit $ac_status); }; } &&
21344 { ac_try
='test -s conftest$ac_exeext'
21345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21346 (eval $ac_try) 2>&5
21348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21349 (exit $ac_status); }; }; then
21350 ac_cv_lib_tiff_TIFFError
=yes
21352 echo "$as_me: failed program was:" >&5
21353 sed 's/^/| /' conftest.
$ac_ext >&5
21355 ac_cv_lib_tiff_TIFFError
=no
21357 rm -f conftest.err conftest.
$ac_objext \
21358 conftest
$ac_exeext conftest.
$ac_ext
21359 LIBS
=$ac_check_lib_save_LIBS
21361 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21362 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21363 if test $ac_cv_lib_tiff_TIFFError = yes; then
21364 TIFF_LINK
=" -ltiff"
21373 if test "x$TIFF_LINK" = "x" ; then
21374 if test "$wxUSE_LIBTIFF" = "sys" ; then
21375 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21376 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21377 { (exit 1); exit 1; }; }
21379 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21380 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21381 wxUSE_LIBTIFF
=builtin
21390 if test "$wxUSE_EXPAT" != "no"; then
21392 cat >>confdefs.h
<<\_ACEOF
21393 #define wxUSE_EXPAT 1
21396 cat >>confdefs.h
<<\_ACEOF
21397 #define wxUSE_XML 1
21401 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21402 if test "${ac_cv_header_expat_h+set}" = set; then
21403 echo "$as_me:$LINENO: checking for expat.h" >&5
21404 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21405 if test "${ac_cv_header_expat_h+set}" = set; then
21406 echo $ECHO_N "(cached) $ECHO_C" >&6
21408 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21409 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21411 # Is the header compilable?
21412 echo "$as_me:$LINENO: checking expat.h usability" >&5
21413 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21414 cat >conftest.
$ac_ext <<_ACEOF
21417 cat confdefs.h
>>conftest.
$ac_ext
21418 cat >>conftest.
$ac_ext <<_ACEOF
21419 /* end confdefs.h. */
21420 $ac_includes_default
21423 rm -f conftest.
$ac_objext
21424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21425 (eval $ac_compile) 2>conftest.er1
21427 grep -v '^ *+' conftest.er1
>conftest.err
21429 cat conftest.err
>&5
21430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21431 (exit $ac_status); } &&
21432 { ac_try
='test -z "$ac_c_werror_flag"
21433 || test ! -s conftest.err'
21434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21435 (eval $ac_try) 2>&5
21437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438 (exit $ac_status); }; } &&
21439 { ac_try
='test -s conftest.$ac_objext'
21440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21441 (eval $ac_try) 2>&5
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); }; }; then
21445 ac_header_compiler
=yes
21447 echo "$as_me: failed program was:" >&5
21448 sed 's/^/| /' conftest.
$ac_ext >&5
21450 ac_header_compiler
=no
21452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21453 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21454 echo "${ECHO_T}$ac_header_compiler" >&6
21456 # Is the header present?
21457 echo "$as_me:$LINENO: checking expat.h presence" >&5
21458 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21459 cat >conftest.
$ac_ext <<_ACEOF
21462 cat confdefs.h
>>conftest.
$ac_ext
21463 cat >>conftest.
$ac_ext <<_ACEOF
21464 /* end confdefs.h. */
21467 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21468 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21470 grep -v '^ *+' conftest.er1
>conftest.err
21472 cat conftest.err
>&5
21473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21474 (exit $ac_status); } >/dev
/null
; then
21475 if test -s conftest.err
; then
21476 ac_cpp_err
=$ac_c_preproc_warn_flag
21477 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21484 if test -z "$ac_cpp_err"; then
21485 ac_header_preproc
=yes
21487 echo "$as_me: failed program was:" >&5
21488 sed 's/^/| /' conftest.
$ac_ext >&5
21490 ac_header_preproc
=no
21492 rm -f conftest.err conftest.
$ac_ext
21493 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21494 echo "${ECHO_T}$ac_header_preproc" >&6
21496 # So? What about this header?
21497 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21499 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21500 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21501 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21502 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21503 ac_header_preproc
=yes
21506 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21507 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21508 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21509 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21510 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21511 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21512 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21513 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21514 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21515 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21516 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21517 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21520 ## ----------------------------------------- ##
21521 ## Report this to wx-dev@lists.wxwidgets.org ##
21522 ## ----------------------------------------- ##
21525 sed "s/^/$as_me: WARNING: /" >&2
21528 echo "$as_me:$LINENO: checking for expat.h" >&5
21529 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21530 if test "${ac_cv_header_expat_h+set}" = set; then
21531 echo $ECHO_N "(cached) $ECHO_C" >&6
21533 ac_cv_header_expat_h
=$ac_header_preproc
21535 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21536 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21539 if test $ac_cv_header_expat_h = yes; then
21544 if test "x$found_expat_h" = "x1"; then
21545 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21546 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21547 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21548 echo $ECHO_N "(cached) $ECHO_C" >&6
21554 ac_cpp
='$CXXCPP $CPPFLAGS'
21555 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21556 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21557 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21559 cat >conftest.
$ac_ext <<_ACEOF
21562 cat confdefs.h
>>conftest.
$ac_ext
21563 cat >>conftest.
$ac_ext <<_ACEOF
21564 /* end confdefs.h. */
21574 rm -f conftest.
$ac_objext
21575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21576 (eval $ac_compile) 2>conftest.er1
21578 grep -v '^ *+' conftest.er1
>conftest.err
21580 cat conftest.err
>&5
21581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21582 (exit $ac_status); } &&
21583 { ac_try
='test -z "$ac_cxx_werror_flag"
21584 || test ! -s conftest.err'
21585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21586 (eval $ac_try) 2>&5
21588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589 (exit $ac_status); }; } &&
21590 { ac_try
='test -s conftest.$ac_objext'
21591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21592 (eval $ac_try) 2>&5
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); }; }; then
21596 wx_cv_expat_is_not_broken
=yes
21598 echo "$as_me: failed program was:" >&5
21599 sed 's/^/| /' conftest.
$ac_ext >&5
21601 wx_cv_expat_is_not_broken
=no
21604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21606 ac_cpp
='$CPP $CPPFLAGS'
21607 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21608 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21609 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21614 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21615 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21616 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21617 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21618 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21619 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21620 echo $ECHO_N "(cached) $ECHO_C" >&6
21622 ac_check_lib_save_LIBS
=$LIBS
21623 LIBS
="-lexpat $LIBS"
21624 cat >conftest.
$ac_ext <<_ACEOF
21627 cat confdefs.h
>>conftest.
$ac_ext
21628 cat >>conftest.
$ac_ext <<_ACEOF
21629 /* end confdefs.h. */
21631 /* Override any gcc2 internal prototype to avoid an error. */
21635 /* We use char because int might match the return type of a gcc2
21636 builtin and then its argument prototype would still apply. */
21637 char XML_ParserCreate ();
21641 XML_ParserCreate ();
21646 rm -f conftest.
$ac_objext conftest
$ac_exeext
21647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21648 (eval $ac_link) 2>conftest.er1
21650 grep -v '^ *+' conftest.er1
>conftest.err
21652 cat conftest.err
>&5
21653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21654 (exit $ac_status); } &&
21655 { ac_try
='test -z "$ac_c_werror_flag"
21656 || test ! -s conftest.err'
21657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21658 (eval $ac_try) 2>&5
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); }; } &&
21662 { ac_try
='test -s conftest$ac_exeext'
21663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21664 (eval $ac_try) 2>&5
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); }; }; then
21668 ac_cv_lib_expat_XML_ParserCreate
=yes
21670 echo "$as_me: failed program was:" >&5
21671 sed 's/^/| /' conftest.
$ac_ext >&5
21673 ac_cv_lib_expat_XML_ParserCreate
=no
21675 rm -f conftest.err conftest.
$ac_objext \
21676 conftest
$ac_exeext conftest.
$ac_ext
21677 LIBS
=$ac_check_lib_save_LIBS
21679 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21680 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21681 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21682 EXPAT_LINK
=" -lexpat"
21687 if test "x$EXPAT_LINK" = "x" ; then
21688 if test "$wxUSE_EXPAT" = "sys" ; then
21689 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21690 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21691 { (exit 1); exit 1; }; }
21693 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21694 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21695 wxUSE_EXPAT
=builtin
21701 if test "$wxUSE_EXPAT" = "builtin" ; then
21704 subdirs
="$subdirs src/expat"
21711 if test "$wxUSE_LIBMSPACK" != "no"; then
21713 if test "${ac_cv_header_mspack_h+set}" = set; then
21714 echo "$as_me:$LINENO: checking for mspack.h" >&5
21715 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21716 if test "${ac_cv_header_mspack_h+set}" = set; then
21717 echo $ECHO_N "(cached) $ECHO_C" >&6
21719 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21720 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21722 # Is the header compilable?
21723 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21724 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21725 cat >conftest.
$ac_ext <<_ACEOF
21728 cat confdefs.h
>>conftest.
$ac_ext
21729 cat >>conftest.
$ac_ext <<_ACEOF
21730 /* end confdefs.h. */
21731 $ac_includes_default
21732 #include <mspack.h>
21734 rm -f conftest.
$ac_objext
21735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21736 (eval $ac_compile) 2>conftest.er1
21738 grep -v '^ *+' conftest.er1
>conftest.err
21740 cat conftest.err
>&5
21741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742 (exit $ac_status); } &&
21743 { ac_try
='test -z "$ac_c_werror_flag"
21744 || test ! -s conftest.err'
21745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21746 (eval $ac_try) 2>&5
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); }; } &&
21750 { ac_try
='test -s conftest.$ac_objext'
21751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21752 (eval $ac_try) 2>&5
21754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21755 (exit $ac_status); }; }; then
21756 ac_header_compiler
=yes
21758 echo "$as_me: failed program was:" >&5
21759 sed 's/^/| /' conftest.
$ac_ext >&5
21761 ac_header_compiler
=no
21763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21764 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21765 echo "${ECHO_T}$ac_header_compiler" >&6
21767 # Is the header present?
21768 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21769 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21770 cat >conftest.
$ac_ext <<_ACEOF
21773 cat confdefs.h
>>conftest.
$ac_ext
21774 cat >>conftest.
$ac_ext <<_ACEOF
21775 /* end confdefs.h. */
21776 #include <mspack.h>
21778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21779 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21781 grep -v '^ *+' conftest.er1
>conftest.err
21783 cat conftest.err
>&5
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); } >/dev
/null
; then
21786 if test -s conftest.err
; then
21787 ac_cpp_err
=$ac_c_preproc_warn_flag
21788 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21795 if test -z "$ac_cpp_err"; then
21796 ac_header_preproc
=yes
21798 echo "$as_me: failed program was:" >&5
21799 sed 's/^/| /' conftest.
$ac_ext >&5
21801 ac_header_preproc
=no
21803 rm -f conftest.err conftest.
$ac_ext
21804 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21805 echo "${ECHO_T}$ac_header_preproc" >&6
21807 # So? What about this header?
21808 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21810 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21811 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21812 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21813 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21814 ac_header_preproc
=yes
21817 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21818 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21819 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21820 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21821 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21822 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21823 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21824 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21825 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21826 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21827 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21828 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21831 ## ----------------------------------------- ##
21832 ## Report this to wx-dev@lists.wxwidgets.org ##
21833 ## ----------------------------------------- ##
21836 sed "s/^/$as_me: WARNING: /" >&2
21839 echo "$as_me:$LINENO: checking for mspack.h" >&5
21840 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21841 if test "${ac_cv_header_mspack_h+set}" = set; then
21842 echo $ECHO_N "(cached) $ECHO_C" >&6
21844 ac_cv_header_mspack_h
=$ac_header_preproc
21846 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21847 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21850 if test $ac_cv_header_mspack_h = yes; then
21855 if test "x$found_mspack_h" = "x1"; then
21856 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21857 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21858 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21859 echo $ECHO_N "(cached) $ECHO_C" >&6
21861 ac_check_lib_save_LIBS
=$LIBS
21862 LIBS
="-lmspack $LIBS"
21863 cat >conftest.
$ac_ext <<_ACEOF
21866 cat confdefs.h
>>conftest.
$ac_ext
21867 cat >>conftest.
$ac_ext <<_ACEOF
21868 /* end confdefs.h. */
21870 /* Override any gcc2 internal prototype to avoid an error. */
21874 /* We use char because int might match the return type of a gcc2
21875 builtin and then its argument prototype would still apply. */
21876 char mspack_create_chm_decompressor ();
21880 mspack_create_chm_decompressor ();
21885 rm -f conftest.
$ac_objext conftest
$ac_exeext
21886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21887 (eval $ac_link) 2>conftest.er1
21889 grep -v '^ *+' conftest.er1
>conftest.err
21891 cat conftest.err
>&5
21892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21893 (exit $ac_status); } &&
21894 { ac_try
='test -z "$ac_c_werror_flag"
21895 || test ! -s conftest.err'
21896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21897 (eval $ac_try) 2>&5
21899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21900 (exit $ac_status); }; } &&
21901 { ac_try
='test -s conftest$ac_exeext'
21902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21903 (eval $ac_try) 2>&5
21905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21906 (exit $ac_status); }; }; then
21907 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
21909 echo "$as_me: failed program was:" >&5
21910 sed 's/^/| /' conftest.
$ac_ext >&5
21912 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
21914 rm -f conftest.err conftest.
$ac_objext \
21915 conftest
$ac_exeext conftest.
$ac_ext
21916 LIBS
=$ac_check_lib_save_LIBS
21918 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21919 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21920 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21921 MSPACK_LINK
=" -lmspack"
21925 if test "x$MSPACK_LINK" = "x" ; then
21928 cat >>confdefs.h
<<\_ACEOF
21929 #define wxUSE_LIBMSPACK 1
21944 if test "$USE_WIN32" = 1 ; then
21946 for ac_header
in w32api.h
21948 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21950 echo "$as_me:$LINENO: checking for $ac_header" >&5
21951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21953 echo $ECHO_N "(cached) $ECHO_C" >&6
21955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21956 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21958 # Is the header compilable?
21959 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21960 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21961 cat >conftest.
$ac_ext <<_ACEOF
21964 cat confdefs.h
>>conftest.
$ac_ext
21965 cat >>conftest.
$ac_ext <<_ACEOF
21966 /* end confdefs.h. */
21967 $ac_includes_default
21968 #include <$ac_header>
21970 rm -f conftest.
$ac_objext
21971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21972 (eval $ac_compile) 2>conftest.er1
21974 grep -v '^ *+' conftest.er1
>conftest.err
21976 cat conftest.err
>&5
21977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21978 (exit $ac_status); } &&
21979 { ac_try
='test -z "$ac_c_werror_flag"
21980 || test ! -s conftest.err'
21981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21982 (eval $ac_try) 2>&5
21984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985 (exit $ac_status); }; } &&
21986 { ac_try
='test -s conftest.$ac_objext'
21987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21988 (eval $ac_try) 2>&5
21990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21991 (exit $ac_status); }; }; then
21992 ac_header_compiler
=yes
21994 echo "$as_me: failed program was:" >&5
21995 sed 's/^/| /' conftest.
$ac_ext >&5
21997 ac_header_compiler
=no
21999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22000 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22001 echo "${ECHO_T}$ac_header_compiler" >&6
22003 # Is the header present?
22004 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22005 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22006 cat >conftest.
$ac_ext <<_ACEOF
22009 cat confdefs.h
>>conftest.
$ac_ext
22010 cat >>conftest.
$ac_ext <<_ACEOF
22011 /* end confdefs.h. */
22012 #include <$ac_header>
22014 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22015 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22017 grep -v '^ *+' conftest.er1
>conftest.err
22019 cat conftest.err
>&5
22020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22021 (exit $ac_status); } >/dev
/null
; then
22022 if test -s conftest.err
; then
22023 ac_cpp_err
=$ac_c_preproc_warn_flag
22024 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22031 if test -z "$ac_cpp_err"; then
22032 ac_header_preproc
=yes
22034 echo "$as_me: failed program was:" >&5
22035 sed 's/^/| /' conftest.
$ac_ext >&5
22037 ac_header_preproc
=no
22039 rm -f conftest.err conftest.
$ac_ext
22040 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22041 echo "${ECHO_T}$ac_header_preproc" >&6
22043 # So? What about this header?
22044 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22046 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22047 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22048 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22049 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22050 ac_header_preproc
=yes
22053 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22054 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22055 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22056 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22057 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22058 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22059 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22060 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22061 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22062 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22063 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22064 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22067 ## ----------------------------------------- ##
22068 ## Report this to wx-dev@lists.wxwidgets.org ##
22069 ## ----------------------------------------- ##
22072 sed "s/^/$as_me: WARNING: /" >&2
22075 echo "$as_me:$LINENO: checking for $ac_header" >&5
22076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22078 echo $ECHO_N "(cached) $ECHO_C" >&6
22080 eval "$as_ac_Header=\$ac_header_preproc"
22082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22083 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22086 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22087 cat >>confdefs.h
<<_ACEOF
22088 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22095 if test "${ac_cv_header_windows_h+set}" = set; then
22096 echo "$as_me:$LINENO: checking for windows.h" >&5
22097 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22098 if test "${ac_cv_header_windows_h+set}" = set; then
22099 echo $ECHO_N "(cached) $ECHO_C" >&6
22101 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22102 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22104 # Is the header compilable?
22105 echo "$as_me:$LINENO: checking windows.h usability" >&5
22106 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22107 cat >conftest.
$ac_ext <<_ACEOF
22110 cat confdefs.h
>>conftest.
$ac_ext
22111 cat >>conftest.
$ac_ext <<_ACEOF
22112 /* end confdefs.h. */
22113 $ac_includes_default
22114 #include <windows.h>
22116 rm -f conftest.
$ac_objext
22117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22118 (eval $ac_compile) 2>conftest.er1
22120 grep -v '^ *+' conftest.er1
>conftest.err
22122 cat conftest.err
>&5
22123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124 (exit $ac_status); } &&
22125 { ac_try
='test -z "$ac_c_werror_flag"
22126 || test ! -s conftest.err'
22127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22128 (eval $ac_try) 2>&5
22130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22131 (exit $ac_status); }; } &&
22132 { ac_try
='test -s conftest.$ac_objext'
22133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22134 (eval $ac_try) 2>&5
22136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22137 (exit $ac_status); }; }; then
22138 ac_header_compiler
=yes
22140 echo "$as_me: failed program was:" >&5
22141 sed 's/^/| /' conftest.
$ac_ext >&5
22143 ac_header_compiler
=no
22145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22146 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22147 echo "${ECHO_T}$ac_header_compiler" >&6
22149 # Is the header present?
22150 echo "$as_me:$LINENO: checking windows.h presence" >&5
22151 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22152 cat >conftest.
$ac_ext <<_ACEOF
22155 cat confdefs.h
>>conftest.
$ac_ext
22156 cat >>conftest.
$ac_ext <<_ACEOF
22157 /* end confdefs.h. */
22158 #include <windows.h>
22160 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22161 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22163 grep -v '^ *+' conftest.er1
>conftest.err
22165 cat conftest.err
>&5
22166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22167 (exit $ac_status); } >/dev
/null
; then
22168 if test -s conftest.err
; then
22169 ac_cpp_err
=$ac_c_preproc_warn_flag
22170 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22177 if test -z "$ac_cpp_err"; then
22178 ac_header_preproc
=yes
22180 echo "$as_me: failed program was:" >&5
22181 sed 's/^/| /' conftest.
$ac_ext >&5
22183 ac_header_preproc
=no
22185 rm -f conftest.err conftest.
$ac_ext
22186 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22187 echo "${ECHO_T}$ac_header_preproc" >&6
22189 # So? What about this header?
22190 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22192 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22193 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22194 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22195 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22196 ac_header_preproc
=yes
22199 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22200 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22201 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22202 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22203 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22204 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22205 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22206 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22207 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22208 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22209 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22210 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22213 ## ----------------------------------------- ##
22214 ## Report this to wx-dev@lists.wxwidgets.org ##
22215 ## ----------------------------------------- ##
22218 sed "s/^/$as_me: WARNING: /" >&2
22221 echo "$as_me:$LINENO: checking for windows.h" >&5
22222 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22223 if test "${ac_cv_header_windows_h+set}" = set; then
22224 echo $ECHO_N "(cached) $ECHO_C" >&6
22226 ac_cv_header_windows_h
=$ac_header_preproc
22228 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22229 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22232 if test $ac_cv_header_windows_h = yes; then
22236 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22237 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22238 { (exit 1); exit 1; }; }
22244 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22246 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22247 LIBS
="$LIBS -loleacc"
22252 LIBS
="$LIBS -lkernel32 -luser32"
22253 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
22256 if test "$wxUSE_ODBC" = "sys" ; then
22259 if test "$wxUSE_ODBC" = "yes" ; then
22260 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
22261 cat >>confdefs.h
<<\_ACEOF
22262 #define wxUSE_ODBC 1
22267 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22268 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22270 WIN32INSTALL
=win32install
22273 if test "$wxUSE_GUI" = "yes"; then
22283 if test "$wxUSE_MSW" = 1 ; then
22289 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22293 if test "$wxUSE_GTK" = 1; then
22294 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22295 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22297 gtk_version_cached
=1
22298 if test "${wx_cv_lib_gtk+set}" = set; then
22299 echo $ECHO_N "(cached) $ECHO_C" >&6
22302 gtk_version_cached
=0
22303 echo "$as_me:$LINENO: result: " >&5
22304 echo "${ECHO_T}" >&6
22307 if test "$wxUSE_THREADS" = "yes"; then
22308 GTK_MODULES
=gthread
22312 if test "x$wxUSE_GTK2" = "xyes"; then
22313 # Check whether --enable-gtktest or --disable-gtktest was given.
22314 if test "${enable_gtktest+set}" = set; then
22315 enableval
="$enable_gtktest"
22321 pkg_config_args
=gtk
+-2.0
22322 for module
in .
$GTK_MODULES
22326 pkg_config_args
="$pkg_config_args gthread-2.0"
22333 # Extract the first word of "pkg-config", so it can be a program name with args.
22334 set dummy pkg
-config; ac_word
=$2
22335 echo "$as_me:$LINENO: checking for $ac_word" >&5
22336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22337 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22338 echo $ECHO_N "(cached) $ECHO_C" >&6
22340 case $PKG_CONFIG in
22342 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22346 for as_dir
in $PATH
22349 test -z "$as_dir" && as_dir
=.
22350 for ac_exec_ext
in '' $ac_executable_extensions; do
22351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22352 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22359 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22363 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22365 if test -n "$PKG_CONFIG"; then
22366 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22367 echo "${ECHO_T}$PKG_CONFIG" >&6
22369 echo "$as_me:$LINENO: result: no" >&5
22370 echo "${ECHO_T}no" >&6
22374 if test x
$PKG_CONFIG != xno
; then
22375 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
22378 echo "*** pkg-config too old; version 0.7 or better required."
22386 min_gtk_version
=2.0.0
22387 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22388 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22390 if test x
$PKG_CONFIG != xno
; then
22391 ## don't try to run the test against uninstalled libtool libs
22392 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22393 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22397 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22404 if test x
"$no_gtk" = x
; then
22405 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
22406 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
22407 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22408 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22409 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22410 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22411 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22412 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22413 if test "x$enable_gtktest" = "xyes" ; then
22414 ac_save_CFLAGS
="$CFLAGS"
22415 ac_save_LIBS
="$LIBS"
22416 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22417 LIBS
="$GTK_LIBS $LIBS"
22419 if test "$cross_compiling" = yes; then
22420 echo $ac_n "cross compiling; assumed OK... $ac_c"
22422 cat >conftest.
$ac_ext <<_ACEOF
22425 cat confdefs.h
>>conftest.
$ac_ext
22426 cat >>conftest.
$ac_ext <<_ACEOF
22427 /* end confdefs.h. */
22429 #include <gtk/gtk.h>
22431 #include <stdlib.h>
22436 int major, minor, micro;
22439 system ("touch conf.gtktest");
22441 /* HP/UX 9 (%@#!) writes to sscanf strings */
22442 tmp_version = g_strdup("$min_gtk_version");
22443 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22444 printf("%s, bad version string\n", "$min_gtk_version");
22448 if ((gtk_major_version != $gtk_config_major_version) ||
22449 (gtk_minor_version != $gtk_config_minor_version) ||
22450 (gtk_micro_version != $gtk_config_micro_version))
22452 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22453 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22454 gtk_major_version, gtk_minor_version, gtk_micro_version);
22455 printf ("*** was found! If pkg-config was correct, then it is best\n");
22456 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22457 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22458 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22459 printf("*** required on your system.\n");
22460 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22461 printf("*** to point to the correct configuration files\n");
22463 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22464 (gtk_minor_version != GTK_MINOR_VERSION) ||
22465 (gtk_micro_version != GTK_MICRO_VERSION))
22467 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22468 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22469 printf("*** library (version %d.%d.%d)\n",
22470 gtk_major_version, gtk_minor_version, gtk_micro_version);
22474 if ((gtk_major_version > major) ||
22475 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22476 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22482 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22483 gtk_major_version, gtk_minor_version, gtk_micro_version);
22484 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22485 major, minor, micro);
22486 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22488 printf("*** If you have already installed a sufficiently new version, this error\n");
22489 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22490 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22491 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22492 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22493 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22494 printf("*** so that the correct libraries are found at run-time))\n");
22501 rm -f conftest
$ac_exeext
22502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22503 (eval $ac_link) 2>&5
22505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22506 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22508 (eval $ac_try) 2>&5
22510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22511 (exit $ac_status); }; }; then
22514 echo "$as_me: program exited with status $ac_status" >&5
22515 echo "$as_me: failed program was:" >&5
22516 sed 's/^/| /' conftest.
$ac_ext >&5
22518 ( exit $ac_status )
22521 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22523 CFLAGS
="$ac_save_CFLAGS"
22524 LIBS
="$ac_save_LIBS"
22527 if test "x$no_gtk" = x
; then
22528 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22529 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22532 echo "$as_me:$LINENO: result: no" >&5
22533 echo "${ECHO_T}no" >&6
22534 if test "$PKG_CONFIG" = "no" ; then
22535 echo "*** A new enough version of pkg-config was not found."
22536 echo "*** See http://pkgconfig.sourceforge.net"
22538 if test -f conf.gtktest
; then
22541 echo "*** Could not run GTK+ test program, checking why..."
22542 ac_save_CFLAGS
="$CFLAGS"
22543 ac_save_LIBS
="$LIBS"
22544 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22545 LIBS
="$LIBS $GTK_LIBS"
22546 cat >conftest.
$ac_ext <<_ACEOF
22549 cat confdefs.h
>>conftest.
$ac_ext
22550 cat >>conftest.
$ac_ext <<_ACEOF
22551 /* end confdefs.h. */
22553 #include <gtk/gtk.h>
22559 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22564 rm -f conftest.
$ac_objext conftest
$ac_exeext
22565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22566 (eval $ac_link) 2>conftest.er1
22568 grep -v '^ *+' conftest.er1
>conftest.err
22570 cat conftest.err
>&5
22571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22572 (exit $ac_status); } &&
22573 { ac_try
='test -z "$ac_c_werror_flag"
22574 || test ! -s conftest.err'
22575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22576 (eval $ac_try) 2>&5
22578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22579 (exit $ac_status); }; } &&
22580 { ac_try
='test -s conftest$ac_exeext'
22581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22582 (eval $ac_try) 2>&5
22584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22585 (exit $ac_status); }; }; then
22586 echo "*** The test program compiled, but did not run. This usually means"
22587 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22588 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22589 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22590 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22591 echo "*** is required on your system"
22593 echo "*** If you have an old version installed, it is best to remove it, although"
22594 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22596 echo "$as_me: failed program was:" >&5
22597 sed 's/^/| /' conftest.
$ac_ext >&5
22599 echo "*** The test program failed to compile or link. See the file config.log for the"
22600 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22602 rm -f conftest.err conftest.
$ac_objext \
22603 conftest
$ac_exeext conftest.
$ac_ext
22604 CFLAGS
="$ac_save_CFLAGS"
22605 LIBS
="$ac_save_LIBS"
22618 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22619 if test "${with_gtk_prefix+set}" = set; then
22620 withval
="$with_gtk_prefix"
22621 gtk_config_prefix
="$withval"
22623 gtk_config_prefix
=""
22626 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22627 if test "${with_gtk_exec_prefix+set}" = set; then
22628 withval
="$with_gtk_exec_prefix"
22629 gtk_config_exec_prefix
="$withval"
22631 gtk_config_exec_prefix
=""
22633 # Check whether --enable-gtktest or --disable-gtktest was given.
22634 if test "${enable_gtktest+set}" = set; then
22635 enableval
="$enable_gtktest"
22641 for module
in .
$GTK_MODULES
22645 gtk_config_args
="$gtk_config_args gthread"
22650 if test x
$gtk_config_exec_prefix != x
; then
22651 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22652 if test x
${GTK_CONFIG+set} != xset
; then
22653 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22656 if test x
$gtk_config_prefix != x
; then
22657 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22658 if test x
${GTK_CONFIG+set} != xset
; then
22659 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22663 # Extract the first word of "gtk-config", so it can be a program name with args.
22664 set dummy gtk
-config; ac_word
=$2
22665 echo "$as_me:$LINENO: checking for $ac_word" >&5
22666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22667 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22668 echo $ECHO_N "(cached) $ECHO_C" >&6
22670 case $GTK_CONFIG in
22672 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22676 for as_dir
in $PATH
22679 test -z "$as_dir" && as_dir
=.
22680 for ac_exec_ext
in '' $ac_executable_extensions; do
22681 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22682 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22689 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22693 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22695 if test -n "$GTK_CONFIG"; then
22696 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22697 echo "${ECHO_T}$GTK_CONFIG" >&6
22699 echo "$as_me:$LINENO: result: no" >&5
22700 echo "${ECHO_T}no" >&6
22703 min_gtk_version
=1.2.7
22704 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22705 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22707 if test "$GTK_CONFIG" = "no" ; then
22710 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22711 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22712 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22713 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22714 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22715 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22716 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22717 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22718 if test "x$enable_gtktest" = "xyes" ; then
22719 ac_save_CFLAGS
="$CFLAGS"
22720 ac_save_LIBS
="$LIBS"
22721 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22722 LIBS
="$GTK_LIBS $LIBS"
22724 if test "$cross_compiling" = yes; then
22725 echo $ac_n "cross compiling; assumed OK... $ac_c"
22727 cat >conftest.
$ac_ext <<_ACEOF
22730 cat confdefs.h
>>conftest.
$ac_ext
22731 cat >>conftest.
$ac_ext <<_ACEOF
22732 /* end confdefs.h. */
22734 #include <gtk/gtk.h>
22736 #include <stdlib.h>
22741 int major, minor, micro;
22744 system ("touch conf.gtktest");
22746 /* HP/UX 9 (%@#!) writes to sscanf strings */
22747 tmp_version = g_strdup("$min_gtk_version");
22748 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22749 printf("%s, bad version string\n", "$min_gtk_version");
22753 if ((gtk_major_version != $gtk_config_major_version) ||
22754 (gtk_minor_version != $gtk_config_minor_version) ||
22755 (gtk_micro_version != $gtk_config_micro_version))
22757 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22758 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22759 gtk_major_version, gtk_minor_version, gtk_micro_version);
22760 printf ("*** was found! If gtk-config was correct, then it is best\n");
22761 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22762 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22763 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22764 printf("*** required on your system.\n");
22765 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22766 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22767 printf("*** before re-running configure\n");
22769 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22770 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22771 (gtk_minor_version != GTK_MINOR_VERSION) ||
22772 (gtk_micro_version != GTK_MICRO_VERSION))
22774 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22775 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22776 printf("*** library (version %d.%d.%d)\n",
22777 gtk_major_version, gtk_minor_version, gtk_micro_version);
22779 #endif /* defined (GTK_MAJOR_VERSION) ... */
22782 if ((gtk_major_version > major) ||
22783 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22784 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22790 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22791 gtk_major_version, gtk_minor_version, gtk_micro_version);
22792 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22793 major, minor, micro);
22794 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22796 printf("*** If you have already installed a sufficiently new version, this error\n");
22797 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22798 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22799 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22800 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22801 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22802 printf("*** so that the correct libraries are found at run-time))\n");
22809 rm -f conftest
$ac_exeext
22810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22811 (eval $ac_link) 2>&5
22813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22814 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22816 (eval $ac_try) 2>&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); }; }; then
22822 echo "$as_me: program exited with status $ac_status" >&5
22823 echo "$as_me: failed program was:" >&5
22824 sed 's/^/| /' conftest.
$ac_ext >&5
22826 ( exit $ac_status )
22829 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22831 CFLAGS
="$ac_save_CFLAGS"
22832 LIBS
="$ac_save_LIBS"
22835 if test "x$no_gtk" = x
; then
22836 echo "$as_me:$LINENO: result: yes" >&5
22837 echo "${ECHO_T}yes" >&6
22838 wx_cv_lib_gtk
=1.2.7
22840 echo "$as_me:$LINENO: result: no" >&5
22841 echo "${ECHO_T}no" >&6
22842 if test "$GTK_CONFIG" = "no" ; then
22843 echo "*** The gtk-config script installed by GTK could not be found"
22844 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22845 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22846 echo "*** full path to gtk-config."
22848 if test -f conf.gtktest
; then
22851 echo "*** Could not run GTK test program, checking why..."
22852 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22853 LIBS
="$LIBS $GTK_LIBS"
22854 cat >conftest.
$ac_ext <<_ACEOF
22857 cat confdefs.h
>>conftest.
$ac_ext
22858 cat >>conftest.
$ac_ext <<_ACEOF
22859 /* end confdefs.h. */
22861 #include <gtk/gtk.h>
22867 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22872 rm -f conftest.
$ac_objext conftest
$ac_exeext
22873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22874 (eval $ac_link) 2>conftest.er1
22876 grep -v '^ *+' conftest.er1
>conftest.err
22878 cat conftest.err
>&5
22879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22880 (exit $ac_status); } &&
22881 { ac_try
='test -z "$ac_c_werror_flag"
22882 || test ! -s conftest.err'
22883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22884 (eval $ac_try) 2>&5
22886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22887 (exit $ac_status); }; } &&
22888 { ac_try
='test -s conftest$ac_exeext'
22889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22890 (eval $ac_try) 2>&5
22892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22893 (exit $ac_status); }; }; then
22894 echo "*** The test program compiled, but did not run. This usually means"
22895 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22896 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22897 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22898 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22899 echo "*** is required on your system"
22901 echo "*** If you have an old version installed, it is best to remove it, although"
22902 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22904 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22905 echo "*** came with the system with the command"
22907 echo "*** rpm --erase --nodeps gtk gtk-devel"
22909 echo "$as_me: failed program was:" >&5
22910 sed 's/^/| /' conftest.
$ac_ext >&5
22912 echo "*** The test program failed to compile or link. See the file config.log for the"
22913 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22914 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22915 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22917 rm -f conftest.err conftest.
$ac_objext \
22918 conftest
$ac_exeext conftest.
$ac_ext
22919 CFLAGS
="$ac_save_CFLAGS"
22920 LIBS
="$ac_save_LIBS"
22932 if test -z "$wx_cv_lib_gtk"; then
22934 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22935 if test "${with_gtk_prefix+set}" = set; then
22936 withval
="$with_gtk_prefix"
22937 gtk_config_prefix
="$withval"
22939 gtk_config_prefix
=""
22942 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22943 if test "${with_gtk_exec_prefix+set}" = set; then
22944 withval
="$with_gtk_exec_prefix"
22945 gtk_config_exec_prefix
="$withval"
22947 gtk_config_exec_prefix
=""
22949 # Check whether --enable-gtktest or --disable-gtktest was given.
22950 if test "${enable_gtktest+set}" = set; then
22951 enableval
="$enable_gtktest"
22957 for module
in .
$GTK_MODULES
22961 gtk_config_args
="$gtk_config_args gthread"
22966 if test x
$gtk_config_exec_prefix != x
; then
22967 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22968 if test x
${GTK_CONFIG+set} != xset
; then
22969 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22972 if test x
$gtk_config_prefix != x
; then
22973 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22974 if test x
${GTK_CONFIG+set} != xset
; then
22975 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22979 # Extract the first word of "gtk-config", so it can be a program name with args.
22980 set dummy gtk
-config; ac_word
=$2
22981 echo "$as_me:$LINENO: checking for $ac_word" >&5
22982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22983 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22984 echo $ECHO_N "(cached) $ECHO_C" >&6
22986 case $GTK_CONFIG in
22988 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22992 for as_dir
in $PATH
22995 test -z "$as_dir" && as_dir
=.
22996 for ac_exec_ext
in '' $ac_executable_extensions; do
22997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22998 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23005 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23009 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23011 if test -n "$GTK_CONFIG"; then
23012 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23013 echo "${ECHO_T}$GTK_CONFIG" >&6
23015 echo "$as_me:$LINENO: result: no" >&5
23016 echo "${ECHO_T}no" >&6
23019 min_gtk_version
=1.2.3
23020 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23021 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23023 if test "$GTK_CONFIG" = "no" ; then
23026 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23027 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23028 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23029 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23030 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23031 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23032 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23034 if test "x$enable_gtktest" = "xyes" ; then
23035 ac_save_CFLAGS
="$CFLAGS"
23036 ac_save_LIBS
="$LIBS"
23037 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23038 LIBS
="$GTK_LIBS $LIBS"
23040 if test "$cross_compiling" = yes; then
23041 echo $ac_n "cross compiling; assumed OK... $ac_c"
23043 cat >conftest.
$ac_ext <<_ACEOF
23046 cat confdefs.h
>>conftest.
$ac_ext
23047 cat >>conftest.
$ac_ext <<_ACEOF
23048 /* end confdefs.h. */
23050 #include <gtk/gtk.h>
23052 #include <stdlib.h>
23057 int major, minor, micro;
23060 system ("touch conf.gtktest");
23062 /* HP/UX 9 (%@#!) writes to sscanf strings */
23063 tmp_version = g_strdup("$min_gtk_version");
23064 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23065 printf("%s, bad version string\n", "$min_gtk_version");
23069 if ((gtk_major_version != $gtk_config_major_version) ||
23070 (gtk_minor_version != $gtk_config_minor_version) ||
23071 (gtk_micro_version != $gtk_config_micro_version))
23073 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23074 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23075 gtk_major_version, gtk_minor_version, gtk_micro_version);
23076 printf ("*** was found! If gtk-config was correct, then it is best\n");
23077 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23078 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23079 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23080 printf("*** required on your system.\n");
23081 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23082 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23083 printf("*** before re-running configure\n");
23085 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23086 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23087 (gtk_minor_version != GTK_MINOR_VERSION) ||
23088 (gtk_micro_version != GTK_MICRO_VERSION))
23090 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23091 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23092 printf("*** library (version %d.%d.%d)\n",
23093 gtk_major_version, gtk_minor_version, gtk_micro_version);
23095 #endif /* defined (GTK_MAJOR_VERSION) ... */
23098 if ((gtk_major_version > major) ||
23099 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23100 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23106 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23107 gtk_major_version, gtk_minor_version, gtk_micro_version);
23108 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23109 major, minor, micro);
23110 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23112 printf("*** If you have already installed a sufficiently new version, this error\n");
23113 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23114 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23115 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23116 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23117 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23118 printf("*** so that the correct libraries are found at run-time))\n");
23125 rm -f conftest
$ac_exeext
23126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23127 (eval $ac_link) 2>&5
23129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23130 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23132 (eval $ac_try) 2>&5
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); }; }; then
23138 echo "$as_me: program exited with status $ac_status" >&5
23139 echo "$as_me: failed program was:" >&5
23140 sed 's/^/| /' conftest.
$ac_ext >&5
23142 ( exit $ac_status )
23145 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23147 CFLAGS
="$ac_save_CFLAGS"
23148 LIBS
="$ac_save_LIBS"
23151 if test "x$no_gtk" = x
; then
23152 echo "$as_me:$LINENO: result: yes" >&5
23153 echo "${ECHO_T}yes" >&6
23154 wx_cv_lib_gtk
=1.2.3
23156 echo "$as_me:$LINENO: result: no" >&5
23157 echo "${ECHO_T}no" >&6
23158 if test "$GTK_CONFIG" = "no" ; then
23159 echo "*** The gtk-config script installed by GTK could not be found"
23160 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23161 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23162 echo "*** full path to gtk-config."
23164 if test -f conf.gtktest
; then
23167 echo "*** Could not run GTK test program, checking why..."
23168 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23169 LIBS
="$LIBS $GTK_LIBS"
23170 cat >conftest.
$ac_ext <<_ACEOF
23173 cat confdefs.h
>>conftest.
$ac_ext
23174 cat >>conftest.
$ac_ext <<_ACEOF
23175 /* end confdefs.h. */
23177 #include <gtk/gtk.h>
23183 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23188 rm -f conftest.
$ac_objext conftest
$ac_exeext
23189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23190 (eval $ac_link) 2>conftest.er1
23192 grep -v '^ *+' conftest.er1
>conftest.err
23194 cat conftest.err
>&5
23195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23196 (exit $ac_status); } &&
23197 { ac_try
='test -z "$ac_c_werror_flag"
23198 || test ! -s conftest.err'
23199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23200 (eval $ac_try) 2>&5
23202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23203 (exit $ac_status); }; } &&
23204 { ac_try
='test -s conftest$ac_exeext'
23205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23206 (eval $ac_try) 2>&5
23208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23209 (exit $ac_status); }; }; then
23210 echo "*** The test program compiled, but did not run. This usually means"
23211 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23212 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23213 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23214 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23215 echo "*** is required on your system"
23217 echo "*** If you have an old version installed, it is best to remove it, although"
23218 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23220 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23221 echo "*** came with the system with the command"
23223 echo "*** rpm --erase --nodeps gtk gtk-devel"
23225 echo "$as_me: failed program was:" >&5
23226 sed 's/^/| /' conftest.
$ac_ext >&5
23228 echo "*** The test program failed to compile or link. See the file config.log for the"
23229 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23230 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23231 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23233 rm -f conftest.err conftest.
$ac_objext \
23234 conftest
$ac_exeext conftest.
$ac_ext
23235 CFLAGS
="$ac_save_CFLAGS"
23236 LIBS
="$ac_save_LIBS"
23250 if test -z "$wx_cv_lib_gtk"; then
23253 wx_cv_cflags_gtk
=$GTK_CFLAGS
23254 wx_cv_libs_gtk
=$GTK_LIBS
23261 if test "$gtk_version_cached" = 1; then
23262 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23263 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23266 case "$wx_cv_lib_gtk" in
23275 *) { { echo "$as_me:$LINENO: error:
23276 Please check that gtk-config is in path, the directory
23277 where GTK+ libraries are installed (returned by
23278 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23279 equivalent variable and GTK+ is version 1.2.3 or above.
23281 echo "$as_me: error:
23282 Please check that gtk-config is in path, the directory
23283 where GTK+ libraries are installed (returned by
23284 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23285 equivalent variable and GTK+ is version 1.2.3 or above.
23287 { (exit 1); exit 1; }; }
23291 if test "$WXGTK20" = 1; then
23292 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
23296 if test -z "$PKG_CONFIG"; then
23297 # Extract the first word of "pkg-config", so it can be a program name with args.
23298 set dummy pkg
-config; ac_word
=$2
23299 echo "$as_me:$LINENO: checking for $ac_word" >&5
23300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23301 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23302 echo $ECHO_N "(cached) $ECHO_C" >&6
23304 case $PKG_CONFIG in
23306 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23310 for as_dir
in $PATH
23313 test -z "$as_dir" && as_dir
=.
23314 for ac_exec_ext
in '' $ac_executable_extensions; do
23315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23316 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23323 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23327 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23329 if test -n "$PKG_CONFIG"; then
23330 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23331 echo "${ECHO_T}$PKG_CONFIG" >&6
23333 echo "$as_me:$LINENO: result: no" >&5
23334 echo "${ECHO_T}no" >&6
23339 if test "$PKG_CONFIG" = "no" ; then
23340 echo "*** The pkg-config script could not be found. Make sure it is"
23341 echo "*** in your path, or set the PKG_CONFIG environment variable"
23342 echo "*** to the full path to pkg-config."
23343 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23345 PKG_CONFIG_MIN_VERSION
=0.9.0
23346 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23347 echo "$as_me:$LINENO: checking for pangoft2" >&5
23348 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23350 if $PKG_CONFIG --exists "pangoft2" ; then
23351 echo "$as_me:$LINENO: result: yes" >&5
23352 echo "${ECHO_T}yes" >&6
23355 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23356 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23357 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
23358 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23359 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23361 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23362 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23363 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
23364 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23365 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23369 ## If we have a custom action on failure, don't print errors, but
23370 ## do set a variable so people can do so.
23371 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23378 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23379 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23383 if test $succeeded = yes; then
23385 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
23386 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23390 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23391 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23392 wxUSE_PRINTING_ARCHITECTURE
="no"
23399 save_CFLAGS
="$CFLAGS"
23401 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23402 LIBS
="$LIBS $GTK_LIBS"
23404 for ac_func
in pango_font_family_is_monospace
23406 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23407 echo "$as_me:$LINENO: checking for $ac_func" >&5
23408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23409 if eval "test \"\${$as_ac_var+set}\" = set"; then
23410 echo $ECHO_N "(cached) $ECHO_C" >&6
23412 cat >conftest.
$ac_ext <<_ACEOF
23415 cat confdefs.h
>>conftest.
$ac_ext
23416 cat >>conftest.
$ac_ext <<_ACEOF
23417 /* end confdefs.h. */
23418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23420 #define $ac_func innocuous_$ac_func
23422 /* System header to define __stub macros and hopefully few prototypes,
23423 which can conflict with char $ac_func (); below.
23424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23425 <limits.h> exists even on freestanding compilers. */
23428 # include <limits.h>
23430 # include <assert.h>
23435 /* Override any gcc2 internal prototype to avoid an error. */
23440 /* We use char because int might match the return type of a gcc2
23441 builtin and then its argument prototype would still apply. */
23443 /* The GNU C library defines this for functions which it implements
23444 to always fail with ENOSYS. Some functions are actually named
23445 something starting with __ and the normal name is an alias. */
23446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23449 char (*f) () = $ac_func;
23458 return f != $ac_func;
23463 rm -f conftest.
$ac_objext conftest
$ac_exeext
23464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23465 (eval $ac_link) 2>conftest.er1
23467 grep -v '^ *+' conftest.er1
>conftest.err
23469 cat conftest.err
>&5
23470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23471 (exit $ac_status); } &&
23472 { ac_try
='test -z "$ac_c_werror_flag"
23473 || test ! -s conftest.err'
23474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23475 (eval $ac_try) 2>&5
23477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23478 (exit $ac_status); }; } &&
23479 { ac_try
='test -s conftest$ac_exeext'
23480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23481 (eval $ac_try) 2>&5
23483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23484 (exit $ac_status); }; }; then
23485 eval "$as_ac_var=yes"
23487 echo "$as_me: failed program was:" >&5
23488 sed 's/^/| /' conftest.
$ac_ext >&5
23490 eval "$as_ac_var=no"
23492 rm -f conftest.err conftest.
$ac_objext \
23493 conftest
$ac_exeext conftest.
$ac_ext
23495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23497 if test `eval echo '${'$as_ac_var'}'` = yes; then
23498 cat >>confdefs.h
<<_ACEOF
23499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23505 CFLAGS
="$save_CFLAGS"
23508 if test "$wxUSE_UNICODE" = "yes"; then
23509 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23510 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23515 if test "$USE_DARWIN" != 1; then
23517 for ac_func
in poll
23519 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23520 echo "$as_me:$LINENO: checking for $ac_func" >&5
23521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23522 if eval "test \"\${$as_ac_var+set}\" = set"; then
23523 echo $ECHO_N "(cached) $ECHO_C" >&6
23525 cat >conftest.
$ac_ext <<_ACEOF
23528 cat confdefs.h
>>conftest.
$ac_ext
23529 cat >>conftest.
$ac_ext <<_ACEOF
23530 /* end confdefs.h. */
23531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23533 #define $ac_func innocuous_$ac_func
23535 /* System header to define __stub macros and hopefully few prototypes,
23536 which can conflict with char $ac_func (); below.
23537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23538 <limits.h> exists even on freestanding compilers. */
23541 # include <limits.h>
23543 # include <assert.h>
23548 /* Override any gcc2 internal prototype to avoid an error. */
23553 /* We use char because int might match the return type of a gcc2
23554 builtin and then its argument prototype would still apply. */
23556 /* The GNU C library defines this for functions which it implements
23557 to always fail with ENOSYS. Some functions are actually named
23558 something starting with __ and the normal name is an alias. */
23559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23562 char (*f) () = $ac_func;
23571 return f != $ac_func;
23576 rm -f conftest.
$ac_objext conftest
$ac_exeext
23577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23578 (eval $ac_link) 2>conftest.er1
23580 grep -v '^ *+' conftest.er1
>conftest.err
23582 cat conftest.err
>&5
23583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23584 (exit $ac_status); } &&
23585 { ac_try
='test -z "$ac_c_werror_flag"
23586 || test ! -s conftest.err'
23587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23588 (eval $ac_try) 2>&5
23590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23591 (exit $ac_status); }; } &&
23592 { ac_try
='test -s conftest$ac_exeext'
23593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23594 (eval $ac_try) 2>&5
23596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23597 (exit $ac_status); }; }; then
23598 eval "$as_ac_var=yes"
23600 echo "$as_me: failed program was:" >&5
23601 sed 's/^/| /' conftest.
$ac_ext >&5
23603 eval "$as_ac_var=no"
23605 rm -f conftest.err conftest.
$ac_objext \
23606 conftest
$ac_exeext conftest.
$ac_ext
23608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23610 if test `eval echo '${'$as_ac_var'}'` = yes; then
23611 cat >>confdefs.h
<<_ACEOF
23612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23620 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
23621 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23623 AFMINSTALL
=afminstall
23627 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23628 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23629 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23630 echo $ECHO_N "(cached) $ECHO_C" >&6
23632 ac_check_lib_save_LIBS
=$LIBS
23634 cat >conftest.
$ac_ext <<_ACEOF
23637 cat confdefs.h
>>conftest.
$ac_ext
23638 cat >>conftest.
$ac_ext <<_ACEOF
23639 /* end confdefs.h. */
23641 /* Override any gcc2 internal prototype to avoid an error. */
23645 /* We use char because int might match the return type of a gcc2
23646 builtin and then its argument prototype would still apply. */
23647 char gdk_im_open ();
23656 rm -f conftest.
$ac_objext conftest
$ac_exeext
23657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23658 (eval $ac_link) 2>conftest.er1
23660 grep -v '^ *+' conftest.er1
>conftest.err
23662 cat conftest.err
>&5
23663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23664 (exit $ac_status); } &&
23665 { ac_try
='test -z "$ac_c_werror_flag"
23666 || test ! -s conftest.err'
23667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23668 (eval $ac_try) 2>&5
23670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23671 (exit $ac_status); }; } &&
23672 { ac_try
='test -s conftest$ac_exeext'
23673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23674 (eval $ac_try) 2>&5
23676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23677 (exit $ac_status); }; }; then
23678 ac_cv_lib_gdk_gdk_im_open
=yes
23680 echo "$as_me: failed program was:" >&5
23681 sed 's/^/| /' conftest.
$ac_ext >&5
23683 ac_cv_lib_gdk_gdk_im_open
=no
23685 rm -f conftest.err conftest.
$ac_objext \
23686 conftest
$ac_exeext conftest.
$ac_ext
23687 LIBS
=$ac_check_lib_save_LIBS
23689 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23690 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23691 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23692 cat >>confdefs.h
<<\_ACEOF
23700 if test "$wxUSE_GPE" = "yes"; then
23701 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23702 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23705 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23707 for ac_extension
in a so sl dylib
; do
23708 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23709 ac_find_libraries
=$ac_dir
23715 if test "$ac_find_libraries" != "" ; then
23717 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23719 if test $result = 0; then
23722 ac_path_to_link
=" -L$ac_find_libraries"
23725 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23727 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23728 echo "${ECHO_T}found at $ac_find_libraries" >&6
23730 echo "$as_me:$LINENO: result: not found" >&5
23731 echo "${ECHO_T}not found" >&6
23737 if test "$wxUSE_MGL" = 1; then
23738 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23739 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23740 if test "x$MGL_ROOT" = x
; then
23741 echo "$as_me:$LINENO: result: not found" >&5
23742 echo "${ECHO_T}not found" >&6
23743 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23744 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23745 { (exit 1); exit 1; }; }
23747 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23748 echo "${ECHO_T}$MGL_ROOT" >&6
23751 echo "$as_me:$LINENO: checking for libmgl location" >&5
23752 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23755 if test "x$wxUSE_SHARED" = xyes
; then
23756 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23758 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23762 mgl_os_candidates
="dos32/dj2"
23765 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23766 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23767 { (exit 1); exit 1; }; }
23773 for mgl_os_i
in $mgl_os_candidates ; do
23774 if test "x$mgl_os" = x
; then
23775 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23776 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
23777 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
23782 if test "x$mgl_lib_type" = x
; then
23783 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
23784 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
23785 mgl_lib_type
=release
23792 if test "x$mgl_os" = x
; then
23793 echo "$as_me:$LINENO: result: not found" >&5
23794 echo "${ECHO_T}not found" >&6
23795 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23796 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23797 { (exit 1); exit 1; }; }
23799 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23800 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23802 wxUSE_UNIVERSAL
="yes"
23804 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
23805 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23807 AFMINSTALL
=afminstall
23812 if test "$wxUSE_MICROWIN" = 1; then
23813 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23814 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23815 if test "x$MICROWINDOWS" = x
; then
23816 echo "$as_me:$LINENO: result: not found" >&5
23817 echo "${ECHO_T}not found" >&6
23818 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23819 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23820 { (exit 1); exit 1; }; }
23822 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23823 echo "${ECHO_T}$MICROWINDOWS" >&6
23826 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
23827 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23828 echo "${ECHO_T}MicroWindows' libraries found." >&6
23830 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23831 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23832 { (exit 1); exit 1; }; }
23835 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
23836 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23838 wxUSE_UNIVERSAL
="yes"
23840 AFMINSTALL
=afminstall
23842 GUIDIST
=MICROWIN_DIST
23844 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23847 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
23848 echo "$as_me:$LINENO: checking for X" >&5
23849 echo $ECHO_N "checking for X... $ECHO_C" >&6
23852 # Check whether --with-x or --without-x was given.
23853 if test "${with_x+set}" = set; then
23857 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23858 if test "x$with_x" = xno
; then
23859 # The user explicitly disabled X.
23862 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
23863 # Both variables are already set.
23866 if test "${ac_cv_have_x+set}" = set; then
23867 echo $ECHO_N "(cached) $ECHO_C" >&6
23869 # One or both of the vars are not set, and there is no cached value.
23870 ac_x_includes
=no ac_x_libraries
=no
23871 rm -fr conftest.dir
23872 if mkdir conftest.dir
; then
23874 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23875 cat >Imakefile
<<'_ACEOF'
23877 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23879 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
23880 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23881 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23882 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23883 for ac_extension
in a so sl
; do
23884 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
23885 test -f $ac_im_libdir/libX11.
$ac_extension; then
23886 ac_im_usrlibdir
=$ac_im_libdir; break
23889 # Screen out bogus values from the imake configuration. They are
23890 # bogus both because they are the default anyway, and because
23891 # using them would break gcc on systems where it needs fixed includes.
23892 case $ac_im_incroot in
23894 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
23896 case $ac_im_usrlibdir in
23897 /usr
/lib
| /lib
) ;;
23898 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
23902 rm -fr conftest.dir
23905 # Standard set of common directories for X headers.
23906 # Check X11 before X11Rn because it is often a symlink to the current release.
23918 /usr/local/X11/include
23919 /usr/local/X11R6/include
23920 /usr/local/X11R5/include
23921 /usr/local/X11R4/include
23923 /usr/local/include/X11
23924 /usr/local/include/X11R6
23925 /usr/local/include/X11R5
23926 /usr/local/include/X11R4
23930 /usr/XFree86/include/X11
23934 /usr/unsupported/include
23935 /usr/athena/include
23936 /usr/local/x11r5/include
23937 /usr/lpp/Xamples/include
23939 /usr/openwin/include
23940 /usr/openwin/share/include'
23942 if test "$ac_x_includes" = no
; then
23943 # Guess where to find include files, by looking for Intrinsic.h.
23944 # First, try using that file with no special directory specified.
23945 cat >conftest.
$ac_ext <<_ACEOF
23948 cat confdefs.h
>>conftest.
$ac_ext
23949 cat >>conftest.
$ac_ext <<_ACEOF
23950 /* end confdefs.h. */
23951 #include <X11/Intrinsic.h>
23953 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23954 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23956 grep -v '^ *+' conftest.er1
>conftest.err
23958 cat conftest.err
>&5
23959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23960 (exit $ac_status); } >/dev
/null
; then
23961 if test -s conftest.err
; then
23962 ac_cpp_err
=$ac_c_preproc_warn_flag
23963 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23970 if test -z "$ac_cpp_err"; then
23971 # We can compile using X headers with no special include directory.
23974 echo "$as_me: failed program was:" >&5
23975 sed 's/^/| /' conftest.
$ac_ext >&5
23977 for ac_dir
in $ac_x_header_dirs; do
23978 if test -r "$ac_dir/X11/Intrinsic.h"; then
23979 ac_x_includes
=$ac_dir
23984 rm -f conftest.err conftest.
$ac_ext
23985 fi # $ac_x_includes = no
23987 if test "$ac_x_libraries" = no
; then
23988 # Check for the libraries.
23989 # See if we find them without any special options.
23990 # Don't add to $LIBS permanently.
23993 cat >conftest.
$ac_ext <<_ACEOF
23996 cat confdefs.h
>>conftest.
$ac_ext
23997 cat >>conftest.
$ac_ext <<_ACEOF
23998 /* end confdefs.h. */
23999 #include <X11/Intrinsic.h>
24008 rm -f conftest.
$ac_objext conftest
$ac_exeext
24009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24010 (eval $ac_link) 2>conftest.er1
24012 grep -v '^ *+' conftest.er1
>conftest.err
24014 cat conftest.err
>&5
24015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24016 (exit $ac_status); } &&
24017 { ac_try
='test -z "$ac_c_werror_flag"
24018 || test ! -s conftest.err'
24019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24020 (eval $ac_try) 2>&5
24022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24023 (exit $ac_status); }; } &&
24024 { ac_try
='test -s conftest$ac_exeext'
24025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24026 (eval $ac_try) 2>&5
24028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24029 (exit $ac_status); }; }; then
24031 # We can link X programs with no special library path.
24034 echo "$as_me: failed program was:" >&5
24035 sed 's/^/| /' conftest.
$ac_ext >&5
24038 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24040 # Don't even attempt the hair of trying to link an X program!
24041 for ac_extension
in a so sl
; do
24042 if test -r $ac_dir/libXt.
$ac_extension; then
24043 ac_x_libraries
=$ac_dir
24049 rm -f conftest.err conftest.
$ac_objext \
24050 conftest
$ac_exeext conftest.
$ac_ext
24051 fi # $ac_x_libraries = no
24053 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
24054 # Didn't find X anywhere. Cache the known absence of X.
24055 ac_cv_have_x
="have_x=no"
24057 # Record where we found X for the cache.
24058 ac_cv_have_x
="have_x=yes \
24059 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24064 eval "$ac_cv_have_x"
24067 if test "$have_x" != yes; then
24068 echo "$as_me:$LINENO: result: $have_x" >&5
24069 echo "${ECHO_T}$have_x" >&6
24072 # If each of the values was on the command line, it overrides each guess.
24073 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24074 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24075 # Update the cache value to reflect the command line values.
24076 ac_cv_have_x
="have_x=yes \
24077 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24078 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24079 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
24082 if test "$no_x" = yes; then
24083 # Not all programs may use this symbol, but it does not hurt to define it.
24085 cat >>confdefs.h
<<\_ACEOF
24086 #define X_DISPLAY_MISSING 1
24089 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24091 if test -n "$x_includes"; then
24092 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24095 # It would also be nice to do this for all -L options, not just this one.
24096 if test -n "$x_libraries"; then
24097 X_LIBS
="$X_LIBS -L$x_libraries"
24098 # For Solaris; some versions of Sun CC require a space after -R and
24099 # others require no space. Words are not sufficient . . . .
24100 case `(uname -sr) 2>/dev/null` in
24102 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24103 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24104 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24105 cat >conftest.
$ac_ext <<_ACEOF
24108 cat confdefs.h
>>conftest.
$ac_ext
24109 cat >>conftest.
$ac_ext <<_ACEOF
24110 /* end confdefs.h. */
24120 rm -f conftest.
$ac_objext conftest
$ac_exeext
24121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24122 (eval $ac_link) 2>conftest.er1
24124 grep -v '^ *+' conftest.er1
>conftest.err
24126 cat conftest.err
>&5
24127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24128 (exit $ac_status); } &&
24129 { ac_try
='test -z "$ac_c_werror_flag"
24130 || test ! -s conftest.err'
24131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24132 (eval $ac_try) 2>&5
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); }; } &&
24136 { ac_try
='test -s conftest$ac_exeext'
24137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24138 (eval $ac_try) 2>&5
24140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24141 (exit $ac_status); }; }; then
24144 echo "$as_me: failed program was:" >&5
24145 sed 's/^/| /' conftest.
$ac_ext >&5
24149 rm -f conftest.err conftest.
$ac_objext \
24150 conftest
$ac_exeext conftest.
$ac_ext
24151 if test $ac_R_nospace = yes; then
24152 echo "$as_me:$LINENO: result: no" >&5
24153 echo "${ECHO_T}no" >&6
24154 X_LIBS
="$X_LIBS -R$x_libraries"
24156 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24157 cat >conftest.
$ac_ext <<_ACEOF
24160 cat confdefs.h
>>conftest.
$ac_ext
24161 cat >>conftest.
$ac_ext <<_ACEOF
24162 /* end confdefs.h. */
24172 rm -f conftest.
$ac_objext conftest
$ac_exeext
24173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24174 (eval $ac_link) 2>conftest.er1
24176 grep -v '^ *+' conftest.er1
>conftest.err
24178 cat conftest.err
>&5
24179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24180 (exit $ac_status); } &&
24181 { ac_try
='test -z "$ac_c_werror_flag"
24182 || test ! -s conftest.err'
24183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24184 (eval $ac_try) 2>&5
24186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24187 (exit $ac_status); }; } &&
24188 { ac_try
='test -s conftest$ac_exeext'
24189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24190 (eval $ac_try) 2>&5
24192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24193 (exit $ac_status); }; }; then
24196 echo "$as_me: failed program was:" >&5
24197 sed 's/^/| /' conftest.
$ac_ext >&5
24201 rm -f conftest.err conftest.
$ac_objext \
24202 conftest
$ac_exeext conftest.
$ac_ext
24203 if test $ac_R_space = yes; then
24204 echo "$as_me:$LINENO: result: yes" >&5
24205 echo "${ECHO_T}yes" >&6
24206 X_LIBS
="$X_LIBS -R $x_libraries"
24208 echo "$as_me:$LINENO: result: neither works" >&5
24209 echo "${ECHO_T}neither works" >&6
24212 LIBS
=$ac_xsave_LIBS
24216 # Check for system-dependent libraries X programs must link with.
24217 # Do this before checking for the system-independent R6 libraries
24218 # (-lICE), since we may need -lsocket or whatever for X linking.
24220 if test "$ISC" = yes; then
24221 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24223 # Martyn Johnson says this is needed for Ultrix, if the X
24224 # libraries were built with DECnet support. And Karl Berry says
24225 # the Alpha needs dnet_stub (dnet does not exist).
24226 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24227 cat >conftest.
$ac_ext <<_ACEOF
24230 cat confdefs.h
>>conftest.
$ac_ext
24231 cat >>conftest.
$ac_ext <<_ACEOF
24232 /* end confdefs.h. */
24234 /* Override any gcc2 internal prototype to avoid an error. */
24238 /* We use char because int might match the return type of a gcc2
24239 builtin and then its argument prototype would still apply. */
24240 char XOpenDisplay ();
24249 rm -f conftest.
$ac_objext conftest
$ac_exeext
24250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24251 (eval $ac_link) 2>conftest.er1
24253 grep -v '^ *+' conftest.er1
>conftest.err
24255 cat conftest.err
>&5
24256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24257 (exit $ac_status); } &&
24258 { ac_try
='test -z "$ac_c_werror_flag"
24259 || test ! -s conftest.err'
24260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24261 (eval $ac_try) 2>&5
24263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24264 (exit $ac_status); }; } &&
24265 { ac_try
='test -s conftest$ac_exeext'
24266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24267 (eval $ac_try) 2>&5
24269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24270 (exit $ac_status); }; }; then
24273 echo "$as_me: failed program was:" >&5
24274 sed 's/^/| /' conftest.
$ac_ext >&5
24276 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24277 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24278 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24279 echo $ECHO_N "(cached) $ECHO_C" >&6
24281 ac_check_lib_save_LIBS
=$LIBS
24282 LIBS
="-ldnet $LIBS"
24283 cat >conftest.
$ac_ext <<_ACEOF
24286 cat confdefs.h
>>conftest.
$ac_ext
24287 cat >>conftest.
$ac_ext <<_ACEOF
24288 /* end confdefs.h. */
24290 /* Override any gcc2 internal prototype to avoid an error. */
24294 /* We use char because int might match the return type of a gcc2
24295 builtin and then its argument prototype would still apply. */
24305 rm -f conftest.
$ac_objext conftest
$ac_exeext
24306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24307 (eval $ac_link) 2>conftest.er1
24309 grep -v '^ *+' conftest.er1
>conftest.err
24311 cat conftest.err
>&5
24312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24313 (exit $ac_status); } &&
24314 { ac_try
='test -z "$ac_c_werror_flag"
24315 || test ! -s conftest.err'
24316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24317 (eval $ac_try) 2>&5
24319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24320 (exit $ac_status); }; } &&
24321 { ac_try
='test -s conftest$ac_exeext'
24322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24323 (eval $ac_try) 2>&5
24325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24326 (exit $ac_status); }; }; then
24327 ac_cv_lib_dnet_dnet_ntoa
=yes
24329 echo "$as_me: failed program was:" >&5
24330 sed 's/^/| /' conftest.
$ac_ext >&5
24332 ac_cv_lib_dnet_dnet_ntoa
=no
24334 rm -f conftest.err conftest.
$ac_objext \
24335 conftest
$ac_exeext conftest.
$ac_ext
24336 LIBS
=$ac_check_lib_save_LIBS
24338 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24339 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24340 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24341 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24344 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24345 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24346 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24347 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24348 echo $ECHO_N "(cached) $ECHO_C" >&6
24350 ac_check_lib_save_LIBS
=$LIBS
24351 LIBS
="-ldnet_stub $LIBS"
24352 cat >conftest.
$ac_ext <<_ACEOF
24355 cat confdefs.h
>>conftest.
$ac_ext
24356 cat >>conftest.
$ac_ext <<_ACEOF
24357 /* end confdefs.h. */
24359 /* Override any gcc2 internal prototype to avoid an error. */
24363 /* We use char because int might match the return type of a gcc2
24364 builtin and then its argument prototype would still apply. */
24374 rm -f conftest.
$ac_objext conftest
$ac_exeext
24375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24376 (eval $ac_link) 2>conftest.er1
24378 grep -v '^ *+' conftest.er1
>conftest.err
24380 cat conftest.err
>&5
24381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24382 (exit $ac_status); } &&
24383 { ac_try
='test -z "$ac_c_werror_flag"
24384 || test ! -s conftest.err'
24385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24386 (eval $ac_try) 2>&5
24388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24389 (exit $ac_status); }; } &&
24390 { ac_try
='test -s conftest$ac_exeext'
24391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24392 (eval $ac_try) 2>&5
24394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24395 (exit $ac_status); }; }; then
24396 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24398 echo "$as_me: failed program was:" >&5
24399 sed 's/^/| /' conftest.
$ac_ext >&5
24401 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24403 rm -f conftest.err conftest.
$ac_objext \
24404 conftest
$ac_exeext conftest.
$ac_ext
24405 LIBS
=$ac_check_lib_save_LIBS
24407 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24408 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24409 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24410 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24415 rm -f conftest.err conftest.
$ac_objext \
24416 conftest
$ac_exeext conftest.
$ac_ext
24417 LIBS
="$ac_xsave_LIBS"
24419 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24420 # to get the SysV transport functions.
24421 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24423 # The nsl library prevents programs from opening the X display
24424 # on Irix 5.2, according to T.E. Dickey.
24425 # The functions gethostbyname, getservbyname, and inet_addr are
24426 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24427 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24428 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24429 if test "${ac_cv_func_gethostbyname+set}" = set; then
24430 echo $ECHO_N "(cached) $ECHO_C" >&6
24432 cat >conftest.
$ac_ext <<_ACEOF
24435 cat confdefs.h
>>conftest.
$ac_ext
24436 cat >>conftest.
$ac_ext <<_ACEOF
24437 /* end confdefs.h. */
24438 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24440 #define gethostbyname innocuous_gethostbyname
24442 /* System header to define __stub macros and hopefully few prototypes,
24443 which can conflict with char gethostbyname (); below.
24444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24445 <limits.h> exists even on freestanding compilers. */
24448 # include <limits.h>
24450 # include <assert.h>
24453 #undef gethostbyname
24455 /* Override any gcc2 internal prototype to avoid an error. */
24460 /* We use char because int might match the return type of a gcc2
24461 builtin and then its argument prototype would still apply. */
24462 char gethostbyname ();
24463 /* The GNU C library defines this for functions which it implements
24464 to always fail with ENOSYS. Some functions are actually named
24465 something starting with __ and the normal name is an alias. */
24466 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24469 char (*f) () = gethostbyname;
24478 return f != gethostbyname;
24483 rm -f conftest.
$ac_objext conftest
$ac_exeext
24484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24485 (eval $ac_link) 2>conftest.er1
24487 grep -v '^ *+' conftest.er1
>conftest.err
24489 cat conftest.err
>&5
24490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24491 (exit $ac_status); } &&
24492 { ac_try
='test -z "$ac_c_werror_flag"
24493 || test ! -s conftest.err'
24494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24495 (eval $ac_try) 2>&5
24497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24498 (exit $ac_status); }; } &&
24499 { ac_try
='test -s conftest$ac_exeext'
24500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24501 (eval $ac_try) 2>&5
24503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24504 (exit $ac_status); }; }; then
24505 ac_cv_func_gethostbyname
=yes
24507 echo "$as_me: failed program was:" >&5
24508 sed 's/^/| /' conftest.
$ac_ext >&5
24510 ac_cv_func_gethostbyname
=no
24512 rm -f conftest.err conftest.
$ac_objext \
24513 conftest
$ac_exeext conftest.
$ac_ext
24515 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24516 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24518 if test $ac_cv_func_gethostbyname = no
; then
24519 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24520 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24521 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24522 echo $ECHO_N "(cached) $ECHO_C" >&6
24524 ac_check_lib_save_LIBS
=$LIBS
24526 cat >conftest.
$ac_ext <<_ACEOF
24529 cat confdefs.h
>>conftest.
$ac_ext
24530 cat >>conftest.
$ac_ext <<_ACEOF
24531 /* end confdefs.h. */
24533 /* Override any gcc2 internal prototype to avoid an error. */
24537 /* We use char because int might match the return type of a gcc2
24538 builtin and then its argument prototype would still apply. */
24539 char gethostbyname ();
24548 rm -f conftest.
$ac_objext conftest
$ac_exeext
24549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24550 (eval $ac_link) 2>conftest.er1
24552 grep -v '^ *+' conftest.er1
>conftest.err
24554 cat conftest.err
>&5
24555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24556 (exit $ac_status); } &&
24557 { ac_try
='test -z "$ac_c_werror_flag"
24558 || test ! -s conftest.err'
24559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24560 (eval $ac_try) 2>&5
24562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24563 (exit $ac_status); }; } &&
24564 { ac_try
='test -s conftest$ac_exeext'
24565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24566 (eval $ac_try) 2>&5
24568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24569 (exit $ac_status); }; }; then
24570 ac_cv_lib_nsl_gethostbyname
=yes
24572 echo "$as_me: failed program was:" >&5
24573 sed 's/^/| /' conftest.
$ac_ext >&5
24575 ac_cv_lib_nsl_gethostbyname
=no
24577 rm -f conftest.err conftest.
$ac_objext \
24578 conftest
$ac_exeext conftest.
$ac_ext
24579 LIBS
=$ac_check_lib_save_LIBS
24581 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24582 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24583 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24584 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
24587 if test $ac_cv_lib_nsl_gethostbyname = no
; then
24588 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24589 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24590 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24591 echo $ECHO_N "(cached) $ECHO_C" >&6
24593 ac_check_lib_save_LIBS
=$LIBS
24595 cat >conftest.
$ac_ext <<_ACEOF
24598 cat confdefs.h
>>conftest.
$ac_ext
24599 cat >>conftest.
$ac_ext <<_ACEOF
24600 /* end confdefs.h. */
24602 /* Override any gcc2 internal prototype to avoid an error. */
24606 /* We use char because int might match the return type of a gcc2
24607 builtin and then its argument prototype would still apply. */
24608 char gethostbyname ();
24617 rm -f conftest.
$ac_objext conftest
$ac_exeext
24618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24619 (eval $ac_link) 2>conftest.er1
24621 grep -v '^ *+' conftest.er1
>conftest.err
24623 cat conftest.err
>&5
24624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24625 (exit $ac_status); } &&
24626 { ac_try
='test -z "$ac_c_werror_flag"
24627 || test ! -s conftest.err'
24628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24629 (eval $ac_try) 2>&5
24631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24632 (exit $ac_status); }; } &&
24633 { ac_try
='test -s conftest$ac_exeext'
24634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24635 (eval $ac_try) 2>&5
24637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24638 (exit $ac_status); }; }; then
24639 ac_cv_lib_bsd_gethostbyname
=yes
24641 echo "$as_me: failed program was:" >&5
24642 sed 's/^/| /' conftest.
$ac_ext >&5
24644 ac_cv_lib_bsd_gethostbyname
=no
24646 rm -f conftest.err conftest.
$ac_objext \
24647 conftest
$ac_exeext conftest.
$ac_ext
24648 LIBS
=$ac_check_lib_save_LIBS
24650 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24651 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24652 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24653 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24659 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24660 # socket/setsockopt and other routines are undefined under SCO ODT
24661 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24662 # on later versions), says Simon Leinen: it contains gethostby*
24663 # variants that don't use the name server (or something). -lsocket
24664 # must be given before -lnsl if both are needed. We assume that
24665 # if connect needs -lnsl, so does gethostbyname.
24666 echo "$as_me:$LINENO: checking for connect" >&5
24667 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24668 if test "${ac_cv_func_connect+set}" = set; then
24669 echo $ECHO_N "(cached) $ECHO_C" >&6
24671 cat >conftest.
$ac_ext <<_ACEOF
24674 cat confdefs.h
>>conftest.
$ac_ext
24675 cat >>conftest.
$ac_ext <<_ACEOF
24676 /* end confdefs.h. */
24677 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24679 #define connect innocuous_connect
24681 /* System header to define __stub macros and hopefully few prototypes,
24682 which can conflict with char connect (); below.
24683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24684 <limits.h> exists even on freestanding compilers. */
24687 # include <limits.h>
24689 # include <assert.h>
24694 /* Override any gcc2 internal prototype to avoid an error. */
24699 /* We use char because int might match the return type of a gcc2
24700 builtin and then its argument prototype would still apply. */
24702 /* The GNU C library defines this for functions which it implements
24703 to always fail with ENOSYS. Some functions are actually named
24704 something starting with __ and the normal name is an alias. */
24705 #if defined (__stub_connect) || defined (__stub___connect)
24708 char (*f) () = connect;
24717 return f != connect;
24722 rm -f conftest.
$ac_objext conftest
$ac_exeext
24723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24724 (eval $ac_link) 2>conftest.er1
24726 grep -v '^ *+' conftest.er1
>conftest.err
24728 cat conftest.err
>&5
24729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24730 (exit $ac_status); } &&
24731 { ac_try
='test -z "$ac_c_werror_flag"
24732 || test ! -s conftest.err'
24733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24734 (eval $ac_try) 2>&5
24736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24737 (exit $ac_status); }; } &&
24738 { ac_try
='test -s conftest$ac_exeext'
24739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24740 (eval $ac_try) 2>&5
24742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24743 (exit $ac_status); }; }; then
24744 ac_cv_func_connect
=yes
24746 echo "$as_me: failed program was:" >&5
24747 sed 's/^/| /' conftest.
$ac_ext >&5
24749 ac_cv_func_connect
=no
24751 rm -f conftest.err conftest.
$ac_objext \
24752 conftest
$ac_exeext conftest.
$ac_ext
24754 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24755 echo "${ECHO_T}$ac_cv_func_connect" >&6
24757 if test $ac_cv_func_connect = no
; then
24758 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24759 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24760 if test "${ac_cv_lib_socket_connect+set}" = set; then
24761 echo $ECHO_N "(cached) $ECHO_C" >&6
24763 ac_check_lib_save_LIBS
=$LIBS
24764 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24765 cat >conftest.
$ac_ext <<_ACEOF
24768 cat confdefs.h
>>conftest.
$ac_ext
24769 cat >>conftest.
$ac_ext <<_ACEOF
24770 /* end confdefs.h. */
24772 /* Override any gcc2 internal prototype to avoid an error. */
24776 /* We use char because int might match the return type of a gcc2
24777 builtin and then its argument prototype would still apply. */
24787 rm -f conftest.
$ac_objext conftest
$ac_exeext
24788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24789 (eval $ac_link) 2>conftest.er1
24791 grep -v '^ *+' conftest.er1
>conftest.err
24793 cat conftest.err
>&5
24794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24795 (exit $ac_status); } &&
24796 { ac_try
='test -z "$ac_c_werror_flag"
24797 || test ! -s conftest.err'
24798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24799 (eval $ac_try) 2>&5
24801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24802 (exit $ac_status); }; } &&
24803 { ac_try
='test -s conftest$ac_exeext'
24804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24805 (eval $ac_try) 2>&5
24807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24808 (exit $ac_status); }; }; then
24809 ac_cv_lib_socket_connect
=yes
24811 echo "$as_me: failed program was:" >&5
24812 sed 's/^/| /' conftest.
$ac_ext >&5
24814 ac_cv_lib_socket_connect
=no
24816 rm -f conftest.err conftest.
$ac_objext \
24817 conftest
$ac_exeext conftest.
$ac_ext
24818 LIBS
=$ac_check_lib_save_LIBS
24820 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24821 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24822 if test $ac_cv_lib_socket_connect = yes; then
24823 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24828 # Guillermo Gomez says -lposix is necessary on A/UX.
24829 echo "$as_me:$LINENO: checking for remove" >&5
24830 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24831 if test "${ac_cv_func_remove+set}" = set; then
24832 echo $ECHO_N "(cached) $ECHO_C" >&6
24834 cat >conftest.
$ac_ext <<_ACEOF
24837 cat confdefs.h
>>conftest.
$ac_ext
24838 cat >>conftest.
$ac_ext <<_ACEOF
24839 /* end confdefs.h. */
24840 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24842 #define remove innocuous_remove
24844 /* System header to define __stub macros and hopefully few prototypes,
24845 which can conflict with char remove (); below.
24846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24847 <limits.h> exists even on freestanding compilers. */
24850 # include <limits.h>
24852 # include <assert.h>
24857 /* Override any gcc2 internal prototype to avoid an error. */
24862 /* We use char because int might match the return type of a gcc2
24863 builtin and then its argument prototype would still apply. */
24865 /* The GNU C library defines this for functions which it implements
24866 to always fail with ENOSYS. Some functions are actually named
24867 something starting with __ and the normal name is an alias. */
24868 #if defined (__stub_remove) || defined (__stub___remove)
24871 char (*f) () = remove;
24880 return f != remove;
24885 rm -f conftest.
$ac_objext conftest
$ac_exeext
24886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24887 (eval $ac_link) 2>conftest.er1
24889 grep -v '^ *+' conftest.er1
>conftest.err
24891 cat conftest.err
>&5
24892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24893 (exit $ac_status); } &&
24894 { ac_try
='test -z "$ac_c_werror_flag"
24895 || test ! -s conftest.err'
24896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24897 (eval $ac_try) 2>&5
24899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24900 (exit $ac_status); }; } &&
24901 { ac_try
='test -s conftest$ac_exeext'
24902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24903 (eval $ac_try) 2>&5
24905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24906 (exit $ac_status); }; }; then
24907 ac_cv_func_remove
=yes
24909 echo "$as_me: failed program was:" >&5
24910 sed 's/^/| /' conftest.
$ac_ext >&5
24912 ac_cv_func_remove
=no
24914 rm -f conftest.err conftest.
$ac_objext \
24915 conftest
$ac_exeext conftest.
$ac_ext
24917 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24918 echo "${ECHO_T}$ac_cv_func_remove" >&6
24920 if test $ac_cv_func_remove = no
; then
24921 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24922 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24923 if test "${ac_cv_lib_posix_remove+set}" = set; then
24924 echo $ECHO_N "(cached) $ECHO_C" >&6
24926 ac_check_lib_save_LIBS
=$LIBS
24927 LIBS
="-lposix $LIBS"
24928 cat >conftest.
$ac_ext <<_ACEOF
24931 cat confdefs.h
>>conftest.
$ac_ext
24932 cat >>conftest.
$ac_ext <<_ACEOF
24933 /* end confdefs.h. */
24935 /* Override any gcc2 internal prototype to avoid an error. */
24939 /* We use char because int might match the return type of a gcc2
24940 builtin and then its argument prototype would still apply. */
24950 rm -f conftest.
$ac_objext conftest
$ac_exeext
24951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24952 (eval $ac_link) 2>conftest.er1
24954 grep -v '^ *+' conftest.er1
>conftest.err
24956 cat conftest.err
>&5
24957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24958 (exit $ac_status); } &&
24959 { ac_try
='test -z "$ac_c_werror_flag"
24960 || test ! -s conftest.err'
24961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24962 (eval $ac_try) 2>&5
24964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24965 (exit $ac_status); }; } &&
24966 { ac_try
='test -s conftest$ac_exeext'
24967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24968 (eval $ac_try) 2>&5
24970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24971 (exit $ac_status); }; }; then
24972 ac_cv_lib_posix_remove
=yes
24974 echo "$as_me: failed program was:" >&5
24975 sed 's/^/| /' conftest.
$ac_ext >&5
24977 ac_cv_lib_posix_remove
=no
24979 rm -f conftest.err conftest.
$ac_objext \
24980 conftest
$ac_exeext conftest.
$ac_ext
24981 LIBS
=$ac_check_lib_save_LIBS
24983 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24984 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24985 if test $ac_cv_lib_posix_remove = yes; then
24986 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
24991 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24992 echo "$as_me:$LINENO: checking for shmat" >&5
24993 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24994 if test "${ac_cv_func_shmat+set}" = set; then
24995 echo $ECHO_N "(cached) $ECHO_C" >&6
24997 cat >conftest.
$ac_ext <<_ACEOF
25000 cat confdefs.h
>>conftest.
$ac_ext
25001 cat >>conftest.
$ac_ext <<_ACEOF
25002 /* end confdefs.h. */
25003 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25005 #define shmat innocuous_shmat
25007 /* System header to define __stub macros and hopefully few prototypes,
25008 which can conflict with char shmat (); below.
25009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25010 <limits.h> exists even on freestanding compilers. */
25013 # include <limits.h>
25015 # include <assert.h>
25020 /* Override any gcc2 internal prototype to avoid an error. */
25025 /* We use char because int might match the return type of a gcc2
25026 builtin and then its argument prototype would still apply. */
25028 /* The GNU C library defines this for functions which it implements
25029 to always fail with ENOSYS. Some functions are actually named
25030 something starting with __ and the normal name is an alias. */
25031 #if defined (__stub_shmat) || defined (__stub___shmat)
25034 char (*f) () = shmat;
25048 rm -f conftest.
$ac_objext conftest
$ac_exeext
25049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25050 (eval $ac_link) 2>conftest.er1
25052 grep -v '^ *+' conftest.er1
>conftest.err
25054 cat conftest.err
>&5
25055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25056 (exit $ac_status); } &&
25057 { ac_try
='test -z "$ac_c_werror_flag"
25058 || test ! -s conftest.err'
25059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25060 (eval $ac_try) 2>&5
25062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25063 (exit $ac_status); }; } &&
25064 { ac_try
='test -s conftest$ac_exeext'
25065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25066 (eval $ac_try) 2>&5
25068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25069 (exit $ac_status); }; }; then
25070 ac_cv_func_shmat
=yes
25072 echo "$as_me: failed program was:" >&5
25073 sed 's/^/| /' conftest.
$ac_ext >&5
25075 ac_cv_func_shmat
=no
25077 rm -f conftest.err conftest.
$ac_objext \
25078 conftest
$ac_exeext conftest.
$ac_ext
25080 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25081 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25083 if test $ac_cv_func_shmat = no
; then
25084 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25085 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25086 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25087 echo $ECHO_N "(cached) $ECHO_C" >&6
25089 ac_check_lib_save_LIBS
=$LIBS
25091 cat >conftest.
$ac_ext <<_ACEOF
25094 cat confdefs.h
>>conftest.
$ac_ext
25095 cat >>conftest.
$ac_ext <<_ACEOF
25096 /* end confdefs.h. */
25098 /* Override any gcc2 internal prototype to avoid an error. */
25102 /* We use char because int might match the return type of a gcc2
25103 builtin and then its argument prototype would still apply. */
25113 rm -f conftest.
$ac_objext conftest
$ac_exeext
25114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25115 (eval $ac_link) 2>conftest.er1
25117 grep -v '^ *+' conftest.er1
>conftest.err
25119 cat conftest.err
>&5
25120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25121 (exit $ac_status); } &&
25122 { ac_try
='test -z "$ac_c_werror_flag"
25123 || test ! -s conftest.err'
25124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25125 (eval $ac_try) 2>&5
25127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25128 (exit $ac_status); }; } &&
25129 { ac_try
='test -s conftest$ac_exeext'
25130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25131 (eval $ac_try) 2>&5
25133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25134 (exit $ac_status); }; }; then
25135 ac_cv_lib_ipc_shmat
=yes
25137 echo "$as_me: failed program was:" >&5
25138 sed 's/^/| /' conftest.
$ac_ext >&5
25140 ac_cv_lib_ipc_shmat
=no
25142 rm -f conftest.err conftest.
$ac_objext \
25143 conftest
$ac_exeext conftest.
$ac_ext
25144 LIBS
=$ac_check_lib_save_LIBS
25146 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25147 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25148 if test $ac_cv_lib_ipc_shmat = yes; then
25149 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25155 # Check for libraries that X11R6 Xt/Xaw programs need.
25156 ac_save_LDFLAGS
=$LDFLAGS
25157 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25158 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25159 # check for ICE first), but we must link in the order -lSM -lICE or
25160 # we get undefined symbols. So assume we have SM if we have ICE.
25161 # These have to be linked with before -lX11, unlike the other
25162 # libraries we check for below, so use a different variable.
25163 # John Interrante, Karl Berry
25164 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25165 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25166 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25167 echo $ECHO_N "(cached) $ECHO_C" >&6
25169 ac_check_lib_save_LIBS
=$LIBS
25170 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25171 cat >conftest.
$ac_ext <<_ACEOF
25174 cat confdefs.h
>>conftest.
$ac_ext
25175 cat >>conftest.
$ac_ext <<_ACEOF
25176 /* end confdefs.h. */
25178 /* Override any gcc2 internal prototype to avoid an error. */
25182 /* We use char because int might match the return type of a gcc2
25183 builtin and then its argument prototype would still apply. */
25184 char IceConnectionNumber ();
25188 IceConnectionNumber ();
25193 rm -f conftest.
$ac_objext conftest
$ac_exeext
25194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25195 (eval $ac_link) 2>conftest.er1
25197 grep -v '^ *+' conftest.er1
>conftest.err
25199 cat conftest.err
>&5
25200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25201 (exit $ac_status); } &&
25202 { ac_try
='test -z "$ac_c_werror_flag"
25203 || test ! -s conftest.err'
25204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25205 (eval $ac_try) 2>&5
25207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25208 (exit $ac_status); }; } &&
25209 { ac_try
='test -s conftest$ac_exeext'
25210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25211 (eval $ac_try) 2>&5
25213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25214 (exit $ac_status); }; }; then
25215 ac_cv_lib_ICE_IceConnectionNumber
=yes
25217 echo "$as_me: failed program was:" >&5
25218 sed 's/^/| /' conftest.
$ac_ext >&5
25220 ac_cv_lib_ICE_IceConnectionNumber
=no
25222 rm -f conftest.err conftest.
$ac_objext \
25223 conftest
$ac_exeext conftest.
$ac_ext
25224 LIBS
=$ac_check_lib_save_LIBS
25226 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25227 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25228 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25229 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25232 LDFLAGS
=$ac_save_LDFLAGS
25237 if test "$no_x" = "yes"; then
25238 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25239 echo "$as_me: error: X11 not found" >&2;}
25240 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25243 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25244 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25245 AFMINSTALL
=afminstall
25246 COMPILED_X_PROGRAM
=0
25250 if test "$wxUSE_X11" = 1; then
25251 if test "$wxUSE_NANOX" = "yes"; then
25252 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25253 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25254 if test "x$MICROWIN" = x
; then
25255 echo "$as_me:$LINENO: result: not found" >&5
25256 echo "${ECHO_T}not found" >&6
25257 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25258 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25259 { (exit 1); exit 1; }; }
25261 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25262 echo "${ECHO_T}$MICROWIN" >&6
25263 cat >>confdefs.h
<<\_ACEOF
25264 #define wxUSE_NANOX 1
25270 if test "$wxUSE_UNICODE" = "yes"; then
25274 if test -z "$PKG_CONFIG"; then
25275 # Extract the first word of "pkg-config", so it can be a program name with args.
25276 set dummy pkg
-config; ac_word
=$2
25277 echo "$as_me:$LINENO: checking for $ac_word" >&5
25278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25279 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25280 echo $ECHO_N "(cached) $ECHO_C" >&6
25282 case $PKG_CONFIG in
25284 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25288 for as_dir
in $PATH
25291 test -z "$as_dir" && as_dir
=.
25292 for ac_exec_ext
in '' $ac_executable_extensions; do
25293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25294 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25301 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25305 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25307 if test -n "$PKG_CONFIG"; then
25308 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25309 echo "${ECHO_T}$PKG_CONFIG" >&6
25311 echo "$as_me:$LINENO: result: no" >&5
25312 echo "${ECHO_T}no" >&6
25317 if test "$PKG_CONFIG" = "no" ; then
25318 echo "*** The pkg-config script could not be found. Make sure it is"
25319 echo "*** in your path, or set the PKG_CONFIG environment variable"
25320 echo "*** to the full path to pkg-config."
25321 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25323 PKG_CONFIG_MIN_VERSION
=0.9.0
25324 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25325 echo "$as_me:$LINENO: checking for pangox" >&5
25326 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25328 if $PKG_CONFIG --exists "pangox" ; then
25329 echo "$as_me:$LINENO: result: yes" >&5
25330 echo "${ECHO_T}yes" >&6
25333 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25334 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25335 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
25336 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25337 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25339 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25340 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25341 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
25342 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25343 echo "${ECHO_T}$PANGOX_LIBS" >&6
25347 ## If we have a custom action on failure, don't print errors, but
25348 ## do set a variable so people can do so.
25349 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25356 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25357 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25361 if test $succeeded = yes; then
25363 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
25364 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25368 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25369 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25370 { (exit 1); exit 1; }; }
25378 if test -z "$PKG_CONFIG"; then
25379 # Extract the first word of "pkg-config", so it can be a program name with args.
25380 set dummy pkg
-config; ac_word
=$2
25381 echo "$as_me:$LINENO: checking for $ac_word" >&5
25382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25383 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25384 echo $ECHO_N "(cached) $ECHO_C" >&6
25386 case $PKG_CONFIG in
25388 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25392 for as_dir
in $PATH
25395 test -z "$as_dir" && as_dir
=.
25396 for ac_exec_ext
in '' $ac_executable_extensions; do
25397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25398 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25405 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25409 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25411 if test -n "$PKG_CONFIG"; then
25412 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25413 echo "${ECHO_T}$PKG_CONFIG" >&6
25415 echo "$as_me:$LINENO: result: no" >&5
25416 echo "${ECHO_T}no" >&6
25421 if test "$PKG_CONFIG" = "no" ; then
25422 echo "*** The pkg-config script could not be found. Make sure it is"
25423 echo "*** in your path, or set the PKG_CONFIG environment variable"
25424 echo "*** to the full path to pkg-config."
25425 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25427 PKG_CONFIG_MIN_VERSION
=0.9.0
25428 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25429 echo "$as_me:$LINENO: checking for pangoft2" >&5
25430 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25432 if $PKG_CONFIG --exists "pangoft2" ; then
25433 echo "$as_me:$LINENO: result: yes" >&5
25434 echo "${ECHO_T}yes" >&6
25437 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25438 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25439 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
25440 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25441 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25443 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25444 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25445 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
25446 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25447 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25451 ## If we have a custom action on failure, don't print errors, but
25452 ## do set a variable so people can do so.
25453 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25460 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25461 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25465 if test $succeeded = yes; then
25467 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
25468 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25472 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25473 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25474 wxUSE_PRINTING_ARCHITECTURE
="no"
25482 if test -z "$PKG_CONFIG"; then
25483 # Extract the first word of "pkg-config", so it can be a program name with args.
25484 set dummy pkg
-config; ac_word
=$2
25485 echo "$as_me:$LINENO: checking for $ac_word" >&5
25486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25487 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25488 echo $ECHO_N "(cached) $ECHO_C" >&6
25490 case $PKG_CONFIG in
25492 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25496 for as_dir
in $PATH
25499 test -z "$as_dir" && as_dir
=.
25500 for ac_exec_ext
in '' $ac_executable_extensions; do
25501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25502 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25509 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25513 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25515 if test -n "$PKG_CONFIG"; then
25516 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25517 echo "${ECHO_T}$PKG_CONFIG" >&6
25519 echo "$as_me:$LINENO: result: no" >&5
25520 echo "${ECHO_T}no" >&6
25525 if test "$PKG_CONFIG" = "no" ; then
25526 echo "*** The pkg-config script could not be found. Make sure it is"
25527 echo "*** in your path, or set the PKG_CONFIG environment variable"
25528 echo "*** to the full path to pkg-config."
25529 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25531 PKG_CONFIG_MIN_VERSION
=0.9.0
25532 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25533 echo "$as_me:$LINENO: checking for pangoxft" >&5
25534 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25536 if $PKG_CONFIG --exists "pangoxft" ; then
25537 echo "$as_me:$LINENO: result: yes" >&5
25538 echo "${ECHO_T}yes" >&6
25541 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25542 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25543 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
25544 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25545 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25547 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25548 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25549 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
25550 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25551 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25555 ## If we have a custom action on failure, don't print errors, but
25556 ## do set a variable so people can do so.
25557 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25564 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25565 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25569 if test $succeeded = yes; then
25571 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
25572 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25576 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25577 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25582 save_CFLAGS
="$CFLAGS"
25584 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
25585 LIBS
="$LIBS $PANGOX_LIBS"
25587 for ac_func
in pango_font_family_is_monospace
25589 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25590 echo "$as_me:$LINENO: checking for $ac_func" >&5
25591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25592 if eval "test \"\${$as_ac_var+set}\" = set"; then
25593 echo $ECHO_N "(cached) $ECHO_C" >&6
25595 cat >conftest.
$ac_ext <<_ACEOF
25598 cat confdefs.h
>>conftest.
$ac_ext
25599 cat >>conftest.
$ac_ext <<_ACEOF
25600 /* end confdefs.h. */
25601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25603 #define $ac_func innocuous_$ac_func
25605 /* System header to define __stub macros and hopefully few prototypes,
25606 which can conflict with char $ac_func (); below.
25607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25608 <limits.h> exists even on freestanding compilers. */
25611 # include <limits.h>
25613 # include <assert.h>
25618 /* Override any gcc2 internal prototype to avoid an error. */
25623 /* We use char because int might match the return type of a gcc2
25624 builtin and then its argument prototype would still apply. */
25626 /* The GNU C library defines this for functions which it implements
25627 to always fail with ENOSYS. Some functions are actually named
25628 something starting with __ and the normal name is an alias. */
25629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25632 char (*f) () = $ac_func;
25641 return f != $ac_func;
25646 rm -f conftest.
$ac_objext conftest
$ac_exeext
25647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25648 (eval $ac_link) 2>conftest.er1
25650 grep -v '^ *+' conftest.er1
>conftest.err
25652 cat conftest.err
>&5
25653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25654 (exit $ac_status); } &&
25655 { ac_try
='test -z "$ac_c_werror_flag"
25656 || test ! -s conftest.err'
25657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25658 (eval $ac_try) 2>&5
25660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25661 (exit $ac_status); }; } &&
25662 { ac_try
='test -s conftest$ac_exeext'
25663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25664 (eval $ac_try) 2>&5
25666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25667 (exit $ac_status); }; }; then
25668 eval "$as_ac_var=yes"
25670 echo "$as_me: failed program was:" >&5
25671 sed 's/^/| /' conftest.
$ac_ext >&5
25673 eval "$as_ac_var=no"
25675 rm -f conftest.err conftest.
$ac_objext \
25676 conftest
$ac_exeext conftest.
$ac_ext
25678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25680 if test `eval echo '${'$as_ac_var'}'` = yes; then
25681 cat >>confdefs.h
<<_ACEOF
25682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25688 CFLAGS
="$save_CFLAGS"
25692 wxUSE_UNIVERSAL
="yes"
25694 if test "$wxUSE_NANOX" = "yes"; then
25695 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25696 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"
25697 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25699 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25702 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
25707 if test "$wxUSE_MOTIF" = 1; then
25708 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25709 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25712 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25714 if test -f "$ac_dir/Xm/Xm.h"; then
25715 ac_find_includes
=$ac_dir
25720 if test "$ac_find_includes" != "" ; then
25721 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25722 echo "${ECHO_T}found in $ac_find_includes" >&6
25724 if test "x$ac_find_includes" = "x/usr/include"; then
25725 ac_path_to_include
=""
25727 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
25729 if test $result = 0; then
25730 ac_path_to_include
=""
25732 ac_path_to_include
=" -I$ac_find_includes"
25736 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
25738 cat >conftest.
$ac_ext <<_ACEOF
25741 cat confdefs.h
>>conftest.
$ac_ext
25742 cat >>conftest.
$ac_ext <<_ACEOF
25743 /* end confdefs.h. */
25752 version = xmUseVersion;
25758 rm -f conftest.
$ac_objext
25759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25760 (eval $ac_compile) 2>conftest.er1
25762 grep -v '^ *+' conftest.er1
>conftest.err
25764 cat conftest.err
>&5
25765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25766 (exit $ac_status); } &&
25767 { ac_try
='test -z "$ac_c_werror_flag"
25768 || test ! -s conftest.err'
25769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25770 (eval $ac_try) 2>&5
25772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25773 (exit $ac_status); }; } &&
25774 { ac_try
='test -s conftest.$ac_objext'
25775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25776 (eval $ac_try) 2>&5
25778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25779 (exit $ac_status); }; }; then
25781 echo "$as_me:$LINENO: result: found in default search path" >&5
25782 echo "${ECHO_T}found in default search path" >&6
25783 COMPILED_X_PROGRAM
=1
25786 echo "$as_me: failed program was:" >&5
25787 sed 's/^/| /' conftest.
$ac_ext >&5
25790 echo "$as_me:$LINENO: result: no" >&5
25791 echo "${ECHO_T}no" >&6
25792 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
25793 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
25794 { (exit 1); exit 1; }; }
25798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25801 if test "$COMPILED_X_PROGRAM" = 0; then
25802 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
25803 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
25806 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25808 for ac_extension
in a so sl dylib
; do
25809 if test -f "$ac_dir/libXm.$ac_extension"; then
25810 ac_find_libraries
=$ac_dir
25816 if test "$ac_find_libraries" != "" ; then
25817 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25818 echo "${ECHO_T}found at $ac_find_libraries" >&6
25821 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25823 if test $result = 0; then
25826 ac_path_to_link
=" -L$ac_find_libraries"
25829 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
25831 save_CFLAGS
=$CFLAGS
25832 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25834 cat >conftest.
$ac_ext <<_ACEOF
25837 cat confdefs.h
>>conftest.
$ac_ext
25838 cat >>conftest.
$ac_ext <<_ACEOF
25839 /* end confdefs.h. */
25848 version = xmUseVersion;
25854 rm -f conftest.
$ac_objext
25855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25856 (eval $ac_compile) 2>conftest.er1
25858 grep -v '^ *+' conftest.er1
>conftest.err
25860 cat conftest.err
>&5
25861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25862 (exit $ac_status); } &&
25863 { ac_try
='test -z "$ac_c_werror_flag"
25864 || test ! -s conftest.err'
25865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25866 (eval $ac_try) 2>&5
25868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25869 (exit $ac_status); }; } &&
25870 { ac_try
='test -s conftest.$ac_objext'
25871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25872 (eval $ac_try) 2>&5
25874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25875 (exit $ac_status); }; }; then
25877 echo "$as_me:$LINENO: result: found in default search path" >&5
25878 echo "${ECHO_T}found in default search path" >&6
25879 COMPILED_X_PROGRAM
=1
25882 echo "$as_me: failed program was:" >&5
25883 sed 's/^/| /' conftest.
$ac_ext >&5
25886 echo "$as_me:$LINENO: result: no" >&5
25887 echo "${ECHO_T}no" >&6
25888 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
25889 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
25890 { (exit 1); exit 1; }; }
25894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25896 CFLAGS
=$save_CFLAGS
25900 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
25901 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
25905 for libp
in "" " -lXp"; do
25906 if test "$libs_found" = "0"; then
25907 for libsm_ice
in "" " -lSM -lICE"; do
25908 if test "$libs_found" = "0"; then
25910 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25911 save_CFLAGS
=$CFLAGS
25912 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25914 cat >conftest.
$ac_ext <<_ACEOF
25917 cat confdefs.h
>>conftest.
$ac_ext
25918 cat >>conftest.
$ac_ext <<_ACEOF
25919 /* end confdefs.h. */
25922 #include <Xm/List.h>
25928 XmString string = NULL;
25931 XmListAddItem(w, string, position);
25937 rm -f conftest.
$ac_objext conftest
$ac_exeext
25938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25939 (eval $ac_link) 2>conftest.er1
25941 grep -v '^ *+' conftest.er1
>conftest.err
25943 cat conftest.err
>&5
25944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945 (exit $ac_status); } &&
25946 { ac_try
='test -z "$ac_c_werror_flag"
25947 || test ! -s conftest.err'
25948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25949 (eval $ac_try) 2>&5
25951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25952 (exit $ac_status); }; } &&
25953 { ac_try
='test -s conftest$ac_exeext'
25954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25955 (eval $ac_try) 2>&5
25957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25958 (exit $ac_status); }; }; then
25961 libsm_ice_link
="$libsm_ice"
25962 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
25963 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
25967 echo "$as_me: failed program was:" >&5
25968 sed 's/^/| /' conftest.
$ac_ext >&5
25973 rm -f conftest.err conftest.
$ac_objext \
25974 conftest
$ac_exeext conftest.
$ac_ext
25977 CFLAGS
=$save_CFLAGS
25983 if test "$libs_found" = "0"; then
25984 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
25985 echo "${ECHO_T}can't find the right libraries" >&6
25986 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
25987 echo "$as_me: error: can't link a simple motif program" >&2;}
25988 { (exit 1); exit 1; }; }
25991 save_CFLAGS
=$CFLAGS
25992 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25993 echo "$as_me:$LINENO: checking for Motif 2" >&5
25994 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
25995 cat >conftest.
$ac_ext <<_ACEOF
25998 cat confdefs.h
>>conftest.
$ac_ext
25999 cat >>conftest.
$ac_ext <<_ACEOF
26000 /* end confdefs.h. */
26008 #if XmVersion < 2000
26009 #error "Not Motif 2"
26016 rm -f conftest.
$ac_objext
26017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26018 (eval $ac_compile) 2>conftest.er1
26020 grep -v '^ *+' conftest.er1
>conftest.err
26022 cat conftest.err
>&5
26023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26024 (exit $ac_status); } &&
26025 { ac_try
='test -z "$ac_c_werror_flag"
26026 || test ! -s conftest.err'
26027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26028 (eval $ac_try) 2>&5
26030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26031 (exit $ac_status); }; } &&
26032 { ac_try
='test -s conftest.$ac_objext'
26033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26034 (eval $ac_try) 2>&5
26036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26037 (exit $ac_status); }; }; then
26039 cat >>confdefs.h
<<\_ACEOF
26040 #define __WXMOTIF20__ 1
26043 echo "$as_me:$LINENO: result: found" >&5
26044 echo "${ECHO_T}found" >&6
26047 echo "$as_me: failed program was:" >&5
26048 sed 's/^/| /' conftest.
$ac_ext >&5
26051 cat >>confdefs.h
<<\_ACEOF
26052 #define __WXMOTIF20__ 0
26055 echo "$as_me:$LINENO: result: not found" >&5
26056 echo "${ECHO_T}not found" >&6
26059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26060 CFLAGS
=$save_CFLAGS
26062 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26063 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
26068 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26069 if test "$wxUSE_LIBXPM" = "sys"; then
26070 echo "$as_me:$LINENO: checking for Xpm library" >&5
26071 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26074 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26076 for ac_extension
in a so sl dylib
; do
26077 if test -f "$ac_dir/libXpm.$ac_extension"; then
26078 ac_find_libraries
=$ac_dir
26084 if test "$ac_find_libraries" != "" ; then
26086 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26088 if test $result = 0; then
26091 ac_path_to_link
=" -L$ac_find_libraries"
26094 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26095 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26096 echo "${ECHO_T}found at $ac_find_libraries" >&6
26098 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26099 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26100 if test "${wx_cv_x11_xpm_h+set}" = set; then
26101 echo $ECHO_N "(cached) $ECHO_C" >&6
26104 save_CFLAGS
=$CFLAGS
26105 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26107 cat >conftest.
$ac_ext <<_ACEOF
26110 cat confdefs.h
>>conftest.
$ac_ext
26111 cat >>conftest.
$ac_ext <<_ACEOF
26112 /* end confdefs.h. */
26114 #include <X11/xpm.h>
26121 version = XpmLibraryVersion();
26127 rm -f conftest.
$ac_objext
26128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26129 (eval $ac_compile) 2>conftest.er1
26131 grep -v '^ *+' conftest.er1
>conftest.err
26133 cat conftest.err
>&5
26134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26135 (exit $ac_status); } &&
26136 { ac_try
='test -z "$ac_c_werror_flag"
26137 || test ! -s conftest.err'
26138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26139 (eval $ac_try) 2>&5
26141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26142 (exit $ac_status); }; } &&
26143 { ac_try
='test -s conftest.$ac_objext'
26144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26145 (eval $ac_try) 2>&5
26147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26148 (exit $ac_status); }; }; then
26149 wx_cv_x11_xpm_h
=yes
26151 echo "$as_me: failed program was:" >&5
26152 sed 's/^/| /' conftest.
$ac_ext >&5
26157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26159 CFLAGS
=$save_CFLAGS
26163 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26164 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26166 if test $wx_cv_x11_xpm_h = "yes"; then
26167 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26168 cat >>confdefs.h
<<\_ACEOF
26169 #define wxHAVE_LIB_XPM 1
26173 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26174 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26180 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26181 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26182 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26183 echo $ECHO_N "(cached) $ECHO_C" >&6
26185 ac_check_lib_save_LIBS
=$LIBS
26186 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26187 cat >conftest.
$ac_ext <<_ACEOF
26190 cat confdefs.h
>>conftest.
$ac_ext
26191 cat >>conftest.
$ac_ext <<_ACEOF
26192 /* end confdefs.h. */
26194 /* Override any gcc2 internal prototype to avoid an error. */
26198 /* We use char because int might match the return type of a gcc2
26199 builtin and then its argument prototype would still apply. */
26200 char XShapeQueryExtension ();
26204 XShapeQueryExtension ();
26209 rm -f conftest.
$ac_objext conftest
$ac_exeext
26210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26211 (eval $ac_link) 2>conftest.er1
26213 grep -v '^ *+' conftest.er1
>conftest.err
26215 cat conftest.err
>&5
26216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26217 (exit $ac_status); } &&
26218 { ac_try
='test -z "$ac_c_werror_flag"
26219 || test ! -s conftest.err'
26220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26221 (eval $ac_try) 2>&5
26223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26224 (exit $ac_status); }; } &&
26225 { ac_try
='test -s conftest$ac_exeext'
26226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26227 (eval $ac_try) 2>&5
26229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26230 (exit $ac_status); }; }; then
26231 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26233 echo "$as_me: failed program was:" >&5
26234 sed 's/^/| /' conftest.
$ac_ext >&5
26236 ac_cv_lib_Xext_XShapeQueryExtension
=no
26238 rm -f conftest.err conftest.
$ac_objext \
26239 conftest
$ac_exeext conftest.
$ac_ext
26240 LIBS
=$ac_check_lib_save_LIBS
26242 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26243 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26244 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26246 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26252 if test "$wxHAVE_XEXT_LIB" = 1; then
26253 save_CFLAGS
="$CFLAGS"
26254 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26256 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26257 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26258 cat >conftest.
$ac_ext <<_ACEOF
26261 cat confdefs.h
>>conftest.
$ac_ext
26262 cat >>conftest.
$ac_ext <<_ACEOF
26263 /* end confdefs.h. */
26265 #include <X11/Xlib.h>
26266 #include <X11/extensions/shape.h>
26272 int dummy1, dummy2;
26273 XShapeQueryExtension((Display*)NULL,
26274 (int*)NULL, (int*)NULL);
26280 rm -f conftest.
$ac_objext
26281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26282 (eval $ac_compile) 2>conftest.er1
26284 grep -v '^ *+' conftest.er1
>conftest.err
26286 cat conftest.err
>&5
26287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26288 (exit $ac_status); } &&
26289 { ac_try
='test -z "$ac_c_werror_flag"
26290 || test ! -s conftest.err'
26291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26292 (eval $ac_try) 2>&5
26294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26295 (exit $ac_status); }; } &&
26296 { ac_try
='test -s conftest.$ac_objext'
26297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26298 (eval $ac_try) 2>&5
26300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26301 (exit $ac_status); }; }; then
26303 cat >>confdefs.h
<<\_ACEOF
26304 #define HAVE_XSHAPE 1
26307 echo "$as_me:$LINENO: result: found" >&5
26308 echo "${ECHO_T}found" >&6
26311 echo "$as_me: failed program was:" >&5
26312 sed 's/^/| /' conftest.
$ac_ext >&5
26315 echo "$as_me:$LINENO: result: not found" >&5
26316 echo "${ECHO_T}not found" >&6
26319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26320 CFLAGS
="$save_CFLAGS"
26325 if test "$wxUSE_MAC" = 1; then
26326 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26327 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26328 if test "$GCC" = yes; then
26329 echo "$as_me:$LINENO: result: gcc" >&5
26330 echo "${ECHO_T}gcc" >&6
26331 CPPFLAGS_PASCAL
="-fpascal-strings"
26332 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26333 echo "$as_me:$LINENO: result: xlc" >&5
26334 echo "${ECHO_T}xlc" >&6
26335 CPPFLAGS_PASCAL
="-qmacpstr"
26337 echo "$as_me:$LINENO: result: none" >&5
26338 echo "${ECHO_T}none" >&6
26341 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26343 TOOLKIT_VPATH
="\${top_srcdir}/src/mac/carbon${PATH_IFS}\${top_srcdir}/src/mac/carbon/morefilex"
26346 WXBASEPORT
="_carbon"
26349 if test "$wxUSE_COCOA" = 1; then
26350 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
26355 if test "$wxUSE_PM" = 1; then
26358 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26359 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26360 if test "${wx_cv_spbcdata+set}" = set; then
26361 echo $ECHO_N "(cached) $ECHO_C" >&6
26364 cat >conftest.
$ac_ext <<_ACEOF
26367 cat confdefs.h
>>conftest.
$ac_ext
26368 cat >>conftest.
$ac_ext <<_ACEOF
26369 /* end confdefs.h. */
26384 rm -f conftest.
$ac_objext
26385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26386 (eval $ac_compile) 2>conftest.er1
26388 grep -v '^ *+' conftest.er1
>conftest.err
26390 cat conftest.err
>&5
26391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26392 (exit $ac_status); } &&
26393 { ac_try
='test -z "$ac_c_werror_flag"
26394 || test ! -s conftest.err'
26395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26396 (eval $ac_try) 2>&5
26398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26399 (exit $ac_status); }; } &&
26400 { ac_try
='test -s conftest.$ac_objext'
26401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26402 (eval $ac_try) 2>&5
26404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26405 (exit $ac_status); }; }; then
26408 echo "$as_me: failed program was:" >&5
26409 sed 's/^/| /' conftest.
$ac_ext >&5
26414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26418 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26419 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26421 if test $wx_cv_spbcdata = "yes"; then
26422 cat >>confdefs.h
<<\_ACEOF
26423 #define HAVE_SPBCDATA 1
26429 if test "$TOOLKIT" = "PM" ; then
26432 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26435 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26437 if test "$wxUSE_UNIVERSAL" = "yes"; then
26438 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26440 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26441 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26443 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26444 if test "$wxUSE_X11" = 1; then
26445 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26447 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26449 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26452 ALL_OBJECTS
="\$(GUIOBJS)"
26453 ALL_SOURCES
="\$(ALL_SOURCES)"
26454 ALL_HEADERS
="\$(ALL_HEADERS)"
26457 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26459 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26460 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
26463 if test "$wxUSE_HTML" = "yes"; then
26464 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
26467 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26468 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
26470 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26471 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
26473 if test "$wxUSE_LIBPNG" = "builtin" ; then
26474 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
26477 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26478 DISTDIR
="wx\$(TOOLKIT)"
26484 if test "$USE_WIN32" = 1 ; then
26485 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26486 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
26490 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26491 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
26494 ALL_SOURCES
="\$(ALL_SOURCES)"
26495 ALL_HEADERS
="\$(ALL_HEADERS)"
26497 PORT_FILES
="\${top_srcdir}/src/files.lst"
26499 GUIDIST
="BASE_DIST"
26509 if test "$TOOLKIT" != "MSW" ; then
26511 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26513 if test "${ac_cv_header_sql_h+set}" = set; then
26514 echo "$as_me:$LINENO: checking for sql.h" >&5
26515 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26516 if test "${ac_cv_header_sql_h+set}" = set; then
26517 echo $ECHO_N "(cached) $ECHO_C" >&6
26519 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26520 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26522 # Is the header compilable?
26523 echo "$as_me:$LINENO: checking sql.h usability" >&5
26524 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26525 cat >conftest.
$ac_ext <<_ACEOF
26528 cat confdefs.h
>>conftest.
$ac_ext
26529 cat >>conftest.
$ac_ext <<_ACEOF
26530 /* end confdefs.h. */
26531 $ac_includes_default
26534 rm -f conftest.
$ac_objext
26535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26536 (eval $ac_compile) 2>conftest.er1
26538 grep -v '^ *+' conftest.er1
>conftest.err
26540 cat conftest.err
>&5
26541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542 (exit $ac_status); } &&
26543 { ac_try
='test -z "$ac_c_werror_flag"
26544 || test ! -s conftest.err'
26545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26546 (eval $ac_try) 2>&5
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); }; } &&
26550 { ac_try
='test -s conftest.$ac_objext'
26551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26552 (eval $ac_try) 2>&5
26554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555 (exit $ac_status); }; }; then
26556 ac_header_compiler
=yes
26558 echo "$as_me: failed program was:" >&5
26559 sed 's/^/| /' conftest.
$ac_ext >&5
26561 ac_header_compiler
=no
26563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26564 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26565 echo "${ECHO_T}$ac_header_compiler" >&6
26567 # Is the header present?
26568 echo "$as_me:$LINENO: checking sql.h presence" >&5
26569 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26570 cat >conftest.
$ac_ext <<_ACEOF
26573 cat confdefs.h
>>conftest.
$ac_ext
26574 cat >>conftest.
$ac_ext <<_ACEOF
26575 /* end confdefs.h. */
26578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26579 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26581 grep -v '^ *+' conftest.er1
>conftest.err
26583 cat conftest.err
>&5
26584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 (exit $ac_status); } >/dev
/null
; then
26586 if test -s conftest.err
; then
26587 ac_cpp_err
=$ac_c_preproc_warn_flag
26588 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26595 if test -z "$ac_cpp_err"; then
26596 ac_header_preproc
=yes
26598 echo "$as_me: failed program was:" >&5
26599 sed 's/^/| /' conftest.
$ac_ext >&5
26601 ac_header_preproc
=no
26603 rm -f conftest.err conftest.
$ac_ext
26604 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26605 echo "${ECHO_T}$ac_header_preproc" >&6
26607 # So? What about this header?
26608 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26610 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26611 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26612 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26613 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26614 ac_header_preproc
=yes
26617 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26618 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26619 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26620 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26621 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26622 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26623 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26624 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26625 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26626 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26627 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26628 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26631 ## ----------------------------------------- ##
26632 ## Report this to wx-dev@lists.wxwidgets.org ##
26633 ## ----------------------------------------- ##
26636 sed "s/^/$as_me: WARNING: /" >&2
26639 echo "$as_me:$LINENO: checking for sql.h" >&5
26640 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26641 if test "${ac_cv_header_sql_h+set}" = set; then
26642 echo $ECHO_N "(cached) $ECHO_C" >&6
26644 ac_cv_header_sql_h
=$ac_header_preproc
26646 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26647 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26650 if test $ac_cv_header_sql_h = yes; then
26655 if test "x$found_sql_h" = "x1" ; then
26656 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26657 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26658 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26659 echo $ECHO_N "(cached) $ECHO_C" >&6
26661 ac_check_lib_save_LIBS
=$LIBS
26662 LIBS
="-liodbc $LIBS"
26663 cat >conftest.
$ac_ext <<_ACEOF
26666 cat confdefs.h
>>conftest.
$ac_ext
26667 cat >>conftest.
$ac_ext <<_ACEOF
26668 /* end confdefs.h. */
26670 /* Override any gcc2 internal prototype to avoid an error. */
26674 /* We use char because int might match the return type of a gcc2
26675 builtin and then its argument prototype would still apply. */
26676 char SQLAllocEnv ();
26685 rm -f conftest.
$ac_objext conftest
$ac_exeext
26686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26687 (eval $ac_link) 2>conftest.er1
26689 grep -v '^ *+' conftest.er1
>conftest.err
26691 cat conftest.err
>&5
26692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26693 (exit $ac_status); } &&
26694 { ac_try
='test -z "$ac_c_werror_flag"
26695 || test ! -s conftest.err'
26696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26697 (eval $ac_try) 2>&5
26699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26700 (exit $ac_status); }; } &&
26701 { ac_try
='test -s conftest$ac_exeext'
26702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26703 (eval $ac_try) 2>&5
26705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26706 (exit $ac_status); }; }; then
26707 ac_cv_lib_iodbc_SQLAllocEnv
=yes
26709 echo "$as_me: failed program was:" >&5
26710 sed 's/^/| /' conftest.
$ac_ext >&5
26712 ac_cv_lib_iodbc_SQLAllocEnv
=no
26714 rm -f conftest.err conftest.
$ac_objext \
26715 conftest
$ac_exeext conftest.
$ac_ext
26716 LIBS
=$ac_check_lib_save_LIBS
26718 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26719 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26720 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26721 ODBC_LINK
=" -liodbc"
26724 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26725 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26726 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26727 echo $ECHO_N "(cached) $ECHO_C" >&6
26729 ac_check_lib_save_LIBS
=$LIBS
26730 LIBS
="-lunixodbc $LIBS"
26731 cat >conftest.
$ac_ext <<_ACEOF
26734 cat confdefs.h
>>conftest.
$ac_ext
26735 cat >>conftest.
$ac_ext <<_ACEOF
26736 /* end confdefs.h. */
26738 /* Override any gcc2 internal prototype to avoid an error. */
26742 /* We use char because int might match the return type of a gcc2
26743 builtin and then its argument prototype would still apply. */
26744 char SQLAllocEnv ();
26753 rm -f conftest.
$ac_objext conftest
$ac_exeext
26754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26755 (eval $ac_link) 2>conftest.er1
26757 grep -v '^ *+' conftest.er1
>conftest.err
26759 cat conftest.err
>&5
26760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26761 (exit $ac_status); } &&
26762 { ac_try
='test -z "$ac_c_werror_flag"
26763 || test ! -s conftest.err'
26764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26765 (eval $ac_try) 2>&5
26767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26768 (exit $ac_status); }; } &&
26769 { ac_try
='test -s conftest$ac_exeext'
26770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26771 (eval $ac_try) 2>&5
26773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26774 (exit $ac_status); }; }; then
26775 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
26777 echo "$as_me: failed program was:" >&5
26778 sed 's/^/| /' conftest.
$ac_ext >&5
26780 ac_cv_lib_unixodbc_SQLAllocEnv
=no
26782 rm -f conftest.err conftest.
$ac_objext \
26783 conftest
$ac_exeext conftest.
$ac_ext
26784 LIBS
=$ac_check_lib_save_LIBS
26786 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26787 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26788 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26789 ODBC_LINK
=" -lunixodbc"
26792 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26793 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26794 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26795 echo $ECHO_N "(cached) $ECHO_C" >&6
26797 ac_check_lib_save_LIBS
=$LIBS
26798 LIBS
="-lodbc $LIBS"
26799 cat >conftest.
$ac_ext <<_ACEOF
26802 cat confdefs.h
>>conftest.
$ac_ext
26803 cat >>conftest.
$ac_ext <<_ACEOF
26804 /* end confdefs.h. */
26806 /* Override any gcc2 internal prototype to avoid an error. */
26810 /* We use char because int might match the return type of a gcc2
26811 builtin and then its argument prototype would still apply. */
26812 char SQLAllocEnv ();
26821 rm -f conftest.
$ac_objext conftest
$ac_exeext
26822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26823 (eval $ac_link) 2>conftest.er1
26825 grep -v '^ *+' conftest.er1
>conftest.err
26827 cat conftest.err
>&5
26828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26829 (exit $ac_status); } &&
26830 { ac_try
='test -z "$ac_c_werror_flag"
26831 || test ! -s conftest.err'
26832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26833 (eval $ac_try) 2>&5
26835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26836 (exit $ac_status); }; } &&
26837 { ac_try
='test -s conftest$ac_exeext'
26838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26839 (eval $ac_try) 2>&5
26841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26842 (exit $ac_status); }; }; then
26843 ac_cv_lib_odbc_SQLAllocEnv
=yes
26845 echo "$as_me: failed program was:" >&5
26846 sed 's/^/| /' conftest.
$ac_ext >&5
26848 ac_cv_lib_odbc_SQLAllocEnv
=no
26850 rm -f conftest.err conftest.
$ac_objext \
26851 conftest
$ac_exeext conftest.
$ac_ext
26852 LIBS
=$ac_check_lib_save_LIBS
26854 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
26855 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
26856 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
26857 ODBC_LINK
=" -lodbc"
26867 if test "x$ODBC_LINK" = "x" ; then
26868 if test "$wxUSE_ODBC" = "sys" ; then
26869 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
26870 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
26871 { (exit 1); exit 1; }; }
26873 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
26874 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
26881 if test "$wxUSE_ODBC" != "no" ; then
26882 cat >>confdefs.h
<<\_ACEOF
26883 #define wxUSE_ODBC 1
26886 if test "$wxUSE_ODBC" = "builtin" ; then
26887 cat >>confdefs.h
<<\_ACEOF
26888 #define wxUSE_BUILTIN_IODBC 1
26892 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
26894 WXODBCFLAG
="-D_IODBC_"
26898 if test "$wxUSE_REGEX" = "builtin" ; then
26899 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
26901 if test "$wxUSE_ZLIB" = "builtin" ; then
26902 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
26906 if test "$wxUSE_DISPLAY" = "yes"; then
26907 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
26908 echo "$as_me:$LINENO: checking for Xinerama" >&5
26909 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
26912 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26914 for ac_extension
in a so sl dylib
; do
26915 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26916 ac_find_libraries
=$ac_dir
26922 if test "$ac_find_libraries" != "" ; then
26924 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26926 if test $result = 0; then
26929 ac_path_to_link
=" -L$ac_find_libraries"
26932 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26933 LDFLAGS
="$LDFLAGS $ac_path_to_link"
26935 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
26936 echo "$as_me:$LINENO: result: yes" >&5
26937 echo "${ECHO_T}yes" >&6
26939 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
26940 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
26943 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26945 for ac_extension
in a so sl dylib
; do
26946 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
26947 ac_find_libraries
=$ac_dir
26953 if test "$ac_find_libraries" != "" ; then
26954 echo "$as_me:$LINENO: result: yes" >&5
26955 echo "${ECHO_T}yes" >&6
26957 for ac_header
in X
11/extensions
/xf86vmode.h
26959 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26960 echo "$as_me:$LINENO: checking for $ac_header" >&5
26961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26963 echo $ECHO_N "(cached) $ECHO_C" >&6
26965 cat >conftest.
$ac_ext <<_ACEOF
26968 cat confdefs.h
>>conftest.
$ac_ext
26969 cat >>conftest.
$ac_ext <<_ACEOF
26970 /* end confdefs.h. */
26972 #if HAVE_X11_XLIB_H
26973 #include <X11/Xlib.h>
26977 #include <$ac_header>
26979 rm -f conftest.
$ac_objext
26980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26981 (eval $ac_compile) 2>conftest.er1
26983 grep -v '^ *+' conftest.er1
>conftest.err
26985 cat conftest.err
>&5
26986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26987 (exit $ac_status); } &&
26988 { ac_try
='test -z "$ac_c_werror_flag"
26989 || test ! -s conftest.err'
26990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26991 (eval $ac_try) 2>&5
26993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26994 (exit $ac_status); }; } &&
26995 { ac_try
='test -s conftest.$ac_objext'
26996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26997 (eval $ac_try) 2>&5
26999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27000 (exit $ac_status); }; }; then
27001 eval "$as_ac_Header=yes"
27003 echo "$as_me: failed program was:" >&5
27004 sed 's/^/| /' conftest.
$ac_ext >&5
27006 eval "$as_ac_Header=no"
27008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27011 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27012 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27013 cat >>confdefs.h
<<_ACEOF
27014 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27017 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27024 echo "$as_me:$LINENO: result: no" >&5
27025 echo "${ECHO_T}no" >&6
27029 echo "$as_me:$LINENO: result: no" >&5
27030 echo "${ECHO_T}no" >&6
27031 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27032 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27035 elif test "$wxUSE_MSW" = 1; then
27038 for ac_header
in multimon.h ddraw.h
27040 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27042 echo "$as_me:$LINENO: checking for $ac_header" >&5
27043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27044 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27045 echo $ECHO_N "(cached) $ECHO_C" >&6
27047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27048 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27050 # Is the header compilable?
27051 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27052 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27053 cat >conftest.
$ac_ext <<_ACEOF
27056 cat confdefs.h
>>conftest.
$ac_ext
27057 cat >>conftest.
$ac_ext <<_ACEOF
27058 /* end confdefs.h. */
27059 $ac_includes_default
27060 #include <$ac_header>
27062 rm -f conftest.
$ac_objext
27063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27064 (eval $ac_compile) 2>conftest.er1
27066 grep -v '^ *+' conftest.er1
>conftest.err
27068 cat conftest.err
>&5
27069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27070 (exit $ac_status); } &&
27071 { ac_try
='test -z "$ac_c_werror_flag"
27072 || test ! -s conftest.err'
27073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27074 (eval $ac_try) 2>&5
27076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27077 (exit $ac_status); }; } &&
27078 { ac_try
='test -s conftest.$ac_objext'
27079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27080 (eval $ac_try) 2>&5
27082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27083 (exit $ac_status); }; }; then
27084 ac_header_compiler
=yes
27086 echo "$as_me: failed program was:" >&5
27087 sed 's/^/| /' conftest.
$ac_ext >&5
27089 ac_header_compiler
=no
27091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27092 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27093 echo "${ECHO_T}$ac_header_compiler" >&6
27095 # Is the header present?
27096 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27097 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27098 cat >conftest.
$ac_ext <<_ACEOF
27101 cat confdefs.h
>>conftest.
$ac_ext
27102 cat >>conftest.
$ac_ext <<_ACEOF
27103 /* end confdefs.h. */
27104 #include <$ac_header>
27106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27107 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27109 grep -v '^ *+' conftest.er1
>conftest.err
27111 cat conftest.err
>&5
27112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27113 (exit $ac_status); } >/dev
/null
; then
27114 if test -s conftest.err
; then
27115 ac_cpp_err
=$ac_c_preproc_warn_flag
27116 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27123 if test -z "$ac_cpp_err"; then
27124 ac_header_preproc
=yes
27126 echo "$as_me: failed program was:" >&5
27127 sed 's/^/| /' conftest.
$ac_ext >&5
27129 ac_header_preproc
=no
27131 rm -f conftest.err conftest.
$ac_ext
27132 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27133 echo "${ECHO_T}$ac_header_preproc" >&6
27135 # So? What about this header?
27136 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27138 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27139 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27140 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27141 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27142 ac_header_preproc
=yes
27145 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27146 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27147 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27148 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27149 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27150 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27151 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27152 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27153 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27154 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27155 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27156 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27159 ## ----------------------------------------- ##
27160 ## Report this to wx-dev@lists.wxwidgets.org ##
27161 ## ----------------------------------------- ##
27164 sed "s/^/$as_me: WARNING: /" >&2
27167 echo "$as_me:$LINENO: checking for $ac_header" >&5
27168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27170 echo $ECHO_N "(cached) $ECHO_C" >&6
27172 eval "$as_ac_Header=\$ac_header_preproc"
27174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27175 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27178 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27179 cat >>confdefs.h
<<_ACEOF
27180 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27186 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27187 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27198 if test "$wxUSE_OPENGL" = "yes"; then
27199 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27200 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27201 elif test "$wxUSE_MSW" = 1; then
27202 OPENGL_LIBS
="-lopengl32 -lglu32"
27207 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27209 if test -f "$ac_dir/GL/gl.h"; then
27210 ac_find_includes
=$ac_dir
27215 if test "$ac_find_includes" != "" ; then
27216 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27217 echo "${ECHO_T}found in $ac_find_includes" >&6
27219 if test "x$ac_find_includes" = "x/usr/include"; then
27220 ac_path_to_include
=""
27222 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27224 if test $result = 0; then
27225 ac_path_to_include
=""
27227 ac_path_to_include
=" -I$ac_find_includes"
27231 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27234 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27235 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27236 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27237 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27238 echo $ECHO_N "(cached) $ECHO_C" >&6
27240 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27241 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27243 # Is the header compilable?
27244 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27245 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27246 cat >conftest.
$ac_ext <<_ACEOF
27249 cat confdefs.h
>>conftest.
$ac_ext
27250 cat >>conftest.
$ac_ext <<_ACEOF
27251 /* end confdefs.h. */
27252 $ac_includes_default
27255 rm -f conftest.
$ac_objext
27256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27257 (eval $ac_compile) 2>conftest.er1
27259 grep -v '^ *+' conftest.er1
>conftest.err
27261 cat conftest.err
>&5
27262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263 (exit $ac_status); } &&
27264 { ac_try
='test -z "$ac_c_werror_flag"
27265 || test ! -s conftest.err'
27266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27267 (eval $ac_try) 2>&5
27269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27270 (exit $ac_status); }; } &&
27271 { ac_try
='test -s conftest.$ac_objext'
27272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27273 (eval $ac_try) 2>&5
27275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27276 (exit $ac_status); }; }; then
27277 ac_header_compiler
=yes
27279 echo "$as_me: failed program was:" >&5
27280 sed 's/^/| /' conftest.
$ac_ext >&5
27282 ac_header_compiler
=no
27284 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27285 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27286 echo "${ECHO_T}$ac_header_compiler" >&6
27288 # Is the header present?
27289 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27290 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27291 cat >conftest.
$ac_ext <<_ACEOF
27294 cat confdefs.h
>>conftest.
$ac_ext
27295 cat >>conftest.
$ac_ext <<_ACEOF
27296 /* end confdefs.h. */
27299 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27300 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27302 grep -v '^ *+' conftest.er1
>conftest.err
27304 cat conftest.err
>&5
27305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27306 (exit $ac_status); } >/dev
/null
; then
27307 if test -s conftest.err
; then
27308 ac_cpp_err
=$ac_c_preproc_warn_flag
27309 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27316 if test -z "$ac_cpp_err"; then
27317 ac_header_preproc
=yes
27319 echo "$as_me: failed program was:" >&5
27320 sed 's/^/| /' conftest.
$ac_ext >&5
27322 ac_header_preproc
=no
27324 rm -f conftest.err conftest.
$ac_ext
27325 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27326 echo "${ECHO_T}$ac_header_preproc" >&6
27328 # So? What about this header?
27329 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27331 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27332 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27333 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27334 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27335 ac_header_preproc
=yes
27338 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27339 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27340 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27341 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27342 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27343 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27344 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27345 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27346 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27347 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27348 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27349 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27352 ## ----------------------------------------- ##
27353 ## Report this to wx-dev@lists.wxwidgets.org ##
27354 ## ----------------------------------------- ##
27357 sed "s/^/$as_me: WARNING: /" >&2
27360 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27361 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27362 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27363 echo $ECHO_N "(cached) $ECHO_C" >&6
27365 ac_cv_header_GL_gl_h
=$ac_header_preproc
27367 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27368 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27371 if test $ac_cv_header_GL_gl_h = yes; then
27375 echo "$as_me:$LINENO: checking for -lGL" >&5
27376 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27379 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27381 for ac_extension
in a so sl dylib
; do
27382 if test -f "$ac_dir/libGL.$ac_extension"; then
27383 ac_find_libraries
=$ac_dir
27389 if test "$ac_find_libraries" != "" ; then
27391 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27393 if test $result = 0; then
27396 ac_path_to_link
=" -L$ac_find_libraries"
27399 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27400 LDFLAGS_GL
="$ac_path_to_link"
27405 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27407 for ac_extension
in a so sl dylib
; do
27408 if test -f "$ac_dir/libGLU.$ac_extension"; then
27409 ac_find_libraries
=$ac_dir
27415 if test "$ac_find_libraries" != "" ; then
27417 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27419 if test $result = 0; then
27422 ac_path_to_link
=" -L$ac_find_libraries"
27425 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27426 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27427 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27431 OPENGL_LIBS
="-lGL -lGLU"
27432 echo "$as_me:$LINENO: result: yes" >&5
27433 echo "${ECHO_T}yes" >&6
27437 if test "$found_gl" != 1; then
27438 echo "$as_me:$LINENO: result: no" >&5
27439 echo "${ECHO_T}no" >&6
27440 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27441 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27444 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27446 for ac_extension
in a so sl dylib
; do
27447 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27448 ac_find_libraries
=$ac_dir
27454 if test "$ac_find_libraries" != "" ; then
27456 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27458 if test $result = 0; then
27461 ac_path_to_link
=" -L$ac_find_libraries"
27464 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27465 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27466 echo "$as_me:$LINENO: result: yes" >&5
27467 echo "${ECHO_T}yes" >&6
27469 echo "$as_me:$LINENO: result: no" >&5
27470 echo "${ECHO_T}no" >&6
27478 if test "x$OPENGL_LIBS" = "x"; then
27479 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27480 echo "$as_me: error: OpenGL libraries not available" >&2;}
27481 { (exit 1); exit 1; }; }
27485 if test "$wxUSE_OPENGL" = "yes"; then
27487 cat >>confdefs.h
<<\_ACEOF
27488 #define wxUSE_OPENGL 1
27491 cat >>confdefs.h
<<\_ACEOF
27492 #define wxUSE_GLCANVAS 1
27495 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27499 if test -z "$TOOLKIT_VPATH" ; then
27500 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
27503 if test -n "$TOOLKIT" ; then
27504 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27508 lib_unicode_suffix
=
27509 wxconfig_filename_unicode
="ansi"
27510 if test "$wxUSE_UNICODE" = "yes"; then
27511 lib_unicode_suffix
=u
27512 wxconfig_filename_unicode
="unicode"
27517 wxconfig_filename_debug
="release"
27519 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27521 wxconfig_filename_debug
="debug"
27526 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27530 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27532 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
27533 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
27535 WXCONFIG_DATA_FILE
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${wxconfig_filename_unicode}-${wxconfig_filename_debug}-${WX_RELEASE}"
27537 if test "$cross_compiling" = "yes"; then
27538 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
27539 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
27540 WXCONFIG_DATA_FILE
="${WXCONFIG_DATA_FILE}-${host_alias}"
27541 HOST_SUFFIX
="-${host_alias}"
27544 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
27545 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
27546 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
27547 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
27549 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27550 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27552 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
27553 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27554 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
27555 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27558 *-*-cygwin* | *-*-mingw32* )
27559 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27560 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27565 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27566 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27568 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
27569 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27570 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
27571 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27573 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27574 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
27575 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
27580 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
27581 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
27583 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
27584 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
27586 if test "$wxUSE_OPENGL" = "yes"; then
27587 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
27588 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
27593 if test "$wxUSE_SHARED" = "yes"; then
27597 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27598 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27604 if test "$wxUSE_SHARED" = "yes"; then
27608 found_versioning
=no
27611 if test $found_versioning = no
; then
27612 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27613 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27614 if test "${wx_cv_version_script+set}" = set; then
27615 echo $ECHO_N "(cached) $ECHO_C" >&6
27618 echo "VER_1 { *; };" >conftest.sym
27619 echo "int main() { return 0; }" >conftest.cpp
27622 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27623 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27625 (eval $ac_try) 2>&5
27627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27628 (exit $ac_status); }; } ; then
27629 if test -s conftest.stderr
; then
27630 wx_cv_version_script
=no
27632 wx_cv_version_script
=yes
27635 wx_cv_version_script
=no
27637 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27640 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27641 echo "${ECHO_T}$wx_cv_version_script" >&6
27642 if test $wx_cv_version_script = yes ; then
27643 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
27649 *-*-linux* | *-*-gnu* )
27650 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27654 if test "$GCC" = yes ; then
27655 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27657 saveLdflags
="$LDFLAGS"
27658 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27659 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27660 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27661 cat >conftest.
$ac_ext <<_ACEOF
27664 cat confdefs.h
>>conftest.
$ac_ext
27665 cat >>conftest.
$ac_ext <<_ACEOF
27666 /* end confdefs.h. */
27676 rm -f conftest.
$ac_objext conftest
$ac_exeext
27677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27678 (eval $ac_link) 2>conftest.er1
27680 grep -v '^ *+' conftest.er1
>conftest.err
27682 cat conftest.err
>&5
27683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27684 (exit $ac_status); } &&
27685 { ac_try
='test -z "$ac_c_werror_flag"
27686 || test ! -s conftest.err'
27687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27688 (eval $ac_try) 2>&5
27690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27691 (exit $ac_status); }; } &&
27692 { ac_try
='test -s conftest$ac_exeext'
27693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27694 (eval $ac_try) 2>&5
27696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27697 (exit $ac_status); }; }; then
27699 echo "$as_me:$LINENO: result: yes" >&5
27700 echo "${ECHO_T}yes" >&6
27701 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27704 echo "$as_me: failed program was:" >&5
27705 sed 's/^/| /' conftest.
$ac_ext >&5
27708 echo "$as_me:$LINENO: result: no" >&5
27709 echo "${ECHO_T}no" >&6
27710 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27711 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27712 LDFLAGS
="$saveLdflags -Wl,-R,/"
27713 cat >conftest.
$ac_ext <<_ACEOF
27716 cat confdefs.h
>>conftest.
$ac_ext
27717 cat >>conftest.
$ac_ext <<_ACEOF
27718 /* end confdefs.h. */
27728 rm -f conftest.
$ac_objext conftest
$ac_exeext
27729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27730 (eval $ac_link) 2>conftest.er1
27732 grep -v '^ *+' conftest.er1
>conftest.err
27734 cat conftest.err
>&5
27735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27736 (exit $ac_status); } &&
27737 { ac_try
='test -z "$ac_c_werror_flag"
27738 || test ! -s conftest.err'
27739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27740 (eval $ac_try) 2>&5
27742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27743 (exit $ac_status); }; } &&
27744 { ac_try
='test -s conftest$ac_exeext'
27745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27746 (eval $ac_try) 2>&5
27748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27749 (exit $ac_status); }; }; then
27751 echo "$as_me:$LINENO: result: yes" >&5
27752 echo "${ECHO_T}yes" >&6
27753 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
27755 echo "$as_me: failed program was:" >&5
27756 sed 's/^/| /' conftest.
$ac_ext >&5
27759 echo "$as_me:$LINENO: result: no" >&5
27760 echo "${ECHO_T}no" >&6
27763 rm -f conftest.err conftest.
$ac_objext \
27764 conftest
$ac_exeext conftest.
$ac_ext
27767 rm -f conftest.err conftest.
$ac_objext \
27768 conftest
$ac_exeext conftest.
$ac_ext
27769 LDFLAGS
="$saveLdflags"
27771 SHARED_LD
="${CXX} -G -o"
27773 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
27777 powerpc
-*-darwin* )
27778 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27779 cat <<EOF >change-install-names
27781 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27782 inst_cmd="install_name_tool "
27783 for i in \${libnames} ; do
27784 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27788 chmod +x change
-install-names
27791 *-*-cygwin* | *-*-mingw32* )
27792 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
27797 if test "x$WX_TARGET_LIBRARY" = "x"; then
27798 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
27799 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
27802 WX_TARGET_LIBRARY_TYPE
="so"
27803 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
27806 if test "$wxUSE_SHARED" = "no"; then
27808 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
27809 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
27812 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
27813 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
27816 if test "$wxUSE_OPENGL" = "yes"; then
27817 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
27818 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
27820 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
27823 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
27824 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
27826 WX_TARGET_LIBRARY_TYPE
="a"
27827 INSTALL_LIBRARY
='$(INSTALL_DATA)'
27834 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27835 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27836 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
27837 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
27839 # Extract the first word of "Rez", so it can be a program name with args.
27840 set dummy Rez
; ac_word
=$2
27841 echo "$as_me:$LINENO: checking for $ac_word" >&5
27842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27843 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27844 echo $ECHO_N "(cached) $ECHO_C" >&6
27846 if test -n "$RESCOMP"; then
27847 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
27849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27850 for as_dir
in $PATH
27853 test -z "$as_dir" && as_dir
=.
27854 for ac_exec_ext
in '' $ac_executable_extensions; do
27855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27856 ac_cv_prog_RESCOMP
="Rez"
27857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27863 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
27866 RESCOMP
=$ac_cv_prog_RESCOMP
27867 if test -n "$RESCOMP"; then
27868 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27869 echo "${ECHO_T}$RESCOMP" >&6
27871 echo "$as_me:$LINENO: result: no" >&5
27872 echo "${ECHO_T}no" >&6
27875 # Extract the first word of "DeRez", so it can be a program name with args.
27876 set dummy DeRez
; ac_word
=$2
27877 echo "$as_me:$LINENO: checking for $ac_word" >&5
27878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27879 if test "${ac_cv_prog_DEREZ+set}" = set; then
27880 echo $ECHO_N "(cached) $ECHO_C" >&6
27882 if test -n "$DEREZ"; then
27883 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
27885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27886 for as_dir
in $PATH
27889 test -z "$as_dir" && as_dir
=.
27890 for ac_exec_ext
in '' $ac_executable_extensions; do
27891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27892 ac_cv_prog_DEREZ
="DeRez"
27893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27899 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
27902 DEREZ
=$ac_cv_prog_DEREZ
27903 if test -n "$DEREZ"; then
27904 echo "$as_me:$LINENO: result: $DEREZ" >&5
27905 echo "${ECHO_T}$DEREZ" >&6
27907 echo "$as_me:$LINENO: result: no" >&5
27908 echo "${ECHO_T}no" >&6
27911 # Extract the first word of "SetFile", so it can be a program name with args.
27912 set dummy SetFile
; ac_word
=$2
27913 echo "$as_me:$LINENO: checking for $ac_word" >&5
27914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27915 if test "${ac_cv_prog_SETFILE+set}" = set; then
27916 echo $ECHO_N "(cached) $ECHO_C" >&6
27918 if test -n "$SETFILE"; then
27919 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
27921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27922 for as_dir
in $PATH
27925 test -z "$as_dir" && as_dir
=.
27926 for ac_exec_ext
in '' $ac_executable_extensions; do
27927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27928 ac_cv_prog_SETFILE
="SetFile"
27929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27935 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
27938 SETFILE
=$ac_cv_prog_SETFILE
27939 if test -n "$SETFILE"; then
27940 echo "$as_me:$LINENO: result: $SETFILE" >&5
27941 echo "${ECHO_T}$SETFILE" >&6
27943 echo "$as_me:$LINENO: result: no" >&5
27944 echo "${ECHO_T}no" >&6
27948 MACSETFILE
="\$(SETFILE)"
27950 if test "$wxUSE_MAC" = 1; then
27951 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
27953 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27955 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
27956 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27962 if test "$wxUSE_PM" = 1; then
27963 MACRESCOMP
="emxbind -ep"
27971 echo "$as_me:$LINENO: checking for mode_t" >&5
27972 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
27973 if test "${ac_cv_type_mode_t+set}" = set; then
27974 echo $ECHO_N "(cached) $ECHO_C" >&6
27976 cat >conftest.
$ac_ext <<_ACEOF
27979 cat confdefs.h
>>conftest.
$ac_ext
27980 cat >>conftest.
$ac_ext <<_ACEOF
27981 /* end confdefs.h. */
27982 $ac_includes_default
27988 if (sizeof (mode_t))
27994 rm -f conftest.
$ac_objext
27995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27996 (eval $ac_compile) 2>conftest.er1
27998 grep -v '^ *+' conftest.er1
>conftest.err
28000 cat conftest.err
>&5
28001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28002 (exit $ac_status); } &&
28003 { ac_try
='test -z "$ac_c_werror_flag"
28004 || test ! -s conftest.err'
28005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28006 (eval $ac_try) 2>&5
28008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28009 (exit $ac_status); }; } &&
28010 { ac_try
='test -s conftest.$ac_objext'
28011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28012 (eval $ac_try) 2>&5
28014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28015 (exit $ac_status); }; }; then
28016 ac_cv_type_mode_t
=yes
28018 echo "$as_me: failed program was:" >&5
28019 sed 's/^/| /' conftest.
$ac_ext >&5
28021 ac_cv_type_mode_t
=no
28023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28025 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28026 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28027 if test $ac_cv_type_mode_t = yes; then
28031 cat >>confdefs.h
<<_ACEOF
28037 echo "$as_me:$LINENO: checking for off_t" >&5
28038 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28039 if test "${ac_cv_type_off_t+set}" = set; then
28040 echo $ECHO_N "(cached) $ECHO_C" >&6
28042 cat >conftest.
$ac_ext <<_ACEOF
28045 cat confdefs.h
>>conftest.
$ac_ext
28046 cat >>conftest.
$ac_ext <<_ACEOF
28047 /* end confdefs.h. */
28048 $ac_includes_default
28054 if (sizeof (off_t))
28060 rm -f conftest.
$ac_objext
28061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28062 (eval $ac_compile) 2>conftest.er1
28064 grep -v '^ *+' conftest.er1
>conftest.err
28066 cat conftest.err
>&5
28067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28068 (exit $ac_status); } &&
28069 { ac_try
='test -z "$ac_c_werror_flag"
28070 || test ! -s conftest.err'
28071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28072 (eval $ac_try) 2>&5
28074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28075 (exit $ac_status); }; } &&
28076 { ac_try
='test -s conftest.$ac_objext'
28077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28078 (eval $ac_try) 2>&5
28080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28081 (exit $ac_status); }; }; then
28082 ac_cv_type_off_t
=yes
28084 echo "$as_me: failed program was:" >&5
28085 sed 's/^/| /' conftest.
$ac_ext >&5
28087 ac_cv_type_off_t
=no
28089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28091 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28092 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28093 if test $ac_cv_type_off_t = yes; then
28097 cat >>confdefs.h
<<_ACEOF
28103 echo "$as_me:$LINENO: checking for pid_t" >&5
28104 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28105 if test "${ac_cv_type_pid_t+set}" = set; then
28106 echo $ECHO_N "(cached) $ECHO_C" >&6
28108 cat >conftest.
$ac_ext <<_ACEOF
28111 cat confdefs.h
>>conftest.
$ac_ext
28112 cat >>conftest.
$ac_ext <<_ACEOF
28113 /* end confdefs.h. */
28114 $ac_includes_default
28120 if (sizeof (pid_t))
28126 rm -f conftest.
$ac_objext
28127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28128 (eval $ac_compile) 2>conftest.er1
28130 grep -v '^ *+' conftest.er1
>conftest.err
28132 cat conftest.err
>&5
28133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28134 (exit $ac_status); } &&
28135 { ac_try
='test -z "$ac_c_werror_flag"
28136 || test ! -s conftest.err'
28137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28138 (eval $ac_try) 2>&5
28140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28141 (exit $ac_status); }; } &&
28142 { ac_try
='test -s conftest.$ac_objext'
28143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28144 (eval $ac_try) 2>&5
28146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28147 (exit $ac_status); }; }; then
28148 ac_cv_type_pid_t
=yes
28150 echo "$as_me: failed program was:" >&5
28151 sed 's/^/| /' conftest.
$ac_ext >&5
28153 ac_cv_type_pid_t
=no
28155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28157 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28158 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28159 if test $ac_cv_type_pid_t = yes; then
28163 cat >>confdefs.h
<<_ACEOF
28169 echo "$as_me:$LINENO: checking for size_t" >&5
28170 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28171 if test "${ac_cv_type_size_t+set}" = set; then
28172 echo $ECHO_N "(cached) $ECHO_C" >&6
28174 cat >conftest.
$ac_ext <<_ACEOF
28177 cat confdefs.h
>>conftest.
$ac_ext
28178 cat >>conftest.
$ac_ext <<_ACEOF
28179 /* end confdefs.h. */
28180 $ac_includes_default
28186 if (sizeof (size_t))
28192 rm -f conftest.
$ac_objext
28193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28194 (eval $ac_compile) 2>conftest.er1
28196 grep -v '^ *+' conftest.er1
>conftest.err
28198 cat conftest.err
>&5
28199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28200 (exit $ac_status); } &&
28201 { ac_try
='test -z "$ac_c_werror_flag"
28202 || test ! -s conftest.err'
28203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28204 (eval $ac_try) 2>&5
28206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28207 (exit $ac_status); }; } &&
28208 { ac_try
='test -s conftest.$ac_objext'
28209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28210 (eval $ac_try) 2>&5
28212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28213 (exit $ac_status); }; }; then
28214 ac_cv_type_size_t
=yes
28216 echo "$as_me: failed program was:" >&5
28217 sed 's/^/| /' conftest.
$ac_ext >&5
28219 ac_cv_type_size_t
=no
28221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28223 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28224 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28225 if test $ac_cv_type_size_t = yes; then
28229 cat >>confdefs.h
<<_ACEOF
28230 #define size_t unsigned
28235 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28236 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28237 if test "${ac_cv_type_uid_t+set}" = set; then
28238 echo $ECHO_N "(cached) $ECHO_C" >&6
28240 cat >conftest.
$ac_ext <<_ACEOF
28243 cat confdefs.h
>>conftest.
$ac_ext
28244 cat >>conftest.
$ac_ext <<_ACEOF
28245 /* end confdefs.h. */
28246 #include <sys/types.h>
28249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28250 $EGREP "uid_t" >/dev
/null
2>&1; then
28251 ac_cv_type_uid_t
=yes
28253 ac_cv_type_uid_t
=no
28258 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28259 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28260 if test $ac_cv_type_uid_t = no
; then
28262 cat >>confdefs.h
<<\_ACEOF
28267 cat >>confdefs.h
<<\_ACEOF
28277 ac_cpp
='$CXXCPP $CPPFLAGS'
28278 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28279 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28280 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28282 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28283 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28284 if test "${wx_cv_size_t_is_uint+set}" = set; then
28285 echo $ECHO_N "(cached) $ECHO_C" >&6
28288 cat >conftest.
$ac_ext <<_ACEOF
28291 cat confdefs.h
>>conftest.
$ac_ext
28292 cat >>conftest.
$ac_ext <<_ACEOF
28293 /* end confdefs.h. */
28294 #include <stddef.h>
28301 struct Foo { void foo(size_t); void foo(unsigned int); };
28309 rm -f conftest.
$ac_objext
28310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28311 (eval $ac_compile) 2>conftest.er1
28313 grep -v '^ *+' conftest.er1
>conftest.err
28315 cat conftest.err
>&5
28316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28317 (exit $ac_status); } &&
28318 { ac_try
='test -z "$ac_cxx_werror_flag"
28319 || test ! -s conftest.err'
28320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28321 (eval $ac_try) 2>&5
28323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28324 (exit $ac_status); }; } &&
28325 { ac_try
='test -s conftest.$ac_objext'
28326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28327 (eval $ac_try) 2>&5
28329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28330 (exit $ac_status); }; }; then
28331 wx_cv_size_t_is_uint
=no
28333 echo "$as_me: failed program was:" >&5
28334 sed 's/^/| /' conftest.
$ac_ext >&5
28336 wx_cv_size_t_is_uint
=yes
28339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28343 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28344 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28346 if test "$wx_cv_size_t_is_uint" = "yes"; then
28347 cat >>confdefs.h
<<\_ACEOF
28348 #define wxSIZE_T_IS_UINT 1
28352 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28353 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28354 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28355 echo $ECHO_N "(cached) $ECHO_C" >&6
28357 cat >conftest.
$ac_ext <<_ACEOF
28360 cat confdefs.h
>>conftest.
$ac_ext
28361 cat >>conftest.
$ac_ext <<_ACEOF
28362 /* end confdefs.h. */
28363 #include <stddef.h>
28370 struct Foo { void foo(size_t); void foo(unsigned long); };
28378 rm -f conftest.
$ac_objext
28379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28380 (eval $ac_compile) 2>conftest.er1
28382 grep -v '^ *+' conftest.er1
>conftest.err
28384 cat conftest.err
>&5
28385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28386 (exit $ac_status); } &&
28387 { ac_try
='test -z "$ac_cxx_werror_flag"
28388 || test ! -s conftest.err'
28389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28390 (eval $ac_try) 2>&5
28392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28393 (exit $ac_status); }; } &&
28394 { ac_try
='test -s conftest.$ac_objext'
28395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28396 (eval $ac_try) 2>&5
28398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28399 (exit $ac_status); }; }; then
28400 wx_cv_size_t_is_ulong
=no
28402 echo "$as_me: failed program was:" >&5
28403 sed 's/^/| /' conftest.
$ac_ext >&5
28405 wx_cv_size_t_is_ulong
=yes
28408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28411 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28412 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28414 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28415 cat >>confdefs.h
<<\_ACEOF
28416 #define wxSIZE_T_IS_ULONG 1
28423 ac_cpp
='$CPP $CPPFLAGS'
28424 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28425 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28426 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28430 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28431 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28432 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28433 echo $ECHO_N "(cached) $ECHO_C" >&6
28436 cat >conftest.
$ac_ext <<_ACEOF
28439 cat confdefs.h
>>conftest.
$ac_ext
28440 cat >>conftest.
$ac_ext <<_ACEOF
28441 /* end confdefs.h. */
28455 rm -f conftest.
$ac_objext
28456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28457 (eval $ac_compile) 2>conftest.er1
28459 grep -v '^ *+' conftest.er1
>conftest.err
28461 cat conftest.err
>&5
28462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28463 (exit $ac_status); } &&
28464 { ac_try
='test -z "$ac_c_werror_flag"
28465 || test ! -s conftest.err'
28466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28467 (eval $ac_try) 2>&5
28469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28470 (exit $ac_status); }; } &&
28471 { ac_try
='test -s conftest.$ac_objext'
28472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28473 (eval $ac_try) 2>&5
28475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28476 (exit $ac_status); }; }; then
28478 wx_cv_struct_pw_gecos
=yes
28481 echo "$as_me: failed program was:" >&5
28482 sed 's/^/| /' conftest.
$ac_ext >&5
28485 wx_cv_struct_pw_gecos
=no
28489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28493 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28494 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28496 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28497 cat >>confdefs.h
<<\_ACEOF
28498 #define HAVE_PW_GECOS 1
28504 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28505 cat >>confdefs.h
<<\_ACEOF
28506 #define wxUSE_WCHAR_T 1
28513 for ac_func
in wcslen
28515 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28516 echo "$as_me:$LINENO: checking for $ac_func" >&5
28517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28518 if eval "test \"\${$as_ac_var+set}\" = set"; then
28519 echo $ECHO_N "(cached) $ECHO_C" >&6
28521 cat >conftest.
$ac_ext <<_ACEOF
28524 cat confdefs.h
>>conftest.
$ac_ext
28525 cat >>conftest.
$ac_ext <<_ACEOF
28526 /* end confdefs.h. */
28527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28529 #define $ac_func innocuous_$ac_func
28531 /* System header to define __stub macros and hopefully few prototypes,
28532 which can conflict with char $ac_func (); below.
28533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28534 <limits.h> exists even on freestanding compilers. */
28537 # include <limits.h>
28539 # include <assert.h>
28544 /* Override any gcc2 internal prototype to avoid an error. */
28549 /* We use char because int might match the return type of a gcc2
28550 builtin and then its argument prototype would still apply. */
28552 /* The GNU C library defines this for functions which it implements
28553 to always fail with ENOSYS. Some functions are actually named
28554 something starting with __ and the normal name is an alias. */
28555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28558 char (*f) () = $ac_func;
28567 return f != $ac_func;
28572 rm -f conftest.
$ac_objext conftest
$ac_exeext
28573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28574 (eval $ac_link) 2>conftest.er1
28576 grep -v '^ *+' conftest.er1
>conftest.err
28578 cat conftest.err
>&5
28579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28580 (exit $ac_status); } &&
28581 { ac_try
='test -z "$ac_c_werror_flag"
28582 || test ! -s conftest.err'
28583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28584 (eval $ac_try) 2>&5
28586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28587 (exit $ac_status); }; } &&
28588 { ac_try
='test -s conftest$ac_exeext'
28589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28590 (eval $ac_try) 2>&5
28592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28593 (exit $ac_status); }; }; then
28594 eval "$as_ac_var=yes"
28596 echo "$as_me: failed program was:" >&5
28597 sed 's/^/| /' conftest.
$ac_ext >&5
28599 eval "$as_ac_var=no"
28601 rm -f conftest.err conftest.
$ac_objext \
28602 conftest
$ac_exeext conftest.
$ac_ext
28604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28606 if test `eval echo '${'$as_ac_var'}'` = yes; then
28607 cat >>confdefs.h
<<_ACEOF
28608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28615 if test "$WCSLEN_FOUND" = 0; then
28616 if test "$TOOLKIT" = "MSW"; then
28617 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28618 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28619 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28620 echo $ECHO_N "(cached) $ECHO_C" >&6
28622 ac_check_lib_save_LIBS
=$LIBS
28623 LIBS
="-lmsvcrt $LIBS"
28624 cat >conftest.
$ac_ext <<_ACEOF
28627 cat confdefs.h
>>conftest.
$ac_ext
28628 cat >>conftest.
$ac_ext <<_ACEOF
28629 /* end confdefs.h. */
28631 /* Override any gcc2 internal prototype to avoid an error. */
28635 /* We use char because int might match the return type of a gcc2
28636 builtin and then its argument prototype would still apply. */
28646 rm -f conftest.
$ac_objext conftest
$ac_exeext
28647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28648 (eval $ac_link) 2>conftest.er1
28650 grep -v '^ *+' conftest.er1
>conftest.err
28652 cat conftest.err
>&5
28653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28654 (exit $ac_status); } &&
28655 { ac_try
='test -z "$ac_c_werror_flag"
28656 || test ! -s conftest.err'
28657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28658 (eval $ac_try) 2>&5
28660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28661 (exit $ac_status); }; } &&
28662 { ac_try
='test -s conftest$ac_exeext'
28663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28664 (eval $ac_try) 2>&5
28666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28667 (exit $ac_status); }; }; then
28668 ac_cv_lib_msvcrt_wcslen
=yes
28670 echo "$as_me: failed program was:" >&5
28671 sed 's/^/| /' conftest.
$ac_ext >&5
28673 ac_cv_lib_msvcrt_wcslen
=no
28675 rm -f conftest.err conftest.
$ac_objext \
28676 conftest
$ac_exeext conftest.
$ac_ext
28677 LIBS
=$ac_check_lib_save_LIBS
28679 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28680 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28681 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28686 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28687 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28688 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28689 echo $ECHO_N "(cached) $ECHO_C" >&6
28691 ac_check_lib_save_LIBS
=$LIBS
28693 cat >conftest.
$ac_ext <<_ACEOF
28696 cat confdefs.h
>>conftest.
$ac_ext
28697 cat >>conftest.
$ac_ext <<_ACEOF
28698 /* end confdefs.h. */
28700 /* Override any gcc2 internal prototype to avoid an error. */
28704 /* We use char because int might match the return type of a gcc2
28705 builtin and then its argument prototype would still apply. */
28715 rm -f conftest.
$ac_objext conftest
$ac_exeext
28716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28717 (eval $ac_link) 2>conftest.er1
28719 grep -v '^ *+' conftest.er1
>conftest.err
28721 cat conftest.err
>&5
28722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28723 (exit $ac_status); } &&
28724 { ac_try
='test -z "$ac_c_werror_flag"
28725 || test ! -s conftest.err'
28726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28727 (eval $ac_try) 2>&5
28729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28730 (exit $ac_status); }; } &&
28731 { ac_try
='test -s conftest$ac_exeext'
28732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28733 (eval $ac_try) 2>&5
28735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28736 (exit $ac_status); }; }; then
28737 ac_cv_lib_w_wcslen
=yes
28739 echo "$as_me: failed program was:" >&5
28740 sed 's/^/| /' conftest.
$ac_ext >&5
28742 ac_cv_lib_w_wcslen
=no
28744 rm -f conftest.err conftest.
$ac_objext \
28745 conftest
$ac_exeext conftest.
$ac_ext
28746 LIBS
=$ac_check_lib_save_LIBS
28748 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28749 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28750 if test $ac_cv_lib_w_wcslen = yes; then
28760 if test "$WCSLEN_FOUND" = 1; then
28761 cat >>confdefs.h
<<\_ACEOF
28762 #define HAVE_WCSLEN 1
28767 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
28768 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
28772 for ac_func
in wcsrtombs
28774 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28775 echo "$as_me:$LINENO: checking for $ac_func" >&5
28776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28777 if eval "test \"\${$as_ac_var+set}\" = set"; then
28778 echo $ECHO_N "(cached) $ECHO_C" >&6
28780 cat >conftest.
$ac_ext <<_ACEOF
28783 cat confdefs.h
>>conftest.
$ac_ext
28784 cat >>conftest.
$ac_ext <<_ACEOF
28785 /* end confdefs.h. */
28786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28788 #define $ac_func innocuous_$ac_func
28790 /* System header to define __stub macros and hopefully few prototypes,
28791 which can conflict with char $ac_func (); below.
28792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28793 <limits.h> exists even on freestanding compilers. */
28796 # include <limits.h>
28798 # include <assert.h>
28803 /* Override any gcc2 internal prototype to avoid an error. */
28808 /* We use char because int might match the return type of a gcc2
28809 builtin and then its argument prototype would still apply. */
28811 /* The GNU C library defines this for functions which it implements
28812 to always fail with ENOSYS. Some functions are actually named
28813 something starting with __ and the normal name is an alias. */
28814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28817 char (*f) () = $ac_func;
28826 return f != $ac_func;
28831 rm -f conftest.
$ac_objext conftest
$ac_exeext
28832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28833 (eval $ac_link) 2>conftest.er1
28835 grep -v '^ *+' conftest.er1
>conftest.err
28837 cat conftest.err
>&5
28838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28839 (exit $ac_status); } &&
28840 { ac_try
='test -z "$ac_c_werror_flag"
28841 || test ! -s conftest.err'
28842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28843 (eval $ac_try) 2>&5
28845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28846 (exit $ac_status); }; } &&
28847 { ac_try
='test -s conftest$ac_exeext'
28848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28849 (eval $ac_try) 2>&5
28851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28852 (exit $ac_status); }; }; then
28853 eval "$as_ac_var=yes"
28855 echo "$as_me: failed program was:" >&5
28856 sed 's/^/| /' conftest.
$ac_ext >&5
28858 eval "$as_ac_var=no"
28860 rm -f conftest.err conftest.
$ac_objext \
28861 conftest
$ac_exeext conftest.
$ac_ext
28863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28865 if test `eval echo '${'$as_ac_var'}'` = yes; then
28866 cat >>confdefs.h
<<_ACEOF
28867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28874 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
28875 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
28881 ac_cpp
='$CXXCPP $CPPFLAGS'
28882 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28883 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28884 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28888 for ac_func
in vsnprintf
28890 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28891 echo "$as_me:$LINENO: checking for $ac_func" >&5
28892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28893 if eval "test \"\${$as_ac_var+set}\" = set"; then
28894 echo $ECHO_N "(cached) $ECHO_C" >&6
28896 cat >conftest.
$ac_ext <<_ACEOF
28899 cat confdefs.h
>>conftest.
$ac_ext
28900 cat >>conftest.
$ac_ext <<_ACEOF
28901 /* end confdefs.h. */
28902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28904 #define $ac_func innocuous_$ac_func
28906 /* System header to define __stub macros and hopefully few prototypes,
28907 which can conflict with char $ac_func (); below.
28908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28909 <limits.h> exists even on freestanding compilers. */
28912 # include <limits.h>
28914 # include <assert.h>
28919 /* Override any gcc2 internal prototype to avoid an error. */
28924 /* We use char because int might match the return type of a gcc2
28925 builtin and then its argument prototype would still apply. */
28927 /* The GNU C library defines this for functions which it implements
28928 to always fail with ENOSYS. Some functions are actually named
28929 something starting with __ and the normal name is an alias. */
28930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28933 char (*f) () = $ac_func;
28942 return f != $ac_func;
28947 rm -f conftest.
$ac_objext conftest
$ac_exeext
28948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28949 (eval $ac_link) 2>conftest.er1
28951 grep -v '^ *+' conftest.er1
>conftest.err
28953 cat conftest.err
>&5
28954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28955 (exit $ac_status); } &&
28956 { ac_try
='test -z "$ac_cxx_werror_flag"
28957 || test ! -s conftest.err'
28958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28959 (eval $ac_try) 2>&5
28961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28962 (exit $ac_status); }; } &&
28963 { ac_try
='test -s conftest$ac_exeext'
28964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28965 (eval $ac_try) 2>&5
28967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28968 (exit $ac_status); }; }; then
28969 eval "$as_ac_var=yes"
28971 echo "$as_me: failed program was:" >&5
28972 sed 's/^/| /' conftest.
$ac_ext >&5
28974 eval "$as_ac_var=no"
28976 rm -f conftest.err conftest.
$ac_objext \
28977 conftest
$ac_exeext conftest.
$ac_ext
28979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28981 if test `eval echo '${'$as_ac_var'}'` = yes; then
28982 cat >>confdefs.h
<<_ACEOF
28983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28990 if test "$ac_cv_func_vsnprintf" = "yes"; then
28991 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
28992 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
28993 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
28994 echo $ECHO_N "(cached) $ECHO_C" >&6
28997 cat >conftest.
$ac_ext <<_ACEOF
29000 cat confdefs.h
>>conftest.
$ac_ext
29001 cat >>conftest.
$ac_ext <<_ACEOF
29002 /* end confdefs.h. */
29005 #include <stdarg.h>
29013 vsnprintf(buf, 10u, "%s", ap);
29019 rm -f conftest.
$ac_objext
29020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29021 (eval $ac_compile) 2>conftest.er1
29023 grep -v '^ *+' conftest.er1
>conftest.err
29025 cat conftest.err
>&5
29026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29027 (exit $ac_status); } &&
29028 { ac_try
='test -z "$ac_cxx_werror_flag"
29029 || test ! -s conftest.err'
29030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29031 (eval $ac_try) 2>&5
29033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29034 (exit $ac_status); }; } &&
29035 { ac_try
='test -s conftest.$ac_objext'
29036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29037 (eval $ac_try) 2>&5
29039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29040 (exit $ac_status); }; }; then
29041 wx_cv_func_vsnprintf_decl
=yes
29043 echo "$as_me: failed program was:" >&5
29044 sed 's/^/| /' conftest.
$ac_ext >&5
29046 wx_cv_func_vsnprintf_decl
=no
29049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29053 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29054 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29056 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29057 cat >>confdefs.h
<<\_ACEOF
29058 #define HAVE_VSNPRINTF_DECL 1
29064 if test "$wxUSE_UNICODE" = yes; then
29071 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
29073 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29074 echo "$as_me:$LINENO: checking for $ac_func" >&5
29075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29076 if eval "test \"\${$as_ac_var+set}\" = set"; then
29077 echo $ECHO_N "(cached) $ECHO_C" >&6
29079 cat >conftest.
$ac_ext <<_ACEOF
29082 cat confdefs.h
>>conftest.
$ac_ext
29083 cat >>conftest.
$ac_ext <<_ACEOF
29084 /* end confdefs.h. */
29085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29087 #define $ac_func innocuous_$ac_func
29089 /* System header to define __stub macros and hopefully few prototypes,
29090 which can conflict with char $ac_func (); below.
29091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29092 <limits.h> exists even on freestanding compilers. */
29095 # include <limits.h>
29097 # include <assert.h>
29102 /* Override any gcc2 internal prototype to avoid an error. */
29107 /* We use char because int might match the return type of a gcc2
29108 builtin and then its argument prototype would still apply. */
29110 /* The GNU C library defines this for functions which it implements
29111 to always fail with ENOSYS. Some functions are actually named
29112 something starting with __ and the normal name is an alias. */
29113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29116 char (*f) () = $ac_func;
29125 return f != $ac_func;
29130 rm -f conftest.
$ac_objext conftest
$ac_exeext
29131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29132 (eval $ac_link) 2>conftest.er1
29134 grep -v '^ *+' conftest.er1
>conftest.err
29136 cat conftest.err
>&5
29137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29138 (exit $ac_status); } &&
29139 { ac_try
='test -z "$ac_cxx_werror_flag"
29140 || test ! -s conftest.err'
29141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29142 (eval $ac_try) 2>&5
29144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29145 (exit $ac_status); }; } &&
29146 { ac_try
='test -s conftest$ac_exeext'
29147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29148 (eval $ac_try) 2>&5
29150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29151 (exit $ac_status); }; }; then
29152 eval "$as_ac_var=yes"
29154 echo "$as_me: failed program was:" >&5
29155 sed 's/^/| /' conftest.
$ac_ext >&5
29157 eval "$as_ac_var=no"
29159 rm -f conftest.err conftest.
$ac_objext \
29160 conftest
$ac_exeext conftest.
$ac_ext
29162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29164 if test `eval echo '${'$as_ac_var'}'` = yes; then
29165 cat >>confdefs.h
<<_ACEOF
29166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29173 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29174 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29175 cat >conftest.
$ac_ext <<_ACEOF
29178 cat confdefs.h
>>conftest.
$ac_ext
29179 cat >>conftest.
$ac_ext <<_ACEOF
29180 /* end confdefs.h. */
29190 rm -f conftest.
$ac_objext
29191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29192 (eval $ac_compile) 2>conftest.er1
29194 grep -v '^ *+' conftest.er1
>conftest.err
29196 cat conftest.err
>&5
29197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29198 (exit $ac_status); } &&
29199 { ac_try
='test -z "$ac_cxx_werror_flag"
29200 || test ! -s conftest.err'
29201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29202 (eval $ac_try) 2>&5
29204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29205 (exit $ac_status); }; } &&
29206 { ac_try
='test -s conftest.$ac_objext'
29207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29208 (eval $ac_try) 2>&5
29210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29211 (exit $ac_status); }; }; then
29212 echo "$as_me:$LINENO: result: yes" >&5
29213 echo "${ECHO_T}yes" >&6
29214 cat >>confdefs.h
<<\_ACEOF
29215 #define HAVE__VSNWPRINTF 1
29219 echo "$as_me: failed program was:" >&5
29220 sed 's/^/| /' conftest.
$ac_ext >&5
29222 echo "$as_me:$LINENO: result: no" >&5
29223 echo "${ECHO_T}no" >&6
29225 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29229 ac_cpp
='$CPP $CPPFLAGS'
29230 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29231 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29232 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29237 if test "$TOOLKIT" != "MSW"; then
29243 ac_cpp
='$CXXCPP $CPPFLAGS'
29244 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29245 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29246 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29251 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29252 if test "${with_libiconv_prefix+set}" = set; then
29253 withval
="$with_libiconv_prefix"
29255 for dir
in `echo "$withval" | tr : ' '`; do
29256 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29257 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29262 echo "$as_me:$LINENO: checking for iconv" >&5
29263 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29264 if test "${am_cv_func_iconv+set}" = set; then
29265 echo $ECHO_N "(cached) $ECHO_C" >&6
29268 am_cv_func_iconv
="no, consider installing GNU libiconv"
29270 cat >conftest.
$ac_ext <<_ACEOF
29273 cat confdefs.h
>>conftest.
$ac_ext
29274 cat >>conftest.
$ac_ext <<_ACEOF
29275 /* end confdefs.h. */
29276 #include <stdlib.h>
29281 iconv_t cd = iconv_open("","");
29282 iconv(cd,NULL,NULL,NULL,NULL);
29288 rm -f conftest.
$ac_objext conftest
$ac_exeext
29289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29290 (eval $ac_link) 2>conftest.er1
29292 grep -v '^ *+' conftest.er1
>conftest.err
29294 cat conftest.err
>&5
29295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29296 (exit $ac_status); } &&
29297 { ac_try
='test -z "$ac_cxx_werror_flag"
29298 || test ! -s conftest.err'
29299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29300 (eval $ac_try) 2>&5
29302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29303 (exit $ac_status); }; } &&
29304 { ac_try
='test -s conftest$ac_exeext'
29305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29306 (eval $ac_try) 2>&5
29308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29309 (exit $ac_status); }; }; then
29310 am_cv_func_iconv
=yes
29312 echo "$as_me: failed program was:" >&5
29313 sed 's/^/| /' conftest.
$ac_ext >&5
29316 rm -f conftest.err conftest.
$ac_objext \
29317 conftest
$ac_exeext conftest.
$ac_ext
29318 if test "$am_cv_func_iconv" != yes; then
29319 am_save_LIBS
="$LIBS"
29320 LIBS
="$LIBS -liconv"
29321 cat >conftest.
$ac_ext <<_ACEOF
29324 cat confdefs.h
>>conftest.
$ac_ext
29325 cat >>conftest.
$ac_ext <<_ACEOF
29326 /* end confdefs.h. */
29327 #include <stdlib.h>
29332 iconv_t cd = iconv_open("","");
29333 iconv(cd,NULL,NULL,NULL,NULL);
29339 rm -f conftest.
$ac_objext conftest
$ac_exeext
29340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29341 (eval $ac_link) 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_cxx_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_exeext'
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 am_cv_lib_iconv
=yes
29362 am_cv_func_iconv
=yes
29364 echo "$as_me: failed program was:" >&5
29365 sed 's/^/| /' conftest.
$ac_ext >&5
29368 rm -f conftest.err conftest.
$ac_objext \
29369 conftest
$ac_exeext conftest.
$ac_ext
29370 LIBS
="$am_save_LIBS"
29374 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29375 echo "${ECHO_T}$am_cv_func_iconv" >&6
29376 if test "$am_cv_func_iconv" = yes; then
29378 cat >>confdefs.h
<<\_ACEOF
29379 #define HAVE_ICONV 1
29382 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29383 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29384 if test "${wx_cv_func_iconv_const+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. */
29394 #include <stdlib.h>
29400 #if defined(__STDC__) || defined(__cplusplus)
29401 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29414 rm -f conftest.
$ac_objext
29415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29416 (eval $ac_compile) 2>conftest.er1
29418 grep -v '^ *+' conftest.er1
>conftest.err
29420 cat conftest.err
>&5
29421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29422 (exit $ac_status); } &&
29423 { ac_try
='test -z "$ac_cxx_werror_flag"
29424 || test ! -s conftest.err'
29425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29426 (eval $ac_try) 2>&5
29428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29429 (exit $ac_status); }; } &&
29430 { ac_try
='test -s conftest.$ac_objext'
29431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29432 (eval $ac_try) 2>&5
29434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29435 (exit $ac_status); }; }; then
29436 wx_cv_func_iconv_const
="no"
29438 echo "$as_me: failed program was:" >&5
29439 sed 's/^/| /' conftest.
$ac_ext >&5
29441 wx_cv_func_iconv_const
="yes"
29444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29447 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29448 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29451 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29452 iconv_const
="const"
29456 cat >>confdefs.h
<<_ACEOF
29457 #define ICONV_CONST $iconv_const
29462 if test "$am_cv_lib_iconv" = yes; then
29467 LIBS
="$LIBICONV $LIBS"
29469 ac_cpp
='$CPP $CPPFLAGS'
29470 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29471 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29472 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29475 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29477 for ac_func
in sigaction
29479 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29480 echo "$as_me:$LINENO: checking for $ac_func" >&5
29481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29482 if eval "test \"\${$as_ac_var+set}\" = set"; then
29483 echo $ECHO_N "(cached) $ECHO_C" >&6
29485 cat >conftest.
$ac_ext <<_ACEOF
29488 cat confdefs.h
>>conftest.
$ac_ext
29489 cat >>conftest.
$ac_ext <<_ACEOF
29490 /* end confdefs.h. */
29491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29493 #define $ac_func innocuous_$ac_func
29495 /* System header to define __stub macros and hopefully few prototypes,
29496 which can conflict with char $ac_func (); below.
29497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29498 <limits.h> exists even on freestanding compilers. */
29501 # include <limits.h>
29503 # include <assert.h>
29508 /* Override any gcc2 internal prototype to avoid an error. */
29513 /* We use char because int might match the return type of a gcc2
29514 builtin and then its argument prototype would still apply. */
29516 /* The GNU C library defines this for functions which it implements
29517 to always fail with ENOSYS. Some functions are actually named
29518 something starting with __ and the normal name is an alias. */
29519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29522 char (*f) () = $ac_func;
29531 return f != $ac_func;
29536 rm -f conftest.
$ac_objext conftest
$ac_exeext
29537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29538 (eval $ac_link) 2>conftest.er1
29540 grep -v '^ *+' conftest.er1
>conftest.err
29542 cat conftest.err
>&5
29543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29544 (exit $ac_status); } &&
29545 { ac_try
='test -z "$ac_c_werror_flag"
29546 || test ! -s conftest.err'
29547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29548 (eval $ac_try) 2>&5
29550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29551 (exit $ac_status); }; } &&
29552 { ac_try
='test -s conftest$ac_exeext'
29553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29554 (eval $ac_try) 2>&5
29556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29557 (exit $ac_status); }; }; then
29558 eval "$as_ac_var=yes"
29560 echo "$as_me: failed program was:" >&5
29561 sed 's/^/| /' conftest.
$ac_ext >&5
29563 eval "$as_ac_var=no"
29565 rm -f conftest.err conftest.
$ac_objext \
29566 conftest
$ac_exeext conftest.
$ac_ext
29568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29570 if test `eval echo '${'$as_ac_var'}'` = yes; then
29571 cat >>confdefs.h
<<_ACEOF
29572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29579 if test "$ac_cv_func_sigaction" = "no"; then
29580 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29581 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29582 wxUSE_ON_FATAL_EXCEPTION
=no
29585 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29589 ac_cpp
='$CXXCPP $CPPFLAGS'
29590 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29591 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29592 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29595 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29596 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29597 if test "${wx_cv_type_sa_handler+set}" = set; then
29598 echo $ECHO_N "(cached) $ECHO_C" >&6
29601 cat >conftest.
$ac_ext <<_ACEOF
29604 cat confdefs.h
>>conftest.
$ac_ext
29605 cat >>conftest.
$ac_ext <<_ACEOF
29606 /* end confdefs.h. */
29607 #include <signal.h>
29612 extern void testSigHandler(int);
29614 struct sigaction sa;
29615 sa.sa_handler = testSigHandler;
29621 rm -f conftest.
$ac_objext
29622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29623 (eval $ac_compile) 2>conftest.er1
29625 grep -v '^ *+' conftest.er1
>conftest.err
29627 cat conftest.err
>&5
29628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29629 (exit $ac_status); } &&
29630 { ac_try
='test -z "$ac_cxx_werror_flag"
29631 || test ! -s conftest.err'
29632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29633 (eval $ac_try) 2>&5
29635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29636 (exit $ac_status); }; } &&
29637 { ac_try
='test -s conftest.$ac_objext'
29638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29639 (eval $ac_try) 2>&5
29641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29642 (exit $ac_status); }; }; then
29644 wx_cv_type_sa_handler
=int
29647 echo "$as_me: failed program was:" >&5
29648 sed 's/^/| /' conftest.
$ac_ext >&5
29651 wx_cv_type_sa_handler
=void
29654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29657 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29658 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29661 ac_cpp
='$CPP $CPPFLAGS'
29662 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29663 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29664 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29667 cat >>confdefs.h
<<_ACEOF
29668 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29676 for ac_func
in mkstemp mktemp
29678 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29679 echo "$as_me:$LINENO: checking for $ac_func" >&5
29680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29681 if eval "test \"\${$as_ac_var+set}\" = set"; then
29682 echo $ECHO_N "(cached) $ECHO_C" >&6
29684 cat >conftest.
$ac_ext <<_ACEOF
29687 cat confdefs.h
>>conftest.
$ac_ext
29688 cat >>conftest.
$ac_ext <<_ACEOF
29689 /* end confdefs.h. */
29690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29692 #define $ac_func innocuous_$ac_func
29694 /* System header to define __stub macros and hopefully few prototypes,
29695 which can conflict with char $ac_func (); below.
29696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29697 <limits.h> exists even on freestanding compilers. */
29700 # include <limits.h>
29702 # include <assert.h>
29707 /* Override any gcc2 internal prototype to avoid an error. */
29712 /* We use char because int might match the return type of a gcc2
29713 builtin and then its argument prototype would still apply. */
29715 /* The GNU C library defines this for functions which it implements
29716 to always fail with ENOSYS. Some functions are actually named
29717 something starting with __ and the normal name is an alias. */
29718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29721 char (*f) () = $ac_func;
29730 return f != $ac_func;
29735 rm -f conftest.
$ac_objext conftest
$ac_exeext
29736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29737 (eval $ac_link) 2>conftest.er1
29739 grep -v '^ *+' conftest.er1
>conftest.err
29741 cat conftest.err
>&5
29742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29743 (exit $ac_status); } &&
29744 { ac_try
='test -z "$ac_c_werror_flag"
29745 || test ! -s conftest.err'
29746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29747 (eval $ac_try) 2>&5
29749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29750 (exit $ac_status); }; } &&
29751 { ac_try
='test -s conftest$ac_exeext'
29752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29753 (eval $ac_try) 2>&5
29755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29756 (exit $ac_status); }; }; then
29757 eval "$as_ac_var=yes"
29759 echo "$as_me: failed program was:" >&5
29760 sed 's/^/| /' conftest.
$ac_ext >&5
29762 eval "$as_ac_var=no"
29764 rm -f conftest.err conftest.
$ac_objext \
29765 conftest
$ac_exeext conftest.
$ac_ext
29767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29769 if test `eval echo '${'$as_ac_var'}'` = yes; then
29770 cat >>confdefs.h
<<_ACEOF
29771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29778 echo "$as_me:$LINENO: checking for statfs" >&5
29779 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29780 if test "${wx_cv_func_statfs+set}" = set; then
29781 echo $ECHO_N "(cached) $ECHO_C" >&6
29783 cat >conftest.
$ac_ext <<_ACEOF
29786 cat confdefs.h
>>conftest.
$ac_ext
29787 cat >>conftest.
$ac_ext <<_ACEOF
29788 /* end confdefs.h. */
29790 #if defined(__BSD__)
29791 #include <sys/param.h>
29792 #include <sys/mount.h>
29794 #include <sys/vfs.h>
29812 rm -f conftest.
$ac_objext
29813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29814 (eval $ac_compile) 2>conftest.er1
29816 grep -v '^ *+' conftest.er1
>conftest.err
29818 cat conftest.err
>&5
29819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29820 (exit $ac_status); } &&
29821 { ac_try
='test -z "$ac_c_werror_flag"
29822 || test ! -s conftest.err'
29823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29824 (eval $ac_try) 2>&5
29826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29827 (exit $ac_status); }; } &&
29828 { ac_try
='test -s conftest.$ac_objext'
29829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29830 (eval $ac_try) 2>&5
29832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29833 (exit $ac_status); }; }; then
29835 wx_cv_func_statfs
=yes
29838 echo "$as_me: failed program was:" >&5
29839 sed 's/^/| /' conftest.
$ac_ext >&5
29842 wx_cv_func_statfs
=no
29846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29849 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29850 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29852 if test "$wx_cv_func_statfs" = "yes"; then
29853 wx_cv_type_statvfs_t
="struct statfs"
29854 cat >>confdefs.h
<<\_ACEOF
29855 #define HAVE_STATFS 1
29859 echo "$as_me:$LINENO: checking for statvfs" >&5
29860 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
29861 if test "${wx_cv_func_statvfs+set}" = set; then
29862 echo $ECHO_N "(cached) $ECHO_C" >&6
29864 cat >conftest.
$ac_ext <<_ACEOF
29867 cat confdefs.h
>>conftest.
$ac_ext
29868 cat >>conftest.
$ac_ext <<_ACEOF
29869 /* end confdefs.h. */
29871 #include <stddef.h>
29872 #include <sys/statvfs.h>
29878 statvfs("/", NULL);
29884 rm -f conftest.
$ac_objext
29885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29886 (eval $ac_compile) 2>conftest.er1
29888 grep -v '^ *+' conftest.er1
>conftest.err
29890 cat conftest.err
>&5
29891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29892 (exit $ac_status); } &&
29893 { ac_try
='test -z "$ac_c_werror_flag"
29894 || test ! -s conftest.err'
29895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29896 (eval $ac_try) 2>&5
29898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29899 (exit $ac_status); }; } &&
29900 { ac_try
='test -s conftest.$ac_objext'
29901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29902 (eval $ac_try) 2>&5
29904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29905 (exit $ac_status); }; }; then
29906 wx_cv_func_statvfs
=yes
29908 echo "$as_me: failed program was:" >&5
29909 sed 's/^/| /' conftest.
$ac_ext >&5
29911 wx_cv_func_statvfs
=no
29914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29917 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
29918 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
29920 if test "$wx_cv_func_statvfs" = "yes"; then
29924 ac_cpp
='$CXXCPP $CPPFLAGS'
29925 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29926 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29927 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29930 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
29931 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
29932 if test "${wx_cv_type_statvfs_t+set}" = set; then
29933 echo $ECHO_N "(cached) $ECHO_C" >&6
29935 cat >conftest.
$ac_ext <<_ACEOF
29938 cat confdefs.h
>>conftest.
$ac_ext
29939 cat >>conftest.
$ac_ext <<_ACEOF
29940 /* end confdefs.h. */
29942 #include <sys/statvfs.h>
29959 rm -f conftest.
$ac_objext
29960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29961 (eval $ac_compile) 2>conftest.er1
29963 grep -v '^ *+' conftest.er1
>conftest.err
29965 cat conftest.err
>&5
29966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29967 (exit $ac_status); } &&
29968 { ac_try
='test -z "$ac_cxx_werror_flag"
29969 || test ! -s conftest.err'
29970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29971 (eval $ac_try) 2>&5
29973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29974 (exit $ac_status); }; } &&
29975 { ac_try
='test -s conftest.$ac_objext'
29976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29977 (eval $ac_try) 2>&5
29979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29980 (exit $ac_status); }; }; then
29981 wx_cv_type_statvfs_t
=statvfs_t
29983 echo "$as_me: failed program was:" >&5
29984 sed 's/^/| /' conftest.
$ac_ext >&5
29987 cat >conftest.
$ac_ext <<_ACEOF
29990 cat confdefs.h
>>conftest.
$ac_ext
29991 cat >>conftest.
$ac_ext <<_ACEOF
29992 /* end confdefs.h. */
29994 #include <sys/statvfs.h>
30011 rm -f conftest.
$ac_objext
30012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30013 (eval $ac_compile) 2>conftest.er1
30015 grep -v '^ *+' conftest.er1
>conftest.err
30017 cat conftest.err
>&5
30018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30019 (exit $ac_status); } &&
30020 { ac_try
='test -z "$ac_cxx_werror_flag"
30021 || test ! -s conftest.err'
30022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30023 (eval $ac_try) 2>&5
30025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30026 (exit $ac_status); }; } &&
30027 { ac_try
='test -s conftest.$ac_objext'
30028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30029 (eval $ac_try) 2>&5
30031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30032 (exit $ac_status); }; }; then
30033 wx_cv_type_statvfs_t
="struct statvfs"
30035 echo "$as_me: failed program was:" >&5
30036 sed 's/^/| /' conftest.
$ac_ext >&5
30038 wx_cv_type_statvfs_t
="unknown"
30041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30048 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30049 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30052 ac_cpp
='$CPP $CPPFLAGS'
30053 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30054 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30055 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30058 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30059 cat >>confdefs.h
<<\_ACEOF
30060 #define HAVE_STATVFS 1
30065 wx_cv_type_statvfs_t
="unknown"
30069 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30070 cat >>confdefs.h
<<_ACEOF
30071 #define WX_STATFS_T $wx_cv_type_statvfs_t
30075 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30076 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30079 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30082 for ac_func
in fcntl flock
30084 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30085 echo "$as_me:$LINENO: checking for $ac_func" >&5
30086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30087 if eval "test \"\${$as_ac_var+set}\" = set"; then
30088 echo $ECHO_N "(cached) $ECHO_C" >&6
30090 cat >conftest.
$ac_ext <<_ACEOF
30093 cat confdefs.h
>>conftest.
$ac_ext
30094 cat >>conftest.
$ac_ext <<_ACEOF
30095 /* end confdefs.h. */
30096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30098 #define $ac_func innocuous_$ac_func
30100 /* System header to define __stub macros and hopefully few prototypes,
30101 which can conflict with char $ac_func (); below.
30102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30103 <limits.h> exists even on freestanding compilers. */
30106 # include <limits.h>
30108 # include <assert.h>
30113 /* Override any gcc2 internal prototype to avoid an error. */
30118 /* We use char because int might match the return type of a gcc2
30119 builtin and then its argument prototype would still apply. */
30121 /* The GNU C library defines this for functions which it implements
30122 to always fail with ENOSYS. Some functions are actually named
30123 something starting with __ and the normal name is an alias. */
30124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30127 char (*f) () = $ac_func;
30136 return f != $ac_func;
30141 rm -f conftest.
$ac_objext conftest
$ac_exeext
30142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30143 (eval $ac_link) 2>conftest.er1
30145 grep -v '^ *+' conftest.er1
>conftest.err
30147 cat conftest.err
>&5
30148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30149 (exit $ac_status); } &&
30150 { ac_try
='test -z "$ac_c_werror_flag"
30151 || test ! -s conftest.err'
30152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30153 (eval $ac_try) 2>&5
30155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30156 (exit $ac_status); }; } &&
30157 { ac_try
='test -s conftest$ac_exeext'
30158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30159 (eval $ac_try) 2>&5
30161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30162 (exit $ac_status); }; }; then
30163 eval "$as_ac_var=yes"
30165 echo "$as_me: failed program was:" >&5
30166 sed 's/^/| /' conftest.
$ac_ext >&5
30168 eval "$as_ac_var=no"
30170 rm -f conftest.err conftest.
$ac_objext \
30171 conftest
$ac_exeext conftest.
$ac_ext
30173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30175 if test `eval echo '${'$as_ac_var'}'` = yes; then
30176 cat >>confdefs.h
<<_ACEOF
30177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30184 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30185 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30186 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30187 wxUSE_SNGLINST_CHECKER
=no
30192 for ac_func
in timegm
30194 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30195 echo "$as_me:$LINENO: checking for $ac_func" >&5
30196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30197 if eval "test \"\${$as_ac_var+set}\" = set"; then
30198 echo $ECHO_N "(cached) $ECHO_C" >&6
30200 cat >conftest.
$ac_ext <<_ACEOF
30203 cat confdefs.h
>>conftest.
$ac_ext
30204 cat >>conftest.
$ac_ext <<_ACEOF
30205 /* end confdefs.h. */
30206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30208 #define $ac_func innocuous_$ac_func
30210 /* System header to define __stub macros and hopefully few prototypes,
30211 which can conflict with char $ac_func (); below.
30212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30213 <limits.h> exists even on freestanding compilers. */
30216 # include <limits.h>
30218 # include <assert.h>
30223 /* Override any gcc2 internal prototype to avoid an error. */
30228 /* We use char because int might match the return type of a gcc2
30229 builtin and then its argument prototype would still apply. */
30231 /* The GNU C library defines this for functions which it implements
30232 to always fail with ENOSYS. Some functions are actually named
30233 something starting with __ and the normal name is an alias. */
30234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30237 char (*f) () = $ac_func;
30246 return f != $ac_func;
30251 rm -f conftest.
$ac_objext conftest
$ac_exeext
30252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30253 (eval $ac_link) 2>conftest.er1
30255 grep -v '^ *+' conftest.er1
>conftest.err
30257 cat conftest.err
>&5
30258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30259 (exit $ac_status); } &&
30260 { ac_try
='test -z "$ac_c_werror_flag"
30261 || test ! -s conftest.err'
30262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30263 (eval $ac_try) 2>&5
30265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30266 (exit $ac_status); }; } &&
30267 { ac_try
='test -s conftest$ac_exeext'
30268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30269 (eval $ac_try) 2>&5
30271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30272 (exit $ac_status); }; }; then
30273 eval "$as_ac_var=yes"
30275 echo "$as_me: failed program was:" >&5
30276 sed 's/^/| /' conftest.
$ac_ext >&5
30278 eval "$as_ac_var=no"
30280 rm -f conftest.err conftest.
$ac_objext \
30281 conftest
$ac_exeext conftest.
$ac_ext
30283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30285 if test `eval echo '${'$as_ac_var'}'` = yes; then
30286 cat >>confdefs.h
<<_ACEOF
30287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30296 for ac_func
in putenv setenv
30298 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30299 echo "$as_me:$LINENO: checking for $ac_func" >&5
30300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30301 if eval "test \"\${$as_ac_var+set}\" = set"; then
30302 echo $ECHO_N "(cached) $ECHO_C" >&6
30304 cat >conftest.
$ac_ext <<_ACEOF
30307 cat confdefs.h
>>conftest.
$ac_ext
30308 cat >>conftest.
$ac_ext <<_ACEOF
30309 /* end confdefs.h. */
30310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30312 #define $ac_func innocuous_$ac_func
30314 /* System header to define __stub macros and hopefully few prototypes,
30315 which can conflict with char $ac_func (); below.
30316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30317 <limits.h> exists even on freestanding compilers. */
30320 # include <limits.h>
30322 # include <assert.h>
30327 /* Override any gcc2 internal prototype to avoid an error. */
30332 /* We use char because int might match the return type of a gcc2
30333 builtin and then its argument prototype would still apply. */
30335 /* The GNU C library defines this for functions which it implements
30336 to always fail with ENOSYS. Some functions are actually named
30337 something starting with __ and the normal name is an alias. */
30338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30341 char (*f) () = $ac_func;
30350 return f != $ac_func;
30355 rm -f conftest.
$ac_objext conftest
$ac_exeext
30356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30357 (eval $ac_link) 2>conftest.er1
30359 grep -v '^ *+' conftest.er1
>conftest.err
30361 cat conftest.err
>&5
30362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30363 (exit $ac_status); } &&
30364 { ac_try
='test -z "$ac_c_werror_flag"
30365 || test ! -s conftest.err'
30366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30367 (eval $ac_try) 2>&5
30369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30370 (exit $ac_status); }; } &&
30371 { ac_try
='test -s conftest$ac_exeext'
30372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30373 (eval $ac_try) 2>&5
30375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30376 (exit $ac_status); }; }; then
30377 eval "$as_ac_var=yes"
30379 echo "$as_me: failed program was:" >&5
30380 sed 's/^/| /' conftest.
$ac_ext >&5
30382 eval "$as_ac_var=no"
30384 rm -f conftest.err conftest.
$ac_objext \
30385 conftest
$ac_exeext conftest.
$ac_ext
30387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30389 if test `eval echo '${'$as_ac_var'}'` = yes; then
30390 cat >>confdefs.h
<<_ACEOF
30391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30398 HAVE_SOME_SLEEP_FUNC
=0
30399 if test "$USE_BEOS" = 1; then
30400 cat >>confdefs.h
<<\_ACEOF
30401 #define HAVE_SLEEP 1
30404 HAVE_SOME_SLEEP_FUNC
=1
30407 if test "$USE_DARWIN" = 1; then
30408 cat >>confdefs.h
<<\_ACEOF
30409 #define HAVE_USLEEP 1
30412 HAVE_SOME_SLEEP_FUNC
=1
30415 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30418 for ac_func
in nanosleep
30420 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30421 echo "$as_me:$LINENO: checking for $ac_func" >&5
30422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30423 if eval "test \"\${$as_ac_var+set}\" = set"; then
30424 echo $ECHO_N "(cached) $ECHO_C" >&6
30426 cat >conftest.
$ac_ext <<_ACEOF
30429 cat confdefs.h
>>conftest.
$ac_ext
30430 cat >>conftest.
$ac_ext <<_ACEOF
30431 /* end confdefs.h. */
30432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30434 #define $ac_func innocuous_$ac_func
30436 /* System header to define __stub macros and hopefully few prototypes,
30437 which can conflict with char $ac_func (); below.
30438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30439 <limits.h> exists even on freestanding compilers. */
30442 # include <limits.h>
30444 # include <assert.h>
30449 /* Override any gcc2 internal prototype to avoid an error. */
30454 /* We use char because int might match the return type of a gcc2
30455 builtin and then its argument prototype would still apply. */
30457 /* The GNU C library defines this for functions which it implements
30458 to always fail with ENOSYS. Some functions are actually named
30459 something starting with __ and the normal name is an alias. */
30460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30463 char (*f) () = $ac_func;
30472 return f != $ac_func;
30477 rm -f conftest.
$ac_objext conftest
$ac_exeext
30478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30479 (eval $ac_link) 2>conftest.er1
30481 grep -v '^ *+' conftest.er1
>conftest.err
30483 cat conftest.err
>&5
30484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30485 (exit $ac_status); } &&
30486 { ac_try
='test -z "$ac_c_werror_flag"
30487 || test ! -s conftest.err'
30488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30489 (eval $ac_try) 2>&5
30491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30492 (exit $ac_status); }; } &&
30493 { ac_try
='test -s conftest$ac_exeext'
30494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30495 (eval $ac_try) 2>&5
30497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30498 (exit $ac_status); }; }; then
30499 eval "$as_ac_var=yes"
30501 echo "$as_me: failed program was:" >&5
30502 sed 's/^/| /' conftest.
$ac_ext >&5
30504 eval "$as_ac_var=no"
30506 rm -f conftest.err conftest.
$ac_objext \
30507 conftest
$ac_exeext conftest.
$ac_ext
30509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30511 if test `eval echo '${'$as_ac_var'}'` = yes; then
30512 cat >>confdefs.h
<<_ACEOF
30513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30515 cat >>confdefs.h
<<\_ACEOF
30516 #define HAVE_NANOSLEEP 1
30521 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30522 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30523 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30524 echo $ECHO_N "(cached) $ECHO_C" >&6
30526 ac_check_lib_save_LIBS
=$LIBS
30527 LIBS
="-lposix4 $LIBS"
30528 cat >conftest.
$ac_ext <<_ACEOF
30531 cat confdefs.h
>>conftest.
$ac_ext
30532 cat >>conftest.
$ac_ext <<_ACEOF
30533 /* end confdefs.h. */
30535 /* Override any gcc2 internal prototype to avoid an error. */
30539 /* We use char because int might match the return type of a gcc2
30540 builtin and then its argument prototype would still apply. */
30550 rm -f conftest.
$ac_objext conftest
$ac_exeext
30551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30552 (eval $ac_link) 2>conftest.er1
30554 grep -v '^ *+' conftest.er1
>conftest.err
30556 cat conftest.err
>&5
30557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30558 (exit $ac_status); } &&
30559 { ac_try
='test -z "$ac_c_werror_flag"
30560 || test ! -s conftest.err'
30561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30562 (eval $ac_try) 2>&5
30564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30565 (exit $ac_status); }; } &&
30566 { ac_try
='test -s conftest$ac_exeext'
30567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30568 (eval $ac_try) 2>&5
30570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30571 (exit $ac_status); }; }; then
30572 ac_cv_lib_posix4_nanosleep
=yes
30574 echo "$as_me: failed program was:" >&5
30575 sed 's/^/| /' conftest.
$ac_ext >&5
30577 ac_cv_lib_posix4_nanosleep
=no
30579 rm -f conftest.err conftest.
$ac_objext \
30580 conftest
$ac_exeext conftest.
$ac_ext
30581 LIBS
=$ac_check_lib_save_LIBS
30583 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30584 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30585 if test $ac_cv_lib_posix4_nanosleep = yes; then
30587 cat >>confdefs.h
<<\_ACEOF
30588 #define HAVE_NANOSLEEP 1
30591 POSIX4_LINK
=" -lposix4"
30596 for ac_func
in usleep
30598 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30599 echo "$as_me:$LINENO: checking for $ac_func" >&5
30600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30601 if eval "test \"\${$as_ac_var+set}\" = set"; then
30602 echo $ECHO_N "(cached) $ECHO_C" >&6
30604 cat >conftest.
$ac_ext <<_ACEOF
30607 cat confdefs.h
>>conftest.
$ac_ext
30608 cat >>conftest.
$ac_ext <<_ACEOF
30609 /* end confdefs.h. */
30610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30612 #define $ac_func innocuous_$ac_func
30614 /* System header to define __stub macros and hopefully few prototypes,
30615 which can conflict with char $ac_func (); below.
30616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30617 <limits.h> exists even on freestanding compilers. */
30620 # include <limits.h>
30622 # include <assert.h>
30627 /* Override any gcc2 internal prototype to avoid an error. */
30632 /* We use char because int might match the return type of a gcc2
30633 builtin and then its argument prototype would still apply. */
30635 /* The GNU C library defines this for functions which it implements
30636 to always fail with ENOSYS. Some functions are actually named
30637 something starting with __ and the normal name is an alias. */
30638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30641 char (*f) () = $ac_func;
30650 return f != $ac_func;
30655 rm -f conftest.
$ac_objext conftest
$ac_exeext
30656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30657 (eval $ac_link) 2>conftest.er1
30659 grep -v '^ *+' conftest.er1
>conftest.err
30661 cat conftest.err
>&5
30662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30663 (exit $ac_status); } &&
30664 { ac_try
='test -z "$ac_c_werror_flag"
30665 || test ! -s conftest.err'
30666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30667 (eval $ac_try) 2>&5
30669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30670 (exit $ac_status); }; } &&
30671 { ac_try
='test -s conftest$ac_exeext'
30672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30673 (eval $ac_try) 2>&5
30675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30676 (exit $ac_status); }; }; then
30677 eval "$as_ac_var=yes"
30679 echo "$as_me: failed program was:" >&5
30680 sed 's/^/| /' conftest.
$ac_ext >&5
30682 eval "$as_ac_var=no"
30684 rm -f conftest.err conftest.
$ac_objext \
30685 conftest
$ac_exeext conftest.
$ac_ext
30687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30689 if test `eval echo '${'$as_ac_var'}'` = yes; then
30690 cat >>confdefs.h
<<_ACEOF
30691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30693 cat >>confdefs.h
<<\_ACEOF
30694 #define HAVE_USLEEP 1
30698 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30699 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30717 for ac_func
in uname gethostname
30719 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30720 echo "$as_me:$LINENO: checking for $ac_func" >&5
30721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30722 if eval "test \"\${$as_ac_var+set}\" = set"; then
30723 echo $ECHO_N "(cached) $ECHO_C" >&6
30725 cat >conftest.
$ac_ext <<_ACEOF
30728 cat confdefs.h
>>conftest.
$ac_ext
30729 cat >>conftest.
$ac_ext <<_ACEOF
30730 /* end confdefs.h. */
30731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30733 #define $ac_func innocuous_$ac_func
30735 /* System header to define __stub macros and hopefully few prototypes,
30736 which can conflict with char $ac_func (); below.
30737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30738 <limits.h> exists even on freestanding compilers. */
30741 # include <limits.h>
30743 # include <assert.h>
30748 /* Override any gcc2 internal prototype to avoid an error. */
30753 /* We use char because int might match the return type of a gcc2
30754 builtin and then its argument prototype would still apply. */
30756 /* The GNU C library defines this for functions which it implements
30757 to always fail with ENOSYS. Some functions are actually named
30758 something starting with __ and the normal name is an alias. */
30759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30762 char (*f) () = $ac_func;
30771 return f != $ac_func;
30776 rm -f conftest.
$ac_objext conftest
$ac_exeext
30777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30778 (eval $ac_link) 2>conftest.er1
30780 grep -v '^ *+' conftest.er1
>conftest.err
30782 cat conftest.err
>&5
30783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30784 (exit $ac_status); } &&
30785 { ac_try
='test -z "$ac_c_werror_flag"
30786 || test ! -s conftest.err'
30787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30788 (eval $ac_try) 2>&5
30790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30791 (exit $ac_status); }; } &&
30792 { ac_try
='test -s conftest$ac_exeext'
30793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30794 (eval $ac_try) 2>&5
30796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30797 (exit $ac_status); }; }; then
30798 eval "$as_ac_var=yes"
30800 echo "$as_me: failed program was:" >&5
30801 sed 's/^/| /' conftest.
$ac_ext >&5
30803 eval "$as_ac_var=no"
30805 rm -f conftest.err conftest.
$ac_objext \
30806 conftest
$ac_exeext conftest.
$ac_ext
30808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30810 if test `eval echo '${'$as_ac_var'}'` = yes; then
30811 cat >>confdefs.h
<<_ACEOF
30812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30822 ac_cpp
='$CXXCPP $CPPFLAGS'
30823 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30824 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30825 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30829 for ac_func
in strtok_r
30831 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30832 echo "$as_me:$LINENO: checking for $ac_func" >&5
30833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30834 if eval "test \"\${$as_ac_var+set}\" = set"; then
30835 echo $ECHO_N "(cached) $ECHO_C" >&6
30837 cat >conftest.
$ac_ext <<_ACEOF
30840 cat confdefs.h
>>conftest.
$ac_ext
30841 cat >>conftest.
$ac_ext <<_ACEOF
30842 /* end confdefs.h. */
30843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30845 #define $ac_func innocuous_$ac_func
30847 /* System header to define __stub macros and hopefully few prototypes,
30848 which can conflict with char $ac_func (); below.
30849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30850 <limits.h> exists even on freestanding compilers. */
30853 # include <limits.h>
30855 # include <assert.h>
30860 /* Override any gcc2 internal prototype to avoid an error. */
30865 /* We use char because int might match the return type of a gcc2
30866 builtin and then its argument prototype would still apply. */
30868 /* The GNU C library defines this for functions which it implements
30869 to always fail with ENOSYS. Some functions are actually named
30870 something starting with __ and the normal name is an alias. */
30871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30874 char (*f) () = $ac_func;
30883 return f != $ac_func;
30888 rm -f conftest.
$ac_objext conftest
$ac_exeext
30889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30890 (eval $ac_link) 2>conftest.er1
30892 grep -v '^ *+' conftest.er1
>conftest.err
30894 cat conftest.err
>&5
30895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30896 (exit $ac_status); } &&
30897 { ac_try
='test -z "$ac_cxx_werror_flag"
30898 || test ! -s conftest.err'
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); }; } &&
30904 { ac_try
='test -s conftest$ac_exeext'
30905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30906 (eval $ac_try) 2>&5
30908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30909 (exit $ac_status); }; }; then
30910 eval "$as_ac_var=yes"
30912 echo "$as_me: failed program was:" >&5
30913 sed 's/^/| /' conftest.
$ac_ext >&5
30915 eval "$as_ac_var=no"
30917 rm -f conftest.err conftest.
$ac_objext \
30918 conftest
$ac_exeext conftest.
$ac_ext
30920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30922 if test `eval echo '${'$as_ac_var'}'` = yes; then
30923 cat >>confdefs.h
<<_ACEOF
30924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30932 ac_cpp
='$CPP $CPPFLAGS'
30933 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30934 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30935 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30940 for ac_func
in inet_addr
30942 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30943 echo "$as_me:$LINENO: checking for $ac_func" >&5
30944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30945 if eval "test \"\${$as_ac_var+set}\" = set"; then
30946 echo $ECHO_N "(cached) $ECHO_C" >&6
30948 cat >conftest.
$ac_ext <<_ACEOF
30951 cat confdefs.h
>>conftest.
$ac_ext
30952 cat >>conftest.
$ac_ext <<_ACEOF
30953 /* end confdefs.h. */
30954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30956 #define $ac_func innocuous_$ac_func
30958 /* System header to define __stub macros and hopefully few prototypes,
30959 which can conflict with char $ac_func (); below.
30960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30961 <limits.h> exists even on freestanding compilers. */
30964 # include <limits.h>
30966 # include <assert.h>
30971 /* Override any gcc2 internal prototype to avoid an error. */
30976 /* We use char because int might match the return type of a gcc2
30977 builtin and then its argument prototype would still apply. */
30979 /* The GNU C library defines this for functions which it implements
30980 to always fail with ENOSYS. Some functions are actually named
30981 something starting with __ and the normal name is an alias. */
30982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30985 char (*f) () = $ac_func;
30994 return f != $ac_func;
30999 rm -f conftest.
$ac_objext conftest
$ac_exeext
31000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31001 (eval $ac_link) 2>conftest.er1
31003 grep -v '^ *+' conftest.er1
>conftest.err
31005 cat conftest.err
>&5
31006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31007 (exit $ac_status); } &&
31008 { ac_try
='test -z "$ac_c_werror_flag"
31009 || test ! -s conftest.err'
31010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31011 (eval $ac_try) 2>&5
31013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31014 (exit $ac_status); }; } &&
31015 { ac_try
='test -s conftest$ac_exeext'
31016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31017 (eval $ac_try) 2>&5
31019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31020 (exit $ac_status); }; }; then
31021 eval "$as_ac_var=yes"
31023 echo "$as_me: failed program was:" >&5
31024 sed 's/^/| /' conftest.
$ac_ext >&5
31026 eval "$as_ac_var=no"
31028 rm -f conftest.err conftest.
$ac_objext \
31029 conftest
$ac_exeext conftest.
$ac_ext
31031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31033 if test `eval echo '${'$as_ac_var'}'` = yes; then
31034 cat >>confdefs.h
<<_ACEOF
31035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31037 cat >>confdefs.h
<<\_ACEOF
31038 #define HAVE_INET_ADDR 1
31043 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31044 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31045 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31046 echo $ECHO_N "(cached) $ECHO_C" >&6
31048 ac_check_lib_save_LIBS
=$LIBS
31050 cat >conftest.
$ac_ext <<_ACEOF
31053 cat confdefs.h
>>conftest.
$ac_ext
31054 cat >>conftest.
$ac_ext <<_ACEOF
31055 /* end confdefs.h. */
31057 /* Override any gcc2 internal prototype to avoid an error. */
31061 /* We use char because int might match the return type of a gcc2
31062 builtin and then its argument prototype would still apply. */
31072 rm -f conftest.
$ac_objext conftest
$ac_exeext
31073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31074 (eval $ac_link) 2>conftest.er1
31076 grep -v '^ *+' conftest.er1
>conftest.err
31078 cat conftest.err
>&5
31079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31080 (exit $ac_status); } &&
31081 { ac_try
='test -z "$ac_c_werror_flag"
31082 || test ! -s conftest.err'
31083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31084 (eval $ac_try) 2>&5
31086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087 (exit $ac_status); }; } &&
31088 { ac_try
='test -s conftest$ac_exeext'
31089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31090 (eval $ac_try) 2>&5
31092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31093 (exit $ac_status); }; }; then
31094 ac_cv_lib_nsl_inet_addr
=yes
31096 echo "$as_me: failed program was:" >&5
31097 sed 's/^/| /' conftest.
$ac_ext >&5
31099 ac_cv_lib_nsl_inet_addr
=no
31101 rm -f conftest.err conftest.
$ac_objext \
31102 conftest
$ac_exeext conftest.
$ac_ext
31103 LIBS
=$ac_check_lib_save_LIBS
31105 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31106 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31107 if test $ac_cv_lib_nsl_inet_addr = yes; then
31111 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31112 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31113 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31114 echo $ECHO_N "(cached) $ECHO_C" >&6
31116 ac_check_lib_save_LIBS
=$LIBS
31117 LIBS
="-lresolv $LIBS"
31118 cat >conftest.
$ac_ext <<_ACEOF
31121 cat confdefs.h
>>conftest.
$ac_ext
31122 cat >>conftest.
$ac_ext <<_ACEOF
31123 /* end confdefs.h. */
31125 /* Override any gcc2 internal prototype to avoid an error. */
31129 /* We use char because int might match the return type of a gcc2
31130 builtin and then its argument prototype would still apply. */
31140 rm -f conftest.
$ac_objext conftest
$ac_exeext
31141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31142 (eval $ac_link) 2>conftest.er1
31144 grep -v '^ *+' conftest.er1
>conftest.err
31146 cat conftest.err
>&5
31147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31148 (exit $ac_status); } &&
31149 { ac_try
='test -z "$ac_c_werror_flag"
31150 || test ! -s conftest.err'
31151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31152 (eval $ac_try) 2>&5
31154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31155 (exit $ac_status); }; } &&
31156 { ac_try
='test -s conftest$ac_exeext'
31157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31158 (eval $ac_try) 2>&5
31160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31161 (exit $ac_status); }; }; then
31162 ac_cv_lib_resolv_inet_addr
=yes
31164 echo "$as_me: failed program was:" >&5
31165 sed 's/^/| /' conftest.
$ac_ext >&5
31167 ac_cv_lib_resolv_inet_addr
=no
31169 rm -f conftest.err conftest.
$ac_objext \
31170 conftest
$ac_exeext conftest.
$ac_ext
31171 LIBS
=$ac_check_lib_save_LIBS
31173 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31174 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31175 if test $ac_cv_lib_resolv_inet_addr = yes; then
31179 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31180 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31181 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31182 echo $ECHO_N "(cached) $ECHO_C" >&6
31184 ac_check_lib_save_LIBS
=$LIBS
31185 LIBS
="-lsocket $LIBS"
31186 cat >conftest.
$ac_ext <<_ACEOF
31189 cat confdefs.h
>>conftest.
$ac_ext
31190 cat >>conftest.
$ac_ext <<_ACEOF
31191 /* end confdefs.h. */
31193 /* Override any gcc2 internal prototype to avoid an error. */
31197 /* We use char because int might match the return type of a gcc2
31198 builtin and then its argument prototype would still apply. */
31208 rm -f conftest.
$ac_objext conftest
$ac_exeext
31209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31210 (eval $ac_link) 2>conftest.er1
31212 grep -v '^ *+' conftest.er1
>conftest.err
31214 cat conftest.err
>&5
31215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31216 (exit $ac_status); } &&
31217 { ac_try
='test -z "$ac_c_werror_flag"
31218 || test ! -s conftest.err'
31219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31220 (eval $ac_try) 2>&5
31222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31223 (exit $ac_status); }; } &&
31224 { ac_try
='test -s conftest$ac_exeext'
31225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31226 (eval $ac_try) 2>&5
31228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31229 (exit $ac_status); }; }; then
31230 ac_cv_lib_socket_inet_addr
=yes
31232 echo "$as_me: failed program was:" >&5
31233 sed 's/^/| /' conftest.
$ac_ext >&5
31235 ac_cv_lib_socket_inet_addr
=no
31237 rm -f conftest.err conftest.
$ac_objext \
31238 conftest
$ac_exeext conftest.
$ac_ext
31239 LIBS
=$ac_check_lib_save_LIBS
31241 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31242 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31243 if test $ac_cv_lib_socket_inet_addr = yes; then
31263 for ac_func
in inet_aton
31265 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31266 echo "$as_me:$LINENO: checking for $ac_func" >&5
31267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31268 if eval "test \"\${$as_ac_var+set}\" = set"; then
31269 echo $ECHO_N "(cached) $ECHO_C" >&6
31271 cat >conftest.
$ac_ext <<_ACEOF
31274 cat confdefs.h
>>conftest.
$ac_ext
31275 cat >>conftest.
$ac_ext <<_ACEOF
31276 /* end confdefs.h. */
31277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31279 #define $ac_func innocuous_$ac_func
31281 /* System header to define __stub macros and hopefully few prototypes,
31282 which can conflict with char $ac_func (); below.
31283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31284 <limits.h> exists even on freestanding compilers. */
31287 # include <limits.h>
31289 # include <assert.h>
31294 /* Override any gcc2 internal prototype to avoid an error. */
31299 /* We use char because int might match the return type of a gcc2
31300 builtin and then its argument prototype would still apply. */
31302 /* The GNU C library defines this for functions which it implements
31303 to always fail with ENOSYS. Some functions are actually named
31304 something starting with __ and the normal name is an alias. */
31305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31308 char (*f) () = $ac_func;
31317 return f != $ac_func;
31322 rm -f conftest.
$ac_objext conftest
$ac_exeext
31323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31324 (eval $ac_link) 2>conftest.er1
31326 grep -v '^ *+' conftest.er1
>conftest.err
31328 cat conftest.err
>&5
31329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31330 (exit $ac_status); } &&
31331 { ac_try
='test -z "$ac_c_werror_flag"
31332 || test ! -s conftest.err'
31333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31334 (eval $ac_try) 2>&5
31336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31337 (exit $ac_status); }; } &&
31338 { ac_try
='test -s conftest$ac_exeext'
31339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31340 (eval $ac_try) 2>&5
31342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31343 (exit $ac_status); }; }; then
31344 eval "$as_ac_var=yes"
31346 echo "$as_me: failed program was:" >&5
31347 sed 's/^/| /' conftest.
$ac_ext >&5
31349 eval "$as_ac_var=no"
31351 rm -f conftest.err conftest.
$ac_objext \
31352 conftest
$ac_exeext conftest.
$ac_ext
31354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31356 if test `eval echo '${'$as_ac_var'}'` = yes; then
31357 cat >>confdefs.h
<<_ACEOF
31358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31360 cat >>confdefs.h
<<\_ACEOF
31361 #define HAVE_INET_ATON 1
31366 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31367 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31368 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31369 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31370 echo $ECHO_N "(cached) $ECHO_C" >&6
31372 ac_check_lib_save_LIBS
=$LIBS
31373 LIBS
="-l$INET_LINK $LIBS"
31374 cat >conftest.
$ac_ext <<_ACEOF
31377 cat confdefs.h
>>conftest.
$ac_ext
31378 cat >>conftest.
$ac_ext <<_ACEOF
31379 /* end confdefs.h. */
31381 /* Override any gcc2 internal prototype to avoid an error. */
31385 /* We use char because int might match the return type of a gcc2
31386 builtin and then its argument prototype would still apply. */
31396 rm -f conftest.
$ac_objext conftest
$ac_exeext
31397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31398 (eval $ac_link) 2>conftest.er1
31400 grep -v '^ *+' conftest.er1
>conftest.err
31402 cat conftest.err
>&5
31403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31404 (exit $ac_status); } &&
31405 { ac_try
='test -z "$ac_c_werror_flag"
31406 || test ! -s conftest.err'
31407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31408 (eval $ac_try) 2>&5
31410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31411 (exit $ac_status); }; } &&
31412 { ac_try
='test -s conftest$ac_exeext'
31413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31414 (eval $ac_try) 2>&5
31416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31417 (exit $ac_status); }; }; then
31418 eval "$as_ac_Lib=yes"
31420 echo "$as_me: failed program was:" >&5
31421 sed 's/^/| /' conftest.
$ac_ext >&5
31423 eval "$as_ac_Lib=no"
31425 rm -f conftest.err conftest.
$ac_objext \
31426 conftest
$ac_exeext conftest.
$ac_ext
31427 LIBS
=$ac_check_lib_save_LIBS
31429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31430 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31431 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31432 cat >>confdefs.h
<<\_ACEOF
31433 #define HAVE_INET_ATON 1
31443 if test "x$INET_LINK" != "x"; then
31444 cat >>confdefs.h
<<\_ACEOF
31445 #define HAVE_INET_ADDR 1
31448 INET_LINK
=" -l$INET_LINK"
31456 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31457 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31458 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31459 echo $ECHO_N "(cached) $ECHO_C" >&6
31461 ac_check_lib_save_LIBS
=$LIBS
31463 cat >conftest.
$ac_ext <<_ACEOF
31466 cat confdefs.h
>>conftest.
$ac_ext
31467 cat >>conftest.
$ac_ext <<_ACEOF
31468 /* end confdefs.h. */
31470 /* Override any gcc2 internal prototype to avoid an error. */
31474 /* We use char because int might match the return type of a gcc2
31475 builtin and then its argument prototype would still apply. */
31485 rm -f conftest.
$ac_objext conftest
$ac_exeext
31486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31487 (eval $ac_link) 2>conftest.er1
31489 grep -v '^ *+' conftest.er1
>conftest.err
31491 cat conftest.err
>&5
31492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31493 (exit $ac_status); } &&
31494 { ac_try
='test -z "$ac_c_werror_flag"
31495 || test ! -s conftest.err'
31496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31497 (eval $ac_try) 2>&5
31499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31500 (exit $ac_status); }; } &&
31501 { ac_try
='test -s conftest$ac_exeext'
31502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31503 (eval $ac_try) 2>&5
31505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31506 (exit $ac_status); }; }; then
31507 ac_cv_lib_esd_esd_close
=yes
31509 echo "$as_me: failed program was:" >&5
31510 sed 's/^/| /' conftest.
$ac_ext >&5
31512 ac_cv_lib_esd_esd_close
=no
31514 rm -f conftest.err conftest.
$ac_objext \
31515 conftest
$ac_exeext conftest.
$ac_ext
31516 LIBS
=$ac_check_lib_save_LIBS
31518 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31519 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31520 if test $ac_cv_lib_esd_esd_close = yes; then
31523 for ac_header
in esd.h
31525 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31527 echo "$as_me:$LINENO: checking for $ac_header" >&5
31528 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31529 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31530 echo $ECHO_N "(cached) $ECHO_C" >&6
31532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31533 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31535 # Is the header compilable?
31536 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31537 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31538 cat >conftest.
$ac_ext <<_ACEOF
31541 cat confdefs.h
>>conftest.
$ac_ext
31542 cat >>conftest.
$ac_ext <<_ACEOF
31543 /* end confdefs.h. */
31544 $ac_includes_default
31545 #include <$ac_header>
31547 rm -f conftest.
$ac_objext
31548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31549 (eval $ac_compile) 2>conftest.er1
31551 grep -v '^ *+' conftest.er1
>conftest.err
31553 cat conftest.err
>&5
31554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31555 (exit $ac_status); } &&
31556 { ac_try
='test -z "$ac_c_werror_flag"
31557 || test ! -s conftest.err'
31558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31559 (eval $ac_try) 2>&5
31561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31562 (exit $ac_status); }; } &&
31563 { ac_try
='test -s conftest.$ac_objext'
31564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31565 (eval $ac_try) 2>&5
31567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31568 (exit $ac_status); }; }; then
31569 ac_header_compiler
=yes
31571 echo "$as_me: failed program was:" >&5
31572 sed 's/^/| /' conftest.
$ac_ext >&5
31574 ac_header_compiler
=no
31576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31577 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31578 echo "${ECHO_T}$ac_header_compiler" >&6
31580 # Is the header present?
31581 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31582 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31583 cat >conftest.
$ac_ext <<_ACEOF
31586 cat confdefs.h
>>conftest.
$ac_ext
31587 cat >>conftest.
$ac_ext <<_ACEOF
31588 /* end confdefs.h. */
31589 #include <$ac_header>
31591 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31592 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31594 grep -v '^ *+' conftest.er1
>conftest.err
31596 cat conftest.err
>&5
31597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31598 (exit $ac_status); } >/dev
/null
; then
31599 if test -s conftest.err
; then
31600 ac_cpp_err
=$ac_c_preproc_warn_flag
31601 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31608 if test -z "$ac_cpp_err"; then
31609 ac_header_preproc
=yes
31611 echo "$as_me: failed program was:" >&5
31612 sed 's/^/| /' conftest.
$ac_ext >&5
31614 ac_header_preproc
=no
31616 rm -f conftest.err conftest.
$ac_ext
31617 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31618 echo "${ECHO_T}$ac_header_preproc" >&6
31620 # So? What about this header?
31621 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31623 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31624 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31626 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31627 ac_header_preproc
=yes
31630 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31631 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31632 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31633 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31634 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31635 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31636 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31637 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31638 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31639 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31640 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31641 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31644 ## ----------------------------------------- ##
31645 ## Report this to wx-dev@lists.wxwidgets.org ##
31646 ## ----------------------------------------- ##
31649 sed "s/^/$as_me: WARNING: /" >&2
31652 echo "$as_me:$LINENO: checking for $ac_header" >&5
31653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31655 echo $ECHO_N "(cached) $ECHO_C" >&6
31657 eval "$as_ac_Header=\$ac_header_preproc"
31659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31663 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31664 cat >>confdefs.h
<<_ACEOF
31665 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31668 EXTRALIBS_ESD
="-lesd"
31679 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31680 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31681 cat >conftest.
$ac_ext <<_ACEOF
31684 cat confdefs.h
>>conftest.
$ac_ext
31685 cat >>conftest.
$ac_ext <<_ACEOF
31686 /* end confdefs.h. */
31688 #include <linux/cdrom.h>
31691 #include <sys/cdio.h>
31697 struct cdrom_tocentry entry, old_entry;
31702 rm -f conftest.
$ac_objext
31703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31704 (eval $ac_compile) 2>conftest.er1
31706 grep -v '^ *+' conftest.er1
>conftest.err
31708 cat conftest.err
>&5
31709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31710 (exit $ac_status); } &&
31711 { ac_try
='test -z "$ac_c_werror_flag"
31712 || test ! -s conftest.err'
31713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31714 (eval $ac_try) 2>&5
31716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31717 (exit $ac_status); }; } &&
31718 { ac_try
='test -s conftest.$ac_objext'
31719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31720 (eval $ac_try) 2>&5
31722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31723 (exit $ac_status); }; }; then
31724 echo "$as_me:$LINENO: result: yes" >&5
31725 echo "${ECHO_T}yes" >&6
31726 cat >>confdefs.h
<<\_ACEOF
31727 #define HAVE_KNOWN_CDROM_INTERFACE 1
31731 echo "$as_me: failed program was:" >&5
31732 sed 's/^/| /' conftest.
$ac_ext >&5
31734 echo "$as_me:$LINENO: result: no" >&5
31735 echo "${ECHO_T}no" >&6
31737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31740 cat >confcache
<<\_ACEOF
31741 # This file is a shell script that caches the results of configure
31742 # tests run on this system so they can be shared between configure
31743 # scripts and configure runs, see configure's option --config-cache.
31744 # It is not useful on other systems. If it contains results you don't
31745 # want to keep, you may remove or edit it.
31747 # config.status only pays attention to the cache file if you give it
31748 # the --recheck option to rerun configure.
31750 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31751 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31752 # following values.
31756 # The following way of writing the cache mishandles newlines in values,
31757 # but we know of no workaround that is simple, portable, and efficient.
31758 # So, don't put newlines in cache variables' values.
31759 # Ultrix sh set writes to stderr and can't be redirected directly,
31760 # and sets the high bit in the cache file unless we assign to the vars.
31763 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31765 # `set' does not quote correctly, so add quotes (double-quote
31766 # substitution turns \\\\ into \\, and sed turns \\ into \).
31769 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31772 # `set' quotes correctly as required by POSIX, so do not add quotes.
31774 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31781 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31783 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31785 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
31786 if test -w $cache_file; then
31787 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31788 cat confcache
>$cache_file
31790 echo "not updating unwritable cache $cache_file"
31797 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31803 if test "$wxUSE_THREADS" = "yes" ; then
31804 if test "$USE_BEOS" = 1; then
31805 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31806 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31811 if test "$wxUSE_THREADS" = "yes" ; then
31814 THREAD_OPTS
="-pthread"
31816 *-*-solaris2* | *-*-sunos4* )
31817 if test "x$GCC" = "xyes"; then
31818 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31820 THREAD_OPTS
="-mt $THREAD_OPTS"
31824 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31826 *-*-darwin* | *-*-cygwin* )
31830 THREAD_OPTS
="pthreads"
31833 if test "x$GCC" != "xyes"; then
31839 if test "x$GCC" = "xyes"; then
31845 if test "x$GCC" != "xyes"; then
31846 THREAD_OPTS
="-Ethread"
31851 THREAD_OPTS
="$THREAD_OPTS pthread none"
31854 for flag
in $THREAD_OPTS; do
31857 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31858 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31862 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31863 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
31864 THREADS_CFLAGS
="$flag"
31868 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
31869 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
31870 THREADS_LINK
="-l$flag"
31875 save_CFLAGS
="$CFLAGS"
31876 LIBS
="$THREADS_LINK $LIBS"
31877 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
31879 cat >conftest.
$ac_ext <<_ACEOF
31882 cat confdefs.h
>>conftest.
$ac_ext
31883 cat >>conftest.
$ac_ext <<_ACEOF
31884 /* end confdefs.h. */
31885 #include <pthread.h>
31889 pthread_create(0,0,0,0);
31894 rm -f conftest.
$ac_objext conftest
$ac_exeext
31895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31896 (eval $ac_link) 2>conftest.er1
31898 grep -v '^ *+' conftest.er1
>conftest.err
31900 cat conftest.err
>&5
31901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31902 (exit $ac_status); } &&
31903 { ac_try
='test -z "$ac_c_werror_flag"
31904 || test ! -s conftest.err'
31905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31906 (eval $ac_try) 2>&5
31908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31909 (exit $ac_status); }; } &&
31910 { ac_try
='test -s conftest$ac_exeext'
31911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31912 (eval $ac_try) 2>&5
31914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31915 (exit $ac_status); }; }; then
31918 echo "$as_me: failed program was:" >&5
31919 sed 's/^/| /' conftest.
$ac_ext >&5
31922 rm -f conftest.err conftest.
$ac_objext \
31923 conftest
$ac_exeext conftest.
$ac_ext
31926 CFLAGS
="$save_CFLAGS"
31928 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
31929 echo "${ECHO_T}$THREADS_OK" >&6
31930 if test "x$THREADS_OK" = "xyes"; then
31938 if test "x$THREADS_OK" != "xyes"; then
31940 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
31941 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31943 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
31944 LIBS
="$THREADS_LINK $LIBS"
31946 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
31947 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
31951 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
31952 flag
="-D_THREAD_SAFE"
31955 flag
="-D_THREAD_SAFE"
31958 flag
="-D_REENTRANT"
31959 if test "x$GCC" != "xyes"; then
31960 flag
="$flag -D_RWSTD_MULTI_THREAD"
31965 *solaris
* | alpha
*-osf*)
31966 flag
="-D_REENTRANT"
31969 echo "$as_me:$LINENO: result: ${flag}" >&5
31970 echo "${ECHO_T}${flag}" >&6
31971 if test "x$flag" != xno
; then
31972 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
31975 if test "x$THREADS_CFLAGS" != "x"; then
31976 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
31977 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
31982 if test "$wxUSE_THREADS" = "yes" ; then
31984 for ac_func
in thr_setconcurrency
31986 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31987 echo "$as_me:$LINENO: checking for $ac_func" >&5
31988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31989 if eval "test \"\${$as_ac_var+set}\" = set"; then
31990 echo $ECHO_N "(cached) $ECHO_C" >&6
31992 cat >conftest.
$ac_ext <<_ACEOF
31995 cat confdefs.h
>>conftest.
$ac_ext
31996 cat >>conftest.
$ac_ext <<_ACEOF
31997 /* end confdefs.h. */
31998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32000 #define $ac_func innocuous_$ac_func
32002 /* System header to define __stub macros and hopefully few prototypes,
32003 which can conflict with char $ac_func (); below.
32004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32005 <limits.h> exists even on freestanding compilers. */
32008 # include <limits.h>
32010 # include <assert.h>
32015 /* Override any gcc2 internal prototype to avoid an error. */
32020 /* We use char because int might match the return type of a gcc2
32021 builtin and then its argument prototype would still apply. */
32023 /* The GNU C library defines this for functions which it implements
32024 to always fail with ENOSYS. Some functions are actually named
32025 something starting with __ and the normal name is an alias. */
32026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32029 char (*f) () = $ac_func;
32038 return f != $ac_func;
32043 rm -f conftest.
$ac_objext conftest
$ac_exeext
32044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32045 (eval $ac_link) 2>conftest.er1
32047 grep -v '^ *+' conftest.er1
>conftest.err
32049 cat conftest.err
>&5
32050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32051 (exit $ac_status); } &&
32052 { ac_try
='test -z "$ac_c_werror_flag"
32053 || test ! -s conftest.err'
32054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32055 (eval $ac_try) 2>&5
32057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058 (exit $ac_status); }; } &&
32059 { ac_try
='test -s conftest$ac_exeext'
32060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32061 (eval $ac_try) 2>&5
32063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32064 (exit $ac_status); }; }; then
32065 eval "$as_ac_var=yes"
32067 echo "$as_me: failed program was:" >&5
32068 sed 's/^/| /' conftest.
$ac_ext >&5
32070 eval "$as_ac_var=no"
32072 rm -f conftest.err conftest.
$ac_objext \
32073 conftest
$ac_exeext conftest.
$ac_ext
32075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32077 if test `eval echo '${'$as_ac_var'}'` = yes; then
32078 cat >>confdefs.h
<<_ACEOF
32079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32087 for ac_header
in sched.h
32089 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32091 echo "$as_me:$LINENO: checking for $ac_header" >&5
32092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32094 echo $ECHO_N "(cached) $ECHO_C" >&6
32096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32097 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32099 # Is the header compilable?
32100 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32101 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32102 cat >conftest.
$ac_ext <<_ACEOF
32105 cat confdefs.h
>>conftest.
$ac_ext
32106 cat >>conftest.
$ac_ext <<_ACEOF
32107 /* end confdefs.h. */
32108 $ac_includes_default
32109 #include <$ac_header>
32111 rm -f conftest.
$ac_objext
32112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32113 (eval $ac_compile) 2>conftest.er1
32115 grep -v '^ *+' conftest.er1
>conftest.err
32117 cat conftest.err
>&5
32118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32119 (exit $ac_status); } &&
32120 { ac_try
='test -z "$ac_c_werror_flag"
32121 || test ! -s conftest.err'
32122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32123 (eval $ac_try) 2>&5
32125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32126 (exit $ac_status); }; } &&
32127 { ac_try
='test -s conftest.$ac_objext'
32128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32129 (eval $ac_try) 2>&5
32131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32132 (exit $ac_status); }; }; then
32133 ac_header_compiler
=yes
32135 echo "$as_me: failed program was:" >&5
32136 sed 's/^/| /' conftest.
$ac_ext >&5
32138 ac_header_compiler
=no
32140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32141 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32142 echo "${ECHO_T}$ac_header_compiler" >&6
32144 # Is the header present?
32145 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32146 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32147 cat >conftest.
$ac_ext <<_ACEOF
32150 cat confdefs.h
>>conftest.
$ac_ext
32151 cat >>conftest.
$ac_ext <<_ACEOF
32152 /* end confdefs.h. */
32153 #include <$ac_header>
32155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32156 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32158 grep -v '^ *+' conftest.er1
>conftest.err
32160 cat conftest.err
>&5
32161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32162 (exit $ac_status); } >/dev
/null
; then
32163 if test -s conftest.err
; then
32164 ac_cpp_err
=$ac_c_preproc_warn_flag
32165 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32172 if test -z "$ac_cpp_err"; then
32173 ac_header_preproc
=yes
32175 echo "$as_me: failed program was:" >&5
32176 sed 's/^/| /' conftest.
$ac_ext >&5
32178 ac_header_preproc
=no
32180 rm -f conftest.err conftest.
$ac_ext
32181 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32182 echo "${ECHO_T}$ac_header_preproc" >&6
32184 # So? What about this header?
32185 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32187 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32188 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32189 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32190 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32191 ac_header_preproc
=yes
32194 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32195 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32196 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32197 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32198 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32199 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32200 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32201 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32202 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32203 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32204 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32205 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32208 ## ----------------------------------------- ##
32209 ## Report this to wx-dev@lists.wxwidgets.org ##
32210 ## ----------------------------------------- ##
32213 sed "s/^/$as_me: WARNING: /" >&2
32216 echo "$as_me:$LINENO: checking for $ac_header" >&5
32217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32219 echo $ECHO_N "(cached) $ECHO_C" >&6
32221 eval "$as_ac_Header=\$ac_header_preproc"
32223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32227 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32228 cat >>confdefs.h
<<_ACEOF
32229 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32236 if test "$ac_cv_header_sched_h" = "yes"; then
32237 echo "$as_me:$LINENO: checking for sched_yield" >&5
32238 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32239 if test "${ac_cv_func_sched_yield+set}" = set; then
32240 echo $ECHO_N "(cached) $ECHO_C" >&6
32242 cat >conftest.
$ac_ext <<_ACEOF
32245 cat confdefs.h
>>conftest.
$ac_ext
32246 cat >>conftest.
$ac_ext <<_ACEOF
32247 /* end confdefs.h. */
32248 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32250 #define sched_yield innocuous_sched_yield
32252 /* System header to define __stub macros and hopefully few prototypes,
32253 which can conflict with char sched_yield (); below.
32254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32255 <limits.h> exists even on freestanding compilers. */
32258 # include <limits.h>
32260 # include <assert.h>
32265 /* Override any gcc2 internal prototype to avoid an error. */
32270 /* We use char because int might match the return type of a gcc2
32271 builtin and then its argument prototype would still apply. */
32272 char sched_yield ();
32273 /* The GNU C library defines this for functions which it implements
32274 to always fail with ENOSYS. Some functions are actually named
32275 something starting with __ and the normal name is an alias. */
32276 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32279 char (*f) () = sched_yield;
32288 return f != sched_yield;
32293 rm -f conftest.
$ac_objext conftest
$ac_exeext
32294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32295 (eval $ac_link) 2>conftest.er1
32297 grep -v '^ *+' conftest.er1
>conftest.err
32299 cat conftest.err
>&5
32300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32301 (exit $ac_status); } &&
32302 { ac_try
='test -z "$ac_c_werror_flag"
32303 || test ! -s conftest.err'
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); }; } &&
32309 { ac_try
='test -s conftest$ac_exeext'
32310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32311 (eval $ac_try) 2>&5
32313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32314 (exit $ac_status); }; }; then
32315 ac_cv_func_sched_yield
=yes
32317 echo "$as_me: failed program was:" >&5
32318 sed 's/^/| /' conftest.
$ac_ext >&5
32320 ac_cv_func_sched_yield
=no
32322 rm -f conftest.err conftest.
$ac_objext \
32323 conftest
$ac_exeext conftest.
$ac_ext
32325 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32326 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32327 if test $ac_cv_func_sched_yield = yes; then
32328 cat >>confdefs.h
<<\_ACEOF
32329 #define HAVE_SCHED_YIELD 1
32334 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32335 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32336 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32337 echo $ECHO_N "(cached) $ECHO_C" >&6
32339 ac_check_lib_save_LIBS
=$LIBS
32340 LIBS
="-lposix4 $LIBS"
32341 cat >conftest.
$ac_ext <<_ACEOF
32344 cat confdefs.h
>>conftest.
$ac_ext
32345 cat >>conftest.
$ac_ext <<_ACEOF
32346 /* end confdefs.h. */
32348 /* Override any gcc2 internal prototype to avoid an error. */
32352 /* We use char because int might match the return type of a gcc2
32353 builtin and then its argument prototype would still apply. */
32354 char sched_yield ();
32363 rm -f conftest.
$ac_objext conftest
$ac_exeext
32364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32365 (eval $ac_link) 2>conftest.er1
32367 grep -v '^ *+' conftest.er1
>conftest.err
32369 cat conftest.err
>&5
32370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32371 (exit $ac_status); } &&
32372 { ac_try
='test -z "$ac_c_werror_flag"
32373 || test ! -s conftest.err'
32374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32375 (eval $ac_try) 2>&5
32377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32378 (exit $ac_status); }; } &&
32379 { ac_try
='test -s conftest$ac_exeext'
32380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32381 (eval $ac_try) 2>&5
32383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32384 (exit $ac_status); }; }; then
32385 ac_cv_lib_posix4_sched_yield
=yes
32387 echo "$as_me: failed program was:" >&5
32388 sed 's/^/| /' conftest.
$ac_ext >&5
32390 ac_cv_lib_posix4_sched_yield
=no
32392 rm -f conftest.err conftest.
$ac_objext \
32393 conftest
$ac_exeext conftest.
$ac_ext
32394 LIBS
=$ac_check_lib_save_LIBS
32396 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32397 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32398 if test $ac_cv_lib_posix4_sched_yield = yes; then
32399 cat >>confdefs.h
<<\_ACEOF
32400 #define HAVE_SCHED_YIELD 1
32402 POSIX4_LINK
=" -lposix4"
32404 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32405 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32416 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32417 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32418 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32419 echo $ECHO_N "(cached) $ECHO_C" >&6
32421 cat >conftest.
$ac_ext <<_ACEOF
32424 cat confdefs.h
>>conftest.
$ac_ext
32425 cat >>conftest.
$ac_ext <<_ACEOF
32426 /* end confdefs.h. */
32427 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32429 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32431 /* System header to define __stub macros and hopefully few prototypes,
32432 which can conflict with char pthread_attr_getschedpolicy (); below.
32433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32434 <limits.h> exists even on freestanding compilers. */
32437 # include <limits.h>
32439 # include <assert.h>
32442 #undef pthread_attr_getschedpolicy
32444 /* Override any gcc2 internal prototype to avoid an error. */
32449 /* We use char because int might match the return type of a gcc2
32450 builtin and then its argument prototype would still apply. */
32451 char pthread_attr_getschedpolicy ();
32452 /* The GNU C library defines this for functions which it implements
32453 to always fail with ENOSYS. Some functions are actually named
32454 something starting with __ and the normal name is an alias. */
32455 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32458 char (*f) () = pthread_attr_getschedpolicy;
32467 return f != pthread_attr_getschedpolicy;
32472 rm -f conftest.
$ac_objext conftest
$ac_exeext
32473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32474 (eval $ac_link) 2>conftest.er1
32476 grep -v '^ *+' conftest.er1
>conftest.err
32478 cat conftest.err
>&5
32479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32480 (exit $ac_status); } &&
32481 { ac_try
='test -z "$ac_c_werror_flag"
32482 || test ! -s conftest.err'
32483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32484 (eval $ac_try) 2>&5
32486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32487 (exit $ac_status); }; } &&
32488 { ac_try
='test -s conftest$ac_exeext'
32489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32490 (eval $ac_try) 2>&5
32492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32493 (exit $ac_status); }; }; then
32494 ac_cv_func_pthread_attr_getschedpolicy
=yes
32496 echo "$as_me: failed program was:" >&5
32497 sed 's/^/| /' conftest.
$ac_ext >&5
32499 ac_cv_func_pthread_attr_getschedpolicy
=no
32501 rm -f conftest.err conftest.
$ac_objext \
32502 conftest
$ac_exeext conftest.
$ac_ext
32504 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32505 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32506 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32507 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32508 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32509 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32510 echo $ECHO_N "(cached) $ECHO_C" >&6
32512 cat >conftest.
$ac_ext <<_ACEOF
32515 cat confdefs.h
>>conftest.
$ac_ext
32516 cat >>conftest.
$ac_ext <<_ACEOF
32517 /* end confdefs.h. */
32518 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32520 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32522 /* System header to define __stub macros and hopefully few prototypes,
32523 which can conflict with char pthread_attr_setschedparam (); below.
32524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32525 <limits.h> exists even on freestanding compilers. */
32528 # include <limits.h>
32530 # include <assert.h>
32533 #undef pthread_attr_setschedparam
32535 /* Override any gcc2 internal prototype to avoid an error. */
32540 /* We use char because int might match the return type of a gcc2
32541 builtin and then its argument prototype would still apply. */
32542 char pthread_attr_setschedparam ();
32543 /* The GNU C library defines this for functions which it implements
32544 to always fail with ENOSYS. Some functions are actually named
32545 something starting with __ and the normal name is an alias. */
32546 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32549 char (*f) () = pthread_attr_setschedparam;
32558 return f != pthread_attr_setschedparam;
32563 rm -f conftest.
$ac_objext conftest
$ac_exeext
32564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32565 (eval $ac_link) 2>conftest.er1
32567 grep -v '^ *+' conftest.er1
>conftest.err
32569 cat conftest.err
>&5
32570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32571 (exit $ac_status); } &&
32572 { ac_try
='test -z "$ac_c_werror_flag"
32573 || test ! -s conftest.err'
32574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32575 (eval $ac_try) 2>&5
32577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32578 (exit $ac_status); }; } &&
32579 { ac_try
='test -s conftest$ac_exeext'
32580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32581 (eval $ac_try) 2>&5
32583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32584 (exit $ac_status); }; }; then
32585 ac_cv_func_pthread_attr_setschedparam
=yes
32587 echo "$as_me: failed program was:" >&5
32588 sed 's/^/| /' conftest.
$ac_ext >&5
32590 ac_cv_func_pthread_attr_setschedparam
=no
32592 rm -f conftest.err conftest.
$ac_objext \
32593 conftest
$ac_exeext conftest.
$ac_ext
32595 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32596 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32597 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32598 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32599 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32600 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32601 echo $ECHO_N "(cached) $ECHO_C" >&6
32603 cat >conftest.
$ac_ext <<_ACEOF
32606 cat confdefs.h
>>conftest.
$ac_ext
32607 cat >>conftest.
$ac_ext <<_ACEOF
32608 /* end confdefs.h. */
32609 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32611 #define sched_get_priority_max innocuous_sched_get_priority_max
32613 /* System header to define __stub macros and hopefully few prototypes,
32614 which can conflict with char sched_get_priority_max (); below.
32615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32616 <limits.h> exists even on freestanding compilers. */
32619 # include <limits.h>
32621 # include <assert.h>
32624 #undef sched_get_priority_max
32626 /* Override any gcc2 internal prototype to avoid an error. */
32631 /* We use char because int might match the return type of a gcc2
32632 builtin and then its argument prototype would still apply. */
32633 char sched_get_priority_max ();
32634 /* The GNU C library defines this for functions which it implements
32635 to always fail with ENOSYS. Some functions are actually named
32636 something starting with __ and the normal name is an alias. */
32637 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32640 char (*f) () = sched_get_priority_max;
32649 return f != sched_get_priority_max;
32654 rm -f conftest.
$ac_objext conftest
$ac_exeext
32655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32656 (eval $ac_link) 2>conftest.er1
32658 grep -v '^ *+' conftest.er1
>conftest.err
32660 cat conftest.err
>&5
32661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32662 (exit $ac_status); } &&
32663 { ac_try
='test -z "$ac_c_werror_flag"
32664 || test ! -s conftest.err'
32665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32666 (eval $ac_try) 2>&5
32668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32669 (exit $ac_status); }; } &&
32670 { ac_try
='test -s conftest$ac_exeext'
32671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32672 (eval $ac_try) 2>&5
32674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32675 (exit $ac_status); }; }; then
32676 ac_cv_func_sched_get_priority_max
=yes
32678 echo "$as_me: failed program was:" >&5
32679 sed 's/^/| /' conftest.
$ac_ext >&5
32681 ac_cv_func_sched_get_priority_max
=no
32683 rm -f conftest.err conftest.
$ac_objext \
32684 conftest
$ac_exeext conftest.
$ac_ext
32686 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32687 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32688 if test $ac_cv_func_sched_get_priority_max = yes; then
32691 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32692 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32693 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32694 echo $ECHO_N "(cached) $ECHO_C" >&6
32696 ac_check_lib_save_LIBS
=$LIBS
32697 LIBS
="-lposix4 $LIBS"
32698 cat >conftest.
$ac_ext <<_ACEOF
32701 cat confdefs.h
>>conftest.
$ac_ext
32702 cat >>conftest.
$ac_ext <<_ACEOF
32703 /* end confdefs.h. */
32705 /* Override any gcc2 internal prototype to avoid an error. */
32709 /* We use char because int might match the return type of a gcc2
32710 builtin and then its argument prototype would still apply. */
32711 char sched_get_priority_max ();
32715 sched_get_priority_max ();
32720 rm -f conftest.
$ac_objext conftest
$ac_exeext
32721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32722 (eval $ac_link) 2>conftest.er1
32724 grep -v '^ *+' conftest.er1
>conftest.err
32726 cat conftest.err
>&5
32727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32728 (exit $ac_status); } &&
32729 { ac_try
='test -z "$ac_c_werror_flag"
32730 || test ! -s conftest.err'
32731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32732 (eval $ac_try) 2>&5
32734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32735 (exit $ac_status); }; } &&
32736 { ac_try
='test -s conftest$ac_exeext'
32737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32738 (eval $ac_try) 2>&5
32740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32741 (exit $ac_status); }; }; then
32742 ac_cv_lib_posix4_sched_get_priority_max
=yes
32744 echo "$as_me: failed program was:" >&5
32745 sed 's/^/| /' conftest.
$ac_ext >&5
32747 ac_cv_lib_posix4_sched_get_priority_max
=no
32749 rm -f conftest.err conftest.
$ac_objext \
32750 conftest
$ac_exeext conftest.
$ac_ext
32751 LIBS
=$ac_check_lib_save_LIBS
32753 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32754 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32755 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32758 POSIX4_LINK
=" -lposix4"
32772 if test "$HAVE_PRIOR_FUNCS" = 1; then
32773 cat >>confdefs.h
<<\_ACEOF
32774 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32778 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32779 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32782 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32783 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32784 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32785 echo $ECHO_N "(cached) $ECHO_C" >&6
32787 cat >conftest.
$ac_ext <<_ACEOF
32790 cat confdefs.h
>>conftest.
$ac_ext
32791 cat >>conftest.
$ac_ext <<_ACEOF
32792 /* end confdefs.h. */
32793 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32795 #define pthread_cancel innocuous_pthread_cancel
32797 /* System header to define __stub macros and hopefully few prototypes,
32798 which can conflict with char pthread_cancel (); below.
32799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32800 <limits.h> exists even on freestanding compilers. */
32803 # include <limits.h>
32805 # include <assert.h>
32808 #undef pthread_cancel
32810 /* Override any gcc2 internal prototype to avoid an error. */
32815 /* We use char because int might match the return type of a gcc2
32816 builtin and then its argument prototype would still apply. */
32817 char pthread_cancel ();
32818 /* The GNU C library defines this for functions which it implements
32819 to always fail with ENOSYS. Some functions are actually named
32820 something starting with __ and the normal name is an alias. */
32821 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32824 char (*f) () = pthread_cancel;
32833 return f != pthread_cancel;
32838 rm -f conftest.
$ac_objext conftest
$ac_exeext
32839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32840 (eval $ac_link) 2>conftest.er1
32842 grep -v '^ *+' conftest.er1
>conftest.err
32844 cat conftest.err
>&5
32845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32846 (exit $ac_status); } &&
32847 { ac_try
='test -z "$ac_c_werror_flag"
32848 || test ! -s conftest.err'
32849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32850 (eval $ac_try) 2>&5
32852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32853 (exit $ac_status); }; } &&
32854 { ac_try
='test -s conftest$ac_exeext'
32855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32856 (eval $ac_try) 2>&5
32858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32859 (exit $ac_status); }; }; then
32860 ac_cv_func_pthread_cancel
=yes
32862 echo "$as_me: failed program was:" >&5
32863 sed 's/^/| /' conftest.
$ac_ext >&5
32865 ac_cv_func_pthread_cancel
=no
32867 rm -f conftest.err conftest.
$ac_objext \
32868 conftest
$ac_exeext conftest.
$ac_ext
32870 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32871 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32872 if test $ac_cv_func_pthread_cancel = yes; then
32873 cat >>confdefs.h
<<\_ACEOF
32874 #define HAVE_PTHREAD_CANCEL 1
32878 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
32879 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32885 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
32886 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
32887 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
32888 echo $ECHO_N "(cached) $ECHO_C" >&6
32891 cat >conftest.
$ac_ext <<_ACEOF
32894 cat confdefs.h
>>conftest.
$ac_ext
32895 cat >>conftest.
$ac_ext <<_ACEOF
32896 /* end confdefs.h. */
32897 #include <pthread.h>
32902 pthread_mutexattr_t attr;
32903 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32909 rm -f conftest.
$ac_objext
32910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32911 (eval $ac_compile) 2>conftest.er1
32913 grep -v '^ *+' conftest.er1
>conftest.err
32915 cat conftest.err
>&5
32916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32917 (exit $ac_status); } &&
32918 { ac_try
='test -z "$ac_c_werror_flag"
32919 || test ! -s conftest.err'
32920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32921 (eval $ac_try) 2>&5
32923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32924 (exit $ac_status); }; } &&
32925 { ac_try
='test -s conftest.$ac_objext'
32926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32927 (eval $ac_try) 2>&5
32929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32930 (exit $ac_status); }; }; then
32932 wx_cv_type_pthread_mutexattr_t
=yes
32935 echo "$as_me: failed program was:" >&5
32936 sed 's/^/| /' conftest.
$ac_ext >&5
32939 wx_cv_type_pthread_mutexattr_t
=no
32943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32946 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
32947 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
32949 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32950 cat >>confdefs.h
<<\_ACEOF
32951 #define HAVE_PTHREAD_MUTEXATTR_T 1
32955 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32956 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
32957 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
32958 echo $ECHO_N "(cached) $ECHO_C" >&6
32961 cat >conftest.
$ac_ext <<_ACEOF
32964 cat confdefs.h
>>conftest.
$ac_ext
32965 cat >>conftest.
$ac_ext <<_ACEOF
32966 /* end confdefs.h. */
32967 #include <pthread.h>
32972 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32978 rm -f conftest.
$ac_objext
32979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32980 (eval $ac_compile) 2>conftest.er1
32982 grep -v '^ *+' conftest.er1
>conftest.err
32984 cat conftest.err
>&5
32985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32986 (exit $ac_status); } &&
32987 { ac_try
='test -z "$ac_c_werror_flag"
32988 || test ! -s conftest.err'
32989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32990 (eval $ac_try) 2>&5
32992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32993 (exit $ac_status); }; } &&
32994 { ac_try
='test -s conftest.$ac_objext'
32995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32996 (eval $ac_try) 2>&5
32998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32999 (exit $ac_status); }; }; then
33001 wx_cv_type_pthread_rec_mutex_init
=yes
33004 echo "$as_me: failed program was:" >&5
33005 sed 's/^/| /' conftest.
$ac_ext >&5
33008 wx_cv_type_pthread_rec_mutex_init
=no
33012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33015 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33016 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33017 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33018 cat >>confdefs.h
<<\_ACEOF
33019 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33023 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33024 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33030 if test "$wxUSE_THREADS" = "yes" ; then
33033 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33034 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33035 if test "${wx_cv_cflags_mthread+set}" = set; then
33036 echo $ECHO_N "(cached) $ECHO_C" >&6
33039 CFLAGS_OLD
="$CFLAGS"
33040 CFLAGS
="$CFLAGS -mthreads"
33041 cat >conftest.
$ac_ext <<_ACEOF
33044 cat confdefs.h
>>conftest.
$ac_ext
33045 cat >>conftest.
$ac_ext <<_ACEOF
33046 /* end confdefs.h. */
33056 rm -f conftest.
$ac_objext
33057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33058 (eval $ac_compile) 2>conftest.er1
33060 grep -v '^ *+' conftest.er1
>conftest.err
33062 cat conftest.err
>&5
33063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33064 (exit $ac_status); } &&
33065 { ac_try
='test -z "$ac_c_werror_flag"
33066 || test ! -s conftest.err'
33067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33068 (eval $ac_try) 2>&5
33070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33071 (exit $ac_status); }; } &&
33072 { ac_try
='test -s conftest.$ac_objext'
33073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33074 (eval $ac_try) 2>&5
33076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33077 (exit $ac_status); }; }; then
33078 wx_cv_cflags_mthread
=yes
33080 echo "$as_me: failed program was:" >&5
33081 sed 's/^/| /' conftest.
$ac_ext >&5
33083 wx_cv_cflags_mthread
=no
33086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33090 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33091 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33093 if test "$wx_cv_cflags_mthread" = "yes"; then
33094 CXXFLAGS
="$CXXFLAGS -mthreads"
33095 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33096 LDFLAGS
="$LDFLAGS -mthreads"
33098 CFLAGS
="$CFLAGS_OLD"
33102 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33103 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33104 LDFLAGS
="$LDFLAGS -Zmt"
33110 if test "$wxUSE_THREADS" = "yes"; then
33111 cat >>confdefs.h
<<\_ACEOF
33112 #define wxUSE_THREADS 1
33116 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33118 if test "$ac_cv_func_strtok_r" = "yes"; then
33119 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33120 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33121 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33122 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33123 echo "$as_me:$LINENO: result: yes" >&5
33124 echo "${ECHO_T}yes" >&6
33126 echo "$as_me:$LINENO: result: no" >&5
33127 echo "${ECHO_T}no" >&6
33132 if test "$WXGTK20" = 1 ; then
33133 cat >>confdefs.h
<<_ACEOF
33134 #define __WXGTK20__ $WXGTK20
33140 if test "$WXGTK12" = 1 ; then
33141 cat >>confdefs.h
<<_ACEOF
33142 #define __WXGTK12__ $WXGTK12
33147 if test "$WXGTK127" = 1 ; then
33148 cat >>confdefs.h
<<_ACEOF
33149 #define __WXGTK127__ $WXGTK127
33154 if test "$WXGPE" = 1 ; then
33155 cat >>confdefs.h
<<_ACEOF
33156 #define __WXGPE__ $WXGPE
33163 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33168 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33169 wxUSE_DEBUG_INFO
=yes
33173 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33174 cat >>confdefs.h
<<\_ACEOF
33178 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33180 if test "$wxUSE_GTK" = 1 ; then
33181 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33185 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33186 cat >>confdefs.h
<<\_ACEOF
33187 #define wxUSE_MEMORY_TRACING 1
33190 cat >>confdefs.h
<<\_ACEOF
33191 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33194 cat >>confdefs.h
<<\_ACEOF
33195 #define wxUSE_DEBUG_NEW_ALWAYS 1
33198 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33201 if test "$wxUSE_DMALLOC" = "yes" ; then
33202 DMALLOC_LIBS
="-ldmalloc"
33206 if test "$wxUSE_PROFILE" = "yes" ; then
33211 CODE_GEN_FLAGS_CXX
=
33212 if test "$GCC" = "yes" ; then
33213 if test "$wxUSE_NO_RTTI" = "yes" ; then
33214 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33216 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33217 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33219 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33220 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33225 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33228 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33234 if test "$wxUSE_OPTIMISE" = "no" ; then
33235 if test "$GCC" = yes ; then
33239 if test "$GCC" = yes ; then
33243 i586
-*-*|i686
-*-* )
33244 OPTIMISE
="${OPTIMISE} "
33253 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33254 cat >>confdefs.h
<<\_ACEOF
33255 #define WXWIN_COMPATIBILITY_2_2 1
33259 WXWIN_COMPATIBILITY_2_4
="yes"
33262 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33263 cat >>confdefs.h
<<\_ACEOF
33264 #define WXWIN_COMPATIBILITY_2_4 1
33270 if test "$wxUSE_GUI" = "yes"; then
33271 cat >>confdefs.h
<<\_ACEOF
33272 #define wxUSE_GUI 1
33277 cat >>confdefs.h
<<\_ACEOF
33278 #define wxUSE_NOGUI 1
33284 if test "$wxUSE_UNIX" = "yes"; then
33285 cat >>confdefs.h
<<\_ACEOF
33286 #define wxUSE_UNIX 1
33292 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33296 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33297 if test "$USE_DARWIN" = 1; then
33301 for ac_func
in dlopen
33303 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33304 echo "$as_me:$LINENO: checking for $ac_func" >&5
33305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33306 if eval "test \"\${$as_ac_var+set}\" = set"; then
33307 echo $ECHO_N "(cached) $ECHO_C" >&6
33309 cat >conftest.
$ac_ext <<_ACEOF
33312 cat confdefs.h
>>conftest.
$ac_ext
33313 cat >>conftest.
$ac_ext <<_ACEOF
33314 /* end confdefs.h. */
33315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33317 #define $ac_func innocuous_$ac_func
33319 /* System header to define __stub macros and hopefully few prototypes,
33320 which can conflict with char $ac_func (); below.
33321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33322 <limits.h> exists even on freestanding compilers. */
33325 # include <limits.h>
33327 # include <assert.h>
33332 /* Override any gcc2 internal prototype to avoid an error. */
33337 /* We use char because int might match the return type of a gcc2
33338 builtin and then its argument prototype would still apply. */
33340 /* The GNU C library defines this for functions which it implements
33341 to always fail with ENOSYS. Some functions are actually named
33342 something starting with __ and the normal name is an alias. */
33343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33346 char (*f) () = $ac_func;
33355 return f != $ac_func;
33360 rm -f conftest.
$ac_objext conftest
$ac_exeext
33361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33362 (eval $ac_link) 2>conftest.er1
33364 grep -v '^ *+' conftest.er1
>conftest.err
33366 cat conftest.err
>&5
33367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33368 (exit $ac_status); } &&
33369 { ac_try
='test -z "$ac_c_werror_flag"
33370 || test ! -s conftest.err'
33371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33372 (eval $ac_try) 2>&5
33374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33375 (exit $ac_status); }; } &&
33376 { ac_try
='test -s conftest$ac_exeext'
33377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33378 (eval $ac_try) 2>&5
33380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33381 (exit $ac_status); }; }; then
33382 eval "$as_ac_var=yes"
33384 echo "$as_me: failed program was:" >&5
33385 sed 's/^/| /' conftest.
$ac_ext >&5
33387 eval "$as_ac_var=no"
33389 rm -f conftest.err conftest.
$ac_objext \
33390 conftest
$ac_exeext conftest.
$ac_ext
33392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33394 if test `eval echo '${'$as_ac_var'}'` = yes; then
33395 cat >>confdefs.h
<<_ACEOF
33396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33399 cat >>confdefs.h
<<\_ACEOF
33400 #define HAVE_DLOPEN 1
33407 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33408 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33409 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33410 echo $ECHO_N "(cached) $ECHO_C" >&6
33412 ac_check_lib_save_LIBS
=$LIBS
33414 cat >conftest.
$ac_ext <<_ACEOF
33417 cat confdefs.h
>>conftest.
$ac_ext
33418 cat >>conftest.
$ac_ext <<_ACEOF
33419 /* end confdefs.h. */
33421 /* Override any gcc2 internal prototype to avoid an error. */
33425 /* We use char because int might match the return type of a gcc2
33426 builtin and then its argument prototype would still apply. */
33436 rm -f conftest.
$ac_objext conftest
$ac_exeext
33437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33438 (eval $ac_link) 2>conftest.er1
33440 grep -v '^ *+' conftest.er1
>conftest.err
33442 cat conftest.err
>&5
33443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33444 (exit $ac_status); } &&
33445 { ac_try
='test -z "$ac_c_werror_flag"
33446 || test ! -s conftest.err'
33447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33448 (eval $ac_try) 2>&5
33450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33451 (exit $ac_status); }; } &&
33452 { ac_try
='test -s conftest$ac_exeext'
33453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33454 (eval $ac_try) 2>&5
33456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33457 (exit $ac_status); }; }; then
33458 ac_cv_lib_dl_dlopen
=yes
33460 echo "$as_me: failed program was:" >&5
33461 sed 's/^/| /' conftest.
$ac_ext >&5
33463 ac_cv_lib_dl_dlopen
=no
33465 rm -f conftest.err conftest.
$ac_objext \
33466 conftest
$ac_exeext conftest.
$ac_ext
33467 LIBS
=$ac_check_lib_save_LIBS
33469 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33470 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33471 if test $ac_cv_lib_dl_dlopen = yes; then
33473 cat >>confdefs.h
<<\_ACEOF
33474 #define HAVE_DLOPEN 1
33478 DL_LINK
=" -ldl$DL_LINK"
33483 for ac_func
in shl_load
33485 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33486 echo "$as_me:$LINENO: checking for $ac_func" >&5
33487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33488 if eval "test \"\${$as_ac_var+set}\" = set"; then
33489 echo $ECHO_N "(cached) $ECHO_C" >&6
33491 cat >conftest.
$ac_ext <<_ACEOF
33494 cat confdefs.h
>>conftest.
$ac_ext
33495 cat >>conftest.
$ac_ext <<_ACEOF
33496 /* end confdefs.h. */
33497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33499 #define $ac_func innocuous_$ac_func
33501 /* System header to define __stub macros and hopefully few prototypes,
33502 which can conflict with char $ac_func (); below.
33503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33504 <limits.h> exists even on freestanding compilers. */
33507 # include <limits.h>
33509 # include <assert.h>
33514 /* Override any gcc2 internal prototype to avoid an error. */
33519 /* We use char because int might match the return type of a gcc2
33520 builtin and then its argument prototype would still apply. */
33522 /* The GNU C library defines this for functions which it implements
33523 to always fail with ENOSYS. Some functions are actually named
33524 something starting with __ and the normal name is an alias. */
33525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33528 char (*f) () = $ac_func;
33537 return f != $ac_func;
33542 rm -f conftest.
$ac_objext conftest
$ac_exeext
33543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33544 (eval $ac_link) 2>conftest.er1
33546 grep -v '^ *+' conftest.er1
>conftest.err
33548 cat conftest.err
>&5
33549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33550 (exit $ac_status); } &&
33551 { ac_try
='test -z "$ac_c_werror_flag"
33552 || test ! -s conftest.err'
33553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33554 (eval $ac_try) 2>&5
33556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33557 (exit $ac_status); }; } &&
33558 { ac_try
='test -s conftest$ac_exeext'
33559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33560 (eval $ac_try) 2>&5
33562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33563 (exit $ac_status); }; }; then
33564 eval "$as_ac_var=yes"
33566 echo "$as_me: failed program was:" >&5
33567 sed 's/^/| /' conftest.
$ac_ext >&5
33569 eval "$as_ac_var=no"
33571 rm -f conftest.err conftest.
$ac_objext \
33572 conftest
$ac_exeext conftest.
$ac_ext
33574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33576 if test `eval echo '${'$as_ac_var'}'` = yes; then
33577 cat >>confdefs.h
<<_ACEOF
33578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33581 cat >>confdefs.h
<<\_ACEOF
33582 #define HAVE_SHL_LOAD 1
33589 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33590 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33591 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33592 echo $ECHO_N "(cached) $ECHO_C" >&6
33594 ac_check_lib_save_LIBS
=$LIBS
33595 LIBS
="-lshl_load $LIBS"
33596 cat >conftest.
$ac_ext <<_ACEOF
33599 cat confdefs.h
>>conftest.
$ac_ext
33600 cat >>conftest.
$ac_ext <<_ACEOF
33601 /* end confdefs.h. */
33603 /* Override any gcc2 internal prototype to avoid an error. */
33607 /* We use char because int might match the return type of a gcc2
33608 builtin and then its argument prototype would still apply. */
33618 rm -f conftest.
$ac_objext conftest
$ac_exeext
33619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33620 (eval $ac_link) 2>conftest.er1
33622 grep -v '^ *+' conftest.er1
>conftest.err
33624 cat conftest.err
>&5
33625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33626 (exit $ac_status); } &&
33627 { ac_try
='test -z "$ac_c_werror_flag"
33628 || test ! -s conftest.err'
33629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33630 (eval $ac_try) 2>&5
33632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33633 (exit $ac_status); }; } &&
33634 { ac_try
='test -s conftest$ac_exeext'
33635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33636 (eval $ac_try) 2>&5
33638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33639 (exit $ac_status); }; }; then
33640 ac_cv_lib_shl_load_dld
=yes
33642 echo "$as_me: failed program was:" >&5
33643 sed 's/^/| /' conftest.
$ac_ext >&5
33645 ac_cv_lib_shl_load_dld
=no
33647 rm -f conftest.err conftest.
$ac_objext \
33648 conftest
$ac_exeext conftest.
$ac_ext
33649 LIBS
=$ac_check_lib_save_LIBS
33651 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33652 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33653 if test $ac_cv_lib_shl_load_dld = yes; then
33656 DL_LINK
=" -ldld$DL_LINK"
33672 if test "$HAVE_DL_FUNCS" = 1; then
33674 for ac_func
in dlerror
33676 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33677 echo "$as_me:$LINENO: checking for $ac_func" >&5
33678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33679 if eval "test \"\${$as_ac_var+set}\" = set"; then
33680 echo $ECHO_N "(cached) $ECHO_C" >&6
33682 cat >conftest.
$ac_ext <<_ACEOF
33685 cat confdefs.h
>>conftest.
$ac_ext
33686 cat >>conftest.
$ac_ext <<_ACEOF
33687 /* end confdefs.h. */
33688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33690 #define $ac_func innocuous_$ac_func
33692 /* System header to define __stub macros and hopefully few prototypes,
33693 which can conflict with char $ac_func (); below.
33694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33695 <limits.h> exists even on freestanding compilers. */
33698 # include <limits.h>
33700 # include <assert.h>
33705 /* Override any gcc2 internal prototype to avoid an error. */
33710 /* We use char because int might match the return type of a gcc2
33711 builtin and then its argument prototype would still apply. */
33713 /* The GNU C library defines this for functions which it implements
33714 to always fail with ENOSYS. Some functions are actually named
33715 something starting with __ and the normal name is an alias. */
33716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33719 char (*f) () = $ac_func;
33728 return f != $ac_func;
33733 rm -f conftest.
$ac_objext conftest
$ac_exeext
33734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33735 (eval $ac_link) 2>conftest.er1
33737 grep -v '^ *+' conftest.er1
>conftest.err
33739 cat conftest.err
>&5
33740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33741 (exit $ac_status); } &&
33742 { ac_try
='test -z "$ac_c_werror_flag"
33743 || test ! -s conftest.err'
33744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33745 (eval $ac_try) 2>&5
33747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33748 (exit $ac_status); }; } &&
33749 { ac_try
='test -s conftest$ac_exeext'
33750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33751 (eval $ac_try) 2>&5
33753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33754 (exit $ac_status); }; }; then
33755 eval "$as_ac_var=yes"
33757 echo "$as_me: failed program was:" >&5
33758 sed 's/^/| /' conftest.
$ac_ext >&5
33760 eval "$as_ac_var=no"
33762 rm -f conftest.err conftest.
$ac_objext \
33763 conftest
$ac_exeext conftest.
$ac_ext
33765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33767 if test `eval echo '${'$as_ac_var'}'` = yes; then
33768 cat >>confdefs.h
<<_ACEOF
33769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33771 cat >>confdefs.h
<<\_ACEOF
33772 #define HAVE_DLERROR 1
33777 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33778 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33779 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33780 echo $ECHO_N "(cached) $ECHO_C" >&6
33782 ac_check_lib_save_LIBS
=$LIBS
33784 cat >conftest.
$ac_ext <<_ACEOF
33787 cat confdefs.h
>>conftest.
$ac_ext
33788 cat >>conftest.
$ac_ext <<_ACEOF
33789 /* end confdefs.h. */
33791 /* Override any gcc2 internal prototype to avoid an error. */
33795 /* We use char because int might match the return type of a gcc2
33796 builtin and then its argument prototype would still apply. */
33806 rm -f conftest.
$ac_objext conftest
$ac_exeext
33807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33808 (eval $ac_link) 2>conftest.er1
33810 grep -v '^ *+' conftest.er1
>conftest.err
33812 cat conftest.err
>&5
33813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33814 (exit $ac_status); } &&
33815 { ac_try
='test -z "$ac_c_werror_flag"
33816 || test ! -s conftest.err'
33817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33818 (eval $ac_try) 2>&5
33820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33821 (exit $ac_status); }; } &&
33822 { ac_try
='test -s conftest$ac_exeext'
33823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33824 (eval $ac_try) 2>&5
33826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33827 (exit $ac_status); }; }; then
33828 ac_cv_lib_dl_dlerror
=yes
33830 echo "$as_me: failed program was:" >&5
33831 sed 's/^/| /' conftest.
$ac_ext >&5
33833 ac_cv_lib_dl_dlerror
=no
33835 rm -f conftest.err conftest.
$ac_objext \
33836 conftest
$ac_exeext conftest.
$ac_ext
33837 LIBS
=$ac_check_lib_save_LIBS
33839 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33840 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33841 if test $ac_cv_lib_dl_dlerror = yes; then
33842 cat >>confdefs.h
<<\_ACEOF
33843 #define HAVE_DLERROR 1
33856 if test "$HAVE_DL_FUNCS" = 0; then
33857 if test "$HAVE_SHL_FUNCS" = 0; then
33858 if test "$USE_UNIX" = 1; then
33859 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33860 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33861 wxUSE_DYNAMIC_LOADER
=no
33862 wxUSE_DYNLIB_CLASS
=no
33864 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
33865 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33872 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33873 cat >>confdefs.h
<<\_ACEOF
33874 #define wxUSE_DYNAMIC_LOADER 1
33878 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33879 cat >>confdefs.h
<<\_ACEOF
33880 #define wxUSE_DYNLIB_CLASS 1
33887 if test "$wxUSE_PLUGINS" = "yes" ; then
33888 if test "$wxUSE_SHARED" = "no" ; then
33889 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
33890 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33893 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33894 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
33895 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33898 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33899 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33900 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33903 if test "$wxUSE_PLUGINS" = "yes" ; then
33904 cat >>confdefs.h
<<\_ACEOF
33905 #define wxUSE_PLUGINS 1
33912 if test "$wxUSE_STL" = "yes"; then
33913 cat >>confdefs.h
<<\_ACEOF
33914 #define wxUSE_STL 1
33919 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33920 cat >>confdefs.h
<<\_ACEOF
33921 #define wxUSE_APPLE_IEEE 1
33926 if test "$wxUSE_TIMER" = "yes"; then
33927 cat >>confdefs.h
<<\_ACEOF
33928 #define wxUSE_TIMER 1
33934 if test "$wxUSE_SOUND" = "yes"; then
33935 if test "$USE_UNIX" = "1" ; then
33937 for ac_header
in sys
/soundcard.h
33939 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33940 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33941 echo "$as_me:$LINENO: checking for $ac_header" >&5
33942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33944 echo $ECHO_N "(cached) $ECHO_C" >&6
33946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33947 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33949 # Is the header compilable?
33950 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33951 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33952 cat >conftest.
$ac_ext <<_ACEOF
33955 cat confdefs.h
>>conftest.
$ac_ext
33956 cat >>conftest.
$ac_ext <<_ACEOF
33957 /* end confdefs.h. */
33958 $ac_includes_default
33959 #include <$ac_header>
33961 rm -f conftest.
$ac_objext
33962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33963 (eval $ac_compile) 2>conftest.er1
33965 grep -v '^ *+' conftest.er1
>conftest.err
33967 cat conftest.err
>&5
33968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33969 (exit $ac_status); } &&
33970 { ac_try
='test -z "$ac_c_werror_flag"
33971 || test ! -s conftest.err'
33972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33973 (eval $ac_try) 2>&5
33975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33976 (exit $ac_status); }; } &&
33977 { ac_try
='test -s conftest.$ac_objext'
33978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33979 (eval $ac_try) 2>&5
33981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33982 (exit $ac_status); }; }; then
33983 ac_header_compiler
=yes
33985 echo "$as_me: failed program was:" >&5
33986 sed 's/^/| /' conftest.
$ac_ext >&5
33988 ac_header_compiler
=no
33990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33991 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33992 echo "${ECHO_T}$ac_header_compiler" >&6
33994 # Is the header present?
33995 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33996 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33997 cat >conftest.
$ac_ext <<_ACEOF
34000 cat confdefs.h
>>conftest.
$ac_ext
34001 cat >>conftest.
$ac_ext <<_ACEOF
34002 /* end confdefs.h. */
34003 #include <$ac_header>
34005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34006 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34008 grep -v '^ *+' conftest.er1
>conftest.err
34010 cat conftest.err
>&5
34011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34012 (exit $ac_status); } >/dev
/null
; then
34013 if test -s conftest.err
; then
34014 ac_cpp_err
=$ac_c_preproc_warn_flag
34015 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34022 if test -z "$ac_cpp_err"; then
34023 ac_header_preproc
=yes
34025 echo "$as_me: failed program was:" >&5
34026 sed 's/^/| /' conftest.
$ac_ext >&5
34028 ac_header_preproc
=no
34030 rm -f conftest.err conftest.
$ac_ext
34031 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34032 echo "${ECHO_T}$ac_header_preproc" >&6
34034 # So? What about this header?
34035 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34037 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34038 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34039 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34040 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34041 ac_header_preproc
=yes
34044 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34045 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34046 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34047 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34048 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34049 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34050 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34051 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34053 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34054 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34055 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34058 ## ----------------------------------------- ##
34059 ## Report this to wx-dev@lists.wxwidgets.org ##
34060 ## ----------------------------------------- ##
34063 sed "s/^/$as_me: WARNING: /" >&2
34066 echo "$as_me:$LINENO: checking for $ac_header" >&5
34067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34069 echo $ECHO_N "(cached) $ECHO_C" >&6
34071 eval "$as_ac_Header=\$ac_header_preproc"
34073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34074 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34077 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34078 cat >>confdefs.h
<<_ACEOF
34079 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34087 if test "$wxUSE_LIBSDL" != "no"; then
34089 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34090 if test "${with_sdl_prefix+set}" = set; then
34091 withval
="$with_sdl_prefix"
34092 sdl_prefix
="$withval"
34097 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34098 if test "${with_sdl_exec_prefix+set}" = set; then
34099 withval
="$with_sdl_exec_prefix"
34100 sdl_exec_prefix
="$withval"
34104 # Check whether --enable-sdltest or --disable-sdltest was given.
34105 if test "${enable_sdltest+set}" = set; then
34106 enableval
="$enable_sdltest"
34112 if test x
$sdl_exec_prefix != x
; then
34113 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34114 if test x
${SDL_CONFIG+set} != xset
; then
34115 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34118 if test x
$sdl_prefix != x
; then
34119 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34120 if test x
${SDL_CONFIG+set} != xset
; then
34121 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34126 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34127 # Extract the first word of "sdl-config", so it can be a program name with args.
34128 set dummy sdl
-config; ac_word
=$2
34129 echo "$as_me:$LINENO: checking for $ac_word" >&5
34130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34131 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34132 echo $ECHO_N "(cached) $ECHO_C" >&6
34134 case $SDL_CONFIG in
34136 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34140 for as_dir
in $PATH
34143 test -z "$as_dir" && as_dir
=.
34144 for ac_exec_ext
in '' $ac_executable_extensions; do
34145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34146 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34153 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34157 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34159 if test -n "$SDL_CONFIG"; then
34160 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34161 echo "${ECHO_T}$SDL_CONFIG" >&6
34163 echo "$as_me:$LINENO: result: no" >&5
34164 echo "${ECHO_T}no" >&6
34167 min_sdl_version
=1.2.0
34168 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34169 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34171 if test "$SDL_CONFIG" = "no" ; then
34174 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34175 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34177 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34178 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34179 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34180 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34181 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34182 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34183 if test "x$enable_sdltest" = "xyes" ; then
34184 ac_save_CFLAGS
="$CFLAGS"
34185 ac_save_LIBS
="$LIBS"
34186 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34187 LIBS
="$LIBS $SDL_LIBS"
34189 if test "$cross_compiling" = yes; then
34190 echo $ac_n "cross compiling; assumed OK... $ac_c"
34192 cat >conftest.
$ac_ext <<_ACEOF
34195 cat confdefs.h
>>conftest.
$ac_ext
34196 cat >>conftest.
$ac_ext <<_ACEOF
34197 /* end confdefs.h. */
34200 #include <stdlib.h>
34201 #include <string.h>
34205 my_strdup (char *str)
34211 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34212 strcpy (new_str, str);
34220 int main (int argc, char *argv[])
34222 int major, minor, micro;
34225 /* This hangs on some systems (?)
34226 system ("touch conf.sdltest");
34228 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34230 /* HP/UX 9 (%@#!) writes to sscanf strings */
34231 tmp_version = my_strdup("$min_sdl_version");
34232 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34233 printf("%s, bad version string\n", "$min_sdl_version");
34237 if (($sdl_major_version > major) ||
34238 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34239 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34245 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34246 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34247 printf("*** best to upgrade to the required version.\n");
34248 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34249 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34250 printf("*** config.cache before re-running configure\n");
34257 rm -f conftest
$ac_exeext
34258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34259 (eval $ac_link) 2>&5
34261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34262 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34264 (eval $ac_try) 2>&5
34266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34267 (exit $ac_status); }; }; then
34270 echo "$as_me: program exited with status $ac_status" >&5
34271 echo "$as_me: failed program was:" >&5
34272 sed 's/^/| /' conftest.
$ac_ext >&5
34274 ( exit $ac_status )
34277 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34279 CFLAGS
="$ac_save_CFLAGS"
34280 LIBS
="$ac_save_LIBS"
34283 if test "x$no_sdl" = x
; then
34284 echo "$as_me:$LINENO: result: yes" >&5
34285 echo "${ECHO_T}yes" >&6
34287 EXTRALIBS_SDL
="$SDL_LIBS"
34288 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34289 cat >>confdefs.h
<<\_ACEOF
34290 #define wxUSE_LIBSDL 1
34295 echo "$as_me:$LINENO: result: no" >&5
34296 echo "${ECHO_T}no" >&6
34297 if test "$SDL_CONFIG" = "no" ; then
34298 echo "*** The sdl-config script installed by SDL could not be found"
34299 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34300 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34301 echo "*** full path to sdl-config."
34303 if test -f conf.sdltest
; then
34306 echo "*** Could not run SDL test program, checking why..."
34307 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34308 LIBS
="$LIBS $SDL_LIBS"
34309 cat >conftest.
$ac_ext <<_ACEOF
34312 cat confdefs.h
>>conftest.
$ac_ext
34313 cat >>conftest.
$ac_ext <<_ACEOF
34314 /* end confdefs.h. */
34319 int main(int argc, char *argv[])
34322 #define main K_and_R_C_main
34332 rm -f conftest.
$ac_objext conftest
$ac_exeext
34333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34334 (eval $ac_link) 2>conftest.er1
34336 grep -v '^ *+' conftest.er1
>conftest.err
34338 cat conftest.err
>&5
34339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34340 (exit $ac_status); } &&
34341 { ac_try
='test -z "$ac_c_werror_flag"
34342 || test ! -s conftest.err'
34343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34344 (eval $ac_try) 2>&5
34346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34347 (exit $ac_status); }; } &&
34348 { ac_try
='test -s conftest$ac_exeext'
34349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34350 (eval $ac_try) 2>&5
34352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34353 (exit $ac_status); }; }; then
34354 echo "*** The test program compiled, but did not run. This usually means"
34355 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34356 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34357 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34358 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34359 echo "*** is required on your system"
34361 echo "*** If you have an old version installed, it is best to remove it, although"
34362 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34364 echo "$as_me: failed program was:" >&5
34365 sed 's/^/| /' conftest.
$ac_ext >&5
34367 echo "*** The test program failed to compile or link. See the file config.log for the"
34368 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34369 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34370 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34372 rm -f conftest.err conftest.
$ac_objext \
34373 conftest
$ac_exeext conftest.
$ac_ext
34374 CFLAGS
="$ac_save_CFLAGS"
34375 LIBS
="$ac_save_LIBS"
34386 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34392 cat >>confdefs.h
<<\_ACEOF
34393 #define wxUSE_SOUND 1
34396 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34399 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34400 cat >>confdefs.h
<<\_ACEOF
34401 #define wxUSE_CMDLINE_PARSER 1
34406 if test "$wxUSE_STOPWATCH" = "yes"; then
34407 cat >>confdefs.h
<<\_ACEOF
34408 #define wxUSE_STOPWATCH 1
34413 if test "$wxUSE_DATETIME" = "yes"; then
34414 cat >>confdefs.h
<<\_ACEOF
34415 #define wxUSE_DATETIME 1
34420 if test "$wxUSE_FILE" = "yes"; then
34421 cat >>confdefs.h
<<\_ACEOF
34422 #define wxUSE_FILE 1
34427 if test "$wxUSE_FFILE" = "yes"; then
34428 cat >>confdefs.h
<<\_ACEOF
34429 #define wxUSE_FFILE 1
34434 if test "$wxUSE_FILESYSTEM" = "yes"; then
34435 cat >>confdefs.h
<<\_ACEOF
34436 #define wxUSE_FILESYSTEM 1
34441 if test "$wxUSE_FS_ZIP" = "yes"; then
34442 cat >>confdefs.h
<<\_ACEOF
34443 #define wxUSE_FS_ZIP 1
34448 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34449 cat >>confdefs.h
<<\_ACEOF
34450 #define wxUSE_ZIPSTREAM 1
34455 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34456 cat >>confdefs.h
<<\_ACEOF
34457 #define wxUSE_ON_FATAL_EXCEPTION 1
34462 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34463 cat >>confdefs.h
<<\_ACEOF
34464 #define wxUSE_SNGLINST_CHECKER 1
34469 if test "$wxUSE_BUSYINFO" = "yes"; then
34470 cat >>confdefs.h
<<\_ACEOF
34471 #define wxUSE_BUSYINFO 1
34476 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34477 cat >>confdefs.h
<<\_ACEOF
34478 #define wxUSE_STD_IOSTREAM 1
34483 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34484 cat >>confdefs.h
<<\_ACEOF
34485 #define wxUSE_TEXTBUFFER 1
34490 if test "$wxUSE_TEXTFILE" = "yes"; then
34491 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34492 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34493 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34495 cat >>confdefs.h
<<\_ACEOF
34496 #define wxUSE_TEXTFILE 1
34502 if test "$wxUSE_CONFIG" = "yes" ; then
34503 if test "$wxUSE_TEXTFILE" != "yes"; then
34504 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34505 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34507 cat >>confdefs.h
<<\_ACEOF
34508 #define wxUSE_CONFIG 1
34511 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34515 if test "$wxUSE_INTL" = "yes" ; then
34516 if test "$wxUSE_FILE" != "yes"; then
34517 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34518 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34520 cat >>confdefs.h
<<\_ACEOF
34521 #define wxUSE_INTL 1
34524 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34525 GUIDIST
="$GUIDIST INTL_DIST"
34529 if test "$wxUSE_LOG" = "yes"; then
34530 cat >>confdefs.h
<<\_ACEOF
34531 #define wxUSE_LOG 1
34535 if test "$wxUSE_LOGGUI" = "yes"; then
34536 cat >>confdefs.h
<<\_ACEOF
34537 #define wxUSE_LOGGUI 1
34542 if test "$wxUSE_LOGWINDOW" = "yes"; then
34543 cat >>confdefs.h
<<\_ACEOF
34544 #define wxUSE_LOGWINDOW 1
34549 if test "$wxUSE_LOGDIALOG" = "yes"; then
34550 cat >>confdefs.h
<<\_ACEOF
34551 #define wxUSE_LOG_DIALOG 1
34557 if test "$wxUSE_LONGLONG" = "yes"; then
34558 cat >>confdefs.h
<<\_ACEOF
34559 #define wxUSE_LONGLONG 1
34564 if test "$wxUSE_GEOMETRY" = "yes"; then
34565 cat >>confdefs.h
<<\_ACEOF
34566 #define wxUSE_GEOMETRY 1
34571 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34572 cat >>confdefs.h
<<\_ACEOF
34573 #define wxUSE_DIALUP_MANAGER 1
34576 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
34579 if test "$wxUSE_STREAMS" = "yes" ; then
34580 cat >>confdefs.h
<<\_ACEOF
34581 #define wxUSE_STREAMS 1
34587 if test "$wxUSE_DATETIME" = "yes"; then
34589 for ac_func
in strptime
34591 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34592 echo "$as_me:$LINENO: checking for $ac_func" >&5
34593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34594 if eval "test \"\${$as_ac_var+set}\" = set"; then
34595 echo $ECHO_N "(cached) $ECHO_C" >&6
34597 cat >conftest.
$ac_ext <<_ACEOF
34600 cat confdefs.h
>>conftest.
$ac_ext
34601 cat >>conftest.
$ac_ext <<_ACEOF
34602 /* end confdefs.h. */
34603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34605 #define $ac_func innocuous_$ac_func
34607 /* System header to define __stub macros and hopefully few prototypes,
34608 which can conflict with char $ac_func (); below.
34609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34610 <limits.h> exists even on freestanding compilers. */
34613 # include <limits.h>
34615 # include <assert.h>
34620 /* Override any gcc2 internal prototype to avoid an error. */
34625 /* We use char because int might match the return type of a gcc2
34626 builtin and then its argument prototype would still apply. */
34628 /* The GNU C library defines this for functions which it implements
34629 to always fail with ENOSYS. Some functions are actually named
34630 something starting with __ and the normal name is an alias. */
34631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34634 char (*f) () = $ac_func;
34643 return f != $ac_func;
34648 rm -f conftest.
$ac_objext conftest
$ac_exeext
34649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34650 (eval $ac_link) 2>conftest.er1
34652 grep -v '^ *+' conftest.er1
>conftest.err
34654 cat conftest.err
>&5
34655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34656 (exit $ac_status); } &&
34657 { ac_try
='test -z "$ac_c_werror_flag"
34658 || test ! -s conftest.err'
34659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34660 (eval $ac_try) 2>&5
34662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34663 (exit $ac_status); }; } &&
34664 { ac_try
='test -s conftest$ac_exeext'
34665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34666 (eval $ac_try) 2>&5
34668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34669 (exit $ac_status); }; }; then
34670 eval "$as_ac_var=yes"
34672 echo "$as_me: failed program was:" >&5
34673 sed 's/^/| /' conftest.
$ac_ext >&5
34675 eval "$as_ac_var=no"
34677 rm -f conftest.err conftest.
$ac_objext \
34678 conftest
$ac_exeext conftest.
$ac_ext
34680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34682 if test `eval echo '${'$as_ac_var'}'` = yes; then
34683 cat >>confdefs.h
<<_ACEOF
34684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34691 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34692 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34693 if test "${wx_cv_var_timezone+set}" = set; then
34694 echo $ECHO_N "(cached) $ECHO_C" >&6
34697 cat >conftest.
$ac_ext <<_ACEOF
34700 cat confdefs.h
>>conftest.
$ac_ext
34701 cat >>conftest.
$ac_ext <<_ACEOF
34702 /* end confdefs.h. */
34717 rm -f conftest.
$ac_objext
34718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34719 (eval $ac_compile) 2>conftest.er1
34721 grep -v '^ *+' conftest.er1
>conftest.err
34723 cat conftest.err
>&5
34724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34725 (exit $ac_status); } &&
34726 { ac_try
='test -z "$ac_c_werror_flag"
34727 || test ! -s conftest.err'
34728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34729 (eval $ac_try) 2>&5
34731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34732 (exit $ac_status); }; } &&
34733 { ac_try
='test -s conftest.$ac_objext'
34734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34735 (eval $ac_try) 2>&5
34737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34738 (exit $ac_status); }; }; then
34740 wx_cv_var_timezone
=timezone
34743 echo "$as_me: failed program was:" >&5
34744 sed 's/^/| /' conftest.
$ac_ext >&5
34747 cat >conftest.
$ac_ext <<_ACEOF
34750 cat confdefs.h
>>conftest.
$ac_ext
34751 cat >>conftest.
$ac_ext <<_ACEOF
34752 /* end confdefs.h. */
34767 rm -f conftest.
$ac_objext
34768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34769 (eval $ac_compile) 2>conftest.er1
34771 grep -v '^ *+' conftest.er1
>conftest.err
34773 cat conftest.err
>&5
34774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34775 (exit $ac_status); } &&
34776 { ac_try
='test -z "$ac_c_werror_flag"
34777 || test ! -s conftest.err'
34778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34779 (eval $ac_try) 2>&5
34781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34782 (exit $ac_status); }; } &&
34783 { ac_try
='test -s conftest.$ac_objext'
34784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34785 (eval $ac_try) 2>&5
34787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34788 (exit $ac_status); }; }; then
34790 wx_cv_var_timezone
=_timezone
34793 echo "$as_me: failed program was:" >&5
34794 sed 's/^/| /' conftest.
$ac_ext >&5
34797 cat >conftest.
$ac_ext <<_ACEOF
34800 cat confdefs.h
>>conftest.
$ac_ext
34801 cat >>conftest.
$ac_ext <<_ACEOF
34802 /* end confdefs.h. */
34817 rm -f conftest.
$ac_objext
34818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34819 (eval $ac_compile) 2>conftest.er1
34821 grep -v '^ *+' conftest.er1
>conftest.err
34823 cat conftest.err
>&5
34824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34825 (exit $ac_status); } &&
34826 { ac_try
='test -z "$ac_c_werror_flag"
34827 || test ! -s conftest.err'
34828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34829 (eval $ac_try) 2>&5
34831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34832 (exit $ac_status); }; } &&
34833 { ac_try
='test -s conftest.$ac_objext'
34834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34835 (eval $ac_try) 2>&5
34837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34838 (exit $ac_status); }; }; then
34840 wx_cv_var_timezone
=__timezone
34843 echo "$as_me: failed program was:" >&5
34844 sed 's/^/| /' conftest.
$ac_ext >&5
34847 if test "$USE_DOS" = 0 ; then
34848 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
34849 echo "$as_me: WARNING: no timezone variable" >&2;}
34854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34866 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
34867 echo "${ECHO_T}$wx_cv_var_timezone" >&6
34869 if test "x$wx_cv_var_timezone" != x
; then
34870 cat >>confdefs.h
<<_ACEOF
34871 #define WX_TIMEZONE $wx_cv_var_timezone
34877 for ac_func
in localtime
34879 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34880 echo "$as_me:$LINENO: checking for $ac_func" >&5
34881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34882 if eval "test \"\${$as_ac_var+set}\" = set"; then
34883 echo $ECHO_N "(cached) $ECHO_C" >&6
34885 cat >conftest.
$ac_ext <<_ACEOF
34888 cat confdefs.h
>>conftest.
$ac_ext
34889 cat >>conftest.
$ac_ext <<_ACEOF
34890 /* end confdefs.h. */
34891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34893 #define $ac_func innocuous_$ac_func
34895 /* System header to define __stub macros and hopefully few prototypes,
34896 which can conflict with char $ac_func (); below.
34897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34898 <limits.h> exists even on freestanding compilers. */
34901 # include <limits.h>
34903 # include <assert.h>
34908 /* Override any gcc2 internal prototype to avoid an error. */
34913 /* We use char because int might match the return type of a gcc2
34914 builtin and then its argument prototype would still apply. */
34916 /* The GNU C library defines this for functions which it implements
34917 to always fail with ENOSYS. Some functions are actually named
34918 something starting with __ and the normal name is an alias. */
34919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34922 char (*f) () = $ac_func;
34931 return f != $ac_func;
34936 rm -f conftest.
$ac_objext conftest
$ac_exeext
34937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34938 (eval $ac_link) 2>conftest.er1
34940 grep -v '^ *+' conftest.er1
>conftest.err
34942 cat conftest.err
>&5
34943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34944 (exit $ac_status); } &&
34945 { ac_try
='test -z "$ac_c_werror_flag"
34946 || test ! -s conftest.err'
34947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34948 (eval $ac_try) 2>&5
34950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34951 (exit $ac_status); }; } &&
34952 { ac_try
='test -s conftest$ac_exeext'
34953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34954 (eval $ac_try) 2>&5
34956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34957 (exit $ac_status); }; }; then
34958 eval "$as_ac_var=yes"
34960 echo "$as_me: failed program was:" >&5
34961 sed 's/^/| /' conftest.
$ac_ext >&5
34963 eval "$as_ac_var=no"
34965 rm -f conftest.err conftest.
$ac_objext \
34966 conftest
$ac_exeext conftest.
$ac_ext
34968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34970 if test `eval echo '${'$as_ac_var'}'` = yes; then
34971 cat >>confdefs.h
<<_ACEOF
34972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34979 if test "$ac_cv_func_localtime" = "yes"; then
34980 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
34981 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
34982 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
34983 echo $ECHO_N "(cached) $ECHO_C" >&6
34986 cat >conftest.
$ac_ext <<_ACEOF
34989 cat confdefs.h
>>conftest.
$ac_ext
34990 cat >>conftest.
$ac_ext <<_ACEOF
34991 /* end confdefs.h. */
35006 rm -f conftest.
$ac_objext
35007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35008 (eval $ac_compile) 2>conftest.er1
35010 grep -v '^ *+' conftest.er1
>conftest.err
35012 cat conftest.err
>&5
35013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35014 (exit $ac_status); } &&
35015 { ac_try
='test -z "$ac_c_werror_flag"
35016 || test ! -s conftest.err'
35017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35018 (eval $ac_try) 2>&5
35020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35021 (exit $ac_status); }; } &&
35022 { ac_try
='test -s conftest.$ac_objext'
35023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35024 (eval $ac_try) 2>&5
35026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35027 (exit $ac_status); }; }; then
35029 wx_cv_struct_tm_has_gmtoff
=yes
35032 echo "$as_me: failed program was:" >&5
35033 sed 's/^/| /' conftest.
$ac_ext >&5
35035 wx_cv_struct_tm_has_gmtoff
=no
35038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35041 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35042 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35045 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35046 cat >>confdefs.h
<<\_ACEOF
35047 #define WX_GMTOFF_IN_TM 1
35054 for ac_func
in gettimeofday ftime
35056 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35057 echo "$as_me:$LINENO: checking for $ac_func" >&5
35058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35059 if eval "test \"\${$as_ac_var+set}\" = set"; then
35060 echo $ECHO_N "(cached) $ECHO_C" >&6
35062 cat >conftest.
$ac_ext <<_ACEOF
35065 cat confdefs.h
>>conftest.
$ac_ext
35066 cat >>conftest.
$ac_ext <<_ACEOF
35067 /* end confdefs.h. */
35068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35070 #define $ac_func innocuous_$ac_func
35072 /* System header to define __stub macros and hopefully few prototypes,
35073 which can conflict with char $ac_func (); below.
35074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35075 <limits.h> exists even on freestanding compilers. */
35078 # include <limits.h>
35080 # include <assert.h>
35085 /* Override any gcc2 internal prototype to avoid an error. */
35090 /* We use char because int might match the return type of a gcc2
35091 builtin and then its argument prototype would still apply. */
35093 /* The GNU C library defines this for functions which it implements
35094 to always fail with ENOSYS. Some functions are actually named
35095 something starting with __ and the normal name is an alias. */
35096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35099 char (*f) () = $ac_func;
35108 return f != $ac_func;
35113 rm -f conftest.
$ac_objext conftest
$ac_exeext
35114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35115 (eval $ac_link) 2>conftest.er1
35117 grep -v '^ *+' conftest.er1
>conftest.err
35119 cat conftest.err
>&5
35120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35121 (exit $ac_status); } &&
35122 { ac_try
='test -z "$ac_c_werror_flag"
35123 || test ! -s conftest.err'
35124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35125 (eval $ac_try) 2>&5
35127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35128 (exit $ac_status); }; } &&
35129 { ac_try
='test -s conftest$ac_exeext'
35130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35131 (eval $ac_try) 2>&5
35133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35134 (exit $ac_status); }; }; then
35135 eval "$as_ac_var=yes"
35137 echo "$as_me: failed program was:" >&5
35138 sed 's/^/| /' conftest.
$ac_ext >&5
35140 eval "$as_ac_var=no"
35142 rm -f conftest.err conftest.
$ac_objext \
35143 conftest
$ac_exeext conftest.
$ac_ext
35145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35147 if test `eval echo '${'$as_ac_var'}'` = yes; then
35148 cat >>confdefs.h
<<_ACEOF
35149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35156 if test "$ac_cv_func_gettimeofday" = "yes"; then
35157 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35158 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35159 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35160 echo $ECHO_N "(cached) $ECHO_C" >&6
35166 ac_cpp
='$CXXCPP $CPPFLAGS'
35167 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35168 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35169 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35172 cat >conftest.
$ac_ext <<_ACEOF
35175 cat confdefs.h
>>conftest.
$ac_ext
35176 cat >>conftest.
$ac_ext <<_ACEOF
35177 /* end confdefs.h. */
35179 #include <sys/time.h>
35180 #include <unistd.h>
35187 gettimeofday(&tv, NULL);
35193 rm -f conftest.
$ac_objext
35194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35195 (eval $ac_compile) 2>conftest.er1
35197 grep -v '^ *+' conftest.er1
>conftest.err
35199 cat conftest.err
>&5
35200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35201 (exit $ac_status); } &&
35202 { ac_try
='test -z "$ac_cxx_werror_flag"
35203 || test ! -s conftest.err'
35204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35205 (eval $ac_try) 2>&5
35207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35208 (exit $ac_status); }; } &&
35209 { ac_try
='test -s conftest.$ac_objext'
35210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35211 (eval $ac_try) 2>&5
35213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35214 (exit $ac_status); }; }; then
35215 wx_cv_func_gettimeofday_has_2_args
=yes
35217 echo "$as_me: failed program was:" >&5
35218 sed 's/^/| /' conftest.
$ac_ext >&5
35220 cat >conftest.
$ac_ext <<_ACEOF
35223 cat confdefs.h
>>conftest.
$ac_ext
35224 cat >>conftest.
$ac_ext <<_ACEOF
35225 /* end confdefs.h. */
35227 #include <sys/time.h>
35228 #include <unistd.h>
35241 rm -f conftest.
$ac_objext
35242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35243 (eval $ac_compile) 2>conftest.er1
35245 grep -v '^ *+' conftest.er1
>conftest.err
35247 cat conftest.err
>&5
35248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35249 (exit $ac_status); } &&
35250 { ac_try
='test -z "$ac_cxx_werror_flag"
35251 || test ! -s conftest.err'
35252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35253 (eval $ac_try) 2>&5
35255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35256 (exit $ac_status); }; } &&
35257 { ac_try
='test -s conftest.$ac_objext'
35258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35259 (eval $ac_try) 2>&5
35261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35262 (exit $ac_status); }; }; then
35263 wx_cv_func_gettimeofday_has_2_args
=no
35265 echo "$as_me: failed program was:" >&5
35266 sed 's/^/| /' conftest.
$ac_ext >&5
35269 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35270 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35271 wx_cv_func_gettimeofday_has_2_args
=unknown
35275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35280 ac_cpp
='$CPP $CPPFLAGS'
35281 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35282 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35283 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35287 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35288 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35290 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35291 cat >>confdefs.h
<<\_ACEOF
35292 #define WX_GETTIMEOFDAY_NO_TZ 1
35298 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35302 if test "$wxUSE_SOCKETS" = "yes"; then
35303 if test "$wxUSE_MGL" = "1"; then
35304 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35305 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35310 if test "$wxUSE_SOCKETS" = "yes"; then
35311 if test "$TOOLKIT" != "MSW"; then
35312 echo "$as_me:$LINENO: checking for socket" >&5
35313 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35314 if test "${ac_cv_func_socket+set}" = set; then
35315 echo $ECHO_N "(cached) $ECHO_C" >&6
35317 cat >conftest.
$ac_ext <<_ACEOF
35320 cat confdefs.h
>>conftest.
$ac_ext
35321 cat >>conftest.
$ac_ext <<_ACEOF
35322 /* end confdefs.h. */
35323 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35325 #define socket innocuous_socket
35327 /* System header to define __stub macros and hopefully few prototypes,
35328 which can conflict with char socket (); below.
35329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35330 <limits.h> exists even on freestanding compilers. */
35333 # include <limits.h>
35335 # include <assert.h>
35340 /* Override any gcc2 internal prototype to avoid an error. */
35345 /* We use char because int might match the return type of a gcc2
35346 builtin and then its argument prototype would still apply. */
35348 /* The GNU C library defines this for functions which it implements
35349 to always fail with ENOSYS. Some functions are actually named
35350 something starting with __ and the normal name is an alias. */
35351 #if defined (__stub_socket) || defined (__stub___socket)
35354 char (*f) () = socket;
35363 return f != socket;
35368 rm -f conftest.
$ac_objext conftest
$ac_exeext
35369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35370 (eval $ac_link) 2>conftest.er1
35372 grep -v '^ *+' conftest.er1
>conftest.err
35374 cat conftest.err
>&5
35375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35376 (exit $ac_status); } &&
35377 { ac_try
='test -z "$ac_c_werror_flag"
35378 || test ! -s conftest.err'
35379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35380 (eval $ac_try) 2>&5
35382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35383 (exit $ac_status); }; } &&
35384 { ac_try
='test -s conftest$ac_exeext'
35385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35386 (eval $ac_try) 2>&5
35388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35389 (exit $ac_status); }; }; then
35390 ac_cv_func_socket
=yes
35392 echo "$as_me: failed program was:" >&5
35393 sed 's/^/| /' conftest.
$ac_ext >&5
35395 ac_cv_func_socket
=no
35397 rm -f conftest.err conftest.
$ac_objext \
35398 conftest
$ac_exeext conftest.
$ac_ext
35400 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35401 echo "${ECHO_T}$ac_cv_func_socket" >&6
35402 if test $ac_cv_func_socket = yes; then
35406 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35407 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35408 if test "${ac_cv_lib_socket_socket+set}" = set; then
35409 echo $ECHO_N "(cached) $ECHO_C" >&6
35411 ac_check_lib_save_LIBS
=$LIBS
35412 LIBS
="-lsocket $LIBS"
35413 cat >conftest.
$ac_ext <<_ACEOF
35416 cat confdefs.h
>>conftest.
$ac_ext
35417 cat >>conftest.
$ac_ext <<_ACEOF
35418 /* end confdefs.h. */
35420 /* Override any gcc2 internal prototype to avoid an error. */
35424 /* We use char because int might match the return type of a gcc2
35425 builtin and then its argument prototype would still apply. */
35435 rm -f conftest.
$ac_objext conftest
$ac_exeext
35436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35437 (eval $ac_link) 2>conftest.er1
35439 grep -v '^ *+' conftest.er1
>conftest.err
35441 cat conftest.err
>&5
35442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35443 (exit $ac_status); } &&
35444 { ac_try
='test -z "$ac_c_werror_flag"
35445 || test ! -s conftest.err'
35446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35447 (eval $ac_try) 2>&5
35449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35450 (exit $ac_status); }; } &&
35451 { ac_try
='test -s conftest$ac_exeext'
35452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35453 (eval $ac_try) 2>&5
35455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35456 (exit $ac_status); }; }; then
35457 ac_cv_lib_socket_socket
=yes
35459 echo "$as_me: failed program was:" >&5
35460 sed 's/^/| /' conftest.
$ac_ext >&5
35462 ac_cv_lib_socket_socket
=no
35464 rm -f conftest.err conftest.
$ac_objext \
35465 conftest
$ac_exeext conftest.
$ac_ext
35466 LIBS
=$ac_check_lib_save_LIBS
35468 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35469 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35470 if test $ac_cv_lib_socket_socket = yes; then
35471 if test "$INET_LINK" != " -lsocket"; then
35472 INET_LINK
="$INET_LINK -lsocket"
35476 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35477 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35490 if test "$wxUSE_SOCKETS" = "yes" ; then
35491 if test "$TOOLKIT" != "MSW"; then
35492 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35493 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35494 if test "${wx_cv_type_getsockname3+set}" = set; then
35495 echo $ECHO_N "(cached) $ECHO_C" >&6
35498 cat >conftest.
$ac_ext <<_ACEOF
35501 cat confdefs.h
>>conftest.
$ac_ext
35502 cat >>conftest.
$ac_ext <<_ACEOF
35503 /* end confdefs.h. */
35505 #include <sys/types.h>
35506 #include <sys/socket.h>
35513 getsockname(0, 0, &len);
35519 rm -f conftest.
$ac_objext
35520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35521 (eval $ac_compile) 2>conftest.er1
35523 grep -v '^ *+' conftest.er1
>conftest.err
35525 cat conftest.err
>&5
35526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35527 (exit $ac_status); } &&
35528 { ac_try
='test -z "$ac_c_werror_flag"
35529 || test ! -s conftest.err'
35530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35531 (eval $ac_try) 2>&5
35533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35534 (exit $ac_status); }; } &&
35535 { ac_try
='test -s conftest.$ac_objext'
35536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35537 (eval $ac_try) 2>&5
35539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35540 (exit $ac_status); }; }; then
35541 wx_cv_type_getsockname3
=socklen_t
35543 echo "$as_me: failed program was:" >&5
35544 sed 's/^/| /' conftest.
$ac_ext >&5
35547 CFLAGS_OLD
="$CFLAGS"
35548 if test "$GCC" = yes ; then
35549 CFLAGS
="$CFLAGS -Werror"
35552 cat >conftest.
$ac_ext <<_ACEOF
35555 cat confdefs.h
>>conftest.
$ac_ext
35556 cat >>conftest.
$ac_ext <<_ACEOF
35557 /* end confdefs.h. */
35559 #include <sys/types.h>
35560 #include <sys/socket.h>
35567 getsockname(0, 0, &len);
35573 rm -f conftest.
$ac_objext
35574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35575 (eval $ac_compile) 2>conftest.er1
35577 grep -v '^ *+' conftest.er1
>conftest.err
35579 cat conftest.err
>&5
35580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35581 (exit $ac_status); } &&
35582 { ac_try
='test -z "$ac_c_werror_flag"
35583 || test ! -s conftest.err'
35584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35585 (eval $ac_try) 2>&5
35587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35588 (exit $ac_status); }; } &&
35589 { ac_try
='test -s conftest.$ac_objext'
35590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35591 (eval $ac_try) 2>&5
35593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35594 (exit $ac_status); }; }; then
35595 wx_cv_type_getsockname3
=size_t
35597 echo "$as_me: failed program was:" >&5
35598 sed 's/^/| /' conftest.
$ac_ext >&5
35600 cat >conftest.
$ac_ext <<_ACEOF
35603 cat confdefs.h
>>conftest.
$ac_ext
35604 cat >>conftest.
$ac_ext <<_ACEOF
35605 /* end confdefs.h. */
35607 #include <sys/types.h>
35608 #include <sys/socket.h>
35615 getsockname(0, 0, &len);
35621 rm -f conftest.
$ac_objext
35622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35623 (eval $ac_compile) 2>conftest.er1
35625 grep -v '^ *+' conftest.er1
>conftest.err
35627 cat conftest.err
>&5
35628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35629 (exit $ac_status); } &&
35630 { ac_try
='test -z "$ac_c_werror_flag"
35631 || test ! -s conftest.err'
35632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35633 (eval $ac_try) 2>&5
35635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35636 (exit $ac_status); }; } &&
35637 { ac_try
='test -s conftest.$ac_objext'
35638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35639 (eval $ac_try) 2>&5
35641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35642 (exit $ac_status); }; }; then
35643 wx_cv_type_getsockname3
=int
35645 echo "$as_me: failed program was:" >&5
35646 sed 's/^/| /' conftest.
$ac_ext >&5
35648 wx_cv_type_getsockname3
=unknown
35651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35656 CFLAGS
="$CFLAGS_OLD"
35660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35663 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35664 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35666 if test "$wx_cv_type_getsockname3" = "unknown"; then
35668 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35669 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35671 cat >>confdefs.h
<<_ACEOF
35672 #define SOCKLEN_T $wx_cv_type_getsockname3
35679 if test "$wxUSE_SOCKETS" = "yes" ; then
35680 cat >>confdefs.h
<<\_ACEOF
35681 #define wxUSE_SOCKETS 1
35684 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35687 if test "$wxUSE_PROTOCOL" = "yes"; then
35688 if test "$wxUSE_SOCKETS" != "yes"; then
35689 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35690 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35695 if test "$wxUSE_PROTOCOL" = "yes"; then
35696 cat >>confdefs.h
<<\_ACEOF
35697 #define wxUSE_PROTOCOL 1
35701 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35702 cat >>confdefs.h
<<\_ACEOF
35703 #define wxUSE_PROTOCOL_HTTP 1
35707 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35708 cat >>confdefs.h
<<\_ACEOF
35709 #define wxUSE_PROTOCOL_FTP 1
35713 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35714 cat >>confdefs.h
<<\_ACEOF
35715 #define wxUSE_PROTOCOL_FILE 1
35720 if test "$wxUSE_FS_INET" = "yes"; then
35721 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35722 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35727 if test "$wxUSE_URL" = "yes"; then
35728 if test "$wxUSE_PROTOCOL" != "yes"; then
35729 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35730 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35733 if test "$wxUSE_URL" = "yes"; then
35734 cat >>confdefs.h
<<\_ACEOF
35735 #define wxUSE_URL 1
35741 if test "$wxUSE_FS_INET" = "yes"; then
35742 cat >>confdefs.h
<<\_ACEOF
35743 #define wxUSE_FS_INET 1
35749 if test "$wxUSE_GUI" = "yes"; then
35751 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35752 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35753 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35757 if test "$TOOLKIT" != "MSW"; then
35758 if test "$wxUSE_JOYSTICK" = "yes"; then
35760 for ac_header
in linux
/joystick.h
35762 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35764 echo "$as_me:$LINENO: checking for $ac_header" >&5
35765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35767 echo $ECHO_N "(cached) $ECHO_C" >&6
35769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35770 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35772 # Is the header compilable?
35773 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35774 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35775 cat >conftest.
$ac_ext <<_ACEOF
35778 cat confdefs.h
>>conftest.
$ac_ext
35779 cat >>conftest.
$ac_ext <<_ACEOF
35780 /* end confdefs.h. */
35781 $ac_includes_default
35782 #include <$ac_header>
35784 rm -f conftest.
$ac_objext
35785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35786 (eval $ac_compile) 2>conftest.er1
35788 grep -v '^ *+' conftest.er1
>conftest.err
35790 cat conftest.err
>&5
35791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35792 (exit $ac_status); } &&
35793 { ac_try
='test -z "$ac_c_werror_flag"
35794 || test ! -s conftest.err'
35795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35796 (eval $ac_try) 2>&5
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); }; } &&
35800 { ac_try
='test -s conftest.$ac_objext'
35801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35802 (eval $ac_try) 2>&5
35804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35805 (exit $ac_status); }; }; then
35806 ac_header_compiler
=yes
35808 echo "$as_me: failed program was:" >&5
35809 sed 's/^/| /' conftest.
$ac_ext >&5
35811 ac_header_compiler
=no
35813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35814 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35815 echo "${ECHO_T}$ac_header_compiler" >&6
35817 # Is the header present?
35818 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35819 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35820 cat >conftest.
$ac_ext <<_ACEOF
35823 cat confdefs.h
>>conftest.
$ac_ext
35824 cat >>conftest.
$ac_ext <<_ACEOF
35825 /* end confdefs.h. */
35826 #include <$ac_header>
35828 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35829 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35831 grep -v '^ *+' conftest.er1
>conftest.err
35833 cat conftest.err
>&5
35834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835 (exit $ac_status); } >/dev
/null
; then
35836 if test -s conftest.err
; then
35837 ac_cpp_err
=$ac_c_preproc_warn_flag
35838 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35845 if test -z "$ac_cpp_err"; then
35846 ac_header_preproc
=yes
35848 echo "$as_me: failed program was:" >&5
35849 sed 's/^/| /' conftest.
$ac_ext >&5
35851 ac_header_preproc
=no
35853 rm -f conftest.err conftest.
$ac_ext
35854 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35855 echo "${ECHO_T}$ac_header_preproc" >&6
35857 # So? What about this header?
35858 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35860 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35861 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35862 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35863 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35864 ac_header_preproc
=yes
35867 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35868 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35869 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35870 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35871 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35872 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35873 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35874 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35875 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35876 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35877 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35878 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35881 ## ----------------------------------------- ##
35882 ## Report this to wx-dev@lists.wxwidgets.org ##
35883 ## ----------------------------------------- ##
35886 sed "s/^/$as_me: WARNING: /" >&2
35889 echo "$as_me:$LINENO: checking for $ac_header" >&5
35890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35891 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35892 echo $ECHO_N "(cached) $ECHO_C" >&6
35894 eval "$as_ac_Header=\$ac_header_preproc"
35896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35897 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35900 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35901 cat >>confdefs.h
<<_ACEOF
35902 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35909 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
35911 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
35912 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35917 if test "$wxUSE_JOYSTICK" = "yes"; then
35918 cat >>confdefs.h
<<\_ACEOF
35919 #define wxUSE_JOYSTICK 1
35922 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35928 if test "$wxUSE_FONTMAP" = "yes" ; then
35929 cat >>confdefs.h
<<\_ACEOF
35930 #define wxUSE_FONTMAP 1
35935 if test "$wxUSE_UNICODE" = "yes" ; then
35936 cat >>confdefs.h
<<\_ACEOF
35937 #define wxUSE_UNICODE 1
35941 if test "$USE_WIN32" != 1; then
35942 wxUSE_UNICODE_MSLU
=no
35945 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35946 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
35947 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
35948 if test "${ac_cv_lib_unicows_main+set}" = set; then
35949 echo $ECHO_N "(cached) $ECHO_C" >&6
35951 ac_check_lib_save_LIBS
=$LIBS
35952 LIBS
="-lunicows $LIBS"
35953 cat >conftest.
$ac_ext <<_ACEOF
35956 cat confdefs.h
>>conftest.
$ac_ext
35957 cat >>conftest.
$ac_ext <<_ACEOF
35958 /* end confdefs.h. */
35969 rm -f conftest.
$ac_objext conftest
$ac_exeext
35970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35971 (eval $ac_link) 2>conftest.er1
35973 grep -v '^ *+' conftest.er1
>conftest.err
35975 cat conftest.err
>&5
35976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35977 (exit $ac_status); } &&
35978 { ac_try
='test -z "$ac_c_werror_flag"
35979 || test ! -s conftest.err'
35980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35981 (eval $ac_try) 2>&5
35983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35984 (exit $ac_status); }; } &&
35985 { ac_try
='test -s conftest$ac_exeext'
35986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35987 (eval $ac_try) 2>&5
35989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35990 (exit $ac_status); }; }; then
35991 ac_cv_lib_unicows_main
=yes
35993 echo "$as_me: failed program was:" >&5
35994 sed 's/^/| /' conftest.
$ac_ext >&5
35996 ac_cv_lib_unicows_main
=no
35998 rm -f conftest.err conftest.
$ac_objext \
35999 conftest
$ac_exeext conftest.
$ac_ext
36000 LIBS
=$ac_check_lib_save_LIBS
36002 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36003 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36004 if test $ac_cv_lib_unicows_main = yes; then
36006 cat >>confdefs.h
<<\_ACEOF
36007 #define wxUSE_UNICODE_MSLU 1
36013 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36014 Applications will only run on Windows NT/2000/XP!" >&5
36015 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36016 Applications will only run on Windows NT/2000/XP!" >&2;}
36017 wxUSE_UNICODE_MSLU
=no
36024 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36025 cat >>confdefs.h
<<\_ACEOF
36026 #define wxUSE_EXPERIMENTAL_PRINTF 1
36032 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36033 cat >>confdefs.h
<<\_ACEOF
36034 #define wxUSE_POSTSCRIPT 1
36039 cat >>confdefs.h
<<\_ACEOF
36040 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36044 cat >>confdefs.h
<<\_ACEOF
36045 #define wxUSE_NORMALIZED_PS_FONTS 1
36050 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36051 cat >>confdefs.h
<<\_ACEOF
36052 #define wxUSE_CONSTRAINTS 1
36055 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
36058 if test "$wxUSE_MDI" = "yes"; then
36059 cat >>confdefs.h
<<\_ACEOF
36060 #define wxUSE_MDI 1
36064 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36065 cat >>confdefs.h
<<\_ACEOF
36066 #define wxUSE_MDI_ARCHITECTURE 1
36069 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
36073 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36074 cat >>confdefs.h
<<\_ACEOF
36075 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36078 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
36079 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36080 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
36084 if test "$wxUSE_HELP" = "yes"; then
36085 cat >>confdefs.h
<<\_ACEOF
36086 #define wxUSE_HELP 1
36089 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
36091 if test "$wxUSE_MSW" = 1; then
36092 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36093 cat >>confdefs.h
<<\_ACEOF
36094 #define wxUSE_MS_HTML_HELP 1
36100 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36101 if test "$wxUSE_HTML" = "yes"; then
36102 cat >>confdefs.h
<<\_ACEOF
36103 #define wxUSE_WXHTML_HELP 1
36107 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36108 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36109 wxUSE_WXHTML_HELP
=no
36114 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36115 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36116 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36117 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36119 cat >>confdefs.h
<<\_ACEOF
36120 #define wxUSE_PRINTING_ARCHITECTURE 1
36124 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
36127 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36128 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36129 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36130 { (exit 1); exit 1; }; }
36134 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36135 -o "$wxUSE_CLIPBOARD" = "yes" \
36136 -o "$wxUSE_OLE" = "yes" \
36137 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36139 for ac_header
in ole2.h
36141 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36143 echo "$as_me:$LINENO: checking for $ac_header" >&5
36144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36146 echo $ECHO_N "(cached) $ECHO_C" >&6
36148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36149 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36151 # Is the header compilable?
36152 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36153 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36154 cat >conftest.
$ac_ext <<_ACEOF
36157 cat confdefs.h
>>conftest.
$ac_ext
36158 cat >>conftest.
$ac_ext <<_ACEOF
36159 /* end confdefs.h. */
36160 $ac_includes_default
36161 #include <$ac_header>
36163 rm -f conftest.
$ac_objext
36164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36165 (eval $ac_compile) 2>conftest.er1
36167 grep -v '^ *+' conftest.er1
>conftest.err
36169 cat conftest.err
>&5
36170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36171 (exit $ac_status); } &&
36172 { ac_try
='test -z "$ac_c_werror_flag"
36173 || test ! -s conftest.err'
36174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36175 (eval $ac_try) 2>&5
36177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36178 (exit $ac_status); }; } &&
36179 { ac_try
='test -s conftest.$ac_objext'
36180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36181 (eval $ac_try) 2>&5
36183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36184 (exit $ac_status); }; }; then
36185 ac_header_compiler
=yes
36187 echo "$as_me: failed program was:" >&5
36188 sed 's/^/| /' conftest.
$ac_ext >&5
36190 ac_header_compiler
=no
36192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36193 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36194 echo "${ECHO_T}$ac_header_compiler" >&6
36196 # Is the header present?
36197 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36198 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36199 cat >conftest.
$ac_ext <<_ACEOF
36202 cat confdefs.h
>>conftest.
$ac_ext
36203 cat >>conftest.
$ac_ext <<_ACEOF
36204 /* end confdefs.h. */
36205 #include <$ac_header>
36207 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36208 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36210 grep -v '^ *+' conftest.er1
>conftest.err
36212 cat conftest.err
>&5
36213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36214 (exit $ac_status); } >/dev
/null
; then
36215 if test -s conftest.err
; then
36216 ac_cpp_err
=$ac_c_preproc_warn_flag
36217 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36224 if test -z "$ac_cpp_err"; then
36225 ac_header_preproc
=yes
36227 echo "$as_me: failed program was:" >&5
36228 sed 's/^/| /' conftest.
$ac_ext >&5
36230 ac_header_preproc
=no
36232 rm -f conftest.err conftest.
$ac_ext
36233 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36234 echo "${ECHO_T}$ac_header_preproc" >&6
36236 # So? What about this header?
36237 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36239 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36240 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36241 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36242 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36243 ac_header_preproc
=yes
36246 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36247 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36248 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36249 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36250 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36251 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36252 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36253 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36254 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36255 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36256 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36257 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36260 ## ----------------------------------------- ##
36261 ## Report this to wx-dev@lists.wxwidgets.org ##
36262 ## ----------------------------------------- ##
36265 sed "s/^/$as_me: WARNING: /" >&2
36268 echo "$as_me:$LINENO: checking for $ac_header" >&5
36269 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36271 echo $ECHO_N "(cached) $ECHO_C" >&6
36273 eval "$as_ac_Header=\$ac_header_preproc"
36275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36276 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36279 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36280 cat >>confdefs.h
<<_ACEOF
36281 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36289 if test "$ac_cv_header_ole2_h" = "yes" ; then
36290 if test "$GCC" = yes ; then
36294 ac_cpp
='$CXXCPP $CPPFLAGS'
36295 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36296 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36297 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36300 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36301 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36302 cat >conftest.
$ac_ext <<_ACEOF
36305 cat confdefs.h
>>conftest.
$ac_ext
36306 cat >>conftest.
$ac_ext <<_ACEOF
36307 /* end confdefs.h. */
36308 #include <windows.h>
36318 rm -f conftest.
$ac_objext
36319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36320 (eval $ac_compile) 2>conftest.er1
36322 grep -v '^ *+' conftest.er1
>conftest.err
36324 cat conftest.err
>&5
36325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36326 (exit $ac_status); } &&
36327 { ac_try
='test -z "$ac_cxx_werror_flag"
36328 || test ! -s conftest.err'
36329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36330 (eval $ac_try) 2>&5
36332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36333 (exit $ac_status); }; } &&
36334 { ac_try
='test -s conftest.$ac_objext'
36335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36336 (eval $ac_try) 2>&5
36338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36339 (exit $ac_status); }; }; then
36340 echo "$as_me:$LINENO: result: no" >&5
36341 echo "${ECHO_T}no" >&6
36343 echo "$as_me: failed program was:" >&5
36344 sed 's/^/| /' conftest.
$ac_ext >&5
36346 echo "$as_me:$LINENO: result: yes" >&5
36347 echo "${ECHO_T}yes" >&6
36348 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36352 ac_cpp
='$CPP $CPPFLAGS'
36353 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36354 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36355 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36357 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
36358 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36359 if test "$wxUSE_OLE" = "yes" ; then
36360 cat >>confdefs.h
<<\_ACEOF
36361 #define wxUSE_OLE 1
36367 if test "$wxUSE_DATAOBJ" = "yes" ; then
36368 cat >>confdefs.h
<<\_ACEOF
36369 #define wxUSE_DATAOBJ 1
36374 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36375 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36378 wxUSE_DRAG_AND_DROP
=no
36383 if test "$wxUSE_METAFILE" = "yes"; then
36384 cat >>confdefs.h
<<\_ACEOF
36385 #define wxUSE_METAFILE 1
36389 cat >>confdefs.h
<<\_ACEOF
36390 #define wxUSE_ENH_METAFILE 1
36396 if test "$wxUSE_IPC" = "yes"; then
36397 if test "$wxUSE_SOCKETS" != "yes"; then
36398 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36399 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36402 cat >>confdefs.h
<<\_ACEOF
36403 #define wxUSE_IPC 1
36408 if test "$wxUSE_CLIPBOARD" = "yes"; then
36409 if test "$wxUSE_MGL" = 1; then
36410 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36411 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36415 if test "$wxUSE_CLIPBOARD" = "yes"; then
36416 cat >>confdefs.h
<<\_ACEOF
36417 #define wxUSE_CLIPBOARD 1
36421 cat >>confdefs.h
<<\_ACEOF
36422 #define wxUSE_DATAOBJ 1
36428 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36429 if test "$wxUSE_GTK" = 1; then
36430 if test "$WXGTK12" != 1; then
36431 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36432 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36433 wxUSE_DRAG_AND_DROP
=no
36437 if test "$wxUSE_MOTIF" = 1; then
36438 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36439 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36440 wxUSE_DRAG_AND_DROP
=no
36443 if test "$wxUSE_X11" = 1; then
36444 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36445 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36446 wxUSE_DRAG_AND_DROP
=no
36449 if test "$wxUSE_MGL" = 1; then
36450 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36451 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36452 wxUSE_DRAG_AND_DROP
=no
36455 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36456 cat >>confdefs.h
<<\_ACEOF
36457 #define wxUSE_DRAG_AND_DROP 1
36464 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36465 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36468 if test "$wxUSE_SPLINES" = "yes" ; then
36469 cat >>confdefs.h
<<\_ACEOF
36470 #define wxUSE_SPLINES 1
36477 if test "$wxUSE_CONTROLS" = "yes"; then
36481 if test "$wxUSE_ACCEL" = "yes"; then
36482 cat >>confdefs.h
<<\_ACEOF
36483 #define wxUSE_ACCEL 1
36489 if test "$wxUSE_BUTTON" = "yes"; then
36490 cat >>confdefs.h
<<\_ACEOF
36491 #define wxUSE_BUTTON 1
36497 if test "$wxUSE_BMPBUTTON" = "yes"; then
36498 cat >>confdefs.h
<<\_ACEOF
36499 #define wxUSE_BMPBUTTON 1
36505 if test "$wxUSE_CALCTRL" = "yes"; then
36506 cat >>confdefs.h
<<\_ACEOF
36507 #define wxUSE_CALENDARCTRL 1
36511 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36514 if test "$wxUSE_CARET" = "yes"; then
36515 cat >>confdefs.h
<<\_ACEOF
36516 #define wxUSE_CARET 1
36520 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36523 if test "$wxUSE_COMBOBOX" = "yes"; then
36524 cat >>confdefs.h
<<\_ACEOF
36525 #define wxUSE_COMBOBOX 1
36531 if test "$wxUSE_CHOICE" = "yes"; then
36532 cat >>confdefs.h
<<\_ACEOF
36533 #define wxUSE_CHOICE 1
36539 if test "$wxUSE_CHECKBOX" = "yes"; then
36540 cat >>confdefs.h
<<\_ACEOF
36541 #define wxUSE_CHECKBOX 1
36547 if test "$wxUSE_CHECKLST" = "yes"; then
36548 cat >>confdefs.h
<<\_ACEOF
36549 #define wxUSE_CHECKLISTBOX 1
36553 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
36556 if test "$wxUSE_DISPLAY" = "yes"; then
36557 cat >>confdefs.h
<<\_ACEOF
36558 #define wxUSE_DISPLAY 1
36561 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36564 if test "$wxUSE_GAUGE" = "yes"; then
36565 cat >>confdefs.h
<<\_ACEOF
36566 #define wxUSE_GAUGE 1
36572 if test "$wxUSE_GRID" = "yes"; then
36573 cat >>confdefs.h
<<\_ACEOF
36574 #define wxUSE_GRID 1
36578 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36581 if test "$wxUSE_IMAGLIST" = "yes"; then
36582 cat >>confdefs.h
<<\_ACEOF
36583 #define wxUSE_IMAGLIST 1
36588 if test "$wxUSE_LISTBOOK" = "yes"; then
36589 cat >>confdefs.h
<<\_ACEOF
36590 #define wxUSE_LISTBOOK 1
36596 if test "$wxUSE_LISTBOX" = "yes"; then
36597 cat >>confdefs.h
<<\_ACEOF
36598 #define wxUSE_LISTBOX 1
36604 if test "$wxUSE_LISTCTRL" = "yes"; then
36605 if test "$wxUSE_IMAGLIST" = "yes"; then
36606 cat >>confdefs.h
<<\_ACEOF
36607 #define wxUSE_LISTCTRL 1
36611 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36613 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36614 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36618 if test "$wxUSE_NOTEBOOK" = "yes"; then
36619 cat >>confdefs.h
<<\_ACEOF
36620 #define wxUSE_NOTEBOOK 1
36624 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36628 if test "$wxUSE_RADIOBOX" = "yes"; then
36629 cat >>confdefs.h
<<\_ACEOF
36630 #define wxUSE_RADIOBOX 1
36636 if test "$wxUSE_RADIOBTN" = "yes"; then
36637 cat >>confdefs.h
<<\_ACEOF
36638 #define wxUSE_RADIOBTN 1
36644 if test "$wxUSE_SASH" = "yes"; then
36645 cat >>confdefs.h
<<\_ACEOF
36646 #define wxUSE_SASH 1
36649 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36652 if test "$wxUSE_SCROLLBAR" = "yes"; then
36653 cat >>confdefs.h
<<\_ACEOF
36654 #define wxUSE_SCROLLBAR 1
36658 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
36661 if test "$wxUSE_SLIDER" = "yes"; then
36662 cat >>confdefs.h
<<\_ACEOF
36663 #define wxUSE_SLIDER 1
36669 if test "$wxUSE_SPINBTN" = "yes"; then
36670 cat >>confdefs.h
<<\_ACEOF
36671 #define wxUSE_SPINBTN 1
36677 if test "$wxUSE_SPINCTRL" = "yes"; then
36678 cat >>confdefs.h
<<\_ACEOF
36679 #define wxUSE_SPINCTRL 1
36685 if test "$wxUSE_SPLITTER" = "yes"; then
36686 cat >>confdefs.h
<<\_ACEOF
36687 #define wxUSE_SPLITTER 1
36690 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36693 if test "$wxUSE_STATBMP" = "yes"; then
36694 cat >>confdefs.h
<<\_ACEOF
36695 #define wxUSE_STATBMP 1
36701 if test "$wxUSE_STATBOX" = "yes"; then
36702 cat >>confdefs.h
<<\_ACEOF
36703 #define wxUSE_STATBOX 1
36709 if test "$wxUSE_STATTEXT" = "yes"; then
36710 cat >>confdefs.h
<<\_ACEOF
36711 #define wxUSE_STATTEXT 1
36717 if test "$wxUSE_STATLINE" = "yes"; then
36718 cat >>confdefs.h
<<\_ACEOF
36719 #define wxUSE_STATLINE 1
36725 if test "$wxUSE_STATUSBAR" = "yes"; then
36726 cat >>confdefs.h
<<\_ACEOF
36727 #define wxUSE_STATUSBAR 1
36732 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36735 if test "$wxUSE_TABDIALOG" = "yes"; then
36736 cat >>confdefs.h
<<\_ACEOF
36737 #define wxUSE_TAB_DIALOG 1
36740 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
36743 if test "$wxUSE_TEXTCTRL" = "yes"; then
36744 cat >>confdefs.h
<<\_ACEOF
36745 #define wxUSE_TEXTCTRL 1
36749 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36752 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36753 if test "$wxUSE_COCOA" = 1 ; then
36754 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36755 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36758 if test "$wxUSE_PM" = 1; then
36759 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
36760 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
36764 if test "$wxUSE_UNIVERSAL" = "yes"; then
36765 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36766 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36770 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36771 cat >>confdefs.h
<<\_ACEOF
36772 #define wxUSE_TOGGLEBTN 1
36779 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36780 cat >>confdefs.h
<<\_ACEOF
36781 #define wxUSE_TOOLBAR_SIMPLE 1
36784 wxUSE_TOOLBAR
="yes"
36788 if test "$wxUSE_TOOLBAR" = "yes"; then
36789 cat >>confdefs.h
<<\_ACEOF
36790 #define wxUSE_TOOLBAR 1
36795 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36796 wxUSE_TOOLBAR_NATIVE
="yes"
36799 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36800 cat >>confdefs.h
<<\_ACEOF
36801 #define wxUSE_TOOLBAR_NATIVE 1
36807 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
36810 if test "$wxUSE_TOOLTIPS" = "yes"; then
36811 if test "$wxUSE_MOTIF" = 1; then
36812 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36813 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36815 if test "$wxUSE_UNIVERSAL" = "yes"; then
36816 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36817 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36819 cat >>confdefs.h
<<\_ACEOF
36820 #define wxUSE_TOOLTIPS 1
36827 if test "$wxUSE_TREECTRL" = "yes"; then
36828 if test "$wxUSE_IMAGLIST" = "yes"; then
36829 cat >>confdefs.h
<<\_ACEOF
36830 #define wxUSE_TREECTRL 1
36834 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
36836 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36837 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36841 if test "$wxUSE_POPUPWIN" = "yes"; then
36842 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
36843 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36844 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36846 if test "$wxUSE_PM" = 1; then
36847 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36848 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36850 cat >>confdefs.h
<<\_ACEOF
36851 #define wxUSE_POPUPWIN 1
36860 if test "$wxUSE_TIPWINDOW" = "yes"; then
36861 if test "$wxUSE_PM" = 1; then
36862 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36863 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36865 cat >>confdefs.h
<<\_ACEOF
36866 #define wxUSE_TIPWINDOW 1
36872 if test "$USES_CONTROLS" = 1; then
36873 cat >>confdefs.h
<<\_ACEOF
36874 #define wxUSE_CONTROLS 1
36880 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36881 cat >>confdefs.h
<<\_ACEOF
36882 #define wxUSE_ACCESSIBILITY 1
36885 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
36888 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36889 cat >>confdefs.h
<<\_ACEOF
36890 #define wxUSE_DRAGIMAGE 1
36893 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36896 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36897 cat >>confdefs.h
<<\_ACEOF
36898 #define wxUSE_EXCEPTIONS 1
36904 if test "$wxUSE_HTML" = "yes"; then
36905 cat >>confdefs.h
<<\_ACEOF
36906 #define wxUSE_HTML 1
36910 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36911 if test "$wxUSE_MAC" = 1; then
36912 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
36916 if test "$wxUSE_WEBKIT" = "yes"; then
36917 cat >>confdefs.h
<<\_ACEOF
36918 #define wxUSE_WEBKIT 1
36923 if test "$wxUSE_MENUS" = "yes"; then
36924 cat >>confdefs.h
<<\_ACEOF
36925 #define wxUSE_MENUS 1
36928 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
36931 if test "$wxUSE_METAFILE" = "yes"; then
36932 cat >>confdefs.h
<<\_ACEOF
36933 #define wxUSE_METAFILE 1
36938 if test "$wxUSE_MIMETYPE" = "yes"; then
36939 cat >>confdefs.h
<<\_ACEOF
36940 #define wxUSE_MIMETYPE 1
36945 if test "$wxUSE_MINIFRAME" = "yes"; then
36946 cat >>confdefs.h
<<\_ACEOF
36947 #define wxUSE_MINIFRAME 1
36950 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
36953 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36954 cat >>confdefs.h
<<\_ACEOF
36955 #define wxUSE_SYSTEM_OPTIONS 1
36958 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
36959 "$TOOLKIT" = "MOTIF"; then
36960 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
36965 if test "$wxUSE_VALIDATORS" = "yes"; then
36966 cat >>confdefs.h
<<\_ACEOF
36967 #define wxUSE_VALIDATORS 1
36970 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
36973 if test "$wxUSE_PALETTE" = "yes" ; then
36974 cat >>confdefs.h
<<\_ACEOF
36975 #define wxUSE_PALETTE 1
36980 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36981 LIBS
=" -lunicows $LIBS"
36985 if test "$wxUSE_IMAGE" = "yes" ; then
36986 cat >>confdefs.h
<<\_ACEOF
36987 #define wxUSE_IMAGE 1
36991 if test "$wxUSE_GIF" = "yes" ; then
36992 cat >>confdefs.h
<<\_ACEOF
36993 #define wxUSE_GIF 1
36998 if test "$wxUSE_PCX" = "yes" ; then
36999 cat >>confdefs.h
<<\_ACEOF
37000 #define wxUSE_PCX 1
37005 if test "$wxUSE_IFF" = "yes" ; then
37006 cat >>confdefs.h
<<\_ACEOF
37007 #define wxUSE_IFF 1
37012 if test "$wxUSE_PNM" = "yes" ; then
37013 cat >>confdefs.h
<<\_ACEOF
37014 #define wxUSE_PNM 1
37019 if test "$wxUSE_XPM" = "yes" ; then
37020 cat >>confdefs.h
<<\_ACEOF
37021 #define wxUSE_XPM 1
37026 if test "$wxUSE_ICO_CUR" = "yes" ; then
37027 cat >>confdefs.h
<<\_ACEOF
37028 #define wxUSE_ICO_CUR 1
37035 if test "$wxUSE_CHOICEDLG" = "yes"; then
37036 cat >>confdefs.h
<<\_ACEOF
37037 #define wxUSE_CHOICEDLG 1
37042 if test "$wxUSE_COLOURDLG" = "yes"; then
37043 cat >>confdefs.h
<<\_ACEOF
37044 #define wxUSE_COLOURDLG 1
37049 if test "$wxUSE_FILEDLG" = "yes"; then
37050 cat >>confdefs.h
<<\_ACEOF
37051 #define wxUSE_FILEDLG 1
37056 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37057 cat >>confdefs.h
<<\_ACEOF
37058 #define wxUSE_FINDREPLDLG 1
37063 if test "$wxUSE_FONTDLG" = "yes"; then
37064 cat >>confdefs.h
<<\_ACEOF
37065 #define wxUSE_FONTDLG 1
37070 if test "$wxUSE_DIRDLG" = "yes"; then
37071 if test "$wxUSE_TREECTRL" != "yes"; then
37072 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37073 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37075 cat >>confdefs.h
<<\_ACEOF
37076 #define wxUSE_DIRDLG 1
37082 if test "$wxUSE_MSGDLG" = "yes"; then
37083 cat >>confdefs.h
<<\_ACEOF
37084 #define wxUSE_MSGDLG 1
37089 if test "$wxUSE_NUMBERDLG" = "yes"; then
37090 cat >>confdefs.h
<<\_ACEOF
37091 #define wxUSE_NUMBERDLG 1
37096 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37097 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37098 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37099 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37101 cat >>confdefs.h
<<\_ACEOF
37102 #define wxUSE_PROGRESSDLG 1
37108 if test "$wxUSE_SPLASH" = "yes"; then
37109 cat >>confdefs.h
<<\_ACEOF
37110 #define wxUSE_SPLASH 1
37115 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37116 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37117 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37118 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37120 cat >>confdefs.h
<<\_ACEOF
37121 #define wxUSE_STARTUP_TIPS 1
37127 if test "$wxUSE_TEXTDLG" = "yes"; then
37128 cat >>confdefs.h
<<\_ACEOF
37129 #define wxUSE_TEXTDLG 1
37134 if test "$wxUSE_WIZARDDLG" = "yes"; then
37135 cat >>confdefs.h
<<\_ACEOF
37136 #define wxUSE_WIZARDDLG 1
37139 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37143 if test "$cross_compiling" = "yes"; then
37146 OSINFO
=`uname -s -r -m`
37147 OSINFO
="\"$OSINFO\""
37150 cat >>confdefs.h
<<_ACEOF
37151 #define WXWIN_OS_DESCRIPTION $OSINFO
37156 if test "x$prefix" != "xNONE"; then
37159 wxPREFIX
=$ac_default_prefix
37162 cat >>confdefs.h
<<_ACEOF
37163 #define wxINSTALL_PREFIX "$wxPREFIX"
37167 top_builddir_wxconfig
=`pwd`
37171 CORE_BASE_LIBS
="net base"
37172 CORE_GUI_LIBS
="adv core"
37174 if test "$wxUSE_XML" = "yes" ; then
37175 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
37177 if test "$wxUSE_ODBC" != "no" ; then
37178 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
37179 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
37181 if test "$wxUSE_HTML" = "yes" ; then
37182 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
37185 if test "$wxUSE_GUI" != "yes"; then
37196 if test "$wxUSE_MAC" = 1 ; then
37197 LDFLAGS
="$LDFLAGS -framework Carbon -framework Cocoa -framework WebKit -framework System"
37199 if test "$wxUSE_COCOA" = 1 ; then
37200 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
37204 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37211 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37212 echo "$as_me:$LINENO: checking for $ac_func" >&5
37213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37214 if eval "test \"\${$as_ac_var+set}\" = set"; then
37215 echo $ECHO_N "(cached) $ECHO_C" >&6
37217 cat >conftest.
$ac_ext <<_ACEOF
37220 cat confdefs.h
>>conftest.
$ac_ext
37221 cat >>conftest.
$ac_ext <<_ACEOF
37222 /* end confdefs.h. */
37223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37225 #define $ac_func innocuous_$ac_func
37227 /* System header to define __stub macros and hopefully few prototypes,
37228 which can conflict with char $ac_func (); below.
37229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37230 <limits.h> exists even on freestanding compilers. */
37233 # include <limits.h>
37235 # include <assert.h>
37240 /* Override any gcc2 internal prototype to avoid an error. */
37245 /* We use char because int might match the return type of a gcc2
37246 builtin and then its argument prototype would still apply. */
37248 /* The GNU C library defines this for functions which it implements
37249 to always fail with ENOSYS. Some functions are actually named
37250 something starting with __ and the normal name is an alias. */
37251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37254 char (*f) () = $ac_func;
37263 return f != $ac_func;
37268 rm -f conftest.
$ac_objext conftest
$ac_exeext
37269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37270 (eval $ac_link) 2>conftest.er1
37272 grep -v '^ *+' conftest.er1
>conftest.err
37274 cat conftest.err
>&5
37275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37276 (exit $ac_status); } &&
37277 { ac_try
='test -z "$ac_c_werror_flag"
37278 || test ! -s conftest.err'
37279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37280 (eval $ac_try) 2>&5
37282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37283 (exit $ac_status); }; } &&
37284 { ac_try
='test -s conftest$ac_exeext'
37285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37286 (eval $ac_try) 2>&5
37288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37289 (exit $ac_status); }; }; then
37290 eval "$as_ac_var=yes"
37292 echo "$as_me: failed program was:" >&5
37293 sed 's/^/| /' conftest.
$ac_ext >&5
37295 eval "$as_ac_var=no"
37297 rm -f conftest.err conftest.
$ac_objext \
37298 conftest
$ac_exeext conftest.
$ac_ext
37300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37302 if test `eval echo '${'$as_ac_var'}'` = yes; then
37303 cat >>confdefs.h
<<_ACEOF
37304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37311 for ac_func
in floor
37313 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37314 echo "$as_me:$LINENO: checking for $ac_func" >&5
37315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37316 if eval "test \"\${$as_ac_var+set}\" = set"; then
37317 echo $ECHO_N "(cached) $ECHO_C" >&6
37319 cat >conftest.
$ac_ext <<_ACEOF
37322 cat confdefs.h
>>conftest.
$ac_ext
37323 cat >>conftest.
$ac_ext <<_ACEOF
37324 /* end confdefs.h. */
37325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37327 #define $ac_func innocuous_$ac_func
37329 /* System header to define __stub macros and hopefully few prototypes,
37330 which can conflict with char $ac_func (); below.
37331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37332 <limits.h> exists even on freestanding compilers. */
37335 # include <limits.h>
37337 # include <assert.h>
37342 /* Override any gcc2 internal prototype to avoid an error. */
37347 /* We use char because int might match the return type of a gcc2
37348 builtin and then its argument prototype would still apply. */
37350 /* The GNU C library defines this for functions which it implements
37351 to always fail with ENOSYS. Some functions are actually named
37352 something starting with __ and the normal name is an alias. */
37353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37356 char (*f) () = $ac_func;
37365 return f != $ac_func;
37370 rm -f conftest.
$ac_objext conftest
$ac_exeext
37371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37372 (eval $ac_link) 2>conftest.er1
37374 grep -v '^ *+' conftest.er1
>conftest.err
37376 cat conftest.err
>&5
37377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37378 (exit $ac_status); } &&
37379 { ac_try
='test -z "$ac_c_werror_flag"
37380 || test ! -s conftest.err'
37381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37382 (eval $ac_try) 2>&5
37384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37385 (exit $ac_status); }; } &&
37386 { ac_try
='test -s conftest$ac_exeext'
37387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37388 (eval $ac_try) 2>&5
37390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37391 (exit $ac_status); }; }; then
37392 eval "$as_ac_var=yes"
37394 echo "$as_me: failed program was:" >&5
37395 sed 's/^/| /' conftest.
$ac_ext >&5
37397 eval "$as_ac_var=no"
37399 rm -f conftest.err conftest.
$ac_objext \
37400 conftest
$ac_exeext conftest.
$ac_ext
37402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37404 if test `eval echo '${'$as_ac_var'}'` = yes; then
37405 cat >>confdefs.h
<<_ACEOF
37406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37412 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37413 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37414 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37415 echo "$as_me:$LINENO: result: yes" >&5
37416 echo "${ECHO_T}yes" >&6
37418 echo "$as_me:$LINENO: result: no" >&5
37419 echo "${ECHO_T}no" >&6
37421 # use different functions to avoid configure caching
37427 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37428 echo "$as_me:$LINENO: checking for $ac_func" >&5
37429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37430 if eval "test \"\${$as_ac_var+set}\" = set"; then
37431 echo $ECHO_N "(cached) $ECHO_C" >&6
37433 cat >conftest.
$ac_ext <<_ACEOF
37436 cat confdefs.h
>>conftest.
$ac_ext
37437 cat >>conftest.
$ac_ext <<_ACEOF
37438 /* end confdefs.h. */
37439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37441 #define $ac_func innocuous_$ac_func
37443 /* System header to define __stub macros and hopefully few prototypes,
37444 which can conflict with char $ac_func (); below.
37445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37446 <limits.h> exists even on freestanding compilers. */
37449 # include <limits.h>
37451 # include <assert.h>
37456 /* Override any gcc2 internal prototype to avoid an error. */
37461 /* We use char because int might match the return type of a gcc2
37462 builtin and then its argument prototype would still apply. */
37464 /* The GNU C library defines this for functions which it implements
37465 to always fail with ENOSYS. Some functions are actually named
37466 something starting with __ and the normal name is an alias. */
37467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37470 char (*f) () = $ac_func;
37479 return f != $ac_func;
37484 rm -f conftest.
$ac_objext conftest
$ac_exeext
37485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37486 (eval $ac_link) 2>conftest.er1
37488 grep -v '^ *+' conftest.er1
>conftest.err
37490 cat conftest.err
>&5
37491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37492 (exit $ac_status); } &&
37493 { ac_try
='test -z "$ac_c_werror_flag"
37494 || test ! -s conftest.err'
37495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37496 (eval $ac_try) 2>&5
37498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37499 (exit $ac_status); }; } &&
37500 { ac_try
='test -s conftest$ac_exeext'
37501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37502 (eval $ac_try) 2>&5
37504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37505 (exit $ac_status); }; }; then
37506 eval "$as_ac_var=yes"
37508 echo "$as_me: failed program was:" >&5
37509 sed 's/^/| /' conftest.
$ac_ext >&5
37511 eval "$as_ac_var=no"
37513 rm -f conftest.err conftest.
$ac_objext \
37514 conftest
$ac_exeext conftest.
$ac_ext
37516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37518 if test `eval echo '${'$as_ac_var'}'` = yes; then
37519 cat >>confdefs.h
<<_ACEOF
37520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37527 for ac_func
in ceil
37529 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37530 echo "$as_me:$LINENO: checking for $ac_func" >&5
37531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37532 if eval "test \"\${$as_ac_var+set}\" = set"; then
37533 echo $ECHO_N "(cached) $ECHO_C" >&6
37535 cat >conftest.
$ac_ext <<_ACEOF
37538 cat confdefs.h
>>conftest.
$ac_ext
37539 cat >>conftest.
$ac_ext <<_ACEOF
37540 /* end confdefs.h. */
37541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37543 #define $ac_func innocuous_$ac_func
37545 /* System header to define __stub macros and hopefully few prototypes,
37546 which can conflict with char $ac_func (); below.
37547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37548 <limits.h> exists even on freestanding compilers. */
37551 # include <limits.h>
37553 # include <assert.h>
37558 /* Override any gcc2 internal prototype to avoid an error. */
37563 /* We use char because int might match the return type of a gcc2
37564 builtin and then its argument prototype would still apply. */
37566 /* The GNU C library defines this for functions which it implements
37567 to always fail with ENOSYS. Some functions are actually named
37568 something starting with __ and the normal name is an alias. */
37569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37572 char (*f) () = $ac_func;
37581 return f != $ac_func;
37586 rm -f conftest.
$ac_objext conftest
$ac_exeext
37587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37588 (eval $ac_link) 2>conftest.er1
37590 grep -v '^ *+' conftest.er1
>conftest.err
37592 cat conftest.err
>&5
37593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37594 (exit $ac_status); } &&
37595 { ac_try
='test -z "$ac_c_werror_flag"
37596 || test ! -s conftest.err'
37597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37598 (eval $ac_try) 2>&5
37600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37601 (exit $ac_status); }; } &&
37602 { ac_try
='test -s conftest$ac_exeext'
37603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37604 (eval $ac_try) 2>&5
37606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37607 (exit $ac_status); }; }; then
37608 eval "$as_ac_var=yes"
37610 echo "$as_me: failed program was:" >&5
37611 sed 's/^/| /' conftest.
$ac_ext >&5
37613 eval "$as_ac_var=no"
37615 rm -f conftest.err conftest.
$ac_objext \
37616 conftest
$ac_exeext conftest.
$ac_ext
37618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37620 if test `eval echo '${'$as_ac_var'}'` = yes; then
37621 cat >>confdefs.h
<<_ACEOF
37622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37628 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37629 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37630 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37631 echo "$as_me:$LINENO: result: yes" >&5
37632 echo "${ECHO_T}yes" >&6
37634 echo "$as_me:$LINENO: result: no" >&5
37635 echo "${ECHO_T}no" >&6
37636 # not sure we should warn the user, crash, etc.
37640 if test "$wxUSE_GUI" = "yes"; then
37643 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
37644 drawing dynamic erase event exec font image \
37645 minimal propsize rotate shaped widgets render"
37647 if test "$wxUSE_MONOLITHIC" != "yes"; then
37648 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37651 SAMPLES_SUBDIRS
="console"
37655 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
37656 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37658 if test "$GXX" = yes ; then
37659 CXXWARNINGS
="-Wall"
37662 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37664 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
37665 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
37666 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
37669 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
37670 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37671 EXTRALIBS_XML
="$EXPAT_LINK"
37672 EXTRALIBS_HTML
="$MSPACK_LINK"
37673 EXTRALIBS_ODBC
="$ODBC_LINK"
37674 if test "$wxUSE_GUI" = "yes"; then
37675 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
37677 if test "$wxUSE_OPENGL" = "yes"; then
37678 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37681 LDFLAGS
="$LDFLAGS $PROFILE"
37683 if test "$wxUSE_GTK" = 1; then
37686 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
37689 WXCONFIG_EXTRALIBS
="$LIBS"
37691 if test "$wxUSE_REGEX" = "builtin" ; then
37692 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37694 if test "$wxUSE_EXPAT" = "builtin" ; then
37695 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
37697 if test "$wxUSE_ODBC" = "builtin" ; then
37698 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37700 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37701 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
37703 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37704 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
37706 if test "$wxUSE_LIBPNG" = "builtin" ; then
37707 wxconfig_3rdparty
="$wxconfig_3rdparty png"
37709 if test "$wxUSE_ZLIB" = "builtin" ; then
37710 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
37712 if test "$wxUSE_ODBC" = "builtin" ; then
37713 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37716 for i
in $wxconfig_3rdparty ; do
37717 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
37721 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37735 if test $wxUSE_MONOLITHIC = "yes" ; then
37741 if test $wxUSE_PLUGINS = "yes" ; then
37747 if test $wxUSE_ODBC != "no" ; then
37753 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37779 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
37789 if test "x$BAKEFILE_HOST" = "x"; then
37790 BAKEFILE_HOST
="${host}"
37793 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37795 if test -n "$ac_tool_prefix"; then
37796 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37797 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
37798 echo "$as_me:$LINENO: checking for $ac_word" >&5
37799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37800 if test "${ac_cv_prog_RANLIB+set}" = set; then
37801 echo $ECHO_N "(cached) $ECHO_C" >&6
37803 if test -n "$RANLIB"; then
37804 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
37806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37807 for as_dir
in $PATH
37810 test -z "$as_dir" && as_dir
=.
37811 for ac_exec_ext
in '' $ac_executable_extensions; do
37812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37813 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
37814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37822 RANLIB
=$ac_cv_prog_RANLIB
37823 if test -n "$RANLIB"; then
37824 echo "$as_me:$LINENO: result: $RANLIB" >&5
37825 echo "${ECHO_T}$RANLIB" >&6
37827 echo "$as_me:$LINENO: result: no" >&5
37828 echo "${ECHO_T}no" >&6
37832 if test -z "$ac_cv_prog_RANLIB"; then
37833 ac_ct_RANLIB
=$RANLIB
37834 # Extract the first word of "ranlib", so it can be a program name with args.
37835 set dummy ranlib
; ac_word
=$2
37836 echo "$as_me:$LINENO: checking for $ac_word" >&5
37837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37838 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
37839 echo $ECHO_N "(cached) $ECHO_C" >&6
37841 if test -n "$ac_ct_RANLIB"; then
37842 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
37844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37845 for as_dir
in $PATH
37848 test -z "$as_dir" && as_dir
=.
37849 for ac_exec_ext
in '' $ac_executable_extensions; do
37850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37851 ac_cv_prog_ac_ct_RANLIB
="ranlib"
37852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37858 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
37861 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
37862 if test -n "$ac_ct_RANLIB"; then
37863 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
37864 echo "${ECHO_T}$ac_ct_RANLIB" >&6
37866 echo "$as_me:$LINENO: result: no" >&5
37867 echo "${ECHO_T}no" >&6
37870 RANLIB
=$ac_ct_RANLIB
37872 RANLIB
="$ac_cv_prog_RANLIB"
37875 # Find a good install program. We prefer a C program (faster),
37876 # so one script is as good as another. But avoid the broken or
37877 # incompatible versions:
37878 # SysV /etc/install, /usr/sbin/install
37879 # SunOS /usr/etc/install
37880 # IRIX /sbin/install
37882 # AmigaOS /C/install, which installs bootblocks on floppy discs
37883 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37884 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37885 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37886 # OS/2's system install, which has a completely different semantic
37887 # ./install, which can be erroneously created by make from ./install.sh.
37888 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
37889 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
37890 if test -z "$INSTALL"; then
37891 if test "${ac_cv_path_install+set}" = set; then
37892 echo $ECHO_N "(cached) $ECHO_C" >&6
37894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37895 for as_dir
in $PATH
37898 test -z "$as_dir" && as_dir
=.
37899 # Account for people who put trailing slashes in PATH elements.
37901 .
/ | .
// | /cC
/* | \
37902 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
37903 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
37906 # OSF1 and SCO ODT 3.0 have their own names for install.
37907 # Don't use installbsd from OSF since it installs stuff as root
37909 for ac_prog
in ginstall scoinst
install; do
37910 for ac_exec_ext
in '' $ac_executable_extensions; do
37911 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37912 if test $ac_prog = install &&
37913 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37914 # AIX install. It has an incompatible calling convention.
37916 elif test $ac_prog = install &&
37917 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37918 # program-specific install script used by HP pwplus--don't use.
37921 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
37933 if test "${ac_cv_path_install+set}" = set; then
37934 INSTALL
=$ac_cv_path_install
37936 # As a last resort, use the slow shell script. We don't cache a
37937 # path for INSTALL within a source directory, because that will
37938 # break other packages using the cache if that directory is
37939 # removed, or if the path is relative.
37940 INSTALL
=$ac_install_sh
37943 echo "$as_me:$LINENO: result: $INSTALL" >&5
37944 echo "${ECHO_T}$INSTALL" >&6
37946 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37947 # It thinks the first close brace ends the variable substitution.
37948 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
37950 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
37952 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
37954 echo "$as_me:$LINENO: checking whether ln -s works" >&5
37955 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
37957 if test "$LN_S" = "ln -s"; then
37958 echo "$as_me:$LINENO: result: yes" >&5
37959 echo "${ECHO_T}yes" >&6
37961 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
37962 echo "${ECHO_T}no, using $LN_S" >&6
37966 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37967 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
37968 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
37969 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
37970 echo $ECHO_N "(cached) $ECHO_C" >&6
37972 cat >conftest.
make <<\_ACEOF
37974 @
echo 'ac_maketemp="$(MAKE)"'
37976 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
37977 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
37978 if test -n "$ac_maketemp"; then
37979 eval ac_cv_prog_make_
${ac_make}_set
=yes
37981 eval ac_cv_prog_make_
${ac_make}_set
=no
37983 rm -f conftest.
make
37985 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
37986 echo "$as_me:$LINENO: result: yes" >&5
37987 echo "${ECHO_T}yes" >&6
37990 echo "$as_me:$LINENO: result: no" >&5
37991 echo "${ECHO_T}no" >&6
37992 SET_MAKE
="MAKE=${MAKE-make}"
37997 if test -n "$ac_tool_prefix"; then
37998 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37999 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38000 echo "$as_me:$LINENO: checking for $ac_word" >&5
38001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38002 if test "${ac_cv_prog_AR+set}" = set; then
38003 echo $ECHO_N "(cached) $ECHO_C" >&6
38005 if test -n "$AR"; then
38006 ac_cv_prog_AR
="$AR" # Let the user override the test.
38008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38009 for as_dir
in $PATH
38012 test -z "$as_dir" && as_dir
=.
38013 for ac_exec_ext
in '' $ac_executable_extensions; do
38014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38015 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38025 if test -n "$AR"; then
38026 echo "$as_me:$LINENO: result: $AR" >&5
38027 echo "${ECHO_T}$AR" >&6
38029 echo "$as_me:$LINENO: result: no" >&5
38030 echo "${ECHO_T}no" >&6
38034 if test -z "$ac_cv_prog_AR"; then
38036 # Extract the first word of "ar", so it can be a program name with args.
38037 set dummy
ar; ac_word
=$2
38038 echo "$as_me:$LINENO: checking for $ac_word" >&5
38039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38040 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38041 echo $ECHO_N "(cached) $ECHO_C" >&6
38043 if test -n "$ac_ct_AR"; then
38044 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38047 for as_dir
in $PATH
38050 test -z "$as_dir" && as_dir
=.
38051 for ac_exec_ext
in '' $ac_executable_extensions; do
38052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38053 ac_cv_prog_ac_ct_AR
="ar"
38054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38060 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
38063 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38064 if test -n "$ac_ct_AR"; then
38065 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38066 echo "${ECHO_T}$ac_ct_AR" >&6
38068 echo "$as_me:$LINENO: result: no" >&5
38069 echo "${ECHO_T}no" >&6
38074 AR
="$ac_cv_prog_AR"
38077 if test -n "$ac_tool_prefix"; then
38078 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38079 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38080 echo "$as_me:$LINENO: checking for $ac_word" >&5
38081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38082 if test "${ac_cv_prog_STRIP+set}" = set; then
38083 echo $ECHO_N "(cached) $ECHO_C" >&6
38085 if test -n "$STRIP"; then
38086 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38089 for as_dir
in $PATH
38092 test -z "$as_dir" && as_dir
=.
38093 for ac_exec_ext
in '' $ac_executable_extensions; do
38094 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38095 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38104 STRIP
=$ac_cv_prog_STRIP
38105 if test -n "$STRIP"; then
38106 echo "$as_me:$LINENO: result: $STRIP" >&5
38107 echo "${ECHO_T}$STRIP" >&6
38109 echo "$as_me:$LINENO: result: no" >&5
38110 echo "${ECHO_T}no" >&6
38114 if test -z "$ac_cv_prog_STRIP"; then
38116 # Extract the first word of "strip", so it can be a program name with args.
38117 set dummy strip
; ac_word
=$2
38118 echo "$as_me:$LINENO: checking for $ac_word" >&5
38119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38120 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38121 echo $ECHO_N "(cached) $ECHO_C" >&6
38123 if test -n "$ac_ct_STRIP"; then
38124 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38127 for as_dir
in $PATH
38130 test -z "$as_dir" && as_dir
=.
38131 for ac_exec_ext
in '' $ac_executable_extensions; do
38132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38133 ac_cv_prog_ac_ct_STRIP
="strip"
38134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38140 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
38143 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38144 if test -n "$ac_ct_STRIP"; then
38145 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38146 echo "${ECHO_T}$ac_ct_STRIP" >&6
38148 echo "$as_me:$LINENO: result: no" >&5
38149 echo "${ECHO_T}no" >&6
38154 STRIP
="$ac_cv_prog_STRIP"
38157 if test -n "$ac_tool_prefix"; then
38158 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38159 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38160 echo "$as_me:$LINENO: checking for $ac_word" >&5
38161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38162 if test "${ac_cv_prog_NM+set}" = set; then
38163 echo $ECHO_N "(cached) $ECHO_C" >&6
38165 if test -n "$NM"; then
38166 ac_cv_prog_NM
="$NM" # Let the user override the test.
38168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38169 for as_dir
in $PATH
38172 test -z "$as_dir" && as_dir
=.
38173 for ac_exec_ext
in '' $ac_executable_extensions; do
38174 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38175 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38185 if test -n "$NM"; then
38186 echo "$as_me:$LINENO: result: $NM" >&5
38187 echo "${ECHO_T}$NM" >&6
38189 echo "$as_me:$LINENO: result: no" >&5
38190 echo "${ECHO_T}no" >&6
38194 if test -z "$ac_cv_prog_NM"; then
38196 # Extract the first word of "nm", so it can be a program name with args.
38197 set dummy nm
; ac_word
=$2
38198 echo "$as_me:$LINENO: checking for $ac_word" >&5
38199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38200 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38201 echo $ECHO_N "(cached) $ECHO_C" >&6
38203 if test -n "$ac_ct_NM"; then
38204 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38207 for as_dir
in $PATH
38210 test -z "$as_dir" && as_dir
=.
38211 for ac_exec_ext
in '' $ac_executable_extensions; do
38212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38213 ac_cv_prog_ac_ct_NM
="nm"
38214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38220 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
38223 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38224 if test -n "$ac_ct_NM"; then
38225 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38226 echo "${ECHO_T}$ac_ct_NM" >&6
38228 echo "$as_me:$LINENO: result: no" >&5
38229 echo "${ECHO_T}no" >&6
38234 NM
="$ac_cv_prog_NM"
38238 case ${BAKEFILE_HOST} in
38240 INSTALL_DIR
="mkdir"
38242 *) INSTALL_DIR
="$INSTALL -d"
38248 case ${BAKEFILE_HOST} in
38249 *-*-cygwin* | *-*-mingw32* )
38250 LDFLAGS_GUI
="-mwindows"
38256 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38257 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38258 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38259 echo $ECHO_N "(cached) $ECHO_C" >&6
38262 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38263 egrep -s GNU
> /dev
/null
); then
38264 bakefile_cv_prog_makeisgnu
="yes"
38266 bakefile_cv_prog_makeisgnu
="no"
38270 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38271 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38273 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38288 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38289 case "${BAKEFILE_HOST}" in
38290 *-*-cygwin* | *-*-mingw32* )
38296 *-pc-os2_emx | *-pc-os2-emx )
38299 powerpc
-*-darwin* )
38308 case "$BAKEFILE_FORCE_PLATFORM" in
38326 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38327 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38328 { (exit 1); exit 1; }; }
38341 # Check whether --enable-omf or --disable-omf was given.
38342 if test "${enable_omf+set}" = set; then
38343 enableval
="$enable_omf"
38344 bk_os2_use_omf
="$enableval"
38347 case "${BAKEFILE_HOST}" in
38349 CFLAGS
="$CFLAGS -fno-common"
38350 CXXFLAGS
="$CXXFLAGS -fno-common"
38353 *-pc-os2_emx | *-pc-os2-emx )
38354 if test "x$bk_os2_use_omf" = "xyes" ; then
38357 LDFLAGS
="-Zomf $LDFLAGS"
38358 CFLAGS
="-Zomf $CFLAGS"
38359 CXXFLAGS
="-Zomf $CXXFLAGS"
38369 SO_SUFFIX_MODULE
="so"
38374 DLLPREFIX_MODULE
=""
38377 case "${BAKEFILE_HOST}" in
38380 SO_SUFFIX_MODULE
="sl"
38384 SO_SUFFIX_MODULE
="a"
38386 *-*-cygwin* | *-*-mingw32* )
38388 SO_SUFFIX_MODULE
="dll"
38389 DLLIMP_SUFFIX
="dll.a"
38397 *-pc-os2_emx | *-pc-os2-emx )
38399 SO_SUFFIX_MODULE
="dll"
38400 DLLIMP_SUFFIX
=$OS2_LIBEXT
38404 LIBEXT
=".$OS2_LIBEXT"
38406 powerpc
-*-darwin* )
38408 SO_SUFFIX_MODULE
="bundle"
38412 if test "x$DLLIMP_SUFFIX" = "x" ; then
38413 DLLIMP_SUFFIX
="$SO_SUFFIX"
38426 SHARED_LD_CC
="\$(CC) -shared -o"
38427 SHARED_LD_CXX
="\$(CXX) -shared -o"
38429 if test "x$GCC" = "xyes"; then
38433 case "${BAKEFILE_HOST}" in
38435 if test "x$GCC" = "xyes"; then
38436 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
38437 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
38439 LDFLAGS
="$LDFLAGS -L/usr/lib"
38441 SHARED_LD_CC
="${CC} -b -o"
38442 SHARED_LD_CXX
="${CXX} -b -o"
38448 if test "x$GCC" != "xyes"; then
38449 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38450 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38451 if test "${bakefile_cv_prog_icc+set}" = set; then
38452 echo $ECHO_N "(cached) $ECHO_C" >&6
38455 cat >conftest.
$ac_ext <<_ACEOF
38458 cat confdefs.h
>>conftest.
$ac_ext
38459 cat >>conftest.
$ac_ext <<_ACEOF
38460 /* end confdefs.h. */
38466 #ifndef __INTEL_COMPILER
38474 rm -f conftest.
$ac_objext
38475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38476 (eval $ac_compile) 2>conftest.er1
38478 grep -v '^ *+' conftest.er1
>conftest.err
38480 cat conftest.err
>&5
38481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38482 (exit $ac_status); } &&
38483 { ac_try
='test -z "$ac_c_werror_flag"
38484 || test ! -s conftest.err'
38485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38486 (eval $ac_try) 2>&5
38488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38489 (exit $ac_status); }; } &&
38490 { ac_try
='test -s conftest.$ac_objext'
38491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38492 (eval $ac_try) 2>&5
38494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38495 (exit $ac_status); }; }; then
38496 bakefile_cv_prog_icc
=yes
38498 echo "$as_me: failed program was:" >&5
38499 sed 's/^/| /' conftest.
$ac_ext >&5
38501 bakefile_cv_prog_icc
=no
38504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38507 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38508 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38509 if test "$bakefile_cv_prog_icc" = "yes"; then
38516 if test "x$GCC" != xyes
; then
38517 SHARED_LD_CC
="${CC} -G -o"
38518 SHARED_LD_CXX
="${CXX} -G -o"
38525 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38526 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38527 if test "${wx_cv_gcc31+set}" = set; then
38528 echo $ECHO_N "(cached) $ECHO_C" >&6
38531 cat >conftest.
$ac_ext <<_ACEOF
38534 cat confdefs.h
>>conftest.
$ac_ext
38535 cat >>conftest.
$ac_ext <<_ACEOF
38536 /* end confdefs.h. */
38542 #if (__GNUC__ < 3) || \
38543 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38551 rm -f conftest.
$ac_objext
38552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38553 (eval $ac_compile) 2>conftest.er1
38555 grep -v '^ *+' conftest.er1
>conftest.err
38557 cat conftest.err
>&5
38558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38559 (exit $ac_status); } &&
38560 { ac_try
='test -z "$ac_c_werror_flag"
38561 || test ! -s conftest.err'
38562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38563 (eval $ac_try) 2>&5
38565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38566 (exit $ac_status); }; } &&
38567 { ac_try
='test -s conftest.$ac_objext'
38568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38569 (eval $ac_try) 2>&5
38571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38572 (exit $ac_status); }; }; then
38577 echo "$as_me: failed program was:" >&5
38578 sed 's/^/| /' conftest.
$ac_ext >&5
38585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38588 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38589 echo "${ECHO_T}$wx_cv_gcc31" >&6
38590 if test "$wx_cv_gcc31" = "no"; then
38593 cat <<EOF >shared-ld-sh
38595 #-----------------------------------------------------------------------------
38596 #-- Name: distrib/mac/shared-ld-sh
38597 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38598 #-- Author: Gilles Depeyrot
38599 #-- Copyright: (c) 2002 Gilles Depeyrot
38600 #-- Licence: any use permitted
38601 #-----------------------------------------------------------------------------
38606 linking_flag="-dynamiclib"
38608 while test ${D}# -gt 0; do
38615 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38616 # collect these options and values
38617 args="${D}{args} ${D}1 ${D}2"
38621 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38622 # collect these options
38623 args="${D}{args} ${D}1"
38626 -dynamiclib|-bundle)
38627 linking_flag="${D}1"
38631 echo "shared-ld: unhandled option '${D}1'"
38635 *.o | *.a | *.dylib)
38636 # collect object files
38637 objects="${D}{objects} ${D}1"
38641 echo "shared-ld: unhandled argument '${D}1'"
38650 # Link one module containing all the others
38652 if test ${D}{verbose} = 1; then
38653 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
38655 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
38657 if test ${D}{status} != 0; then
38662 # Link the shared library from the single module created
38664 if test ${D}{verbose} = 1; then
38665 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38667 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38669 if test ${D}{status} != 0; then
38674 # Remove intermediate module
38676 rm -f master.${D}${D}.o
38681 chmod +x shared
-ld-sh
38683 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38684 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38685 SHARED_LD_CXX
="$SHARED_LD_CC"
38686 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
38688 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38689 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38690 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38691 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38694 PIC_FLAG
="-dynamic -fPIC"
38698 if test "x$GCC" != "xyes"; then
38699 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38700 set dummy makeC
++SharedLib
; ac_word
=$2
38701 echo "$as_me:$LINENO: checking for $ac_word" >&5
38702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38703 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38704 echo $ECHO_N "(cached) $ECHO_C" >&6
38706 if test -n "$AIX_CXX_LD"; then
38707 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38710 for as_dir
in $PATH
38713 test -z "$as_dir" && as_dir
=.
38714 for ac_exec_ext
in '' $ac_executable_extensions; do
38715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38716 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38723 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38726 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38727 if test -n "$AIX_CXX_LD"; then
38728 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38729 echo "${ECHO_T}$AIX_CXX_LD" >&6
38731 echo "$as_me:$LINENO: result: no" >&5
38732 echo "${ECHO_T}no" >&6
38735 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
38736 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
38741 SHARED_LD_CC
="${LD} -shared -o"
38742 SHARED_LD_CXX
="${LD} -shared -o"
38746 if test "x$GCC" != "xyes"; then
38751 *-*-cygwin* | *-*-mingw32* )
38755 *-pc-os2_emx | *-pc-os2-emx )
38756 SHARED_LD_CC
="`pwd`/dllar.sh -o"
38757 SHARED_LD_CXX
="`pwd`/dllar.sh -o"
38761 cat <<EOF >dllar.sh
38764 # dllar - a tool to build both a .dll and an .a file
38765 # from a set of object (.o) files for EMX/OS2.
38767 # Written by Andrew Zabolotny, bit@freya.etu.ru
38768 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38770 # This script will accept a set of files on the command line.
38771 # All the public symbols from the .o files will be exported into
38772 # a .DEF file, then linker will be run (through gcc) against them to
38773 # build a shared library consisting of all given .o files. All libraries
38774 # (.a) will be first decompressed into component .o files then act as
38775 # described above. You can optionally give a description (-d "description")
38776 # which will be put into .DLL. To see the list of accepted options (as well
38777 # as command-line format) simply run this program without options. The .DLL
38778 # is built to be imported by name (there is no guarantee that new versions
38779 # of the library you build will have same ordinals for same symbols).
38781 # dllar is free software; you can redistribute it and/or modify
38782 # it under the terms of the GNU General Public License as published by
38783 # the Free Software Foundation; either version 2, or (at your option)
38784 # any later version.
38786 # dllar is distributed in the hope that it will be useful,
38787 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38788 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38789 # GNU General Public License for more details.
38791 # You should have received a copy of the GNU General Public License
38792 # along with dllar; see the file COPYING. If not, write to the Free
38793 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38796 # To successfuly run this program you will need:
38797 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38798 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38800 # (used to build the .dll)
38802 # (used to create .def file from .o files)
38804 # (used to create .a file from .def file)
38805 # - GNU text utilites (cat, sort, uniq)
38806 # used to process emxexp output
38807 # - GNU file utilities (mv, rm)
38809 # - lxlite (optional, see flag below)
38810 # (used for general .dll cleanup)
38817 # basnam, variant of basename, which does _not_ remove the path, _iff_
38818 # second argument (suffix to remove) is given
38822 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
38825 echo ${D}1 | sed 's/'${D}2'${D}//'
38828 echo "error in basnam ${D}*"
38834 # Cleanup temporary files and output
38837 for i in ${D}inputFiles ; do
38840 rm -rf \`basnam ${D}i !\`
38847 # Kill result in case of failure as there is just to many stupid make/nmake
38848 # things out there which doesn't do this.
38849 if [] ${D}# -eq 0 []; then
38850 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38854 # Print usage and exit script with rc=1.
38856 echo 'Usage: dllar []-o[[]utput[]] output_file[] []-i[[]mport[]] importlib_name[]'
38857 echo ' []-d[[]escription[]] "dll descrption"[] []-cc "CC"[] []-f[[]lags[]] "CFLAGS"[]'
38858 echo ' []-ord[[]inals[]][] -ex[]clude[] "symbol(s)"'
38859 echo ' []-libf[[]lags[]] "{INIT|TERM}{GLOBAL|INSTANCE}"[] []-nocrt[[]dll[]][] []-nolxl[[]ite[]][]'
38860 echo ' []*.o[] []*.a[]'
38861 echo '*> "output_file" should have no extension.'
38862 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38863 echo ' The import library name is derived from this and is set to "name".a,'
38864 echo ' unless overridden by -import'
38865 echo '*> "importlib_name" should have no extension.'
38866 echo ' If it has the .o, or .a extension, it is automatically removed.'
38867 echo ' This name is used as the import library name and may be longer and'
38868 echo ' more descriptive than the DLL name which has to follow the old '
38869 echo ' 8.3 convention of FAT.'
38870 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38871 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38872 echo ' These flags will be put at the start of GCC command line.'
38873 echo '*> -ord[]inals[] tells dllar to export entries by ordinals. Be careful.'
38874 echo '*> -ex[]clude[] defines symbols which will not be exported. You can define'
38875 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38876 echo ' If the last character of a symbol is "*", all symbols beginning'
38877 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38878 echo '*> -libf[]lags[] can be used to add INITGLOBAL/INITINSTANCE and/or'
38879 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38880 echo '*> -nocrt[]dll[] switch will disable linking the library against emx''s'
38881 echo ' C runtime DLLs.'
38882 echo '*> -nolxl[]ite[] switch will disable running lxlite on the resulting DLL.'
38883 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38884 echo ' unchanged to GCC at the end of command line.'
38885 echo '*> If you create a DLL from a library and you do not specify -o,'
38886 echo ' the basename for DLL and import library will be set to library name,'
38887 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38888 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38889 echo ' library will be renamed into gcc_s.a.'
38892 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38893 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38898 # Execute a command.
38899 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38900 # @Uses Whatever CleanUp() uses.
38906 if [] ${D}rcCmd -ne 0 []; then
38907 echo "command failed, exit code="${D}rcCmd
38921 CFLAGS="-s -Zcrtdll"
38923 EXPORT_BY_ORDINALS=0
38928 case ${D}curDirS in
38932 curDirS=${D}{curDirS}"/"
38935 # Parse commandline
38937 while [] ${D}1 []; do
38940 EXPORT_BY_ORDINALS=1;
38967 exclude_symbols=${D}{exclude_symbols}${D}1" "
38971 library_flags=${D}{library_flags}${D}1" "
38987 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38991 if [] ${D}libsToLink -ne 0 []; then
38992 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38994 for file in ${D}1 ; do
38995 if [] -f ${D}file []; then
38996 inputFiles="${D}{inputFiles} ${D}file"
39000 if [] ${D}found -eq 0 []; then
39001 echo "ERROR: No file(s) found: "${D}1
39008 done # iterate cmdline words
39011 if [] -z "${D}inputFiles" []; then
39012 echo "dllar: no input files"
39016 # Now extract all .o files from .a files
39018 for file in ${D}inputFiles ; do
39029 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39034 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39036 if [] ${D}? -ne 0 []; then
39037 echo "Failed to create subdirectory ./${D}dirname"
39041 # Append '!' to indicate archive
39042 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39043 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39046 for subfile in ${D}dirname/*.o* ; do
39047 if [] -f ${D}subfile []; then
39049 if [] -s ${D}subfile []; then
39050 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39051 newInputFiles="${D}newInputFiles ${D}subfile"
39055 if [] ${D}found -eq 0 []; then
39056 echo "WARNING: there are no files in archive \'${D}file\'"
39060 newInputFiles="${D}{newInputFiles} ${D}file"
39064 inputFiles="${D}newInputFiles"
39066 # Output filename(s).
39068 if [] -z ${D}outFile []; then
39070 set outFile ${D}inputFiles; outFile=${D}2
39073 # If it is an archive, remove the '!' and the '_%' suffixes
39074 case ${D}outFile in
39076 outFile=\`basnam ${D}outFile _%!\`
39081 case ${D}outFile in
39083 outFile=\`basnam ${D}outFile .dll\`
39086 outFile=\`basnam ${D}outFile .DLL\`
39089 outFile=\`basnam ${D}outFile .o\`
39092 outFile=\`basnam ${D}outFile .obj\`
39095 outFile=\`basnam ${D}outFile .a\`
39098 outFile=\`basnam ${D}outFile .lib\`
39103 case ${D}outimpFile in
39105 outimpFile=\`basnam ${D}outimpFile .a\`
39108 outimpFile=\`basnam ${D}outimpFile .lib\`
39113 if [] -z ${D}outimpFile []; then
39114 outimpFile=${D}outFile
39116 defFile="${D}{outFile}.def"
39117 arcFile="${D}{outimpFile}.a"
39118 arcFile2="${D}{outimpFile}.lib"
39119 dllFile="${D}outFile"
39120 # Add suffix to dllFile later, first we need a version to use as
39121 # name in .def file.
39123 if [] ${D}do_backup -ne 0 [] ; then
39124 if [] -f ${D}arcFile [] ; then
39125 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39127 if [] -f ${D}arcFile2 [] ; then
39128 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39132 # Extract public symbols from all the object files.
39133 tmpdefFile=${D}{defFile}_%
39134 rm -f ${D}tmpdefFile
39135 for file in ${D}inputFiles ; do
39140 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39145 # Create the def file.
39147 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39148 dllFile="${D}dllFile.dll"
39149 if [] -n ${D}description []; then
39150 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
39152 echo "EXPORTS" >> ${D}defFile
39154 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39155 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39157 # Checks if the export is ok or not.
39158 for word in ${D}exclude_symbols; do
39159 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39160 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39164 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39165 sed "=" < ${D}tmpdefFile | \
39169 s/^\([]0-9[]\+\)\([]^;[]*\)\(;.*\)\?/\2 @\1 NONAME/
39171 ' > ${D}{tmpdefFile}%
39172 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39174 rm -f ${D}{tmpdefFile}%
39176 cat ${D}tmpdefFile >> ${D}defFile
39177 rm -f ${D}tmpdefFile
39179 # Do linking, create implib, and apply lxlite.
39181 for file in ${D}inputFiles ; do
39186 gccCmdl="${D}gccCmdl ${D}file"
39190 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39191 touch "${D}{outFile}.dll"
39193 doCommand "emximp -o ${D}arcFile ${D}defFile"
39194 if [] ${D}flag_USE_LXLITE -ne 0 []; then
39196 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39199 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39201 doCommand "emxomf -s -l ${D}arcFile"
39211 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39219 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39220 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39221 { (exit 1); exit 1; }; }
39224 if test "x$PIC_FLAG" != "x" ; then
39225 PIC_FLAG
="$PIC_FLAG -DPIC"
39228 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39229 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39231 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39232 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39249 case "${BAKEFILE_HOST}" in
39251 SONAME_FLAG
="-Wl,-soname,"
39279 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39280 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39283 if test "x$GCC" = "xyes"; then
39286 case "${BAKEFILE_HOST}" in
39287 powerpc
-*-darwin* )
39288 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
39291 DEPSFLAG_GCC
="-MMD"
39294 echo "$as_me:$LINENO: result: gcc" >&5
39295 echo "${ECHO_T}gcc" >&6
39297 echo "$as_me:$LINENO: result: none" >&5
39298 echo "${ECHO_T}none" >&6
39301 if test $DEPS_TRACKING = 1 ; then
39307 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39308 # script. It is used to track C/C++ files dependencies in portable way.
39310 # Permission is given to use this file in any way.
39312 DEPSMODE=${DEPSMODE}
39314 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39316 mkdir -p ${D}DEPSDIR
39318 if test ${D}DEPSMODE = gcc ; then
39319 ${D}* ${D}{DEPSFLAG_GCC}
39321 if test ${D}{status} != 0 ; then
39324 # move created file to the location we want it in:
39325 while test ${D}# -gt 0; do
39339 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39340 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39341 if test -f ${D}depfile ; then
39342 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39345 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39346 if test -f ${D}depfile ; then
39347 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39367 case ${BAKEFILE_HOST} in
39368 *-*-cygwin* | *-*-mingw32* )
39369 if test "$build" != "$host" ; then
39370 RESCOMP
=$host_alias-windres
39372 # Extract the first word of "windres", so it can be a program name with args.
39373 set dummy windres
; ac_word
=$2
39374 echo "$as_me:$LINENO: checking for $ac_word" >&5
39375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39376 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39377 echo $ECHO_N "(cached) $ECHO_C" >&6
39379 if test -n "$RESCOMP"; then
39380 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39383 for as_dir
in $PATH
39386 test -z "$as_dir" && as_dir
=.
39387 for ac_exec_ext
in '' $ac_executable_extensions; do
39388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39389 ac_cv_prog_RESCOMP
="windres"
39390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39396 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
39399 RESCOMP
=$ac_cv_prog_RESCOMP
39400 if test -n "$RESCOMP"; then
39401 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39402 echo "${ECHO_T}$RESCOMP" >&6
39404 echo "$as_me:$LINENO: result: no" >&5
39405 echo "${ECHO_T}no" >&6
39412 # Extract the first word of "Rez", so it can be a program name with args.
39413 set dummy Rez
; ac_word
=$2
39414 echo "$as_me:$LINENO: checking for $ac_word" >&5
39415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39416 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39417 echo $ECHO_N "(cached) $ECHO_C" >&6
39419 if test -n "$RESCOMP"; then
39420 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39423 for as_dir
in $PATH
39426 test -z "$as_dir" && as_dir
=.
39427 for ac_exec_ext
in '' $ac_executable_extensions; do
39428 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39429 ac_cv_prog_RESCOMP
="Rez"
39430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39436 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
39439 RESCOMP
=$ac_cv_prog_RESCOMP
39440 if test -n "$RESCOMP"; then
39441 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39442 echo "${ECHO_T}$RESCOMP" >&6
39444 echo "$as_me:$LINENO: result: no" >&5
39445 echo "${ECHO_T}no" >&6
39448 # Extract the first word of "SetFile", so it can be a program name with args.
39449 set dummy SetFile
; ac_word
=$2
39450 echo "$as_me:$LINENO: checking for $ac_word" >&5
39451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39452 if test "${ac_cv_prog_SETFILE+set}" = set; then
39453 echo $ECHO_N "(cached) $ECHO_C" >&6
39455 if test -n "$SETFILE"; then
39456 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39459 for as_dir
in $PATH
39462 test -z "$as_dir" && as_dir
=.
39463 for ac_exec_ext
in '' $ac_executable_extensions; do
39464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39465 ac_cv_prog_SETFILE
="SetFile"
39466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39472 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39475 SETFILE
=$ac_cv_prog_SETFILE
39476 if test -n "$SETFILE"; then
39477 echo "$as_me:$LINENO: result: $SETFILE" >&5
39478 echo "${ECHO_T}$SETFILE" >&6
39480 echo "$as_me:$LINENO: result: no" >&5
39481 echo "${ECHO_T}no" >&6
39491 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.4"
39494 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.4"
39498 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39499 if test "${enable_precomp_headers+set}" = set; then
39500 enableval
="$enable_precomp_headers"
39501 bk_use_pch
="$enableval"
39506 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39507 if test "x$GCC" = "xyes"; then
39508 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39509 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39510 cat >conftest.
$ac_ext <<_ACEOF
39513 cat confdefs.h
>>conftest.
$ac_ext
39514 cat >>conftest.
$ac_ext <<_ACEOF
39515 /* end confdefs.h. */
39521 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39522 #error "no pch support"
39525 #error "no pch support"
39527 #if (__GNUC__ == 3) && \
39528 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39529 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39530 #error "no pch support"
39537 rm -f conftest.
$ac_objext
39538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39539 (eval $ac_compile) 2>conftest.er1
39541 grep -v '^ *+' conftest.er1
>conftest.err
39543 cat conftest.err
>&5
39544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39545 (exit $ac_status); } &&
39546 { ac_try
='test -z "$ac_c_werror_flag"
39547 || test ! -s conftest.err'
39548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39549 (eval $ac_try) 2>&5
39551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39552 (exit $ac_status); }; } &&
39553 { ac_try
='test -s conftest.$ac_objext'
39554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39555 (eval $ac_try) 2>&5
39557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39558 (exit $ac_status); }; }; then
39560 echo "$as_me:$LINENO: result: yes" >&5
39561 echo "${ECHO_T}yes" >&6
39562 CPPFLAGS
="-fpch-deps $CPPFLAGS"
39566 echo "$as_me: failed program was:" >&5
39567 sed 's/^/| /' conftest.
$ac_ext >&5
39570 echo "$as_me:$LINENO: result: no" >&5
39571 echo "${ECHO_T}no" >&6
39574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39575 if test $GCC_PCH = 1 ; then
39576 cat <<EOF >bk-make-pch
39579 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39580 # script. It is used to generated precompiled headers.
39582 # Permission is given to use this file in any way.
39591 while test \${#} -gt 0; do
39594 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39595 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39596 headerfile="\${incdir}/\${header}"
39600 compiler="\${compiler} \${1}"
39604 if test "x\${headerfile}" = "x" ; then
39605 echo "error: can't find header \${header} in include paths" >2
39607 if test -f \${outfile} ; then
39610 mkdir -p \`dirname \${outfile}\`
39612 depsfile=".deps/\`basename \${outfile}\`.d"
39614 # can do this because gcc is >= 3.4:
39615 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39619 chmod +x bk
-make-pch
39630 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39631 if test "${enable_precomp_headers+set}" = set; then
39632 enableval
="$enable_precomp_headers"
39633 bk_use_pch
="$enableval"
39638 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39639 if test "x$GCC" = "xyes"; then
39640 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39641 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39642 cat >conftest.
$ac_ext <<_ACEOF
39645 cat confdefs.h
>>conftest.
$ac_ext
39646 cat >>conftest.
$ac_ext <<_ACEOF
39647 /* end confdefs.h. */
39653 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39654 #error "no pch support"
39657 #error "no pch support"
39659 #if (__GNUC__ == 3) && \
39660 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39661 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39662 #error "no pch support"
39669 rm -f conftest.
$ac_objext
39670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39671 (eval $ac_compile) 2>conftest.er1
39673 grep -v '^ *+' conftest.er1
>conftest.err
39675 cat conftest.err
>&5
39676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39677 (exit $ac_status); } &&
39678 { ac_try
='test -z "$ac_c_werror_flag"
39679 || test ! -s conftest.err'
39680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39681 (eval $ac_try) 2>&5
39683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39684 (exit $ac_status); }; } &&
39685 { ac_try
='test -s conftest.$ac_objext'
39686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39687 (eval $ac_try) 2>&5
39689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39690 (exit $ac_status); }; }; then
39692 echo "$as_me:$LINENO: result: yes" >&5
39693 echo "${ECHO_T}yes" >&6
39694 CPPFLAGS
="-fpch-deps $CPPFLAGS"
39698 echo "$as_me: failed program was:" >&5
39699 sed 's/^/| /' conftest.
$ac_ext >&5
39702 echo "$as_me:$LINENO: result: no" >&5
39703 echo "${ECHO_T}no" >&6
39706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39707 if test $GCC_PCH = 1 ; then
39708 cat <<EOF >bk-make-pch
39711 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39712 # script. It is used to generated precompiled headers.
39714 # Permission is given to use this file in any way.
39723 while test \${#} -gt 0; do
39726 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39727 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39728 headerfile="\${incdir}/\${header}"
39732 compiler="\${compiler} \${1}"
39736 if test "x\${headerfile}" = "x" ; then
39737 echo "error: can't find header \${header} in include paths" >2
39739 if test -f \${outfile} ; then
39742 mkdir -p \`dirname \${outfile}\`
39744 depsfile=".deps/\`basename \${outfile}\`.d"
39746 # can do this because gcc is >= 3.4:
39747 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39751 chmod +x bk
-make-pch
39759 COND_BUILD_DEBUG
="#"
39760 if test "x$BUILD" = "xdebug" ; then
39761 COND_BUILD_DEBUG
=""
39764 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
39765 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39766 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
39769 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
39770 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39771 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
39774 COND_BUILD_DEBUG_UNICODE_0
="#"
39775 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39776 COND_BUILD_DEBUG_UNICODE_0
=""
39779 COND_BUILD_DEBUG_UNICODE_1
="#"
39780 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39781 COND_BUILD_DEBUG_UNICODE_1
=""
39784 COND_BUILD_RELEASE
="#"
39785 if test "x$BUILD" = "xrelease" ; then
39786 COND_BUILD_RELEASE
=""
39789 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
39790 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39791 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
39794 COND_BUILD_RELEASE_UNICODE_0
="#"
39795 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39796 COND_BUILD_RELEASE_UNICODE_0
=""
39799 COND_BUILD_RELEASE_UNICODE_1
="#"
39800 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39801 COND_BUILD_RELEASE_UNICODE_1
=""
39804 COND_DEBUG_FLAG_1
="#"
39805 if test "x$DEBUG_FLAG" = "x1" ; then
39806 COND_DEBUG_FLAG_1
=""
39809 COND_DEBUG_INFO_0
="#"
39810 if test "x$DEBUG_INFO" = "x0" ; then
39811 COND_DEBUG_INFO_0
=""
39814 COND_DEBUG_INFO_1
="#"
39815 if test "x$DEBUG_INFO" = "x1" ; then
39816 COND_DEBUG_INFO_1
=""
39819 COND_DEPS_TRACKING_0
="#"
39820 if test "x$DEPS_TRACKING" = "x0" ; then
39821 COND_DEPS_TRACKING_0
=""
39824 COND_DEPS_TRACKING_1
="#"
39825 if test "x$DEPS_TRACKING" = "x1" ; then
39826 COND_DEPS_TRACKING_1
=""
39830 if test "x$GCC_PCH" = "x1" ; then
39834 COND_MONOLITHIC_0
="#"
39835 if test "x$MONOLITHIC" = "x0" ; then
39836 COND_MONOLITHIC_0
=""
39839 COND_MONOLITHIC_0_SHARED_0
="#"
39840 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39841 COND_MONOLITHIC_0_SHARED_0
=""
39844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
39845 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
39849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
39850 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
39854 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
39855 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39856 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
39859 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
39860 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39861 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
39864 COND_MONOLITHIC_0_SHARED_1
="#"
39865 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39866 COND_MONOLITHIC_0_SHARED_1
=""
39869 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
39870 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39871 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
39874 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
39875 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39876 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
39879 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
39880 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
39881 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
39884 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
39885 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
39886 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
39889 COND_MONOLITHIC_0_USE_ODBC_1
="#"
39890 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
39891 COND_MONOLITHIC_0_USE_ODBC_1
=""
39894 COND_MONOLITHIC_1
="#"
39895 if test "x$MONOLITHIC" = "x1" ; then
39896 COND_MONOLITHIC_1
=""
39899 COND_MONOLITHIC_1_SHARED_0
="#"
39900 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39901 COND_MONOLITHIC_1_SHARED_0
=""
39904 COND_MONOLITHIC_1_SHARED_1
="#"
39905 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39906 COND_MONOLITHIC_1_SHARED_1
=""
39909 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
39910 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39911 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
39914 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
39915 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39916 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
39919 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
39920 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39921 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
39924 COND_PLATFORM_MACOSX_1
="#"
39925 if test "x$PLATFORM_MACOSX" = "x1" ; then
39926 COND_PLATFORM_MACOSX_1
=""
39929 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
39930 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
39931 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
39934 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
39935 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
39936 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
39939 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
39940 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
39941 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
39944 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
39945 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39946 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
39949 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
39950 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39951 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
39954 COND_PLATFORM_MAC_1
="#"
39955 if test "x$PLATFORM_MAC" = "x1" ; then
39956 COND_PLATFORM_MAC_1
=""
39959 COND_PLATFORM_OS2_1
="#"
39960 if test "x$PLATFORM_OS2" = "x1" ; then
39961 COND_PLATFORM_OS2_1
=""
39964 COND_PLATFORM_UNIX_0
="#"
39965 if test "x$PLATFORM_UNIX" = "x0" ; then
39966 COND_PLATFORM_UNIX_0
=""
39969 COND_PLATFORM_UNIX_1
="#"
39970 if test "x$PLATFORM_UNIX" = "x1" ; then
39971 COND_PLATFORM_UNIX_1
=""
39974 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
39975 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
39976 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
39979 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
39980 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
39981 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
39984 COND_PLATFORM_WIN32_0
="#"
39985 if test "x$PLATFORM_WIN32" = "x0" ; then
39986 COND_PLATFORM_WIN32_0
=""
39989 COND_PLATFORM_WIN32_1
="#"
39990 if test "x$PLATFORM_WIN32" = "x1" ; then
39991 COND_PLATFORM_WIN32_1
=""
39995 if test "x$SHARED" = "x0" ; then
39999 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40000 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40001 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40004 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40005 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40006 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40009 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40010 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40011 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40014 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40015 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40016 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40019 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40020 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40021 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40024 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40025 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40026 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40029 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40030 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40031 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40034 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40035 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40036 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40040 if test "x$SHARED" = "x1" ; then
40044 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40045 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40046 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40049 COND_TOOLKIT_COCOA
="#"
40050 if test "x$TOOLKIT" = "xCOCOA" ; then
40051 COND_TOOLKIT_COCOA
=""
40054 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40055 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40056 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40059 COND_TOOLKIT_GTK
="#"
40060 if test "x$TOOLKIT" = "xGTK" ; then
40061 COND_TOOLKIT_GTK
=""
40064 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40065 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40066 COND_TOOLKIT_GTK_USE_GUI_1
=""
40069 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40070 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40071 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40074 COND_TOOLKIT_MAC
="#"
40075 if test "x$TOOLKIT" = "xMAC" ; then
40076 COND_TOOLKIT_MAC
=""
40079 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40080 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40081 COND_TOOLKIT_MAC_USE_GUI_1
=""
40084 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40085 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40086 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40089 COND_TOOLKIT_MAC_WXUNIV_0
="#"
40090 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40091 COND_TOOLKIT_MAC_WXUNIV_0
=""
40094 COND_TOOLKIT_MGL
="#"
40095 if test "x$TOOLKIT" = "xMGL" ; then
40096 COND_TOOLKIT_MGL
=""
40099 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40100 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40101 COND_TOOLKIT_MGL_USE_GUI_1
=""
40104 COND_TOOLKIT_MOTIF
="#"
40105 if test "x$TOOLKIT" = "xMOTIF" ; then
40106 COND_TOOLKIT_MOTIF
=""
40109 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40110 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40111 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40114 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40115 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40116 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40119 COND_TOOLKIT_MSW
="#"
40120 if test "x$TOOLKIT" = "xMSW" ; then
40121 COND_TOOLKIT_MSW
=""
40124 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40125 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40126 COND_TOOLKIT_MSW_USE_GUI_1
=""
40129 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40130 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40131 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40134 COND_TOOLKIT_MSW_WXUNIV_0
="#"
40135 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40136 COND_TOOLKIT_MSW_WXUNIV_0
=""
40139 COND_TOOLKIT_PM
="#"
40140 if test "x$TOOLKIT" = "xPM" ; then
40144 COND_TOOLKIT_PM_USE_GUI_1
="#"
40145 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40146 COND_TOOLKIT_PM_USE_GUI_1
=""
40149 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40150 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40151 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40154 COND_TOOLKIT_PM_WXUNIV_0
="#"
40155 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40156 COND_TOOLKIT_PM_WXUNIV_0
=""
40159 COND_TOOLKIT_WINCE
="#"
40160 if test "x$TOOLKIT" = "xWINCE" ; then
40161 COND_TOOLKIT_WINCE
=""
40164 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40165 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40166 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40169 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40170 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40171 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40174 COND_TOOLKIT_X11
="#"
40175 if test "x$TOOLKIT" = "xX11" ; then
40176 COND_TOOLKIT_X11
=""
40179 COND_TOOLKIT_X11_USE_GUI_1
="#"
40180 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40181 COND_TOOLKIT_X11_USE_GUI_1
=""
40185 if test "x$UNICODE" = "x1" ; then
40189 COND_USE_EXCEPTIONS_0
="#"
40190 if test "x$USE_EXCEPTIONS" = "x0" ; then
40191 COND_USE_EXCEPTIONS_0
=""
40194 COND_USE_EXCEPTIONS_1
="#"
40195 if test "x$USE_EXCEPTIONS" = "x1" ; then
40196 COND_USE_EXCEPTIONS_1
=""
40200 if test "x$USE_GUI" = "x0" ; then
40205 if test "x$USE_GUI" = "x1" ; then
40209 COND_USE_GUI_1_WXUNIV_0
="#"
40210 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40211 COND_USE_GUI_1_WXUNIV_0
=""
40214 COND_USE_GUI_1_WXUNIV_1
="#"
40215 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40216 COND_USE_GUI_1_WXUNIV_1
=""
40219 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40220 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40221 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40224 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40225 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40226 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40229 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40230 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40231 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40234 COND_USE_ODBC_1
="#"
40235 if test "x$USE_ODBC" = "x1" ; then
40239 COND_USE_PLUGINS_0
="#"
40240 if test "x$USE_PLUGINS" = "x0" ; then
40241 COND_USE_PLUGINS_0
=""
40244 COND_USE_SOSYMLINKS_1
="#"
40245 if test "x$USE_SOSYMLINKS" = "x1" ; then
40246 COND_USE_SOSYMLINKS_1
=""
40249 COND_USE_SOVERLINUX_1
="#"
40250 if test "x$USE_SOVERLINUX" = "x1" ; then
40251 COND_USE_SOVERLINUX_1
=""
40254 COND_USE_SOVERSION_0
="#"
40255 if test "x$USE_SOVERSION" = "x0" ; then
40256 COND_USE_SOVERSION_0
=""
40259 COND_USE_SOVERSOLARIS_1
="#"
40260 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40261 COND_USE_SOVERSOLARIS_1
=""
40264 COND_WITH_PLUGIN_SDL_1
="#"
40265 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40266 COND_WITH_PLUGIN_SDL_1
=""
40269 COND_WITH_SDL_1
="#"
40270 if test "x$WITH_SDL" = "x1" ; then
40275 if test "x$WXUNIV" = "x1" ; then
40279 COND_WXUSE_EXPAT_BUILTIN
="#"
40280 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40281 COND_WXUSE_EXPAT_BUILTIN
=""
40284 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40285 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40286 COND_WXUSE_LIBJPEG_BUILTIN
=""
40289 COND_WXUSE_LIBPNG_BUILTIN
="#"
40290 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40291 COND_WXUSE_LIBPNG_BUILTIN
=""
40294 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40295 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40296 COND_WXUSE_LIBTIFF_BUILTIN
=""
40299 COND_WXUSE_ODBC_BUILTIN
="#"
40300 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40301 COND_WXUSE_ODBC_BUILTIN
=""
40304 COND_WXUSE_REGEX_BUILTIN
="#"
40305 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40306 COND_WXUSE_REGEX_BUILTIN
=""
40309 COND_WXUSE_ZLIB_BUILTIN
="#"
40310 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40311 COND_WXUSE_ZLIB_BUILTIN
=""
40314 COND_BUILD_DEBUG
="#"
40315 if test "x$BUILD" = "xdebug" ; then
40316 COND_BUILD_DEBUG
=""
40319 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40320 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40321 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40324 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40325 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40326 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40329 COND_BUILD_DEBUG_UNICODE_0
="#"
40330 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40331 COND_BUILD_DEBUG_UNICODE_0
=""
40334 COND_BUILD_DEBUG_UNICODE_1
="#"
40335 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40336 COND_BUILD_DEBUG_UNICODE_1
=""
40339 COND_BUILD_RELEASE
="#"
40340 if test "x$BUILD" = "xrelease" ; then
40341 COND_BUILD_RELEASE
=""
40344 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40345 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40346 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40349 COND_BUILD_RELEASE_UNICODE_0
="#"
40350 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40351 COND_BUILD_RELEASE_UNICODE_0
=""
40354 COND_BUILD_RELEASE_UNICODE_1
="#"
40355 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40356 COND_BUILD_RELEASE_UNICODE_1
=""
40359 COND_DEBUG_FLAG_1
="#"
40360 if test "x$DEBUG_FLAG" = "x1" ; then
40361 COND_DEBUG_FLAG_1
=""
40364 COND_DEBUG_INFO_0
="#"
40365 if test "x$DEBUG_INFO" = "x0" ; then
40366 COND_DEBUG_INFO_0
=""
40369 COND_DEBUG_INFO_1
="#"
40370 if test "x$DEBUG_INFO" = "x1" ; then
40371 COND_DEBUG_INFO_1
=""
40374 COND_DEPS_TRACKING_0
="#"
40375 if test "x$DEPS_TRACKING" = "x0" ; then
40376 COND_DEPS_TRACKING_0
=""
40379 COND_DEPS_TRACKING_1
="#"
40380 if test "x$DEPS_TRACKING" = "x1" ; then
40381 COND_DEPS_TRACKING_1
=""
40385 if test "x$GCC_PCH" = "x1" ; then
40389 COND_MONOLITHIC_0
="#"
40390 if test "x$MONOLITHIC" = "x0" ; then
40391 COND_MONOLITHIC_0
=""
40394 COND_MONOLITHIC_0_SHARED_0
="#"
40395 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40396 COND_MONOLITHIC_0_SHARED_0
=""
40399 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40400 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40401 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40404 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40405 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40406 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40409 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
40410 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40411 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
40414 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40415 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40416 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40419 COND_MONOLITHIC_0_SHARED_1
="#"
40420 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40421 COND_MONOLITHIC_0_SHARED_1
=""
40424 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40425 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40426 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40429 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40430 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40431 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40434 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
40435 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40436 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
40439 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40440 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40441 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40444 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40445 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40446 COND_MONOLITHIC_0_USE_ODBC_1
=""
40449 COND_MONOLITHIC_1
="#"
40450 if test "x$MONOLITHIC" = "x1" ; then
40451 COND_MONOLITHIC_1
=""
40454 COND_MONOLITHIC_1_SHARED_0
="#"
40455 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40456 COND_MONOLITHIC_1_SHARED_0
=""
40459 COND_MONOLITHIC_1_SHARED_1
="#"
40460 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40461 COND_MONOLITHIC_1_SHARED_1
=""
40464 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40465 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40466 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40469 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40470 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40471 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40474 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40475 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40476 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40479 COND_PLATFORM_MACOSX_1
="#"
40480 if test "x$PLATFORM_MACOSX" = "x1" ; then
40481 COND_PLATFORM_MACOSX_1
=""
40484 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40485 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40486 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40489 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40490 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40491 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40494 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40495 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40496 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40499 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40500 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40501 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40504 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40505 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40506 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40509 COND_PLATFORM_MAC_1
="#"
40510 if test "x$PLATFORM_MAC" = "x1" ; then
40511 COND_PLATFORM_MAC_1
=""
40514 COND_PLATFORM_OS2_1
="#"
40515 if test "x$PLATFORM_OS2" = "x1" ; then
40516 COND_PLATFORM_OS2_1
=""
40519 COND_PLATFORM_UNIX_0
="#"
40520 if test "x$PLATFORM_UNIX" = "x0" ; then
40521 COND_PLATFORM_UNIX_0
=""
40524 COND_PLATFORM_UNIX_1
="#"
40525 if test "x$PLATFORM_UNIX" = "x1" ; then
40526 COND_PLATFORM_UNIX_1
=""
40529 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40530 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40531 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40534 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40535 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40536 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40539 COND_PLATFORM_WIN32_0
="#"
40540 if test "x$PLATFORM_WIN32" = "x0" ; then
40541 COND_PLATFORM_WIN32_0
=""
40544 COND_PLATFORM_WIN32_1
="#"
40545 if test "x$PLATFORM_WIN32" = "x1" ; then
40546 COND_PLATFORM_WIN32_1
=""
40550 if test "x$SHARED" = "x0" ; then
40554 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40555 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40556 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40559 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40560 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40561 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40564 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40565 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40566 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40569 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40570 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40571 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40574 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40575 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40576 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40579 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40580 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40581 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40584 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40585 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40586 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40589 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40590 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40591 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40595 if test "x$SHARED" = "x1" ; then
40599 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40600 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40601 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40604 COND_TOOLKIT_COCOA
="#"
40605 if test "x$TOOLKIT" = "xCOCOA" ; then
40606 COND_TOOLKIT_COCOA
=""
40609 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40610 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40611 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40614 COND_TOOLKIT_GTK
="#"
40615 if test "x$TOOLKIT" = "xGTK" ; then
40616 COND_TOOLKIT_GTK
=""
40619 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40620 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40621 COND_TOOLKIT_GTK_USE_GUI_1
=""
40624 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40625 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40626 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40629 COND_TOOLKIT_MAC
="#"
40630 if test "x$TOOLKIT" = "xMAC" ; then
40631 COND_TOOLKIT_MAC
=""
40634 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40635 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40636 COND_TOOLKIT_MAC_USE_GUI_1
=""
40639 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40640 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40641 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40644 COND_TOOLKIT_MGL
="#"
40645 if test "x$TOOLKIT" = "xMGL" ; then
40646 COND_TOOLKIT_MGL
=""
40649 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40650 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40651 COND_TOOLKIT_MGL_USE_GUI_1
=""
40654 COND_TOOLKIT_MOTIF
="#"
40655 if test "x$TOOLKIT" = "xMOTIF" ; then
40656 COND_TOOLKIT_MOTIF
=""
40659 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40660 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40661 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40664 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40665 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40666 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40669 COND_TOOLKIT_MSW
="#"
40670 if test "x$TOOLKIT" = "xMSW" ; then
40671 COND_TOOLKIT_MSW
=""
40674 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40675 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40676 COND_TOOLKIT_MSW_USE_GUI_1
=""
40679 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40680 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40681 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40684 COND_TOOLKIT_PM
="#"
40685 if test "x$TOOLKIT" = "xPM" ; then
40689 COND_TOOLKIT_PM_USE_GUI_1
="#"
40690 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40691 COND_TOOLKIT_PM_USE_GUI_1
=""
40694 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40695 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40696 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40699 COND_TOOLKIT_WINCE
="#"
40700 if test "x$TOOLKIT" = "xWINCE" ; then
40701 COND_TOOLKIT_WINCE
=""
40704 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40705 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40706 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40709 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40710 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40711 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40714 COND_TOOLKIT_X11
="#"
40715 if test "x$TOOLKIT" = "xX11" ; then
40716 COND_TOOLKIT_X11
=""
40719 COND_TOOLKIT_X11_USE_GUI_1
="#"
40720 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40721 COND_TOOLKIT_X11_USE_GUI_1
=""
40725 if test "x$UNICODE" = "x1" ; then
40729 COND_USE_EXCEPTIONS_0
="#"
40730 if test "x$USE_EXCEPTIONS" = "x0" ; then
40731 COND_USE_EXCEPTIONS_0
=""
40734 COND_USE_EXCEPTIONS_1
="#"
40735 if test "x$USE_EXCEPTIONS" = "x1" ; then
40736 COND_USE_EXCEPTIONS_1
=""
40740 if test "x$USE_GUI" = "x0" ; then
40745 if test "x$USE_GUI" = "x1" ; then
40749 COND_USE_GUI_1_WXUNIV_0
="#"
40750 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40751 COND_USE_GUI_1_WXUNIV_0
=""
40754 COND_USE_GUI_1_WXUNIV_1
="#"
40755 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40756 COND_USE_GUI_1_WXUNIV_1
=""
40759 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40760 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40761 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40764 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40765 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40766 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40769 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40770 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40771 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40774 COND_USE_ODBC_1
="#"
40775 if test "x$USE_ODBC" = "x1" ; then
40779 COND_USE_PLUGINS_0
="#"
40780 if test "x$USE_PLUGINS" = "x0" ; then
40781 COND_USE_PLUGINS_0
=""
40784 COND_USE_SOSYMLINKS_1
="#"
40785 if test "x$USE_SOSYMLINKS" = "x1" ; then
40786 COND_USE_SOSYMLINKS_1
=""
40789 COND_USE_SOVERLINUX_1
="#"
40790 if test "x$USE_SOVERLINUX" = "x1" ; then
40791 COND_USE_SOVERLINUX_1
=""
40794 COND_USE_SOVERSION_0
="#"
40795 if test "x$USE_SOVERSION" = "x0" ; then
40796 COND_USE_SOVERSION_0
=""
40799 COND_USE_SOVERSOLARIS_1
="#"
40800 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40801 COND_USE_SOVERSOLARIS_1
=""
40804 COND_WITH_PLUGIN_SDL_1
="#"
40805 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40806 COND_WITH_PLUGIN_SDL_1
=""
40810 if test "x$WXUNIV" = "x1" ; then
40814 COND_WXUSE_EXPAT_BUILTIN
="#"
40815 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40816 COND_WXUSE_EXPAT_BUILTIN
=""
40819 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40820 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40821 COND_WXUSE_LIBJPEG_BUILTIN
=""
40824 COND_WXUSE_LIBPNG_BUILTIN
="#"
40825 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40826 COND_WXUSE_LIBPNG_BUILTIN
=""
40829 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40830 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40831 COND_WXUSE_LIBTIFF_BUILTIN
=""
40834 COND_WXUSE_ODBC_BUILTIN
="#"
40835 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40836 COND_WXUSE_ODBC_BUILTIN
=""
40839 COND_WXUSE_REGEX_BUILTIN
="#"
40840 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40841 COND_WXUSE_REGEX_BUILTIN
=""
40844 COND_WXUSE_ZLIB_BUILTIN
="#"
40845 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40846 COND_WXUSE_ZLIB_BUILTIN
=""
40851 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40852 { { echo "$as_me:$LINENO: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&5
40853 echo "$as_me: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&2;}
40854 { (exit 1); exit 1; }; }
40859 GCC_PRAGMA_FLAGS
=""
40860 if test $GCC_PCH = 1 ; then
40861 GCC_PRAGMA_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA"
40864 powerpc
-*-darwin* )
40865 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
40868 if test "$wxUSE_STL" = "yes" -o \
40869 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
40870 "$wxUSE_NO_RTTI" != "yes"; then
40871 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
40872 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
40873 cat >conftest.
$ac_ext <<_ACEOF
40876 cat confdefs.h
>>conftest.
$ac_ext
40877 cat >>conftest.
$ac_ext <<_ACEOF
40878 /* end confdefs.h. */
40883 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
40884 #error "Not GCC 3.2 or greater"
40891 rm -f conftest.
$ac_objext
40892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40893 (eval $ac_compile) 2>conftest.er1
40895 grep -v '^ *+' conftest.er1
>conftest.err
40897 cat conftest.err
>&5
40898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40899 (exit $ac_status); } &&
40900 { ac_try
='test -z "$ac_c_werror_flag"
40901 || test ! -s conftest.err'
40902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40903 (eval $ac_try) 2>&5
40905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40906 (exit $ac_status); }; } &&
40907 { ac_try
='test -s conftest.$ac_objext'
40908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40909 (eval $ac_try) 2>&5
40911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40912 (exit $ac_status); }; }; then
40913 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
40914 echo "$as_me:$LINENO: result: yes" >&5
40915 echo "${ECHO_T}yes" >&6
40917 echo "$as_me: failed program was:" >&5
40918 sed 's/^/| /' conftest.
$ac_ext >&5
40920 echo "$as_me:$LINENO: result: no" >&5
40921 echo "${ECHO_T}no" >&6
40923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40928 CPPFLAGS
="$GCC_PRAGMA_FLAGS $CPPFLAGS"
40931 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41034 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41035 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41036 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41037 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41038 echo $ECHO_N "(cached) $ECHO_C" >&6
41040 cat >conftest.
make <<\_ACEOF
41042 @
echo 'ac_maketemp="$(MAKE)"'
41044 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41045 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41046 if test -n "$ac_maketemp"; then
41047 eval ac_cv_prog_make_
${ac_make}_set
=yes
41049 eval ac_cv_prog_make_
${ac_make}_set
=no
41051 rm -f conftest.
make
41053 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41054 echo "$as_me:$LINENO: result: yes" >&5
41055 echo "${ECHO_T}yes" >&6
41058 echo "$as_me:$LINENO: result: no" >&5
41059 echo "${ECHO_T}no" >&6
41060 SET_MAKE
="MAKE=${MAKE-make}"
41064 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
41065 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
41068 ac_config_headers
="$ac_config_headers setup.h"
41071 ac_config_files
="$ac_config_files wx-config wx-config-wrapper version-script Makefile"
41074 ac_config_commands
="$ac_config_commands default"
41078 if test "$wxUSE_GUI" = "yes"; then
41079 SUBDIRS
="samples demos utils contrib"
41080 else SUBDIRS
="samples utils"
41085 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41086 if test "${with_cppunit_prefix+set}" = set; then
41087 withval
="$with_cppunit_prefix"
41088 cppunit_config_prefix
="$withval"
41090 cppunit_config_prefix
=""
41093 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41094 if test "${with_cppunit_exec_prefix+set}" = set; then
41095 withval
="$with_cppunit_exec_prefix"
41096 cppunit_config_exec_prefix
="$withval"
41098 cppunit_config_exec_prefix
=""
41101 if test x
$cppunit_config_exec_prefix != x
; then
41102 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41103 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41104 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41107 if test x
$cppunit_config_prefix != x
; then
41108 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41109 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41110 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41114 # Extract the first word of "cppunit-config", so it can be a program name with args.
41115 set dummy cppunit
-config; ac_word
=$2
41116 echo "$as_me:$LINENO: checking for $ac_word" >&5
41117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41118 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41119 echo $ECHO_N "(cached) $ECHO_C" >&6
41121 case $CPPUNIT_CONFIG in
41123 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41127 for as_dir
in $PATH
41130 test -z "$as_dir" && as_dir
=.
41131 for ac_exec_ext
in '' $ac_executable_extensions; do
41132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41133 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41140 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41144 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41146 if test -n "$CPPUNIT_CONFIG"; then
41147 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41148 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41150 echo "$as_me:$LINENO: result: no" >&5
41151 echo "${ECHO_T}no" >&6
41154 cppunit_version_min
=1.8.0
41156 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41157 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41159 if test "$CPPUNIT_CONFIG" = "no" ; then
41162 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41163 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41164 cppunit_version
=`$CPPUNIT_CONFIG --version`
41166 cppunit_major_version
=`echo $cppunit_version | \
41167 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41168 cppunit_minor_version
=`echo $cppunit_version | \
41169 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41170 cppunit_micro_version
=`echo $cppunit_version | \
41171 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41173 cppunit_major_min
=`echo $cppunit_version_min | \
41174 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41175 cppunit_minor_min
=`echo $cppunit_version_min | \
41176 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41177 cppunit_micro_min
=`echo $cppunit_version_min | \
41178 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41180 cppunit_version_proper
=`expr \
41181 $cppunit_major_version \> $cppunit_major_min \| \
41182 $cppunit_major_version \= $cppunit_major_min \& \
41183 $cppunit_minor_version \> $cppunit_minor_min \| \
41184 $cppunit_major_version \= $cppunit_major_min \& \
41185 $cppunit_minor_version \= $cppunit_minor_min \& \
41186 $cppunit_micro_version \>= $cppunit_micro_min `
41188 if test "$cppunit_version_proper" = "1" ; then
41189 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41190 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41192 echo "$as_me:$LINENO: result: no" >&5
41193 echo "${ECHO_T}no" >&6
41198 if test "x$no_cppunit" = x
; then
41199 SUBDIRS
="$SUBDIRS tests"
41210 for subdir
in `echo $SUBDIRS`; do
41211 if test -d ${srcdir}/${subdir} ; then
41212 if test "$wxUSE_GUI" = "yes"; then
41213 if test ${subdir} = "samples"; then
41214 makefiles
="samples/Makefile.in $makefiles"
41215 for sample
in `echo $SAMPLES_SUBDIRS`; do
41216 if test -d $srcdir/samples
/$sample; then
41217 makefiles
="samples/$sample/Makefile.in $makefiles"
41220 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41222 else if test ${subdir} = "samples"; then
41223 makefiles
="samples/Makefile.in samples/console/Makefile.in"
41224 elif test ${subdir} = "utils"; then
41225 makefiles
="utils/HelpGen/Makefile.in \
41226 utils/HelpGen/src/Makefile.in \
41227 utils/tex2rtf/Makefile.in \
41228 utils/tex2rtf/src/Makefile.in"
41229 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41233 for mkin
in $makefiles ; do
41234 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41235 ac_config_files
="$ac_config_files $mk"
41242 cat >confcache
<<\_ACEOF
41243 # This file is a shell script that caches the results of configure
41244 # tests run on this system so they can be shared between configure
41245 # scripts and configure runs, see configure's option --config-cache.
41246 # It is not useful on other systems. If it contains results you don't
41247 # want to keep, you may remove or edit it.
41249 # config.status only pays attention to the cache file if you give it
41250 # the --recheck option to rerun configure.
41252 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41253 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41254 # following values.
41258 # The following way of writing the cache mishandles newlines in values,
41259 # but we know of no workaround that is simple, portable, and efficient.
41260 # So, don't put newlines in cache variables' values.
41261 # Ultrix sh set writes to stderr and can't be redirected directly,
41262 # and sets the high bit in the cache file unless we assign to the vars.
41265 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41267 # `set' does not quote correctly, so add quotes (double-quote
41268 # substitution turns \\\\ into \\, and sed turns \\ into \).
41271 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41274 # `set' quotes correctly as required by POSIX, so do not add quotes.
41276 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41283 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41285 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41287 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
41288 if test -w $cache_file; then
41289 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41290 cat confcache
>$cache_file
41292 echo "not updating unwritable cache $cache_file"
41297 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41298 # Let make expand exec_prefix.
41299 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41301 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41302 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41303 # trailing colons and then remove the whole line if VPATH becomes empty
41304 # (actually we leave an empty line to preserve line numbers).
41305 if test "x$srcdir" = x.
; then
41306 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
41307 s/:*\$(srcdir):*/:/;
41308 s/:*\${srcdir}:*/:/;
41310 s/^\([^=]*=[ ]*\):*/\1/;
41316 DEFS
=-DHAVE_CONFIG_H
41320 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41321 # 1. Remove the extension, and $U if already installed.
41322 ac_i
=`echo "$ac_i" |
41323 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41325 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
41326 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
41328 LIBOBJS
=$ac_libobjs
41330 LTLIBOBJS
=$ac_ltlibobjs
41334 : ${CONFIG_STATUS=./config.status}
41335 ac_clean_files_save
=$ac_clean_files
41336 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41337 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41338 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41339 cat >$CONFIG_STATUS <<_ACEOF
41341 # Generated by $as_me.
41342 # Run this file to recreate the current configuration.
41343 # Compiler output produced by configure, useful for debugging
41344 # configure, is in config.log if it exists.
41347 ac_cs_recheck=false
41349 SHELL=\${CONFIG_SHELL-$SHELL}
41352 cat >>$CONFIG_STATUS <<\_ACEOF
41353 ## --------------------- ##
41354 ## M4sh Initialization. ##
41355 ## --------------------- ##
41357 # Be Bourne compatible
41358 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
41361 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41362 # is contrary to our usage. Disable this feature.
41363 alias -g '${1+"$@"}'='"$@"'
41364 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
41367 DUALCASE
=1; export DUALCASE
# for MKS sh
41369 # Support unset when possible.
41370 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
41377 # Work around bugs in pre-3.0 UWIN ksh.
41378 $as_unset ENV MAIL MAILPATH
41385 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41386 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41387 LC_TELEPHONE LC_TIME
41389 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41390 eval $as_var=C
; export $as_var
41396 # Required to use basename.
41397 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41403 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
41404 as_basename
=basename
41410 # Name of the executable.
41411 as_me
=`$as_basename "$0" ||
41412 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41413 X"$0" : 'X\(//\)$' \| \
41414 X"$0" : 'X\(/\)$' \| \
41415 . : '\(.\)' 2>/dev/null ||
41417 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
41418 /^X\/\(\/\/\)$/{ s//\1/; q; }
41419 /^X\/\(\/\).*/{ s//\1/; q; }
41423 # PATH needs CR, and LINENO needs CR and PATH.
41424 # Avoid depending upon Character Ranges.
41425 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41426 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41427 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41428 as_cr_digits
='0123456789'
41429 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41431 # The user is always right.
41432 if test "${PATH_SEPARATOR+set}" != set; then
41433 echo "#! /bin/sh" >conf$$.sh
41434 echo "exit 0" >>conf$$.sh
41436 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
41445 as_lineno_1
=$LINENO
41446 as_lineno_2
=$LINENO
41447 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
41448 test "x$as_lineno_1" != "x$as_lineno_2" &&
41449 test "x$as_lineno_3" = "x$as_lineno_2" || {
41450 # Find who we are. Look in the path if we contain no path at all
41453 *[\\/]* ) as_myself
=$0 ;;
41454 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41455 for as_dir
in $PATH
41458 test -z "$as_dir" && as_dir
=.
41459 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
41464 # We did not find ourselves, most probably we were run as `sh COMMAND'
41465 # in which case we are not to be found in the path.
41466 if test "x$as_myself" = x
; then
41469 if test ! -f "$as_myself"; then
41470 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
41471 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
41472 { (exit 1); exit 1; }; }
41474 case $CONFIG_SHELL in
41476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41477 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
41480 test -z "$as_dir" && as_dir
=.
41481 for as_base
in sh bash ksh sh5
; do
41484 if ("$as_dir/$as_base" -c '
41485 as_lineno_1=$LINENO
41486 as_lineno_2=$LINENO
41487 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41488 test "x$as_lineno_1" != "x$as_lineno_2" &&
41489 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
41490 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
41491 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
41492 CONFIG_SHELL
=$as_dir/$as_base
41493 export CONFIG_SHELL
41494 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
41502 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41503 # uniformly replaced by the line number. The first 'sed' inserts a
41504 # line-number line before each line; the second 'sed' does the real
41505 # work. The second script uses 'N' to pair each line-number line
41506 # with the numbered line, and appends trailing '-' during
41507 # substitution so that $LINENO is not a special case at line end.
41508 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41509 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
41510 sed '=' <$as_myself |
41515 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
41518 s,^['$as_cr_digits']*\n,,
41519 ' >$as_me.lineno
&&
41520 chmod +x
$as_me.lineno
||
41521 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
41522 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
41523 { (exit 1); exit 1; }; }
41525 # Don't try to exec as it changes $[0], causing all sort of problems
41526 # (the dirname of $[0] is not the place where we might find the
41527 # original and so on. Autoconf is especially sensible to this).
41529 # Exit status is that of the last command.
41534 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
41535 *c
*,-n*) ECHO_N
= ECHO_C
='
41537 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
41538 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
41541 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41547 rm -f conf$$ conf$$.exe conf$$.
file
41549 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
41550 # We could just check for DJGPP; but this test a) works b) is more generic
41551 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
41552 if test -f conf$$.exe
; then
41553 # Don't use ln at all; we don't have any links
41558 elif ln conf$$.
file conf$$
2>/dev
/null
; then
41563 rm -f conf$$ conf$$.exe conf$$.
file
41565 if mkdir -p .
2>/dev
/null
; then
41568 test -d .
/-p && rmdir .
/-p
41572 as_executable_p
="test -f"
41574 # Sed expression to map a string onto a valid CPP name.
41575 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41577 # Sed expression to map a string onto a valid variable name.
41578 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41582 # We need space, tab and new line, in precisely that order.
41592 # Open the log real soon, to keep \$[0] and so on meaningful, and to
41593 # report actual input values of CONFIG_FILES etc. instead of their
41594 # values after options handling. Logging --version etc. is OK.
41598 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41599 ## Running $as_me. ##
41604 This file was extended by wxWidgets $as_me 2.5.2, which was
41605 generated by GNU Autoconf 2.59. Invocation command line was
41607 CONFIG_FILES = $CONFIG_FILES
41608 CONFIG_HEADERS = $CONFIG_HEADERS
41609 CONFIG_LINKS = $CONFIG_LINKS
41610 CONFIG_COMMANDS = $CONFIG_COMMANDS
41614 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
41618 # Files that config.status was made for.
41619 if test -n "$ac_config_files"; then
41620 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
41623 if test -n "$ac_config_headers"; then
41624 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
41627 if test -n "$ac_config_links"; then
41628 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
41631 if test -n "$ac_config_commands"; then
41632 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
41635 cat >>$CONFIG_STATUS <<\_ACEOF
41638 \`$as_me' instantiates files from templates according to the
41639 current configuration.
41641 Usage: $0 [OPTIONS] [FILE]...
41643 -h, --help print this help, then exit
41644 -V, --version print version number, then exit
41645 -q, --quiet do not print progress messages
41646 -d, --debug don't remove temporary files
41647 --recheck update $as_me by reconfiguring in the same conditions
41648 --file=FILE[:TEMPLATE]
41649 instantiate the configuration file FILE
41650 --header=FILE[:TEMPLATE]
41651 instantiate the configuration header FILE
41653 Configuration files:
41656 Configuration headers:
41659 Configuration commands:
41662 Report bugs to <bug-autoconf@gnu.org>."
41665 cat >>$CONFIG_STATUS <<_ACEOF
41667 wxWidgets config.status 2.5.2
41668 configured by $0, generated by GNU Autoconf 2.59,
41669 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
41671 Copyright (C) 2003 Free Software Foundation, Inc.
41672 This config.status script is free software; the Free Software Foundation
41673 gives unlimited permission to copy, distribute and modify it."
41678 cat >>$CONFIG_STATUS <<\_ACEOF
41679 # If no file are specified by the user, then we need to provide default
41680 # value. By we need to know if files were specified by the user.
41686 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
41687 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
41695 *) # This is not an option, so the user has probably given explicit
41698 ac_need_defaults
=false
;;
41702 # Handling of the options.
41704 cat >>$CONFIG_STATUS <<\_ACEOF
41705 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41707 --version | --vers* | -V )
41708 echo "$ac_cs_version"; exit 0 ;;
41710 # Conflict between --help and --header
41711 { { echo "$as_me:$LINENO: error: ambiguous option: $1
41712 Try \`$0 --help' for more information." >&5
41713 echo "$as_me: error: ambiguous option: $1
41714 Try \`$0 --help' for more information." >&2;}
41715 { (exit 1); exit 1; }; };;
41716 --help | --hel | -h )
41717 echo "$ac_cs_usage"; exit 0 ;;
41718 --debug | --d* | -d )
41720 --file | --fil | --fi | --f )
41722 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
41723 ac_need_defaults
=false
;;
41724 --header | --heade | --head | --hea )
41726 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
41727 ac_need_defaults
=false
;;
41728 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41729 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41732 # This is an error.
41733 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
41734 Try \`$0 --help' for more information." >&5
41735 echo "$as_me: error: unrecognized option: $1
41736 Try \`$0 --help' for more information." >&2;}
41737 { (exit 1); exit 1; }; } ;;
41739 *) ac_config_targets
="$ac_config_targets $1" ;;
41745 ac_configure_extra_args
=
41747 if $ac_cs_silent; then
41749 ac_configure_extra_args
="$ac_configure_extra_args --silent"
41753 cat >>$CONFIG_STATUS <<_ACEOF
41754 if \$ac_cs_recheck; then
41755 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
41756 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41761 cat >>$CONFIG_STATUS <<_ACEOF
41763 # INIT-COMMANDS section.
41767 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
41768 WXCONFIG_DATA_FILE="${WXCONFIG_DATA_FILE}"
41777 cat >>$CONFIG_STATUS <<\_ACEOF
41778 for ac_config_target
in $ac_config_targets
41780 case "$ac_config_target" in
41781 # Handling of arguments.
41782 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
41783 "wx-config-wrapper" ) CONFIG_FILES
="$CONFIG_FILES wx-config-wrapper" ;;
41784 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
41785 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
41786 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
41787 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
41788 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
41789 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
41790 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
41791 { (exit 1); exit 1; }; };;
41795 # If the user did not use the arguments to specify the items to instantiate,
41796 # then the envvar interface is used. Set only those that are not.
41797 # We use the long form for the default assignment because of an extremely
41798 # bizarre bug on SunOS 4.1.3.
41799 if $ac_need_defaults; then
41800 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
41801 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
41802 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
41805 # Have a temporary directory for convenience. Make it in the build tree
41806 # simply because there is no reason to put it here, and in addition,
41807 # creating and moving files from /tmp can sometimes cause problems.
41808 # Create a temporary directory, and hook for its removal unless debugging.
41811 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
41812 trap '{ (exit 1); exit 1; }' 1 2 13 15
41815 # Create a (secure) tmp directory for tmp files.
41818 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
41819 test -n "$tmp" && test -d "$tmp"
41822 tmp
=.
/confstat$$
-$RANDOM
41823 (umask 077 && mkdir $tmp)
41826 echo "$me: cannot create a temporary directory in ." >&2
41827 { (exit 1); exit 1; }
41832 cat >>$CONFIG_STATUS <<_ACEOF
41835 # CONFIG_FILES section.
41838 # No need to generate the scripts if there are no CONFIG_FILES.
41839 # This happens for instance when ./config.status config.h
41840 if test -n "\$CONFIG_FILES"; then
41841 # Protect against being on the right side of a sed subst in config.status.
41842 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
41843 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
41844 s,@SHELL@,$SHELL,;t t
41845 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
41846 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
41847 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
41848 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
41849 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
41850 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
41851 s,@exec_prefix@,$exec_prefix,;t t
41852 s,@prefix@,$prefix,;t t
41853 s,@program_transform_name@,$program_transform_name,;t t
41854 s,@bindir@,$bindir,;t t
41855 s,@sbindir@,$sbindir,;t t
41856 s,@libexecdir@,$libexecdir,;t t
41857 s,@datadir@,$datadir,;t t
41858 s,@sysconfdir@,$sysconfdir,;t t
41859 s,@sharedstatedir@,$sharedstatedir,;t t
41860 s,@localstatedir@,$localstatedir,;t t
41861 s,@libdir@,$libdir,;t t
41862 s,@includedir@,$includedir,;t t
41863 s,@oldincludedir@,$oldincludedir,;t t
41864 s,@infodir@,$infodir,;t t
41865 s,@mandir@,$mandir,;t t
41866 s,@build_alias@,$build_alias,;t t
41867 s,@host_alias@,$host_alias,;t t
41868 s,@target_alias@,$target_alias,;t t
41869 s,@DEFS@,$DEFS,;t t
41870 s,@ECHO_C@,$ECHO_C,;t t
41871 s,@ECHO_N@,$ECHO_N,;t t
41872 s,@ECHO_T@,$ECHO_T,;t t
41873 s,@LIBS@,$LIBS,;t t
41874 s,@build@,$build,;t t
41875 s,@build_cpu@,$build_cpu,;t t
41876 s,@build_vendor@,$build_vendor,;t t
41877 s,@build_os@,$build_os,;t t
41878 s,@host@,$host,;t t
41879 s,@host_cpu@,$host_cpu,;t t
41880 s,@host_vendor@,$host_vendor,;t t
41881 s,@host_os@,$host_os,;t t
41882 s,@target@,$target,;t t
41883 s,@target_cpu@,$target_cpu,;t t
41884 s,@target_vendor@,$target_vendor,;t t
41885 s,@target_os@,$target_os,;t t
41887 s,@CFLAGS@,$CFLAGS,;t t
41888 s,@LDFLAGS@,$LDFLAGS,;t t
41889 s,@CPPFLAGS@,$CPPFLAGS,;t t
41890 s,@ac_ct_CC@,$ac_ct_CC,;t t
41891 s,@EXEEXT@,$EXEEXT,;t t
41892 s,@OBJEXT@,$OBJEXT,;t t
41894 s,@EGREP@,$EGREP,;t t
41896 s,@CXXFLAGS@,$CXXFLAGS,;t t
41897 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
41898 s,@RANLIB@,$RANLIB,;t t
41899 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
41901 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
41902 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
41903 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
41904 s,@STRIP@,$STRIP,;t t
41905 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
41906 s,@LN_S@,$LN_S,;t t
41907 s,@CXXCPP@,$CXXCPP,;t t
41908 s,@subdirs@,$subdirs,;t t
41909 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
41910 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
41911 s,@GTK_LIBS@,$GTK_LIBS,;t t
41912 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
41913 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
41914 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
41915 s,@X_CFLAGS@,$X_CFLAGS,;t t
41916 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
41917 s,@X_LIBS@,$X_LIBS,;t t
41918 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
41919 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
41920 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
41921 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
41922 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
41923 s,@RESCOMP@,$RESCOMP,;t t
41924 s,@DEREZ@,$DEREZ,;t t
41925 s,@SETFILE@,$SETFILE,;t t
41926 s,@LIBICONV@,$LIBICONV,;t t
41927 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
41928 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
41929 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
41930 s,@SDL_LIBS@,$SDL_LIBS,;t t
41931 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
41932 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
41933 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
41934 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
41935 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
41936 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
41937 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
41938 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
41939 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
41940 s,@VENDOR@,$VENDOR,;t t
41941 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
41942 s,@WXUNIV@,$WXUNIV,;t t
41943 s,@MONOLITHIC@,$MONOLITHIC,;t t
41944 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
41945 s,@EXTRALIBS@,$EXTRALIBS,;t t
41946 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
41947 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
41948 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
41949 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
41950 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
41951 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
41952 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
41953 s,@UNICODE@,$UNICODE,;t t
41954 s,@BUILD@,$BUILD,;t t
41955 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
41956 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
41957 s,@SHARED@,$SHARED,;t t
41958 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
41959 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
41960 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
41961 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
41962 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
41963 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
41964 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
41965 s,@SET_MAKE@,$SET_MAKE,;t t
41966 s,@MAKE_SET@,$MAKE_SET,;t t
41967 s,@ac_ct_AR@,$ac_ct_AR,;t t
41968 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
41970 s,@ac_ct_NM@,$ac_ct_NM,;t t
41971 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
41972 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
41973 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
41974 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
41975 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
41976 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
41977 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
41978 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
41979 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
41980 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
41981 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
41982 s,@LIBPREFIX@,$LIBPREFIX,;t t
41983 s,@LIBEXT@,$LIBEXT,;t t
41984 s,@DLLPREFIX@,$DLLPREFIX,;t t
41985 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
41986 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
41987 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
41988 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
41989 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
41990 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
41991 s,@PIC_FLAG@,$PIC_FLAG,;t t
41992 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
41993 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
41994 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
41995 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
41996 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
41997 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
41998 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
41999 s,@GCC_PCH@,$GCC_PCH,;t t
42000 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42001 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42002 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42003 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42004 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42005 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42006 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42007 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42008 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42009 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42010 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42011 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42012 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42013 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42014 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42015 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42016 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42017 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42018 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
42019 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
42020 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42021 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42022 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42023 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
42024 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
42025 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42026 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42027 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42028 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42029 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42030 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42031 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42032 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42033 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42034 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42035 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42036 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42037 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42038 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42039 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42040 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42041 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42042 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42043 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42044 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42045 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42046 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42047 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42048 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42049 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42050 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42051 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42052 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42053 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42054 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42055 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42056 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42057 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42058 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42059 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42060 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42061 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42062 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42063 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42064 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42065 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42066 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
42067 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42068 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42069 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42070 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42071 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42072 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42073 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42074 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42075 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
42076 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42077 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42078 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42079 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
42080 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42081 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42082 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42083 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42084 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42085 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42086 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42087 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42088 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42089 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42090 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42091 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42092 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42093 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42094 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42095 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42096 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42097 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42098 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42099 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42100 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42101 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42102 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
42103 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42104 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42105 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42106 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42107 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42108 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42109 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42110 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42111 s,@PATH_IFS@,$PATH_IFS,;t t
42112 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
42113 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
42114 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
42115 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
42116 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
42117 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42118 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42119 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
42120 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
42121 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
42122 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
42123 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
42124 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
42125 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
42126 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
42127 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
42128 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
42129 s,@WX_ALL@,$WX_ALL,;t t
42130 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
42131 s,@SHARED_LD@,$SHARED_LD,;t t
42132 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
42133 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
42134 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42135 s,@USE_GUI@,$USE_GUI,;t t
42136 s,@AFMINSTALL@,$AFMINSTALL,;t t
42137 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42138 s,@TOOLKIT@,$TOOLKIT,;t t
42139 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42140 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
42141 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42142 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42143 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42144 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
42145 s,@cross_compiling@,$cross_compiling,;t t
42146 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42147 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
42148 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
42149 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
42150 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
42151 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42152 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42153 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42154 s,@WXCONFIG_DATA_FILE@,$WXCONFIG_DATA_FILE,;t t
42155 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42156 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42157 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42158 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42159 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
42160 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
42161 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
42162 s,@GUIDIST@,$GUIDIST,;t t
42163 s,@PORT_FILES@,$PORT_FILES,;t t
42164 s,@DISTDIR@,$DISTDIR,;t t
42165 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42166 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42167 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
42168 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
42169 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42170 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42171 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42172 s,@RESFLAGS@,$RESFLAGS,;t t
42173 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42174 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42175 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42176 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42177 s,@MACRESCOMP@,$MACRESCOMP,;t t
42178 s,@MACSETFILE@,$MACSETFILE,;t t
42179 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42181 s,@GCC_SEARCHES_USR_LOCAL_INCLUDE@,$GCC_SEARCHES_USR_LOCAL_INCLUDE,;t t
42182 s,@DLLTOOL@,$DLLTOOL,;t t
42185 s,@MAKEINFO@,$MAKEINFO,;t t
42186 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
42187 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42188 s,@LIBOBJS@,$LIBOBJS,;t t
42189 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42194 cat >>$CONFIG_STATUS <<\_ACEOF
42195 # Split the substitutions into bite-sized pieces for seds with
42196 # small command number limits, like on Digital OSF/1 and HP-UX.
42197 ac_max_sed_lines
=48
42198 ac_sed_frag
=1 # Number of current file.
42199 ac_beg
=1 # First line for current file.
42200 ac_end
=$ac_max_sed_lines # Line after last line for current file.
42203 while $ac_more_lines; do
42204 if test $ac_beg -gt 1; then
42205 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42207 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42209 if test ! -s $tmp/subs.frag
; then
42210 ac_more_lines
=false
42212 # The purpose of the label and of the branching condition is to
42213 # speed up the sed processing (if there are no `@' at all, there
42214 # is no need to browse any of the substitutions).
42215 # These are the two extra sed commands mentioned above.
42217 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
42218 if test -z "$ac_sed_cmds"; then
42219 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
42221 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42223 ac_sed_frag
=`expr $ac_sed_frag + 1`
42225 ac_end
=`expr $ac_end + $ac_max_sed_lines`
42228 if test -z "$ac_sed_cmds"; then
42231 fi # test -n "$CONFIG_FILES"
42234 cat >>$CONFIG_STATUS <<\_ACEOF
42235 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
42236 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42238 - | *:- | *:-:* ) # input from stdin
42240 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42241 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42242 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42243 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42244 * ) ac_file_in
=$ac_file.
in ;;
42247 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42248 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42249 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42250 X"$ac_file" : 'X\(//\)[^/]' \| \
42251 X"$ac_file" : 'X\(//\)$' \| \
42252 X"$ac_file" : 'X\(/\)' \| \
42253 . : '\(.\)' 2>/dev/null ||
42255 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42256 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42257 /^X\(\/\/\)$/{ s//\1/; q; }
42258 /^X\(\/\).*/{ s//\1/; q; }
42260 { if $as_mkdir_p; then
42265 while test ! -d "$as_dir"; do
42266 as_dirs
="$as_dir $as_dirs"
42267 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42268 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42269 X"$as_dir" : 'X\(//\)[^/]' \| \
42270 X"$as_dir" : 'X\(//\)$' \| \
42271 X"$as_dir" : 'X\(/\)' \| \
42272 . : '\(.\)' 2>/dev/null ||
42274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42275 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42276 /^X\(\/\/\)$/{ s//\1/; q; }
42277 /^X\(\/\).*/{ s//\1/; q; }
42280 test ! -n "$as_dirs" || mkdir $as_dirs
42281 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42282 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42283 { (exit 1); exit 1; }; }; }
42287 if test "$ac_dir" != .
; then
42288 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42289 # A "../" for each directory in $ac_dir_suffix.
42290 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42292 ac_dir_suffix
= ac_top_builddir
=
42296 .
) # No --srcdir option. We are building in place.
42298 if test -z "$ac_top_builddir"; then
42301 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42303 [\\/]* | ?
:[\\/]* ) # Absolute path.
42304 ac_srcdir
=$srcdir$ac_dir_suffix;
42305 ac_top_srcdir
=$srcdir ;;
42306 *) # Relative path.
42307 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42308 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42311 # Do not use `cd foo && pwd` to compute absolute paths, because
42312 # the directories may not exist.
42314 .
) ac_abs_builddir
="$ac_dir";;
42317 .
) ac_abs_builddir
=`pwd`;;
42318 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42319 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42322 case $ac_abs_builddir in
42323 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42325 case ${ac_top_builddir}.
in
42326 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42327 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42328 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42331 case $ac_abs_builddir in
42332 .
) ac_abs_srcdir
=$ac_srcdir;;
42335 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42336 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42337 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42340 case $ac_abs_builddir in
42341 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42343 case $ac_top_srcdir in
42344 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42345 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42346 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42352 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42353 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
42356 if test x
"$ac_file" != x
-; then
42357 { echo "$as_me:$LINENO: creating $ac_file" >&5
42358 echo "$as_me: creating $ac_file" >&6;}
42361 # Let's still pretend it is `configure' which instantiates (i.e., don't
42362 # use $as_me), people would be surprised to read:
42363 # /* config.h. Generated by config.status. */
42364 if test x
"$ac_file" = x
-; then
42367 configure_input
="$ac_file. "
42369 configure_input
=$configure_input"Generated from `echo $ac_file_in |
42370 sed 's,.*/,,'` by configure."
42372 # First look for the input files in the build tree, otherwise in the
42374 ac_file_inputs
=`IFS=:
42375 for f in $ac_file_in; do
42377 -) echo $tmp/stdin ;;
42379 # Absolute (can't be DOS-style, as IFS=:)
42380 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42381 echo "$as_me: error: cannot find input file: $f" >&2;}
42382 { (exit 1); exit 1; }; }
42385 if test -f "$f"; then
42388 elif test -f "$srcdir/$f"; then
42393 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42394 echo "$as_me: error: cannot find input file: $f" >&2;}
42395 { (exit 1); exit 1; }; }
42398 done` || { (exit 1); exit 1; }
42400 cat >>$CONFIG_STATUS <<_ACEOF
42404 cat >>$CONFIG_STATUS <<\_ACEOF
42406 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42407 s
,@configure_input@
,$configure_input,;t t
42408 s
,@srcdir@
,$ac_srcdir,;t t
42409 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
42410 s
,@top_srcdir@
,$ac_top_srcdir,;t t
42411 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
42412 s
,@builddir@
,$ac_builddir,;t t
42413 s
,@abs_builddir@
,$ac_abs_builddir,;t t
42414 s
,@top_builddir@
,$ac_top_builddir,;t t
42415 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
42416 s
,@INSTALL@
,$ac_INSTALL,;t t
42417 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42419 if test x"$ac_file" != x-; then
42420 mv $tmp/out $ac_file
42428 cat >>$CONFIG_STATUS <<\_ACEOF
42431 # CONFIG_HEADER section.
42434 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
42435 # NAME is the cpp macro being defined and VALUE is the value it is being given.
42437 # ac_d sets the value in "#define NAME VALUE" lines.
42438 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
42439 ac_dB
='[ ].*$,\1#\2'
42442 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
42443 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
42444 ac_uB
='$,\1#\2define\3'
42448 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
42449 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42451 - | *:- | *:-:* ) # input from stdin
42453 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42454 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42455 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42456 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42457 * ) ac_file_in
=$ac_file.
in ;;
42460 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
42461 echo "$as_me: creating $ac_file" >&6;}
42463 # First look for the input files in the build tree, otherwise in the
42465 ac_file_inputs
=`IFS=:
42466 for f in $ac_file_in; do
42468 -) echo $tmp/stdin ;;
42470 # Absolute (can't be DOS-style, as IFS=:)
42471 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42472 echo "$as_me: error: cannot find input file: $f" >&2;}
42473 { (exit 1); exit 1; }; }
42474 # Do quote $f, to prevent DOS paths from being IFS'd.
42477 if test -f "$f"; then
42480 elif test -f "$srcdir/$f"; then
42485 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42486 echo "$as_me: error: cannot find input file: $f" >&2;}
42487 { (exit 1); exit 1; }; }
42490 done` || { (exit 1); exit 1; }
42491 # Remove the trailing spaces.
42492 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
42496 # Transform confdefs.h into two sed scripts, `conftest.defines' and
42497 # `conftest.undefs', that substitutes the proper values into
42498 # config.h.in to produce config.h. The first handles `#define'
42499 # templates, and the second `#undef' templates.
42500 # And first: Protect against being on the right side of a sed subst in
42501 # config.status. Protect against being in an unquoted here document
42502 # in config.status.
42503 rm -f conftest.defines conftest.undefs
42504 # Using a here document instead of a string reduces the quoting nightmare.
42505 # Putting comments in sed scripts is not portable.
42507 # `end' is used to avoid that the second main sed command (meant for
42508 # 0-ary CPP macros) applies to n-ary macro definitions.
42509 # See the Autoconf documentation for `clear'.
42510 cat >confdef2sed.
sed <<\_ACEOF
42515 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
42517 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
42520 # If some macros were called several times there might be several times
42521 # the same #defines, which is useless. Nevertheless, we may not want to
42522 # sort them, since we want the *last* AC-DEFINE to be honored.
42523 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
42524 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
42525 rm -f confdef2sed.sed
42527 # This sed command replaces #undef with comments. This is necessary, for
42528 # example, in the case of _POSIX_SOURCE, which is predefined and required
42529 # on some systems where configure will not decide to define it.
42530 cat >>conftest.undefs <<\_ACEOF
42531 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
42534 # Break up conftest.defines because some shells have a limit on the size
42535 # of here documents, and old seds have small limits too (100 cmds).
42536 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
42537 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
42538 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
42539 echo ' :' >>$CONFIG_STATUS
42540 rm -f conftest.tail
42541 while grep . conftest.defines >/dev/null
42543 # Write a limited-size here document to $tmp/defines.sed.
42544 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
42545 # Speed up: don't consider the non `#define' lines.
42546 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
42547 # Work around the forget-to-reset-the-flag bug.
42548 echo 't clr' >>$CONFIG_STATUS
42549 echo ': clr' >>$CONFIG_STATUS
42550 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
42552 sed -f $tmp/defines.sed $tmp/in >$tmp/out
42554 mv $tmp/out $tmp/in
42556 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
42557 rm -f conftest.defines
42558 mv conftest.
tail conftest.defines
42560 rm -f conftest.defines
42561 echo ' fi # grep' >>$CONFIG_STATUS
42562 echo >>$CONFIG_STATUS
42564 # Break up conftest.undefs because some shells have a limit on the size
42565 # of here documents, and old seds have small limits too (100 cmds).
42566 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
42567 rm -f conftest.
tail
42568 while grep . conftest.undefs
>/dev
/null
42570 # Write a limited-size here document to $tmp/undefs.sed.
42571 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
42572 # Speed up: don't consider the non
`#undef'
42573 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
42574 # Work around the forget-to-reset-the-flag bug.
42575 echo 't clr' >>$CONFIG_STATUS
42576 echo ': clr' >>$CONFIG_STATUS
42577 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
42579 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
42581 mv $tmp/out $tmp/in
42583 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
42584 rm -f conftest.undefs
42585 mv conftest.tail conftest.undefs
42587 rm -f conftest.undefs
42589 cat >>$CONFIG_STATUS <<\_ACEOF
42590 # Let's still pretend it is `configure
' which instantiates (i.e., don't
42591 # use $as_me), people would be surprised to read:
42592 # /* config.h. Generated by config.status. */
42593 if test x
"$ac_file" = x
-; then
42594 echo "/* Generated by configure. */" >$tmp/config.h
42596 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
42598 cat $tmp/in >>$tmp/config.h
42600 if test x
"$ac_file" != x
-; then
42601 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
42602 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
42603 echo "$as_me: $ac_file is unchanged" >&6;}
42605 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42606 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42607 X"$ac_file" : 'X\(//\)[^/]' \| \
42608 X"$ac_file" : 'X\(//\)$' \| \
42609 X"$ac_file" : 'X\(/\)' \| \
42610 . : '\(.\)' 2>/dev/null ||
42612 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42613 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42614 /^X\(\/\/\)$/{ s//\1/; q; }
42615 /^X\(\/\).*/{ s//\1/; q; }
42617 { if $as_mkdir_p; then
42622 while test ! -d "$as_dir"; do
42623 as_dirs
="$as_dir $as_dirs"
42624 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42625 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42626 X"$as_dir" : 'X\(//\)[^/]' \| \
42627 X"$as_dir" : 'X\(//\)$' \| \
42628 X"$as_dir" : 'X\(/\)' \| \
42629 . : '\(.\)' 2>/dev/null ||
42631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42632 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42633 /^X\(\/\/\)$/{ s//\1/; q; }
42634 /^X\(\/\).*/{ s//\1/; q; }
42637 test ! -n "$as_dirs" || mkdir $as_dirs
42638 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42639 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42640 { (exit 1); exit 1; }; }; }
42643 mv $tmp/config.h
$ac_file
42647 rm -f $tmp/config.h
42651 cat >>$CONFIG_STATUS <<\_ACEOF
42654 # CONFIG_COMMANDS section.
42656 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
42657 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
42658 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42659 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
42660 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42661 X"$ac_dest" : 'X\(//\)[^/]' \| \
42662 X"$ac_dest" : 'X\(//\)$' \| \
42663 X"$ac_dest" : 'X\(/\)' \| \
42664 . : '\(.\)' 2>/dev/null ||
42666 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42667 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42668 /^X\(\/\/\)$/{ s//\1/; q; }
42669 /^X\(\/\).*/{ s//\1/; q; }
42671 { if $as_mkdir_p; then
42676 while test ! -d "$as_dir"; do
42677 as_dirs
="$as_dir $as_dirs"
42678 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42679 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42680 X"$as_dir" : 'X\(//\)[^/]' \| \
42681 X"$as_dir" : 'X\(//\)$' \| \
42682 X"$as_dir" : 'X\(/\)' \| \
42683 . : '\(.\)' 2>/dev/null ||
42685 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42686 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42687 /^X\(\/\/\)$/{ s//\1/; q; }
42688 /^X\(\/\).*/{ s//\1/; q; }
42691 test ! -n "$as_dirs" || mkdir $as_dirs
42692 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42693 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42694 { (exit 1); exit 1; }; }; }
42698 if test "$ac_dir" != .
; then
42699 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42700 # A "../" for each directory in $ac_dir_suffix.
42701 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42703 ac_dir_suffix
= ac_top_builddir
=
42707 .
) # No --srcdir option. We are building in place.
42709 if test -z "$ac_top_builddir"; then
42712 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42714 [\\/]* | ?
:[\\/]* ) # Absolute path.
42715 ac_srcdir
=$srcdir$ac_dir_suffix;
42716 ac_top_srcdir
=$srcdir ;;
42717 *) # Relative path.
42718 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42719 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42722 # Do not use `cd foo && pwd` to compute absolute paths, because
42723 # the directories may not exist.
42725 .
) ac_abs_builddir
="$ac_dir";;
42728 .
) ac_abs_builddir
=`pwd`;;
42729 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42730 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42733 case $ac_abs_builddir in
42734 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42736 case ${ac_top_builddir}.
in
42737 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42738 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42739 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42742 case $ac_abs_builddir in
42743 .
) ac_abs_srcdir
=$ac_srcdir;;
42746 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42747 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42748 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42751 case $ac_abs_builddir in
42752 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42754 case $ac_top_srcdir in
42755 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42756 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42757 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42762 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
42763 echo "$as_me: executing $ac_dest commands" >&6;}
42766 if test ! -d lib
; then
42769 if test ! -d lib
/wx
; then
42772 if test ! -d lib
/wx
/config
; then
42773 mkdir lib
/wx
/config
42775 if test ! -d lib
/wx
/include
; then
42776 mkdir lib
/wx
/include
42778 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
42779 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
42781 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
42782 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
42784 if test -f setup.h
; then
42785 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
42788 if test -f wx
-config; then
42790 mv -f wx
-config lib
/wx
/config
/${WXCONFIG_DATA_FILE}
42791 ( cd lib
/wx
/config
; ${LN_S} ${WXCONFIG_DATA_FILE} ${TOOLCHAIN_NAME} )
42792 rm -f wx
${TOOLCHAIN_NAME}-config
42793 ${LN_S} wx
-config wx
${TOOLCHAIN_NAME}-config
42795 if test -f wx
-config-wrapper; then
42796 chmod +x wx
-config-wrapper
42797 mv -f wx
-config-wrapper wx
-config
42804 cat >>$CONFIG_STATUS <<\_ACEOF
42806 { (exit 0); exit 0; }
42808 chmod +x
$CONFIG_STATUS
42809 ac_clean_files
=$ac_clean_files_save
42812 # configure is writing to config.log, and then calls config.status.
42813 # config.status does its own redirection, appending to config.log.
42814 # Unfortunately, on DOS this fails, as config.log is still kept open
42815 # by configure, so config.status won't be able to write to it; its
42816 # output is simply discarded. So we exec the FD to /dev/null,
42817 # effectively closing config.log, so it can be properly (re)opened and
42818 # appended to by config.status. When coming back to configure, we
42819 # need to make the FD available again.
42820 if test "$no_create" != yes; then
42822 ac_config_status_args
=
42823 test "$silent" = yes &&
42824 ac_config_status_args
="$ac_config_status_args --quiet"
42826 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
42828 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42829 # would make configure fail if this is the last instruction.
42830 $ac_cs_success || { (exit 1); exit 1; }
42834 # CONFIG_SUBDIRS section.
42836 if test "$no_recursion" != yes; then
42838 # Remove --cache-file and --srcdir arguments so they do not pile up.
42839 ac_sub_configure_args
=
42841 for ac_arg
in $ac_configure_args; do
42842 if test -n "$ac_prev"; then
42847 -cache-file | --cache-file | --cache-fil | --cache-fi \
42848 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42849 ac_prev
=cache_file
;;
42850 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42851 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42854 --config-cache | -C)
42856 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42858 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42860 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42862 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42864 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
42868 # Always prepend --prefix to ensure using the same prefix
42869 # in subdir configurations.
42870 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
42873 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
42875 # Do not complain, so a configure script can configure whichever
42876 # parts of a large source tree are present.
42877 test -d $srcdir/$ac_dir || continue
42879 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
42880 echo "$as_me: configuring in $ac_dir" >&6;}
42881 { if $as_mkdir_p; then
42886 while test ! -d "$as_dir"; do
42887 as_dirs
="$as_dir $as_dirs"
42888 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42889 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42890 X"$as_dir" : 'X\(//\)[^/]' \| \
42891 X"$as_dir" : 'X\(//\)$' \| \
42892 X"$as_dir" : 'X\(/\)' \| \
42893 . : '\(.\)' 2>/dev/null ||
42895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42896 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42897 /^X\(\/\/\)$/{ s//\1/; q; }
42898 /^X\(\/\).*/{ s//\1/; q; }
42901 test ! -n "$as_dirs" || mkdir $as_dirs
42902 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42903 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42904 { (exit 1); exit 1; }; }; }
42908 if test "$ac_dir" != .
; then
42909 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42910 # A "../" for each directory in $ac_dir_suffix.
42911 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42913 ac_dir_suffix
= ac_top_builddir
=
42917 .
) # No --srcdir option. We are building in place.
42919 if test -z "$ac_top_builddir"; then
42922 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42924 [\\/]* | ?
:[\\/]* ) # Absolute path.
42925 ac_srcdir
=$srcdir$ac_dir_suffix;
42926 ac_top_srcdir
=$srcdir ;;
42927 *) # Relative path.
42928 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42929 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42932 # Do not use `cd foo && pwd` to compute absolute paths, because
42933 # the directories may not exist.
42935 .
) ac_abs_builddir
="$ac_dir";;
42938 .
) ac_abs_builddir
=`pwd`;;
42939 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42940 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42943 case $ac_abs_builddir in
42944 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42946 case ${ac_top_builddir}.
in
42947 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42948 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42949 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42952 case $ac_abs_builddir in
42953 .
) ac_abs_srcdir
=$ac_srcdir;;
42956 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42957 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42958 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42961 case $ac_abs_builddir in
42962 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42964 case $ac_top_srcdir in
42965 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42966 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42967 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42974 # Check for guested configure; otherwise get Cygnus style configure.
42975 if test -f $ac_srcdir/configure.gnu
; then
42976 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
42977 elif test -f $ac_srcdir/configure
; then
42978 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
42979 elif test -f $ac_srcdir/configure.
in; then
42980 ac_sub_configure
=$ac_configure
42982 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
42983 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42987 # The recursion is here.
42988 if test -n "$ac_sub_configure"; then
42989 # Make the cache file name correct relative to the subdirectory.
42990 case $cache_file in
42991 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
42992 *) # Relative path.
42993 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
42996 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
42997 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42998 # The eval makes quoting arguments work.
42999 eval $ac_sub_configure $ac_sub_configure_args \
43000 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43001 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43002 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43003 { (exit 1); exit 1; }; }
43012 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43014 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_LOWERCASE:-base only}"
43015 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43017 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43018 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43019 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43021 echo " What level of wxWidgets compatibility should be enabled?"
43022 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43023 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43025 echo " Which libraries should wxWidgets use?"
43026 echo " jpeg ${wxUSE_LIBJPEG-none}"
43027 echo " png ${wxUSE_LIBPNG-none}"
43028 echo " regex ${wxUSE_REGEX}"
43029 echo " tiff ${wxUSE_LIBTIFF-none}"
43030 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43031 echo " xpm ${wxUSE_LIBXPM-none}"
43033 echo " zlib ${wxUSE_ZLIB}"
43034 echo " odbc ${wxUSE_ODBC}"
43035 echo " expat ${wxUSE_EXPAT}"
43036 echo " libmspack ${wxUSE_LIBMSPACK}"
43037 echo " sdl ${wxUSE_LIBSDL}"