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.3.
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.3'
274 PACKAGE_STRING
='wxWidgets 2.5.3'
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 X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG 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_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS 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_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_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_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_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_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_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_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 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_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_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_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_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 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 SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL 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.3 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.3:";;
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 --disable-rpath disable use of rpath
for uninstalled builds
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-backtrace use wxStackWalker class
for getting backtraces
908 --enable-cmdline use wxCmdLineParser class
909 --enable-datetime use wxDateTime class
910 --enable-dialupman use dialup network classes
911 --enable-dynlib use wxLibrary class
for DLL loading
912 --enable-dynamicloader use
(new
) wxDynamicLibrary class
913 --enable-exceptions build exception
-safe library
914 --enable-ffile use wxFFile class
915 --enable-file use wxFile class
916 --enable-filesystem use virtual
file systems classes
917 --enable-fontmap use font encodings conversion classes
918 --enable-fs_inet use virtual HTTP
/FTP filesystems
919 --enable-fs_zip use virtual ZIP filesystems
920 --enable-geometry use geometry class
921 --enable-log use logging system
922 --enable-longlong use wxLongLong class
923 --enable-mimetype use wxMimeTypesManager
924 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
925 --enable-snglinst use wxSingleInstanceChecker class
926 --enable-streams use wxStream etc classes
927 --enable-std_iostreams use standard C
++ stream classes
928 --enable-stopwatch use wxStopWatch class
929 --enable-sysoptions use wxSystemOptions
930 --enable-textbuf use wxTextBuffer class
931 --enable-textfile use wxTextFile class
932 --enable-timer use wxTimer class
933 --enable-unicode compile wxString with Unicode support
934 --enable-sound use wxSound class
935 --enable-mediactrl use wxMediaCtrl class
936 --enable-wxprintfv use wxWidgets implementation of vprintf
()
937 --enable-zipstream use wxZipInputStream
938 --enable-url use wxURL class
939 --enable-protocol use wxProtocol class
940 --enable-protocol-http HTTP support
in wxProtocol
941 --enable-protocol-ftp FTP support
in wxProtocol
942 --enable-protocol-file FILE support
in wxProtocol
943 --enable-threads use threads
944 --enable-docview use document view architecture
945 --enable-help use
help subsystem
946 --enable-mshtmlhelp use MS HTML Help
(win32
)
947 --enable-html use wxHTML sub
-library
948 --enable-htmlhelp use wxHTML
-based help
949 --enable-xrc use XRC resources sub
-library
950 --enable-constraints use layout
-constraints system
951 --enable-printarch use printing architecture
952 --enable-mdi use multiple document interface architecture
953 --enable-mdidoc use docview architecture with MDI
954 --enable-loggui use standard GUI logger
955 --enable-logwin use wxLogWindow
956 --enable-logdialog use wxLogDialog
957 --enable-webkit use wxWebKitCtrl
(Mac
)
958 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
959 --enable-prologio not available
; see contrib
960 --enable-resources not available
; see contrib
961 --enable-clipboard use wxClipboard class
962 --enable-dnd use Drag
'n'Drop classes
963 --enable-metafile use win32 metafiles
964 --enable-controls use all usual controls
965 --enable-accel use accelerators
966 --enable-button use wxButton class
967 --enable-bmpbutton use wxBitmapButton class
968 --enable-calendar use wxCalendarCtrl class
969 --enable-caret use wxCaret class
970 --enable-checkbox use wxCheckBox class
971 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
972 --enable-choice use wxChoice class
973 --enable-choicebook use wxChoicebook class
974 --enable-combobox use wxComboBox class
975 --enable-datepick use wxDatePickerCtrl class
976 --enable-display use wxDisplay class
977 --enable-gauge use wxGauge class
978 --enable-grid use wxGrid class
979 --enable-imaglist use wxImageList class
980 --enable-listbook use wxListbook class
981 --enable-listbox use wxListBox class
982 --enable-listctrl use wxListCtrl class
983 --enable-notebook use wxNotebook class
984 --enable-radiobox use wxRadioBox class
985 --enable-radiobtn use wxRadioButton class
986 --enable-sash use wxSashWindow class
987 --enable-scrollbar use wxScrollBar class and scrollable windows
988 --enable-slider use wxSlider class
989 --enable-spinbtn use wxSpinButton class
990 --enable-spinctrl use wxSpinCtrl class
991 --enable-splitter use wxSplitterWindow class
992 --enable-statbmp use wxStaticBitmap class
993 --enable-statbox use wxStaticBox class
994 --enable-statline use wxStaticLine class
995 --enable-stattext use wxStaticText class
996 --enable-statusbar use wxStatusBar class
997 --enable-tabdialog use wxTabControl class
998 --enable-textctrl use wxTextCtrl class
999 --enable-togglebtn use wxToggleButton class
1000 --enable-toolbar use wxToolBar class
1001 --enable-tbarnative use native wxToolBar class
1002 --enable-tbarsmpl use wxToolBarSimple class
1003 --enable-treectrl use wxTreeCtrl class
1004 --enable-tipwindow use wxTipWindow class
1005 --enable-popupwin use wxPopUpWindow class
1006 --enable-commondlg use all common dialogs
1007 --enable-choicedlg use wxChoiceDialog
1008 --enable-coldlg use wxColourDialog
1009 --enable-filedlg use wxFileDialog
1010 --enable-finddlg use wxFindReplaceDialog
1011 --enable-fontdlg use wxFontDialog
1012 --enable-dirdlg use wxDirDialog
1013 --enable-msgdlg use wxMessageDialog
1014 --enable-numberdlg use wxNumberEntryDialog
1015 --enable-splash use wxSplashScreen
1016 --enable-textdlg use wxTextDialog
1017 --enable-tipdlg use startup tips
1018 --enable-progressdlg use wxProgressDialog
1019 --enable-wizarddlg use wxWizard
1020 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1021 --enable-miniframe use wxMiniFrame class
1022 --enable-tooltips use wxToolTip class
1023 --enable-splines use spline drawing code
1024 --enable-validators use wxValidator and derived classes
1025 --enable-busyinfo use wxBusyInfo
1026 --enable-joystick use wxJoystick
(Linux only
)
1027 --enable-metafiles use wxMetaFile
(Windows only
)
1028 --enable-dragimage use wxDragImage
1029 --enable-accessibility enable accessibility support
1030 --enable-palette use wxPalette class
1031 --enable-image use wxImage class
1032 --enable-gif use gif images
(GIF
file format
)
1033 --enable-pcx use pcx images
(PCX
file format
)
1034 --enable-iff use iff images
(IFF
file format
)
1035 --enable-pnm use pnm images
(PNM
file format
)
1036 --enable-xpm use xpm images
(XPM
file format
)
1037 --enable-icocur use Windows ICO and CUR formats
1038 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1039 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1040 --disable-largefile omit support
for large files
1041 --disable-gtktest do not try to compile and run a
test GTK
+ program
1042 --disable-gtktest Do not try to compile and run a
test GTK program
1043 --disable-sdltest Do not try to compile and run a
test SDL program
1044 --enable-omf use OMF object format
(OS
/2)
1045 --disable-precomp-headers
1046 don
't use precompiled headers even if compiler can
1049 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1050 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1052 --with-motif use Motif/Lesstif
1053 --with-mac use Mac OS X
1054 --with-cocoa use Cocoa
1055 --with-wine use Wine
1056 --with-msw use MS-Windows
1057 --with-pm use OS/2 Presentation Manager
1058 --with-mgl use SciTech MGL
1059 --with-microwin use MicroWindows
1061 --with-libpng use libpng (PNG image format)
1062 --with-libjpeg use libjpeg (JPEG file format)
1063 --with-libtiff use libtiff (TIFF file format)
1064 --with-libxpm use libxpm (XPM file format)
1065 --with-libmspack use libmspack (CHM help files loading)
1066 --with-sdl use SDL for audio on Unix
1067 --with-gnomeprint use GNOME print for printing under Unix
1068 --with-opengl use OpenGL (or Mesa)
1069 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1070 --with-regex enable support for wxRegEx class
1071 --with-zlib use zlib for LZW compression
1072 --with-odbc use the IODBC and wxODBC classes
1073 --with-expat enable XML support using expat parser
1074 --with-flavour=NAME specify a name to identify this build
1075 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1076 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1077 --with-x use the X Window System
1078 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1079 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1080 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1081 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1082 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1084 Some influential environment variables:
1085 CC C compiler command
1086 CFLAGS C compiler flags
1087 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1088 nonstandard directory <lib dir>
1089 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1090 headers in a nonstandard directory <include dir>
1092 CXX C++ compiler command
1093 CXXFLAGS C++ compiler flags
1094 CXXCPP C++ preprocessor
1096 Use these variables to override the choices made by `configure' or to
help
1097 it to
find libraries and programs with nonstandard names
/locations.
1099 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1103 if test "$ac_init_help" = "recursive"; then
1104 # If there are subdirs, report their specific --help.
1106 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1107 test -d $ac_dir || continue
1110 if test "$ac_dir" != .
; then
1111 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1112 # A "../" for each directory in $ac_dir_suffix.
1113 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1115 ac_dir_suffix
= ac_top_builddir
=
1119 .
) # No --srcdir option. We are building in place.
1121 if test -z "$ac_top_builddir"; then
1124 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1126 [\\/]* | ?
:[\\/]* ) # Absolute path.
1127 ac_srcdir
=$srcdir$ac_dir_suffix;
1128 ac_top_srcdir
=$srcdir ;;
1130 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1131 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1134 # Do not use `cd foo && pwd` to compute absolute paths, because
1135 # the directories may not exist.
1137 .
) ac_abs_builddir
="$ac_dir";;
1140 .
) ac_abs_builddir
=`pwd`;;
1141 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1142 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1145 case $ac_abs_builddir in
1146 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1148 case ${ac_top_builddir}.
in
1149 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1150 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1151 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1154 case $ac_abs_builddir in
1155 .
) ac_abs_srcdir
=$ac_srcdir;;
1158 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1159 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1160 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1163 case $ac_abs_builddir in
1164 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1166 case $ac_top_srcdir in
1167 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1168 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1169 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1174 # Check for guested configure; otherwise get Cygnus style configure.
1175 if test -f $ac_srcdir/configure.gnu
; then
1177 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1178 elif test -f $ac_srcdir/configure
; then
1180 $SHELL $ac_srcdir/configure
--help=recursive
1181 elif test -f $ac_srcdir/configure.ac
||
1182 test -f $ac_srcdir/configure.
in; then
1184 $ac_configure --help
1186 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1192 test -n "$ac_init_help" && exit 0
1193 if $ac_init_version; then
1195 wxWidgets configure
2.5.3
1196 generated by GNU Autoconf
2.59
1198 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1199 This configure
script is free software
; the Free Software Foundation
1200 gives unlimited permission to copy
, distribute and modify it.
1206 This file contains any messages produced by compilers while
1207 running configure, to aid debugging if configure makes a mistake.
1209 It was created by wxWidgets $as_me 2.5.3, which was
1210 generated by GNU Autoconf 2.59. Invocation command line was
1221 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1222 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1223 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1224 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1225 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1227 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1228 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1230 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1231 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1232 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1233 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1234 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1235 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1236 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1244 test -z "$as_dir" && as_dir
=.
1245 echo "PATH: $as_dir"
1260 # Keep a trace of the command line.
1261 # Strip out --no-create and --no-recursion so they do not pile up.
1262 # Strip out --silent because we don't want to record it for future runs.
1263 # Also quote any args containing shell meta-characters.
1264 # Make two passes to allow for proper duplicate-argument suppression.
1269 ac_must_keep_next
=false
1275 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1276 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1277 | -silent | --silent | --silen | --sile | --sil)
1279 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1280 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1283 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1285 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1286 if test $ac_must_keep_next = true
; then
1287 ac_must_keep_next
=false
# Got value, back to normal.
1290 *=* | --config-cache | -C | -disable-* | --disable-* \
1291 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1292 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1293 | -with-* | --with-* | -without-* | --without-* | --x)
1294 case "$ac_configure_args0 " in
1295 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1298 -* ) ac_must_keep_next
=true
;;
1301 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1302 # Get rid of the leading space.
1308 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1309 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1311 # When interrupted or exit'd, cleanup temporary files, and complete
1312 # config.log. We remove comments because anyway the quotes in there
1313 # would cause problems or look ugly.
1314 # WARNING: Be sure not to use single quotes in there, as some shells,
1315 # such as our DU 5.0 friend, will then `close' the trap.
1316 trap 'exit_status=$?
1317 # Save into config.log some information that might help in debugging.
1322 ## ---------------- ##
1323 ## Cache variables. ##
1324 ## ---------------- ##
1327 # The following way of writing the cache mishandles newlines in values,
1330 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1333 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1334 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1338 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1345 ## ----------------- ##
1346 ## Output variables. ##
1347 ## ----------------- ##
1350 for ac_var in $ac_subst_vars
1352 eval ac_val=$`echo $ac_var`
1353 echo "$ac_var='"'"'$ac_val'"'"'"
1357 if test -n "$ac_subst_files"; then
1364 for ac_var in $ac_subst_files
1366 eval ac_val=$`echo $ac_var`
1367 echo "$ac_var='"'"'$ac_val'"'"'"
1372 if test -s confdefs.h; then
1379 sed "/^$/d" confdefs.h | sort
1382 test "$ac_signal" != 0 &&
1383 echo "$as_me: caught signal $ac_signal"
1384 echo "$as_me: exit $exit_status"
1386 rm -f core *.core &&
1387 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1390 for ac_signal
in 1 2 13 15; do
1391 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1395 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1396 rm -rf conftest
* confdefs.h
1397 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1400 # Predefined preprocessor variables.
1402 cat >>confdefs.h
<<_ACEOF
1403 #define PACKAGE_NAME "$PACKAGE_NAME"
1407 cat >>confdefs.h
<<_ACEOF
1408 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1412 cat >>confdefs.h
<<_ACEOF
1413 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1417 cat >>confdefs.h
<<_ACEOF
1418 #define PACKAGE_STRING "$PACKAGE_STRING"
1422 cat >>confdefs.h
<<_ACEOF
1423 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1427 # Let the site file select an alternate cache file if it wants to.
1428 # Prefer explicitly selected file to automatically selected ones.
1429 if test -z "$CONFIG_SITE"; then
1430 if test "x$prefix" != xNONE
; then
1431 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1433 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1436 for ac_site_file
in $CONFIG_SITE; do
1437 if test -r "$ac_site_file"; then
1438 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1439 echo "$as_me: loading site script $ac_site_file" >&6;}
1440 sed 's/^/| /' "$ac_site_file" >&5
1445 if test -r "$cache_file"; then
1446 # Some versions of bash will fail to source /dev/null (special
1447 # files actually), so we avoid doing that.
1448 if test -f "$cache_file"; then
1449 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1450 echo "$as_me: loading cache $cache_file" >&6;}
1452 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1453 *) . .
/$cache_file;;
1457 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1458 echo "$as_me: creating cache $cache_file" >&6;}
1462 # Check that the precious variables saved in the cache have kept the same
1464 ac_cache_corrupted
=false
1465 for ac_var
in `(set) 2>&1 |
1466 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1467 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1468 eval ac_new_set
=\
$ac_env_${ac_var}_set
1469 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1470 eval ac_new_val
="\$ac_env_${ac_var}_value"
1471 case $ac_old_set,$ac_new_set in
1473 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1474 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1475 ac_cache_corrupted
=: ;;
1477 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1478 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1479 ac_cache_corrupted
=: ;;
1482 if test "x$ac_old_val" != "x$ac_new_val"; then
1483 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1484 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1485 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1486 echo "$as_me: former value: $ac_old_val" >&2;}
1487 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1488 echo "$as_me: current value: $ac_new_val" >&2;}
1489 ac_cache_corrupted
=:
1492 # Pass precious variables to config.status.
1493 if test "$ac_new_set" = set; then
1495 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1496 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1497 *) ac_arg
=$ac_var=$ac_new_val ;;
1499 case " $ac_configure_args " in
1500 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1501 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1505 if $ac_cache_corrupted; then
1506 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1507 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1508 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1509 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1510 { (exit 1); exit 1; }; }
1514 ac_cpp
='$CPP $CPPFLAGS'
1515 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1516 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1517 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1549 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1550 if test -f $ac_dir/install-sh; then
1552 ac_install_sh
="$ac_aux_dir/install-sh -c"
1554 elif test -f $ac_dir/install.sh
; then
1556 ac_install_sh
="$ac_aux_dir/install.sh -c"
1558 elif test -f $ac_dir/shtool
; then
1560 ac_install_sh
="$ac_aux_dir/shtool install -c"
1564 if test -z "$ac_aux_dir"; then
1565 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1566 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1567 { (exit 1); exit 1; }; }
1569 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1570 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1571 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1573 # Make sure we can run config.sub.
1574 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1575 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1576 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1577 { (exit 1); exit 1; }; }
1579 echo "$as_me:$LINENO: checking build system type" >&5
1580 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1581 if test "${ac_cv_build+set}" = set; then
1582 echo $ECHO_N "(cached) $ECHO_C" >&6
1584 ac_cv_build_alias
=$build_alias
1585 test -z "$ac_cv_build_alias" &&
1586 ac_cv_build_alias
=`$ac_config_guess`
1587 test -z "$ac_cv_build_alias" &&
1588 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1589 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1590 { (exit 1); exit 1; }; }
1591 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1592 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1593 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1594 { (exit 1); exit 1; }; }
1597 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1598 echo "${ECHO_T}$ac_cv_build" >&6
1600 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1601 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1602 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1605 echo "$as_me:$LINENO: checking host system type" >&5
1606 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1607 if test "${ac_cv_host+set}" = set; then
1608 echo $ECHO_N "(cached) $ECHO_C" >&6
1610 ac_cv_host_alias
=$host_alias
1611 test -z "$ac_cv_host_alias" &&
1612 ac_cv_host_alias
=$ac_cv_build_alias
1613 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1614 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1615 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1616 { (exit 1); exit 1; }; }
1619 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1620 echo "${ECHO_T}$ac_cv_host" >&6
1622 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1623 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1624 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1627 echo "$as_me:$LINENO: checking target system type" >&5
1628 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1629 if test "${ac_cv_target+set}" = set; then
1630 echo $ECHO_N "(cached) $ECHO_C" >&6
1632 ac_cv_target_alias
=$target_alias
1633 test "x$ac_cv_target_alias" = "x" &&
1634 ac_cv_target_alias
=$ac_cv_host_alias
1635 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1636 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1637 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1638 { (exit 1); exit 1; }; }
1641 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1642 echo "${ECHO_T}$ac_cv_target" >&6
1643 target
=$ac_cv_target
1644 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1645 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1646 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1649 # The aliases save the names the user supplied, while $host etc.
1650 # will get canonicalized.
1651 test -n "$target_alias" &&
1652 test "$program_prefix$program_suffix$program_transform_name" = \
1654 program_prefix
=${target_alias}-
1658 wx_major_version_number
=2
1659 wx_minor_version_number
=5
1661 wx_subrelease_number
=3
1663 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1664 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1665 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1667 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1683 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1689 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1695 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1697 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1699 DEFAULT_wxUSE_COCOA
=0
1703 DEFAULT_wxUSE_MICROWIN
=0
1704 DEFAULT_wxUSE_MOTIF
=0
1709 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1710 DEFAULT_DEFAULT_wxUSE_GTK
=0
1711 DEFAULT_DEFAULT_wxUSE_MAC
=0
1712 DEFAULT_DEFAULT_wxUSE_MGL
=0
1713 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1714 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1715 DEFAULT_DEFAULT_wxUSE_MSW
=0
1716 DEFAULT_DEFAULT_wxUSE_PM
=0
1717 DEFAULT_DEFAULT_wxUSE_X11
=0
1722 SAMPLES_RPATH_POSTLINK
=
1727 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1728 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1730 cat >>confdefs.h
<<\_ACEOF
1737 cat >>confdefs.h
<<\_ACEOF
1742 if test "x$TMP" = "xalpha"; then
1744 cat >>confdefs.h
<<\_ACEOF
1749 DEFAULT_DEFAULT_wxUSE_GTK
=1
1751 *-*-gnu* | *-*-k*bsd
*-gnu )
1754 if test "x$TMP" = "xalpha"; then
1756 cat >>confdefs.h
<<\_ACEOF
1761 DEFAULT_DEFAULT_wxUSE_GTK
=1
1763 *-*-irix5* | *-*-irix6* )
1766 cat >>confdefs.h
<<\_ACEOF
1770 cat >>confdefs.h
<<\_ACEOF
1774 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1780 cat >>confdefs.h
<<\_ACEOF
1784 cat >>confdefs.h
<<\_ACEOF
1785 #define __SOLARIS__ 1
1788 cat >>confdefs.h
<<\_ACEOF
1792 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1793 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1799 cat >>confdefs.h
<<\_ACEOF
1803 cat >>confdefs.h
<<\_ACEOF
1807 cat >>confdefs.h
<<\_ACEOF
1811 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1816 cat >>confdefs.h
<<\_ACEOF
1817 #define __FREEBSD__ 1
1820 cat >>confdefs.h
<<\_ACEOF
1824 DEFAULT_DEFAULT_wxUSE_GTK
=1
1829 cat >>confdefs.h
<<\_ACEOF
1830 #define __OPENBSD__ 1
1833 cat >>confdefs.h
<<\_ACEOF
1837 DEFAULT_DEFAULT_wxUSE_GTK
=1
1842 cat >>confdefs.h
<<\_ACEOF
1843 #define __NETBSD__ 1
1846 cat >>confdefs.h
<<\_ACEOF
1850 DEFAULT_DEFAULT_wxUSE_GTK
=1
1855 cat >>confdefs.h
<<\_ACEOF
1859 cat >>confdefs.h
<<\_ACEOF
1863 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1864 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1869 cat >>confdefs.h
<<\_ACEOF
1873 cat >>confdefs.h
<<\_ACEOF
1877 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1882 cat >>confdefs.h
<<\_ACEOF
1886 cat >>confdefs.h
<<\_ACEOF
1890 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1897 cat >>confdefs.h
<<\_ACEOF
1901 cat >>confdefs.h
<<\_ACEOF
1905 cat >>confdefs.h
<<\_ACEOF
1909 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1916 cat >>confdefs.h
<<\_ACEOF
1917 #define __UNIXWARE__ 1
1922 *-*-cygwin* | *-*-mingw32* )
1926 DEFAULT_DEFAULT_wxUSE_MSW
=1
1932 cat >>confdefs.h
<<\_ACEOF
1937 DEFAULT_DEFAULT_wxUSE_MGL
=1
1938 LIBS
="$LIBS -lstdc++"
1941 *-pc-os2_emx | *-pc-os2-emx )
1942 cat >>confdefs.h
<<\_ACEOF
1947 cat >>confdefs.h
<<\_ACEOF
1952 DEFAULT_DEFAULT_wxUSE_PM
=1
1954 LDFLAGS
="$LDFLAGS -Zcrtdll"
1955 ac_executable_extensions
=".exe"
1956 export ac_executable_extensions
1960 for ac_dir
in $PATH; do
1962 if test -z "$ac_TEMP_PATH"; then
1963 ac_TEMP_PATH
="$ac_dir"
1965 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1968 export PATH
="$ac_TEMP_PATH"
1976 cat >>confdefs.h
<<\_ACEOF
1980 cat >>confdefs.h
<<\_ACEOF
1981 #define __DARWIN__ 1
1984 cat >>confdefs.h
<<\_ACEOF
1985 #define __POWERPC__ 1
1988 cat >>confdefs.h
<<\_ACEOF
1989 #define TARGET_CARBON 1
1992 DEFAULT_DEFAULT_wxUSE_MAC
=1
1994 powerpc
-apple-macos* )
1996 ac_cv_c_bigendian
=yes
1998 DEFAULT_DEFAULT_wxUSE_MAC
=1
2003 cat >>confdefs.h
<<\_ACEOF
2010 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2011 echo "$as_me: error: unknown system type ${host}." >&2;}
2012 { (exit 1); exit 1; }; }
2018 wx_arg_cache_file
="configarg.cache"
2019 echo "loading argument cache $wx_arg_cache_file"
2020 rm -f ${wx_arg_cache_file}.tmp
2021 touch ${wx_arg_cache_file}.tmp
2022 touch ${wx_arg_cache_file}
2026 if test $DEBUG_CONFIGURE = 1; then
2027 DEFAULT_wxUSE_UNIVERSAL
=no
2028 DEFAULT_wxUSE_STL
=no
2030 DEFAULT_wxUSE_NANOX
=no
2032 DEFAULT_wxUSE_THREADS
=yes
2034 DEFAULT_wxUSE_SHARED
=yes
2035 DEFAULT_wxUSE_OPTIMISE
=no
2036 DEFAULT_wxUSE_PROFILE
=no
2037 DEFAULT_wxUSE_NO_DEPS
=no
2038 DEFAULT_wxUSE_NO_RTTI
=no
2039 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2040 DEFAULT_wxUSE_RPATH
=yes
2041 DEFAULT_wxUSE_PERMISSIVE
=no
2042 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2043 DEFAULT_wxUSE_DEBUG_INFO
=yes
2044 DEFAULT_wxUSE_DEBUG_GDB
=yes
2045 DEFAULT_wxUSE_MEM_TRACING
=no
2046 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2047 DEFAULT_wxUSE_DMALLOC
=no
2048 DEFAULT_wxUSE_APPLE_IEEE
=no
2050 DEFAULT_wxUSE_EXCEPTIONS
=no
2051 DEFAULT_wxUSE_LOG
=yes
2052 DEFAULT_wxUSE_LOGWINDOW
=no
2053 DEFAULT_wxUSE_LOGGUI
=no
2054 DEFAULT_wxUSE_LOGDIALOG
=no
2056 DEFAULT_wxUSE_GUI
=yes
2057 DEFAULT_wxUSE_CONTROLS
=no
2059 DEFAULT_wxUSE_REGEX
=no
2060 DEFAULT_wxUSE_XML
=no
2061 DEFAULT_wxUSE_EXPAT
=no
2062 DEFAULT_wxUSE_ZLIB
=no
2063 DEFAULT_wxUSE_LIBPNG
=no
2064 DEFAULT_wxUSE_LIBJPEG
=no
2065 DEFAULT_wxUSE_LIBTIFF
=no
2066 DEFAULT_wxUSE_LIBXPM
=no
2067 DEFAULT_wxUSE_LIBMSPACK
=no
2068 DEFAULT_wxUSE_LIBSDL
=no
2069 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2070 DEFAULT_wxUSE_ODBC
=no
2071 DEFAULT_wxUSE_OPENGL
=no
2073 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2074 DEFAULT_wxUSE_STACKWALKER
=no
2075 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2076 DEFAULT_wxUSE_STD_IOSTREAM
=no
2077 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2078 DEFAULT_wxUSE_DATETIME
=no
2079 DEFAULT_wxUSE_TIMER
=no
2080 DEFAULT_wxUSE_STOPWATCH
=no
2081 DEFAULT_wxUSE_FILE
=no
2082 DEFAULT_wxUSE_FFILE
=no
2083 DEFAULT_wxUSE_TEXTBUFFER
=no
2084 DEFAULT_wxUSE_TEXTFILE
=no
2085 DEFAULT_wxUSE_SOUND
=no
2086 DEFAULT_wxUSE_MEDIACTRL
=no
2087 DEFAULT_wxUSE_DIRECTSHOW
=no
2088 DEFAULT_wxUSE_INTL
=no
2089 DEFAULT_wxUSE_CONFIG
=no
2090 DEFAULT_wxUSE_FONTMAP
=no
2091 DEFAULT_wxUSE_STREAMS
=no
2092 DEFAULT_wxUSE_SOCKETS
=no
2093 DEFAULT_wxUSE_OLE
=no
2094 DEFAULT_wxUSE_DATAOBJ
=no
2095 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2096 DEFAULT_wxUSE_JOYSTICK
=no
2097 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2098 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2099 DEFAULT_wxUSE_LONGLONG
=no
2100 DEFAULT_wxUSE_GEOMETRY
=no
2102 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2103 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2104 DEFAULT_wxUSE_POSTSCRIPT
=no
2106 DEFAULT_wxUSE_CLIPBOARD
=no
2107 DEFAULT_wxUSE_TOOLTIPS
=no
2108 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2109 DEFAULT_wxUSE_DRAGIMAGE
=no
2110 DEFAULT_wxUSE_SPLINES
=no
2112 DEFAULT_wxUSE_MDI
=no
2113 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2114 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2115 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2117 DEFAULT_wxUSE_RESOURCES
=no
2118 DEFAULT_wxUSE_CONSTRAINTS
=no
2119 DEFAULT_wxUSE_IPC
=no
2120 DEFAULT_wxUSE_HELP
=no
2121 DEFAULT_wxUSE_MS_HTML_HELP
=no
2122 DEFAULT_wxUSE_WXHTML_HELP
=no
2123 DEFAULT_wxUSE_TREELAYOUT
=no
2124 DEFAULT_wxUSE_METAFILE
=no
2125 DEFAULT_wxUSE_MIMETYPE
=no
2126 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2127 DEFAULT_wxUSE_PROTOCOL
=no
2128 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2129 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2130 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2131 DEFAULT_wxUSE_URL
=no
2133 DEFAULT_wxUSE_COMMONDLGS
=no
2134 DEFAULT_wxUSE_CHOICEDLG
=no
2135 DEFAULT_wxUSE_COLOURDLG
=no
2136 DEFAULT_wxUSE_DIRDLG
=no
2137 DEFAULT_wxUSE_FILEDLG
=no
2138 DEFAULT_wxUSE_FINDREPLDLG
=no
2139 DEFAULT_wxUSE_FONTDLG
=no
2140 DEFAULT_wxUSE_MSGDLG
=no
2141 DEFAULT_wxUSE_NUMBERDLG
=no
2142 DEFAULT_wxUSE_TEXTDLG
=no
2143 DEFAULT_wxUSE_SPLASH
=no
2144 DEFAULT_wxUSE_STARTUP_TIPS
=no
2145 DEFAULT_wxUSE_PROGRESSDLG
=no
2146 DEFAULT_wxUSE_WIZARDDLG
=no
2148 DEFAULT_wxUSE_MENUS
=no
2149 DEFAULT_wxUSE_MINIFRAME
=no
2150 DEFAULT_wxUSE_HTML
=no
2151 DEFAULT_wxUSE_XRC
=no
2152 DEFAULT_wxUSE_WEBKIT
=no
2153 DEFAULT_wxUSE_FILESYSTEM
=no
2154 DEFAULT_wxUSE_FS_INET
=no
2155 DEFAULT_wxUSE_FS_ZIP
=no
2156 DEFAULT_wxUSE_BUSYINFO
=no
2157 DEFAULT_wxUSE_ZIPSTREAM
=no
2158 DEFAULT_wxUSE_VALIDATORS
=no
2160 DEFAULT_wxUSE_ACCEL
=no
2161 DEFAULT_wxUSE_BUTTON
=no
2162 DEFAULT_wxUSE_BMPBUTTON
=no
2163 DEFAULT_wxUSE_CALCTRL
=no
2164 DEFAULT_wxUSE_CARET
=no
2165 DEFAULT_wxUSE_CHECKBOX
=no
2166 DEFAULT_wxUSE_CHECKLST
=no
2167 DEFAULT_wxUSE_CHOICE
=no
2168 DEFAULT_wxUSE_CHOICEBOOK
=no
2169 DEFAULT_wxUSE_COMBOBOX
=no
2170 DEFAULT_wxUSE_DATEPICKCTRL
=no
2171 DEFAULT_wxUSE_DISPLAY
=no
2172 DEFAULT_wxUSE_GAUGE
=no
2173 DEFAULT_wxUSE_GRID
=no
2174 DEFAULT_wxUSE_IMAGLIST
=no
2175 DEFAULT_wxUSE_LISTBOOK
=no
2176 DEFAULT_wxUSE_LISTBOX
=no
2177 DEFAULT_wxUSE_LISTCTRL
=no
2178 DEFAULT_wxUSE_NOTEBOOK
=no
2179 DEFAULT_wxUSE_RADIOBOX
=no
2180 DEFAULT_wxUSE_RADIOBTN
=no
2181 DEFAULT_wxUSE_SASH
=no
2182 DEFAULT_wxUSE_SCROLLBAR
=no
2183 DEFAULT_wxUSE_SLIDER
=no
2184 DEFAULT_wxUSE_SPINBTN
=no
2185 DEFAULT_wxUSE_SPINCTRL
=no
2186 DEFAULT_wxUSE_SPLITTER
=no
2187 DEFAULT_wxUSE_STATBMP
=no
2188 DEFAULT_wxUSE_STATBOX
=no
2189 DEFAULT_wxUSE_STATLINE
=no
2190 DEFAULT_wxUSE_STATTEXT
=no
2191 DEFAULT_wxUSE_STATUSBAR
=yes
2192 DEFAULT_wxUSE_TABDIALOG
=no
2193 DEFAULT_wxUSE_TEXTCTRL
=no
2194 DEFAULT_wxUSE_TOGGLEBTN
=no
2195 DEFAULT_wxUSE_TOOLBAR
=no
2196 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2197 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2198 DEFAULT_wxUSE_TREECTRL
=no
2199 DEFAULT_wxUSE_POPUPWIN
=no
2200 DEFAULT_wxUSE_TIPWINDOW
=no
2202 DEFAULT_wxUSE_UNICODE
=no
2203 DEFAULT_wxUSE_UNICODE_MSLU
=no
2204 DEFAULT_wxUSE_WCSRTOMBS
=no
2206 DEFAULT_wxUSE_PALETTE
=no
2207 DEFAULT_wxUSE_IMAGE
=no
2208 DEFAULT_wxUSE_GIF
=no
2209 DEFAULT_wxUSE_PCX
=no
2210 DEFAULT_wxUSE_PNM
=no
2211 DEFAULT_wxUSE_IFF
=no
2212 DEFAULT_wxUSE_XPM
=no
2213 DEFAULT_wxUSE_ICO_CUR
=no
2214 DEFAULT_wxUSE_ACCESSIBILITY
=no
2216 DEFAULT_wxUSE_MONOLITHIC
=no
2217 DEFAULT_wxUSE_PLUGINS
=no
2218 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2220 DEFAULT_wxUSE_UNIVERSAL
=no
2221 DEFAULT_wxUSE_STL
=no
2223 DEFAULT_wxUSE_NANOX
=no
2225 DEFAULT_wxUSE_THREADS
=yes
2227 DEFAULT_wxUSE_SHARED
=yes
2228 DEFAULT_wxUSE_OPTIMISE
=yes
2229 DEFAULT_wxUSE_PROFILE
=no
2230 DEFAULT_wxUSE_NO_DEPS
=no
2231 DEFAULT_wxUSE_NO_RTTI
=no
2232 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2233 DEFAULT_wxUSE_RPATH
=yes
2234 DEFAULT_wxUSE_PERMISSIVE
=no
2235 DEFAULT_wxUSE_DEBUG_FLAG
=no
2236 DEFAULT_wxUSE_DEBUG_INFO
=no
2237 DEFAULT_wxUSE_DEBUG_GDB
=no
2238 DEFAULT_wxUSE_MEM_TRACING
=no
2239 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2240 DEFAULT_wxUSE_DMALLOC
=no
2241 DEFAULT_wxUSE_APPLE_IEEE
=yes
2243 DEFAULT_wxUSE_EXCEPTIONS
=yes
2244 DEFAULT_wxUSE_LOG
=yes
2245 DEFAULT_wxUSE_LOGWINDOW
=yes
2246 DEFAULT_wxUSE_LOGGUI
=yes
2247 DEFAULT_wxUSE_LOGDIALOG
=yes
2249 DEFAULT_wxUSE_GUI
=yes
2251 DEFAULT_wxUSE_REGEX
=yes
2252 DEFAULT_wxUSE_XML
=yes
2253 DEFAULT_wxUSE_EXPAT
=yes
2254 DEFAULT_wxUSE_ZLIB
=yes
2255 DEFAULT_wxUSE_LIBPNG
=yes
2256 DEFAULT_wxUSE_LIBJPEG
=yes
2257 DEFAULT_wxUSE_LIBTIFF
=yes
2258 DEFAULT_wxUSE_LIBXPM
=yes
2259 DEFAULT_wxUSE_LIBMSPACK
=yes
2260 DEFAULT_wxUSE_LIBSDL
=no
2261 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2262 DEFAULT_wxUSE_ODBC
=no
2263 DEFAULT_wxUSE_OPENGL
=no
2265 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2266 DEFAULT_wxUSE_STACKWALKER
=yes
2267 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2268 DEFAULT_wxUSE_STD_IOSTREAM
=no
2269 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2270 DEFAULT_wxUSE_DATETIME
=yes
2271 DEFAULT_wxUSE_TIMER
=yes
2272 DEFAULT_wxUSE_STOPWATCH
=yes
2273 DEFAULT_wxUSE_FILE
=yes
2274 DEFAULT_wxUSE_FFILE
=yes
2275 DEFAULT_wxUSE_TEXTBUFFER
=yes
2276 DEFAULT_wxUSE_TEXTFILE
=yes
2277 DEFAULT_wxUSE_SOUND
=yes
2278 DEFAULT_wxUSE_MEDIACTRL
=no
2279 DEFAULT_wxUSE_DIRECTSHOW
=no
2280 DEFAULT_wxUSE_INTL
=yes
2281 DEFAULT_wxUSE_CONFIG
=yes
2282 DEFAULT_wxUSE_FONTMAP
=yes
2283 DEFAULT_wxUSE_STREAMS
=yes
2284 DEFAULT_wxUSE_SOCKETS
=yes
2285 DEFAULT_wxUSE_OLE
=yes
2286 DEFAULT_wxUSE_DATAOBJ
=yes
2287 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2288 DEFAULT_wxUSE_JOYSTICK
=yes
2289 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2290 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2291 DEFAULT_wxUSE_LONGLONG
=yes
2292 DEFAULT_wxUSE_GEOMETRY
=yes
2294 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2295 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2296 DEFAULT_wxUSE_POSTSCRIPT
=yes
2298 DEFAULT_wxUSE_CLIPBOARD
=yes
2299 DEFAULT_wxUSE_TOOLTIPS
=yes
2300 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2301 DEFAULT_wxUSE_DRAGIMAGE
=yes
2302 DEFAULT_wxUSE_SPLINES
=yes
2304 DEFAULT_wxUSE_MDI
=yes
2305 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2306 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2307 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2309 DEFAULT_wxUSE_RESOURCES
=no
2310 DEFAULT_wxUSE_CONSTRAINTS
=yes
2311 DEFAULT_wxUSE_IPC
=yes
2312 DEFAULT_wxUSE_HELP
=yes
2313 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2314 DEFAULT_wxUSE_WXHTML_HELP
=yes
2315 DEFAULT_wxUSE_TREELAYOUT
=yes
2316 DEFAULT_wxUSE_METAFILE
=yes
2317 DEFAULT_wxUSE_MIMETYPE
=yes
2318 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2319 DEFAULT_wxUSE_PROTOCOL
=yes
2320 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2321 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2322 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2323 DEFAULT_wxUSE_URL
=yes
2325 DEFAULT_wxUSE_COMMONDLGS
=yes
2326 DEFAULT_wxUSE_CHOICEDLG
=yes
2327 DEFAULT_wxUSE_COLOURDLG
=yes
2328 DEFAULT_wxUSE_DIRDLG
=yes
2329 DEFAULT_wxUSE_FILEDLG
=yes
2330 DEFAULT_wxUSE_FINDREPLDLG
=yes
2331 DEFAULT_wxUSE_FONTDLG
=yes
2332 DEFAULT_wxUSE_MSGDLG
=yes
2333 DEFAULT_wxUSE_NUMBERDLG
=yes
2334 DEFAULT_wxUSE_TEXTDLG
=yes
2335 DEFAULT_wxUSE_SPLASH
=yes
2336 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2337 DEFAULT_wxUSE_PROGRESSDLG
=yes
2338 DEFAULT_wxUSE_WIZARDDLG
=yes
2340 DEFAULT_wxUSE_MENUS
=yes
2341 DEFAULT_wxUSE_MINIFRAME
=yes
2342 DEFAULT_wxUSE_HTML
=yes
2343 DEFAULT_wxUSE_XRC
=yes
2344 DEFAULT_wxUSE_WEBKIT
=yes
2345 DEFAULT_wxUSE_FILESYSTEM
=yes
2346 DEFAULT_wxUSE_FS_INET
=yes
2347 DEFAULT_wxUSE_FS_ZIP
=yes
2348 DEFAULT_wxUSE_BUSYINFO
=yes
2349 DEFAULT_wxUSE_ZIPSTREAM
=yes
2350 DEFAULT_wxUSE_VALIDATORS
=yes
2352 DEFAULT_wxUSE_ACCEL
=yes
2353 DEFAULT_wxUSE_BUTTON
=yes
2354 DEFAULT_wxUSE_BMPBUTTON
=yes
2355 DEFAULT_wxUSE_CALCTRL
=yes
2356 DEFAULT_wxUSE_CARET
=yes
2357 DEFAULT_wxUSE_CHECKBOX
=yes
2358 DEFAULT_wxUSE_CHECKLST
=yes
2359 DEFAULT_wxUSE_CHOICE
=yes
2360 DEFAULT_wxUSE_CHOICEBOOK
=yes
2361 DEFAULT_wxUSE_COMBOBOX
=yes
2362 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2363 DEFAULT_wxUSE_DISPLAY
=yes
2364 DEFAULT_wxUSE_GAUGE
=yes
2365 DEFAULT_wxUSE_GRID
=yes
2366 DEFAULT_wxUSE_IMAGLIST
=yes
2367 DEFAULT_wxUSE_LISTBOOK
=yes
2368 DEFAULT_wxUSE_LISTBOX
=yes
2369 DEFAULT_wxUSE_LISTCTRL
=yes
2370 DEFAULT_wxUSE_NOTEBOOK
=yes
2371 DEFAULT_wxUSE_RADIOBOX
=yes
2372 DEFAULT_wxUSE_RADIOBTN
=yes
2373 DEFAULT_wxUSE_SASH
=yes
2374 DEFAULT_wxUSE_SCROLLBAR
=yes
2375 DEFAULT_wxUSE_SLIDER
=yes
2376 DEFAULT_wxUSE_SPINBTN
=yes
2377 DEFAULT_wxUSE_SPINCTRL
=yes
2378 DEFAULT_wxUSE_SPLITTER
=yes
2379 DEFAULT_wxUSE_STATBMP
=yes
2380 DEFAULT_wxUSE_STATBOX
=yes
2381 DEFAULT_wxUSE_STATLINE
=yes
2382 DEFAULT_wxUSE_STATTEXT
=yes
2383 DEFAULT_wxUSE_STATUSBAR
=yes
2384 DEFAULT_wxUSE_TABDIALOG
=no
2385 DEFAULT_wxUSE_TEXTCTRL
=yes
2386 DEFAULT_wxUSE_TOGGLEBTN
=yes
2387 DEFAULT_wxUSE_TOOLBAR
=yes
2388 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2389 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2390 DEFAULT_wxUSE_TREECTRL
=yes
2391 DEFAULT_wxUSE_POPUPWIN
=yes
2392 DEFAULT_wxUSE_TIPWINDOW
=yes
2394 DEFAULT_wxUSE_UNICODE
=no
2395 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2396 DEFAULT_wxUSE_WCSRTOMBS
=no
2398 DEFAULT_wxUSE_PALETTE
=yes
2399 DEFAULT_wxUSE_IMAGE
=yes
2400 DEFAULT_wxUSE_GIF
=yes
2401 DEFAULT_wxUSE_PCX
=yes
2402 DEFAULT_wxUSE_IFF
=no
2403 DEFAULT_wxUSE_PNM
=yes
2404 DEFAULT_wxUSE_XPM
=yes
2405 DEFAULT_wxUSE_ICO_CUR
=yes
2406 DEFAULT_wxUSE_ACCESSIBILITY
=no
2408 DEFAULT_wxUSE_MONOLITHIC
=no
2409 DEFAULT_wxUSE_PLUGINS
=no
2410 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2412 DEFAULT_wxUSE_GTK2
=yes
2417 for toolkit
in `echo $ALL_TOOLKITS`; do
2418 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2419 if test "x$LINE" != "x" ; then
2420 has_toolkit_in_cache
=1
2421 eval "DEFAULT_$LINE"
2422 eval "CACHE_$toolkit=1"
2429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2430 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2432 # Check whether --enable-gui or --disable-gui was given.
2433 if test "${enable_gui+set}" = set; then
2434 enableval
="$enable_gui"
2436 if test "$enableval" = yes; then
2437 ac_cv_use_gui
='wxUSE_GUI=yes'
2439 ac_cv_use_gui
='wxUSE_GUI=no'
2444 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2445 if test "x$LINE" != x
; then
2446 eval "DEFAULT_$LINE"
2451 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2455 eval "$ac_cv_use_gui"
2456 if test "$no_cache" != 1; then
2457 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2460 if test "$wxUSE_GUI" = yes; then
2461 echo "$as_me:$LINENO: result: yes" >&5
2462 echo "${ECHO_T}yes" >&6
2464 echo "$as_me:$LINENO: result: no" >&5
2465 echo "${ECHO_T}no" >&6
2470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2471 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2473 # Check whether --enable-monolithic or --disable-monolithic was given.
2474 if test "${enable_monolithic+set}" = set; then
2475 enableval
="$enable_monolithic"
2477 if test "$enableval" = yes; then
2478 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2480 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2485 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2486 if test "x$LINE" != x
; then
2487 eval "DEFAULT_$LINE"
2492 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2496 eval "$ac_cv_use_monolithic"
2497 if test "$no_cache" != 1; then
2498 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2501 if test "$wxUSE_MONOLITHIC" = yes; then
2502 echo "$as_me:$LINENO: result: yes" >&5
2503 echo "${ECHO_T}yes" >&6
2505 echo "$as_me:$LINENO: result: no" >&5
2506 echo "${ECHO_T}no" >&6
2511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2512 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2514 # Check whether --enable-plugins or --disable-plugins was given.
2515 if test "${enable_plugins+set}" = set; then
2516 enableval
="$enable_plugins"
2518 if test "$enableval" = yes; then
2519 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2521 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2526 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2527 if test "x$LINE" != x
; then
2528 eval "DEFAULT_$LINE"
2533 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2537 eval "$ac_cv_use_plugins"
2538 if test "$no_cache" != 1; then
2539 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2542 if test "$wxUSE_PLUGINS" = yes; then
2543 echo "$as_me:$LINENO: result: yes" >&5
2544 echo "${ECHO_T}yes" >&6
2546 echo "$as_me:$LINENO: result: no" >&5
2547 echo "${ECHO_T}no" >&6
2551 if test "$wxUSE_GUI" = "yes"; then
2555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2556 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2558 # Check whether --enable-universal or --disable-universal was given.
2559 if test "${enable_universal+set}" = set; then
2560 enableval
="$enable_universal"
2562 if test "$enableval" = yes; then
2563 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2565 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2570 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2571 if test "x$LINE" != x
; then
2572 eval "DEFAULT_$LINE"
2577 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2581 eval "$ac_cv_use_universal"
2582 if test "$no_cache" != 1; then
2583 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2586 if test "$wxUSE_UNIVERSAL" = yes; then
2587 echo "$as_me:$LINENO: result: yes" >&5
2588 echo "${ECHO_T}yes" >&6
2590 echo "$as_me:$LINENO: result: no" >&5
2591 echo "${ECHO_T}no" >&6
2595 # Check whether --with-gtk or --without-gtk was given.
2596 if test "${with_gtk+set}" = set; then
2598 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2601 # Check whether --with-motif or --without-motif was given.
2602 if test "${with_motif+set}" = set; then
2603 withval
="$with_motif"
2604 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2607 # Check whether --with-mac or --without-mac was given.
2608 if test "${with_mac+set}" = set; then
2610 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2613 # Check whether --with-cocoa or --without-cocoa was given.
2614 if test "${with_cocoa+set}" = set; then
2615 withval
="$with_cocoa"
2616 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2619 # Check whether --with-wine or --without-wine was given.
2620 if test "${with_wine+set}" = set; then
2621 withval
="$with_wine"
2622 wxUSE_WINE
="$withval" CACHE_WINE
=1
2625 # Check whether --with-msw or --without-msw was given.
2626 if test "${with_msw+set}" = set; then
2628 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2631 # Check whether --with-pm or --without-pm was given.
2632 if test "${with_pm+set}" = set; then
2634 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2637 # Check whether --with-mgl or --without-mgl was given.
2638 if test "${with_mgl+set}" = set; then
2640 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2643 # Check whether --with-microwin or --without-microwin was given.
2644 if test "${with_microwin+set}" = set; then
2645 withval
="$with_microwin"
2646 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2649 # Check whether --with-x11 or --without-x11 was given.
2650 if test "${with_x11+set}" = set; then
2652 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2657 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2659 # Check whether --enable-nanox or --disable-nanox was given.
2660 if test "${enable_nanox+set}" = set; then
2661 enableval
="$enable_nanox"
2663 if test "$enableval" = yes; then
2664 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2666 ac_cv_use_nanox
='wxUSE_NANOX=no'
2671 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2672 if test "x$LINE" != x
; then
2673 eval "DEFAULT_$LINE"
2678 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2682 eval "$ac_cv_use_nanox"
2683 if test "$no_cache" != 1; then
2684 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2687 if test "$wxUSE_NANOX" = yes; then
2688 echo "$as_me:$LINENO: result: yes" >&5
2689 echo "${ECHO_T}yes" >&6
2691 echo "$as_me:$LINENO: result: no" >&5
2692 echo "${ECHO_T}no" >&6
2698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2699 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2701 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2702 if test "${enable_gtk2+set}" = set; then
2703 enableval
="$enable_gtk2"
2705 if test "$enableval" = yes; then
2706 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2708 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2713 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2714 if test "x$LINE" != x
; then
2715 eval "DEFAULT_$LINE"
2720 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2724 eval "$ac_cv_use_gtk2"
2725 if test "$no_cache" != 1; then
2726 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2729 if test "$wxUSE_GTK2" = yes; then
2730 echo "$as_me:$LINENO: result: yes" >&5
2731 echo "${ECHO_T}yes" >&6
2733 echo "$as_me:$LINENO: result: no" >&5
2734 echo "${ECHO_T}no" >&6
2739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2740 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2742 # Check whether --enable-gpe or --disable-gpe was given.
2743 if test "${enable_gpe+set}" = set; then
2744 enableval
="$enable_gpe"
2746 if test "$enableval" = yes; then
2747 ac_cv_use_gpe
='wxUSE_GPE=yes'
2749 ac_cv_use_gpe
='wxUSE_GPE=no'
2754 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2755 if test "x$LINE" != x
; then
2756 eval "DEFAULT_$LINE"
2761 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2765 eval "$ac_cv_use_gpe"
2766 if test "$no_cache" != 1; then
2767 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2770 if test "$wxUSE_GPE" = yes; then
2771 echo "$as_me:$LINENO: result: yes" >&5
2772 echo "${ECHO_T}yes" >&6
2774 echo "$as_me:$LINENO: result: no" >&5
2775 echo "${ECHO_T}no" >&6
2780 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2781 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2784 # Check whether --with-libpng or --without-libpng was given.
2785 if test "${with_libpng+set}" = set; then
2786 withval
="$with_libpng"
2788 if test "$withval" = yes; then
2789 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2790 elif test "$withval" = no
; then
2791 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2792 elif test "$withval" = sys
; then
2793 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2794 elif test "$withval" = builtin; then
2795 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2797 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2798 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2799 { (exit 1); exit 1; }; }
2804 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2805 if test "x$LINE" != x
; then
2806 eval "DEFAULT_$LINE"
2811 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2815 eval "$ac_cv_use_libpng"
2816 if test "$no_cache" != 1; then
2817 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2820 if test "$wxUSE_LIBPNG" = yes; then
2821 echo "$as_me:$LINENO: result: yes" >&5
2822 echo "${ECHO_T}yes" >&6
2823 elif test "$wxUSE_LIBPNG" = no
; then
2824 echo "$as_me:$LINENO: result: no" >&5
2825 echo "${ECHO_T}no" >&6
2826 elif test "$wxUSE_LIBPNG" = sys
; then
2827 echo "$as_me:$LINENO: result: system version" >&5
2828 echo "${ECHO_T}system version" >&6
2829 elif test "$wxUSE_LIBPNG" = builtin; then
2830 echo "$as_me:$LINENO: result: builtin version" >&5
2831 echo "${ECHO_T}builtin version" >&6
2833 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2834 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2835 { (exit 1); exit 1; }; }
2839 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2840 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2843 # Check whether --with-libjpeg or --without-libjpeg was given.
2844 if test "${with_libjpeg+set}" = set; then
2845 withval
="$with_libjpeg"
2847 if test "$withval" = yes; then
2848 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2849 elif test "$withval" = no
; then
2850 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2851 elif test "$withval" = sys
; then
2852 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2853 elif test "$withval" = builtin; then
2854 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2856 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2857 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2858 { (exit 1); exit 1; }; }
2863 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2864 if test "x$LINE" != x
; then
2865 eval "DEFAULT_$LINE"
2870 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2874 eval "$ac_cv_use_libjpeg"
2875 if test "$no_cache" != 1; then
2876 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2879 if test "$wxUSE_LIBJPEG" = yes; then
2880 echo "$as_me:$LINENO: result: yes" >&5
2881 echo "${ECHO_T}yes" >&6
2882 elif test "$wxUSE_LIBJPEG" = no
; then
2883 echo "$as_me:$LINENO: result: no" >&5
2884 echo "${ECHO_T}no" >&6
2885 elif test "$wxUSE_LIBJPEG" = sys
; then
2886 echo "$as_me:$LINENO: result: system version" >&5
2887 echo "${ECHO_T}system version" >&6
2888 elif test "$wxUSE_LIBJPEG" = builtin; then
2889 echo "$as_me:$LINENO: result: builtin version" >&5
2890 echo "${ECHO_T}builtin version" >&6
2892 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2893 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2894 { (exit 1); exit 1; }; }
2898 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2899 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2902 # Check whether --with-libtiff or --without-libtiff was given.
2903 if test "${with_libtiff+set}" = set; then
2904 withval
="$with_libtiff"
2906 if test "$withval" = yes; then
2907 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2908 elif test "$withval" = no
; then
2909 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2910 elif test "$withval" = sys
; then
2911 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2912 elif test "$withval" = builtin; then
2913 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2915 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2916 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2917 { (exit 1); exit 1; }; }
2922 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2923 if test "x$LINE" != x
; then
2924 eval "DEFAULT_$LINE"
2929 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2933 eval "$ac_cv_use_libtiff"
2934 if test "$no_cache" != 1; then
2935 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2938 if test "$wxUSE_LIBTIFF" = yes; then
2939 echo "$as_me:$LINENO: result: yes" >&5
2940 echo "${ECHO_T}yes" >&6
2941 elif test "$wxUSE_LIBTIFF" = no
; then
2942 echo "$as_me:$LINENO: result: no" >&5
2943 echo "${ECHO_T}no" >&6
2944 elif test "$wxUSE_LIBTIFF" = sys
; then
2945 echo "$as_me:$LINENO: result: system version" >&5
2946 echo "${ECHO_T}system version" >&6
2947 elif test "$wxUSE_LIBTIFF" = builtin; then
2948 echo "$as_me:$LINENO: result: builtin version" >&5
2949 echo "${ECHO_T}builtin version" >&6
2951 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2952 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2953 { (exit 1); exit 1; }; }
2957 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2958 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2961 # Check whether --with-libxpm or --without-libxpm was given.
2962 if test "${with_libxpm+set}" = set; then
2963 withval
="$with_libxpm"
2965 if test "$withval" = yes; then
2966 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2967 elif test "$withval" = no
; then
2968 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2969 elif test "$withval" = sys
; then
2970 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2971 elif test "$withval" = builtin; then
2972 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2974 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2975 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2976 { (exit 1); exit 1; }; }
2981 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2982 if test "x$LINE" != x
; then
2983 eval "DEFAULT_$LINE"
2988 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2992 eval "$ac_cv_use_libxpm"
2993 if test "$no_cache" != 1; then
2994 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2997 if test "$wxUSE_LIBXPM" = yes; then
2998 echo "$as_me:$LINENO: result: yes" >&5
2999 echo "${ECHO_T}yes" >&6
3000 elif test "$wxUSE_LIBXPM" = no
; then
3001 echo "$as_me:$LINENO: result: no" >&5
3002 echo "${ECHO_T}no" >&6
3003 elif test "$wxUSE_LIBXPM" = sys
; then
3004 echo "$as_me:$LINENO: result: system version" >&5
3005 echo "${ECHO_T}system version" >&6
3006 elif test "$wxUSE_LIBXPM" = builtin; then
3007 echo "$as_me:$LINENO: result: builtin version" >&5
3008 echo "${ECHO_T}builtin version" >&6
3010 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3011 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3012 { (exit 1); exit 1; }; }
3016 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3017 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3020 # Check whether --with-libmspack or --without-libmspack was given.
3021 if test "${with_libmspack+set}" = set; then
3022 withval
="$with_libmspack"
3024 if test "$withval" = yes; then
3025 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3027 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3032 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3033 if test "x$LINE" != x
; then
3034 eval "DEFAULT_$LINE"
3039 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3043 eval "$ac_cv_use_libmspack"
3044 if test "$no_cache" != 1; then
3045 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3048 if test "$wxUSE_LIBMSPACK" = yes; then
3049 echo "$as_me:$LINENO: result: yes" >&5
3050 echo "${ECHO_T}yes" >&6
3052 echo "$as_me:$LINENO: result: no" >&5
3053 echo "${ECHO_T}no" >&6
3057 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3058 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3061 # Check whether --with-sdl or --without-sdl was given.
3062 if test "${with_sdl+set}" = set; then
3065 if test "$withval" = yes; then
3066 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3068 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3073 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3074 if test "x$LINE" != x
; then
3075 eval "DEFAULT_$LINE"
3080 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3084 eval "$ac_cv_use_sdl"
3085 if test "$no_cache" != 1; then
3086 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3089 if test "$wxUSE_LIBSDL" = yes; then
3090 echo "$as_me:$LINENO: result: yes" >&5
3091 echo "${ECHO_T}yes" >&6
3093 echo "$as_me:$LINENO: result: no" >&5
3094 echo "${ECHO_T}no" >&6
3098 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3099 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3102 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3103 if test "${with_gnomeprint+set}" = set; then
3104 withval
="$with_gnomeprint"
3106 if test "$withval" = yes; then
3107 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3109 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3114 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3115 if test "x$LINE" != x
; then
3116 eval "DEFAULT_$LINE"
3121 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3125 eval "$ac_cv_use_gnomeprint"
3126 if test "$no_cache" != 1; then
3127 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3130 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3131 echo "$as_me:$LINENO: result: yes" >&5
3132 echo "${ECHO_T}yes" >&6
3134 echo "$as_me:$LINENO: result: no" >&5
3135 echo "${ECHO_T}no" >&6
3139 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3140 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3143 # Check whether --with-opengl or --without-opengl was given.
3144 if test "${with_opengl+set}" = set; then
3145 withval
="$with_opengl"
3147 if test "$withval" = yes; then
3148 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3150 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3155 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3156 if test "x$LINE" != x
; then
3157 eval "DEFAULT_$LINE"
3162 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3166 eval "$ac_cv_use_opengl"
3167 if test "$no_cache" != 1; then
3168 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3171 if test "$wxUSE_OPENGL" = yes; then
3172 echo "$as_me:$LINENO: result: yes" >&5
3173 echo "${ECHO_T}yes" >&6
3175 echo "$as_me:$LINENO: result: no" >&5
3176 echo "${ECHO_T}no" >&6
3183 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3184 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3187 # Check whether --with-dmalloc or --without-dmalloc was given.
3188 if test "${with_dmalloc+set}" = set; then
3189 withval
="$with_dmalloc"
3191 if test "$withval" = yes; then
3192 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3194 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3199 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3200 if test "x$LINE" != x
; then
3201 eval "DEFAULT_$LINE"
3206 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3210 eval "$ac_cv_use_dmalloc"
3211 if test "$no_cache" != 1; then
3212 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3215 if test "$wxUSE_DMALLOC" = yes; then
3216 echo "$as_me:$LINENO: result: yes" >&5
3217 echo "${ECHO_T}yes" >&6
3219 echo "$as_me:$LINENO: result: no" >&5
3220 echo "${ECHO_T}no" >&6
3224 echo "$as_me:$LINENO: checking for --with-regex" >&5
3225 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3228 # Check whether --with-regex or --without-regex was given.
3229 if test "${with_regex+set}" = set; then
3230 withval
="$with_regex"
3232 if test "$withval" = yes; then
3233 ac_cv_use_regex
='wxUSE_REGEX=yes'
3234 elif test "$withval" = no
; then
3235 ac_cv_use_regex
='wxUSE_REGEX=no'
3236 elif test "$withval" = sys
; then
3237 ac_cv_use_regex
='wxUSE_REGEX=sys'
3238 elif test "$withval" = builtin; then
3239 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3241 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3242 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3243 { (exit 1); exit 1; }; }
3248 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3249 if test "x$LINE" != x
; then
3250 eval "DEFAULT_$LINE"
3255 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3259 eval "$ac_cv_use_regex"
3260 if test "$no_cache" != 1; then
3261 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3264 if test "$wxUSE_REGEX" = yes; then
3265 echo "$as_me:$LINENO: result: yes" >&5
3266 echo "${ECHO_T}yes" >&6
3267 elif test "$wxUSE_REGEX" = no
; then
3268 echo "$as_me:$LINENO: result: no" >&5
3269 echo "${ECHO_T}no" >&6
3270 elif test "$wxUSE_REGEX" = sys
; then
3271 echo "$as_me:$LINENO: result: system version" >&5
3272 echo "${ECHO_T}system version" >&6
3273 elif test "$wxUSE_REGEX" = builtin; then
3274 echo "$as_me:$LINENO: result: builtin version" >&5
3275 echo "${ECHO_T}builtin version" >&6
3277 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3278 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3279 { (exit 1); exit 1; }; }
3283 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3284 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3287 # Check whether --with-zlib or --without-zlib was given.
3288 if test "${with_zlib+set}" = set; then
3289 withval
="$with_zlib"
3291 if test "$withval" = yes; then
3292 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3293 elif test "$withval" = no
; then
3294 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3295 elif test "$withval" = sys
; then
3296 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3297 elif test "$withval" = builtin; then
3298 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3300 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3301 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3302 { (exit 1); exit 1; }; }
3307 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3308 if test "x$LINE" != x
; then
3309 eval "DEFAULT_$LINE"
3314 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3318 eval "$ac_cv_use_zlib"
3319 if test "$no_cache" != 1; then
3320 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3323 if test "$wxUSE_ZLIB" = yes; then
3324 echo "$as_me:$LINENO: result: yes" >&5
3325 echo "${ECHO_T}yes" >&6
3326 elif test "$wxUSE_ZLIB" = no
; then
3327 echo "$as_me:$LINENO: result: no" >&5
3328 echo "${ECHO_T}no" >&6
3329 elif test "$wxUSE_ZLIB" = sys
; then
3330 echo "$as_me:$LINENO: result: system version" >&5
3331 echo "${ECHO_T}system version" >&6
3332 elif test "$wxUSE_ZLIB" = builtin; then
3333 echo "$as_me:$LINENO: result: builtin version" >&5
3334 echo "${ECHO_T}builtin version" >&6
3336 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3337 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3338 { (exit 1); exit 1; }; }
3342 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3343 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3346 # Check whether --with-odbc or --without-odbc was given.
3347 if test "${with_odbc+set}" = set; then
3348 withval
="$with_odbc"
3350 if test "$withval" = yes; then
3351 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3352 elif test "$withval" = no
; then
3353 ac_cv_use_odbc
='wxUSE_ODBC=no'
3354 elif test "$withval" = sys
; then
3355 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3356 elif test "$withval" = builtin; then
3357 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3359 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3360 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3361 { (exit 1); exit 1; }; }
3366 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3367 if test "x$LINE" != x
; then
3368 eval "DEFAULT_$LINE"
3373 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3377 eval "$ac_cv_use_odbc"
3378 if test "$no_cache" != 1; then
3379 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3382 if test "$wxUSE_ODBC" = yes; then
3383 echo "$as_me:$LINENO: result: yes" >&5
3384 echo "${ECHO_T}yes" >&6
3385 elif test "$wxUSE_ODBC" = no
; then
3386 echo "$as_me:$LINENO: result: no" >&5
3387 echo "${ECHO_T}no" >&6
3388 elif test "$wxUSE_ODBC" = sys
; then
3389 echo "$as_me:$LINENO: result: system version" >&5
3390 echo "${ECHO_T}system version" >&6
3391 elif test "$wxUSE_ODBC" = builtin; then
3392 echo "$as_me:$LINENO: result: builtin version" >&5
3393 echo "${ECHO_T}builtin version" >&6
3395 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3396 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3397 { (exit 1); exit 1; }; }
3401 echo "$as_me:$LINENO: checking for --with-expat" >&5
3402 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3405 # Check whether --with-expat or --without-expat was given.
3406 if test "${with_expat+set}" = set; then
3407 withval
="$with_expat"
3409 if test "$withval" = yes; then
3410 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3411 elif test "$withval" = no
; then
3412 ac_cv_use_expat
='wxUSE_EXPAT=no'
3413 elif test "$withval" = sys
; then
3414 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3415 elif test "$withval" = builtin; then
3416 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3418 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3419 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3420 { (exit 1); exit 1; }; }
3425 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3426 if test "x$LINE" != x
; then
3427 eval "DEFAULT_$LINE"
3432 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3436 eval "$ac_cv_use_expat"
3437 if test "$no_cache" != 1; then
3438 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3441 if test "$wxUSE_EXPAT" = yes; then
3442 echo "$as_me:$LINENO: result: yes" >&5
3443 echo "${ECHO_T}yes" >&6
3444 elif test "$wxUSE_EXPAT" = no
; then
3445 echo "$as_me:$LINENO: result: no" >&5
3446 echo "${ECHO_T}no" >&6
3447 elif test "$wxUSE_EXPAT" = sys
; then
3448 echo "$as_me:$LINENO: result: system version" >&5
3449 echo "${ECHO_T}system version" >&6
3450 elif test "$wxUSE_EXPAT" = builtin; then
3451 echo "$as_me:$LINENO: result: builtin version" >&5
3452 echo "${ECHO_T}builtin version" >&6
3454 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3455 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3456 { (exit 1); exit 1; }; }
3463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3464 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3466 # Check whether --enable-shared or --disable-shared was given.
3467 if test "${enable_shared+set}" = set; then
3468 enableval
="$enable_shared"
3470 if test "$enableval" = yes; then
3471 ac_cv_use_shared
='wxUSE_SHARED=yes'
3473 ac_cv_use_shared
='wxUSE_SHARED=no'
3478 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3479 if test "x$LINE" != x
; then
3480 eval "DEFAULT_$LINE"
3485 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3489 eval "$ac_cv_use_shared"
3490 if test "$no_cache" != 1; then
3491 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3494 if test "$wxUSE_SHARED" = yes; then
3495 echo "$as_me:$LINENO: result: yes" >&5
3496 echo "${ECHO_T}yes" >&6
3498 echo "$as_me:$LINENO: result: no" >&5
3499 echo "${ECHO_T}no" >&6
3504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3505 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3507 # Check whether --enable-optimise or --disable-optimise was given.
3508 if test "${enable_optimise+set}" = set; then
3509 enableval
="$enable_optimise"
3511 if test "$enableval" = yes; then
3512 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3514 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3519 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3520 if test "x$LINE" != x
; then
3521 eval "DEFAULT_$LINE"
3526 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3530 eval "$ac_cv_use_optimise"
3531 if test "$no_cache" != 1; then
3532 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3535 if test "$wxUSE_OPTIMISE" = yes; then
3536 echo "$as_me:$LINENO: result: yes" >&5
3537 echo "${ECHO_T}yes" >&6
3539 echo "$as_me:$LINENO: result: no" >&5
3540 echo "${ECHO_T}no" >&6
3545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3546 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3548 # Check whether --enable-debug or --disable-debug was given.
3549 if test "${enable_debug+set}" = set; then
3550 enableval
="$enable_debug"
3552 if test "$enableval" = yes; then
3553 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3555 ac_cv_use_debug
='wxUSE_DEBUG=no'
3560 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3561 if test "x$LINE" != x
; then
3562 eval "DEFAULT_$LINE"
3567 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3571 eval "$ac_cv_use_debug"
3572 if test "$no_cache" != 1; then
3573 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3576 if test "$wxUSE_DEBUG" = yes; then
3577 echo "$as_me:$LINENO: result: yes" >&5
3578 echo "${ECHO_T}yes" >&6
3580 echo "$as_me:$LINENO: result: no" >&5
3581 echo "${ECHO_T}no" >&6
3586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3587 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3589 # Check whether --enable-stl or --disable-stl was given.
3590 if test "${enable_stl+set}" = set; then
3591 enableval
="$enable_stl"
3593 if test "$enableval" = yes; then
3594 ac_cv_use_stl
='wxUSE_STL=yes'
3596 ac_cv_use_stl
='wxUSE_STL=no'
3601 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3602 if test "x$LINE" != x
; then
3603 eval "DEFAULT_$LINE"
3608 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3612 eval "$ac_cv_use_stl"
3613 if test "$no_cache" != 1; then
3614 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3617 if test "$wxUSE_STL" = yes; then
3618 echo "$as_me:$LINENO: result: yes" >&5
3619 echo "${ECHO_T}yes" >&6
3621 echo "$as_me:$LINENO: result: no" >&5
3622 echo "${ECHO_T}no" >&6
3625 if test "$USE_OS2" = "1"; then
3628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3629 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3631 # Check whether --enable-omf or --disable-omf was given.
3632 if test "${enable_omf+set}" = set; then
3633 enableval
="$enable_omf"
3635 if test "$enableval" = yes; then
3636 ac_cv_use_omf
='wxUSE_OMF=yes'
3638 ac_cv_use_omf
='wxUSE_OMF=no'
3643 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3644 if test "x$LINE" != x
; then
3645 eval "DEFAULT_$LINE"
3650 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3654 eval "$ac_cv_use_omf"
3655 if test "$no_cache" != 1; then
3656 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3659 if test "$wxUSE_OMF" = yes; then
3660 echo "$as_me:$LINENO: result: yes" >&5
3661 echo "${ECHO_T}yes" >&6
3663 echo "$as_me:$LINENO: result: no" >&5
3664 echo "${ECHO_T}no" >&6
3669 if test "$wxUSE_DEBUG" = "yes"; then
3670 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3671 DEFAULT_wxUSE_DEBUG_INFO
=yes
3673 elif test "$wxUSE_DEBUG" = "no"; then
3674 DEFAULT_wxUSE_DEBUG_FLAG
=no
3675 DEFAULT_wxUSE_DEBUG_INFO
=no
3681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3682 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3684 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3685 if test "${enable_debug_flag+set}" = set; then
3686 enableval
="$enable_debug_flag"
3688 if test "$enableval" = yes; then
3689 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3691 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3696 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3697 if test "x$LINE" != x
; then
3698 eval "DEFAULT_$LINE"
3703 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3707 eval "$ac_cv_use_debug_flag"
3708 if test "$no_cache" != 1; then
3709 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3712 if test "$wxUSE_DEBUG_FLAG" = yes; then
3713 echo "$as_me:$LINENO: result: yes" >&5
3714 echo "${ECHO_T}yes" >&6
3716 echo "$as_me:$LINENO: result: no" >&5
3717 echo "${ECHO_T}no" >&6
3722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3723 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3725 # Check whether --enable-debug_info or --disable-debug_info was given.
3726 if test "${enable_debug_info+set}" = set; then
3727 enableval
="$enable_debug_info"
3729 if test "$enableval" = yes; then
3730 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3732 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3737 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3738 if test "x$LINE" != x
; then
3739 eval "DEFAULT_$LINE"
3744 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3748 eval "$ac_cv_use_debug_info"
3749 if test "$no_cache" != 1; then
3750 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3753 if test "$wxUSE_DEBUG_INFO" = yes; then
3754 echo "$as_me:$LINENO: result: yes" >&5
3755 echo "${ECHO_T}yes" >&6
3757 echo "$as_me:$LINENO: result: no" >&5
3758 echo "${ECHO_T}no" >&6
3763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3764 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3766 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3767 if test "${enable_debug_gdb+set}" = set; then
3768 enableval
="$enable_debug_gdb"
3770 if test "$enableval" = yes; then
3771 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3773 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3778 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3779 if test "x$LINE" != x
; then
3780 eval "DEFAULT_$LINE"
3785 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3789 eval "$ac_cv_use_debug_gdb"
3790 if test "$no_cache" != 1; then
3791 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3794 if test "$wxUSE_DEBUG_GDB" = yes; then
3795 echo "$as_me:$LINENO: result: yes" >&5
3796 echo "${ECHO_T}yes" >&6
3798 echo "$as_me:$LINENO: result: no" >&5
3799 echo "${ECHO_T}no" >&6
3804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3805 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3807 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3808 if test "${enable_debug_cntxt+set}" = set; then
3809 enableval
="$enable_debug_cntxt"
3811 if test "$enableval" = yes; then
3812 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3814 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3819 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3820 if test "x$LINE" != x
; then
3821 eval "DEFAULT_$LINE"
3826 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3830 eval "$ac_cv_use_debug_cntxt"
3831 if test "$no_cache" != 1; then
3832 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3835 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3836 echo "$as_me:$LINENO: result: yes" >&5
3837 echo "${ECHO_T}yes" >&6
3839 echo "$as_me:$LINENO: result: no" >&5
3840 echo "${ECHO_T}no" >&6
3845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3846 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3848 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3849 if test "${enable_mem_tracing+set}" = set; then
3850 enableval
="$enable_mem_tracing"
3852 if test "$enableval" = yes; then
3853 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3855 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3860 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3861 if test "x$LINE" != x
; then
3862 eval "DEFAULT_$LINE"
3867 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3871 eval "$ac_cv_use_mem_tracing"
3872 if test "$no_cache" != 1; then
3873 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3876 if test "$wxUSE_MEM_TRACING" = yes; then
3877 echo "$as_me:$LINENO: result: yes" >&5
3878 echo "${ECHO_T}yes" >&6
3880 echo "$as_me:$LINENO: result: no" >&5
3881 echo "${ECHO_T}no" >&6
3886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3887 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3889 # Check whether --enable-profile or --disable-profile was given.
3890 if test "${enable_profile+set}" = set; then
3891 enableval
="$enable_profile"
3893 if test "$enableval" = yes; then
3894 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3896 ac_cv_use_profile
='wxUSE_PROFILE=no'
3901 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3902 if test "x$LINE" != x
; then
3903 eval "DEFAULT_$LINE"
3908 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3912 eval "$ac_cv_use_profile"
3913 if test "$no_cache" != 1; then
3914 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3917 if test "$wxUSE_PROFILE" = yes; then
3918 echo "$as_me:$LINENO: result: yes" >&5
3919 echo "${ECHO_T}yes" >&6
3921 echo "$as_me:$LINENO: result: no" >&5
3922 echo "${ECHO_T}no" >&6
3927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3928 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3930 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3931 if test "${enable_no_rtti+set}" = set; then
3932 enableval
="$enable_no_rtti"
3934 if test "$enableval" = yes; then
3935 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3937 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3942 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3943 if test "x$LINE" != x
; then
3944 eval "DEFAULT_$LINE"
3949 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3953 eval "$ac_cv_use_no_rtti"
3954 if test "$no_cache" != 1; then
3955 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3958 if test "$wxUSE_NO_RTTI" = yes; then
3959 echo "$as_me:$LINENO: result: yes" >&5
3960 echo "${ECHO_T}yes" >&6
3962 echo "$as_me:$LINENO: result: no" >&5
3963 echo "${ECHO_T}no" >&6
3968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3969 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3971 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3972 if test "${enable_no_exceptions+set}" = set; then
3973 enableval
="$enable_no_exceptions"
3975 if test "$enableval" = yes; then
3976 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3978 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3983 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3984 if test "x$LINE" != x
; then
3985 eval "DEFAULT_$LINE"
3990 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3994 eval "$ac_cv_use_no_exceptions"
3995 if test "$no_cache" != 1; then
3996 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3999 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4000 echo "$as_me:$LINENO: result: yes" >&5
4001 echo "${ECHO_T}yes" >&6
4003 echo "$as_me:$LINENO: result: no" >&5
4004 echo "${ECHO_T}no" >&6
4009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4010 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4012 # Check whether --enable-permissive or --disable-permissive was given.
4013 if test "${enable_permissive+set}" = set; then
4014 enableval
="$enable_permissive"
4016 if test "$enableval" = yes; then
4017 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4019 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4024 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4025 if test "x$LINE" != x
; then
4026 eval "DEFAULT_$LINE"
4031 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4035 eval "$ac_cv_use_permissive"
4036 if test "$no_cache" != 1; then
4037 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4040 if test "$wxUSE_PERMISSIVE" = yes; then
4041 echo "$as_me:$LINENO: result: yes" >&5
4042 echo "${ECHO_T}yes" >&6
4044 echo "$as_me:$LINENO: result: no" >&5
4045 echo "${ECHO_T}no" >&6
4050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4051 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4053 # Check whether --enable-no_deps or --disable-no_deps was given.
4054 if test "${enable_no_deps+set}" = set; then
4055 enableval
="$enable_no_deps"
4057 if test "$enableval" = yes; then
4058 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4060 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4065 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4066 if test "x$LINE" != x
; then
4067 eval "DEFAULT_$LINE"
4072 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4076 eval "$ac_cv_use_no_deps"
4077 if test "$no_cache" != 1; then
4078 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4081 if test "$wxUSE_NO_DEPS" = yes; then
4082 echo "$as_me:$LINENO: result: yes" >&5
4083 echo "${ECHO_T}yes" >&6
4085 echo "$as_me:$LINENO: result: no" >&5
4086 echo "${ECHO_T}no" >&6
4092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4093 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4095 # Check whether --enable-compat22 or --disable-compat22 was given.
4096 if test "${enable_compat22+set}" = set; then
4097 enableval
="$enable_compat22"
4099 if test "$enableval" = yes; then
4100 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4102 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4107 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4108 if test "x$LINE" != x
; then
4109 eval "DEFAULT_$LINE"
4114 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4118 eval "$ac_cv_use_compat22"
4119 if test "$no_cache" != 1; then
4120 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4123 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4124 echo "$as_me:$LINENO: result: yes" >&5
4125 echo "${ECHO_T}yes" >&6
4127 echo "$as_me:$LINENO: result: no" >&5
4128 echo "${ECHO_T}no" >&6
4132 enablestring
=disable
4133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4134 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4136 # Check whether --enable-compat24 or --disable-compat24 was given.
4137 if test "${enable_compat24+set}" = set; then
4138 enableval
="$enable_compat24"
4140 if test "$enableval" = yes; then
4141 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4143 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4148 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4149 if test "x$LINE" != x
; then
4150 eval "DEFAULT_$LINE"
4155 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4159 eval "$ac_cv_use_compat24"
4160 if test "$no_cache" != 1; then
4161 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4164 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4165 echo "$as_me:$LINENO: result: yes" >&5
4166 echo "${ECHO_T}yes" >&6
4168 echo "$as_me:$LINENO: result: no" >&5
4169 echo "${ECHO_T}no" >&6
4175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4176 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4178 # Check whether --enable-rpath or --disable-rpath was given.
4179 if test "${enable_rpath+set}" = set; then
4180 enableval
="$enable_rpath"
4182 if test "$enableval" = yes; then
4183 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4185 ac_cv_use_rpath
='wxUSE_RPATH=no'
4190 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4191 if test "x$LINE" != x
; then
4192 eval "DEFAULT_$LINE"
4197 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4201 eval "$ac_cv_use_rpath"
4202 if test "$no_cache" != 1; then
4203 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4206 if test "$wxUSE_RPATH" = yes; then
4207 echo "$as_me:$LINENO: result: yes" >&5
4208 echo "${ECHO_T}yes" >&6
4210 echo "$as_me:$LINENO: result: no" >&5
4211 echo "${ECHO_T}no" >&6
4219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4220 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4222 # Check whether --enable-intl or --disable-intl was given.
4223 if test "${enable_intl+set}" = set; then
4224 enableval
="$enable_intl"
4226 if test "$enableval" = yes; then
4227 ac_cv_use_intl
='wxUSE_INTL=yes'
4229 ac_cv_use_intl
='wxUSE_INTL=no'
4234 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4235 if test "x$LINE" != x
; then
4236 eval "DEFAULT_$LINE"
4241 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4245 eval "$ac_cv_use_intl"
4246 if test "$no_cache" != 1; then
4247 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4250 if test "$wxUSE_INTL" = yes; then
4251 echo "$as_me:$LINENO: result: yes" >&5
4252 echo "${ECHO_T}yes" >&6
4254 echo "$as_me:$LINENO: result: no" >&5
4255 echo "${ECHO_T}no" >&6
4260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4261 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4263 # Check whether --enable-config or --disable-config was given.
4264 if test "${enable_config+set}" = set; then
4265 enableval
="$enable_config"
4267 if test "$enableval" = yes; then
4268 ac_cv_use_config
='wxUSE_CONFIG=yes'
4270 ac_cv_use_config
='wxUSE_CONFIG=no'
4275 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4276 if test "x$LINE" != x
; then
4277 eval "DEFAULT_$LINE"
4282 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4286 eval "$ac_cv_use_config"
4287 if test "$no_cache" != 1; then
4288 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4291 if test "$wxUSE_CONFIG" = yes; then
4292 echo "$as_me:$LINENO: result: yes" >&5
4293 echo "${ECHO_T}yes" >&6
4295 echo "$as_me:$LINENO: result: no" >&5
4296 echo "${ECHO_T}no" >&6
4302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4303 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4305 # Check whether --enable-protocols or --disable-protocols was given.
4306 if test "${enable_protocols+set}" = set; then
4307 enableval
="$enable_protocols"
4309 if test "$enableval" = yes; then
4310 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4312 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4317 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4318 if test "x$LINE" != x
; then
4319 eval "DEFAULT_$LINE"
4324 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4328 eval "$ac_cv_use_protocols"
4329 if test "$no_cache" != 1; then
4330 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4333 if test "$wxUSE_PROTOCOL" = yes; then
4334 echo "$as_me:$LINENO: result: yes" >&5
4335 echo "${ECHO_T}yes" >&6
4337 echo "$as_me:$LINENO: result: no" >&5
4338 echo "${ECHO_T}no" >&6
4343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4344 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4346 # Check whether --enable-ftp or --disable-ftp was given.
4347 if test "${enable_ftp+set}" = set; then
4348 enableval
="$enable_ftp"
4350 if test "$enableval" = yes; then
4351 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4353 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4358 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4359 if test "x$LINE" != x
; then
4360 eval "DEFAULT_$LINE"
4365 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4369 eval "$ac_cv_use_ftp"
4370 if test "$no_cache" != 1; then
4371 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4374 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4375 echo "$as_me:$LINENO: result: yes" >&5
4376 echo "${ECHO_T}yes" >&6
4378 echo "$as_me:$LINENO: result: no" >&5
4379 echo "${ECHO_T}no" >&6
4384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4385 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4387 # Check whether --enable-http or --disable-http was given.
4388 if test "${enable_http+set}" = set; then
4389 enableval
="$enable_http"
4391 if test "$enableval" = yes; then
4392 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4394 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4399 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4400 if test "x$LINE" != x
; then
4401 eval "DEFAULT_$LINE"
4406 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4410 eval "$ac_cv_use_http"
4411 if test "$no_cache" != 1; then
4412 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4415 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4416 echo "$as_me:$LINENO: result: yes" >&5
4417 echo "${ECHO_T}yes" >&6
4419 echo "$as_me:$LINENO: result: no" >&5
4420 echo "${ECHO_T}no" >&6
4425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4426 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4428 # Check whether --enable-fileproto or --disable-fileproto was given.
4429 if test "${enable_fileproto+set}" = set; then
4430 enableval
="$enable_fileproto"
4432 if test "$enableval" = yes; then
4433 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4435 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4440 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4441 if test "x$LINE" != x
; then
4442 eval "DEFAULT_$LINE"
4447 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4451 eval "$ac_cv_use_fileproto"
4452 if test "$no_cache" != 1; then
4453 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4456 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4457 echo "$as_me:$LINENO: result: yes" >&5
4458 echo "${ECHO_T}yes" >&6
4460 echo "$as_me:$LINENO: result: no" >&5
4461 echo "${ECHO_T}no" >&6
4466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4467 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4469 # Check whether --enable-sockets or --disable-sockets was given.
4470 if test "${enable_sockets+set}" = set; then
4471 enableval
="$enable_sockets"
4473 if test "$enableval" = yes; then
4474 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4476 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4481 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4482 if test "x$LINE" != x
; then
4483 eval "DEFAULT_$LINE"
4488 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4492 eval "$ac_cv_use_sockets"
4493 if test "$no_cache" != 1; then
4494 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4497 if test "$wxUSE_SOCKETS" = yes; then
4498 echo "$as_me:$LINENO: result: yes" >&5
4499 echo "${ECHO_T}yes" >&6
4501 echo "$as_me:$LINENO: result: no" >&5
4502 echo "${ECHO_T}no" >&6
4507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4508 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4510 # Check whether --enable-ole or --disable-ole was given.
4511 if test "${enable_ole+set}" = set; then
4512 enableval
="$enable_ole"
4514 if test "$enableval" = yes; then
4515 ac_cv_use_ole
='wxUSE_OLE=yes'
4517 ac_cv_use_ole
='wxUSE_OLE=no'
4522 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4523 if test "x$LINE" != x
; then
4524 eval "DEFAULT_$LINE"
4529 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4533 eval "$ac_cv_use_ole"
4534 if test "$no_cache" != 1; then
4535 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4538 if test "$wxUSE_OLE" = yes; then
4539 echo "$as_me:$LINENO: result: yes" >&5
4540 echo "${ECHO_T}yes" >&6
4542 echo "$as_me:$LINENO: result: no" >&5
4543 echo "${ECHO_T}no" >&6
4548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4549 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4551 # Check whether --enable-dataobj or --disable-dataobj was given.
4552 if test "${enable_dataobj+set}" = set; then
4553 enableval
="$enable_dataobj"
4555 if test "$enableval" = yes; then
4556 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4558 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4563 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4564 if test "x$LINE" != x
; then
4565 eval "DEFAULT_$LINE"
4570 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4574 eval "$ac_cv_use_dataobj"
4575 if test "$no_cache" != 1; then
4576 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4579 if test "$wxUSE_DATAOBJ" = yes; then
4580 echo "$as_me:$LINENO: result: yes" >&5
4581 echo "${ECHO_T}yes" >&6
4583 echo "$as_me:$LINENO: result: no" >&5
4584 echo "${ECHO_T}no" >&6
4590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4591 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4593 # Check whether --enable-ipc or --disable-ipc was given.
4594 if test "${enable_ipc+set}" = set; then
4595 enableval
="$enable_ipc"
4597 if test "$enableval" = yes; then
4598 ac_cv_use_ipc
='wxUSE_IPC=yes'
4600 ac_cv_use_ipc
='wxUSE_IPC=no'
4605 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4606 if test "x$LINE" != x
; then
4607 eval "DEFAULT_$LINE"
4612 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4616 eval "$ac_cv_use_ipc"
4617 if test "$no_cache" != 1; then
4618 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4621 if test "$wxUSE_IPC" = yes; then
4622 echo "$as_me:$LINENO: result: yes" >&5
4623 echo "${ECHO_T}yes" >&6
4625 echo "$as_me:$LINENO: result: no" >&5
4626 echo "${ECHO_T}no" >&6
4632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4633 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4635 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4636 if test "${enable_apple_ieee+set}" = set; then
4637 enableval
="$enable_apple_ieee"
4639 if test "$enableval" = yes; then
4640 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4642 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4647 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4648 if test "x$LINE" != x
; then
4649 eval "DEFAULT_$LINE"
4654 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4658 eval "$ac_cv_use_apple_ieee"
4659 if test "$no_cache" != 1; then
4660 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4663 if test "$wxUSE_APPLE_IEEE" = yes; then
4664 echo "$as_me:$LINENO: result: yes" >&5
4665 echo "${ECHO_T}yes" >&6
4667 echo "$as_me:$LINENO: result: no" >&5
4668 echo "${ECHO_T}no" >&6
4673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4674 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4676 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4677 if test "${enable_catch_segvs+set}" = set; then
4678 enableval
="$enable_catch_segvs"
4680 if test "$enableval" = yes; then
4681 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4683 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4688 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4689 if test "x$LINE" != x
; then
4690 eval "DEFAULT_$LINE"
4695 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4699 eval "$ac_cv_use_catch_segvs"
4700 if test "$no_cache" != 1; then
4701 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4704 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4705 echo "$as_me:$LINENO: result: yes" >&5
4706 echo "${ECHO_T}yes" >&6
4708 echo "$as_me:$LINENO: result: no" >&5
4709 echo "${ECHO_T}no" >&6
4714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4715 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4717 # Check whether --enable-backtrace or --disable-backtrace was given.
4718 if test "${enable_backtrace+set}" = set; then
4719 enableval
="$enable_backtrace"
4721 if test "$enableval" = yes; then
4722 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4724 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4729 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4730 if test "x$LINE" != x
; then
4731 eval "DEFAULT_$LINE"
4736 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4740 eval "$ac_cv_use_backtrace"
4741 if test "$no_cache" != 1; then
4742 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4745 if test "$wxUSE_STACKWALKER" = yes; then
4746 echo "$as_me:$LINENO: result: yes" >&5
4747 echo "${ECHO_T}yes" >&6
4749 echo "$as_me:$LINENO: result: no" >&5
4750 echo "${ECHO_T}no" >&6
4755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4756 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4758 # Check whether --enable-cmdline or --disable-cmdline was given.
4759 if test "${enable_cmdline+set}" = set; then
4760 enableval
="$enable_cmdline"
4762 if test "$enableval" = yes; then
4763 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4765 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4770 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4771 if test "x$LINE" != x
; then
4772 eval "DEFAULT_$LINE"
4777 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4781 eval "$ac_cv_use_cmdline"
4782 if test "$no_cache" != 1; then
4783 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4786 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4787 echo "$as_me:$LINENO: result: yes" >&5
4788 echo "${ECHO_T}yes" >&6
4790 echo "$as_me:$LINENO: result: no" >&5
4791 echo "${ECHO_T}no" >&6
4796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4797 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4799 # Check whether --enable-datetime or --disable-datetime was given.
4800 if test "${enable_datetime+set}" = set; then
4801 enableval
="$enable_datetime"
4803 if test "$enableval" = yes; then
4804 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4806 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4811 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4812 if test "x$LINE" != x
; then
4813 eval "DEFAULT_$LINE"
4818 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4822 eval "$ac_cv_use_datetime"
4823 if test "$no_cache" != 1; then
4824 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4827 if test "$wxUSE_DATETIME" = yes; then
4828 echo "$as_me:$LINENO: result: yes" >&5
4829 echo "${ECHO_T}yes" >&6
4831 echo "$as_me:$LINENO: result: no" >&5
4832 echo "${ECHO_T}no" >&6
4837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4838 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4840 # Check whether --enable-dialupman or --disable-dialupman was given.
4841 if test "${enable_dialupman+set}" = set; then
4842 enableval
="$enable_dialupman"
4844 if test "$enableval" = yes; then
4845 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4847 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4852 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4853 if test "x$LINE" != x
; then
4854 eval "DEFAULT_$LINE"
4859 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4863 eval "$ac_cv_use_dialupman"
4864 if test "$no_cache" != 1; then
4865 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4868 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4869 echo "$as_me:$LINENO: result: yes" >&5
4870 echo "${ECHO_T}yes" >&6
4872 echo "$as_me:$LINENO: result: no" >&5
4873 echo "${ECHO_T}no" >&6
4878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4879 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4881 # Check whether --enable-dynlib or --disable-dynlib was given.
4882 if test "${enable_dynlib+set}" = set; then
4883 enableval
="$enable_dynlib"
4885 if test "$enableval" = yes; then
4886 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4888 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4893 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4894 if test "x$LINE" != x
; then
4895 eval "DEFAULT_$LINE"
4900 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4904 eval "$ac_cv_use_dynlib"
4905 if test "$no_cache" != 1; then
4906 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4909 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4910 echo "$as_me:$LINENO: result: yes" >&5
4911 echo "${ECHO_T}yes" >&6
4913 echo "$as_me:$LINENO: result: no" >&5
4914 echo "${ECHO_T}no" >&6
4919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4920 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4922 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4923 if test "${enable_dynamicloader+set}" = set; then
4924 enableval
="$enable_dynamicloader"
4926 if test "$enableval" = yes; then
4927 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4929 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4934 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4935 if test "x$LINE" != x
; then
4936 eval "DEFAULT_$LINE"
4941 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4945 eval "$ac_cv_use_dynamicloader"
4946 if test "$no_cache" != 1; then
4947 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4950 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4951 echo "$as_me:$LINENO: result: yes" >&5
4952 echo "${ECHO_T}yes" >&6
4954 echo "$as_me:$LINENO: result: no" >&5
4955 echo "${ECHO_T}no" >&6
4960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4961 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4963 # Check whether --enable-exceptions or --disable-exceptions was given.
4964 if test "${enable_exceptions+set}" = set; then
4965 enableval
="$enable_exceptions"
4967 if test "$enableval" = yes; then
4968 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4970 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4975 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4976 if test "x$LINE" != x
; then
4977 eval "DEFAULT_$LINE"
4982 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4986 eval "$ac_cv_use_exceptions"
4987 if test "$no_cache" != 1; then
4988 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4991 if test "$wxUSE_EXCEPTIONS" = yes; then
4992 echo "$as_me:$LINENO: result: yes" >&5
4993 echo "${ECHO_T}yes" >&6
4995 echo "$as_me:$LINENO: result: no" >&5
4996 echo "${ECHO_T}no" >&6
5001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5002 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5004 # Check whether --enable-ffile or --disable-ffile was given.
5005 if test "${enable_ffile+set}" = set; then
5006 enableval
="$enable_ffile"
5008 if test "$enableval" = yes; then
5009 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5011 ac_cv_use_ffile
='wxUSE_FFILE=no'
5016 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5017 if test "x$LINE" != x
; then
5018 eval "DEFAULT_$LINE"
5023 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5027 eval "$ac_cv_use_ffile"
5028 if test "$no_cache" != 1; then
5029 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5032 if test "$wxUSE_FFILE" = yes; then
5033 echo "$as_me:$LINENO: result: yes" >&5
5034 echo "${ECHO_T}yes" >&6
5036 echo "$as_me:$LINENO: result: no" >&5
5037 echo "${ECHO_T}no" >&6
5042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5043 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5045 # Check whether --enable-file or --disable-file was given.
5046 if test "${enable_file+set}" = set; then
5047 enableval
="$enable_file"
5049 if test "$enableval" = yes; then
5050 ac_cv_use_file
='wxUSE_FILE=yes'
5052 ac_cv_use_file
='wxUSE_FILE=no'
5057 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5058 if test "x$LINE" != x
; then
5059 eval "DEFAULT_$LINE"
5064 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5068 eval "$ac_cv_use_file"
5069 if test "$no_cache" != 1; then
5070 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5073 if test "$wxUSE_FILE" = yes; then
5074 echo "$as_me:$LINENO: result: yes" >&5
5075 echo "${ECHO_T}yes" >&6
5077 echo "$as_me:$LINENO: result: no" >&5
5078 echo "${ECHO_T}no" >&6
5083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5084 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5086 # Check whether --enable-filesystem or --disable-filesystem was given.
5087 if test "${enable_filesystem+set}" = set; then
5088 enableval
="$enable_filesystem"
5090 if test "$enableval" = yes; then
5091 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5093 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5098 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5099 if test "x$LINE" != x
; then
5100 eval "DEFAULT_$LINE"
5105 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5109 eval "$ac_cv_use_filesystem"
5110 if test "$no_cache" != 1; then
5111 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5114 if test "$wxUSE_FILESYSTEM" = yes; then
5115 echo "$as_me:$LINENO: result: yes" >&5
5116 echo "${ECHO_T}yes" >&6
5118 echo "$as_me:$LINENO: result: no" >&5
5119 echo "${ECHO_T}no" >&6
5124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5125 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5127 # Check whether --enable-fontmap or --disable-fontmap was given.
5128 if test "${enable_fontmap+set}" = set; then
5129 enableval
="$enable_fontmap"
5131 if test "$enableval" = yes; then
5132 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5134 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5139 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5140 if test "x$LINE" != x
; then
5141 eval "DEFAULT_$LINE"
5146 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5150 eval "$ac_cv_use_fontmap"
5151 if test "$no_cache" != 1; then
5152 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5155 if test "$wxUSE_FONTMAP" = yes; then
5156 echo "$as_me:$LINENO: result: yes" >&5
5157 echo "${ECHO_T}yes" >&6
5159 echo "$as_me:$LINENO: result: no" >&5
5160 echo "${ECHO_T}no" >&6
5165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5166 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5168 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5169 if test "${enable_fs_inet+set}" = set; then
5170 enableval
="$enable_fs_inet"
5172 if test "$enableval" = yes; then
5173 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5175 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5180 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5181 if test "x$LINE" != x
; then
5182 eval "DEFAULT_$LINE"
5187 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5191 eval "$ac_cv_use_fs_inet"
5192 if test "$no_cache" != 1; then
5193 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5196 if test "$wxUSE_FS_INET" = yes; then
5197 echo "$as_me:$LINENO: result: yes" >&5
5198 echo "${ECHO_T}yes" >&6
5200 echo "$as_me:$LINENO: result: no" >&5
5201 echo "${ECHO_T}no" >&6
5206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5207 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5209 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5210 if test "${enable_fs_zip+set}" = set; then
5211 enableval
="$enable_fs_zip"
5213 if test "$enableval" = yes; then
5214 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5216 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5221 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5222 if test "x$LINE" != x
; then
5223 eval "DEFAULT_$LINE"
5228 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5232 eval "$ac_cv_use_fs_zip"
5233 if test "$no_cache" != 1; then
5234 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5237 if test "$wxUSE_FS_ZIP" = yes; then
5238 echo "$as_me:$LINENO: result: yes" >&5
5239 echo "${ECHO_T}yes" >&6
5241 echo "$as_me:$LINENO: result: no" >&5
5242 echo "${ECHO_T}no" >&6
5247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5248 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5250 # Check whether --enable-geometry or --disable-geometry was given.
5251 if test "${enable_geometry+set}" = set; then
5252 enableval
="$enable_geometry"
5254 if test "$enableval" = yes; then
5255 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5257 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5262 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5263 if test "x$LINE" != x
; then
5264 eval "DEFAULT_$LINE"
5269 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5273 eval "$ac_cv_use_geometry"
5274 if test "$no_cache" != 1; then
5275 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5278 if test "$wxUSE_GEOMETRY" = yes; then
5279 echo "$as_me:$LINENO: result: yes" >&5
5280 echo "${ECHO_T}yes" >&6
5282 echo "$as_me:$LINENO: result: no" >&5
5283 echo "${ECHO_T}no" >&6
5288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5289 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5291 # Check whether --enable-log or --disable-log was given.
5292 if test "${enable_log+set}" = set; then
5293 enableval
="$enable_log"
5295 if test "$enableval" = yes; then
5296 ac_cv_use_log
='wxUSE_LOG=yes'
5298 ac_cv_use_log
='wxUSE_LOG=no'
5303 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5304 if test "x$LINE" != x
; then
5305 eval "DEFAULT_$LINE"
5310 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5314 eval "$ac_cv_use_log"
5315 if test "$no_cache" != 1; then
5316 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5319 if test "$wxUSE_LOG" = yes; then
5320 echo "$as_me:$LINENO: result: yes" >&5
5321 echo "${ECHO_T}yes" >&6
5323 echo "$as_me:$LINENO: result: no" >&5
5324 echo "${ECHO_T}no" >&6
5329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5330 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5332 # Check whether --enable-longlong or --disable-longlong was given.
5333 if test "${enable_longlong+set}" = set; then
5334 enableval
="$enable_longlong"
5336 if test "$enableval" = yes; then
5337 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5339 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5344 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5345 if test "x$LINE" != x
; then
5346 eval "DEFAULT_$LINE"
5351 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5355 eval "$ac_cv_use_longlong"
5356 if test "$no_cache" != 1; then
5357 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5360 if test "$wxUSE_LONGLONG" = yes; then
5361 echo "$as_me:$LINENO: result: yes" >&5
5362 echo "${ECHO_T}yes" >&6
5364 echo "$as_me:$LINENO: result: no" >&5
5365 echo "${ECHO_T}no" >&6
5370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5371 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5373 # Check whether --enable-mimetype or --disable-mimetype was given.
5374 if test "${enable_mimetype+set}" = set; then
5375 enableval
="$enable_mimetype"
5377 if test "$enableval" = yes; then
5378 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5380 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5385 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5386 if test "x$LINE" != x
; then
5387 eval "DEFAULT_$LINE"
5392 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5396 eval "$ac_cv_use_mimetype"
5397 if test "$no_cache" != 1; then
5398 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5401 if test "$wxUSE_MIMETYPE" = yes; then
5402 echo "$as_me:$LINENO: result: yes" >&5
5403 echo "${ECHO_T}yes" >&6
5405 echo "$as_me:$LINENO: result: no" >&5
5406 echo "${ECHO_T}no" >&6
5411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5412 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5414 # Check whether --enable-mslu or --disable-mslu was given.
5415 if test "${enable_mslu+set}" = set; then
5416 enableval
="$enable_mslu"
5418 if test "$enableval" = yes; then
5419 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5421 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5426 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5427 if test "x$LINE" != x
; then
5428 eval "DEFAULT_$LINE"
5433 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5437 eval "$ac_cv_use_mslu"
5438 if test "$no_cache" != 1; then
5439 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5442 if test "$wxUSE_UNICODE_MSLU" = yes; then
5443 echo "$as_me:$LINENO: result: yes" >&5
5444 echo "${ECHO_T}yes" >&6
5446 echo "$as_me:$LINENO: result: no" >&5
5447 echo "${ECHO_T}no" >&6
5452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5453 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5455 # Check whether --enable-snglinst or --disable-snglinst was given.
5456 if test "${enable_snglinst+set}" = set; then
5457 enableval
="$enable_snglinst"
5459 if test "$enableval" = yes; then
5460 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5462 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5467 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5468 if test "x$LINE" != x
; then
5469 eval "DEFAULT_$LINE"
5474 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5478 eval "$ac_cv_use_snglinst"
5479 if test "$no_cache" != 1; then
5480 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5483 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5484 echo "$as_me:$LINENO: result: yes" >&5
5485 echo "${ECHO_T}yes" >&6
5487 echo "$as_me:$LINENO: result: no" >&5
5488 echo "${ECHO_T}no" >&6
5493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5494 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5496 # Check whether --enable-streams or --disable-streams was given.
5497 if test "${enable_streams+set}" = set; then
5498 enableval
="$enable_streams"
5500 if test "$enableval" = yes; then
5501 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5503 ac_cv_use_streams
='wxUSE_STREAMS=no'
5508 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5509 if test "x$LINE" != x
; then
5510 eval "DEFAULT_$LINE"
5515 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5519 eval "$ac_cv_use_streams"
5520 if test "$no_cache" != 1; then
5521 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5524 if test "$wxUSE_STREAMS" = yes; then
5525 echo "$as_me:$LINENO: result: yes" >&5
5526 echo "${ECHO_T}yes" >&6
5528 echo "$as_me:$LINENO: result: no" >&5
5529 echo "${ECHO_T}no" >&6
5534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5535 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5537 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5538 if test "${enable_std_iostreams+set}" = set; then
5539 enableval
="$enable_std_iostreams"
5541 if test "$enableval" = yes; then
5542 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5544 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5549 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5550 if test "x$LINE" != x
; then
5551 eval "DEFAULT_$LINE"
5556 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5560 eval "$ac_cv_use_std_iostreams"
5561 if test "$no_cache" != 1; then
5562 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5565 if test "$wxUSE_STD_IOSTREAM" = yes; then
5566 echo "$as_me:$LINENO: result: yes" >&5
5567 echo "${ECHO_T}yes" >&6
5569 echo "$as_me:$LINENO: result: no" >&5
5570 echo "${ECHO_T}no" >&6
5575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5576 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5578 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5579 if test "${enable_stopwatch+set}" = set; then
5580 enableval
="$enable_stopwatch"
5582 if test "$enableval" = yes; then
5583 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5585 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5590 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5591 if test "x$LINE" != x
; then
5592 eval "DEFAULT_$LINE"
5597 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5601 eval "$ac_cv_use_stopwatch"
5602 if test "$no_cache" != 1; then
5603 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5606 if test "$wxUSE_STOPWATCH" = yes; then
5607 echo "$as_me:$LINENO: result: yes" >&5
5608 echo "${ECHO_T}yes" >&6
5610 echo "$as_me:$LINENO: result: no" >&5
5611 echo "${ECHO_T}no" >&6
5616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5617 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5619 # Check whether --enable-system_options or --disable-system_options was given.
5620 if test "${enable_system_options+set}" = set; then
5621 enableval
="$enable_system_options"
5623 if test "$enableval" = yes; then
5624 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5626 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5631 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5632 if test "x$LINE" != x
; then
5633 eval "DEFAULT_$LINE"
5638 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5642 eval "$ac_cv_use_system_options"
5643 if test "$no_cache" != 1; then
5644 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5647 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5648 echo "$as_me:$LINENO: result: yes" >&5
5649 echo "${ECHO_T}yes" >&6
5651 echo "$as_me:$LINENO: result: no" >&5
5652 echo "${ECHO_T}no" >&6
5657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5658 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5660 # Check whether --enable-textbuf or --disable-textbuf was given.
5661 if test "${enable_textbuf+set}" = set; then
5662 enableval
="$enable_textbuf"
5664 if test "$enableval" = yes; then
5665 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5667 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5672 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5673 if test "x$LINE" != x
; then
5674 eval "DEFAULT_$LINE"
5679 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5683 eval "$ac_cv_use_textbuf"
5684 if test "$no_cache" != 1; then
5685 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5688 if test "$wxUSE_TEXTBUFFER" = yes; then
5689 echo "$as_me:$LINENO: result: yes" >&5
5690 echo "${ECHO_T}yes" >&6
5692 echo "$as_me:$LINENO: result: no" >&5
5693 echo "${ECHO_T}no" >&6
5698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5699 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5701 # Check whether --enable-textfile or --disable-textfile was given.
5702 if test "${enable_textfile+set}" = set; then
5703 enableval
="$enable_textfile"
5705 if test "$enableval" = yes; then
5706 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5708 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5713 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5714 if test "x$LINE" != x
; then
5715 eval "DEFAULT_$LINE"
5720 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5724 eval "$ac_cv_use_textfile"
5725 if test "$no_cache" != 1; then
5726 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5729 if test "$wxUSE_TEXTFILE" = yes; then
5730 echo "$as_me:$LINENO: result: yes" >&5
5731 echo "${ECHO_T}yes" >&6
5733 echo "$as_me:$LINENO: result: no" >&5
5734 echo "${ECHO_T}no" >&6
5739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5740 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5742 # Check whether --enable-timer or --disable-timer was given.
5743 if test "${enable_timer+set}" = set; then
5744 enableval
="$enable_timer"
5746 if test "$enableval" = yes; then
5747 ac_cv_use_timer
='wxUSE_TIMER=yes'
5749 ac_cv_use_timer
='wxUSE_TIMER=no'
5754 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5755 if test "x$LINE" != x
; then
5756 eval "DEFAULT_$LINE"
5761 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5765 eval "$ac_cv_use_timer"
5766 if test "$no_cache" != 1; then
5767 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5770 if test "$wxUSE_TIMER" = yes; then
5771 echo "$as_me:$LINENO: result: yes" >&5
5772 echo "${ECHO_T}yes" >&6
5774 echo "$as_me:$LINENO: result: no" >&5
5775 echo "${ECHO_T}no" >&6
5780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5781 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5783 # Check whether --enable-unicode or --disable-unicode was given.
5784 if test "${enable_unicode+set}" = set; then
5785 enableval
="$enable_unicode"
5787 if test "$enableval" = yes; then
5788 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5790 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5795 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5796 if test "x$LINE" != x
; then
5797 eval "DEFAULT_$LINE"
5802 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5806 eval "$ac_cv_use_unicode"
5807 if test "$no_cache" != 1; then
5808 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5811 if test "$wxUSE_UNICODE" = yes; then
5812 echo "$as_me:$LINENO: result: yes" >&5
5813 echo "${ECHO_T}yes" >&6
5815 echo "$as_me:$LINENO: result: no" >&5
5816 echo "${ECHO_T}no" >&6
5821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5822 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5824 # Check whether --enable-sound or --disable-sound was given.
5825 if test "${enable_sound+set}" = set; then
5826 enableval
="$enable_sound"
5828 if test "$enableval" = yes; then
5829 ac_cv_use_sound
='wxUSE_SOUND=yes'
5831 ac_cv_use_sound
='wxUSE_SOUND=no'
5836 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5837 if test "x$LINE" != x
; then
5838 eval "DEFAULT_$LINE"
5843 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5847 eval "$ac_cv_use_sound"
5848 if test "$no_cache" != 1; then
5849 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5852 if test "$wxUSE_SOUND" = yes; then
5853 echo "$as_me:$LINENO: result: yes" >&5
5854 echo "${ECHO_T}yes" >&6
5856 echo "$as_me:$LINENO: result: no" >&5
5857 echo "${ECHO_T}no" >&6
5862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5863 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5865 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5866 if test "${enable_mediactrl+set}" = set; then
5867 enableval
="$enable_mediactrl"
5869 if test "$enableval" = yes; then
5870 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
5872 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
5877 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
5878 if test "x$LINE" != x
; then
5879 eval "DEFAULT_$LINE"
5884 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
5888 eval "$ac_cv_use_mediactrl"
5889 if test "$no_cache" != 1; then
5890 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
5893 if test "$wxUSE_MEDIACTRL" = yes; then
5894 echo "$as_me:$LINENO: result: yes" >&5
5895 echo "${ECHO_T}yes" >&6
5897 echo "$as_me:$LINENO: result: no" >&5
5898 echo "${ECHO_T}no" >&6
5903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5904 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5906 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5907 if test "${enable_wxprintfv+set}" = set; then
5908 enableval
="$enable_wxprintfv"
5910 if test "$enableval" = yes; then
5911 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5913 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5918 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5919 if test "x$LINE" != x
; then
5920 eval "DEFAULT_$LINE"
5925 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5929 eval "$ac_cv_use_wxprintfv"
5930 if test "$no_cache" != 1; then
5931 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5934 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5935 echo "$as_me:$LINENO: result: yes" >&5
5936 echo "${ECHO_T}yes" >&6
5938 echo "$as_me:$LINENO: result: no" >&5
5939 echo "${ECHO_T}no" >&6
5944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5945 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5947 # Check whether --enable-zipstream or --disable-zipstream was given.
5948 if test "${enable_zipstream+set}" = set; then
5949 enableval
="$enable_zipstream"
5951 if test "$enableval" = yes; then
5952 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5954 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5959 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5960 if test "x$LINE" != x
; then
5961 eval "DEFAULT_$LINE"
5966 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5970 eval "$ac_cv_use_zipstream"
5971 if test "$no_cache" != 1; then
5972 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5975 if test "$wxUSE_ZIPSTREAM" = yes; then
5976 echo "$as_me:$LINENO: result: yes" >&5
5977 echo "${ECHO_T}yes" >&6
5979 echo "$as_me:$LINENO: result: no" >&5
5980 echo "${ECHO_T}no" >&6
5986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5987 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5989 # Check whether --enable-url or --disable-url was given.
5990 if test "${enable_url+set}" = set; then
5991 enableval
="$enable_url"
5993 if test "$enableval" = yes; then
5994 ac_cv_use_url
='wxUSE_URL=yes'
5996 ac_cv_use_url
='wxUSE_URL=no'
6001 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6002 if test "x$LINE" != x
; then
6003 eval "DEFAULT_$LINE"
6008 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6012 eval "$ac_cv_use_url"
6013 if test "$no_cache" != 1; then
6014 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6017 if test "$wxUSE_URL" = yes; then
6018 echo "$as_me:$LINENO: result: yes" >&5
6019 echo "${ECHO_T}yes" >&6
6021 echo "$as_me:$LINENO: result: no" >&5
6022 echo "${ECHO_T}no" >&6
6027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6028 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6030 # Check whether --enable-protocol or --disable-protocol was given.
6031 if test "${enable_protocol+set}" = set; then
6032 enableval
="$enable_protocol"
6034 if test "$enableval" = yes; then
6035 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6037 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6042 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6043 if test "x$LINE" != x
; then
6044 eval "DEFAULT_$LINE"
6049 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6053 eval "$ac_cv_use_protocol"
6054 if test "$no_cache" != 1; then
6055 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6058 if test "$wxUSE_PROTOCOL" = yes; then
6059 echo "$as_me:$LINENO: result: yes" >&5
6060 echo "${ECHO_T}yes" >&6
6062 echo "$as_me:$LINENO: result: no" >&5
6063 echo "${ECHO_T}no" >&6
6068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6069 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6071 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6072 if test "${enable_protocol_http+set}" = set; then
6073 enableval
="$enable_protocol_http"
6075 if test "$enableval" = yes; then
6076 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6078 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6083 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6084 if test "x$LINE" != x
; then
6085 eval "DEFAULT_$LINE"
6090 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6094 eval "$ac_cv_use_protocol_http"
6095 if test "$no_cache" != 1; then
6096 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6099 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6100 echo "$as_me:$LINENO: result: yes" >&5
6101 echo "${ECHO_T}yes" >&6
6103 echo "$as_me:$LINENO: result: no" >&5
6104 echo "${ECHO_T}no" >&6
6109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6110 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6112 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6113 if test "${enable_protocol_ftp+set}" = set; then
6114 enableval
="$enable_protocol_ftp"
6116 if test "$enableval" = yes; then
6117 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6119 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6124 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6125 if test "x$LINE" != x
; then
6126 eval "DEFAULT_$LINE"
6131 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6135 eval "$ac_cv_use_protocol_ftp"
6136 if test "$no_cache" != 1; then
6137 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6140 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6141 echo "$as_me:$LINENO: result: yes" >&5
6142 echo "${ECHO_T}yes" >&6
6144 echo "$as_me:$LINENO: result: no" >&5
6145 echo "${ECHO_T}no" >&6
6150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6151 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6153 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6154 if test "${enable_protocol_file+set}" = set; then
6155 enableval
="$enable_protocol_file"
6157 if test "$enableval" = yes; then
6158 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6160 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6165 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6166 if test "x$LINE" != x
; then
6167 eval "DEFAULT_$LINE"
6172 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6176 eval "$ac_cv_use_protocol_file"
6177 if test "$no_cache" != 1; then
6178 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6181 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6182 echo "$as_me:$LINENO: result: yes" >&5
6183 echo "${ECHO_T}yes" >&6
6185 echo "$as_me:$LINENO: result: no" >&5
6186 echo "${ECHO_T}no" >&6
6194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6195 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6197 # Check whether --enable-threads or --disable-threads was given.
6198 if test "${enable_threads+set}" = set; then
6199 enableval
="$enable_threads"
6201 if test "$enableval" = yes; then
6202 ac_cv_use_threads
='wxUSE_THREADS=yes'
6204 ac_cv_use_threads
='wxUSE_THREADS=no'
6209 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6210 if test "x$LINE" != x
; then
6211 eval "DEFAULT_$LINE"
6216 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6220 eval "$ac_cv_use_threads"
6221 if test "$no_cache" != 1; then
6222 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6225 if test "$wxUSE_THREADS" = yes; then
6226 echo "$as_me:$LINENO: result: yes" >&5
6227 echo "${ECHO_T}yes" >&6
6229 echo "$as_me:$LINENO: result: no" >&5
6230 echo "${ECHO_T}no" >&6
6234 if test "$wxUSE_GUI" = "yes"; then
6239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6240 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6242 # Check whether --enable-docview or --disable-docview was given.
6243 if test "${enable_docview+set}" = set; then
6244 enableval
="$enable_docview"
6246 if test "$enableval" = yes; then
6247 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6249 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6254 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6255 if test "x$LINE" != x
; then
6256 eval "DEFAULT_$LINE"
6261 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6265 eval "$ac_cv_use_docview"
6266 if test "$no_cache" != 1; then
6267 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6270 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6271 echo "$as_me:$LINENO: result: yes" >&5
6272 echo "${ECHO_T}yes" >&6
6274 echo "$as_me:$LINENO: result: no" >&5
6275 echo "${ECHO_T}no" >&6
6280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6281 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6283 # Check whether --enable-help or --disable-help was given.
6284 if test "${enable_help+set}" = set; then
6285 enableval
="$enable_help"
6287 if test "$enableval" = yes; then
6288 ac_cv_use_help
='wxUSE_HELP=yes'
6290 ac_cv_use_help
='wxUSE_HELP=no'
6295 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6296 if test "x$LINE" != x
; then
6297 eval "DEFAULT_$LINE"
6302 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6306 eval "$ac_cv_use_help"
6307 if test "$no_cache" != 1; then
6308 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6311 if test "$wxUSE_HELP" = yes; then
6312 echo "$as_me:$LINENO: result: yes" >&5
6313 echo "${ECHO_T}yes" >&6
6315 echo "$as_me:$LINENO: result: no" >&5
6316 echo "${ECHO_T}no" >&6
6321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6322 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6324 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6325 if test "${enable_mshtmlhelp+set}" = set; then
6326 enableval
="$enable_mshtmlhelp"
6328 if test "$enableval" = yes; then
6329 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6331 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6336 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6337 if test "x$LINE" != x
; then
6338 eval "DEFAULT_$LINE"
6343 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6347 eval "$ac_cv_use_mshtmlhelp"
6348 if test "$no_cache" != 1; then
6349 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6352 if test "$wxUSE_MS_HTML_HELP" = yes; then
6353 echo "$as_me:$LINENO: result: yes" >&5
6354 echo "${ECHO_T}yes" >&6
6356 echo "$as_me:$LINENO: result: no" >&5
6357 echo "${ECHO_T}no" >&6
6362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6363 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6365 # Check whether --enable-html or --disable-html was given.
6366 if test "${enable_html+set}" = set; then
6367 enableval
="$enable_html"
6369 if test "$enableval" = yes; then
6370 ac_cv_use_html
='wxUSE_HTML=yes'
6372 ac_cv_use_html
='wxUSE_HTML=no'
6377 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6378 if test "x$LINE" != x
; then
6379 eval "DEFAULT_$LINE"
6384 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6388 eval "$ac_cv_use_html"
6389 if test "$no_cache" != 1; then
6390 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6393 if test "$wxUSE_HTML" = yes; then
6394 echo "$as_me:$LINENO: result: yes" >&5
6395 echo "${ECHO_T}yes" >&6
6397 echo "$as_me:$LINENO: result: no" >&5
6398 echo "${ECHO_T}no" >&6
6403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6404 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6406 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6407 if test "${enable_htmlhelp+set}" = set; then
6408 enableval
="$enable_htmlhelp"
6410 if test "$enableval" = yes; then
6411 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6413 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6418 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6419 if test "x$LINE" != x
; then
6420 eval "DEFAULT_$LINE"
6425 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6429 eval "$ac_cv_use_htmlhelp"
6430 if test "$no_cache" != 1; then
6431 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6434 if test "$wxUSE_WXHTML_HELP" = yes; then
6435 echo "$as_me:$LINENO: result: yes" >&5
6436 echo "${ECHO_T}yes" >&6
6438 echo "$as_me:$LINENO: result: no" >&5
6439 echo "${ECHO_T}no" >&6
6444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6445 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6447 # Check whether --enable-xrc or --disable-xrc was given.
6448 if test "${enable_xrc+set}" = set; then
6449 enableval
="$enable_xrc"
6451 if test "$enableval" = yes; then
6452 ac_cv_use_xrc
='wxUSE_XRC=yes'
6454 ac_cv_use_xrc
='wxUSE_XRC=no'
6459 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6460 if test "x$LINE" != x
; then
6461 eval "DEFAULT_$LINE"
6466 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6470 eval "$ac_cv_use_xrc"
6471 if test "$no_cache" != 1; then
6472 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6475 if test "$wxUSE_XRC" = yes; then
6476 echo "$as_me:$LINENO: result: yes" >&5
6477 echo "${ECHO_T}yes" >&6
6479 echo "$as_me:$LINENO: result: no" >&5
6480 echo "${ECHO_T}no" >&6
6485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6486 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6488 # Check whether --enable-constraints or --disable-constraints was given.
6489 if test "${enable_constraints+set}" = set; then
6490 enableval
="$enable_constraints"
6492 if test "$enableval" = yes; then
6493 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6495 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6500 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6501 if test "x$LINE" != x
; then
6502 eval "DEFAULT_$LINE"
6507 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6511 eval "$ac_cv_use_constraints"
6512 if test "$no_cache" != 1; then
6513 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6516 if test "$wxUSE_CONSTRAINTS" = yes; then
6517 echo "$as_me:$LINENO: result: yes" >&5
6518 echo "${ECHO_T}yes" >&6
6520 echo "$as_me:$LINENO: result: no" >&5
6521 echo "${ECHO_T}no" >&6
6526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6527 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6529 # Check whether --enable-printarch or --disable-printarch was given.
6530 if test "${enable_printarch+set}" = set; then
6531 enableval
="$enable_printarch"
6533 if test "$enableval" = yes; then
6534 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6536 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6541 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6542 if test "x$LINE" != x
; then
6543 eval "DEFAULT_$LINE"
6548 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6552 eval "$ac_cv_use_printarch"
6553 if test "$no_cache" != 1; then
6554 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6557 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6558 echo "$as_me:$LINENO: result: yes" >&5
6559 echo "${ECHO_T}yes" >&6
6561 echo "$as_me:$LINENO: result: no" >&5
6562 echo "${ECHO_T}no" >&6
6567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6568 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6570 # Check whether --enable-mdi or --disable-mdi was given.
6571 if test "${enable_mdi+set}" = set; then
6572 enableval
="$enable_mdi"
6574 if test "$enableval" = yes; then
6575 ac_cv_use_mdi
='wxUSE_MDI=yes'
6577 ac_cv_use_mdi
='wxUSE_MDI=no'
6582 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6583 if test "x$LINE" != x
; then
6584 eval "DEFAULT_$LINE"
6589 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6593 eval "$ac_cv_use_mdi"
6594 if test "$no_cache" != 1; then
6595 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6598 if test "$wxUSE_MDI" = yes; then
6599 echo "$as_me:$LINENO: result: yes" >&5
6600 echo "${ECHO_T}yes" >&6
6602 echo "$as_me:$LINENO: result: no" >&5
6603 echo "${ECHO_T}no" >&6
6608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6609 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6611 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6612 if test "${enable_mdidoc+set}" = set; then
6613 enableval
="$enable_mdidoc"
6615 if test "$enableval" = yes; then
6616 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6618 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6623 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6624 if test "x$LINE" != x
; then
6625 eval "DEFAULT_$LINE"
6630 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6634 eval "$ac_cv_use_mdidoc"
6635 if test "$no_cache" != 1; then
6636 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6639 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6640 echo "$as_me:$LINENO: result: yes" >&5
6641 echo "${ECHO_T}yes" >&6
6643 echo "$as_me:$LINENO: result: no" >&5
6644 echo "${ECHO_T}no" >&6
6649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6650 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6652 # Check whether --enable-loggui or --disable-loggui was given.
6653 if test "${enable_loggui+set}" = set; then
6654 enableval
="$enable_loggui"
6656 if test "$enableval" = yes; then
6657 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6659 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6664 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6665 if test "x$LINE" != x
; then
6666 eval "DEFAULT_$LINE"
6671 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6675 eval "$ac_cv_use_loggui"
6676 if test "$no_cache" != 1; then
6677 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6680 if test "$wxUSE_LOGGUI" = yes; then
6681 echo "$as_me:$LINENO: result: yes" >&5
6682 echo "${ECHO_T}yes" >&6
6684 echo "$as_me:$LINENO: result: no" >&5
6685 echo "${ECHO_T}no" >&6
6690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6691 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6693 # Check whether --enable-logwin or --disable-logwin was given.
6694 if test "${enable_logwin+set}" = set; then
6695 enableval
="$enable_logwin"
6697 if test "$enableval" = yes; then
6698 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6700 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6705 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6706 if test "x$LINE" != x
; then
6707 eval "DEFAULT_$LINE"
6712 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6716 eval "$ac_cv_use_logwin"
6717 if test "$no_cache" != 1; then
6718 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6721 if test "$wxUSE_LOGWINDOW" = yes; then
6722 echo "$as_me:$LINENO: result: yes" >&5
6723 echo "${ECHO_T}yes" >&6
6725 echo "$as_me:$LINENO: result: no" >&5
6726 echo "${ECHO_T}no" >&6
6731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6732 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6734 # Check whether --enable-logdialog or --disable-logdialog was given.
6735 if test "${enable_logdialog+set}" = set; then
6736 enableval
="$enable_logdialog"
6738 if test "$enableval" = yes; then
6739 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6741 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6746 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6747 if test "x$LINE" != x
; then
6748 eval "DEFAULT_$LINE"
6753 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6757 eval "$ac_cv_use_logdialog"
6758 if test "$no_cache" != 1; then
6759 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6762 if test "$wxUSE_LOGDIALOG" = yes; then
6763 echo "$as_me:$LINENO: result: yes" >&5
6764 echo "${ECHO_T}yes" >&6
6766 echo "$as_me:$LINENO: result: no" >&5
6767 echo "${ECHO_T}no" >&6
6772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6773 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6775 # Check whether --enable-webkit or --disable-webkit was given.
6776 if test "${enable_webkit+set}" = set; then
6777 enableval
="$enable_webkit"
6779 if test "$enableval" = yes; then
6780 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6782 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6787 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6788 if test "x$LINE" != x
; then
6789 eval "DEFAULT_$LINE"
6794 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6798 eval "$ac_cv_use_webkit"
6799 if test "$no_cache" != 1; then
6800 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6803 if test "$wxUSE_WEBKIT" = yes; then
6804 echo "$as_me:$LINENO: result: yes" >&5
6805 echo "${ECHO_T}yes" >&6
6807 echo "$as_me:$LINENO: result: no" >&5
6808 echo "${ECHO_T}no" >&6
6814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6815 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6817 # Check whether --enable-postscript or --disable-postscript was given.
6818 if test "${enable_postscript+set}" = set; then
6819 enableval
="$enable_postscript"
6821 if test "$enableval" = yes; then
6822 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6824 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6829 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6830 if test "x$LINE" != x
; then
6831 eval "DEFAULT_$LINE"
6836 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6840 eval "$ac_cv_use_postscript"
6841 if test "$no_cache" != 1; then
6842 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6845 if test "$wxUSE_POSTSCRIPT" = yes; then
6846 echo "$as_me:$LINENO: result: yes" >&5
6847 echo "${ECHO_T}yes" >&6
6849 echo "$as_me:$LINENO: result: no" >&5
6850 echo "${ECHO_T}no" >&6
6858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6859 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6861 # Check whether --enable-prologio or --disable-prologio was given.
6862 if test "${enable_prologio+set}" = set; then
6863 enableval
="$enable_prologio"
6865 if test "$enableval" = yes; then
6866 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6868 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6873 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6874 if test "x$LINE" != x
; then
6875 eval "DEFAULT_$LINE"
6880 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6884 eval "$ac_cv_use_prologio"
6885 if test "$no_cache" != 1; then
6886 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6889 if test "$wxUSE_PROLOGIO" = yes; then
6890 echo "$as_me:$LINENO: result: yes" >&5
6891 echo "${ECHO_T}yes" >&6
6893 echo "$as_me:$LINENO: result: no" >&5
6894 echo "${ECHO_T}no" >&6
6899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6900 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6902 # Check whether --enable-resources or --disable-resources was given.
6903 if test "${enable_resources+set}" = set; then
6904 enableval
="$enable_resources"
6906 if test "$enableval" = yes; then
6907 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6909 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6914 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6915 if test "x$LINE" != x
; then
6916 eval "DEFAULT_$LINE"
6921 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6925 eval "$ac_cv_use_resources"
6926 if test "$no_cache" != 1; then
6927 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6930 if test "$wxUSE_RESOURCES" = yes; then
6931 echo "$as_me:$LINENO: result: yes" >&5
6932 echo "${ECHO_T}yes" >&6
6934 echo "$as_me:$LINENO: result: no" >&5
6935 echo "${ECHO_T}no" >&6
6942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6943 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6945 # Check whether --enable-clipboard or --disable-clipboard was given.
6946 if test "${enable_clipboard+set}" = set; then
6947 enableval
="$enable_clipboard"
6949 if test "$enableval" = yes; then
6950 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6952 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6957 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6958 if test "x$LINE" != x
; then
6959 eval "DEFAULT_$LINE"
6964 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6968 eval "$ac_cv_use_clipboard"
6969 if test "$no_cache" != 1; then
6970 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6973 if test "$wxUSE_CLIPBOARD" = yes; then
6974 echo "$as_me:$LINENO: result: yes" >&5
6975 echo "${ECHO_T}yes" >&6
6977 echo "$as_me:$LINENO: result: no" >&5
6978 echo "${ECHO_T}no" >&6
6983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6984 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6986 # Check whether --enable-dnd or --disable-dnd was given.
6987 if test "${enable_dnd+set}" = set; then
6988 enableval
="$enable_dnd"
6990 if test "$enableval" = yes; then
6991 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6993 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6998 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6999 if test "x$LINE" != x
; then
7000 eval "DEFAULT_$LINE"
7005 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7009 eval "$ac_cv_use_dnd"
7010 if test "$no_cache" != 1; then
7011 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7014 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7015 echo "$as_me:$LINENO: result: yes" >&5
7016 echo "${ECHO_T}yes" >&6
7018 echo "$as_me:$LINENO: result: no" >&5
7019 echo "${ECHO_T}no" >&6
7024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7025 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7027 # Check whether --enable-metafile or --disable-metafile was given.
7028 if test "${enable_metafile+set}" = set; then
7029 enableval
="$enable_metafile"
7031 if test "$enableval" = yes; then
7032 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7034 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7039 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7040 if test "x$LINE" != x
; then
7041 eval "DEFAULT_$LINE"
7046 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7050 eval "$ac_cv_use_metafile"
7051 if test "$no_cache" != 1; then
7052 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7055 if test "$wxUSE_METAFILE" = yes; then
7056 echo "$as_me:$LINENO: result: yes" >&5
7057 echo "${ECHO_T}yes" >&6
7059 echo "$as_me:$LINENO: result: no" >&5
7060 echo "${ECHO_T}no" >&6
7068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7069 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7071 # Check whether --enable-controls or --disable-controls was given.
7072 if test "${enable_controls+set}" = set; then
7073 enableval
="$enable_controls"
7075 if test "$enableval" = yes; then
7076 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7078 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7083 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7084 if test "x$LINE" != x
; then
7085 eval "DEFAULT_$LINE"
7090 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7094 eval "$ac_cv_use_controls"
7095 if test "$no_cache" != 1; then
7096 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7099 if test "$wxUSE_CONTROLS" = yes; then
7100 echo "$as_me:$LINENO: result: yes" >&5
7101 echo "${ECHO_T}yes" >&6
7103 echo "$as_me:$LINENO: result: no" >&5
7104 echo "${ECHO_T}no" >&6
7108 if test "$wxUSE_CONTROLS" = "yes"; then
7109 DEFAULT_wxUSE_ACCEL
=yes
7110 DEFAULT_wxUSE_BMPBUTTON
=yes
7111 DEFAULT_wxUSE_BUTTON
=yes
7112 DEFAULT_wxUSE_CALCTRL
=yes
7113 DEFAULT_wxUSE_CARET
=yes
7114 DEFAULT_wxUSE_COMBOBOX
=yes
7115 DEFAULT_wxUSE_CHECKBOX
=yes
7116 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7117 DEFAULT_wxUSE_CHOICE
=yes
7118 DEFAULT_wxUSE_CHOICEBOOK
=yes
7119 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7120 DEFAULT_wxUSE_GAUGE
=yes
7121 DEFAULT_wxUSE_GRID
=yes
7122 DEFAULT_wxUSE_IMAGLIST
=yes
7123 DEFAULT_wxUSE_LISTBOOK
=yes
7124 DEFAULT_wxUSE_LISTBOX
=yes
7125 DEFAULT_wxUSE_LISTCTRL
=yes
7126 DEFAULT_wxUSE_NOTEBOOK
=yes
7127 DEFAULT_wxUSE_RADIOBOX
=yes
7128 DEFAULT_wxUSE_RADIOBTN
=yes
7129 DEFAULT_wxUSE_SASH
=yes
7130 DEFAULT_wxUSE_SCROLLBAR
=yes
7131 DEFAULT_wxUSE_SLIDER
=yes
7132 DEFAULT_wxUSE_SPINBTN
=yes
7133 DEFAULT_wxUSE_SPINCTRL
=yes
7134 DEFAULT_wxUSE_SPLITTER
=yes
7135 DEFAULT_wxUSE_STATBMP
=yes
7136 DEFAULT_wxUSE_STATBOX
=yes
7137 DEFAULT_wxUSE_STATLINE
=yes
7138 DEFAULT_wxUSE_STATUSBAR
=yes
7139 DEFAULT_wxUSE_TAB_DIALOG
=yes
7140 DEFAULT_wxUSE_TOGGLEBTN
=yes
7141 DEFAULT_wxUSE_TOOLBAR
=yes
7142 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7143 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7144 DEFAULT_wxUSE_TOOLTIPS
=yes
7145 DEFAULT_wxUSE_TREECTRL
=yes
7146 DEFAULT_wxUSE_POPUPWIN
=yes
7147 DEFAULT_wxUSE_TIPWINDOW
=yes
7148 elif test "$wxUSE_CONTROLS" = "no"; then
7149 DEFAULT_wxUSE_ACCEL
=no
7150 DEFAULT_wxUSE_BMPBUTTON
=no
7151 DEFAULT_wxUSE_BUTTON
=no
7152 DEFAULT_wxUSE_CALCTRL
=no
7153 DEFAULT_wxUSE_CARET
=no
7154 DEFAULT_wxUSE_COMBOBOX
=no
7155 DEFAULT_wxUSE_CHECKBOX
=no
7156 DEFAULT_wxUSE_CHECKLISTBOX
=no
7157 DEFAULT_wxUSE_CHOICE
=no
7158 DEFAULT_wxUSE_CHOICEBOOK
=no
7159 DEFAULT_wxUSE_DATEPICKCTRL
=no
7160 DEFAULT_wxUSE_GAUGE
=no
7161 DEFAULT_wxUSE_GRID
=no
7162 DEFAULT_wxUSE_IMAGLIST
=no
7163 DEFAULT_wxUSE_LISTBOOK
=no
7164 DEFAULT_wxUSE_LISTBOX
=no
7165 DEFAULT_wxUSE_LISTCTRL
=no
7166 DEFAULT_wxUSE_NOTEBOOK
=no
7167 DEFAULT_wxUSE_RADIOBOX
=no
7168 DEFAULT_wxUSE_RADIOBTN
=no
7169 DEFAULT_wxUSE_SASH
=no
7170 DEFAULT_wxUSE_SCROLLBAR
=no
7171 DEFAULT_wxUSE_SLIDER
=no
7172 DEFAULT_wxUSE_SPINBTN
=no
7173 DEFAULT_wxUSE_SPINCTRL
=no
7174 DEFAULT_wxUSE_SPLITTER
=no
7175 DEFAULT_wxUSE_STATBMP
=no
7176 DEFAULT_wxUSE_STATBOX
=no
7177 DEFAULT_wxUSE_STATLINE
=no
7178 DEFAULT_wxUSE_STATUSBAR
=no
7179 DEFAULT_wxUSE_TAB_DIALOG
=no
7180 DEFAULT_wxUSE_TOGGLEBTN
=no
7181 DEFAULT_wxUSE_TOOLBAR
=no
7182 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7183 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7184 DEFAULT_wxUSE_TOOLTIPS
=no
7185 DEFAULT_wxUSE_TREECTRL
=no
7186 DEFAULT_wxUSE_POPUPWIN
=no
7187 DEFAULT_wxUSE_TIPWINDOW
=no
7192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7193 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7195 # Check whether --enable-accel or --disable-accel was given.
7196 if test "${enable_accel+set}" = set; then
7197 enableval
="$enable_accel"
7199 if test "$enableval" = yes; then
7200 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7202 ac_cv_use_accel
='wxUSE_ACCEL=no'
7207 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7208 if test "x$LINE" != x
; then
7209 eval "DEFAULT_$LINE"
7214 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7218 eval "$ac_cv_use_accel"
7219 if test "$no_cache" != 1; then
7220 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7223 if test "$wxUSE_ACCEL" = yes; then
7224 echo "$as_me:$LINENO: result: yes" >&5
7225 echo "${ECHO_T}yes" >&6
7227 echo "$as_me:$LINENO: result: no" >&5
7228 echo "${ECHO_T}no" >&6
7233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7234 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7236 # Check whether --enable-button or --disable-button was given.
7237 if test "${enable_button+set}" = set; then
7238 enableval
="$enable_button"
7240 if test "$enableval" = yes; then
7241 ac_cv_use_button
='wxUSE_BUTTON=yes'
7243 ac_cv_use_button
='wxUSE_BUTTON=no'
7248 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7249 if test "x$LINE" != x
; then
7250 eval "DEFAULT_$LINE"
7255 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7259 eval "$ac_cv_use_button"
7260 if test "$no_cache" != 1; then
7261 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7264 if test "$wxUSE_BUTTON" = yes; then
7265 echo "$as_me:$LINENO: result: yes" >&5
7266 echo "${ECHO_T}yes" >&6
7268 echo "$as_me:$LINENO: result: no" >&5
7269 echo "${ECHO_T}no" >&6
7274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7275 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7277 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7278 if test "${enable_bmpbutton+set}" = set; then
7279 enableval
="$enable_bmpbutton"
7281 if test "$enableval" = yes; then
7282 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7284 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7289 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7290 if test "x$LINE" != x
; then
7291 eval "DEFAULT_$LINE"
7296 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7300 eval "$ac_cv_use_bmpbutton"
7301 if test "$no_cache" != 1; then
7302 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7305 if test "$wxUSE_BMPBUTTON" = yes; then
7306 echo "$as_me:$LINENO: result: yes" >&5
7307 echo "${ECHO_T}yes" >&6
7309 echo "$as_me:$LINENO: result: no" >&5
7310 echo "${ECHO_T}no" >&6
7315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7316 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7318 # Check whether --enable-calendar or --disable-calendar was given.
7319 if test "${enable_calendar+set}" = set; then
7320 enableval
="$enable_calendar"
7322 if test "$enableval" = yes; then
7323 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7325 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7330 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7331 if test "x$LINE" != x
; then
7332 eval "DEFAULT_$LINE"
7337 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7341 eval "$ac_cv_use_calendar"
7342 if test "$no_cache" != 1; then
7343 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7346 if test "$wxUSE_CALCTRL" = yes; then
7347 echo "$as_me:$LINENO: result: yes" >&5
7348 echo "${ECHO_T}yes" >&6
7350 echo "$as_me:$LINENO: result: no" >&5
7351 echo "${ECHO_T}no" >&6
7356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7357 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7359 # Check whether --enable-caret or --disable-caret was given.
7360 if test "${enable_caret+set}" = set; then
7361 enableval
="$enable_caret"
7363 if test "$enableval" = yes; then
7364 ac_cv_use_caret
='wxUSE_CARET=yes'
7366 ac_cv_use_caret
='wxUSE_CARET=no'
7371 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7372 if test "x$LINE" != x
; then
7373 eval "DEFAULT_$LINE"
7378 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7382 eval "$ac_cv_use_caret"
7383 if test "$no_cache" != 1; then
7384 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7387 if test "$wxUSE_CARET" = yes; then
7388 echo "$as_me:$LINENO: result: yes" >&5
7389 echo "${ECHO_T}yes" >&6
7391 echo "$as_me:$LINENO: result: no" >&5
7392 echo "${ECHO_T}no" >&6
7397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7398 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7400 # Check whether --enable-checkbox or --disable-checkbox was given.
7401 if test "${enable_checkbox+set}" = set; then
7402 enableval
="$enable_checkbox"
7404 if test "$enableval" = yes; then
7405 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7407 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7412 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7413 if test "x$LINE" != x
; then
7414 eval "DEFAULT_$LINE"
7419 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7423 eval "$ac_cv_use_checkbox"
7424 if test "$no_cache" != 1; then
7425 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7428 if test "$wxUSE_CHECKBOX" = yes; then
7429 echo "$as_me:$LINENO: result: yes" >&5
7430 echo "${ECHO_T}yes" >&6
7432 echo "$as_me:$LINENO: result: no" >&5
7433 echo "${ECHO_T}no" >&6
7438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7439 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7441 # Check whether --enable-checklst or --disable-checklst was given.
7442 if test "${enable_checklst+set}" = set; then
7443 enableval
="$enable_checklst"
7445 if test "$enableval" = yes; then
7446 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7448 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7453 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7454 if test "x$LINE" != x
; then
7455 eval "DEFAULT_$LINE"
7460 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7464 eval "$ac_cv_use_checklst"
7465 if test "$no_cache" != 1; then
7466 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7469 if test "$wxUSE_CHECKLST" = yes; then
7470 echo "$as_me:$LINENO: result: yes" >&5
7471 echo "${ECHO_T}yes" >&6
7473 echo "$as_me:$LINENO: result: no" >&5
7474 echo "${ECHO_T}no" >&6
7479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7480 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7482 # Check whether --enable-choice or --disable-choice was given.
7483 if test "${enable_choice+set}" = set; then
7484 enableval
="$enable_choice"
7486 if test "$enableval" = yes; then
7487 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7489 ac_cv_use_choice
='wxUSE_CHOICE=no'
7494 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7495 if test "x$LINE" != x
; then
7496 eval "DEFAULT_$LINE"
7501 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7505 eval "$ac_cv_use_choice"
7506 if test "$no_cache" != 1; then
7507 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7510 if test "$wxUSE_CHOICE" = yes; then
7511 echo "$as_me:$LINENO: result: yes" >&5
7512 echo "${ECHO_T}yes" >&6
7514 echo "$as_me:$LINENO: result: no" >&5
7515 echo "${ECHO_T}no" >&6
7520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7521 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7523 # Check whether --enable-choicebook or --disable-choicebook was given.
7524 if test "${enable_choicebook+set}" = set; then
7525 enableval
="$enable_choicebook"
7527 if test "$enableval" = yes; then
7528 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7530 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7535 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7536 if test "x$LINE" != x
; then
7537 eval "DEFAULT_$LINE"
7542 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7546 eval "$ac_cv_use_choicebook"
7547 if test "$no_cache" != 1; then
7548 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7551 if test "$wxUSE_CHOICEBOOK" = yes; then
7552 echo "$as_me:$LINENO: result: yes" >&5
7553 echo "${ECHO_T}yes" >&6
7555 echo "$as_me:$LINENO: result: no" >&5
7556 echo "${ECHO_T}no" >&6
7561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7562 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7564 # Check whether --enable-combobox or --disable-combobox was given.
7565 if test "${enable_combobox+set}" = set; then
7566 enableval
="$enable_combobox"
7568 if test "$enableval" = yes; then
7569 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7571 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7576 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7577 if test "x$LINE" != x
; then
7578 eval "DEFAULT_$LINE"
7583 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7587 eval "$ac_cv_use_combobox"
7588 if test "$no_cache" != 1; then
7589 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7592 if test "$wxUSE_COMBOBOX" = yes; then
7593 echo "$as_me:$LINENO: result: yes" >&5
7594 echo "${ECHO_T}yes" >&6
7596 echo "$as_me:$LINENO: result: no" >&5
7597 echo "${ECHO_T}no" >&6
7602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7603 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7605 # Check whether --enable-datepick or --disable-datepick was given.
7606 if test "${enable_datepick+set}" = set; then
7607 enableval
="$enable_datepick"
7609 if test "$enableval" = yes; then
7610 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
7612 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
7617 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7618 if test "x$LINE" != x
; then
7619 eval "DEFAULT_$LINE"
7624 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7628 eval "$ac_cv_use_datepick"
7629 if test "$no_cache" != 1; then
7630 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7633 if test "$wxUSE_DATEPICKCTRL" = yes; then
7634 echo "$as_me:$LINENO: result: yes" >&5
7635 echo "${ECHO_T}yes" >&6
7637 echo "$as_me:$LINENO: result: no" >&5
7638 echo "${ECHO_T}no" >&6
7643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7644 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7646 # Check whether --enable-display or --disable-display was given.
7647 if test "${enable_display+set}" = set; then
7648 enableval
="$enable_display"
7650 if test "$enableval" = yes; then
7651 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7653 ac_cv_use_display
='wxUSE_DISPLAY=no'
7658 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7659 if test "x$LINE" != x
; then
7660 eval "DEFAULT_$LINE"
7665 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7669 eval "$ac_cv_use_display"
7670 if test "$no_cache" != 1; then
7671 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7674 if test "$wxUSE_DISPLAY" = yes; then
7675 echo "$as_me:$LINENO: result: yes" >&5
7676 echo "${ECHO_T}yes" >&6
7678 echo "$as_me:$LINENO: result: no" >&5
7679 echo "${ECHO_T}no" >&6
7684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7685 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7687 # Check whether --enable-gauge or --disable-gauge was given.
7688 if test "${enable_gauge+set}" = set; then
7689 enableval
="$enable_gauge"
7691 if test "$enableval" = yes; then
7692 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7694 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7699 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7700 if test "x$LINE" != x
; then
7701 eval "DEFAULT_$LINE"
7706 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7710 eval "$ac_cv_use_gauge"
7711 if test "$no_cache" != 1; then
7712 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7715 if test "$wxUSE_GAUGE" = yes; then
7716 echo "$as_me:$LINENO: result: yes" >&5
7717 echo "${ECHO_T}yes" >&6
7719 echo "$as_me:$LINENO: result: no" >&5
7720 echo "${ECHO_T}no" >&6
7725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7726 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7728 # Check whether --enable-grid or --disable-grid was given.
7729 if test "${enable_grid+set}" = set; then
7730 enableval
="$enable_grid"
7732 if test "$enableval" = yes; then
7733 ac_cv_use_grid
='wxUSE_GRID=yes'
7735 ac_cv_use_grid
='wxUSE_GRID=no'
7740 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7741 if test "x$LINE" != x
; then
7742 eval "DEFAULT_$LINE"
7747 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7751 eval "$ac_cv_use_grid"
7752 if test "$no_cache" != 1; then
7753 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7756 if test "$wxUSE_GRID" = yes; then
7757 echo "$as_me:$LINENO: result: yes" >&5
7758 echo "${ECHO_T}yes" >&6
7760 echo "$as_me:$LINENO: result: no" >&5
7761 echo "${ECHO_T}no" >&6
7766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7767 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7769 # Check whether --enable-imaglist or --disable-imaglist was given.
7770 if test "${enable_imaglist+set}" = set; then
7771 enableval
="$enable_imaglist"
7773 if test "$enableval" = yes; then
7774 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7776 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7781 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7782 if test "x$LINE" != x
; then
7783 eval "DEFAULT_$LINE"
7788 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7792 eval "$ac_cv_use_imaglist"
7793 if test "$no_cache" != 1; then
7794 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7797 if test "$wxUSE_IMAGLIST" = yes; then
7798 echo "$as_me:$LINENO: result: yes" >&5
7799 echo "${ECHO_T}yes" >&6
7801 echo "$as_me:$LINENO: result: no" >&5
7802 echo "${ECHO_T}no" >&6
7807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7808 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7810 # Check whether --enable-listbook or --disable-listbook was given.
7811 if test "${enable_listbook+set}" = set; then
7812 enableval
="$enable_listbook"
7814 if test "$enableval" = yes; then
7815 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7817 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7822 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7823 if test "x$LINE" != x
; then
7824 eval "DEFAULT_$LINE"
7829 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7833 eval "$ac_cv_use_listbook"
7834 if test "$no_cache" != 1; then
7835 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7838 if test "$wxUSE_LISTBOOK" = yes; then
7839 echo "$as_me:$LINENO: result: yes" >&5
7840 echo "${ECHO_T}yes" >&6
7842 echo "$as_me:$LINENO: result: no" >&5
7843 echo "${ECHO_T}no" >&6
7848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7849 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7851 # Check whether --enable-listbox or --disable-listbox was given.
7852 if test "${enable_listbox+set}" = set; then
7853 enableval
="$enable_listbox"
7855 if test "$enableval" = yes; then
7856 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7858 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7863 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7864 if test "x$LINE" != x
; then
7865 eval "DEFAULT_$LINE"
7870 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7874 eval "$ac_cv_use_listbox"
7875 if test "$no_cache" != 1; then
7876 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7879 if test "$wxUSE_LISTBOX" = yes; then
7880 echo "$as_me:$LINENO: result: yes" >&5
7881 echo "${ECHO_T}yes" >&6
7883 echo "$as_me:$LINENO: result: no" >&5
7884 echo "${ECHO_T}no" >&6
7889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7890 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7892 # Check whether --enable-listctrl or --disable-listctrl was given.
7893 if test "${enable_listctrl+set}" = set; then
7894 enableval
="$enable_listctrl"
7896 if test "$enableval" = yes; then
7897 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7899 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7904 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7905 if test "x$LINE" != x
; then
7906 eval "DEFAULT_$LINE"
7911 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7915 eval "$ac_cv_use_listctrl"
7916 if test "$no_cache" != 1; then
7917 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7920 if test "$wxUSE_LISTCTRL" = yes; then
7921 echo "$as_me:$LINENO: result: yes" >&5
7922 echo "${ECHO_T}yes" >&6
7924 echo "$as_me:$LINENO: result: no" >&5
7925 echo "${ECHO_T}no" >&6
7930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7931 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7933 # Check whether --enable-notebook or --disable-notebook was given.
7934 if test "${enable_notebook+set}" = set; then
7935 enableval
="$enable_notebook"
7937 if test "$enableval" = yes; then
7938 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7940 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7945 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7946 if test "x$LINE" != x
; then
7947 eval "DEFAULT_$LINE"
7952 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7956 eval "$ac_cv_use_notebook"
7957 if test "$no_cache" != 1; then
7958 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7961 if test "$wxUSE_NOTEBOOK" = yes; then
7962 echo "$as_me:$LINENO: result: yes" >&5
7963 echo "${ECHO_T}yes" >&6
7965 echo "$as_me:$LINENO: result: no" >&5
7966 echo "${ECHO_T}no" >&6
7971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7972 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7974 # Check whether --enable-radiobox or --disable-radiobox was given.
7975 if test "${enable_radiobox+set}" = set; then
7976 enableval
="$enable_radiobox"
7978 if test "$enableval" = yes; then
7979 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7981 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7986 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7987 if test "x$LINE" != x
; then
7988 eval "DEFAULT_$LINE"
7993 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7997 eval "$ac_cv_use_radiobox"
7998 if test "$no_cache" != 1; then
7999 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8002 if test "$wxUSE_RADIOBOX" = yes; then
8003 echo "$as_me:$LINENO: result: yes" >&5
8004 echo "${ECHO_T}yes" >&6
8006 echo "$as_me:$LINENO: result: no" >&5
8007 echo "${ECHO_T}no" >&6
8012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8013 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8015 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8016 if test "${enable_radiobtn+set}" = set; then
8017 enableval
="$enable_radiobtn"
8019 if test "$enableval" = yes; then
8020 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8022 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8027 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8028 if test "x$LINE" != x
; then
8029 eval "DEFAULT_$LINE"
8034 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8038 eval "$ac_cv_use_radiobtn"
8039 if test "$no_cache" != 1; then
8040 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8043 if test "$wxUSE_RADIOBTN" = yes; then
8044 echo "$as_me:$LINENO: result: yes" >&5
8045 echo "${ECHO_T}yes" >&6
8047 echo "$as_me:$LINENO: result: no" >&5
8048 echo "${ECHO_T}no" >&6
8053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8054 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8056 # Check whether --enable-sash or --disable-sash was given.
8057 if test "${enable_sash+set}" = set; then
8058 enableval
="$enable_sash"
8060 if test "$enableval" = yes; then
8061 ac_cv_use_sash
='wxUSE_SASH=yes'
8063 ac_cv_use_sash
='wxUSE_SASH=no'
8068 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8069 if test "x$LINE" != x
; then
8070 eval "DEFAULT_$LINE"
8075 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8079 eval "$ac_cv_use_sash"
8080 if test "$no_cache" != 1; then
8081 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8084 if test "$wxUSE_SASH" = yes; then
8085 echo "$as_me:$LINENO: result: yes" >&5
8086 echo "${ECHO_T}yes" >&6
8088 echo "$as_me:$LINENO: result: no" >&5
8089 echo "${ECHO_T}no" >&6
8094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8095 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8097 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8098 if test "${enable_scrollbar+set}" = set; then
8099 enableval
="$enable_scrollbar"
8101 if test "$enableval" = yes; then
8102 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8104 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8109 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8110 if test "x$LINE" != x
; then
8111 eval "DEFAULT_$LINE"
8116 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8120 eval "$ac_cv_use_scrollbar"
8121 if test "$no_cache" != 1; then
8122 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8125 if test "$wxUSE_SCROLLBAR" = yes; then
8126 echo "$as_me:$LINENO: result: yes" >&5
8127 echo "${ECHO_T}yes" >&6
8129 echo "$as_me:$LINENO: result: no" >&5
8130 echo "${ECHO_T}no" >&6
8135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8136 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8138 # Check whether --enable-slider or --disable-slider was given.
8139 if test "${enable_slider+set}" = set; then
8140 enableval
="$enable_slider"
8142 if test "$enableval" = yes; then
8143 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8145 ac_cv_use_slider
='wxUSE_SLIDER=no'
8150 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8151 if test "x$LINE" != x
; then
8152 eval "DEFAULT_$LINE"
8157 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8161 eval "$ac_cv_use_slider"
8162 if test "$no_cache" != 1; then
8163 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8166 if test "$wxUSE_SLIDER" = yes; then
8167 echo "$as_me:$LINENO: result: yes" >&5
8168 echo "${ECHO_T}yes" >&6
8170 echo "$as_me:$LINENO: result: no" >&5
8171 echo "${ECHO_T}no" >&6
8176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8177 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8179 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8180 if test "${enable_spinbtn+set}" = set; then
8181 enableval
="$enable_spinbtn"
8183 if test "$enableval" = yes; then
8184 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8186 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8191 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8192 if test "x$LINE" != x
; then
8193 eval "DEFAULT_$LINE"
8198 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8202 eval "$ac_cv_use_spinbtn"
8203 if test "$no_cache" != 1; then
8204 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8207 if test "$wxUSE_SPINBTN" = yes; then
8208 echo "$as_me:$LINENO: result: yes" >&5
8209 echo "${ECHO_T}yes" >&6
8211 echo "$as_me:$LINENO: result: no" >&5
8212 echo "${ECHO_T}no" >&6
8217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8218 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8220 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8221 if test "${enable_spinctrl+set}" = set; then
8222 enableval
="$enable_spinctrl"
8224 if test "$enableval" = yes; then
8225 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8227 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8232 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8233 if test "x$LINE" != x
; then
8234 eval "DEFAULT_$LINE"
8239 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8243 eval "$ac_cv_use_spinctrl"
8244 if test "$no_cache" != 1; then
8245 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8248 if test "$wxUSE_SPINCTRL" = yes; then
8249 echo "$as_me:$LINENO: result: yes" >&5
8250 echo "${ECHO_T}yes" >&6
8252 echo "$as_me:$LINENO: result: no" >&5
8253 echo "${ECHO_T}no" >&6
8258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8259 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8261 # Check whether --enable-splitter or --disable-splitter was given.
8262 if test "${enable_splitter+set}" = set; then
8263 enableval
="$enable_splitter"
8265 if test "$enableval" = yes; then
8266 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8268 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8273 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8274 if test "x$LINE" != x
; then
8275 eval "DEFAULT_$LINE"
8280 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8284 eval "$ac_cv_use_splitter"
8285 if test "$no_cache" != 1; then
8286 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8289 if test "$wxUSE_SPLITTER" = yes; then
8290 echo "$as_me:$LINENO: result: yes" >&5
8291 echo "${ECHO_T}yes" >&6
8293 echo "$as_me:$LINENO: result: no" >&5
8294 echo "${ECHO_T}no" >&6
8299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8300 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8302 # Check whether --enable-statbmp or --disable-statbmp was given.
8303 if test "${enable_statbmp+set}" = set; then
8304 enableval
="$enable_statbmp"
8306 if test "$enableval" = yes; then
8307 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8309 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8314 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8315 if test "x$LINE" != x
; then
8316 eval "DEFAULT_$LINE"
8321 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8325 eval "$ac_cv_use_statbmp"
8326 if test "$no_cache" != 1; then
8327 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8330 if test "$wxUSE_STATBMP" = yes; then
8331 echo "$as_me:$LINENO: result: yes" >&5
8332 echo "${ECHO_T}yes" >&6
8334 echo "$as_me:$LINENO: result: no" >&5
8335 echo "${ECHO_T}no" >&6
8340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8341 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8343 # Check whether --enable-statbox or --disable-statbox was given.
8344 if test "${enable_statbox+set}" = set; then
8345 enableval
="$enable_statbox"
8347 if test "$enableval" = yes; then
8348 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8350 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8355 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8356 if test "x$LINE" != x
; then
8357 eval "DEFAULT_$LINE"
8362 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8366 eval "$ac_cv_use_statbox"
8367 if test "$no_cache" != 1; then
8368 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8371 if test "$wxUSE_STATBOX" = yes; then
8372 echo "$as_me:$LINENO: result: yes" >&5
8373 echo "${ECHO_T}yes" >&6
8375 echo "$as_me:$LINENO: result: no" >&5
8376 echo "${ECHO_T}no" >&6
8381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8382 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8384 # Check whether --enable-statline or --disable-statline was given.
8385 if test "${enable_statline+set}" = set; then
8386 enableval
="$enable_statline"
8388 if test "$enableval" = yes; then
8389 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8391 ac_cv_use_statline
='wxUSE_STATLINE=no'
8396 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8397 if test "x$LINE" != x
; then
8398 eval "DEFAULT_$LINE"
8403 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8407 eval "$ac_cv_use_statline"
8408 if test "$no_cache" != 1; then
8409 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8412 if test "$wxUSE_STATLINE" = yes; then
8413 echo "$as_me:$LINENO: result: yes" >&5
8414 echo "${ECHO_T}yes" >&6
8416 echo "$as_me:$LINENO: result: no" >&5
8417 echo "${ECHO_T}no" >&6
8422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8423 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8425 # Check whether --enable-stattext or --disable-stattext was given.
8426 if test "${enable_stattext+set}" = set; then
8427 enableval
="$enable_stattext"
8429 if test "$enableval" = yes; then
8430 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8432 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8437 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8438 if test "x$LINE" != x
; then
8439 eval "DEFAULT_$LINE"
8444 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8448 eval "$ac_cv_use_stattext"
8449 if test "$no_cache" != 1; then
8450 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8453 if test "$wxUSE_STATTEXT" = yes; then
8454 echo "$as_me:$LINENO: result: yes" >&5
8455 echo "${ECHO_T}yes" >&6
8457 echo "$as_me:$LINENO: result: no" >&5
8458 echo "${ECHO_T}no" >&6
8463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8464 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8466 # Check whether --enable-statusbar or --disable-statusbar was given.
8467 if test "${enable_statusbar+set}" = set; then
8468 enableval
="$enable_statusbar"
8470 if test "$enableval" = yes; then
8471 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8473 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8478 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8479 if test "x$LINE" != x
; then
8480 eval "DEFAULT_$LINE"
8485 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8489 eval "$ac_cv_use_statusbar"
8490 if test "$no_cache" != 1; then
8491 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8494 if test "$wxUSE_STATUSBAR" = yes; then
8495 echo "$as_me:$LINENO: result: yes" >&5
8496 echo "${ECHO_T}yes" >&6
8498 echo "$as_me:$LINENO: result: no" >&5
8499 echo "${ECHO_T}no" >&6
8504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8505 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8507 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8508 if test "${enable_tabdialog+set}" = set; then
8509 enableval
="$enable_tabdialog"
8511 if test "$enableval" = yes; then
8512 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8514 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8519 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8520 if test "x$LINE" != x
; then
8521 eval "DEFAULT_$LINE"
8526 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8530 eval "$ac_cv_use_tabdialog"
8531 if test "$no_cache" != 1; then
8532 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8535 if test "$wxUSE_TABDIALOG" = yes; then
8536 echo "$as_me:$LINENO: result: yes" >&5
8537 echo "${ECHO_T}yes" >&6
8539 echo "$as_me:$LINENO: result: no" >&5
8540 echo "${ECHO_T}no" >&6
8545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8546 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8548 # Check whether --enable-textctrl or --disable-textctrl was given.
8549 if test "${enable_textctrl+set}" = set; then
8550 enableval
="$enable_textctrl"
8552 if test "$enableval" = yes; then
8553 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8555 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8560 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8561 if test "x$LINE" != x
; then
8562 eval "DEFAULT_$LINE"
8567 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8571 eval "$ac_cv_use_textctrl"
8572 if test "$no_cache" != 1; then
8573 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8576 if test "$wxUSE_TEXTCTRL" = yes; then
8577 echo "$as_me:$LINENO: result: yes" >&5
8578 echo "${ECHO_T}yes" >&6
8580 echo "$as_me:$LINENO: result: no" >&5
8581 echo "${ECHO_T}no" >&6
8586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8587 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8589 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8590 if test "${enable_togglebtn+set}" = set; then
8591 enableval
="$enable_togglebtn"
8593 if test "$enableval" = yes; then
8594 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8596 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8601 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8602 if test "x$LINE" != x
; then
8603 eval "DEFAULT_$LINE"
8608 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8612 eval "$ac_cv_use_togglebtn"
8613 if test "$no_cache" != 1; then
8614 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8617 if test "$wxUSE_TOGGLEBTN" = yes; then
8618 echo "$as_me:$LINENO: result: yes" >&5
8619 echo "${ECHO_T}yes" >&6
8621 echo "$as_me:$LINENO: result: no" >&5
8622 echo "${ECHO_T}no" >&6
8627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8628 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8630 # Check whether --enable-toolbar or --disable-toolbar was given.
8631 if test "${enable_toolbar+set}" = set; then
8632 enableval
="$enable_toolbar"
8634 if test "$enableval" = yes; then
8635 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8637 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8642 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8643 if test "x$LINE" != x
; then
8644 eval "DEFAULT_$LINE"
8649 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8653 eval "$ac_cv_use_toolbar"
8654 if test "$no_cache" != 1; then
8655 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8658 if test "$wxUSE_TOOLBAR" = yes; then
8659 echo "$as_me:$LINENO: result: yes" >&5
8660 echo "${ECHO_T}yes" >&6
8662 echo "$as_me:$LINENO: result: no" >&5
8663 echo "${ECHO_T}no" >&6
8668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8669 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8671 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8672 if test "${enable_tbarnative+set}" = set; then
8673 enableval
="$enable_tbarnative"
8675 if test "$enableval" = yes; then
8676 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8678 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8683 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8684 if test "x$LINE" != x
; then
8685 eval "DEFAULT_$LINE"
8690 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8694 eval "$ac_cv_use_tbarnative"
8695 if test "$no_cache" != 1; then
8696 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8699 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8700 echo "$as_me:$LINENO: result: yes" >&5
8701 echo "${ECHO_T}yes" >&6
8703 echo "$as_me:$LINENO: result: no" >&5
8704 echo "${ECHO_T}no" >&6
8709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8710 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8712 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8713 if test "${enable_tbarsmpl+set}" = set; then
8714 enableval
="$enable_tbarsmpl"
8716 if test "$enableval" = yes; then
8717 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8719 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8724 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8725 if test "x$LINE" != x
; then
8726 eval "DEFAULT_$LINE"
8731 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8735 eval "$ac_cv_use_tbarsmpl"
8736 if test "$no_cache" != 1; then
8737 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8740 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8741 echo "$as_me:$LINENO: result: yes" >&5
8742 echo "${ECHO_T}yes" >&6
8744 echo "$as_me:$LINENO: result: no" >&5
8745 echo "${ECHO_T}no" >&6
8750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8751 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8753 # Check whether --enable-treectrl or --disable-treectrl was given.
8754 if test "${enable_treectrl+set}" = set; then
8755 enableval
="$enable_treectrl"
8757 if test "$enableval" = yes; then
8758 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8760 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8765 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8766 if test "x$LINE" != x
; then
8767 eval "DEFAULT_$LINE"
8772 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8776 eval "$ac_cv_use_treectrl"
8777 if test "$no_cache" != 1; then
8778 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8781 if test "$wxUSE_TREECTRL" = yes; then
8782 echo "$as_me:$LINENO: result: yes" >&5
8783 echo "${ECHO_T}yes" >&6
8785 echo "$as_me:$LINENO: result: no" >&5
8786 echo "${ECHO_T}no" >&6
8791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8792 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8794 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8795 if test "${enable_tipwindow+set}" = set; then
8796 enableval
="$enable_tipwindow"
8798 if test "$enableval" = yes; then
8799 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8801 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8806 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8807 if test "x$LINE" != x
; then
8808 eval "DEFAULT_$LINE"
8813 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8817 eval "$ac_cv_use_tipwindow"
8818 if test "$no_cache" != 1; then
8819 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8822 if test "$wxUSE_TIPWINDOW" = yes; then
8823 echo "$as_me:$LINENO: result: yes" >&5
8824 echo "${ECHO_T}yes" >&6
8826 echo "$as_me:$LINENO: result: no" >&5
8827 echo "${ECHO_T}no" >&6
8832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8833 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8835 # Check whether --enable-popupwin or --disable-popupwin was given.
8836 if test "${enable_popupwin+set}" = set; then
8837 enableval
="$enable_popupwin"
8839 if test "$enableval" = yes; then
8840 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8842 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8847 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8848 if test "x$LINE" != x
; then
8849 eval "DEFAULT_$LINE"
8854 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8858 eval "$ac_cv_use_popupwin"
8859 if test "$no_cache" != 1; then
8860 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8863 if test "$wxUSE_POPUPWIN" = yes; then
8864 echo "$as_me:$LINENO: result: yes" >&5
8865 echo "${ECHO_T}yes" >&6
8867 echo "$as_me:$LINENO: result: no" >&5
8868 echo "${ECHO_T}no" >&6
8875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8876 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8878 # Check whether --enable-commondlg or --disable-commondlg was given.
8879 if test "${enable_commondlg+set}" = set; then
8880 enableval
="$enable_commondlg"
8882 if test "$enableval" = yes; then
8883 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8885 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8890 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8891 if test "x$LINE" != x
; then
8892 eval "DEFAULT_$LINE"
8897 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8901 eval "$ac_cv_use_commondlg"
8902 if test "$no_cache" != 1; then
8903 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8906 if test "$wxUSE_COMMONDLGS" = yes; then
8907 echo "$as_me:$LINENO: result: yes" >&5
8908 echo "${ECHO_T}yes" >&6
8910 echo "$as_me:$LINENO: result: no" >&5
8911 echo "${ECHO_T}no" >&6
8916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8917 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8919 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8920 if test "${enable_choicedlg+set}" = set; then
8921 enableval
="$enable_choicedlg"
8923 if test "$enableval" = yes; then
8924 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8926 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8931 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8932 if test "x$LINE" != x
; then
8933 eval "DEFAULT_$LINE"
8938 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8942 eval "$ac_cv_use_choicedlg"
8943 if test "$no_cache" != 1; then
8944 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8947 if test "$wxUSE_CHOICEDLG" = yes; then
8948 echo "$as_me:$LINENO: result: yes" >&5
8949 echo "${ECHO_T}yes" >&6
8951 echo "$as_me:$LINENO: result: no" >&5
8952 echo "${ECHO_T}no" >&6
8957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8958 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8960 # Check whether --enable-coldlg or --disable-coldlg was given.
8961 if test "${enable_coldlg+set}" = set; then
8962 enableval
="$enable_coldlg"
8964 if test "$enableval" = yes; then
8965 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8967 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8972 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8973 if test "x$LINE" != x
; then
8974 eval "DEFAULT_$LINE"
8979 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8983 eval "$ac_cv_use_coldlg"
8984 if test "$no_cache" != 1; then
8985 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8988 if test "$wxUSE_COLOURDLG" = yes; then
8989 echo "$as_me:$LINENO: result: yes" >&5
8990 echo "${ECHO_T}yes" >&6
8992 echo "$as_me:$LINENO: result: no" >&5
8993 echo "${ECHO_T}no" >&6
8998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8999 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9001 # Check whether --enable-filedlg or --disable-filedlg was given.
9002 if test "${enable_filedlg+set}" = set; then
9003 enableval
="$enable_filedlg"
9005 if test "$enableval" = yes; then
9006 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9008 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9013 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9014 if test "x$LINE" != x
; then
9015 eval "DEFAULT_$LINE"
9020 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9024 eval "$ac_cv_use_filedlg"
9025 if test "$no_cache" != 1; then
9026 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9029 if test "$wxUSE_FILEDLG" = yes; then
9030 echo "$as_me:$LINENO: result: yes" >&5
9031 echo "${ECHO_T}yes" >&6
9033 echo "$as_me:$LINENO: result: no" >&5
9034 echo "${ECHO_T}no" >&6
9039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9040 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9042 # Check whether --enable-finddlg or --disable-finddlg was given.
9043 if test "${enable_finddlg+set}" = set; then
9044 enableval
="$enable_finddlg"
9046 if test "$enableval" = yes; then
9047 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9049 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9054 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9055 if test "x$LINE" != x
; then
9056 eval "DEFAULT_$LINE"
9061 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9065 eval "$ac_cv_use_finddlg"
9066 if test "$no_cache" != 1; then
9067 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9070 if test "$wxUSE_FINDREPLDLG" = yes; then
9071 echo "$as_me:$LINENO: result: yes" >&5
9072 echo "${ECHO_T}yes" >&6
9074 echo "$as_me:$LINENO: result: no" >&5
9075 echo "${ECHO_T}no" >&6
9080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9081 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9083 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9084 if test "${enable_fontdlg+set}" = set; then
9085 enableval
="$enable_fontdlg"
9087 if test "$enableval" = yes; then
9088 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9090 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9095 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9096 if test "x$LINE" != x
; then
9097 eval "DEFAULT_$LINE"
9102 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9106 eval "$ac_cv_use_fontdlg"
9107 if test "$no_cache" != 1; then
9108 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9111 if test "$wxUSE_FONTDLG" = yes; then
9112 echo "$as_me:$LINENO: result: yes" >&5
9113 echo "${ECHO_T}yes" >&6
9115 echo "$as_me:$LINENO: result: no" >&5
9116 echo "${ECHO_T}no" >&6
9121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9122 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9124 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9125 if test "${enable_dirdlg+set}" = set; then
9126 enableval
="$enable_dirdlg"
9128 if test "$enableval" = yes; then
9129 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9131 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9136 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9137 if test "x$LINE" != x
; then
9138 eval "DEFAULT_$LINE"
9143 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9147 eval "$ac_cv_use_dirdlg"
9148 if test "$no_cache" != 1; then
9149 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9152 if test "$wxUSE_DIRDLG" = yes; then
9153 echo "$as_me:$LINENO: result: yes" >&5
9154 echo "${ECHO_T}yes" >&6
9156 echo "$as_me:$LINENO: result: no" >&5
9157 echo "${ECHO_T}no" >&6
9162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9163 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9165 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9166 if test "${enable_msgdlg+set}" = set; then
9167 enableval
="$enable_msgdlg"
9169 if test "$enableval" = yes; then
9170 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9172 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9177 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9178 if test "x$LINE" != x
; then
9179 eval "DEFAULT_$LINE"
9184 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9188 eval "$ac_cv_use_msgdlg"
9189 if test "$no_cache" != 1; then
9190 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9193 if test "$wxUSE_MSGDLG" = yes; then
9194 echo "$as_me:$LINENO: result: yes" >&5
9195 echo "${ECHO_T}yes" >&6
9197 echo "$as_me:$LINENO: result: no" >&5
9198 echo "${ECHO_T}no" >&6
9203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9204 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9206 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9207 if test "${enable_numberdlg+set}" = set; then
9208 enableval
="$enable_numberdlg"
9210 if test "$enableval" = yes; then
9211 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9213 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9218 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9219 if test "x$LINE" != x
; then
9220 eval "DEFAULT_$LINE"
9225 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9229 eval "$ac_cv_use_numberdlg"
9230 if test "$no_cache" != 1; then
9231 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9234 if test "$wxUSE_NUMBERDLG" = yes; then
9235 echo "$as_me:$LINENO: result: yes" >&5
9236 echo "${ECHO_T}yes" >&6
9238 echo "$as_me:$LINENO: result: no" >&5
9239 echo "${ECHO_T}no" >&6
9244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9245 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9247 # Check whether --enable-splash or --disable-splash was given.
9248 if test "${enable_splash+set}" = set; then
9249 enableval
="$enable_splash"
9251 if test "$enableval" = yes; then
9252 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9254 ac_cv_use_splash
='wxUSE_SPLASH=no'
9259 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9260 if test "x$LINE" != x
; then
9261 eval "DEFAULT_$LINE"
9266 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9270 eval "$ac_cv_use_splash"
9271 if test "$no_cache" != 1; then
9272 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9275 if test "$wxUSE_SPLASH" = yes; then
9276 echo "$as_me:$LINENO: result: yes" >&5
9277 echo "${ECHO_T}yes" >&6
9279 echo "$as_me:$LINENO: result: no" >&5
9280 echo "${ECHO_T}no" >&6
9285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9286 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9288 # Check whether --enable-textdlg or --disable-textdlg was given.
9289 if test "${enable_textdlg+set}" = set; then
9290 enableval
="$enable_textdlg"
9292 if test "$enableval" = yes; then
9293 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9295 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9300 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9301 if test "x$LINE" != x
; then
9302 eval "DEFAULT_$LINE"
9307 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9311 eval "$ac_cv_use_textdlg"
9312 if test "$no_cache" != 1; then
9313 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9316 if test "$wxUSE_TEXTDLG" = yes; then
9317 echo "$as_me:$LINENO: result: yes" >&5
9318 echo "${ECHO_T}yes" >&6
9320 echo "$as_me:$LINENO: result: no" >&5
9321 echo "${ECHO_T}no" >&6
9326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9327 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9329 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9330 if test "${enable_tipdlg+set}" = set; then
9331 enableval
="$enable_tipdlg"
9333 if test "$enableval" = yes; then
9334 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9336 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9341 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9342 if test "x$LINE" != x
; then
9343 eval "DEFAULT_$LINE"
9348 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9352 eval "$ac_cv_use_tipdlg"
9353 if test "$no_cache" != 1; then
9354 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9357 if test "$wxUSE_STARTUP_TIPS" = yes; then
9358 echo "$as_me:$LINENO: result: yes" >&5
9359 echo "${ECHO_T}yes" >&6
9361 echo "$as_me:$LINENO: result: no" >&5
9362 echo "${ECHO_T}no" >&6
9367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9368 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9370 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9371 if test "${enable_progressdlg+set}" = set; then
9372 enableval
="$enable_progressdlg"
9374 if test "$enableval" = yes; then
9375 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9377 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9382 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9383 if test "x$LINE" != x
; then
9384 eval "DEFAULT_$LINE"
9389 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9393 eval "$ac_cv_use_progressdlg"
9394 if test "$no_cache" != 1; then
9395 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9398 if test "$wxUSE_PROGRESSDLG" = yes; then
9399 echo "$as_me:$LINENO: result: yes" >&5
9400 echo "${ECHO_T}yes" >&6
9402 echo "$as_me:$LINENO: result: no" >&5
9403 echo "${ECHO_T}no" >&6
9408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9409 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9411 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9412 if test "${enable_wizarddlg+set}" = set; then
9413 enableval
="$enable_wizarddlg"
9415 if test "$enableval" = yes; then
9416 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9418 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9423 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9424 if test "x$LINE" != x
; then
9425 eval "DEFAULT_$LINE"
9430 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9434 eval "$ac_cv_use_wizarddlg"
9435 if test "$no_cache" != 1; then
9436 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9439 if test "$wxUSE_WIZARDDLG" = yes; then
9440 echo "$as_me:$LINENO: result: yes" >&5
9441 echo "${ECHO_T}yes" >&6
9443 echo "$as_me:$LINENO: result: no" >&5
9444 echo "${ECHO_T}no" >&6
9451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9452 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9454 # Check whether --enable-menus or --disable-menus was given.
9455 if test "${enable_menus+set}" = set; then
9456 enableval
="$enable_menus"
9458 if test "$enableval" = yes; then
9459 ac_cv_use_menus
='wxUSE_MENUS=yes'
9461 ac_cv_use_menus
='wxUSE_MENUS=no'
9466 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9467 if test "x$LINE" != x
; then
9468 eval "DEFAULT_$LINE"
9473 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9477 eval "$ac_cv_use_menus"
9478 if test "$no_cache" != 1; then
9479 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9482 if test "$wxUSE_MENUS" = yes; then
9483 echo "$as_me:$LINENO: result: yes" >&5
9484 echo "${ECHO_T}yes" >&6
9486 echo "$as_me:$LINENO: result: no" >&5
9487 echo "${ECHO_T}no" >&6
9492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9493 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9495 # Check whether --enable-miniframe or --disable-miniframe was given.
9496 if test "${enable_miniframe+set}" = set; then
9497 enableval
="$enable_miniframe"
9499 if test "$enableval" = yes; then
9500 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9502 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9507 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9508 if test "x$LINE" != x
; then
9509 eval "DEFAULT_$LINE"
9514 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9518 eval "$ac_cv_use_miniframe"
9519 if test "$no_cache" != 1; then
9520 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9523 if test "$wxUSE_MINIFRAME" = yes; then
9524 echo "$as_me:$LINENO: result: yes" >&5
9525 echo "${ECHO_T}yes" >&6
9527 echo "$as_me:$LINENO: result: no" >&5
9528 echo "${ECHO_T}no" >&6
9533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9534 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9536 # Check whether --enable-tooltips or --disable-tooltips was given.
9537 if test "${enable_tooltips+set}" = set; then
9538 enableval
="$enable_tooltips"
9540 if test "$enableval" = yes; then
9541 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9543 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9548 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9549 if test "x$LINE" != x
; then
9550 eval "DEFAULT_$LINE"
9555 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9559 eval "$ac_cv_use_tooltips"
9560 if test "$no_cache" != 1; then
9561 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9564 if test "$wxUSE_TOOLTIPS" = yes; then
9565 echo "$as_me:$LINENO: result: yes" >&5
9566 echo "${ECHO_T}yes" >&6
9568 echo "$as_me:$LINENO: result: no" >&5
9569 echo "${ECHO_T}no" >&6
9574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9575 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9577 # Check whether --enable-splines or --disable-splines was given.
9578 if test "${enable_splines+set}" = set; then
9579 enableval
="$enable_splines"
9581 if test "$enableval" = yes; then
9582 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9584 ac_cv_use_splines
='wxUSE_SPLINES=no'
9589 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9590 if test "x$LINE" != x
; then
9591 eval "DEFAULT_$LINE"
9596 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9600 eval "$ac_cv_use_splines"
9601 if test "$no_cache" != 1; then
9602 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9605 if test "$wxUSE_SPLINES" = yes; then
9606 echo "$as_me:$LINENO: result: yes" >&5
9607 echo "${ECHO_T}yes" >&6
9609 echo "$as_me:$LINENO: result: no" >&5
9610 echo "${ECHO_T}no" >&6
9615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9616 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9618 # Check whether --enable-validators or --disable-validators was given.
9619 if test "${enable_validators+set}" = set; then
9620 enableval
="$enable_validators"
9622 if test "$enableval" = yes; then
9623 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9625 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9630 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9631 if test "x$LINE" != x
; then
9632 eval "DEFAULT_$LINE"
9637 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9641 eval "$ac_cv_use_validators"
9642 if test "$no_cache" != 1; then
9643 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9646 if test "$wxUSE_VALIDATORS" = yes; then
9647 echo "$as_me:$LINENO: result: yes" >&5
9648 echo "${ECHO_T}yes" >&6
9650 echo "$as_me:$LINENO: result: no" >&5
9651 echo "${ECHO_T}no" >&6
9656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9657 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9659 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9660 if test "${enable_busyinfo+set}" = set; then
9661 enableval
="$enable_busyinfo"
9663 if test "$enableval" = yes; then
9664 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9666 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9671 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9672 if test "x$LINE" != x
; then
9673 eval "DEFAULT_$LINE"
9678 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9682 eval "$ac_cv_use_busyinfo"
9683 if test "$no_cache" != 1; then
9684 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9687 if test "$wxUSE_BUSYINFO" = yes; then
9688 echo "$as_me:$LINENO: result: yes" >&5
9689 echo "${ECHO_T}yes" >&6
9691 echo "$as_me:$LINENO: result: no" >&5
9692 echo "${ECHO_T}no" >&6
9697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9698 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9700 # Check whether --enable-joystick or --disable-joystick was given.
9701 if test "${enable_joystick+set}" = set; then
9702 enableval
="$enable_joystick"
9704 if test "$enableval" = yes; then
9705 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9707 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9712 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9713 if test "x$LINE" != x
; then
9714 eval "DEFAULT_$LINE"
9719 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9723 eval "$ac_cv_use_joystick"
9724 if test "$no_cache" != 1; then
9725 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9728 if test "$wxUSE_JOYSTICK" = yes; then
9729 echo "$as_me:$LINENO: result: yes" >&5
9730 echo "${ECHO_T}yes" >&6
9732 echo "$as_me:$LINENO: result: no" >&5
9733 echo "${ECHO_T}no" >&6
9738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9739 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9741 # Check whether --enable-metafile or --disable-metafile was given.
9742 if test "${enable_metafile+set}" = set; then
9743 enableval
="$enable_metafile"
9745 if test "$enableval" = yes; then
9746 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9748 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9753 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9754 if test "x$LINE" != x
; then
9755 eval "DEFAULT_$LINE"
9760 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9764 eval "$ac_cv_use_metafile"
9765 if test "$no_cache" != 1; then
9766 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9769 if test "$wxUSE_METAFILE" = yes; then
9770 echo "$as_me:$LINENO: result: yes" >&5
9771 echo "${ECHO_T}yes" >&6
9773 echo "$as_me:$LINENO: result: no" >&5
9774 echo "${ECHO_T}no" >&6
9779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9780 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9782 # Check whether --enable-dragimage or --disable-dragimage was given.
9783 if test "${enable_dragimage+set}" = set; then
9784 enableval
="$enable_dragimage"
9786 if test "$enableval" = yes; then
9787 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9789 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9794 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9795 if test "x$LINE" != x
; then
9796 eval "DEFAULT_$LINE"
9801 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9805 eval "$ac_cv_use_dragimage"
9806 if test "$no_cache" != 1; then
9807 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9810 if test "$wxUSE_DRAGIMAGE" = yes; then
9811 echo "$as_me:$LINENO: result: yes" >&5
9812 echo "${ECHO_T}yes" >&6
9814 echo "$as_me:$LINENO: result: no" >&5
9815 echo "${ECHO_T}no" >&6
9820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9821 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9823 # Check whether --enable-accessibility or --disable-accessibility was given.
9824 if test "${enable_accessibility+set}" = set; then
9825 enableval
="$enable_accessibility"
9827 if test "$enableval" = yes; then
9828 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9830 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9835 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9836 if test "x$LINE" != x
; then
9837 eval "DEFAULT_$LINE"
9842 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9846 eval "$ac_cv_use_accessibility"
9847 if test "$no_cache" != 1; then
9848 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9851 if test "$wxUSE_ACCESSIBILITY" = yes; then
9852 echo "$as_me:$LINENO: result: yes" >&5
9853 echo "${ECHO_T}yes" >&6
9855 echo "$as_me:$LINENO: result: no" >&5
9856 echo "${ECHO_T}no" >&6
9863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9864 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9866 # Check whether --enable-palette or --disable-palette was given.
9867 if test "${enable_palette+set}" = set; then
9868 enableval
="$enable_palette"
9870 if test "$enableval" = yes; then
9871 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9873 ac_cv_use_palette
='wxUSE_PALETTE=no'
9878 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9879 if test "x$LINE" != x
; then
9880 eval "DEFAULT_$LINE"
9885 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9889 eval "$ac_cv_use_palette"
9890 if test "$no_cache" != 1; then
9891 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9894 if test "$wxUSE_PALETTE" = yes; then
9895 echo "$as_me:$LINENO: result: yes" >&5
9896 echo "${ECHO_T}yes" >&6
9898 echo "$as_me:$LINENO: result: no" >&5
9899 echo "${ECHO_T}no" >&6
9904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9905 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9907 # Check whether --enable-image or --disable-image was given.
9908 if test "${enable_image+set}" = set; then
9909 enableval
="$enable_image"
9911 if test "$enableval" = yes; then
9912 ac_cv_use_image
='wxUSE_IMAGE=yes'
9914 ac_cv_use_image
='wxUSE_IMAGE=no'
9919 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9920 if test "x$LINE" != x
; then
9921 eval "DEFAULT_$LINE"
9926 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9930 eval "$ac_cv_use_image"
9931 if test "$no_cache" != 1; then
9932 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9935 if test "$wxUSE_IMAGE" = yes; then
9936 echo "$as_me:$LINENO: result: yes" >&5
9937 echo "${ECHO_T}yes" >&6
9939 echo "$as_me:$LINENO: result: no" >&5
9940 echo "${ECHO_T}no" >&6
9945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9946 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9948 # Check whether --enable-gif or --disable-gif was given.
9949 if test "${enable_gif+set}" = set; then
9950 enableval
="$enable_gif"
9952 if test "$enableval" = yes; then
9953 ac_cv_use_gif
='wxUSE_GIF=yes'
9955 ac_cv_use_gif
='wxUSE_GIF=no'
9960 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9961 if test "x$LINE" != x
; then
9962 eval "DEFAULT_$LINE"
9967 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9971 eval "$ac_cv_use_gif"
9972 if test "$no_cache" != 1; then
9973 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9976 if test "$wxUSE_GIF" = yes; then
9977 echo "$as_me:$LINENO: result: yes" >&5
9978 echo "${ECHO_T}yes" >&6
9980 echo "$as_me:$LINENO: result: no" >&5
9981 echo "${ECHO_T}no" >&6
9986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9987 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9989 # Check whether --enable-pcx or --disable-pcx was given.
9990 if test "${enable_pcx+set}" = set; then
9991 enableval
="$enable_pcx"
9993 if test "$enableval" = yes; then
9994 ac_cv_use_pcx
='wxUSE_PCX=yes'
9996 ac_cv_use_pcx
='wxUSE_PCX=no'
10001 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10002 if test "x$LINE" != x
; then
10003 eval "DEFAULT_$LINE"
10008 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10012 eval "$ac_cv_use_pcx"
10013 if test "$no_cache" != 1; then
10014 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10017 if test "$wxUSE_PCX" = yes; then
10018 echo "$as_me:$LINENO: result: yes" >&5
10019 echo "${ECHO_T}yes" >&6
10021 echo "$as_me:$LINENO: result: no" >&5
10022 echo "${ECHO_T}no" >&6
10027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10028 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10030 # Check whether --enable-iff or --disable-iff was given.
10031 if test "${enable_iff+set}" = set; then
10032 enableval
="$enable_iff"
10034 if test "$enableval" = yes; then
10035 ac_cv_use_iff
='wxUSE_IFF=yes'
10037 ac_cv_use_iff
='wxUSE_IFF=no'
10042 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10043 if test "x$LINE" != x
; then
10044 eval "DEFAULT_$LINE"
10049 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10053 eval "$ac_cv_use_iff"
10054 if test "$no_cache" != 1; then
10055 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10058 if test "$wxUSE_IFF" = yes; then
10059 echo "$as_me:$LINENO: result: yes" >&5
10060 echo "${ECHO_T}yes" >&6
10062 echo "$as_me:$LINENO: result: no" >&5
10063 echo "${ECHO_T}no" >&6
10068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10069 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10071 # Check whether --enable-pnm or --disable-pnm was given.
10072 if test "${enable_pnm+set}" = set; then
10073 enableval
="$enable_pnm"
10075 if test "$enableval" = yes; then
10076 ac_cv_use_pnm
='wxUSE_PNM=yes'
10078 ac_cv_use_pnm
='wxUSE_PNM=no'
10083 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10084 if test "x$LINE" != x
; then
10085 eval "DEFAULT_$LINE"
10090 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10094 eval "$ac_cv_use_pnm"
10095 if test "$no_cache" != 1; then
10096 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10099 if test "$wxUSE_PNM" = yes; then
10100 echo "$as_me:$LINENO: result: yes" >&5
10101 echo "${ECHO_T}yes" >&6
10103 echo "$as_me:$LINENO: result: no" >&5
10104 echo "${ECHO_T}no" >&6
10109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10110 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10112 # Check whether --enable-xpm or --disable-xpm was given.
10113 if test "${enable_xpm+set}" = set; then
10114 enableval
="$enable_xpm"
10116 if test "$enableval" = yes; then
10117 ac_cv_use_xpm
='wxUSE_XPM=yes'
10119 ac_cv_use_xpm
='wxUSE_XPM=no'
10124 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10125 if test "x$LINE" != x
; then
10126 eval "DEFAULT_$LINE"
10131 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10135 eval "$ac_cv_use_xpm"
10136 if test "$no_cache" != 1; then
10137 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10140 if test "$wxUSE_XPM" = yes; then
10141 echo "$as_me:$LINENO: result: yes" >&5
10142 echo "${ECHO_T}yes" >&6
10144 echo "$as_me:$LINENO: result: no" >&5
10145 echo "${ECHO_T}no" >&6
10150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10151 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10153 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10154 if test "${enable_ico_cur+set}" = set; then
10155 enableval
="$enable_ico_cur"
10157 if test "$enableval" = yes; then
10158 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10160 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10165 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10166 if test "x$LINE" != x
; then
10167 eval "DEFAULT_$LINE"
10172 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10176 eval "$ac_cv_use_ico_cur"
10177 if test "$no_cache" != 1; then
10178 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10181 if test "$wxUSE_ICO_CUR" = yes; then
10182 echo "$as_me:$LINENO: result: yes" >&5
10183 echo "${ECHO_T}yes" >&6
10185 echo "$as_me:$LINENO: result: no" >&5
10186 echo "${ECHO_T}no" >&6
10194 # Check whether --with-flavour or --without-flavour was given.
10195 if test "${with_flavour+set}" = set; then
10196 withval
="$with_flavour"
10197 WX_FLAVOUR
="$withval"
10203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10204 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10206 # Check whether --enable-official_build or --disable-official_build was given.
10207 if test "${enable_official_build+set}" = set; then
10208 enableval
="$enable_official_build"
10210 if test "$enableval" = yes; then
10211 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10213 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10218 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10219 if test "x$LINE" != x
; then
10220 eval "DEFAULT_$LINE"
10225 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10229 eval "$ac_cv_use_official_build"
10230 if test "$no_cache" != 1; then
10231 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10234 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10235 echo "$as_me:$LINENO: result: yes" >&5
10236 echo "${ECHO_T}yes" >&6
10238 echo "$as_me:$LINENO: result: no" >&5
10239 echo "${ECHO_T}no" >&6
10242 # Check whether --enable-vendor or --disable-vendor was given.
10243 if test "${enable_vendor+set}" = set; then
10244 enableval
="$enable_vendor"
10245 VENDOR
="$enableval"
10247 if test "x$VENDOR" = "x"; then
10254 echo "saving argument cache $wx_arg_cache_file"
10255 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10259 echo "$as_me:$LINENO: checking for toolkit" >&5
10260 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10262 # In Wine, we need to default to MSW, not GTK or MOTIF
10263 if test "$wxUSE_WINE" = "yes"; then
10264 DEFAULT_DEFAULT_wxUSE_GTK
=0
10265 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10266 DEFAULT_DEFAULT_wxUSE_MSW
=1
10270 if test "$wxUSE_GUI" = "yes"; then
10272 if test "$USE_BEOS" = 1; then
10273 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10274 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10275 { (exit 1); exit 1; }; }
10278 if test "$TOOLKIT_GIVEN" = 1; then
10279 for toolkit
in `echo $ALL_TOOLKITS`; do
10281 eval "value=\$${var}"
10282 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10285 for toolkit
in `echo $ALL_TOOLKITS`; do
10286 if test "$has_toolkit_in_cache" != 1; then
10287 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10289 var
=DEFAULT_wxUSE_
$toolkit
10291 eval "wxUSE_$toolkit=\$${var}"
10295 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10296 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10297 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10300 *-pc-os2_emx | *-pc-os2-emx )
10301 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10304 case "$NUM_TOOLKITS" in
10308 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10309 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10310 { (exit 1); exit 1; }; }
10313 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10314 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10315 { (exit 1); exit 1; }; }
10318 for toolkit
in `echo $ALL_TOOLKITS`; do
10320 eval "value=\$${var}"
10321 if test "x$value" != x
; then
10322 cache_var
=CACHE_
$toolkit
10323 eval "cache=\$${cache_var}"
10324 if test "$cache" = 1; then
10325 echo "$var=$value" >> ${wx_arg_cache_file}
10327 if test "$value" = 1; then
10328 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10329 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10330 echo "${ECHO_T}$toolkit_echo" >&6
10335 if test "x$host_alias" != "x"; then
10336 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10337 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10339 echo "$as_me:$LINENO: result: base only" >&5
10340 echo "${ECHO_T}base only" >&6
10345 doesnt_want_win32
=0
10348 if test "$wxUSE_MSW" = 1 ; then
10351 doesnt_want_win32
=1
10359 if test "$wxUSE_WINE" = "yes"; then
10364 LDFLAGS_GUI
="-mwindows"
10367 if test "$wants_win32" = 1 ; then
10370 cat >>confdefs.h
<<\_ACEOF
10371 #define __WIN32__ 1
10374 cat >>confdefs.h
<<\_ACEOF
10375 #define __WIN95__ 1
10378 cat >>confdefs.h
<<\_ACEOF
10379 #define __WINDOWS__ 1
10382 cat >>confdefs.h
<<\_ACEOF
10383 #define __GNUWIN32__ 1
10386 cat >>confdefs.h
<<\_ACEOF
10390 cat >>confdefs.h
<<\_ACEOF
10391 #define WINVER 0x0400
10395 if test "$doesnt_want_win32" = 1 ; then
10400 if test "$USE_UNIX" = 1 ; then
10402 cat >>confdefs.h
<<\_ACEOF
10409 cat >confcache
<<\_ACEOF
10410 # This file is a shell script that caches the results of configure
10411 # tests run on this system so they can be shared between configure
10412 # scripts and configure runs, see configure's option --config-cache.
10413 # It is not useful on other systems. If it contains results you don't
10414 # want to keep, you may remove or edit it.
10416 # config.status only pays attention to the cache file if you give it
10417 # the --recheck option to rerun configure.
10419 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10420 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10421 # following values.
10425 # The following way of writing the cache mishandles newlines in values,
10426 # but we know of no workaround that is simple, portable, and efficient.
10427 # So, don't put newlines in cache variables' values.
10428 # Ultrix sh set writes to stderr and can't be redirected directly,
10429 # and sets the high bit in the cache file unless we assign to the vars.
10432 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10434 # `set' does not quote correctly, so add quotes (double-quote
10435 # substitution turns \\\\ into \\, and sed turns \\ into \).
10438 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10441 # `set' quotes correctly as required by POSIX, so do not add quotes.
10443 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10450 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10452 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10454 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10455 if test -w $cache_file; then
10456 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10457 cat confcache
>$cache_file
10459 echo "not updating unwritable cache $cache_file"
10464 if test "$build" != "$host" ; then
10465 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10467 CXX
=$host_alias-c++
10469 RANLIB
=$host_alias-ranlib
10470 DLLTOOL
=$host_alias-dlltool
10471 RESCOMP
=$host_alias-windres
10472 STRIP
=$host_alias-strip
10473 elif test "x$CC" '!=' "x"; then
10474 echo "You set CC, I assume you know what you are doing."
10476 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10477 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10478 { (exit 1); exit 1; }; }
10484 ac_cpp
='$CPP $CPPFLAGS'
10485 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10486 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10487 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10488 if test -n "$ac_tool_prefix"; then
10489 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10490 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10491 echo "$as_me:$LINENO: checking for $ac_word" >&5
10492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10493 if test "${ac_cv_prog_CC+set}" = set; then
10494 echo $ECHO_N "(cached) $ECHO_C" >&6
10496 if test -n "$CC"; then
10497 ac_cv_prog_CC
="$CC" # Let the user override the test.
10499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10500 for as_dir
in $PATH
10503 test -z "$as_dir" && as_dir
=.
10504 for ac_exec_ext
in '' $ac_executable_extensions; do
10505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10506 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10516 if test -n "$CC"; then
10517 echo "$as_me:$LINENO: result: $CC" >&5
10518 echo "${ECHO_T}$CC" >&6
10520 echo "$as_me:$LINENO: result: no" >&5
10521 echo "${ECHO_T}no" >&6
10525 if test -z "$ac_cv_prog_CC"; then
10527 # Extract the first word of "gcc", so it can be a program name with args.
10528 set dummy gcc
; ac_word
=$2
10529 echo "$as_me:$LINENO: checking for $ac_word" >&5
10530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10531 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10532 echo $ECHO_N "(cached) $ECHO_C" >&6
10534 if test -n "$ac_ct_CC"; then
10535 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10538 for as_dir
in $PATH
10541 test -z "$as_dir" && as_dir
=.
10542 for ac_exec_ext
in '' $ac_executable_extensions; do
10543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10544 ac_cv_prog_ac_ct_CC
="gcc"
10545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10553 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10554 if test -n "$ac_ct_CC"; then
10555 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10556 echo "${ECHO_T}$ac_ct_CC" >&6
10558 echo "$as_me:$LINENO: result: no" >&5
10559 echo "${ECHO_T}no" >&6
10564 CC
="$ac_cv_prog_CC"
10567 if test -z "$CC"; then
10568 if test -n "$ac_tool_prefix"; then
10569 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10570 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10571 echo "$as_me:$LINENO: checking for $ac_word" >&5
10572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10573 if test "${ac_cv_prog_CC+set}" = set; then
10574 echo $ECHO_N "(cached) $ECHO_C" >&6
10576 if test -n "$CC"; then
10577 ac_cv_prog_CC
="$CC" # Let the user override the test.
10579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10580 for as_dir
in $PATH
10583 test -z "$as_dir" && as_dir
=.
10584 for ac_exec_ext
in '' $ac_executable_extensions; do
10585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10586 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10596 if test -n "$CC"; then
10597 echo "$as_me:$LINENO: result: $CC" >&5
10598 echo "${ECHO_T}$CC" >&6
10600 echo "$as_me:$LINENO: result: no" >&5
10601 echo "${ECHO_T}no" >&6
10605 if test -z "$ac_cv_prog_CC"; then
10607 # Extract the first word of "cc", so it can be a program name with args.
10608 set dummy cc
; ac_word
=$2
10609 echo "$as_me:$LINENO: checking for $ac_word" >&5
10610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10611 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10612 echo $ECHO_N "(cached) $ECHO_C" >&6
10614 if test -n "$ac_ct_CC"; then
10615 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10618 for as_dir
in $PATH
10621 test -z "$as_dir" && as_dir
=.
10622 for ac_exec_ext
in '' $ac_executable_extensions; do
10623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10624 ac_cv_prog_ac_ct_CC
="cc"
10625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10633 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10634 if test -n "$ac_ct_CC"; then
10635 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10636 echo "${ECHO_T}$ac_ct_CC" >&6
10638 echo "$as_me:$LINENO: result: no" >&5
10639 echo "${ECHO_T}no" >&6
10644 CC
="$ac_cv_prog_CC"
10648 if test -z "$CC"; then
10649 # Extract the first word of "cc", so it can be a program name with args.
10650 set dummy cc
; ac_word
=$2
10651 echo "$as_me:$LINENO: checking for $ac_word" >&5
10652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10653 if test "${ac_cv_prog_CC+set}" = set; then
10654 echo $ECHO_N "(cached) $ECHO_C" >&6
10656 if test -n "$CC"; then
10657 ac_cv_prog_CC
="$CC" # Let the user override the test.
10659 ac_prog_rejected
=no
10660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10661 for as_dir
in $PATH
10664 test -z "$as_dir" && as_dir
=.
10665 for ac_exec_ext
in '' $ac_executable_extensions; do
10666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10667 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10668 ac_prog_rejected
=yes
10672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10678 if test $ac_prog_rejected = yes; then
10679 # We found a bogon in the path, so make sure we never use it.
10680 set dummy
$ac_cv_prog_CC
10682 if test $# != 0; then
10683 # We chose a different compiler from the bogus one.
10684 # However, it has the same basename, so the bogon will be chosen
10685 # first if we set CC to just the basename; use the full file name.
10687 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10693 if test -n "$CC"; then
10694 echo "$as_me:$LINENO: result: $CC" >&5
10695 echo "${ECHO_T}$CC" >&6
10697 echo "$as_me:$LINENO: result: no" >&5
10698 echo "${ECHO_T}no" >&6
10702 if test -z "$CC"; then
10703 if test -n "$ac_tool_prefix"; then
10706 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10707 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10708 echo "$as_me:$LINENO: checking for $ac_word" >&5
10709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10710 if test "${ac_cv_prog_CC+set}" = set; then
10711 echo $ECHO_N "(cached) $ECHO_C" >&6
10713 if test -n "$CC"; then
10714 ac_cv_prog_CC
="$CC" # Let the user override the test.
10716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10717 for as_dir
in $PATH
10720 test -z "$as_dir" && as_dir
=.
10721 for ac_exec_ext
in '' $ac_executable_extensions; do
10722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10723 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10733 if test -n "$CC"; then
10734 echo "$as_me:$LINENO: result: $CC" >&5
10735 echo "${ECHO_T}$CC" >&6
10737 echo "$as_me:$LINENO: result: no" >&5
10738 echo "${ECHO_T}no" >&6
10741 test -n "$CC" && break
10744 if test -z "$CC"; then
10748 # Extract the first word of "$ac_prog", so it can be a program name with args.
10749 set dummy
$ac_prog; ac_word
=$2
10750 echo "$as_me:$LINENO: checking for $ac_word" >&5
10751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10752 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10753 echo $ECHO_N "(cached) $ECHO_C" >&6
10755 if test -n "$ac_ct_CC"; then
10756 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10759 for as_dir
in $PATH
10762 test -z "$as_dir" && as_dir
=.
10763 for ac_exec_ext
in '' $ac_executable_extensions; do
10764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10765 ac_cv_prog_ac_ct_CC
="$ac_prog"
10766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10774 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10775 if test -n "$ac_ct_CC"; then
10776 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10777 echo "${ECHO_T}$ac_ct_CC" >&6
10779 echo "$as_me:$LINENO: result: no" >&5
10780 echo "${ECHO_T}no" >&6
10783 test -n "$ac_ct_CC" && break
10792 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10793 See \`config.log' for more details." >&5
10794 echo "$as_me: error: no acceptable C compiler found in \$PATH
10795 See \`config.log' for more details." >&2;}
10796 { (exit 1); exit 1; }; }
10798 # Provide some information about the compiler.
10799 echo "$as_me:$LINENO:" \
10800 "checking for C compiler version" >&5
10801 ac_compiler
=`set X $ac_compile; echo $2`
10802 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10803 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10806 (exit $ac_status); }
10807 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10808 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10811 (exit $ac_status); }
10812 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10813 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816 (exit $ac_status); }
10818 cat >conftest.
$ac_ext <<_ACEOF
10821 cat confdefs.h
>>conftest.
$ac_ext
10822 cat >>conftest.
$ac_ext <<_ACEOF
10823 /* end confdefs.h. */
10833 ac_clean_files_save
=$ac_clean_files
10834 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10835 # Try to create an executable without -o first, disregard a.out.
10836 # It will help us diagnose broken compilers, and finding out an intuition
10838 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10839 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10840 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10841 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10842 (eval $ac_link_default) 2>&5
10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 (exit $ac_status); }; then
10846 # Find the output, starting from the most likely. This scheme is
10847 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10850 # Be careful to initialize this variable, since it used to be cached.
10851 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10853 # b.out is created by i960 compilers.
10854 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10856 test -f "$ac_file" || continue
10858 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10861 # This is the source file.
10864 # We found the default executable, but exeext='' is most
10868 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10869 # FIXME: I believe we export ac_cv_exeext for Libtool,
10870 # but it would be cool to find out if it's true. Does anybody
10871 # maintain Libtool? --akim.
10872 export ac_cv_exeext
10879 echo "$as_me: failed program was:" >&5
10880 sed 's/^/| /' conftest.
$ac_ext >&5
10882 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10883 See \`config.log' for more details." >&5
10884 echo "$as_me: error: C compiler cannot create executables
10885 See \`config.log' for more details." >&2;}
10886 { (exit 77); exit 77; }; }
10889 ac_exeext
=$ac_cv_exeext
10890 echo "$as_me:$LINENO: result: $ac_file" >&5
10891 echo "${ECHO_T}$ac_file" >&6
10893 # Check the compiler produces executables we can run. If not, either
10894 # the compiler is broken, or we cross compile.
10895 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10896 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10897 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10898 # If not cross compiling, check that we can run a simple program.
10899 if test "$cross_compiling" != yes; then
10900 if { ac_try
='./$ac_file'
10901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10902 (eval $ac_try) 2>&5
10904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10905 (exit $ac_status); }; }; then
10908 if test "$cross_compiling" = maybe
; then
10909 cross_compiling
=yes
10911 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10912 If you meant to cross compile, use \`--host'.
10913 See \`config.log' for more details." >&5
10914 echo "$as_me: error: cannot run C compiled programs.
10915 If you meant to cross compile, use \`--host'.
10916 See \`config.log' for more details." >&2;}
10917 { (exit 1); exit 1; }; }
10921 echo "$as_me:$LINENO: result: yes" >&5
10922 echo "${ECHO_T}yes" >&6
10924 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10925 ac_clean_files
=$ac_clean_files_save
10926 # Check the compiler produces executables we can run. If not, either
10927 # the compiler is broken, or we cross compile.
10928 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10929 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10930 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10931 echo "${ECHO_T}$cross_compiling" >&6
10933 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10934 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10936 (eval $ac_link) 2>&5
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); }; then
10940 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10941 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10942 # work properly (i.e., refer to `conftest.exe'), while it won't with
10944 for ac_file
in conftest.exe conftest conftest.
*; do
10945 test -f "$ac_file" || continue
10947 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10948 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10949 export ac_cv_exeext
10955 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10956 See \`config.log' for more details." >&5
10957 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10958 See \`config.log' for more details." >&2;}
10959 { (exit 1); exit 1; }; }
10962 rm -f conftest
$ac_cv_exeext
10963 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10964 echo "${ECHO_T}$ac_cv_exeext" >&6
10966 rm -f conftest.
$ac_ext
10967 EXEEXT
=$ac_cv_exeext
10969 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10970 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10971 if test "${ac_cv_objext+set}" = set; then
10972 echo $ECHO_N "(cached) $ECHO_C" >&6
10974 cat >conftest.
$ac_ext <<_ACEOF
10977 cat confdefs.h
>>conftest.
$ac_ext
10978 cat >>conftest.
$ac_ext <<_ACEOF
10979 /* end confdefs.h. */
10989 rm -f conftest.o conftest.obj
10990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10991 (eval $ac_compile) 2>&5
10993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10994 (exit $ac_status); }; then
10995 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10997 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10998 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11003 echo "$as_me: failed program was:" >&5
11004 sed 's/^/| /' conftest.
$ac_ext >&5
11006 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11007 See \`config.log' for more details." >&5
11008 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11009 See \`config.log' for more details." >&2;}
11010 { (exit 1); exit 1; }; }
11013 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11015 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11016 echo "${ECHO_T}$ac_cv_objext" >&6
11017 OBJEXT
=$ac_cv_objext
11019 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11020 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11021 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11022 echo $ECHO_N "(cached) $ECHO_C" >&6
11024 cat >conftest.
$ac_ext <<_ACEOF
11027 cat confdefs.h
>>conftest.
$ac_ext
11028 cat >>conftest.
$ac_ext <<_ACEOF
11029 /* end confdefs.h. */
11042 rm -f conftest.
$ac_objext
11043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11044 (eval $ac_compile) 2>conftest.er1
11046 grep -v '^ *+' conftest.er1
>conftest.err
11048 cat conftest.err
>&5
11049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11050 (exit $ac_status); } &&
11051 { ac_try
='test -z "$ac_c_werror_flag"
11052 || test ! -s conftest.err'
11053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11054 (eval $ac_try) 2>&5
11056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11057 (exit $ac_status); }; } &&
11058 { ac_try
='test -s conftest.$ac_objext'
11059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11060 (eval $ac_try) 2>&5
11062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11063 (exit $ac_status); }; }; then
11064 ac_compiler_gnu
=yes
11066 echo "$as_me: failed program was:" >&5
11067 sed 's/^/| /' conftest.
$ac_ext >&5
11071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11072 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11075 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11076 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11077 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11078 ac_test_CFLAGS
=${CFLAGS+set}
11079 ac_save_CFLAGS
=$CFLAGS
11081 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11082 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11083 if test "${ac_cv_prog_cc_g+set}" = set; then
11084 echo $ECHO_N "(cached) $ECHO_C" >&6
11086 cat >conftest.
$ac_ext <<_ACEOF
11089 cat confdefs.h
>>conftest.
$ac_ext
11090 cat >>conftest.
$ac_ext <<_ACEOF
11091 /* end confdefs.h. */
11101 rm -f conftest.
$ac_objext
11102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11103 (eval $ac_compile) 2>conftest.er1
11105 grep -v '^ *+' conftest.er1
>conftest.err
11107 cat conftest.err
>&5
11108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11109 (exit $ac_status); } &&
11110 { ac_try
='test -z "$ac_c_werror_flag"
11111 || test ! -s conftest.err'
11112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11113 (eval $ac_try) 2>&5
11115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11116 (exit $ac_status); }; } &&
11117 { ac_try
='test -s conftest.$ac_objext'
11118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11119 (eval $ac_try) 2>&5
11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); }; }; then
11123 ac_cv_prog_cc_g
=yes
11125 echo "$as_me: failed program was:" >&5
11126 sed 's/^/| /' conftest.
$ac_ext >&5
11130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11132 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11133 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11134 if test "$ac_test_CFLAGS" = set; then
11135 CFLAGS
=$ac_save_CFLAGS
11136 elif test $ac_cv_prog_cc_g = yes; then
11137 if test "$GCC" = yes; then
11143 if test "$GCC" = yes; then
11149 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11150 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11151 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11152 echo $ECHO_N "(cached) $ECHO_C" >&6
11154 ac_cv_prog_cc_stdc
=no
11156 cat >conftest.
$ac_ext <<_ACEOF
11159 cat confdefs.h
>>conftest.
$ac_ext
11160 cat >>conftest.
$ac_ext <<_ACEOF
11161 /* end confdefs.h. */
11162 #include <stdarg.h>
11164 #include <sys/types.h>
11165 #include <sys/stat.h>
11166 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11167 struct buf { int x; };
11168 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11169 static char *e (p, i)
11175 static char *f (char * (*g) (char **, int), char **p, ...)
11180 s = g (p, va_arg (v,int));
11185 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11186 function prototypes and stuff, but not '\xHH' hex character constants.
11187 These don't provoke an error unfortunately, instead are silently treated
11188 as 'x'. The following induces an error, until -std1 is added to get
11189 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11190 array size at least. It's necessary to write '\x00'==0 to get something
11191 that's true only with -std1. */
11192 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11194 int test (int i, double x);
11195 struct s1 {int (*f) (int a);};
11196 struct s2 {int (*f) (double a);};
11197 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11203 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11208 # Don't try gcc -ansi; that turns off useful extensions and
11209 # breaks some systems' header files.
11210 # AIX -qlanglvl=ansi
11211 # Ultrix and OSF/1 -std1
11212 # HP-UX 10.20 and later -Ae
11213 # HP-UX older versions -Aa -D_HPUX_SOURCE
11214 # SVR4 -Xc -D__EXTENSIONS__
11215 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11217 CC
="$ac_save_CC $ac_arg"
11218 rm -f conftest.
$ac_objext
11219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11220 (eval $ac_compile) 2>conftest.er1
11222 grep -v '^ *+' conftest.er1
>conftest.err
11224 cat conftest.err
>&5
11225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11226 (exit $ac_status); } &&
11227 { ac_try
='test -z "$ac_c_werror_flag"
11228 || test ! -s conftest.err'
11229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11230 (eval $ac_try) 2>&5
11232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233 (exit $ac_status); }; } &&
11234 { ac_try
='test -s conftest.$ac_objext'
11235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11236 (eval $ac_try) 2>&5
11238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239 (exit $ac_status); }; }; then
11240 ac_cv_prog_cc_stdc
=$ac_arg
11243 echo "$as_me: failed program was:" >&5
11244 sed 's/^/| /' conftest.
$ac_ext >&5
11247 rm -f conftest.err conftest.
$ac_objext
11249 rm -f conftest.
$ac_ext conftest.
$ac_objext
11254 case "x$ac_cv_prog_cc_stdc" in
11256 echo "$as_me:$LINENO: result: none needed" >&5
11257 echo "${ECHO_T}none needed" >&6 ;;
11259 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11260 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11261 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11264 # Some people use a C++ compiler to compile C. Since we use `exit',
11265 # in C++ we need to declare it. In case someone uses the same compiler
11266 # for both compiling C and C++ we need to have the C++ compiler decide
11267 # the declaration of exit, since it's the most demanding environment.
11268 cat >conftest.
$ac_ext <<_ACEOF
11269 #ifndef __cplusplus
11273 rm -f conftest.
$ac_objext
11274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11275 (eval $ac_compile) 2>conftest.er1
11277 grep -v '^ *+' conftest.er1
>conftest.err
11279 cat conftest.err
>&5
11280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11281 (exit $ac_status); } &&
11282 { ac_try
='test -z "$ac_c_werror_flag"
11283 || test ! -s conftest.err'
11284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11285 (eval $ac_try) 2>&5
11287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11288 (exit $ac_status); }; } &&
11289 { ac_try
='test -s conftest.$ac_objext'
11290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11291 (eval $ac_try) 2>&5
11293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294 (exit $ac_status); }; }; then
11295 for ac_declaration
in \
11297 'extern "C" void std::exit (int) throw (); using std::exit;' \
11298 'extern "C" void std::exit (int); using std::exit;' \
11299 'extern "C" void exit (int) throw ();' \
11300 'extern "C" void exit (int);' \
11303 cat >conftest.
$ac_ext <<_ACEOF
11306 cat confdefs.h
>>conftest.
$ac_ext
11307 cat >>conftest.
$ac_ext <<_ACEOF
11308 /* end confdefs.h. */
11310 #include <stdlib.h>
11319 rm -f conftest.
$ac_objext
11320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11321 (eval $ac_compile) 2>conftest.er1
11323 grep -v '^ *+' conftest.er1
>conftest.err
11325 cat conftest.err
>&5
11326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11327 (exit $ac_status); } &&
11328 { ac_try
='test -z "$ac_c_werror_flag"
11329 || test ! -s conftest.err'
11330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11331 (eval $ac_try) 2>&5
11333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11334 (exit $ac_status); }; } &&
11335 { ac_try
='test -s conftest.$ac_objext'
11336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11337 (eval $ac_try) 2>&5
11339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11340 (exit $ac_status); }; }; then
11343 echo "$as_me: failed program was:" >&5
11344 sed 's/^/| /' conftest.
$ac_ext >&5
11348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11349 cat >conftest.
$ac_ext <<_ACEOF
11352 cat confdefs.h
>>conftest.
$ac_ext
11353 cat >>conftest.
$ac_ext <<_ACEOF
11354 /* end confdefs.h. */
11364 rm -f conftest.
$ac_objext
11365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11366 (eval $ac_compile) 2>conftest.er1
11368 grep -v '^ *+' conftest.er1
>conftest.err
11370 cat conftest.err
>&5
11371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11372 (exit $ac_status); } &&
11373 { ac_try
='test -z "$ac_c_werror_flag"
11374 || test ! -s conftest.err'
11375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11376 (eval $ac_try) 2>&5
11378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11379 (exit $ac_status); }; } &&
11380 { ac_try
='test -s conftest.$ac_objext'
11381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11382 (eval $ac_try) 2>&5
11384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11385 (exit $ac_status); }; }; then
11388 echo "$as_me: failed program was:" >&5
11389 sed 's/^/| /' conftest.
$ac_ext >&5
11392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11395 if test -n "$ac_declaration"; then
11396 echo '#ifdef __cplusplus' >>confdefs.h
11397 echo $ac_declaration >>confdefs.h
11398 echo '#endif' >>confdefs.h
11402 echo "$as_me: failed program was:" >&5
11403 sed 's/^/| /' conftest.
$ac_ext >&5
11406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11408 ac_cpp
='$CPP $CPPFLAGS'
11409 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11410 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11411 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11415 ac_cpp
='$CPP $CPPFLAGS'
11416 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11417 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11418 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11420 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11421 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11422 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11423 echo $ECHO_N "(cached) $ECHO_C" >&6
11425 cat >conftest.
$ac_ext <<_ACEOF
11428 cat confdefs.h
>>conftest.
$ac_ext
11429 cat >>conftest.
$ac_ext <<_ACEOF
11430 /* end confdefs.h. */
11443 rm -f conftest.
$ac_objext
11444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11445 (eval $ac_compile) 2>conftest.er1
11447 grep -v '^ *+' conftest.er1
>conftest.err
11449 cat conftest.err
>&5
11450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11451 (exit $ac_status); } &&
11452 { ac_try
='test -z "$ac_c_werror_flag"
11453 || test ! -s conftest.err'
11454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11455 (eval $ac_try) 2>&5
11457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458 (exit $ac_status); }; } &&
11459 { ac_try
='test -s conftest.$ac_objext'
11460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11461 (eval $ac_try) 2>&5
11463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464 (exit $ac_status); }; }; then
11465 bakefile_compiler_mwerks
=yes
11467 echo "$as_me: failed program was:" >&5
11468 sed 's/^/| /' conftest.
$ac_ext >&5
11470 bakefile_compiler_mwerks
=no
11472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11473 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11476 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11477 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11479 MWCC
=`test $bakefile_compiler_mwerks = yes && echo yes`
11481 ac_cpp
='$CPP $CPPFLAGS'
11482 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11483 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11484 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11489 ac_cpp
='$CPP $CPPFLAGS'
11490 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11491 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11492 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11493 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11494 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11495 # On Suns, sometimes $CPP names a directory.
11496 if test -n "$CPP" && test -d "$CPP"; then
11499 if test -z "$CPP"; then
11500 if test "${ac_cv_prog_CPP+set}" = set; then
11501 echo $ECHO_N "(cached) $ECHO_C" >&6
11503 # Double quotes because CPP needs to be expanded
11504 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11506 ac_preproc_ok
=false
11507 for ac_c_preproc_warn_flag
in '' yes
11509 # Use a header file that comes with gcc, so configuring glibc
11510 # with a fresh cross-compiler works.
11511 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11512 # <limits.h> exists even on freestanding compilers.
11513 # On the NeXT, cc -E runs the code through the compiler's parser,
11514 # not just through cpp. "Syntax error" is here to catch this case.
11515 cat >conftest.
$ac_ext <<_ACEOF
11518 cat confdefs.h
>>conftest.
$ac_ext
11519 cat >>conftest.
$ac_ext <<_ACEOF
11520 /* end confdefs.h. */
11522 # include <limits.h>
11524 # include <assert.h>
11528 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11529 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11531 grep -v '^ *+' conftest.er1
>conftest.err
11533 cat conftest.err
>&5
11534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11535 (exit $ac_status); } >/dev
/null
; then
11536 if test -s conftest.err
; then
11537 ac_cpp_err
=$ac_c_preproc_warn_flag
11538 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11545 if test -z "$ac_cpp_err"; then
11548 echo "$as_me: failed program was:" >&5
11549 sed 's/^/| /' conftest.
$ac_ext >&5
11551 # Broken: fails on valid input.
11554 rm -f conftest.err conftest.
$ac_ext
11556 # OK, works on sane cases. Now check whether non-existent headers
11557 # can be detected and how.
11558 cat >conftest.
$ac_ext <<_ACEOF
11561 cat confdefs.h
>>conftest.
$ac_ext
11562 cat >>conftest.
$ac_ext <<_ACEOF
11563 /* end confdefs.h. */
11564 #include <ac_nonexistent.h>
11566 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11567 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11569 grep -v '^ *+' conftest.er1
>conftest.err
11571 cat conftest.err
>&5
11572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11573 (exit $ac_status); } >/dev
/null
; then
11574 if test -s conftest.err
; then
11575 ac_cpp_err
=$ac_c_preproc_warn_flag
11576 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11583 if test -z "$ac_cpp_err"; then
11584 # Broken: success on invalid input.
11587 echo "$as_me: failed program was:" >&5
11588 sed 's/^/| /' conftest.
$ac_ext >&5
11590 # Passes both tests.
11594 rm -f conftest.err conftest.
$ac_ext
11597 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11598 rm -f conftest.err conftest.
$ac_ext
11599 if $ac_preproc_ok; then
11604 ac_cv_prog_CPP
=$CPP
11607 CPP
=$ac_cv_prog_CPP
11609 ac_cv_prog_CPP
=$CPP
11611 echo "$as_me:$LINENO: result: $CPP" >&5
11612 echo "${ECHO_T}$CPP" >&6
11613 ac_preproc_ok
=false
11614 for ac_c_preproc_warn_flag
in '' yes
11616 # Use a header file that comes with gcc, so configuring glibc
11617 # with a fresh cross-compiler works.
11618 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11619 # <limits.h> exists even on freestanding compilers.
11620 # On the NeXT, cc -E runs the code through the compiler's parser,
11621 # not just through cpp. "Syntax error" is here to catch this case.
11622 cat >conftest.
$ac_ext <<_ACEOF
11625 cat confdefs.h
>>conftest.
$ac_ext
11626 cat >>conftest.
$ac_ext <<_ACEOF
11627 /* end confdefs.h. */
11629 # include <limits.h>
11631 # include <assert.h>
11635 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11636 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11638 grep -v '^ *+' conftest.er1
>conftest.err
11640 cat conftest.err
>&5
11641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11642 (exit $ac_status); } >/dev
/null
; then
11643 if test -s conftest.err
; then
11644 ac_cpp_err
=$ac_c_preproc_warn_flag
11645 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11652 if test -z "$ac_cpp_err"; then
11655 echo "$as_me: failed program was:" >&5
11656 sed 's/^/| /' conftest.
$ac_ext >&5
11658 # Broken: fails on valid input.
11661 rm -f conftest.err conftest.
$ac_ext
11663 # OK, works on sane cases. Now check whether non-existent headers
11664 # can be detected and how.
11665 cat >conftest.
$ac_ext <<_ACEOF
11668 cat confdefs.h
>>conftest.
$ac_ext
11669 cat >>conftest.
$ac_ext <<_ACEOF
11670 /* end confdefs.h. */
11671 #include <ac_nonexistent.h>
11673 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11674 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11676 grep -v '^ *+' conftest.er1
>conftest.err
11678 cat conftest.err
>&5
11679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11680 (exit $ac_status); } >/dev
/null
; then
11681 if test -s conftest.err
; then
11682 ac_cpp_err
=$ac_c_preproc_warn_flag
11683 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11690 if test -z "$ac_cpp_err"; then
11691 # Broken: success on invalid input.
11694 echo "$as_me: failed program was:" >&5
11695 sed 's/^/| /' conftest.
$ac_ext >&5
11697 # Passes both tests.
11701 rm -f conftest.err conftest.
$ac_ext
11704 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11705 rm -f conftest.err conftest.
$ac_ext
11706 if $ac_preproc_ok; then
11709 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11710 See \`config.log' for more details." >&5
11711 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11712 See \`config.log' for more details." >&2;}
11713 { (exit 1); exit 1; }; }
11717 ac_cpp
='$CPP $CPPFLAGS'
11718 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11719 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11720 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11723 echo "$as_me:$LINENO: checking for egrep" >&5
11724 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11725 if test "${ac_cv_prog_egrep+set}" = set; then
11726 echo $ECHO_N "(cached) $ECHO_C" >&6
11728 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11729 then ac_cv_prog_egrep
='grep -E'
11730 else ac_cv_prog_egrep
='egrep'
11733 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11734 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11735 EGREP
=$ac_cv_prog_egrep
11738 if test $ac_cv_c_compiler_gnu = yes; then
11739 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11740 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11741 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11742 echo $ECHO_N "(cached) $ECHO_C" >&6
11744 ac_pattern
="Autoconf.*'x'"
11745 cat >conftest.
$ac_ext <<_ACEOF
11748 cat confdefs.h
>>conftest.
$ac_ext
11749 cat >>conftest.
$ac_ext <<_ACEOF
11750 /* end confdefs.h. */
11754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11755 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11756 ac_cv_prog_gcc_traditional
=yes
11758 ac_cv_prog_gcc_traditional
=no
11763 if test $ac_cv_prog_gcc_traditional = no
; then
11764 cat >conftest.
$ac_ext <<_ACEOF
11767 cat confdefs.h
>>conftest.
$ac_ext
11768 cat >>conftest.
$ac_ext <<_ACEOF
11769 /* end confdefs.h. */
11770 #include <termio.h>
11773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11774 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11775 ac_cv_prog_gcc_traditional
=yes
11781 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11782 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11783 if test $ac_cv_prog_gcc_traditional = yes; then
11784 CC
="$CC -traditional"
11792 ac_cpp
='$CXXCPP $CPPFLAGS'
11793 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11794 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11795 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11798 CXXFLAGS
=${CXXFLAGS:=}
11800 ac_cpp
='$CXXCPP $CPPFLAGS'
11801 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11802 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11803 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11804 if test -n "$ac_tool_prefix"; then
11805 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11807 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11808 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11809 echo "$as_me:$LINENO: checking for $ac_word" >&5
11810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11811 if test "${ac_cv_prog_CXX+set}" = set; then
11812 echo $ECHO_N "(cached) $ECHO_C" >&6
11814 if test -n "$CXX"; then
11815 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11818 for as_dir
in $PATH
11821 test -z "$as_dir" && as_dir
=.
11822 for ac_exec_ext
in '' $ac_executable_extensions; do
11823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11824 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11833 CXX
=$ac_cv_prog_CXX
11834 if test -n "$CXX"; then
11835 echo "$as_me:$LINENO: result: $CXX" >&5
11836 echo "${ECHO_T}$CXX" >&6
11838 echo "$as_me:$LINENO: result: no" >&5
11839 echo "${ECHO_T}no" >&6
11842 test -n "$CXX" && break
11845 if test -z "$CXX"; then
11847 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11849 # Extract the first word of "$ac_prog", so it can be a program name with args.
11850 set dummy
$ac_prog; ac_word
=$2
11851 echo "$as_me:$LINENO: checking for $ac_word" >&5
11852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11853 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11854 echo $ECHO_N "(cached) $ECHO_C" >&6
11856 if test -n "$ac_ct_CXX"; then
11857 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11860 for as_dir
in $PATH
11863 test -z "$as_dir" && as_dir
=.
11864 for ac_exec_ext
in '' $ac_executable_extensions; do
11865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11866 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11875 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11876 if test -n "$ac_ct_CXX"; then
11877 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11878 echo "${ECHO_T}$ac_ct_CXX" >&6
11880 echo "$as_me:$LINENO: result: no" >&5
11881 echo "${ECHO_T}no" >&6
11884 test -n "$ac_ct_CXX" && break
11886 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11892 # Provide some information about the compiler.
11893 echo "$as_me:$LINENO:" \
11894 "checking for C++ compiler version" >&5
11895 ac_compiler
=`set X $ac_compile; echo $2`
11896 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11897 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11900 (exit $ac_status); }
11901 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11902 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11905 (exit $ac_status); }
11906 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11907 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11910 (exit $ac_status); }
11912 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11913 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11914 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11915 echo $ECHO_N "(cached) $ECHO_C" >&6
11917 cat >conftest.
$ac_ext <<_ACEOF
11920 cat confdefs.h
>>conftest.
$ac_ext
11921 cat >>conftest.
$ac_ext <<_ACEOF
11922 /* end confdefs.h. */
11935 rm -f conftest.
$ac_objext
11936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11937 (eval $ac_compile) 2>conftest.er1
11939 grep -v '^ *+' conftest.er1
>conftest.err
11941 cat conftest.err
>&5
11942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11943 (exit $ac_status); } &&
11944 { ac_try
='test -z "$ac_cxx_werror_flag"
11945 || test ! -s conftest.err'
11946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11947 (eval $ac_try) 2>&5
11949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950 (exit $ac_status); }; } &&
11951 { ac_try
='test -s conftest.$ac_objext'
11952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11953 (eval $ac_try) 2>&5
11955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11956 (exit $ac_status); }; }; then
11957 ac_compiler_gnu
=yes
11959 echo "$as_me: failed program was:" >&5
11960 sed 's/^/| /' conftest.
$ac_ext >&5
11964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11965 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11968 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11969 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11970 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11971 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11972 ac_save_CXXFLAGS
=$CXXFLAGS
11974 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11975 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11976 if test "${ac_cv_prog_cxx_g+set}" = set; then
11977 echo $ECHO_N "(cached) $ECHO_C" >&6
11979 cat >conftest.
$ac_ext <<_ACEOF
11982 cat confdefs.h
>>conftest.
$ac_ext
11983 cat >>conftest.
$ac_ext <<_ACEOF
11984 /* end confdefs.h. */
11994 rm -f conftest.
$ac_objext
11995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11996 (eval $ac_compile) 2>conftest.er1
11998 grep -v '^ *+' conftest.er1
>conftest.err
12000 cat conftest.err
>&5
12001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12002 (exit $ac_status); } &&
12003 { ac_try
='test -z "$ac_cxx_werror_flag"
12004 || test ! -s conftest.err'
12005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12006 (eval $ac_try) 2>&5
12008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 (exit $ac_status); }; } &&
12010 { ac_try
='test -s conftest.$ac_objext'
12011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12012 (eval $ac_try) 2>&5
12014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12015 (exit $ac_status); }; }; then
12016 ac_cv_prog_cxx_g
=yes
12018 echo "$as_me: failed program was:" >&5
12019 sed 's/^/| /' conftest.
$ac_ext >&5
12021 ac_cv_prog_cxx_g
=no
12023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12025 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12026 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12027 if test "$ac_test_CXXFLAGS" = set; then
12028 CXXFLAGS
=$ac_save_CXXFLAGS
12029 elif test $ac_cv_prog_cxx_g = yes; then
12030 if test "$GXX" = yes; then
12036 if test "$GXX" = yes; then
12042 for ac_declaration
in \
12044 'extern "C" void std::exit (int) throw (); using std::exit;' \
12045 'extern "C" void std::exit (int); using std::exit;' \
12046 'extern "C" void exit (int) throw ();' \
12047 'extern "C" void exit (int);' \
12050 cat >conftest.
$ac_ext <<_ACEOF
12053 cat confdefs.h
>>conftest.
$ac_ext
12054 cat >>conftest.
$ac_ext <<_ACEOF
12055 /* end confdefs.h. */
12057 #include <stdlib.h>
12066 rm -f conftest.
$ac_objext
12067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12068 (eval $ac_compile) 2>conftest.er1
12070 grep -v '^ *+' conftest.er1
>conftest.err
12072 cat conftest.err
>&5
12073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12074 (exit $ac_status); } &&
12075 { ac_try
='test -z "$ac_cxx_werror_flag"
12076 || test ! -s conftest.err'
12077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12078 (eval $ac_try) 2>&5
12080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12081 (exit $ac_status); }; } &&
12082 { ac_try
='test -s conftest.$ac_objext'
12083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12084 (eval $ac_try) 2>&5
12086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12087 (exit $ac_status); }; }; then
12090 echo "$as_me: failed program was:" >&5
12091 sed 's/^/| /' conftest.
$ac_ext >&5
12095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12096 cat >conftest.
$ac_ext <<_ACEOF
12099 cat confdefs.h
>>conftest.
$ac_ext
12100 cat >>conftest.
$ac_ext <<_ACEOF
12101 /* end confdefs.h. */
12111 rm -f conftest.
$ac_objext
12112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12113 (eval $ac_compile) 2>conftest.er1
12115 grep -v '^ *+' conftest.er1
>conftest.err
12117 cat conftest.err
>&5
12118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12119 (exit $ac_status); } &&
12120 { ac_try
='test -z "$ac_cxx_werror_flag"
12121 || test ! -s conftest.err'
12122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12123 (eval $ac_try) 2>&5
12125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12126 (exit $ac_status); }; } &&
12127 { ac_try
='test -s conftest.$ac_objext'
12128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12129 (eval $ac_try) 2>&5
12131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12132 (exit $ac_status); }; }; then
12135 echo "$as_me: failed program was:" >&5
12136 sed 's/^/| /' conftest.
$ac_ext >&5
12139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12142 if test -n "$ac_declaration"; then
12143 echo '#ifdef __cplusplus' >>confdefs.h
12144 echo $ac_declaration >>confdefs.h
12145 echo '#endif' >>confdefs.h
12149 ac_cpp
='$CXXCPP $CPPFLAGS'
12150 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12151 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12152 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12156 ac_cpp
='$CXXCPP $CPPFLAGS'
12157 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12158 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12159 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12161 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12162 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12163 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12164 echo $ECHO_N "(cached) $ECHO_C" >&6
12166 cat >conftest.
$ac_ext <<_ACEOF
12169 cat confdefs.h
>>conftest.
$ac_ext
12170 cat >>conftest.
$ac_ext <<_ACEOF
12171 /* end confdefs.h. */
12184 rm -f conftest.
$ac_objext
12185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12186 (eval $ac_compile) 2>conftest.er1
12188 grep -v '^ *+' conftest.er1
>conftest.err
12190 cat conftest.err
>&5
12191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12192 (exit $ac_status); } &&
12193 { ac_try
='test -z "$ac_cxx_werror_flag"
12194 || test ! -s conftest.err'
12195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12196 (eval $ac_try) 2>&5
12198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12199 (exit $ac_status); }; } &&
12200 { ac_try
='test -s conftest.$ac_objext'
12201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12202 (eval $ac_try) 2>&5
12204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12205 (exit $ac_status); }; }; then
12206 bakefile_compiler_mwerks
=yes
12208 echo "$as_me: failed program was:" >&5
12209 sed 's/^/| /' conftest.
$ac_ext >&5
12211 bakefile_compiler_mwerks
=no
12213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12214 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
12217 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12218 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12220 MWCXX
=`test $bakefile_compiler_mwerks = yes && echo yes`
12222 ac_cpp
='$CXXCPP $CPPFLAGS'
12223 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12224 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12225 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12230 ac_cpp
='$CPP $CPPFLAGS'
12231 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12232 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12233 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12236 if test -n "$ac_tool_prefix"; then
12237 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12238 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
12239 echo "$as_me:$LINENO: checking for $ac_word" >&5
12240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12241 if test "${ac_cv_prog_RANLIB+set}" = set; then
12242 echo $ECHO_N "(cached) $ECHO_C" >&6
12244 if test -n "$RANLIB"; then
12245 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
12247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12248 for as_dir
in $PATH
12251 test -z "$as_dir" && as_dir
=.
12252 for ac_exec_ext
in '' $ac_executable_extensions; do
12253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12254 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
12255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12263 RANLIB
=$ac_cv_prog_RANLIB
12264 if test -n "$RANLIB"; then
12265 echo "$as_me:$LINENO: result: $RANLIB" >&5
12266 echo "${ECHO_T}$RANLIB" >&6
12268 echo "$as_me:$LINENO: result: no" >&5
12269 echo "${ECHO_T}no" >&6
12273 if test -z "$ac_cv_prog_RANLIB"; then
12274 ac_ct_RANLIB
=$RANLIB
12275 # Extract the first word of "ranlib", so it can be a program name with args.
12276 set dummy ranlib
; ac_word
=$2
12277 echo "$as_me:$LINENO: checking for $ac_word" >&5
12278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12279 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12280 echo $ECHO_N "(cached) $ECHO_C" >&6
12282 if test -n "$ac_ct_RANLIB"; then
12283 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
12285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12286 for as_dir
in $PATH
12289 test -z "$as_dir" && as_dir
=.
12290 for ac_exec_ext
in '' $ac_executable_extensions; do
12291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12292 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12299 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12302 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12303 if test -n "$ac_ct_RANLIB"; then
12304 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12305 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12307 echo "$as_me:$LINENO: result: no" >&5
12308 echo "${ECHO_T}no" >&6
12311 RANLIB
=$ac_ct_RANLIB
12313 RANLIB
="$ac_cv_prog_RANLIB"
12317 # Extract the first word of "ar", so it can be a program name with args.
12318 set dummy
ar; ac_word
=$2
12319 echo "$as_me:$LINENO: checking for $ac_word" >&5
12320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12321 if test "${ac_cv_prog_AR+set}" = set; then
12322 echo $ECHO_N "(cached) $ECHO_C" >&6
12324 if test -n "$AR"; then
12325 ac_cv_prog_AR
="$AR" # Let the user override the test.
12327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12328 for as_dir
in $PATH
12331 test -z "$as_dir" && as_dir
=.
12332 for ac_exec_ext
in '' $ac_executable_extensions; do
12333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12344 if test -n "$AR"; then
12345 echo "$as_me:$LINENO: result: $AR" >&5
12346 echo "${ECHO_T}$AR" >&6
12348 echo "$as_me:$LINENO: result: no" >&5
12349 echo "${ECHO_T}no" >&6
12352 if test "x$AR" = "x" ; then
12353 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12354 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12355 { (exit 1); exit 1; }; }
12358 # Find a good install program. We prefer a C program (faster),
12359 # so one script is as good as another. But avoid the broken or
12360 # incompatible versions:
12361 # SysV /etc/install, /usr/sbin/install
12362 # SunOS /usr/etc/install
12363 # IRIX /sbin/install
12365 # AmigaOS /C/install, which installs bootblocks on floppy discs
12366 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12367 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12368 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12369 # OS/2's system install, which has a completely different semantic
12370 # ./install, which can be erroneously created by make from ./install.sh.
12371 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12372 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12373 if test -z "$INSTALL"; then
12374 if test "${ac_cv_path_install+set}" = set; then
12375 echo $ECHO_N "(cached) $ECHO_C" >&6
12377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12378 for as_dir
in $PATH
12381 test -z "$as_dir" && as_dir
=.
12382 # Account for people who put trailing slashes in PATH elements.
12384 .
/ | .
// | /cC
/* | \
12385 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12386 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12389 # OSF1 and SCO ODT 3.0 have their own names for install.
12390 # Don't use installbsd from OSF since it installs stuff as root
12392 for ac_prog
in ginstall scoinst
install; do
12393 for ac_exec_ext
in '' $ac_executable_extensions; do
12394 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12395 if test $ac_prog = install &&
12396 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12397 # AIX install. It has an incompatible calling convention.
12399 elif test $ac_prog = install &&
12400 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12401 # program-specific install script used by HP pwplus--don't use.
12404 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12416 if test "${ac_cv_path_install+set}" = set; then
12417 INSTALL
=$ac_cv_path_install
12419 # As a last resort, use the slow shell script. We don't cache a
12420 # path for INSTALL within a source directory, because that will
12421 # break other packages using the cache if that directory is
12422 # removed, or if the path is relative.
12423 INSTALL
=$ac_install_sh
12426 echo "$as_me:$LINENO: result: $INSTALL" >&5
12427 echo "${ECHO_T}$INSTALL" >&6
12429 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12430 # It thinks the first close brace ends the variable substitution.
12431 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12433 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12435 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12441 ?
:* ) # Drive letter, considered as absolute.
12444 INSTALL
=`pwd`/${INSTALL} ;;
12450 powerpc
-*-darwin* )
12451 INSTALL_PROGRAM
="cp -fp"
12452 INSTALL_DATA
="cp -fp"
12458 # Extract the first word of "strip", so it can be a program name with args.
12459 set dummy strip
; ac_word
=$2
12460 echo "$as_me:$LINENO: checking for $ac_word" >&5
12461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12462 if test "${ac_cv_prog_STRIP+set}" = set; then
12463 echo $ECHO_N "(cached) $ECHO_C" >&6
12465 if test -n "$STRIP"; then
12466 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12469 for as_dir
in $PATH
12472 test -z "$as_dir" && as_dir
=.
12473 for ac_exec_ext
in '' $ac_executable_extensions; do
12474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12475 ac_cv_prog_STRIP
="strip"
12476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12482 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12485 STRIP
=$ac_cv_prog_STRIP
12486 if test -n "$STRIP"; then
12487 echo "$as_me:$LINENO: result: $STRIP" >&5
12488 echo "${ECHO_T}$STRIP" >&6
12490 echo "$as_me:$LINENO: result: no" >&5
12491 echo "${ECHO_T}no" >&6
12495 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12496 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12497 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12498 echo $ECHO_N "(cached) $ECHO_C" >&6
12501 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12502 egrep -s GNU
> /dev
/null
); then
12503 wx_cv_prog_makeisgnu
="yes"
12505 wx_cv_prog_makeisgnu
="no"
12509 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12510 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12512 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12520 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12521 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12522 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12523 if test "${wx_cv_prog_makevpath+set}" = set; then
12524 echo $ECHO_N "(cached) $ECHO_C" >&6
12527 cat - << EOF > confMake
12533 if test ! -d sub
; then
12536 echo dummy
> sub
/file
12537 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12539 rm -f sub
/file check final_file confMake
12541 if test "$RESULT" = 0; then
12542 wx_cv_prog_makevpath
="yes"
12544 wx_cv_prog_makevpath
="no"
12548 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12549 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12551 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12552 { { echo "$as_me:$LINENO: error:
12553 You need a make-utility that is able to use the variable
12555 If your version of make does not support VPATH correctly,
12556 please install GNU-make (possibly as gmake), and start
12557 configure with the following command:
12558 export MAKE=gmake; ./configure for sh-type shells
12559 setenv MAKE gmake; ./configure for csh-type shells
12560 Also please do remember to use gmake in this case every time
12561 you are trying to compile.
12563 echo "$as_me: error:
12564 You need a make-utility that is able to use the variable
12566 If your version of make does not support VPATH correctly,
12567 please install GNU-make (possibly as gmake), and start
12568 configure with the following command:
12569 export MAKE=gmake; ./configure for sh-type shells
12570 setenv MAKE gmake; ./configure for csh-type shells
12571 Also please do remember to use gmake in this case every time
12572 you are trying to compile.
12574 { (exit 1); exit 1; }; }
12576 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12577 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12579 if test "$LN_S" = "ln -s"; then
12580 echo "$as_me:$LINENO: result: yes" >&5
12581 echo "${ECHO_T}yes" >&6
12583 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12584 echo "${ECHO_T}no, using $LN_S" >&6
12590 *-pc-os2_emx | *-pc-os2-emx )
12591 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12592 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12593 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12594 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12595 echo $ECHO_N "(cached) $ECHO_C" >&6
12597 ac_check_lib_save_LIBS
=$LIBS
12598 LIBS
="-lcExt $LIBS"
12599 cat >conftest.
$ac_ext <<_ACEOF
12602 cat confdefs.h
>>conftest.
$ac_ext
12603 cat >>conftest.
$ac_ext <<_ACEOF
12604 /* end confdefs.h. */
12606 /* Override any gcc2 internal prototype to avoid an error. */
12610 /* We use char because int might match the return type of a gcc2
12611 builtin and then its argument prototype would still apply. */
12621 rm -f conftest.
$ac_objext conftest
$ac_exeext
12622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12623 (eval $ac_link) 2>conftest.er1
12625 grep -v '^ *+' conftest.er1
>conftest.err
12627 cat conftest.err
>&5
12628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12629 (exit $ac_status); } &&
12630 { ac_try
='test -z "$ac_c_werror_flag"
12631 || test ! -s conftest.err'
12632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12633 (eval $ac_try) 2>&5
12635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12636 (exit $ac_status); }; } &&
12637 { ac_try
='test -s conftest$ac_exeext'
12638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12639 (eval $ac_try) 2>&5
12641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642 (exit $ac_status); }; }; then
12643 ac_cv_lib_cExt_drand48
=yes
12645 echo "$as_me: failed program was:" >&5
12646 sed 's/^/| /' conftest.
$ac_ext >&5
12648 ac_cv_lib_cExt_drand48
=no
12650 rm -f conftest.err conftest.
$ac_objext \
12651 conftest
$ac_exeext conftest.
$ac_ext
12652 LIBS
=$ac_check_lib_save_LIBS
12654 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12655 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12656 if test $ac_cv_lib_cExt_drand48 = yes; then
12657 LIBS
="$LIBS -lcExt"
12661 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12663 echo "$as_me:$LINENO: checking for gcc version" >&5
12664 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12665 if test "${wx_cv_gccversion+set}" = set; then
12666 echo $ECHO_N "(cached) $ECHO_C" >&6
12669 cat >conftest.
$ac_ext <<_ACEOF
12672 cat confdefs.h
>>conftest.
$ac_ext
12673 cat >>conftest.
$ac_ext <<_ACEOF
12674 /* end confdefs.h. */
12688 rm -f conftest.
$ac_objext
12689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12690 (eval $ac_compile) 2>conftest.er1
12692 grep -v '^ *+' conftest.er1
>conftest.err
12694 cat conftest.err
>&5
12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12696 (exit $ac_status); } &&
12697 { ac_try
='test -z "$ac_c_werror_flag"
12698 || test ! -s conftest.err'
12699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12700 (eval $ac_try) 2>&5
12702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12703 (exit $ac_status); }; } &&
12704 { ac_try
='test -s conftest.$ac_objext'
12705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12706 (eval $ac_try) 2>&5
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); }; }; then
12711 cat >conftest.
$ac_ext <<_ACEOF
12714 cat confdefs.h
>>conftest.
$ac_ext
12715 cat >>conftest.
$ac_ext <<_ACEOF
12716 /* end confdefs.h. */
12722 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12723 #error intermediate gcc
12730 rm -f conftest.
$ac_objext
12731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12732 (eval $ac_compile) 2>conftest.er1
12734 grep -v '^ *+' conftest.er1
>conftest.err
12736 cat conftest.err
>&5
12737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12738 (exit $ac_status); } &&
12739 { ac_try
='test -z "$ac_c_werror_flag"
12740 || test ! -s conftest.err'
12741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12742 (eval $ac_try) 2>&5
12744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12745 (exit $ac_status); }; } &&
12746 { ac_try
='test -s conftest.$ac_objext'
12747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12748 (eval $ac_try) 2>&5
12750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12751 (exit $ac_status); }; }; then
12753 wx_cv_gccversion
=Innotek
12756 echo "$as_me: failed program was:" >&5
12757 sed 's/^/| /' conftest.
$ac_ext >&5
12764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12767 echo "$as_me: failed program was:" >&5
12768 sed 's/^/| /' conftest.
$ac_ext >&5
12775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12778 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12779 echo "${ECHO_T}$wx_cv_gccversion" >&6
12780 if test "$wx_cv_gccversion" = "2"; then
12781 LIBS
="$LIBS -lstdcpp"
12782 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12784 if test "$wx_cv_gccversion" = "3"; then
12785 LIBS
="$LIBS -lstdcxx"
12786 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12788 LIBS
="$LIBS -lstdc++"
12791 if test "$wxUSE_OMF" = "yes"; then
12792 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12800 ac_cpp
='$CXXCPP $CPPFLAGS'
12801 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12802 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12803 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12806 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12807 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12808 if test "${ac_cv_string_strcasecmp+set}" = set; then
12809 echo $ECHO_N "(cached) $ECHO_C" >&6
12812 cat >conftest.
$ac_ext <<_ACEOF
12815 cat confdefs.h
>>conftest.
$ac_ext
12816 cat >>conftest.
$ac_ext <<_ACEOF
12817 /* end confdefs.h. */
12819 #include <string.h>
12825 strcasecmp("foo", "bar");
12831 rm -f conftest.
$ac_objext conftest
$ac_exeext
12832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12833 (eval $ac_link) 2>conftest.er1
12835 grep -v '^ *+' conftest.er1
>conftest.err
12837 cat conftest.err
>&5
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); } &&
12840 { ac_try
='test -z "$ac_cxx_werror_flag"
12841 || test ! -s conftest.err'
12842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12843 (eval $ac_try) 2>&5
12845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 (exit $ac_status); }; } &&
12847 { ac_try
='test -s conftest$ac_exeext'
12848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12849 (eval $ac_try) 2>&5
12851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12852 (exit $ac_status); }; }; then
12853 ac_cv_string_strcasecmp
=yes
12855 echo "$as_me: failed program was:" >&5
12856 sed 's/^/| /' conftest.
$ac_ext >&5
12858 ac_cv_string_strcasecmp
=no
12861 rm -f conftest.err conftest.
$ac_objext \
12862 conftest
$ac_exeext conftest.
$ac_ext
12865 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12866 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12868 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12869 cat >>confdefs.h
<<\_ACEOF
12870 #define HAVE_STRCASECMP_IN_STRING_H 1
12874 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12875 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12876 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12877 echo $ECHO_N "(cached) $ECHO_C" >&6
12880 cat >conftest.
$ac_ext <<_ACEOF
12883 cat confdefs.h
>>conftest.
$ac_ext
12884 cat >>conftest.
$ac_ext <<_ACEOF
12885 /* end confdefs.h. */
12887 #include <strings.h>
12893 strcasecmp("foo", "bar");
12899 rm -f conftest.
$ac_objext conftest
$ac_exeext
12900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12901 (eval $ac_link) 2>conftest.er1
12903 grep -v '^ *+' conftest.er1
>conftest.err
12905 cat conftest.err
>&5
12906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); } &&
12908 { ac_try
='test -z "$ac_cxx_werror_flag"
12909 || test ! -s conftest.err'
12910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12911 (eval $ac_try) 2>&5
12913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 (exit $ac_status); }; } &&
12915 { ac_try
='test -s conftest$ac_exeext'
12916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12917 (eval $ac_try) 2>&5
12919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); }; }; then
12921 ac_cv_strings_strcasecmp
=yes
12923 echo "$as_me: failed program was:" >&5
12924 sed 's/^/| /' conftest.
$ac_ext >&5
12926 ac_cv_strings_strcasecmp
=no
12929 rm -f conftest.err conftest.
$ac_objext \
12930 conftest
$ac_exeext conftest.
$ac_ext
12933 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12934 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12936 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
12937 cat >>confdefs.h
<<\_ACEOF
12938 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12942 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12943 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12944 { (exit 1); exit 1; }; }
12949 ac_cpp
='$CPP $CPPFLAGS'
12950 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12951 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12952 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12958 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12959 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12960 if test "${ac_cv_header_stdc+set}" = set; then
12961 echo $ECHO_N "(cached) $ECHO_C" >&6
12963 cat >conftest.
$ac_ext <<_ACEOF
12966 cat confdefs.h
>>conftest.
$ac_ext
12967 cat >>conftest.
$ac_ext <<_ACEOF
12968 /* end confdefs.h. */
12969 #include <stdlib.h>
12970 #include <stdarg.h>
12971 #include <string.h>
12982 rm -f conftest.
$ac_objext
12983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12984 (eval $ac_compile) 2>conftest.er1
12986 grep -v '^ *+' conftest.er1
>conftest.err
12988 cat conftest.err
>&5
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); } &&
12991 { ac_try
='test -z "$ac_c_werror_flag"
12992 || test ! -s conftest.err'
12993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12994 (eval $ac_try) 2>&5
12996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12997 (exit $ac_status); }; } &&
12998 { ac_try
='test -s conftest.$ac_objext'
12999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13000 (eval $ac_try) 2>&5
13002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13003 (exit $ac_status); }; }; then
13004 ac_cv_header_stdc
=yes
13006 echo "$as_me: failed program was:" >&5
13007 sed 's/^/| /' conftest.
$ac_ext >&5
13009 ac_cv_header_stdc
=no
13011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13013 if test $ac_cv_header_stdc = yes; then
13014 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13015 cat >conftest.
$ac_ext <<_ACEOF
13018 cat confdefs.h
>>conftest.
$ac_ext
13019 cat >>conftest.
$ac_ext <<_ACEOF
13020 /* end confdefs.h. */
13021 #include <string.h>
13024 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13025 $EGREP "memchr" >/dev
/null
2>&1; then
13028 ac_cv_header_stdc
=no
13034 if test $ac_cv_header_stdc = yes; then
13035 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13036 cat >conftest.
$ac_ext <<_ACEOF
13039 cat confdefs.h
>>conftest.
$ac_ext
13040 cat >>conftest.
$ac_ext <<_ACEOF
13041 /* end confdefs.h. */
13042 #include <stdlib.h>
13045 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13046 $EGREP "free" >/dev
/null
2>&1; then
13049 ac_cv_header_stdc
=no
13055 if test $ac_cv_header_stdc = yes; then
13056 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13057 if test "$cross_compiling" = yes; then
13060 cat >conftest.
$ac_ext <<_ACEOF
13063 cat confdefs.h
>>conftest.
$ac_ext
13064 cat >>conftest.
$ac_ext <<_ACEOF
13065 /* end confdefs.h. */
13067 #if ((' ' & 0x0FF) == 0x020)
13068 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13069 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13071 # define ISLOWER(c) \
13072 (('a' <= (c) && (c) <= 'i') \
13073 || ('j' <= (c) && (c) <= 'r') \
13074 || ('s' <= (c) && (c) <= 'z'))
13075 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13078 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13083 for (i = 0; i < 256; i++)
13084 if (XOR (islower (i), ISLOWER (i))
13085 || toupper (i) != TOUPPER (i))
13090 rm -f conftest
$ac_exeext
13091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13092 (eval $ac_link) 2>&5
13094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13095 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13097 (eval $ac_try) 2>&5
13099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13100 (exit $ac_status); }; }; then
13103 echo "$as_me: program exited with status $ac_status" >&5
13104 echo "$as_me: failed program was:" >&5
13105 sed 's/^/| /' conftest.
$ac_ext >&5
13107 ( exit $ac_status )
13108 ac_cv_header_stdc
=no
13110 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13114 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13115 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13116 if test $ac_cv_header_stdc = yes; then
13118 cat >>confdefs.h
<<\_ACEOF
13119 #define STDC_HEADERS 1
13124 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13134 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
13135 inttypes.h stdint.h unistd.h
13137 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13138 echo "$as_me:$LINENO: checking for $ac_header" >&5
13139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13141 echo $ECHO_N "(cached) $ECHO_C" >&6
13143 cat >conftest.
$ac_ext <<_ACEOF
13146 cat confdefs.h
>>conftest.
$ac_ext
13147 cat >>conftest.
$ac_ext <<_ACEOF
13148 /* end confdefs.h. */
13149 $ac_includes_default
13151 #include <$ac_header>
13153 rm -f conftest.
$ac_objext
13154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13155 (eval $ac_compile) 2>conftest.er1
13157 grep -v '^ *+' conftest.er1
>conftest.err
13159 cat conftest.err
>&5
13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161 (exit $ac_status); } &&
13162 { ac_try
='test -z "$ac_c_werror_flag"
13163 || test ! -s conftest.err'
13164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13165 (eval $ac_try) 2>&5
13167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13168 (exit $ac_status); }; } &&
13169 { ac_try
='test -s conftest.$ac_objext'
13170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13171 (eval $ac_try) 2>&5
13173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13174 (exit $ac_status); }; }; then
13175 eval "$as_ac_Header=yes"
13177 echo "$as_me: failed program was:" >&5
13178 sed 's/^/| /' conftest.
$ac_ext >&5
13180 eval "$as_ac_Header=no"
13182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13185 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13186 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13187 cat >>confdefs.h
<<_ACEOF
13188 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13197 for ac_header
in stdlib.h
13199 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13201 echo "$as_me:$LINENO: checking for $ac_header" >&5
13202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13204 echo $ECHO_N "(cached) $ECHO_C" >&6
13206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13209 # Is the header compilable?
13210 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13211 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13212 cat >conftest.
$ac_ext <<_ACEOF
13215 cat confdefs.h
>>conftest.
$ac_ext
13216 cat >>conftest.
$ac_ext <<_ACEOF
13217 /* end confdefs.h. */
13218 $ac_includes_default
13219 #include <$ac_header>
13221 rm -f conftest.
$ac_objext
13222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13223 (eval $ac_compile) 2>conftest.er1
13225 grep -v '^ *+' conftest.er1
>conftest.err
13227 cat conftest.err
>&5
13228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13229 (exit $ac_status); } &&
13230 { ac_try
='test -z "$ac_c_werror_flag"
13231 || test ! -s conftest.err'
13232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13233 (eval $ac_try) 2>&5
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); }; } &&
13237 { ac_try
='test -s conftest.$ac_objext'
13238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13239 (eval $ac_try) 2>&5
13241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); }; }; then
13243 ac_header_compiler
=yes
13245 echo "$as_me: failed program was:" >&5
13246 sed 's/^/| /' conftest.
$ac_ext >&5
13248 ac_header_compiler
=no
13250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13251 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13252 echo "${ECHO_T}$ac_header_compiler" >&6
13254 # Is the header present?
13255 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13256 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13257 cat >conftest.
$ac_ext <<_ACEOF
13260 cat confdefs.h
>>conftest.
$ac_ext
13261 cat >>conftest.
$ac_ext <<_ACEOF
13262 /* end confdefs.h. */
13263 #include <$ac_header>
13265 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13266 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13268 grep -v '^ *+' conftest.er1
>conftest.err
13270 cat conftest.err
>&5
13271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); } >/dev
/null
; then
13273 if test -s conftest.err
; then
13274 ac_cpp_err
=$ac_c_preproc_warn_flag
13275 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13282 if test -z "$ac_cpp_err"; then
13283 ac_header_preproc
=yes
13285 echo "$as_me: failed program was:" >&5
13286 sed 's/^/| /' conftest.
$ac_ext >&5
13288 ac_header_preproc
=no
13290 rm -f conftest.err conftest.
$ac_ext
13291 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13292 echo "${ECHO_T}$ac_header_preproc" >&6
13294 # So? What about this header?
13295 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13297 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13298 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13300 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13301 ac_header_preproc
=yes
13304 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13305 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13306 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13307 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13308 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13309 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13310 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13311 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13312 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13313 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13314 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13315 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13318 ## ----------------------------------------- ##
13319 ## Report this to wx-dev@lists.wxwidgets.org ##
13320 ## ----------------------------------------- ##
13323 sed "s/^/$as_me: WARNING: /" >&2
13326 echo "$as_me:$LINENO: checking for $ac_header" >&5
13327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13329 echo $ECHO_N "(cached) $ECHO_C" >&6
13331 eval "$as_ac_Header=\$ac_header_preproc"
13333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13337 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13338 cat >>confdefs.h
<<_ACEOF
13339 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13347 for ac_header
in malloc.h
13349 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13351 echo "$as_me:$LINENO: checking for $ac_header" >&5
13352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13354 echo $ECHO_N "(cached) $ECHO_C" >&6
13356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13357 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13359 # Is the header compilable?
13360 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13361 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13362 cat >conftest.
$ac_ext <<_ACEOF
13365 cat confdefs.h
>>conftest.
$ac_ext
13366 cat >>conftest.
$ac_ext <<_ACEOF
13367 /* end confdefs.h. */
13368 $ac_includes_default
13369 #include <$ac_header>
13371 rm -f conftest.
$ac_objext
13372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13373 (eval $ac_compile) 2>conftest.er1
13375 grep -v '^ *+' conftest.er1
>conftest.err
13377 cat conftest.err
>&5
13378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13379 (exit $ac_status); } &&
13380 { ac_try
='test -z "$ac_c_werror_flag"
13381 || test ! -s conftest.err'
13382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13383 (eval $ac_try) 2>&5
13385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13386 (exit $ac_status); }; } &&
13387 { ac_try
='test -s conftest.$ac_objext'
13388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13389 (eval $ac_try) 2>&5
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); }; }; then
13393 ac_header_compiler
=yes
13395 echo "$as_me: failed program was:" >&5
13396 sed 's/^/| /' conftest.
$ac_ext >&5
13398 ac_header_compiler
=no
13400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13401 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13402 echo "${ECHO_T}$ac_header_compiler" >&6
13404 # Is the header present?
13405 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13406 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13407 cat >conftest.
$ac_ext <<_ACEOF
13410 cat confdefs.h
>>conftest.
$ac_ext
13411 cat >>conftest.
$ac_ext <<_ACEOF
13412 /* end confdefs.h. */
13413 #include <$ac_header>
13415 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13416 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13418 grep -v '^ *+' conftest.er1
>conftest.err
13420 cat conftest.err
>&5
13421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13422 (exit $ac_status); } >/dev
/null
; then
13423 if test -s conftest.err
; then
13424 ac_cpp_err
=$ac_c_preproc_warn_flag
13425 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13432 if test -z "$ac_cpp_err"; then
13433 ac_header_preproc
=yes
13435 echo "$as_me: failed program was:" >&5
13436 sed 's/^/| /' conftest.
$ac_ext >&5
13438 ac_header_preproc
=no
13440 rm -f conftest.err conftest.
$ac_ext
13441 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13442 echo "${ECHO_T}$ac_header_preproc" >&6
13444 # So? What about this header?
13445 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13447 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13448 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13450 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13451 ac_header_preproc
=yes
13454 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13455 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13456 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13457 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13458 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13459 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13460 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13461 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13463 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13464 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13465 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13468 ## ----------------------------------------- ##
13469 ## Report this to wx-dev@lists.wxwidgets.org ##
13470 ## ----------------------------------------- ##
13473 sed "s/^/$as_me: WARNING: /" >&2
13476 echo "$as_me:$LINENO: checking for $ac_header" >&5
13477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13479 echo $ECHO_N "(cached) $ECHO_C" >&6
13481 eval "$as_ac_Header=\$ac_header_preproc"
13483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13484 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13488 cat >>confdefs.h
<<_ACEOF
13489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13497 for ac_header
in unistd.h
13499 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13501 echo "$as_me:$LINENO: checking for $ac_header" >&5
13502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13504 echo $ECHO_N "(cached) $ECHO_C" >&6
13506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13509 # Is the header compilable?
13510 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13511 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13512 cat >conftest.
$ac_ext <<_ACEOF
13515 cat confdefs.h
>>conftest.
$ac_ext
13516 cat >>conftest.
$ac_ext <<_ACEOF
13517 /* end confdefs.h. */
13518 $ac_includes_default
13519 #include <$ac_header>
13521 rm -f conftest.
$ac_objext
13522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13523 (eval $ac_compile) 2>conftest.er1
13525 grep -v '^ *+' conftest.er1
>conftest.err
13527 cat conftest.err
>&5
13528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13529 (exit $ac_status); } &&
13530 { ac_try
='test -z "$ac_c_werror_flag"
13531 || test ! -s conftest.err'
13532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13533 (eval $ac_try) 2>&5
13535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13536 (exit $ac_status); }; } &&
13537 { ac_try
='test -s conftest.$ac_objext'
13538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13539 (eval $ac_try) 2>&5
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); }; }; then
13543 ac_header_compiler
=yes
13545 echo "$as_me: failed program was:" >&5
13546 sed 's/^/| /' conftest.
$ac_ext >&5
13548 ac_header_compiler
=no
13550 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13551 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13552 echo "${ECHO_T}$ac_header_compiler" >&6
13554 # Is the header present?
13555 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13556 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13557 cat >conftest.
$ac_ext <<_ACEOF
13560 cat confdefs.h
>>conftest.
$ac_ext
13561 cat >>conftest.
$ac_ext <<_ACEOF
13562 /* end confdefs.h. */
13563 #include <$ac_header>
13565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13566 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13568 grep -v '^ *+' conftest.er1
>conftest.err
13570 cat conftest.err
>&5
13571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13572 (exit $ac_status); } >/dev
/null
; then
13573 if test -s conftest.err
; then
13574 ac_cpp_err
=$ac_c_preproc_warn_flag
13575 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13582 if test -z "$ac_cpp_err"; then
13583 ac_header_preproc
=yes
13585 echo "$as_me: failed program was:" >&5
13586 sed 's/^/| /' conftest.
$ac_ext >&5
13588 ac_header_preproc
=no
13590 rm -f conftest.err conftest.
$ac_ext
13591 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13592 echo "${ECHO_T}$ac_header_preproc" >&6
13594 # So? What about this header?
13595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13597 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13598 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13599 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13600 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13601 ac_header_preproc
=yes
13604 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13605 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13606 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13607 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13608 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13609 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13610 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13611 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13613 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13614 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13615 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13618 ## ----------------------------------------- ##
13619 ## Report this to wx-dev@lists.wxwidgets.org ##
13620 ## ----------------------------------------- ##
13623 sed "s/^/$as_me: WARNING: /" >&2
13626 echo "$as_me:$LINENO: checking for $ac_header" >&5
13627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13629 echo $ECHO_N "(cached) $ECHO_C" >&6
13631 eval "$as_ac_Header=\$ac_header_preproc"
13633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13634 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13637 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13638 cat >>confdefs.h
<<_ACEOF
13639 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13647 for ac_header
in wchar.h
13649 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13651 echo "$as_me:$LINENO: checking for $ac_header" >&5
13652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13654 echo $ECHO_N "(cached) $ECHO_C" >&6
13656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13659 # Is the header compilable?
13660 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13661 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13662 cat >conftest.
$ac_ext <<_ACEOF
13665 cat confdefs.h
>>conftest.
$ac_ext
13666 cat >>conftest.
$ac_ext <<_ACEOF
13667 /* end confdefs.h. */
13668 $ac_includes_default
13669 #include <$ac_header>
13671 rm -f conftest.
$ac_objext
13672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13673 (eval $ac_compile) 2>conftest.er1
13675 grep -v '^ *+' conftest.er1
>conftest.err
13677 cat conftest.err
>&5
13678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13679 (exit $ac_status); } &&
13680 { ac_try
='test -z "$ac_c_werror_flag"
13681 || test ! -s conftest.err'
13682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13683 (eval $ac_try) 2>&5
13685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13686 (exit $ac_status); }; } &&
13687 { ac_try
='test -s conftest.$ac_objext'
13688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13689 (eval $ac_try) 2>&5
13691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692 (exit $ac_status); }; }; then
13693 ac_header_compiler
=yes
13695 echo "$as_me: failed program was:" >&5
13696 sed 's/^/| /' conftest.
$ac_ext >&5
13698 ac_header_compiler
=no
13700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13702 echo "${ECHO_T}$ac_header_compiler" >&6
13704 # Is the header present?
13705 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13706 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13707 cat >conftest.
$ac_ext <<_ACEOF
13710 cat confdefs.h
>>conftest.
$ac_ext
13711 cat >>conftest.
$ac_ext <<_ACEOF
13712 /* end confdefs.h. */
13713 #include <$ac_header>
13715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13716 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13718 grep -v '^ *+' conftest.er1
>conftest.err
13720 cat conftest.err
>&5
13721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13722 (exit $ac_status); } >/dev
/null
; then
13723 if test -s conftest.err
; then
13724 ac_cpp_err
=$ac_c_preproc_warn_flag
13725 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13732 if test -z "$ac_cpp_err"; then
13733 ac_header_preproc
=yes
13735 echo "$as_me: failed program was:" >&5
13736 sed 's/^/| /' conftest.
$ac_ext >&5
13738 ac_header_preproc
=no
13740 rm -f conftest.err conftest.
$ac_ext
13741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13742 echo "${ECHO_T}$ac_header_preproc" >&6
13744 # So? What about this header?
13745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13747 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13748 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13749 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13750 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13751 ac_header_preproc
=yes
13754 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13755 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13756 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13757 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13758 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13759 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13760 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13761 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13763 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13764 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13765 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13768 ## ----------------------------------------- ##
13769 ## Report this to wx-dev@lists.wxwidgets.org ##
13770 ## ----------------------------------------- ##
13773 sed "s/^/$as_me: WARNING: /" >&2
13776 echo "$as_me:$LINENO: checking for $ac_header" >&5
13777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13779 echo $ECHO_N "(cached) $ECHO_C" >&6
13781 eval "$as_ac_Header=\$ac_header_preproc"
13783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13787 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13788 cat >>confdefs.h
<<_ACEOF
13789 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13797 if test "$ac_cv_header_wchar_h" != "yes"; then
13799 for ac_header
in wcstr.h
13801 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13803 echo "$as_me:$LINENO: checking for $ac_header" >&5
13804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13806 echo $ECHO_N "(cached) $ECHO_C" >&6
13808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13811 # Is the header compilable?
13812 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13813 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13814 cat >conftest.
$ac_ext <<_ACEOF
13817 cat confdefs.h
>>conftest.
$ac_ext
13818 cat >>conftest.
$ac_ext <<_ACEOF
13819 /* end confdefs.h. */
13820 $ac_includes_default
13821 #include <$ac_header>
13823 rm -f conftest.
$ac_objext
13824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13825 (eval $ac_compile) 2>conftest.er1
13827 grep -v '^ *+' conftest.er1
>conftest.err
13829 cat conftest.err
>&5
13830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13831 (exit $ac_status); } &&
13832 { ac_try
='test -z "$ac_c_werror_flag"
13833 || test ! -s conftest.err'
13834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13835 (eval $ac_try) 2>&5
13837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13838 (exit $ac_status); }; } &&
13839 { ac_try
='test -s conftest.$ac_objext'
13840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13841 (eval $ac_try) 2>&5
13843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13844 (exit $ac_status); }; }; then
13845 ac_header_compiler
=yes
13847 echo "$as_me: failed program was:" >&5
13848 sed 's/^/| /' conftest.
$ac_ext >&5
13850 ac_header_compiler
=no
13852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13853 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13854 echo "${ECHO_T}$ac_header_compiler" >&6
13856 # Is the header present?
13857 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13858 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13859 cat >conftest.
$ac_ext <<_ACEOF
13862 cat confdefs.h
>>conftest.
$ac_ext
13863 cat >>conftest.
$ac_ext <<_ACEOF
13864 /* end confdefs.h. */
13865 #include <$ac_header>
13867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13868 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13870 grep -v '^ *+' conftest.er1
>conftest.err
13872 cat conftest.err
>&5
13873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13874 (exit $ac_status); } >/dev
/null
; then
13875 if test -s conftest.err
; then
13876 ac_cpp_err
=$ac_c_preproc_warn_flag
13877 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13884 if test -z "$ac_cpp_err"; then
13885 ac_header_preproc
=yes
13887 echo "$as_me: failed program was:" >&5
13888 sed 's/^/| /' conftest.
$ac_ext >&5
13890 ac_header_preproc
=no
13892 rm -f conftest.err conftest.
$ac_ext
13893 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13894 echo "${ECHO_T}$ac_header_preproc" >&6
13896 # So? What about this header?
13897 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13899 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13900 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13901 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13902 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13903 ac_header_preproc
=yes
13906 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13907 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13908 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13909 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13910 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13911 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13912 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13913 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13914 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13915 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13916 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13917 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13920 ## ----------------------------------------- ##
13921 ## Report this to wx-dev@lists.wxwidgets.org ##
13922 ## ----------------------------------------- ##
13925 sed "s/^/$as_me: WARNING: /" >&2
13928 echo "$as_me:$LINENO: checking for $ac_header" >&5
13929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13931 echo $ECHO_N "(cached) $ECHO_C" >&6
13933 eval "$as_ac_Header=\$ac_header_preproc"
13935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13939 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13940 cat >>confdefs.h
<<_ACEOF
13941 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13951 for ac_header
in fnmatch.h
13953 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13955 echo "$as_me:$LINENO: checking for $ac_header" >&5
13956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13958 echo $ECHO_N "(cached) $ECHO_C" >&6
13960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13963 # Is the header compilable?
13964 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13965 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13966 cat >conftest.
$ac_ext <<_ACEOF
13969 cat confdefs.h
>>conftest.
$ac_ext
13970 cat >>conftest.
$ac_ext <<_ACEOF
13971 /* end confdefs.h. */
13972 $ac_includes_default
13973 #include <$ac_header>
13975 rm -f conftest.
$ac_objext
13976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13977 (eval $ac_compile) 2>conftest.er1
13979 grep -v '^ *+' conftest.er1
>conftest.err
13981 cat conftest.err
>&5
13982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13983 (exit $ac_status); } &&
13984 { ac_try
='test -z "$ac_c_werror_flag"
13985 || test ! -s conftest.err'
13986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13987 (eval $ac_try) 2>&5
13989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990 (exit $ac_status); }; } &&
13991 { ac_try
='test -s conftest.$ac_objext'
13992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13993 (eval $ac_try) 2>&5
13995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13996 (exit $ac_status); }; }; then
13997 ac_header_compiler
=yes
13999 echo "$as_me: failed program was:" >&5
14000 sed 's/^/| /' conftest.
$ac_ext >&5
14002 ac_header_compiler
=no
14004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14005 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14006 echo "${ECHO_T}$ac_header_compiler" >&6
14008 # Is the header present?
14009 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14010 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14011 cat >conftest.
$ac_ext <<_ACEOF
14014 cat confdefs.h
>>conftest.
$ac_ext
14015 cat >>conftest.
$ac_ext <<_ACEOF
14016 /* end confdefs.h. */
14017 #include <$ac_header>
14019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14020 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14022 grep -v '^ *+' conftest.er1
>conftest.err
14024 cat conftest.err
>&5
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); } >/dev
/null
; then
14027 if test -s conftest.err
; then
14028 ac_cpp_err
=$ac_c_preproc_warn_flag
14029 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14036 if test -z "$ac_cpp_err"; then
14037 ac_header_preproc
=yes
14039 echo "$as_me: failed program was:" >&5
14040 sed 's/^/| /' conftest.
$ac_ext >&5
14042 ac_header_preproc
=no
14044 rm -f conftest.err conftest.
$ac_ext
14045 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14046 echo "${ECHO_T}$ac_header_preproc" >&6
14048 # So? What about this header?
14049 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14051 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14052 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14053 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14054 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14055 ac_header_preproc
=yes
14058 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14059 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14060 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14061 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14062 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14063 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14064 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14065 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14067 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14068 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14069 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14072 ## ----------------------------------------- ##
14073 ## Report this to wx-dev@lists.wxwidgets.org ##
14074 ## ----------------------------------------- ##
14077 sed "s/^/$as_me: WARNING: /" >&2
14080 echo "$as_me:$LINENO: checking for $ac_header" >&5
14081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14083 echo $ECHO_N "(cached) $ECHO_C" >&6
14085 eval "$as_ac_Header=\$ac_header_preproc"
14087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14092 cat >>confdefs.h
<<_ACEOF
14093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14101 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14103 for ac_func
in fnmatch
14105 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14106 echo "$as_me:$LINENO: checking for $ac_func" >&5
14107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14108 if eval "test \"\${$as_ac_var+set}\" = set"; then
14109 echo $ECHO_N "(cached) $ECHO_C" >&6
14111 cat >conftest.
$ac_ext <<_ACEOF
14114 cat confdefs.h
>>conftest.
$ac_ext
14115 cat >>conftest.
$ac_ext <<_ACEOF
14116 /* end confdefs.h. */
14117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14119 #define $ac_func innocuous_$ac_func
14121 /* System header to define __stub macros and hopefully few prototypes,
14122 which can conflict with char $ac_func (); below.
14123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14124 <limits.h> exists even on freestanding compilers. */
14127 # include <limits.h>
14129 # include <assert.h>
14134 /* Override any gcc2 internal prototype to avoid an error. */
14139 /* We use char because int might match the return type of a gcc2
14140 builtin and then its argument prototype would still apply. */
14142 /* The GNU C library defines this for functions which it implements
14143 to always fail with ENOSYS. Some functions are actually named
14144 something starting with __ and the normal name is an alias. */
14145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14148 char (*f) () = $ac_func;
14157 return f != $ac_func;
14162 rm -f conftest.
$ac_objext conftest
$ac_exeext
14163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14164 (eval $ac_link) 2>conftest.er1
14166 grep -v '^ *+' conftest.er1
>conftest.err
14168 cat conftest.err
>&5
14169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14170 (exit $ac_status); } &&
14171 { ac_try
='test -z "$ac_c_werror_flag"
14172 || test ! -s conftest.err'
14173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14174 (eval $ac_try) 2>&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); }; } &&
14178 { ac_try
='test -s conftest$ac_exeext'
14179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14180 (eval $ac_try) 2>&5
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); }; }; then
14184 eval "$as_ac_var=yes"
14186 echo "$as_me: failed program was:" >&5
14187 sed 's/^/| /' conftest.
$ac_ext >&5
14189 eval "$as_ac_var=no"
14191 rm -f conftest.err conftest.
$ac_objext \
14192 conftest
$ac_exeext conftest.
$ac_ext
14194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14196 if test `eval echo '${'$as_ac_var'}'` = yes; then
14197 cat >>confdefs.h
<<_ACEOF
14198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14207 for ac_header
in langinfo.h
14209 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14211 echo "$as_me:$LINENO: checking for $ac_header" >&5
14212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14214 echo $ECHO_N "(cached) $ECHO_C" >&6
14216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14219 # Is the header compilable?
14220 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14221 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14222 cat >conftest.
$ac_ext <<_ACEOF
14225 cat confdefs.h
>>conftest.
$ac_ext
14226 cat >>conftest.
$ac_ext <<_ACEOF
14227 /* end confdefs.h. */
14228 $ac_includes_default
14229 #include <$ac_header>
14231 rm -f conftest.
$ac_objext
14232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14233 (eval $ac_compile) 2>conftest.er1
14235 grep -v '^ *+' conftest.er1
>conftest.err
14237 cat conftest.err
>&5
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); } &&
14240 { ac_try
='test -z "$ac_c_werror_flag"
14241 || test ! -s conftest.err'
14242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14243 (eval $ac_try) 2>&5
14245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14246 (exit $ac_status); }; } &&
14247 { ac_try
='test -s conftest.$ac_objext'
14248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14249 (eval $ac_try) 2>&5
14251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14252 (exit $ac_status); }; }; then
14253 ac_header_compiler
=yes
14255 echo "$as_me: failed program was:" >&5
14256 sed 's/^/| /' conftest.
$ac_ext >&5
14258 ac_header_compiler
=no
14260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14261 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14262 echo "${ECHO_T}$ac_header_compiler" >&6
14264 # Is the header present?
14265 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14266 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14267 cat >conftest.
$ac_ext <<_ACEOF
14270 cat confdefs.h
>>conftest.
$ac_ext
14271 cat >>conftest.
$ac_ext <<_ACEOF
14272 /* end confdefs.h. */
14273 #include <$ac_header>
14275 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14276 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14278 grep -v '^ *+' conftest.er1
>conftest.err
14280 cat conftest.err
>&5
14281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14282 (exit $ac_status); } >/dev
/null
; then
14283 if test -s conftest.err
; then
14284 ac_cpp_err
=$ac_c_preproc_warn_flag
14285 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14292 if test -z "$ac_cpp_err"; then
14293 ac_header_preproc
=yes
14295 echo "$as_me: failed program was:" >&5
14296 sed 's/^/| /' conftest.
$ac_ext >&5
14298 ac_header_preproc
=no
14300 rm -f conftest.err conftest.
$ac_ext
14301 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14302 echo "${ECHO_T}$ac_header_preproc" >&6
14304 # So? What about this header?
14305 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14307 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14308 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14309 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14310 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14311 ac_header_preproc
=yes
14314 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14315 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14316 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14317 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14318 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14319 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14320 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14321 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14322 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14323 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14324 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14325 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14328 ## ----------------------------------------- ##
14329 ## Report this to wx-dev@lists.wxwidgets.org ##
14330 ## ----------------------------------------- ##
14333 sed "s/^/$as_me: WARNING: /" >&2
14336 echo "$as_me:$LINENO: checking for $ac_header" >&5
14337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14339 echo $ECHO_N "(cached) $ECHO_C" >&6
14341 eval "$as_ac_Header=\$ac_header_preproc"
14343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14344 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14347 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14348 cat >>confdefs.h
<<_ACEOF
14349 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14358 *-pc-os2_emx | *-pc-os2-emx )
14359 if test $ac_cv_header_langinfo_h = "yes"; then
14360 LIBS
="$LIBS -lintl"
14365 if test "$wxUSE_GUI" = "yes"; then
14366 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14368 for ac_header
in X
11/Xlib.h
14370 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14372 echo "$as_me:$LINENO: checking for $ac_header" >&5
14373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14375 echo $ECHO_N "(cached) $ECHO_C" >&6
14377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14380 # Is the header compilable?
14381 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14382 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14383 cat >conftest.
$ac_ext <<_ACEOF
14386 cat confdefs.h
>>conftest.
$ac_ext
14387 cat >>conftest.
$ac_ext <<_ACEOF
14388 /* end confdefs.h. */
14389 $ac_includes_default
14390 #include <$ac_header>
14392 rm -f conftest.
$ac_objext
14393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14394 (eval $ac_compile) 2>conftest.er1
14396 grep -v '^ *+' conftest.er1
>conftest.err
14398 cat conftest.err
>&5
14399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14400 (exit $ac_status); } &&
14401 { ac_try
='test -z "$ac_c_werror_flag"
14402 || test ! -s conftest.err'
14403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14404 (eval $ac_try) 2>&5
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); }; } &&
14408 { ac_try
='test -s conftest.$ac_objext'
14409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14410 (eval $ac_try) 2>&5
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 (exit $ac_status); }; }; then
14414 ac_header_compiler
=yes
14416 echo "$as_me: failed program was:" >&5
14417 sed 's/^/| /' conftest.
$ac_ext >&5
14419 ac_header_compiler
=no
14421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14422 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14423 echo "${ECHO_T}$ac_header_compiler" >&6
14425 # Is the header present?
14426 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14427 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14428 cat >conftest.
$ac_ext <<_ACEOF
14431 cat confdefs.h
>>conftest.
$ac_ext
14432 cat >>conftest.
$ac_ext <<_ACEOF
14433 /* end confdefs.h. */
14434 #include <$ac_header>
14436 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14437 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14439 grep -v '^ *+' conftest.er1
>conftest.err
14441 cat conftest.err
>&5
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 (exit $ac_status); } >/dev
/null
; then
14444 if test -s conftest.err
; then
14445 ac_cpp_err
=$ac_c_preproc_warn_flag
14446 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14453 if test -z "$ac_cpp_err"; then
14454 ac_header_preproc
=yes
14456 echo "$as_me: failed program was:" >&5
14457 sed 's/^/| /' conftest.
$ac_ext >&5
14459 ac_header_preproc
=no
14461 rm -f conftest.err conftest.
$ac_ext
14462 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14463 echo "${ECHO_T}$ac_header_preproc" >&6
14465 # So? What about this header?
14466 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14468 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14469 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14471 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14472 ac_header_preproc
=yes
14475 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14476 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14477 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14478 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14479 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14480 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14481 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14482 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14484 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14485 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14486 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14489 ## ----------------------------------------- ##
14490 ## Report this to wx-dev@lists.wxwidgets.org ##
14491 ## ----------------------------------------- ##
14494 sed "s/^/$as_me: WARNING: /" >&2
14497 echo "$as_me:$LINENO: checking for $ac_header" >&5
14498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14500 echo $ECHO_N "(cached) $ECHO_C" >&6
14502 eval "$as_ac_Header=\$ac_header_preproc"
14504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14508 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14509 cat >>confdefs.h
<<_ACEOF
14510 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14518 for ac_header
in X
11/XKBlib.h
14520 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14521 echo "$as_me:$LINENO: checking for $ac_header" >&5
14522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14524 echo $ECHO_N "(cached) $ECHO_C" >&6
14526 cat >conftest.
$ac_ext <<_ACEOF
14529 cat confdefs.h
>>conftest.
$ac_ext
14530 cat >>conftest.
$ac_ext <<_ACEOF
14531 /* end confdefs.h. */
14533 #if HAVE_X11_XLIB_H
14534 #include <X11/Xlib.h>
14538 #include <$ac_header>
14540 rm -f conftest.
$ac_objext
14541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14542 (eval $ac_compile) 2>conftest.er1
14544 grep -v '^ *+' conftest.er1
>conftest.err
14546 cat conftest.err
>&5
14547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14548 (exit $ac_status); } &&
14549 { ac_try
='test -z "$ac_c_werror_flag"
14550 || test ! -s conftest.err'
14551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14552 (eval $ac_try) 2>&5
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); }; } &&
14556 { ac_try
='test -s conftest.$ac_objext'
14557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14558 (eval $ac_try) 2>&5
14560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561 (exit $ac_status); }; }; then
14562 eval "$as_ac_Header=yes"
14564 echo "$as_me: failed program was:" >&5
14565 sed 's/^/| /' conftest.
$ac_ext >&5
14567 eval "$as_ac_Header=no"
14569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14572 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14573 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14574 cat >>confdefs.h
<<_ACEOF
14575 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14586 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14587 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14588 if test "${ac_cv_c_const+set}" = set; then
14589 echo $ECHO_N "(cached) $ECHO_C" >&6
14591 cat >conftest.
$ac_ext <<_ACEOF
14594 cat confdefs.h
>>conftest.
$ac_ext
14595 cat >>conftest.
$ac_ext <<_ACEOF
14596 /* end confdefs.h. */
14601 /* FIXME: Include the comments suggested by Paul. */
14602 #ifndef __cplusplus
14603 /* Ultrix mips cc rejects this. */
14604 typedef int charset[2];
14606 /* SunOS 4.1.1 cc rejects this. */
14607 char const *const *ccp;
14609 /* NEC SVR4.0.2 mips cc rejects this. */
14610 struct point {int x, y;};
14611 static struct point const zero = {0,0};
14612 /* AIX XL C 1.02.0.0 rejects this.
14613 It does not let you subtract one const X* pointer from another in
14614 an arm of an if-expression whose if-part is not a constant
14616 const char *g = "string";
14617 ccp = &g + (g ? g-g : 0);
14618 /* HPUX 7.0 cc rejects these. */
14621 ccp = (char const *const *) p;
14622 { /* SCO 3.2v4 cc rejects this. */
14624 char const *s = 0 ? (char *) 0 : (char const *) 0;
14628 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14629 int x[] = {25, 17};
14630 const int *foo = &x[0];
14633 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14634 typedef const int *iptr;
14638 { /* AIX XL C 1.02.0.0 rejects this saying
14639 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14640 struct s { int j; const int *ap[3]; };
14641 struct s *b; b->j = 5;
14643 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14644 const int foo = 10;
14652 rm -f conftest.
$ac_objext
14653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14654 (eval $ac_compile) 2>conftest.er1
14656 grep -v '^ *+' conftest.er1
>conftest.err
14658 cat conftest.err
>&5
14659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14660 (exit $ac_status); } &&
14661 { ac_try
='test -z "$ac_c_werror_flag"
14662 || test ! -s conftest.err'
14663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14664 (eval $ac_try) 2>&5
14666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14667 (exit $ac_status); }; } &&
14668 { ac_try
='test -s conftest.$ac_objext'
14669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14670 (eval $ac_try) 2>&5
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); }; }; then
14676 echo "$as_me: failed program was:" >&5
14677 sed 's/^/| /' conftest.
$ac_ext >&5
14681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14683 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14684 echo "${ECHO_T}$ac_cv_c_const" >&6
14685 if test $ac_cv_c_const = no
; then
14687 cat >>confdefs.h
<<\_ACEOF
14693 echo "$as_me:$LINENO: checking for inline" >&5
14694 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14695 if test "${ac_cv_c_inline+set}" = set; then
14696 echo $ECHO_N "(cached) $ECHO_C" >&6
14699 for ac_kw
in inline __inline__ __inline
; do
14700 cat >conftest.
$ac_ext <<_ACEOF
14703 cat confdefs.h
>>conftest.
$ac_ext
14704 cat >>conftest.
$ac_ext <<_ACEOF
14705 /* end confdefs.h. */
14706 #ifndef __cplusplus
14708 static $ac_kw foo_t static_foo () {return 0; }
14709 $ac_kw foo_t foo () {return 0; }
14713 rm -f conftest.
$ac_objext
14714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14715 (eval $ac_compile) 2>conftest.er1
14717 grep -v '^ *+' conftest.er1
>conftest.err
14719 cat conftest.err
>&5
14720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721 (exit $ac_status); } &&
14722 { ac_try
='test -z "$ac_c_werror_flag"
14723 || test ! -s conftest.err'
14724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14725 (eval $ac_try) 2>&5
14727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14728 (exit $ac_status); }; } &&
14729 { ac_try
='test -s conftest.$ac_objext'
14730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14731 (eval $ac_try) 2>&5
14733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14734 (exit $ac_status); }; }; then
14735 ac_cv_c_inline
=$ac_kw; break
14737 echo "$as_me: failed program was:" >&5
14738 sed 's/^/| /' conftest.
$ac_ext >&5
14741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14745 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14746 echo "${ECHO_T}$ac_cv_c_inline" >&6
14749 case $ac_cv_c_inline in
14752 case $ac_cv_c_inline in
14754 *) ac_val
=$ac_cv_c_inline;;
14756 cat >>confdefs.h
<<_ACEOF
14757 #ifndef __cplusplus
14758 #define inline $ac_val
14765 echo "$as_me:$LINENO: checking for char" >&5
14766 echo $ECHO_N "checking for char... $ECHO_C" >&6
14767 if test "${ac_cv_type_char+set}" = set; then
14768 echo $ECHO_N "(cached) $ECHO_C" >&6
14770 cat >conftest.
$ac_ext <<_ACEOF
14773 cat confdefs.h
>>conftest.
$ac_ext
14774 cat >>conftest.
$ac_ext <<_ACEOF
14775 /* end confdefs.h. */
14776 $ac_includes_default
14788 rm -f conftest.
$ac_objext
14789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14790 (eval $ac_compile) 2>conftest.er1
14792 grep -v '^ *+' conftest.er1
>conftest.err
14794 cat conftest.err
>&5
14795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14796 (exit $ac_status); } &&
14797 { ac_try
='test -z "$ac_c_werror_flag"
14798 || test ! -s conftest.err'
14799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14800 (eval $ac_try) 2>&5
14802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14803 (exit $ac_status); }; } &&
14804 { ac_try
='test -s conftest.$ac_objext'
14805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14806 (eval $ac_try) 2>&5
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); }; }; then
14810 ac_cv_type_char
=yes
14812 echo "$as_me: failed program was:" >&5
14813 sed 's/^/| /' conftest.
$ac_ext >&5
14817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14819 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14820 echo "${ECHO_T}$ac_cv_type_char" >&6
14822 echo "$as_me:$LINENO: checking size of char" >&5
14823 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14824 if test "${ac_cv_sizeof_char+set}" = set; then
14825 echo $ECHO_N "(cached) $ECHO_C" >&6
14827 if test "$ac_cv_type_char" = yes; then
14828 # The cast to unsigned long works around a bug in the HP C Compiler
14829 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14830 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14831 # This bug is HP SR number 8606223364.
14832 if test "$cross_compiling" = yes; then
14833 # Depending upon the size, compute the lo and hi bounds.
14834 cat >conftest.
$ac_ext <<_ACEOF
14837 cat confdefs.h
>>conftest.
$ac_ext
14838 cat >>conftest.
$ac_ext <<_ACEOF
14839 /* end confdefs.h. */
14840 $ac_includes_default
14844 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14851 rm -f conftest.
$ac_objext
14852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14853 (eval $ac_compile) 2>conftest.er1
14855 grep -v '^ *+' conftest.er1
>conftest.err
14857 cat conftest.err
>&5
14858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14859 (exit $ac_status); } &&
14860 { ac_try
='test -z "$ac_c_werror_flag"
14861 || test ! -s conftest.err'
14862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14863 (eval $ac_try) 2>&5
14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); }; } &&
14867 { ac_try
='test -s conftest.$ac_objext'
14868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14869 (eval $ac_try) 2>&5
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); }; }; then
14875 cat >conftest.
$ac_ext <<_ACEOF
14878 cat confdefs.h
>>conftest.
$ac_ext
14879 cat >>conftest.
$ac_ext <<_ACEOF
14880 /* end confdefs.h. */
14881 $ac_includes_default
14885 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14892 rm -f conftest.
$ac_objext
14893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14894 (eval $ac_compile) 2>conftest.er1
14896 grep -v '^ *+' conftest.er1
>conftest.err
14898 cat conftest.err
>&5
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); } &&
14901 { ac_try
='test -z "$ac_c_werror_flag"
14902 || test ! -s conftest.err'
14903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14904 (eval $ac_try) 2>&5
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); }; } &&
14908 { ac_try
='test -s conftest.$ac_objext'
14909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14910 (eval $ac_try) 2>&5
14912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14913 (exit $ac_status); }; }; then
14914 ac_hi
=$ac_mid; break
14916 echo "$as_me: failed program was:" >&5
14917 sed 's/^/| /' conftest.
$ac_ext >&5
14919 ac_lo
=`expr $ac_mid + 1`
14920 if test $ac_lo -le $ac_mid; then
14924 ac_mid
=`expr 2 '*' $ac_mid + 1`
14926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14929 echo "$as_me: failed program was:" >&5
14930 sed 's/^/| /' conftest.
$ac_ext >&5
14932 cat >conftest.
$ac_ext <<_ACEOF
14935 cat confdefs.h
>>conftest.
$ac_ext
14936 cat >>conftest.
$ac_ext <<_ACEOF
14937 /* end confdefs.h. */
14938 $ac_includes_default
14942 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14949 rm -f conftest.
$ac_objext
14950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14951 (eval $ac_compile) 2>conftest.er1
14953 grep -v '^ *+' conftest.er1
>conftest.err
14955 cat conftest.err
>&5
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); } &&
14958 { ac_try
='test -z "$ac_c_werror_flag"
14959 || test ! -s conftest.err'
14960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14961 (eval $ac_try) 2>&5
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); }; } &&
14965 { ac_try
='test -s conftest.$ac_objext'
14966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14967 (eval $ac_try) 2>&5
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); }; }; then
14973 cat >conftest.
$ac_ext <<_ACEOF
14976 cat confdefs.h
>>conftest.
$ac_ext
14977 cat >>conftest.
$ac_ext <<_ACEOF
14978 /* end confdefs.h. */
14979 $ac_includes_default
14983 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14990 rm -f conftest.
$ac_objext
14991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14992 (eval $ac_compile) 2>conftest.er1
14994 grep -v '^ *+' conftest.er1
>conftest.err
14996 cat conftest.err
>&5
14997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14998 (exit $ac_status); } &&
14999 { ac_try
='test -z "$ac_c_werror_flag"
15000 || test ! -s conftest.err'
15001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15002 (eval $ac_try) 2>&5
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); }; } &&
15006 { ac_try
='test -s conftest.$ac_objext'
15007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15008 (eval $ac_try) 2>&5
15010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15011 (exit $ac_status); }; }; then
15012 ac_lo
=$ac_mid; break
15014 echo "$as_me: failed program was:" >&5
15015 sed 's/^/| /' conftest.
$ac_ext >&5
15017 ac_hi
=`expr '(' $ac_mid ')' - 1`
15018 if test $ac_mid -le $ac_hi; then
15022 ac_mid
=`expr 2 '*' $ac_mid`
15024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15027 echo "$as_me: failed program was:" >&5
15028 sed 's/^/| /' conftest.
$ac_ext >&5
15032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15035 # Binary search between lo and hi bounds.
15036 while test "x$ac_lo" != "x$ac_hi"; do
15037 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15038 cat >conftest.
$ac_ext <<_ACEOF
15041 cat confdefs.h
>>conftest.
$ac_ext
15042 cat >>conftest.
$ac_ext <<_ACEOF
15043 /* end confdefs.h. */
15044 $ac_includes_default
15048 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15055 rm -f conftest.
$ac_objext
15056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15057 (eval $ac_compile) 2>conftest.er1
15059 grep -v '^ *+' conftest.er1
>conftest.err
15061 cat conftest.err
>&5
15062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); } &&
15064 { ac_try
='test -z "$ac_c_werror_flag"
15065 || test ! -s conftest.err'
15066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15067 (eval $ac_try) 2>&5
15069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070 (exit $ac_status); }; } &&
15071 { ac_try
='test -s conftest.$ac_objext'
15072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15073 (eval $ac_try) 2>&5
15075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 (exit $ac_status); }; }; then
15079 echo "$as_me: failed program was:" >&5
15080 sed 's/^/| /' conftest.
$ac_ext >&5
15082 ac_lo
=`expr '(' $ac_mid ')' + 1`
15084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15087 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15088 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15089 See \`config.log' for more details." >&5
15090 echo "$as_me: error: cannot compute sizeof (char), 77
15091 See \`config.log' for more details." >&2;}
15092 { (exit 1); exit 1; }; } ;;
15095 if test "$cross_compiling" = yes; then
15096 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15097 See \`config.log' for more details." >&5
15098 echo "$as_me: error: cannot run test program while cross compiling
15099 See \`config.log' for more details." >&2;}
15100 { (exit 1); exit 1; }; }
15102 cat >conftest.
$ac_ext <<_ACEOF
15105 cat confdefs.h
>>conftest.
$ac_ext
15106 cat >>conftest.
$ac_ext <<_ACEOF
15107 /* end confdefs.h. */
15108 $ac_includes_default
15109 long longval () { return (long) (sizeof (char)); }
15110 unsigned long ulongval () { return (long) (sizeof (char)); }
15112 #include <stdlib.h>
15117 FILE *f = fopen ("conftest.val", "w");
15120 if (((long) (sizeof (char))) < 0)
15122 long i = longval ();
15123 if (i != ((long) (sizeof (char))))
15125 fprintf (f, "%ld\n", i);
15129 unsigned long i = ulongval ();
15130 if (i != ((long) (sizeof (char))))
15132 fprintf (f, "%lu\n", i);
15134 exit (ferror (f) || fclose (f) != 0);
15140 rm -f conftest
$ac_exeext
15141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15142 (eval $ac_link) 2>&5
15144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15147 (eval $ac_try) 2>&5
15149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15150 (exit $ac_status); }; }; then
15151 ac_cv_sizeof_char
=`cat conftest.val`
15153 echo "$as_me: program exited with status $ac_status" >&5
15154 echo "$as_me: failed program was:" >&5
15155 sed 's/^/| /' conftest.
$ac_ext >&5
15157 ( exit $ac_status )
15158 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15159 See \`config.log' for more details." >&5
15160 echo "$as_me: error: cannot compute sizeof (char), 77
15161 See \`config.log' for more details." >&2;}
15162 { (exit 1); exit 1; }; }
15164 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15169 ac_cv_sizeof_char
=0
15172 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15173 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15174 cat >>confdefs.h
<<_ACEOF
15175 #define SIZEOF_CHAR $ac_cv_sizeof_char
15179 echo "$as_me:$LINENO: checking for short" >&5
15180 echo $ECHO_N "checking for short... $ECHO_C" >&6
15181 if test "${ac_cv_type_short+set}" = set; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15184 cat >conftest.
$ac_ext <<_ACEOF
15187 cat confdefs.h
>>conftest.
$ac_ext
15188 cat >>conftest.
$ac_ext <<_ACEOF
15189 /* end confdefs.h. */
15190 $ac_includes_default
15196 if (sizeof (short))
15202 rm -f conftest.
$ac_objext
15203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15204 (eval $ac_compile) 2>conftest.er1
15206 grep -v '^ *+' conftest.er1
>conftest.err
15208 cat conftest.err
>&5
15209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15210 (exit $ac_status); } &&
15211 { ac_try
='test -z "$ac_c_werror_flag"
15212 || test ! -s conftest.err'
15213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15214 (eval $ac_try) 2>&5
15216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15217 (exit $ac_status); }; } &&
15218 { ac_try
='test -s conftest.$ac_objext'
15219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15220 (eval $ac_try) 2>&5
15222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15223 (exit $ac_status); }; }; then
15224 ac_cv_type_short
=yes
15226 echo "$as_me: failed program was:" >&5
15227 sed 's/^/| /' conftest.
$ac_ext >&5
15229 ac_cv_type_short
=no
15231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15233 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15234 echo "${ECHO_T}$ac_cv_type_short" >&6
15236 echo "$as_me:$LINENO: checking size of short" >&5
15237 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15238 if test "${ac_cv_sizeof_short+set}" = set; then
15239 echo $ECHO_N "(cached) $ECHO_C" >&6
15241 if test "$ac_cv_type_short" = yes; then
15242 # The cast to unsigned long works around a bug in the HP C Compiler
15243 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15244 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15245 # This bug is HP SR number 8606223364.
15246 if test "$cross_compiling" = yes; then
15247 # Depending upon the size, compute the lo and hi bounds.
15248 cat >conftest.
$ac_ext <<_ACEOF
15251 cat confdefs.h
>>conftest.
$ac_ext
15252 cat >>conftest.
$ac_ext <<_ACEOF
15253 /* end confdefs.h. */
15254 $ac_includes_default
15258 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15265 rm -f conftest.
$ac_objext
15266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15267 (eval $ac_compile) 2>conftest.er1
15269 grep -v '^ *+' conftest.er1
>conftest.err
15271 cat conftest.err
>&5
15272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15273 (exit $ac_status); } &&
15274 { ac_try
='test -z "$ac_c_werror_flag"
15275 || test ! -s conftest.err'
15276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15277 (eval $ac_try) 2>&5
15279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); }; } &&
15281 { ac_try
='test -s conftest.$ac_objext'
15282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15283 (eval $ac_try) 2>&5
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); }; }; then
15289 cat >conftest.
$ac_ext <<_ACEOF
15292 cat confdefs.h
>>conftest.
$ac_ext
15293 cat >>conftest.
$ac_ext <<_ACEOF
15294 /* end confdefs.h. */
15295 $ac_includes_default
15299 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15306 rm -f conftest.
$ac_objext
15307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15308 (eval $ac_compile) 2>conftest.er1
15310 grep -v '^ *+' conftest.er1
>conftest.err
15312 cat conftest.err
>&5
15313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15314 (exit $ac_status); } &&
15315 { ac_try
='test -z "$ac_c_werror_flag"
15316 || test ! -s conftest.err'
15317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15318 (eval $ac_try) 2>&5
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); }; } &&
15322 { ac_try
='test -s conftest.$ac_objext'
15323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15324 (eval $ac_try) 2>&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); }; }; then
15328 ac_hi
=$ac_mid; break
15330 echo "$as_me: failed program was:" >&5
15331 sed 's/^/| /' conftest.
$ac_ext >&5
15333 ac_lo
=`expr $ac_mid + 1`
15334 if test $ac_lo -le $ac_mid; then
15338 ac_mid
=`expr 2 '*' $ac_mid + 1`
15340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15343 echo "$as_me: failed program was:" >&5
15344 sed 's/^/| /' conftest.
$ac_ext >&5
15346 cat >conftest.
$ac_ext <<_ACEOF
15349 cat confdefs.h
>>conftest.
$ac_ext
15350 cat >>conftest.
$ac_ext <<_ACEOF
15351 /* end confdefs.h. */
15352 $ac_includes_default
15356 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15363 rm -f conftest.
$ac_objext
15364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15365 (eval $ac_compile) 2>conftest.er1
15367 grep -v '^ *+' conftest.er1
>conftest.err
15369 cat conftest.err
>&5
15370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); } &&
15372 { ac_try
='test -z "$ac_c_werror_flag"
15373 || test ! -s conftest.err'
15374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15375 (eval $ac_try) 2>&5
15377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15378 (exit $ac_status); }; } &&
15379 { ac_try
='test -s conftest.$ac_objext'
15380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15381 (eval $ac_try) 2>&5
15383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15384 (exit $ac_status); }; }; then
15387 cat >conftest.
$ac_ext <<_ACEOF
15390 cat confdefs.h
>>conftest.
$ac_ext
15391 cat >>conftest.
$ac_ext <<_ACEOF
15392 /* end confdefs.h. */
15393 $ac_includes_default
15397 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15404 rm -f conftest.
$ac_objext
15405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15406 (eval $ac_compile) 2>conftest.er1
15408 grep -v '^ *+' conftest.er1
>conftest.err
15410 cat conftest.err
>&5
15411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15412 (exit $ac_status); } &&
15413 { ac_try
='test -z "$ac_c_werror_flag"
15414 || test ! -s conftest.err'
15415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15416 (eval $ac_try) 2>&5
15418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15419 (exit $ac_status); }; } &&
15420 { ac_try
='test -s conftest.$ac_objext'
15421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15422 (eval $ac_try) 2>&5
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); }; }; then
15426 ac_lo
=$ac_mid; break
15428 echo "$as_me: failed program was:" >&5
15429 sed 's/^/| /' conftest.
$ac_ext >&5
15431 ac_hi
=`expr '(' $ac_mid ')' - 1`
15432 if test $ac_mid -le $ac_hi; then
15436 ac_mid
=`expr 2 '*' $ac_mid`
15438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15441 echo "$as_me: failed program was:" >&5
15442 sed 's/^/| /' conftest.
$ac_ext >&5
15446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15449 # Binary search between lo and hi bounds.
15450 while test "x$ac_lo" != "x$ac_hi"; do
15451 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15452 cat >conftest.
$ac_ext <<_ACEOF
15455 cat confdefs.h
>>conftest.
$ac_ext
15456 cat >>conftest.
$ac_ext <<_ACEOF
15457 /* end confdefs.h. */
15458 $ac_includes_default
15462 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15469 rm -f conftest.
$ac_objext
15470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15471 (eval $ac_compile) 2>conftest.er1
15473 grep -v '^ *+' conftest.er1
>conftest.err
15475 cat conftest.err
>&5
15476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 (exit $ac_status); } &&
15478 { ac_try
='test -z "$ac_c_werror_flag"
15479 || test ! -s conftest.err'
15480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15481 (eval $ac_try) 2>&5
15483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15484 (exit $ac_status); }; } &&
15485 { ac_try
='test -s conftest.$ac_objext'
15486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15487 (eval $ac_try) 2>&5
15489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15490 (exit $ac_status); }; }; then
15493 echo "$as_me: failed program was:" >&5
15494 sed 's/^/| /' conftest.
$ac_ext >&5
15496 ac_lo
=`expr '(' $ac_mid ')' + 1`
15498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15501 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15502 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15503 See \`config.log' for more details." >&5
15504 echo "$as_me: error: cannot compute sizeof (short), 77
15505 See \`config.log' for more details." >&2;}
15506 { (exit 1); exit 1; }; } ;;
15509 if test "$cross_compiling" = yes; then
15510 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15511 See \`config.log' for more details." >&5
15512 echo "$as_me: error: cannot run test program while cross compiling
15513 See \`config.log' for more details." >&2;}
15514 { (exit 1); exit 1; }; }
15516 cat >conftest.
$ac_ext <<_ACEOF
15519 cat confdefs.h
>>conftest.
$ac_ext
15520 cat >>conftest.
$ac_ext <<_ACEOF
15521 /* end confdefs.h. */
15522 $ac_includes_default
15523 long longval () { return (long) (sizeof (short)); }
15524 unsigned long ulongval () { return (long) (sizeof (short)); }
15526 #include <stdlib.h>
15531 FILE *f = fopen ("conftest.val", "w");
15534 if (((long) (sizeof (short))) < 0)
15536 long i = longval ();
15537 if (i != ((long) (sizeof (short))))
15539 fprintf (f, "%ld\n", i);
15543 unsigned long i = ulongval ();
15544 if (i != ((long) (sizeof (short))))
15546 fprintf (f, "%lu\n", i);
15548 exit (ferror (f) || fclose (f) != 0);
15554 rm -f conftest
$ac_exeext
15555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15556 (eval $ac_link) 2>&5
15558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15559 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15561 (eval $ac_try) 2>&5
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); }; }; then
15565 ac_cv_sizeof_short
=`cat conftest.val`
15567 echo "$as_me: program exited with status $ac_status" >&5
15568 echo "$as_me: failed program was:" >&5
15569 sed 's/^/| /' conftest.
$ac_ext >&5
15571 ( exit $ac_status )
15572 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15573 See \`config.log' for more details." >&5
15574 echo "$as_me: error: cannot compute sizeof (short), 77
15575 See \`config.log' for more details." >&2;}
15576 { (exit 1); exit 1; }; }
15578 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15583 ac_cv_sizeof_short
=0
15586 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15587 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15588 cat >>confdefs.h
<<_ACEOF
15589 #define SIZEOF_SHORT $ac_cv_sizeof_short
15593 echo "$as_me:$LINENO: checking for void *" >&5
15594 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15595 if test "${ac_cv_type_void_p+set}" = set; then
15596 echo $ECHO_N "(cached) $ECHO_C" >&6
15598 cat >conftest.
$ac_ext <<_ACEOF
15601 cat confdefs.h
>>conftest.
$ac_ext
15602 cat >>conftest.
$ac_ext <<_ACEOF
15603 /* end confdefs.h. */
15604 $ac_includes_default
15610 if (sizeof (void *))
15616 rm -f conftest.
$ac_objext
15617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15618 (eval $ac_compile) 2>conftest.er1
15620 grep -v '^ *+' conftest.er1
>conftest.err
15622 cat conftest.err
>&5
15623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624 (exit $ac_status); } &&
15625 { ac_try
='test -z "$ac_c_werror_flag"
15626 || test ! -s conftest.err'
15627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15628 (eval $ac_try) 2>&5
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); }; } &&
15632 { ac_try
='test -s conftest.$ac_objext'
15633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15634 (eval $ac_try) 2>&5
15636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637 (exit $ac_status); }; }; then
15638 ac_cv_type_void_p
=yes
15640 echo "$as_me: failed program was:" >&5
15641 sed 's/^/| /' conftest.
$ac_ext >&5
15643 ac_cv_type_void_p
=no
15645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15647 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15648 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15650 echo "$as_me:$LINENO: checking size of void *" >&5
15651 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15652 if test "${ac_cv_sizeof_void_p+set}" = set; then
15653 echo $ECHO_N "(cached) $ECHO_C" >&6
15655 if test "$ac_cv_type_void_p" = yes; then
15656 # The cast to unsigned long works around a bug in the HP C Compiler
15657 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15658 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15659 # This bug is HP SR number 8606223364.
15660 if test "$cross_compiling" = yes; then
15661 # Depending upon the size, compute the lo and hi bounds.
15662 cat >conftest.
$ac_ext <<_ACEOF
15665 cat confdefs.h
>>conftest.
$ac_ext
15666 cat >>conftest.
$ac_ext <<_ACEOF
15667 /* end confdefs.h. */
15668 $ac_includes_default
15672 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15679 rm -f conftest.
$ac_objext
15680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15681 (eval $ac_compile) 2>conftest.er1
15683 grep -v '^ *+' conftest.er1
>conftest.err
15685 cat conftest.err
>&5
15686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15687 (exit $ac_status); } &&
15688 { ac_try
='test -z "$ac_c_werror_flag"
15689 || test ! -s conftest.err'
15690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15691 (eval $ac_try) 2>&5
15693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15694 (exit $ac_status); }; } &&
15695 { ac_try
='test -s conftest.$ac_objext'
15696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15697 (eval $ac_try) 2>&5
15699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15700 (exit $ac_status); }; }; then
15703 cat >conftest.
$ac_ext <<_ACEOF
15706 cat confdefs.h
>>conftest.
$ac_ext
15707 cat >>conftest.
$ac_ext <<_ACEOF
15708 /* end confdefs.h. */
15709 $ac_includes_default
15713 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15720 rm -f conftest.
$ac_objext
15721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15722 (eval $ac_compile) 2>conftest.er1
15724 grep -v '^ *+' conftest.er1
>conftest.err
15726 cat conftest.err
>&5
15727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15728 (exit $ac_status); } &&
15729 { ac_try
='test -z "$ac_c_werror_flag"
15730 || test ! -s conftest.err'
15731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15732 (eval $ac_try) 2>&5
15734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15735 (exit $ac_status); }; } &&
15736 { ac_try
='test -s conftest.$ac_objext'
15737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15738 (eval $ac_try) 2>&5
15740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741 (exit $ac_status); }; }; then
15742 ac_hi
=$ac_mid; break
15744 echo "$as_me: failed program was:" >&5
15745 sed 's/^/| /' conftest.
$ac_ext >&5
15747 ac_lo
=`expr $ac_mid + 1`
15748 if test $ac_lo -le $ac_mid; then
15752 ac_mid
=`expr 2 '*' $ac_mid + 1`
15754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15757 echo "$as_me: failed program was:" >&5
15758 sed 's/^/| /' conftest.
$ac_ext >&5
15760 cat >conftest.
$ac_ext <<_ACEOF
15763 cat confdefs.h
>>conftest.
$ac_ext
15764 cat >>conftest.
$ac_ext <<_ACEOF
15765 /* end confdefs.h. */
15766 $ac_includes_default
15770 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15777 rm -f conftest.
$ac_objext
15778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15779 (eval $ac_compile) 2>conftest.er1
15781 grep -v '^ *+' conftest.er1
>conftest.err
15783 cat conftest.err
>&5
15784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15785 (exit $ac_status); } &&
15786 { ac_try
='test -z "$ac_c_werror_flag"
15787 || test ! -s conftest.err'
15788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15789 (eval $ac_try) 2>&5
15791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792 (exit $ac_status); }; } &&
15793 { ac_try
='test -s conftest.$ac_objext'
15794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15795 (eval $ac_try) 2>&5
15797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15798 (exit $ac_status); }; }; then
15801 cat >conftest.
$ac_ext <<_ACEOF
15804 cat confdefs.h
>>conftest.
$ac_ext
15805 cat >>conftest.
$ac_ext <<_ACEOF
15806 /* end confdefs.h. */
15807 $ac_includes_default
15811 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15818 rm -f conftest.
$ac_objext
15819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15820 (eval $ac_compile) 2>conftest.er1
15822 grep -v '^ *+' conftest.er1
>conftest.err
15824 cat conftest.err
>&5
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); } &&
15827 { ac_try
='test -z "$ac_c_werror_flag"
15828 || test ! -s conftest.err'
15829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15830 (eval $ac_try) 2>&5
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); }; } &&
15834 { ac_try
='test -s conftest.$ac_objext'
15835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15836 (eval $ac_try) 2>&5
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); }; }; then
15840 ac_lo
=$ac_mid; break
15842 echo "$as_me: failed program was:" >&5
15843 sed 's/^/| /' conftest.
$ac_ext >&5
15845 ac_hi
=`expr '(' $ac_mid ')' - 1`
15846 if test $ac_mid -le $ac_hi; then
15850 ac_mid
=`expr 2 '*' $ac_mid`
15852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15855 echo "$as_me: failed program was:" >&5
15856 sed 's/^/| /' conftest.
$ac_ext >&5
15860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15863 # Binary search between lo and hi bounds.
15864 while test "x$ac_lo" != "x$ac_hi"; do
15865 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15866 cat >conftest.
$ac_ext <<_ACEOF
15869 cat confdefs.h
>>conftest.
$ac_ext
15870 cat >>conftest.
$ac_ext <<_ACEOF
15871 /* end confdefs.h. */
15872 $ac_includes_default
15876 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15883 rm -f conftest.
$ac_objext
15884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15885 (eval $ac_compile) 2>conftest.er1
15887 grep -v '^ *+' conftest.er1
>conftest.err
15889 cat conftest.err
>&5
15890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15891 (exit $ac_status); } &&
15892 { ac_try
='test -z "$ac_c_werror_flag"
15893 || test ! -s conftest.err'
15894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15895 (eval $ac_try) 2>&5
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); }; } &&
15899 { ac_try
='test -s conftest.$ac_objext'
15900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15901 (eval $ac_try) 2>&5
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); }; }; then
15907 echo "$as_me: failed program was:" >&5
15908 sed 's/^/| /' conftest.
$ac_ext >&5
15910 ac_lo
=`expr '(' $ac_mid ')' + 1`
15912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15915 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15916 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15917 See \`config.log' for more details." >&5
15918 echo "$as_me: error: cannot compute sizeof (void *), 77
15919 See \`config.log' for more details." >&2;}
15920 { (exit 1); exit 1; }; } ;;
15923 if test "$cross_compiling" = yes; then
15924 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15925 See \`config.log' for more details." >&5
15926 echo "$as_me: error: cannot run test program while cross compiling
15927 See \`config.log' for more details." >&2;}
15928 { (exit 1); exit 1; }; }
15930 cat >conftest.
$ac_ext <<_ACEOF
15933 cat confdefs.h
>>conftest.
$ac_ext
15934 cat >>conftest.
$ac_ext <<_ACEOF
15935 /* end confdefs.h. */
15936 $ac_includes_default
15937 long longval () { return (long) (sizeof (void *)); }
15938 unsigned long ulongval () { return (long) (sizeof (void *)); }
15940 #include <stdlib.h>
15945 FILE *f = fopen ("conftest.val", "w");
15948 if (((long) (sizeof (void *))) < 0)
15950 long i = longval ();
15951 if (i != ((long) (sizeof (void *))))
15953 fprintf (f, "%ld\n", i);
15957 unsigned long i = ulongval ();
15958 if (i != ((long) (sizeof (void *))))
15960 fprintf (f, "%lu\n", i);
15962 exit (ferror (f) || fclose (f) != 0);
15968 rm -f conftest
$ac_exeext
15969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15970 (eval $ac_link) 2>&5
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15975 (eval $ac_try) 2>&5
15977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978 (exit $ac_status); }; }; then
15979 ac_cv_sizeof_void_p
=`cat conftest.val`
15981 echo "$as_me: program exited with status $ac_status" >&5
15982 echo "$as_me: failed program was:" >&5
15983 sed 's/^/| /' conftest.
$ac_ext >&5
15985 ( exit $ac_status )
15986 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15987 See \`config.log' for more details." >&5
15988 echo "$as_me: error: cannot compute sizeof (void *), 77
15989 See \`config.log' for more details." >&2;}
15990 { (exit 1); exit 1; }; }
15992 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15997 ac_cv_sizeof_void_p
=0
16000 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16001 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16002 cat >>confdefs.h
<<_ACEOF
16003 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16007 echo "$as_me:$LINENO: checking for int" >&5
16008 echo $ECHO_N "checking for int... $ECHO_C" >&6
16009 if test "${ac_cv_type_int+set}" = set; then
16010 echo $ECHO_N "(cached) $ECHO_C" >&6
16012 cat >conftest.
$ac_ext <<_ACEOF
16015 cat confdefs.h
>>conftest.
$ac_ext
16016 cat >>conftest.
$ac_ext <<_ACEOF
16017 /* end confdefs.h. */
16018 $ac_includes_default
16030 rm -f conftest.
$ac_objext
16031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16032 (eval $ac_compile) 2>conftest.er1
16034 grep -v '^ *+' conftest.er1
>conftest.err
16036 cat conftest.err
>&5
16037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16038 (exit $ac_status); } &&
16039 { ac_try
='test -z "$ac_c_werror_flag"
16040 || test ! -s conftest.err'
16041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16042 (eval $ac_try) 2>&5
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); }; } &&
16046 { ac_try
='test -s conftest.$ac_objext'
16047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16048 (eval $ac_try) 2>&5
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); }; }; then
16054 echo "$as_me: failed program was:" >&5
16055 sed 's/^/| /' conftest.
$ac_ext >&5
16059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16061 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16062 echo "${ECHO_T}$ac_cv_type_int" >&6
16064 echo "$as_me:$LINENO: checking size of int" >&5
16065 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16066 if test "${ac_cv_sizeof_int+set}" = set; then
16067 echo $ECHO_N "(cached) $ECHO_C" >&6
16069 if test "$ac_cv_type_int" = yes; then
16070 # The cast to unsigned long works around a bug in the HP C Compiler
16071 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16072 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16073 # This bug is HP SR number 8606223364.
16074 if test "$cross_compiling" = yes; then
16075 # Depending upon the size, compute the lo and hi bounds.
16076 cat >conftest.
$ac_ext <<_ACEOF
16079 cat confdefs.h
>>conftest.
$ac_ext
16080 cat >>conftest.
$ac_ext <<_ACEOF
16081 /* end confdefs.h. */
16082 $ac_includes_default
16086 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16093 rm -f conftest.
$ac_objext
16094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16095 (eval $ac_compile) 2>conftest.er1
16097 grep -v '^ *+' conftest.er1
>conftest.err
16099 cat conftest.err
>&5
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); } &&
16102 { ac_try
='test -z "$ac_c_werror_flag"
16103 || test ! -s conftest.err'
16104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16105 (eval $ac_try) 2>&5
16107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16108 (exit $ac_status); }; } &&
16109 { ac_try
='test -s conftest.$ac_objext'
16110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16111 (eval $ac_try) 2>&5
16113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16114 (exit $ac_status); }; }; then
16117 cat >conftest.
$ac_ext <<_ACEOF
16120 cat confdefs.h
>>conftest.
$ac_ext
16121 cat >>conftest.
$ac_ext <<_ACEOF
16122 /* end confdefs.h. */
16123 $ac_includes_default
16127 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16134 rm -f conftest.
$ac_objext
16135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16136 (eval $ac_compile) 2>conftest.er1
16138 grep -v '^ *+' conftest.er1
>conftest.err
16140 cat conftest.err
>&5
16141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16142 (exit $ac_status); } &&
16143 { ac_try
='test -z "$ac_c_werror_flag"
16144 || test ! -s conftest.err'
16145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16146 (eval $ac_try) 2>&5
16148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16149 (exit $ac_status); }; } &&
16150 { ac_try
='test -s conftest.$ac_objext'
16151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16152 (eval $ac_try) 2>&5
16154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16155 (exit $ac_status); }; }; then
16156 ac_hi
=$ac_mid; break
16158 echo "$as_me: failed program was:" >&5
16159 sed 's/^/| /' conftest.
$ac_ext >&5
16161 ac_lo
=`expr $ac_mid + 1`
16162 if test $ac_lo -le $ac_mid; then
16166 ac_mid
=`expr 2 '*' $ac_mid + 1`
16168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16171 echo "$as_me: failed program was:" >&5
16172 sed 's/^/| /' conftest.
$ac_ext >&5
16174 cat >conftest.
$ac_ext <<_ACEOF
16177 cat confdefs.h
>>conftest.
$ac_ext
16178 cat >>conftest.
$ac_ext <<_ACEOF
16179 /* end confdefs.h. */
16180 $ac_includes_default
16184 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16191 rm -f conftest.
$ac_objext
16192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16193 (eval $ac_compile) 2>conftest.er1
16195 grep -v '^ *+' conftest.er1
>conftest.err
16197 cat conftest.err
>&5
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199 (exit $ac_status); } &&
16200 { ac_try
='test -z "$ac_c_werror_flag"
16201 || test ! -s conftest.err'
16202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16203 (eval $ac_try) 2>&5
16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); }; } &&
16207 { ac_try
='test -s conftest.$ac_objext'
16208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16209 (eval $ac_try) 2>&5
16211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16212 (exit $ac_status); }; }; then
16215 cat >conftest.
$ac_ext <<_ACEOF
16218 cat confdefs.h
>>conftest.
$ac_ext
16219 cat >>conftest.
$ac_ext <<_ACEOF
16220 /* end confdefs.h. */
16221 $ac_includes_default
16225 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16232 rm -f conftest.
$ac_objext
16233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16234 (eval $ac_compile) 2>conftest.er1
16236 grep -v '^ *+' conftest.er1
>conftest.err
16238 cat conftest.err
>&5
16239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240 (exit $ac_status); } &&
16241 { ac_try
='test -z "$ac_c_werror_flag"
16242 || test ! -s conftest.err'
16243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16244 (eval $ac_try) 2>&5
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); }; } &&
16248 { ac_try
='test -s conftest.$ac_objext'
16249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16250 (eval $ac_try) 2>&5
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); }; }; then
16254 ac_lo
=$ac_mid; break
16256 echo "$as_me: failed program was:" >&5
16257 sed 's/^/| /' conftest.
$ac_ext >&5
16259 ac_hi
=`expr '(' $ac_mid ')' - 1`
16260 if test $ac_mid -le $ac_hi; then
16264 ac_mid
=`expr 2 '*' $ac_mid`
16266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16269 echo "$as_me: failed program was:" >&5
16270 sed 's/^/| /' conftest.
$ac_ext >&5
16274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16277 # Binary search between lo and hi bounds.
16278 while test "x$ac_lo" != "x$ac_hi"; do
16279 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16280 cat >conftest.
$ac_ext <<_ACEOF
16283 cat confdefs.h
>>conftest.
$ac_ext
16284 cat >>conftest.
$ac_ext <<_ACEOF
16285 /* end confdefs.h. */
16286 $ac_includes_default
16290 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16297 rm -f conftest.
$ac_objext
16298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16299 (eval $ac_compile) 2>conftest.er1
16301 grep -v '^ *+' conftest.er1
>conftest.err
16303 cat conftest.err
>&5
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); } &&
16306 { ac_try
='test -z "$ac_c_werror_flag"
16307 || test ! -s conftest.err'
16308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16309 (eval $ac_try) 2>&5
16311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16312 (exit $ac_status); }; } &&
16313 { ac_try
='test -s conftest.$ac_objext'
16314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16315 (eval $ac_try) 2>&5
16317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318 (exit $ac_status); }; }; then
16321 echo "$as_me: failed program was:" >&5
16322 sed 's/^/| /' conftest.
$ac_ext >&5
16324 ac_lo
=`expr '(' $ac_mid ')' + 1`
16326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16329 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16330 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16331 See \`config.log' for more details." >&5
16332 echo "$as_me: error: cannot compute sizeof (int), 77
16333 See \`config.log' for more details." >&2;}
16334 { (exit 1); exit 1; }; } ;;
16337 if test "$cross_compiling" = yes; then
16338 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16339 See \`config.log' for more details." >&5
16340 echo "$as_me: error: cannot run test program while cross compiling
16341 See \`config.log' for more details." >&2;}
16342 { (exit 1); exit 1; }; }
16344 cat >conftest.
$ac_ext <<_ACEOF
16347 cat confdefs.h
>>conftest.
$ac_ext
16348 cat >>conftest.
$ac_ext <<_ACEOF
16349 /* end confdefs.h. */
16350 $ac_includes_default
16351 long longval () { return (long) (sizeof (int)); }
16352 unsigned long ulongval () { return (long) (sizeof (int)); }
16354 #include <stdlib.h>
16359 FILE *f = fopen ("conftest.val", "w");
16362 if (((long) (sizeof (int))) < 0)
16364 long i = longval ();
16365 if (i != ((long) (sizeof (int))))
16367 fprintf (f, "%ld\n", i);
16371 unsigned long i = ulongval ();
16372 if (i != ((long) (sizeof (int))))
16374 fprintf (f, "%lu\n", i);
16376 exit (ferror (f) || fclose (f) != 0);
16382 rm -f conftest
$ac_exeext
16383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16384 (eval $ac_link) 2>&5
16386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16387 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16389 (eval $ac_try) 2>&5
16391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16392 (exit $ac_status); }; }; then
16393 ac_cv_sizeof_int
=`cat conftest.val`
16395 echo "$as_me: program exited with status $ac_status" >&5
16396 echo "$as_me: failed program was:" >&5
16397 sed 's/^/| /' conftest.
$ac_ext >&5
16399 ( exit $ac_status )
16400 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16401 See \`config.log' for more details." >&5
16402 echo "$as_me: error: cannot compute sizeof (int), 77
16403 See \`config.log' for more details." >&2;}
16404 { (exit 1); exit 1; }; }
16406 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16414 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16415 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16416 cat >>confdefs.h
<<_ACEOF
16417 #define SIZEOF_INT $ac_cv_sizeof_int
16421 echo "$as_me:$LINENO: checking for long" >&5
16422 echo $ECHO_N "checking for long... $ECHO_C" >&6
16423 if test "${ac_cv_type_long+set}" = set; then
16424 echo $ECHO_N "(cached) $ECHO_C" >&6
16426 cat >conftest.
$ac_ext <<_ACEOF
16429 cat confdefs.h
>>conftest.
$ac_ext
16430 cat >>conftest.
$ac_ext <<_ACEOF
16431 /* end confdefs.h. */
16432 $ac_includes_default
16444 rm -f conftest.
$ac_objext
16445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16446 (eval $ac_compile) 2>conftest.er1
16448 grep -v '^ *+' conftest.er1
>conftest.err
16450 cat conftest.err
>&5
16451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452 (exit $ac_status); } &&
16453 { ac_try
='test -z "$ac_c_werror_flag"
16454 || test ! -s conftest.err'
16455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16456 (eval $ac_try) 2>&5
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); }; } &&
16460 { ac_try
='test -s conftest.$ac_objext'
16461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16462 (eval $ac_try) 2>&5
16464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465 (exit $ac_status); }; }; then
16466 ac_cv_type_long
=yes
16468 echo "$as_me: failed program was:" >&5
16469 sed 's/^/| /' conftest.
$ac_ext >&5
16473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16475 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16476 echo "${ECHO_T}$ac_cv_type_long" >&6
16478 echo "$as_me:$LINENO: checking size of long" >&5
16479 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16480 if test "${ac_cv_sizeof_long+set}" = set; then
16481 echo $ECHO_N "(cached) $ECHO_C" >&6
16483 if test "$ac_cv_type_long" = yes; then
16484 # The cast to unsigned long works around a bug in the HP C Compiler
16485 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16486 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16487 # This bug is HP SR number 8606223364.
16488 if test "$cross_compiling" = yes; then
16489 # Depending upon the size, compute the lo and hi bounds.
16490 cat >conftest.
$ac_ext <<_ACEOF
16493 cat confdefs.h
>>conftest.
$ac_ext
16494 cat >>conftest.
$ac_ext <<_ACEOF
16495 /* end confdefs.h. */
16496 $ac_includes_default
16500 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16507 rm -f conftest.
$ac_objext
16508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16509 (eval $ac_compile) 2>conftest.er1
16511 grep -v '^ *+' conftest.er1
>conftest.err
16513 cat conftest.err
>&5
16514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16515 (exit $ac_status); } &&
16516 { ac_try
='test -z "$ac_c_werror_flag"
16517 || test ! -s conftest.err'
16518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16519 (eval $ac_try) 2>&5
16521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16522 (exit $ac_status); }; } &&
16523 { ac_try
='test -s conftest.$ac_objext'
16524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16525 (eval $ac_try) 2>&5
16527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16528 (exit $ac_status); }; }; then
16531 cat >conftest.
$ac_ext <<_ACEOF
16534 cat confdefs.h
>>conftest.
$ac_ext
16535 cat >>conftest.
$ac_ext <<_ACEOF
16536 /* end confdefs.h. */
16537 $ac_includes_default
16541 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16548 rm -f conftest.
$ac_objext
16549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16550 (eval $ac_compile) 2>conftest.er1
16552 grep -v '^ *+' conftest.er1
>conftest.err
16554 cat conftest.err
>&5
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); } &&
16557 { ac_try
='test -z "$ac_c_werror_flag"
16558 || test ! -s conftest.err'
16559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16560 (eval $ac_try) 2>&5
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); }; } &&
16564 { ac_try
='test -s conftest.$ac_objext'
16565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16566 (eval $ac_try) 2>&5
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); }; }; then
16570 ac_hi
=$ac_mid; break
16572 echo "$as_me: failed program was:" >&5
16573 sed 's/^/| /' conftest.
$ac_ext >&5
16575 ac_lo
=`expr $ac_mid + 1`
16576 if test $ac_lo -le $ac_mid; then
16580 ac_mid
=`expr 2 '*' $ac_mid + 1`
16582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16585 echo "$as_me: failed program was:" >&5
16586 sed 's/^/| /' conftest.
$ac_ext >&5
16588 cat >conftest.
$ac_ext <<_ACEOF
16591 cat confdefs.h
>>conftest.
$ac_ext
16592 cat >>conftest.
$ac_ext <<_ACEOF
16593 /* end confdefs.h. */
16594 $ac_includes_default
16598 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16605 rm -f conftest.
$ac_objext
16606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16607 (eval $ac_compile) 2>conftest.er1
16609 grep -v '^ *+' conftest.er1
>conftest.err
16611 cat conftest.err
>&5
16612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613 (exit $ac_status); } &&
16614 { ac_try
='test -z "$ac_c_werror_flag"
16615 || test ! -s conftest.err'
16616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16617 (eval $ac_try) 2>&5
16619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16620 (exit $ac_status); }; } &&
16621 { ac_try
='test -s conftest.$ac_objext'
16622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16623 (eval $ac_try) 2>&5
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); }; }; then
16629 cat >conftest.
$ac_ext <<_ACEOF
16632 cat confdefs.h
>>conftest.
$ac_ext
16633 cat >>conftest.
$ac_ext <<_ACEOF
16634 /* end confdefs.h. */
16635 $ac_includes_default
16639 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16646 rm -f conftest.
$ac_objext
16647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16648 (eval $ac_compile) 2>conftest.er1
16650 grep -v '^ *+' conftest.er1
>conftest.err
16652 cat conftest.err
>&5
16653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16654 (exit $ac_status); } &&
16655 { ac_try
='test -z "$ac_c_werror_flag"
16656 || test ! -s conftest.err'
16657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16658 (eval $ac_try) 2>&5
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); }; } &&
16662 { ac_try
='test -s conftest.$ac_objext'
16663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16664 (eval $ac_try) 2>&5
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); }; }; then
16668 ac_lo
=$ac_mid; break
16670 echo "$as_me: failed program was:" >&5
16671 sed 's/^/| /' conftest.
$ac_ext >&5
16673 ac_hi
=`expr '(' $ac_mid ')' - 1`
16674 if test $ac_mid -le $ac_hi; then
16678 ac_mid
=`expr 2 '*' $ac_mid`
16680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16683 echo "$as_me: failed program was:" >&5
16684 sed 's/^/| /' conftest.
$ac_ext >&5
16688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16691 # Binary search between lo and hi bounds.
16692 while test "x$ac_lo" != "x$ac_hi"; do
16693 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16694 cat >conftest.
$ac_ext <<_ACEOF
16697 cat confdefs.h
>>conftest.
$ac_ext
16698 cat >>conftest.
$ac_ext <<_ACEOF
16699 /* end confdefs.h. */
16700 $ac_includes_default
16704 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16711 rm -f conftest.
$ac_objext
16712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16713 (eval $ac_compile) 2>conftest.er1
16715 grep -v '^ *+' conftest.er1
>conftest.err
16717 cat conftest.err
>&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); } &&
16720 { ac_try
='test -z "$ac_c_werror_flag"
16721 || test ! -s conftest.err'
16722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16723 (eval $ac_try) 2>&5
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726 (exit $ac_status); }; } &&
16727 { ac_try
='test -s conftest.$ac_objext'
16728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16729 (eval $ac_try) 2>&5
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); }; }; then
16735 echo "$as_me: failed program was:" >&5
16736 sed 's/^/| /' conftest.
$ac_ext >&5
16738 ac_lo
=`expr '(' $ac_mid ')' + 1`
16740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16743 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16744 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16745 See \`config.log' for more details." >&5
16746 echo "$as_me: error: cannot compute sizeof (long), 77
16747 See \`config.log' for more details." >&2;}
16748 { (exit 1); exit 1; }; } ;;
16751 if test "$cross_compiling" = yes; then
16752 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16753 See \`config.log' for more details." >&5
16754 echo "$as_me: error: cannot run test program while cross compiling
16755 See \`config.log' for more details." >&2;}
16756 { (exit 1); exit 1; }; }
16758 cat >conftest.
$ac_ext <<_ACEOF
16761 cat confdefs.h
>>conftest.
$ac_ext
16762 cat >>conftest.
$ac_ext <<_ACEOF
16763 /* end confdefs.h. */
16764 $ac_includes_default
16765 long longval () { return (long) (sizeof (long)); }
16766 unsigned long ulongval () { return (long) (sizeof (long)); }
16768 #include <stdlib.h>
16773 FILE *f = fopen ("conftest.val", "w");
16776 if (((long) (sizeof (long))) < 0)
16778 long i = longval ();
16779 if (i != ((long) (sizeof (long))))
16781 fprintf (f, "%ld\n", i);
16785 unsigned long i = ulongval ();
16786 if (i != ((long) (sizeof (long))))
16788 fprintf (f, "%lu\n", i);
16790 exit (ferror (f) || fclose (f) != 0);
16796 rm -f conftest
$ac_exeext
16797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16798 (eval $ac_link) 2>&5
16800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16801 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16803 (eval $ac_try) 2>&5
16805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16806 (exit $ac_status); }; }; then
16807 ac_cv_sizeof_long
=`cat conftest.val`
16809 echo "$as_me: program exited with status $ac_status" >&5
16810 echo "$as_me: failed program was:" >&5
16811 sed 's/^/| /' conftest.
$ac_ext >&5
16813 ( exit $ac_status )
16814 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16815 See \`config.log' for more details." >&5
16816 echo "$as_me: error: cannot compute sizeof (long), 77
16817 See \`config.log' for more details." >&2;}
16818 { (exit 1); exit 1; }; }
16820 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16825 ac_cv_sizeof_long
=0
16828 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16829 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16830 cat >>confdefs.h
<<_ACEOF
16831 #define SIZEOF_LONG $ac_cv_sizeof_long
16835 echo "$as_me:$LINENO: checking for size_t" >&5
16836 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16837 if test "${ac_cv_type_size_t+set}" = set; then
16838 echo $ECHO_N "(cached) $ECHO_C" >&6
16840 cat >conftest.
$ac_ext <<_ACEOF
16843 cat confdefs.h
>>conftest.
$ac_ext
16844 cat >>conftest.
$ac_ext <<_ACEOF
16845 /* end confdefs.h. */
16846 $ac_includes_default
16852 if (sizeof (size_t))
16858 rm -f conftest.
$ac_objext
16859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16860 (eval $ac_compile) 2>conftest.er1
16862 grep -v '^ *+' conftest.er1
>conftest.err
16864 cat conftest.err
>&5
16865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); } &&
16867 { ac_try
='test -z "$ac_c_werror_flag"
16868 || test ! -s conftest.err'
16869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16870 (eval $ac_try) 2>&5
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); }; } &&
16874 { ac_try
='test -s conftest.$ac_objext'
16875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16876 (eval $ac_try) 2>&5
16878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879 (exit $ac_status); }; }; then
16880 ac_cv_type_size_t
=yes
16882 echo "$as_me: failed program was:" >&5
16883 sed 's/^/| /' conftest.
$ac_ext >&5
16885 ac_cv_type_size_t
=no
16887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16889 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16890 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16892 echo "$as_me:$LINENO: checking size of size_t" >&5
16893 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16894 if test "${ac_cv_sizeof_size_t+set}" = set; then
16895 echo $ECHO_N "(cached) $ECHO_C" >&6
16897 if test "$ac_cv_type_size_t" = yes; then
16898 # The cast to unsigned long works around a bug in the HP C Compiler
16899 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16900 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16901 # This bug is HP SR number 8606223364.
16902 if test "$cross_compiling" = yes; then
16903 # Depending upon the size, compute the lo and hi bounds.
16904 cat >conftest.
$ac_ext <<_ACEOF
16907 cat confdefs.h
>>conftest.
$ac_ext
16908 cat >>conftest.
$ac_ext <<_ACEOF
16909 /* end confdefs.h. */
16910 $ac_includes_default
16914 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16921 rm -f conftest.
$ac_objext
16922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16923 (eval $ac_compile) 2>conftest.er1
16925 grep -v '^ *+' conftest.er1
>conftest.err
16927 cat conftest.err
>&5
16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929 (exit $ac_status); } &&
16930 { ac_try
='test -z "$ac_c_werror_flag"
16931 || test ! -s conftest.err'
16932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16933 (eval $ac_try) 2>&5
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); }; } &&
16937 { ac_try
='test -s conftest.$ac_objext'
16938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16939 (eval $ac_try) 2>&5
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); }; }; then
16945 cat >conftest.
$ac_ext <<_ACEOF
16948 cat confdefs.h
>>conftest.
$ac_ext
16949 cat >>conftest.
$ac_ext <<_ACEOF
16950 /* end confdefs.h. */
16951 $ac_includes_default
16955 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16962 rm -f conftest.
$ac_objext
16963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16964 (eval $ac_compile) 2>conftest.er1
16966 grep -v '^ *+' conftest.er1
>conftest.err
16968 cat conftest.err
>&5
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970 (exit $ac_status); } &&
16971 { ac_try
='test -z "$ac_c_werror_flag"
16972 || test ! -s conftest.err'
16973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16974 (eval $ac_try) 2>&5
16976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977 (exit $ac_status); }; } &&
16978 { ac_try
='test -s conftest.$ac_objext'
16979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16980 (eval $ac_try) 2>&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); }; }; then
16984 ac_hi
=$ac_mid; break
16986 echo "$as_me: failed program was:" >&5
16987 sed 's/^/| /' conftest.
$ac_ext >&5
16989 ac_lo
=`expr $ac_mid + 1`
16990 if test $ac_lo -le $ac_mid; then
16994 ac_mid
=`expr 2 '*' $ac_mid + 1`
16996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16999 echo "$as_me: failed program was:" >&5
17000 sed 's/^/| /' conftest.
$ac_ext >&5
17002 cat >conftest.
$ac_ext <<_ACEOF
17005 cat confdefs.h
>>conftest.
$ac_ext
17006 cat >>conftest.
$ac_ext <<_ACEOF
17007 /* end confdefs.h. */
17008 $ac_includes_default
17012 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17019 rm -f conftest.
$ac_objext
17020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17021 (eval $ac_compile) 2>conftest.er1
17023 grep -v '^ *+' conftest.er1
>conftest.err
17025 cat conftest.err
>&5
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 (exit $ac_status); } &&
17028 { ac_try
='test -z "$ac_c_werror_flag"
17029 || test ! -s conftest.err'
17030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17031 (eval $ac_try) 2>&5
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); }; } &&
17035 { ac_try
='test -s conftest.$ac_objext'
17036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17037 (eval $ac_try) 2>&5
17039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17040 (exit $ac_status); }; }; then
17043 cat >conftest.
$ac_ext <<_ACEOF
17046 cat confdefs.h
>>conftest.
$ac_ext
17047 cat >>conftest.
$ac_ext <<_ACEOF
17048 /* end confdefs.h. */
17049 $ac_includes_default
17053 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17060 rm -f conftest.
$ac_objext
17061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17062 (eval $ac_compile) 2>conftest.er1
17064 grep -v '^ *+' conftest.er1
>conftest.err
17066 cat conftest.err
>&5
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); } &&
17069 { ac_try
='test -z "$ac_c_werror_flag"
17070 || test ! -s conftest.err'
17071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17072 (eval $ac_try) 2>&5
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); }; } &&
17076 { ac_try
='test -s conftest.$ac_objext'
17077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17078 (eval $ac_try) 2>&5
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); }; }; then
17082 ac_lo
=$ac_mid; break
17084 echo "$as_me: failed program was:" >&5
17085 sed 's/^/| /' conftest.
$ac_ext >&5
17087 ac_hi
=`expr '(' $ac_mid ')' - 1`
17088 if test $ac_mid -le $ac_hi; then
17092 ac_mid
=`expr 2 '*' $ac_mid`
17094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17097 echo "$as_me: failed program was:" >&5
17098 sed 's/^/| /' conftest.
$ac_ext >&5
17102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17105 # Binary search between lo and hi bounds.
17106 while test "x$ac_lo" != "x$ac_hi"; do
17107 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17108 cat >conftest.
$ac_ext <<_ACEOF
17111 cat confdefs.h
>>conftest.
$ac_ext
17112 cat >>conftest.
$ac_ext <<_ACEOF
17113 /* end confdefs.h. */
17114 $ac_includes_default
17118 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17125 rm -f conftest.
$ac_objext
17126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17127 (eval $ac_compile) 2>conftest.er1
17129 grep -v '^ *+' conftest.er1
>conftest.err
17131 cat conftest.err
>&5
17132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17133 (exit $ac_status); } &&
17134 { ac_try
='test -z "$ac_c_werror_flag"
17135 || test ! -s conftest.err'
17136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17137 (eval $ac_try) 2>&5
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); }; } &&
17141 { ac_try
='test -s conftest.$ac_objext'
17142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17143 (eval $ac_try) 2>&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); }; }; then
17149 echo "$as_me: failed program was:" >&5
17150 sed 's/^/| /' conftest.
$ac_ext >&5
17152 ac_lo
=`expr '(' $ac_mid ')' + 1`
17154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17157 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
17158 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17159 See \`config.log' for more details." >&5
17160 echo "$as_me: error: cannot compute sizeof (size_t), 77
17161 See \`config.log' for more details." >&2;}
17162 { (exit 1); exit 1; }; } ;;
17165 if test "$cross_compiling" = yes; then
17166 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17167 See \`config.log' for more details." >&5
17168 echo "$as_me: error: cannot run test program while cross compiling
17169 See \`config.log' for more details." >&2;}
17170 { (exit 1); exit 1; }; }
17172 cat >conftest.
$ac_ext <<_ACEOF
17175 cat confdefs.h
>>conftest.
$ac_ext
17176 cat >>conftest.
$ac_ext <<_ACEOF
17177 /* end confdefs.h. */
17178 $ac_includes_default
17179 long longval () { return (long) (sizeof (size_t)); }
17180 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17182 #include <stdlib.h>
17187 FILE *f = fopen ("conftest.val", "w");
17190 if (((long) (sizeof (size_t))) < 0)
17192 long i = longval ();
17193 if (i != ((long) (sizeof (size_t))))
17195 fprintf (f, "%ld\n", i);
17199 unsigned long i = ulongval ();
17200 if (i != ((long) (sizeof (size_t))))
17202 fprintf (f, "%lu\n", i);
17204 exit (ferror (f) || fclose (f) != 0);
17210 rm -f conftest
$ac_exeext
17211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17212 (eval $ac_link) 2>&5
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17217 (eval $ac_try) 2>&5
17219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17220 (exit $ac_status); }; }; then
17221 ac_cv_sizeof_size_t
=`cat conftest.val`
17223 echo "$as_me: program exited with status $ac_status" >&5
17224 echo "$as_me: failed program was:" >&5
17225 sed 's/^/| /' conftest.
$ac_ext >&5
17227 ( exit $ac_status )
17228 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17229 See \`config.log' for more details." >&5
17230 echo "$as_me: error: cannot compute sizeof (size_t), 77
17231 See \`config.log' for more details." >&2;}
17232 { (exit 1); exit 1; }; }
17234 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17239 ac_cv_sizeof_size_t
=0
17242 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17243 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17244 cat >>confdefs.h
<<_ACEOF
17245 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17252 echo "$as_me:$LINENO: checking for long long" >&5
17253 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17254 if test "${ac_cv_type_long_long+set}" = set; then
17255 echo $ECHO_N "(cached) $ECHO_C" >&6
17257 cat >conftest.
$ac_ext <<_ACEOF
17260 cat confdefs.h
>>conftest.
$ac_ext
17261 cat >>conftest.
$ac_ext <<_ACEOF
17262 /* end confdefs.h. */
17263 $ac_includes_default
17267 if ((long long *) 0)
17269 if (sizeof (long long))
17275 rm -f conftest.
$ac_objext
17276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17277 (eval $ac_compile) 2>conftest.er1
17279 grep -v '^ *+' conftest.er1
>conftest.err
17281 cat conftest.err
>&5
17282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283 (exit $ac_status); } &&
17284 { ac_try
='test -z "$ac_c_werror_flag"
17285 || test ! -s conftest.err'
17286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17287 (eval $ac_try) 2>&5
17289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); }; } &&
17291 { ac_try
='test -s conftest.$ac_objext'
17292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17293 (eval $ac_try) 2>&5
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); }; }; then
17297 ac_cv_type_long_long
=yes
17299 echo "$as_me: failed program was:" >&5
17300 sed 's/^/| /' conftest.
$ac_ext >&5
17302 ac_cv_type_long_long
=no
17304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17306 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17307 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17309 echo "$as_me:$LINENO: checking size of long long" >&5
17310 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17311 if test "${ac_cv_sizeof_long_long+set}" = set; then
17312 echo $ECHO_N "(cached) $ECHO_C" >&6
17314 if test "$ac_cv_type_long_long" = yes; then
17315 # The cast to unsigned long works around a bug in the HP C Compiler
17316 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17317 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17318 # This bug is HP SR number 8606223364.
17319 if test "$cross_compiling" = yes; then
17320 # Depending upon the size, compute the lo and hi bounds.
17321 cat >conftest.
$ac_ext <<_ACEOF
17324 cat confdefs.h
>>conftest.
$ac_ext
17325 cat >>conftest.
$ac_ext <<_ACEOF
17326 /* end confdefs.h. */
17327 $ac_includes_default
17331 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17338 rm -f conftest.
$ac_objext
17339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17340 (eval $ac_compile) 2>conftest.er1
17342 grep -v '^ *+' conftest.er1
>conftest.err
17344 cat conftest.err
>&5
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); } &&
17347 { ac_try
='test -z "$ac_c_werror_flag"
17348 || test ! -s conftest.err'
17349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17350 (eval $ac_try) 2>&5
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); }; } &&
17354 { ac_try
='test -s conftest.$ac_objext'
17355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17356 (eval $ac_try) 2>&5
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); }; }; then
17362 cat >conftest.
$ac_ext <<_ACEOF
17365 cat confdefs.h
>>conftest.
$ac_ext
17366 cat >>conftest.
$ac_ext <<_ACEOF
17367 /* end confdefs.h. */
17368 $ac_includes_default
17372 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17379 rm -f conftest.
$ac_objext
17380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17381 (eval $ac_compile) 2>conftest.er1
17383 grep -v '^ *+' conftest.er1
>conftest.err
17385 cat conftest.err
>&5
17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387 (exit $ac_status); } &&
17388 { ac_try
='test -z "$ac_c_werror_flag"
17389 || test ! -s conftest.err'
17390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17391 (eval $ac_try) 2>&5
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); }; } &&
17395 { ac_try
='test -s conftest.$ac_objext'
17396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17397 (eval $ac_try) 2>&5
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); }; }; then
17401 ac_hi
=$ac_mid; break
17403 echo "$as_me: failed program was:" >&5
17404 sed 's/^/| /' conftest.
$ac_ext >&5
17406 ac_lo
=`expr $ac_mid + 1`
17407 if test $ac_lo -le $ac_mid; then
17411 ac_mid
=`expr 2 '*' $ac_mid + 1`
17413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17416 echo "$as_me: failed program was:" >&5
17417 sed 's/^/| /' conftest.
$ac_ext >&5
17419 cat >conftest.
$ac_ext <<_ACEOF
17422 cat confdefs.h
>>conftest.
$ac_ext
17423 cat >>conftest.
$ac_ext <<_ACEOF
17424 /* end confdefs.h. */
17425 $ac_includes_default
17429 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17436 rm -f conftest.
$ac_objext
17437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17438 (eval $ac_compile) 2>conftest.er1
17440 grep -v '^ *+' conftest.er1
>conftest.err
17442 cat conftest.err
>&5
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); } &&
17445 { ac_try
='test -z "$ac_c_werror_flag"
17446 || test ! -s conftest.err'
17447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17448 (eval $ac_try) 2>&5
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); }; } &&
17452 { ac_try
='test -s conftest.$ac_objext'
17453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17454 (eval $ac_try) 2>&5
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); }; }; then
17460 cat >conftest.
$ac_ext <<_ACEOF
17463 cat confdefs.h
>>conftest.
$ac_ext
17464 cat >>conftest.
$ac_ext <<_ACEOF
17465 /* end confdefs.h. */
17466 $ac_includes_default
17470 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17477 rm -f conftest.
$ac_objext
17478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17479 (eval $ac_compile) 2>conftest.er1
17481 grep -v '^ *+' conftest.er1
>conftest.err
17483 cat conftest.err
>&5
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); } &&
17486 { ac_try
='test -z "$ac_c_werror_flag"
17487 || test ! -s conftest.err'
17488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17489 (eval $ac_try) 2>&5
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); }; } &&
17493 { ac_try
='test -s conftest.$ac_objext'
17494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17495 (eval $ac_try) 2>&5
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); }; }; then
17499 ac_lo
=$ac_mid; break
17501 echo "$as_me: failed program was:" >&5
17502 sed 's/^/| /' conftest.
$ac_ext >&5
17504 ac_hi
=`expr '(' $ac_mid ')' - 1`
17505 if test $ac_mid -le $ac_hi; then
17509 ac_mid
=`expr 2 '*' $ac_mid`
17511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17514 echo "$as_me: failed program was:" >&5
17515 sed 's/^/| /' conftest.
$ac_ext >&5
17519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17521 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17522 # Binary search between lo and hi bounds.
17523 while test "x$ac_lo" != "x$ac_hi"; do
17524 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17525 cat >conftest.
$ac_ext <<_ACEOF
17528 cat confdefs.h
>>conftest.
$ac_ext
17529 cat >>conftest.
$ac_ext <<_ACEOF
17530 /* end confdefs.h. */
17531 $ac_includes_default
17535 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17542 rm -f conftest.
$ac_objext
17543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17544 (eval $ac_compile) 2>conftest.er1
17546 grep -v '^ *+' conftest.er1
>conftest.err
17548 cat conftest.err
>&5
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); } &&
17551 { ac_try
='test -z "$ac_c_werror_flag"
17552 || test ! -s conftest.err'
17553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17554 (eval $ac_try) 2>&5
17556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557 (exit $ac_status); }; } &&
17558 { ac_try
='test -s conftest.$ac_objext'
17559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17560 (eval $ac_try) 2>&5
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); }; }; then
17566 echo "$as_me: failed program was:" >&5
17567 sed 's/^/| /' conftest.
$ac_ext >&5
17569 ac_lo
=`expr '(' $ac_mid ')' + 1`
17571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17574 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17575 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17576 See \`config.log' for more details." >&5
17577 echo "$as_me: error: cannot compute sizeof (long long), 77
17578 See \`config.log' for more details." >&2;}
17579 { (exit 1); exit 1; }; } ;;
17582 if test "$cross_compiling" = yes; then
17583 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17584 See \`config.log' for more details." >&5
17585 echo "$as_me: error: cannot run test program while cross compiling
17586 See \`config.log' for more details." >&2;}
17587 { (exit 1); exit 1; }; }
17589 cat >conftest.
$ac_ext <<_ACEOF
17592 cat confdefs.h
>>conftest.
$ac_ext
17593 cat >>conftest.
$ac_ext <<_ACEOF
17594 /* end confdefs.h. */
17595 $ac_includes_default
17596 long longval () { return (long) (sizeof (long long)); }
17597 unsigned long ulongval () { return (long) (sizeof (long long)); }
17599 #include <stdlib.h>
17604 FILE *f = fopen ("conftest.val", "w");
17607 if (((long) (sizeof (long long))) < 0)
17609 long i = longval ();
17610 if (i != ((long) (sizeof (long long))))
17612 fprintf (f, "%ld\n", i);
17616 unsigned long i = ulongval ();
17617 if (i != ((long) (sizeof (long long))))
17619 fprintf (f, "%lu\n", i);
17621 exit (ferror (f) || fclose (f) != 0);
17627 rm -f conftest
$ac_exeext
17628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17629 (eval $ac_link) 2>&5
17631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17634 (eval $ac_try) 2>&5
17636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 (exit $ac_status); }; }; then
17638 ac_cv_sizeof_long_long
=`cat conftest.val`
17640 echo "$as_me: program exited with status $ac_status" >&5
17641 echo "$as_me: failed program was:" >&5
17642 sed 's/^/| /' conftest.
$ac_ext >&5
17644 ( exit $ac_status )
17645 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17646 See \`config.log' for more details." >&5
17647 echo "$as_me: error: cannot compute sizeof (long long), 77
17648 See \`config.log' for more details." >&2;}
17649 { (exit 1); exit 1; }; }
17651 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17656 ac_cv_sizeof_long_long
=0
17659 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17660 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17661 cat >>confdefs.h
<<_ACEOF
17662 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17668 echo "$as_me:$LINENO: checking for long long" >&5
17669 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17670 if test "${ac_cv_type_long_long+set}" = set; then
17671 echo $ECHO_N "(cached) $ECHO_C" >&6
17673 cat >conftest.
$ac_ext <<_ACEOF
17676 cat confdefs.h
>>conftest.
$ac_ext
17677 cat >>conftest.
$ac_ext <<_ACEOF
17678 /* end confdefs.h. */
17679 $ac_includes_default
17683 if ((long long *) 0)
17685 if (sizeof (long long))
17691 rm -f conftest.
$ac_objext
17692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17693 (eval $ac_compile) 2>conftest.er1
17695 grep -v '^ *+' conftest.er1
>conftest.err
17697 cat conftest.err
>&5
17698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17699 (exit $ac_status); } &&
17700 { ac_try
='test -z "$ac_c_werror_flag"
17701 || test ! -s conftest.err'
17702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17703 (eval $ac_try) 2>&5
17705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17706 (exit $ac_status); }; } &&
17707 { ac_try
='test -s conftest.$ac_objext'
17708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17709 (eval $ac_try) 2>&5
17711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17712 (exit $ac_status); }; }; then
17713 ac_cv_type_long_long
=yes
17715 echo "$as_me: failed program was:" >&5
17716 sed 's/^/| /' conftest.
$ac_ext >&5
17718 ac_cv_type_long_long
=no
17720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17722 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17723 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17725 echo "$as_me:$LINENO: checking size of long long" >&5
17726 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17727 if test "${ac_cv_sizeof_long_long+set}" = set; then
17728 echo $ECHO_N "(cached) $ECHO_C" >&6
17730 if test "$ac_cv_type_long_long" = yes; then
17731 # The cast to unsigned long works around a bug in the HP C Compiler
17732 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17733 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17734 # This bug is HP SR number 8606223364.
17735 if test "$cross_compiling" = yes; then
17736 # Depending upon the size, compute the lo and hi bounds.
17737 cat >conftest.
$ac_ext <<_ACEOF
17740 cat confdefs.h
>>conftest.
$ac_ext
17741 cat >>conftest.
$ac_ext <<_ACEOF
17742 /* end confdefs.h. */
17743 $ac_includes_default
17747 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17754 rm -f conftest.
$ac_objext
17755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17756 (eval $ac_compile) 2>conftest.er1
17758 grep -v '^ *+' conftest.er1
>conftest.err
17760 cat conftest.err
>&5
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); } &&
17763 { ac_try
='test -z "$ac_c_werror_flag"
17764 || test ! -s conftest.err'
17765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17766 (eval $ac_try) 2>&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); }; } &&
17770 { ac_try
='test -s conftest.$ac_objext'
17771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17772 (eval $ac_try) 2>&5
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); }; }; then
17778 cat >conftest.
$ac_ext <<_ACEOF
17781 cat confdefs.h
>>conftest.
$ac_ext
17782 cat >>conftest.
$ac_ext <<_ACEOF
17783 /* end confdefs.h. */
17784 $ac_includes_default
17788 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17795 rm -f conftest.
$ac_objext
17796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17797 (eval $ac_compile) 2>conftest.er1
17799 grep -v '^ *+' conftest.er1
>conftest.err
17801 cat conftest.err
>&5
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); } &&
17804 { ac_try
='test -z "$ac_c_werror_flag"
17805 || test ! -s conftest.err'
17806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17807 (eval $ac_try) 2>&5
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); }; } &&
17811 { ac_try
='test -s conftest.$ac_objext'
17812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17813 (eval $ac_try) 2>&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); }; }; then
17817 ac_hi
=$ac_mid; break
17819 echo "$as_me: failed program was:" >&5
17820 sed 's/^/| /' conftest.
$ac_ext >&5
17822 ac_lo
=`expr $ac_mid + 1`
17823 if test $ac_lo -le $ac_mid; then
17827 ac_mid
=`expr 2 '*' $ac_mid + 1`
17829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17832 echo "$as_me: failed program was:" >&5
17833 sed 's/^/| /' conftest.
$ac_ext >&5
17835 cat >conftest.
$ac_ext <<_ACEOF
17838 cat confdefs.h
>>conftest.
$ac_ext
17839 cat >>conftest.
$ac_ext <<_ACEOF
17840 /* end confdefs.h. */
17841 $ac_includes_default
17845 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17852 rm -f conftest.
$ac_objext
17853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17854 (eval $ac_compile) 2>conftest.er1
17856 grep -v '^ *+' conftest.er1
>conftest.err
17858 cat conftest.err
>&5
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); } &&
17861 { ac_try
='test -z "$ac_c_werror_flag"
17862 || test ! -s conftest.err'
17863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864 (eval $ac_try) 2>&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); }; } &&
17868 { ac_try
='test -s conftest.$ac_objext'
17869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17870 (eval $ac_try) 2>&5
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); }; }; then
17876 cat >conftest.
$ac_ext <<_ACEOF
17879 cat confdefs.h
>>conftest.
$ac_ext
17880 cat >>conftest.
$ac_ext <<_ACEOF
17881 /* end confdefs.h. */
17882 $ac_includes_default
17886 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17893 rm -f conftest.
$ac_objext
17894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17895 (eval $ac_compile) 2>conftest.er1
17897 grep -v '^ *+' conftest.er1
>conftest.err
17899 cat conftest.err
>&5
17900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17901 (exit $ac_status); } &&
17902 { ac_try
='test -z "$ac_c_werror_flag"
17903 || test ! -s conftest.err'
17904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17905 (eval $ac_try) 2>&5
17907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17908 (exit $ac_status); }; } &&
17909 { ac_try
='test -s conftest.$ac_objext'
17910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17911 (eval $ac_try) 2>&5
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); }; }; then
17915 ac_lo
=$ac_mid; break
17917 echo "$as_me: failed program was:" >&5
17918 sed 's/^/| /' conftest.
$ac_ext >&5
17920 ac_hi
=`expr '(' $ac_mid ')' - 1`
17921 if test $ac_mid -le $ac_hi; then
17925 ac_mid
=`expr 2 '*' $ac_mid`
17927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17930 echo "$as_me: failed program was:" >&5
17931 sed 's/^/| /' conftest.
$ac_ext >&5
17935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17938 # Binary search between lo and hi bounds.
17939 while test "x$ac_lo" != "x$ac_hi"; do
17940 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17941 cat >conftest.
$ac_ext <<_ACEOF
17944 cat confdefs.h
>>conftest.
$ac_ext
17945 cat >>conftest.
$ac_ext <<_ACEOF
17946 /* end confdefs.h. */
17947 $ac_includes_default
17951 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17958 rm -f conftest.
$ac_objext
17959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17960 (eval $ac_compile) 2>conftest.er1
17962 grep -v '^ *+' conftest.er1
>conftest.err
17964 cat conftest.err
>&5
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); } &&
17967 { ac_try
='test -z "$ac_c_werror_flag"
17968 || test ! -s conftest.err'
17969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17970 (eval $ac_try) 2>&5
17972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17973 (exit $ac_status); }; } &&
17974 { ac_try
='test -s conftest.$ac_objext'
17975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17976 (eval $ac_try) 2>&5
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); }; }; then
17982 echo "$as_me: failed program was:" >&5
17983 sed 's/^/| /' conftest.
$ac_ext >&5
17985 ac_lo
=`expr '(' $ac_mid ')' + 1`
17987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17990 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17991 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17992 See \`config.log' for more details." >&5
17993 echo "$as_me: error: cannot compute sizeof (long long), 77
17994 See \`config.log' for more details." >&2;}
17995 { (exit 1); exit 1; }; } ;;
17998 if test "$cross_compiling" = yes; then
17999 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18000 See \`config.log' for more details." >&5
18001 echo "$as_me: error: cannot run test program while cross compiling
18002 See \`config.log' for more details." >&2;}
18003 { (exit 1); exit 1; }; }
18005 cat >conftest.
$ac_ext <<_ACEOF
18008 cat confdefs.h
>>conftest.
$ac_ext
18009 cat >>conftest.
$ac_ext <<_ACEOF
18010 /* end confdefs.h. */
18011 $ac_includes_default
18012 long longval () { return (long) (sizeof (long long)); }
18013 unsigned long ulongval () { return (long) (sizeof (long long)); }
18015 #include <stdlib.h>
18020 FILE *f = fopen ("conftest.val", "w");
18023 if (((long) (sizeof (long long))) < 0)
18025 long i = longval ();
18026 if (i != ((long) (sizeof (long long))))
18028 fprintf (f, "%ld\n", i);
18032 unsigned long i = ulongval ();
18033 if (i != ((long) (sizeof (long long))))
18035 fprintf (f, "%lu\n", i);
18037 exit (ferror (f) || fclose (f) != 0);
18043 rm -f conftest
$ac_exeext
18044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18045 (eval $ac_link) 2>&5
18047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18050 (eval $ac_try) 2>&5
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); }; }; then
18054 ac_cv_sizeof_long_long
=`cat conftest.val`
18056 echo "$as_me: program exited with status $ac_status" >&5
18057 echo "$as_me: failed program was:" >&5
18058 sed 's/^/| /' conftest.
$ac_ext >&5
18060 ( exit $ac_status )
18061 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18062 See \`config.log' for more details." >&5
18063 echo "$as_me: error: cannot compute sizeof (long long), 77
18064 See \`config.log' for more details." >&2;}
18065 { (exit 1); exit 1; }; }
18067 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18072 ac_cv_sizeof_long_long
=0
18075 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18076 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18077 cat >>confdefs.h
<<_ACEOF
18078 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18082 if test "$ac_cv_sizeof_long_long" != "0"; then
18083 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
18087 echo "$as_me:$LINENO: checking for long long" >&5
18088 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18089 if test "${ac_cv_type_long_long+set}" = set; then
18090 echo $ECHO_N "(cached) $ECHO_C" >&6
18092 cat >conftest.
$ac_ext <<_ACEOF
18095 cat confdefs.h
>>conftest.
$ac_ext
18096 cat >>conftest.
$ac_ext <<_ACEOF
18097 /* end confdefs.h. */
18098 $ac_includes_default
18102 if ((long long *) 0)
18104 if (sizeof (long long))
18110 rm -f conftest.
$ac_objext
18111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18112 (eval $ac_compile) 2>conftest.er1
18114 grep -v '^ *+' conftest.er1
>conftest.err
18116 cat conftest.err
>&5
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); } &&
18119 { ac_try
='test -z "$ac_c_werror_flag"
18120 || test ! -s conftest.err'
18121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18122 (eval $ac_try) 2>&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); }; } &&
18126 { ac_try
='test -s conftest.$ac_objext'
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 ac_cv_type_long_long
=yes
18134 echo "$as_me: failed program was:" >&5
18135 sed 's/^/| /' conftest.
$ac_ext >&5
18137 ac_cv_type_long_long
=no
18139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18141 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18142 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18144 echo "$as_me:$LINENO: checking size of long long" >&5
18145 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18146 if test "${ac_cv_sizeof_long_long+set}" = set; then
18147 echo $ECHO_N "(cached) $ECHO_C" >&6
18149 if test "$ac_cv_type_long_long" = yes; then
18150 # The cast to unsigned long works around a bug in the HP C Compiler
18151 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18152 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18153 # This bug is HP SR number 8606223364.
18154 if test "$cross_compiling" = yes; then
18155 # Depending upon the size, compute the lo and hi bounds.
18156 cat >conftest.
$ac_ext <<_ACEOF
18159 cat confdefs.h
>>conftest.
$ac_ext
18160 cat >>conftest.
$ac_ext <<_ACEOF
18161 /* end confdefs.h. */
18162 $ac_includes_default
18166 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18173 rm -f conftest.
$ac_objext
18174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18175 (eval $ac_compile) 2>conftest.er1
18177 grep -v '^ *+' conftest.er1
>conftest.err
18179 cat conftest.err
>&5
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); } &&
18182 { ac_try
='test -z "$ac_c_werror_flag"
18183 || test ! -s conftest.err'
18184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18185 (eval $ac_try) 2>&5
18187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188 (exit $ac_status); }; } &&
18189 { ac_try
='test -s conftest.$ac_objext'
18190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18191 (eval $ac_try) 2>&5
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); }; }; then
18197 cat >conftest.
$ac_ext <<_ACEOF
18200 cat confdefs.h
>>conftest.
$ac_ext
18201 cat >>conftest.
$ac_ext <<_ACEOF
18202 /* end confdefs.h. */
18203 $ac_includes_default
18207 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18214 rm -f conftest.
$ac_objext
18215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18216 (eval $ac_compile) 2>conftest.er1
18218 grep -v '^ *+' conftest.er1
>conftest.err
18220 cat conftest.err
>&5
18221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222 (exit $ac_status); } &&
18223 { ac_try
='test -z "$ac_c_werror_flag"
18224 || test ! -s conftest.err'
18225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18226 (eval $ac_try) 2>&5
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); }; } &&
18230 { ac_try
='test -s conftest.$ac_objext'
18231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18232 (eval $ac_try) 2>&5
18234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18235 (exit $ac_status); }; }; then
18236 ac_hi
=$ac_mid; break
18238 echo "$as_me: failed program was:" >&5
18239 sed 's/^/| /' conftest.
$ac_ext >&5
18241 ac_lo
=`expr $ac_mid + 1`
18242 if test $ac_lo -le $ac_mid; then
18246 ac_mid
=`expr 2 '*' $ac_mid + 1`
18248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18251 echo "$as_me: failed program was:" >&5
18252 sed 's/^/| /' conftest.
$ac_ext >&5
18254 cat >conftest.
$ac_ext <<_ACEOF
18257 cat confdefs.h
>>conftest.
$ac_ext
18258 cat >>conftest.
$ac_ext <<_ACEOF
18259 /* end confdefs.h. */
18260 $ac_includes_default
18264 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18271 rm -f conftest.
$ac_objext
18272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18273 (eval $ac_compile) 2>conftest.er1
18275 grep -v '^ *+' conftest.er1
>conftest.err
18277 cat conftest.err
>&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); } &&
18280 { ac_try
='test -z "$ac_c_werror_flag"
18281 || test ! -s conftest.err'
18282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18283 (eval $ac_try) 2>&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); }; } &&
18287 { ac_try
='test -s conftest.$ac_objext'
18288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289 (eval $ac_try) 2>&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }; }; then
18295 cat >conftest.
$ac_ext <<_ACEOF
18298 cat confdefs.h
>>conftest.
$ac_ext
18299 cat >>conftest.
$ac_ext <<_ACEOF
18300 /* end confdefs.h. */
18301 $ac_includes_default
18305 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18312 rm -f conftest.
$ac_objext
18313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18314 (eval $ac_compile) 2>conftest.er1
18316 grep -v '^ *+' conftest.er1
>conftest.err
18318 cat conftest.err
>&5
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); } &&
18321 { ac_try
='test -z "$ac_c_werror_flag"
18322 || test ! -s conftest.err'
18323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18324 (eval $ac_try) 2>&5
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); }; } &&
18328 { ac_try
='test -s conftest.$ac_objext'
18329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18330 (eval $ac_try) 2>&5
18332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333 (exit $ac_status); }; }; then
18334 ac_lo
=$ac_mid; break
18336 echo "$as_me: failed program was:" >&5
18337 sed 's/^/| /' conftest.
$ac_ext >&5
18339 ac_hi
=`expr '(' $ac_mid ')' - 1`
18340 if test $ac_mid -le $ac_hi; then
18344 ac_mid
=`expr 2 '*' $ac_mid`
18346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18349 echo "$as_me: failed program was:" >&5
18350 sed 's/^/| /' conftest.
$ac_ext >&5
18354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18357 # Binary search between lo and hi bounds.
18358 while test "x$ac_lo" != "x$ac_hi"; do
18359 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18360 cat >conftest.
$ac_ext <<_ACEOF
18363 cat confdefs.h
>>conftest.
$ac_ext
18364 cat >>conftest.
$ac_ext <<_ACEOF
18365 /* end confdefs.h. */
18366 $ac_includes_default
18370 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18377 rm -f conftest.
$ac_objext
18378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18379 (eval $ac_compile) 2>conftest.er1
18381 grep -v '^ *+' conftest.er1
>conftest.err
18383 cat conftest.err
>&5
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); } &&
18386 { ac_try
='test -z "$ac_c_werror_flag"
18387 || test ! -s conftest.err'
18388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18389 (eval $ac_try) 2>&5
18391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392 (exit $ac_status); }; } &&
18393 { ac_try
='test -s conftest.$ac_objext'
18394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18395 (eval $ac_try) 2>&5
18397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18398 (exit $ac_status); }; }; then
18401 echo "$as_me: failed program was:" >&5
18402 sed 's/^/| /' conftest.
$ac_ext >&5
18404 ac_lo
=`expr '(' $ac_mid ')' + 1`
18406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18409 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18410 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18411 See \`config.log' for more details." >&5
18412 echo "$as_me: error: cannot compute sizeof (long long), 77
18413 See \`config.log' for more details." >&2;}
18414 { (exit 1); exit 1; }; } ;;
18417 if test "$cross_compiling" = yes; then
18418 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18419 See \`config.log' for more details." >&5
18420 echo "$as_me: error: cannot run test program while cross compiling
18421 See \`config.log' for more details." >&2;}
18422 { (exit 1); exit 1; }; }
18424 cat >conftest.
$ac_ext <<_ACEOF
18427 cat confdefs.h
>>conftest.
$ac_ext
18428 cat >>conftest.
$ac_ext <<_ACEOF
18429 /* end confdefs.h. */
18430 $ac_includes_default
18431 long longval () { return (long) (sizeof (long long)); }
18432 unsigned long ulongval () { return (long) (sizeof (long long)); }
18434 #include <stdlib.h>
18439 FILE *f = fopen ("conftest.val", "w");
18442 if (((long) (sizeof (long long))) < 0)
18444 long i = longval ();
18445 if (i != ((long) (sizeof (long long))))
18447 fprintf (f, "%ld\n", i);
18451 unsigned long i = ulongval ();
18452 if (i != ((long) (sizeof (long long))))
18454 fprintf (f, "%lu\n", i);
18456 exit (ferror (f) || fclose (f) != 0);
18462 rm -f conftest
$ac_exeext
18463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18464 (eval $ac_link) 2>&5
18466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18467 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18469 (eval $ac_try) 2>&5
18471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18472 (exit $ac_status); }; }; then
18473 ac_cv_sizeof_long_long
=`cat conftest.val`
18475 echo "$as_me: program exited with status $ac_status" >&5
18476 echo "$as_me: failed program was:" >&5
18477 sed 's/^/| /' conftest.
$ac_ext >&5
18479 ( exit $ac_status )
18480 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18481 See \`config.log' for more details." >&5
18482 echo "$as_me: error: cannot compute sizeof (long long), 77
18483 See \`config.log' for more details." >&2;}
18484 { (exit 1); exit 1; }; }
18486 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18491 ac_cv_sizeof_long_long
=0
18494 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18495 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18496 cat >>confdefs.h
<<_ACEOF
18497 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18503 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18504 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18505 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18506 echo $ECHO_N "(cached) $ECHO_C" >&6
18509 if test "$cross_compiling" = yes; then
18513 wx_cv_sizeof_wchar_t
=0
18516 wx_cv_sizeof_wchar_t
=4
18522 cat >conftest.
$ac_ext <<_ACEOF
18525 cat confdefs.h
>>conftest.
$ac_ext
18526 cat >>conftest.
$ac_ext <<_ACEOF
18527 /* end confdefs.h. */
18529 /* DJGPP only has fake wchar_t: */
18531 # error "fake wchar_t"
18533 #ifdef HAVE_WCHAR_H
18535 # include <stddef.h>
18537 # include <wchar.h>
18539 #ifdef HAVE_STDLIB_H
18540 # include <stdlib.h>
18545 FILE *f=fopen("conftestval", "w");
18547 fprintf(f, "%i", sizeof(wchar_t));
18552 rm -f conftest
$ac_exeext
18553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18554 (eval $ac_link) 2>&5
18556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18557 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18559 (eval $ac_try) 2>&5
18561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18562 (exit $ac_status); }; }; then
18563 wx_cv_sizeof_wchar_t
=`cat conftestval`
18565 echo "$as_me: program exited with status $ac_status" >&5
18566 echo "$as_me: failed program was:" >&5
18567 sed 's/^/| /' conftest.
$ac_ext >&5
18569 ( exit $ac_status )
18570 wx_cv_sizeof_wchar_t
=0
18572 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18576 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18577 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18579 cat >>confdefs.h
<<_ACEOF
18580 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18584 echo "$as_me:$LINENO: checking for va_copy" >&5
18585 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18586 if test "${wx_cv_func_va_copy+set}" = set; then
18587 echo $ECHO_N "(cached) $ECHO_C" >&6
18590 cat >conftest.
$ac_ext <<_ACEOF
18592 #include <stdarg.h>
18593 void foo(char *f, ...)
18607 rm -f conftest.
$ac_objext conftest
$ac_exeext
18608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18609 (eval $ac_link) 2>conftest.er1
18611 grep -v '^ *+' conftest.er1
>conftest.err
18613 cat conftest.err
>&5
18614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18615 (exit $ac_status); } &&
18616 { ac_try
='test -z "$ac_c_werror_flag"
18617 || test ! -s conftest.err'
18618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18619 (eval $ac_try) 2>&5
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); }; } &&
18623 { ac_try
='test -s conftest$ac_exeext'
18624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18625 (eval $ac_try) 2>&5
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); }; }; then
18629 wx_cv_func_va_copy
=yes
18631 echo "$as_me: failed program was:" >&5
18632 sed 's/^/| /' conftest.
$ac_ext >&5
18634 wx_cv_func_va_copy
=no
18637 rm -f conftest.err conftest.
$ac_objext \
18638 conftest
$ac_exeext conftest.
$ac_ext
18642 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18643 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18645 if test $wx_cv_func_va_copy = "yes"; then
18646 cat >>confdefs.h
<<\_ACEOF
18647 #define HAVE_VA_COPY 1
18651 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18652 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18653 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18654 echo $ECHO_N "(cached) $ECHO_C" >&6
18657 if test "$cross_compiling" = yes; then
18658 wx_cv_type_va_list_lvalue
=yes
18661 cat >conftest.
$ac_ext <<_ACEOF
18663 #include <stdarg.h>
18664 int foo(char *f, ...)
18669 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18677 return foo("hi", 17);
18680 rm -f conftest
$ac_exeext
18681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18682 (eval $ac_link) 2>&5
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18687 (eval $ac_try) 2>&5
18689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18690 (exit $ac_status); }; }; then
18691 wx_cv_type_va_list_lvalue
=yes
18693 echo "$as_me: program exited with status $ac_status" >&5
18694 echo "$as_me: failed program was:" >&5
18695 sed 's/^/| /' conftest.
$ac_ext >&5
18697 ( exit $ac_status )
18698 wx_cv_type_va_list_lvalue
=no
18700 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18705 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18706 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18708 if test $wx_cv_type_va_list_lvalue != "yes"; then
18709 cat >>confdefs.h
<<\_ACEOF
18710 #define VA_LIST_IS_ARRAY 1
18716 # Check whether --enable-largefile or --disable-largefile was given.
18717 if test "${enable_largefile+set}" = set; then
18718 enableval
="$enable_largefile"
18721 if test "$enable_largefile" != no
; then
18724 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18725 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18726 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18727 echo $ECHO_N "(cached) $ECHO_C" >&6
18730 cat >conftest.
$ac_ext <<_ACEOF
18733 cat confdefs.h
>>conftest.
$ac_ext
18734 cat >>conftest.
$ac_ext <<_ACEOF
18735 /* end confdefs.h. */
18736 #define _FILE_OFFSET_BITS 64
18737 #include <sys/types.h>
18742 unsigned int field: sizeof(off_t) == 8;
18749 rm -f conftest.
$ac_objext
18750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18751 (eval $ac_compile) 2>conftest.er1
18753 grep -v '^ *+' conftest.er1
>conftest.err
18755 cat conftest.err
>&5
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); } &&
18758 { ac_try
='test -z "$ac_c_werror_flag"
18759 || test ! -s conftest.err'
18760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18761 (eval $ac_try) 2>&5
18763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764 (exit $ac_status); }; } &&
18765 { ac_try
='test -s conftest.$ac_objext'
18766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18767 (eval $ac_try) 2>&5
18769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18770 (exit $ac_status); }; }; then
18771 ac_cv_sys_file_offset_bits
=64
18773 echo "$as_me: failed program was:" >&5
18774 sed 's/^/| /' conftest.
$ac_ext >&5
18776 ac_cv_sys_file_offset_bits
=no
18778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18782 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18783 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18785 if test "$ac_cv_sys_file_offset_bits" != no
; then
18787 cat >>confdefs.h
<<_ACEOF
18788 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18793 if test "x$wx_largefile" != "xyes"; then
18795 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18796 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18797 if test "${ac_cv_sys_large_files+set}" = set; then
18798 echo $ECHO_N "(cached) $ECHO_C" >&6
18801 cat >conftest.
$ac_ext <<_ACEOF
18804 cat confdefs.h
>>conftest.
$ac_ext
18805 cat >>conftest.
$ac_ext <<_ACEOF
18806 /* end confdefs.h. */
18807 #define _LARGE_FILES 1
18808 #include <sys/types.h>
18813 unsigned int field: sizeof(off_t) == 8;
18820 rm -f conftest.
$ac_objext
18821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18822 (eval $ac_compile) 2>conftest.er1
18824 grep -v '^ *+' conftest.er1
>conftest.err
18826 cat conftest.err
>&5
18827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18828 (exit $ac_status); } &&
18829 { ac_try
='test -z "$ac_c_werror_flag"
18830 || test ! -s conftest.err'
18831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18832 (eval $ac_try) 2>&5
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); }; } &&
18836 { ac_try
='test -s conftest.$ac_objext'
18837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18838 (eval $ac_try) 2>&5
18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); }; }; then
18842 ac_cv_sys_large_files
=1
18844 echo "$as_me: failed program was:" >&5
18845 sed 's/^/| /' conftest.
$ac_ext >&5
18847 ac_cv_sys_large_files
=no
18849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18853 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18854 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18856 if test "$ac_cv_sys_large_files" != no
; then
18858 cat >>confdefs.h
<<_ACEOF
18859 #define _LARGE_FILES $ac_cv_sys_large_files
18866 echo "$as_me:$LINENO: checking if large file support is available" >&5
18867 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18868 if test "x$wx_largefile" = "xyes"; then
18869 cat >>confdefs.h
<<\_ACEOF
18870 #define HAVE_LARGEFILE_SUPPORT 1
18874 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18875 echo "${ECHO_T}$wx_largefile" >&6
18879 if test "x$wx_largefile" = "xyes"; then
18880 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18881 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18883 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18885 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
18886 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
18887 if test "${ac_cv_sys_largefile_source+set}" = set; then
18888 echo $ECHO_N "(cached) $ECHO_C" >&6
18891 ac_cv_sys_largefile_source
=no
18892 cat >conftest.
$ac_ext <<_ACEOF
18895 cat confdefs.h
>>conftest.
$ac_ext
18896 cat >>conftest.
$ac_ext <<_ACEOF
18897 /* end confdefs.h. */
18907 rm -f conftest.
$ac_objext
18908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18909 (eval $ac_compile) 2>conftest.er1
18911 grep -v '^ *+' conftest.er1
>conftest.err
18913 cat conftest.err
>&5
18914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18915 (exit $ac_status); } &&
18916 { ac_try
='test -z "$ac_c_werror_flag"
18917 || test ! -s conftest.err'
18918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18919 (eval $ac_try) 2>&5
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); }; } &&
18923 { ac_try
='test -s conftest.$ac_objext'
18924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18925 (eval $ac_try) 2>&5
18927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18928 (exit $ac_status); }; }; then
18931 echo "$as_me: failed program was:" >&5
18932 sed 's/^/| /' conftest.
$ac_ext >&5
18935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18936 cat >conftest.
$ac_ext <<_ACEOF
18939 cat confdefs.h
>>conftest.
$ac_ext
18940 cat >>conftest.
$ac_ext <<_ACEOF
18941 /* end confdefs.h. */
18942 #define _LARGEFILE_SOURCE 1
18952 rm -f conftest.
$ac_objext
18953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18954 (eval $ac_compile) 2>conftest.er1
18956 grep -v '^ *+' conftest.er1
>conftest.err
18958 cat conftest.err
>&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); } &&
18961 { ac_try
='test -z "$ac_c_werror_flag"
18962 || test ! -s conftest.err'
18963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18964 (eval $ac_try) 2>&5
18966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18967 (exit $ac_status); }; } &&
18968 { ac_try
='test -s conftest.$ac_objext'
18969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18970 (eval $ac_try) 2>&5
18972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18973 (exit $ac_status); }; }; then
18974 ac_cv_sys_largefile_source
=1; break
18976 echo "$as_me: failed program was:" >&5
18977 sed 's/^/| /' conftest.
$ac_ext >&5
18980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18984 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
18985 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
18986 if test "$ac_cv_sys_largefile_source" != no
; then
18988 cat >>confdefs.h
<<_ACEOF
18989 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
18995 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
18996 # in glibc 2.1.3, but that breaks too many other things.
18997 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
18998 echo "$as_me:$LINENO: checking for fseeko" >&5
18999 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
19000 if test "${ac_cv_func_fseeko+set}" = set; then
19001 echo $ECHO_N "(cached) $ECHO_C" >&6
19003 cat >conftest.
$ac_ext <<_ACEOF
19006 cat confdefs.h
>>conftest.
$ac_ext
19007 cat >>conftest.
$ac_ext <<_ACEOF
19008 /* end confdefs.h. */
19013 return fseeko && fseeko (stdin, 0, 0);
19018 rm -f conftest.
$ac_objext conftest
$ac_exeext
19019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19020 (eval $ac_link) 2>conftest.er1
19022 grep -v '^ *+' conftest.er1
>conftest.err
19024 cat conftest.err
>&5
19025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026 (exit $ac_status); } &&
19027 { ac_try
='test -z "$ac_c_werror_flag"
19028 || test ! -s conftest.err'
19029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19030 (eval $ac_try) 2>&5
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); }; } &&
19034 { ac_try
='test -s conftest$ac_exeext'
19035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19036 (eval $ac_try) 2>&5
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); }; }; then
19040 ac_cv_func_fseeko
=yes
19042 echo "$as_me: failed program was:" >&5
19043 sed 's/^/| /' conftest.
$ac_ext >&5
19045 ac_cv_func_fseeko
=no
19047 rm -f conftest.err conftest.
$ac_objext \
19048 conftest
$ac_exeext conftest.
$ac_ext
19050 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
19051 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
19052 if test $ac_cv_func_fseeko = yes; then
19054 cat >>confdefs.h
<<\_ACEOF
19055 #define HAVE_FSEEKO 1
19060 if test "$ac_cv_sys_largefile_source" != no
; then
19061 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
19063 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
19066 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
19067 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
19068 if test "${ac_cv_c_bigendian+set}" = set; then
19069 echo $ECHO_N "(cached) $ECHO_C" >&6
19071 ac_cv_c_bigendian
=unknown
19072 # See if sys/param.h defines the BYTE_ORDER macro.
19073 cat >conftest.
$ac_ext <<_ACEOF
19076 cat confdefs.h
>>conftest.
$ac_ext
19077 cat >>conftest.
$ac_ext <<_ACEOF
19078 /* end confdefs.h. */
19079 #include <sys/types.h>
19080 #include <sys/param.h>
19085 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
19086 bogus endian macros
19092 rm -f conftest.
$ac_objext
19093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19094 (eval $ac_compile) 2>conftest.er1
19096 grep -v '^ *+' conftest.er1
>conftest.err
19098 cat conftest.err
>&5
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); } &&
19101 { ac_try
='test -z "$ac_c_werror_flag"
19102 || test ! -s conftest.err'
19103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19104 (eval $ac_try) 2>&5
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); }; } &&
19108 { ac_try
='test -s conftest.$ac_objext'
19109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19110 (eval $ac_try) 2>&5
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); }; }; then
19114 # It does; now see whether it defined to BIG_ENDIAN or not.
19115 cat >conftest.
$ac_ext <<_ACEOF
19118 cat confdefs.h
>>conftest.
$ac_ext
19119 cat >>conftest.
$ac_ext <<_ACEOF
19120 /* end confdefs.h. */
19121 #include <sys/types.h>
19122 #include <sys/param.h>
19127 #if BYTE_ORDER != BIG_ENDIAN
19134 rm -f conftest.
$ac_objext
19135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19136 (eval $ac_compile) 2>conftest.er1
19138 grep -v '^ *+' conftest.er1
>conftest.err
19140 cat conftest.err
>&5
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); } &&
19143 { ac_try
='test -z "$ac_c_werror_flag"
19144 || test ! -s conftest.err'
19145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19146 (eval $ac_try) 2>&5
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); }; } &&
19150 { ac_try
='test -s conftest.$ac_objext'
19151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19152 (eval $ac_try) 2>&5
19154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19155 (exit $ac_status); }; }; then
19156 ac_cv_c_bigendian
=yes
19158 echo "$as_me: failed program was:" >&5
19159 sed 's/^/| /' conftest.
$ac_ext >&5
19161 ac_cv_c_bigendian
=no
19163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19165 echo "$as_me: failed program was:" >&5
19166 sed 's/^/| /' conftest.
$ac_ext >&5
19169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19170 if test $ac_cv_c_bigendian = unknown
; then
19171 if test "$cross_compiling" = yes; then
19172 ac_cv_c_bigendian
=unknown
19174 cat >conftest.
$ac_ext <<_ACEOF
19177 cat confdefs.h
>>conftest.
$ac_ext
19178 cat >>conftest.
$ac_ext <<_ACEOF
19179 /* end confdefs.h. */
19181 /* Are we little or big endian? From Harbison&Steele. */
19185 char c[sizeof (long)];
19188 exit (u.c[sizeof (long) - 1] == 1);
19191 rm -f conftest
$ac_exeext
19192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19193 (eval $ac_link) 2>&5
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19198 (eval $ac_try) 2>&5
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); }; }; then
19202 ac_cv_c_bigendian
=no
19204 echo "$as_me: program exited with status $ac_status" >&5
19205 echo "$as_me: failed program was:" >&5
19206 sed 's/^/| /' conftest.
$ac_ext >&5
19208 ( exit $ac_status )
19209 ac_cv_c_bigendian
=yes
19211 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19215 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
19216 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
19217 if test $ac_cv_c_bigendian = unknown
; then
19218 { 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
19219 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;}
19221 if test $ac_cv_c_bigendian = yes; then
19222 cat >>confdefs.h
<<\_ACEOF
19223 #define WORDS_BIGENDIAN 1
19230 ac_cpp
='$CXXCPP $CPPFLAGS'
19231 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19232 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19233 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19234 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
19235 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
19236 if test -z "$CXXCPP"; then
19237 if test "${ac_cv_prog_CXXCPP+set}" = set; then
19238 echo $ECHO_N "(cached) $ECHO_C" >&6
19240 # Double quotes because CXXCPP needs to be expanded
19241 for CXXCPP
in "$CXX -E" "/lib/cpp"
19243 ac_preproc_ok
=false
19244 for ac_cxx_preproc_warn_flag
in '' yes
19246 # Use a header file that comes with gcc, so configuring glibc
19247 # with a fresh cross-compiler works.
19248 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19249 # <limits.h> exists even on freestanding compilers.
19250 # On the NeXT, cc -E runs the code through the compiler's parser,
19251 # not just through cpp. "Syntax error" is here to catch this case.
19252 cat >conftest.
$ac_ext <<_ACEOF
19255 cat confdefs.h
>>conftest.
$ac_ext
19256 cat >>conftest.
$ac_ext <<_ACEOF
19257 /* end confdefs.h. */
19259 # include <limits.h>
19261 # include <assert.h>
19265 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19266 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19268 grep -v '^ *+' conftest.er1
>conftest.err
19270 cat conftest.err
>&5
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); } >/dev
/null
; then
19273 if test -s conftest.err
; then
19274 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19275 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19282 if test -z "$ac_cpp_err"; then
19285 echo "$as_me: failed program was:" >&5
19286 sed 's/^/| /' conftest.
$ac_ext >&5
19288 # Broken: fails on valid input.
19291 rm -f conftest.err conftest.
$ac_ext
19293 # OK, works on sane cases. Now check whether non-existent headers
19294 # can be detected and how.
19295 cat >conftest.
$ac_ext <<_ACEOF
19298 cat confdefs.h
>>conftest.
$ac_ext
19299 cat >>conftest.
$ac_ext <<_ACEOF
19300 /* end confdefs.h. */
19301 #include <ac_nonexistent.h>
19303 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19304 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19306 grep -v '^ *+' conftest.er1
>conftest.err
19308 cat conftest.err
>&5
19309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19310 (exit $ac_status); } >/dev
/null
; then
19311 if test -s conftest.err
; then
19312 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19313 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19320 if test -z "$ac_cpp_err"; then
19321 # Broken: success on invalid input.
19324 echo "$as_me: failed program was:" >&5
19325 sed 's/^/| /' conftest.
$ac_ext >&5
19327 # Passes both tests.
19331 rm -f conftest.err conftest.
$ac_ext
19334 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19335 rm -f conftest.err conftest.
$ac_ext
19336 if $ac_preproc_ok; then
19341 ac_cv_prog_CXXCPP
=$CXXCPP
19344 CXXCPP
=$ac_cv_prog_CXXCPP
19346 ac_cv_prog_CXXCPP
=$CXXCPP
19348 echo "$as_me:$LINENO: result: $CXXCPP" >&5
19349 echo "${ECHO_T}$CXXCPP" >&6
19350 ac_preproc_ok
=false
19351 for ac_cxx_preproc_warn_flag
in '' yes
19353 # Use a header file that comes with gcc, so configuring glibc
19354 # with a fresh cross-compiler works.
19355 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19356 # <limits.h> exists even on freestanding compilers.
19357 # On the NeXT, cc -E runs the code through the compiler's parser,
19358 # not just through cpp. "Syntax error" is here to catch this case.
19359 cat >conftest.
$ac_ext <<_ACEOF
19362 cat confdefs.h
>>conftest.
$ac_ext
19363 cat >>conftest.
$ac_ext <<_ACEOF
19364 /* end confdefs.h. */
19366 # include <limits.h>
19368 # include <assert.h>
19372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19373 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19375 grep -v '^ *+' conftest.er1
>conftest.err
19377 cat conftest.err
>&5
19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19379 (exit $ac_status); } >/dev
/null
; then
19380 if test -s conftest.err
; then
19381 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19382 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19389 if test -z "$ac_cpp_err"; then
19392 echo "$as_me: failed program was:" >&5
19393 sed 's/^/| /' conftest.
$ac_ext >&5
19395 # Broken: fails on valid input.
19398 rm -f conftest.err conftest.
$ac_ext
19400 # OK, works on sane cases. Now check whether non-existent headers
19401 # can be detected and how.
19402 cat >conftest.
$ac_ext <<_ACEOF
19405 cat confdefs.h
>>conftest.
$ac_ext
19406 cat >>conftest.
$ac_ext <<_ACEOF
19407 /* end confdefs.h. */
19408 #include <ac_nonexistent.h>
19410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19411 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19413 grep -v '^ *+' conftest.er1
>conftest.err
19415 cat conftest.err
>&5
19416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19417 (exit $ac_status); } >/dev
/null
; then
19418 if test -s conftest.err
; then
19419 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19420 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19427 if test -z "$ac_cpp_err"; then
19428 # Broken: success on invalid input.
19431 echo "$as_me: failed program was:" >&5
19432 sed 's/^/| /' conftest.
$ac_ext >&5
19434 # Passes both tests.
19438 rm -f conftest.err conftest.
$ac_ext
19441 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19442 rm -f conftest.err conftest.
$ac_ext
19443 if $ac_preproc_ok; then
19446 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19447 See \`config.log' for more details." >&5
19448 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19449 See \`config.log' for more details." >&2;}
19450 { (exit 1); exit 1; }; }
19454 ac_cpp
='$CXXCPP $CPPFLAGS'
19455 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19456 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19457 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19464 ac_cpp
='$CXXCPP $CPPFLAGS'
19465 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19466 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19467 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19471 for ac_header
in iostream
19473 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19475 echo "$as_me:$LINENO: checking for $ac_header" >&5
19476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19478 echo $ECHO_N "(cached) $ECHO_C" >&6
19480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19481 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19483 # Is the header compilable?
19484 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19485 echo $ECHO_N "checking $ac_header 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 <$ac_header>
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 $ac_header presence" >&5
19530 echo $ECHO_N "checking $ac_header 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 <$ac_header>
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: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19572 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19573 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19574 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19575 ac_header_preproc
=yes
19578 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19579 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19580 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19581 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19582 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19583 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19584 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19585 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19587 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19588 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19589 echo "$as_me: WARNING: $ac_header: 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 $ac_header" >&5
19601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19603 echo $ECHO_N "(cached) $ECHO_C" >&6
19605 eval "$as_ac_Header=\$ac_header_preproc"
19607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19612 cat >>confdefs.h
<<_ACEOF
19613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19621 if test "$ac_cv_header_iostream" = "yes" ; then
19624 cat >>confdefs.h
<<\_ACEOF
19625 #define wxUSE_IOSTREAMH 1
19631 ac_cpp
='$CPP $CPPFLAGS'
19632 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19633 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19634 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19639 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19640 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19641 if test "${wx_cv_cpp_bool+set}" = set; then
19642 echo $ECHO_N "(cached) $ECHO_C" >&6
19648 ac_cpp
='$CXXCPP $CPPFLAGS'
19649 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19650 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19651 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19654 cat >conftest.
$ac_ext <<_ACEOF
19657 cat confdefs.h
>>conftest.
$ac_ext
19658 cat >>conftest.
$ac_ext <<_ACEOF
19659 /* end confdefs.h. */
19674 rm -f conftest.
$ac_objext
19675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19676 (eval $ac_compile) 2>conftest.er1
19678 grep -v '^ *+' conftest.er1
>conftest.err
19680 cat conftest.err
>&5
19681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682 (exit $ac_status); } &&
19683 { ac_try
='test -z "$ac_cxx_werror_flag"
19684 || test ! -s conftest.err'
19685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19686 (eval $ac_try) 2>&5
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); }; } &&
19690 { ac_try
='test -s conftest.$ac_objext'
19691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19692 (eval $ac_try) 2>&5
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); }; }; then
19700 echo "$as_me: failed program was:" >&5
19701 sed 's/^/| /' conftest.
$ac_ext >&5
19708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19711 ac_cpp
='$CPP $CPPFLAGS'
19712 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19713 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19714 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19718 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19719 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19721 if test "$wx_cv_cpp_bool" = "yes"; then
19722 cat >>confdefs.h
<<\_ACEOF
19723 #define HAVE_BOOL 1
19730 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19731 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19732 if test "${wx_cv_explicit+set}" = set; then
19733 echo $ECHO_N "(cached) $ECHO_C" >&6
19739 ac_cpp
='$CXXCPP $CPPFLAGS'
19740 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19741 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19742 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19745 cat >conftest.
$ac_ext <<_ACEOF
19748 cat confdefs.h
>>conftest.
$ac_ext
19749 cat >>conftest.
$ac_ext <<_ACEOF
19750 /* end confdefs.h. */
19752 class Foo { public: explicit Foo(int) {} };
19764 rm -f conftest.
$ac_objext
19765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19766 (eval $ac_compile) 2>conftest.er1
19768 grep -v '^ *+' conftest.er1
>conftest.err
19770 cat conftest.err
>&5
19771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772 (exit $ac_status); } &&
19773 { ac_try
='test -z "$ac_cxx_werror_flag"
19774 || test ! -s conftest.err'
19775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19776 (eval $ac_try) 2>&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); }; } &&
19780 { ac_try
='test -s conftest.$ac_objext'
19781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19782 (eval $ac_try) 2>&5
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); }; }; then
19787 cat >conftest.
$ac_ext <<_ACEOF
19790 cat confdefs.h
>>conftest.
$ac_ext
19791 cat >>conftest.
$ac_ext <<_ACEOF
19792 /* end confdefs.h. */
19794 class Foo { public: explicit Foo(int) {} };
19795 static void TakeFoo(const Foo& foo) { }
19808 rm -f conftest.
$ac_objext
19809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19810 (eval $ac_compile) 2>conftest.er1
19812 grep -v '^ *+' conftest.er1
>conftest.err
19814 cat conftest.err
>&5
19815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); } &&
19817 { ac_try
='test -z "$ac_cxx_werror_flag"
19818 || test ! -s conftest.err'
19819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19820 (eval $ac_try) 2>&5
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823 (exit $ac_status); }; } &&
19824 { ac_try
='test -s conftest.$ac_objext'
19825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19826 (eval $ac_try) 2>&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); }; }; then
19832 echo "$as_me: failed program was:" >&5
19833 sed 's/^/| /' conftest.
$ac_ext >&5
19838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19841 echo "$as_me: failed program was:" >&5
19842 sed 's/^/| /' conftest.
$ac_ext >&5
19847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19850 ac_cpp
='$CPP $CPPFLAGS'
19851 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19852 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19853 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19857 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19858 echo "${ECHO_T}$wx_cv_explicit" >&6
19860 if test "$wx_cv_explicit" = "yes"; then
19861 cat >>confdefs.h
<<\_ACEOF
19862 #define HAVE_EXPLICIT 1
19868 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19869 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19870 if test "${ac_cv_cxx_const_cast+set}" = set; then
19871 echo $ECHO_N "(cached) $ECHO_C" >&6
19876 ac_cpp
='$CXXCPP $CPPFLAGS'
19877 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19878 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19879 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19881 cat >conftest.
$ac_ext <<_ACEOF
19884 cat confdefs.h
>>conftest.
$ac_ext
19885 cat >>conftest.
$ac_ext <<_ACEOF
19886 /* end confdefs.h. */
19891 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19896 rm -f conftest.
$ac_objext
19897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19898 (eval $ac_compile) 2>conftest.er1
19900 grep -v '^ *+' conftest.er1
>conftest.err
19902 cat conftest.err
>&5
19903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19904 (exit $ac_status); } &&
19905 { ac_try
='test -z "$ac_cxx_werror_flag"
19906 || test ! -s conftest.err'
19907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19908 (eval $ac_try) 2>&5
19910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19911 (exit $ac_status); }; } &&
19912 { ac_try
='test -s conftest.$ac_objext'
19913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19914 (eval $ac_try) 2>&5
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); }; }; then
19918 ac_cv_cxx_const_cast
=yes
19920 echo "$as_me: failed program was:" >&5
19921 sed 's/^/| /' conftest.
$ac_ext >&5
19923 ac_cv_cxx_const_cast
=no
19925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19927 ac_cpp
='$CPP $CPPFLAGS'
19928 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19929 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19930 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19934 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19935 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19936 if test "$ac_cv_cxx_const_cast" = yes; then
19938 cat >>confdefs.h
<<\_ACEOF
19939 #define HAVE_CONST_CAST
19944 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19945 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19946 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19947 echo $ECHO_N "(cached) $ECHO_C" >&6
19952 ac_cpp
='$CXXCPP $CPPFLAGS'
19953 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19954 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19955 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19957 cat >conftest.
$ac_ext <<_ACEOF
19960 cat confdefs.h
>>conftest.
$ac_ext
19961 cat >>conftest.
$ac_ext <<_ACEOF
19962 /* end confdefs.h. */
19963 #include <typeinfo>
19964 class Base { public : Base () {} virtual void f () = 0;};
19965 class Derived : public Base { public : Derived () {} virtual void f () {} };
19966 class Unrelated { public : Unrelated () {} };
19967 int g (Unrelated&) { return 0; }
19972 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19977 rm -f conftest.
$ac_objext
19978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19979 (eval $ac_compile) 2>conftest.er1
19981 grep -v '^ *+' conftest.er1
>conftest.err
19983 cat conftest.err
>&5
19984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19985 (exit $ac_status); } &&
19986 { ac_try
='test -z "$ac_cxx_werror_flag"
19987 || test ! -s conftest.err'
19988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19989 (eval $ac_try) 2>&5
19991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19992 (exit $ac_status); }; } &&
19993 { ac_try
='test -s conftest.$ac_objext'
19994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19995 (eval $ac_try) 2>&5
19997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998 (exit $ac_status); }; }; then
19999 ac_cv_cxx_reinterpret_cast
=yes
20001 echo "$as_me: failed program was:" >&5
20002 sed 's/^/| /' conftest.
$ac_ext >&5
20004 ac_cv_cxx_reinterpret_cast
=no
20006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20008 ac_cpp
='$CPP $CPPFLAGS'
20009 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20010 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20011 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20015 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
20016 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
20017 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
20019 cat >>confdefs.h
<<\_ACEOF
20020 #define HAVE_REINTERPRET_CAST
20025 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
20026 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
20027 if test "${ac_cv_cxx_static_cast+set}" = set; then
20028 echo $ECHO_N "(cached) $ECHO_C" >&6
20033 ac_cpp
='$CXXCPP $CPPFLAGS'
20034 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20035 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20036 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20038 cat >conftest.
$ac_ext <<_ACEOF
20041 cat confdefs.h
>>conftest.
$ac_ext
20042 cat >>conftest.
$ac_ext <<_ACEOF
20043 /* end confdefs.h. */
20044 #include <typeinfo>
20045 class Base { public : Base () {} virtual void f () = 0; };
20046 class Derived : public Base { public : Derived () {} virtual void f () {} };
20047 int g (Derived&) { return 0; }
20052 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
20057 rm -f conftest.
$ac_objext
20058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20059 (eval $ac_compile) 2>conftest.er1
20061 grep -v '^ *+' conftest.er1
>conftest.err
20063 cat conftest.err
>&5
20064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20065 (exit $ac_status); } &&
20066 { ac_try
='test -z "$ac_cxx_werror_flag"
20067 || test ! -s conftest.err'
20068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20069 (eval $ac_try) 2>&5
20071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20072 (exit $ac_status); }; } &&
20073 { ac_try
='test -s conftest.$ac_objext'
20074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20075 (eval $ac_try) 2>&5
20077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20078 (exit $ac_status); }; }; then
20079 ac_cv_cxx_static_cast
=yes
20081 echo "$as_me: failed program was:" >&5
20082 sed 's/^/| /' conftest.
$ac_ext >&5
20084 ac_cv_cxx_static_cast
=no
20086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20088 ac_cpp
='$CPP $CPPFLAGS'
20089 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20090 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20091 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20095 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
20096 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
20097 if test "$ac_cv_cxx_static_cast" = yes; then
20099 cat >>confdefs.h
<<\_ACEOF
20100 #define HAVE_STATIC_CAST
20106 if test "$wxUSE_STL" = "yes"; then
20108 ac_cpp
='$CXXCPP $CPPFLAGS'
20109 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20110 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20111 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20114 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
20115 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
20116 cat >conftest.
$ac_ext <<_ACEOF
20119 cat confdefs.h
>>conftest.
$ac_ext
20120 cat >>conftest.
$ac_ext <<_ACEOF
20121 /* end confdefs.h. */
20123 #include <functional>
20124 #include <algorithm>
20130 std::vector<int> moo;
20131 std::list<int> foo;
20132 std::vector<int>::iterator it =
20133 std::find_if(moo.begin(), moo.end(),
20134 std::bind2nd(std::less<int>(), 3));
20139 rm -f conftest.
$ac_objext
20140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20141 (eval $ac_compile) 2>conftest.er1
20143 grep -v '^ *+' conftest.er1
>conftest.err
20145 cat conftest.err
>&5
20146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20147 (exit $ac_status); } &&
20148 { ac_try
='test -z "$ac_cxx_werror_flag"
20149 || test ! -s conftest.err'
20150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20151 (eval $ac_try) 2>&5
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); }; } &&
20155 { ac_try
='test -s conftest.$ac_objext'
20156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20157 (eval $ac_try) 2>&5
20159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160 (exit $ac_status); }; }; then
20161 echo "$as_me:$LINENO: result: yes" >&5
20162 echo "${ECHO_T}yes" >&6
20164 echo "$as_me: failed program was:" >&5
20165 sed 's/^/| /' conftest.
$ac_ext >&5
20167 echo "$as_me:$LINENO: result: no" >&5
20168 echo "${ECHO_T}no" >&6
20169 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
20170 echo "$as_me: error: Basic STL functionality missing" >&2;}
20171 { (exit 1); exit 1; }; }
20173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20175 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
20176 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
20177 cat >conftest.
$ac_ext <<_ACEOF
20180 cat confdefs.h
>>conftest.
$ac_ext
20181 cat >>conftest.
$ac_ext <<_ACEOF
20182 /* end confdefs.h. */
20192 rm -f conftest.
$ac_objext
20193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20194 (eval $ac_compile) 2>conftest.er1
20196 grep -v '^ *+' conftest.er1
>conftest.err
20198 cat conftest.err
>&5
20199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 (exit $ac_status); } &&
20201 { ac_try
='test -z "$ac_cxx_werror_flag"
20202 || test ! -s conftest.err'
20203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20204 (eval $ac_try) 2>&5
20206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207 (exit $ac_status); }; } &&
20208 { ac_try
='test -s conftest.$ac_objext'
20209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20210 (eval $ac_try) 2>&5
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); }; }; then
20214 echo "$as_me:$LINENO: result: yes" >&5
20215 echo "${ECHO_T}yes" >&6
20216 cat >>confdefs.h
<<\_ACEOF
20217 #define HAVE_STD_WSTRING 1
20221 echo "$as_me: failed program was:" >&5
20222 sed 's/^/| /' conftest.
$ac_ext >&5
20224 echo "$as_me:$LINENO: result: no" >&5
20225 echo "${ECHO_T}no" >&6
20227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20229 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
20230 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
20231 cat >conftest.
$ac_ext <<_ACEOF
20234 cat confdefs.h
>>conftest.
$ac_ext
20235 cat >>conftest.
$ac_ext <<_ACEOF
20236 /* end confdefs.h. */
20241 std::string foo, bar;
20243 foo.compare(1, 1, bar);
20244 foo.compare(1, 1, bar, 1, 1);
20246 foo.compare(1, 1, "");
20247 foo.compare(1, 1, "", 2);
20252 rm -f conftest.
$ac_objext
20253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20254 (eval $ac_compile) 2>conftest.er1
20256 grep -v '^ *+' conftest.er1
>conftest.err
20258 cat conftest.err
>&5
20259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20260 (exit $ac_status); } &&
20261 { ac_try
='test -z "$ac_cxx_werror_flag"
20262 || test ! -s conftest.err'
20263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20264 (eval $ac_try) 2>&5
20266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20267 (exit $ac_status); }; } &&
20268 { ac_try
='test -s conftest.$ac_objext'
20269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20270 (eval $ac_try) 2>&5
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); }; }; then
20274 echo "$as_me:$LINENO: result: yes" >&5
20275 echo "${ECHO_T}yes" >&6
20276 cat >>confdefs.h
<<\_ACEOF
20277 #define HAVE_STD_STRING_COMPARE 1
20281 echo "$as_me: failed program was:" >&5
20282 sed 's/^/| /' conftest.
$ac_ext >&5
20284 echo "$as_me:$LINENO: result: no" >&5
20285 echo "${ECHO_T}no" >&6
20287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20289 if test "${ac_cv_header_hash_map+set}" = set; then
20290 echo "$as_me:$LINENO: checking for hash_map" >&5
20291 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
20292 if test "${ac_cv_header_hash_map+set}" = set; then
20293 echo $ECHO_N "(cached) $ECHO_C" >&6
20295 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
20296 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
20298 # Is the header compilable?
20299 echo "$as_me:$LINENO: checking hash_map usability" >&5
20300 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
20301 cat >conftest.
$ac_ext <<_ACEOF
20304 cat confdefs.h
>>conftest.
$ac_ext
20305 cat >>conftest.
$ac_ext <<_ACEOF
20306 /* end confdefs.h. */
20307 $ac_includes_default
20308 #include <hash_map>
20310 rm -f conftest.
$ac_objext
20311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20312 (eval $ac_compile) 2>conftest.er1
20314 grep -v '^ *+' conftest.er1
>conftest.err
20316 cat conftest.err
>&5
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); } &&
20319 { ac_try
='test -z "$ac_cxx_werror_flag"
20320 || test ! -s conftest.err'
20321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20322 (eval $ac_try) 2>&5
20324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325 (exit $ac_status); }; } &&
20326 { ac_try
='test -s conftest.$ac_objext'
20327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20328 (eval $ac_try) 2>&5
20330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20331 (exit $ac_status); }; }; then
20332 ac_header_compiler
=yes
20334 echo "$as_me: failed program was:" >&5
20335 sed 's/^/| /' conftest.
$ac_ext >&5
20337 ac_header_compiler
=no
20339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20340 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20341 echo "${ECHO_T}$ac_header_compiler" >&6
20343 # Is the header present?
20344 echo "$as_me:$LINENO: checking hash_map presence" >&5
20345 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
20346 cat >conftest.
$ac_ext <<_ACEOF
20349 cat confdefs.h
>>conftest.
$ac_ext
20350 cat >>conftest.
$ac_ext <<_ACEOF
20351 /* end confdefs.h. */
20352 #include <hash_map>
20354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20355 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20357 grep -v '^ *+' conftest.er1
>conftest.err
20359 cat conftest.err
>&5
20360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20361 (exit $ac_status); } >/dev
/null
; then
20362 if test -s conftest.err
; then
20363 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20364 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20371 if test -z "$ac_cpp_err"; then
20372 ac_header_preproc
=yes
20374 echo "$as_me: failed program was:" >&5
20375 sed 's/^/| /' conftest.
$ac_ext >&5
20377 ac_header_preproc
=no
20379 rm -f conftest.err conftest.
$ac_ext
20380 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20381 echo "${ECHO_T}$ac_header_preproc" >&6
20383 # So? What about this header?
20384 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20386 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20387 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20388 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
20389 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
20390 ac_header_preproc
=yes
20393 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
20394 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
20395 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
20396 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
20397 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
20398 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
20399 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
20400 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20401 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
20402 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
20403 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
20404 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
20407 ## ----------------------------------------- ##
20408 ## Report this to wx-dev@lists.wxwidgets.org ##
20409 ## ----------------------------------------- ##
20412 sed "s/^/$as_me: WARNING: /" >&2
20415 echo "$as_me:$LINENO: checking for hash_map" >&5
20416 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
20417 if test "${ac_cv_header_hash_map+set}" = set; then
20418 echo $ECHO_N "(cached) $ECHO_C" >&6
20420 ac_cv_header_hash_map
=$ac_header_preproc
20422 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
20423 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
20426 if test $ac_cv_header_hash_map = yes; then
20427 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20428 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20429 cat >conftest.
$ac_ext <<_ACEOF
20432 cat confdefs.h
>>conftest.
$ac_ext
20433 cat >>conftest.
$ac_ext <<_ACEOF
20434 /* end confdefs.h. */
20435 #include <hash_map>
20436 #include <hash_set>
20440 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
20441 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
20446 rm -f conftest.
$ac_objext
20447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20448 (eval $ac_compile) 2>conftest.er1
20450 grep -v '^ *+' conftest.er1
>conftest.err
20452 cat conftest.err
>&5
20453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20454 (exit $ac_status); } &&
20455 { ac_try
='test -z "$ac_cxx_werror_flag"
20456 || test ! -s conftest.err'
20457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20458 (eval $ac_try) 2>&5
20460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20461 (exit $ac_status); }; } &&
20462 { ac_try
='test -s conftest.$ac_objext'
20463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20464 (eval $ac_try) 2>&5
20466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20467 (exit $ac_status); }; }; then
20468 echo "$as_me:$LINENO: result: yes" >&5
20469 echo "${ECHO_T}yes" >&6
20470 cat >>confdefs.h
<<\_ACEOF
20471 #define HAVE_HASH_MAP 1
20474 cat >>confdefs.h
<<\_ACEOF
20475 #define HAVE_STD_HASH_MAP 1
20479 echo "$as_me: failed program was:" >&5
20480 sed 's/^/| /' conftest.
$ac_ext >&5
20482 echo "$as_me:$LINENO: result: no" >&5
20483 echo "${ECHO_T}no" >&6
20485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20491 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20492 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20493 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20494 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20495 echo $ECHO_N "(cached) $ECHO_C" >&6
20497 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20498 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20500 # Is the header compilable?
20501 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
20502 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
20503 cat >conftest.
$ac_ext <<_ACEOF
20506 cat confdefs.h
>>conftest.
$ac_ext
20507 cat >>conftest.
$ac_ext <<_ACEOF
20508 /* end confdefs.h. */
20509 $ac_includes_default
20510 #include <ext/hash_map>
20512 rm -f conftest.
$ac_objext
20513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20514 (eval $ac_compile) 2>conftest.er1
20516 grep -v '^ *+' conftest.er1
>conftest.err
20518 cat conftest.err
>&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); } &&
20521 { ac_try
='test -z "$ac_cxx_werror_flag"
20522 || test ! -s conftest.err'
20523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20524 (eval $ac_try) 2>&5
20526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20527 (exit $ac_status); }; } &&
20528 { ac_try
='test -s conftest.$ac_objext'
20529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20530 (eval $ac_try) 2>&5
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); }; }; then
20534 ac_header_compiler
=yes
20536 echo "$as_me: failed program was:" >&5
20537 sed 's/^/| /' conftest.
$ac_ext >&5
20539 ac_header_compiler
=no
20541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20542 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20543 echo "${ECHO_T}$ac_header_compiler" >&6
20545 # Is the header present?
20546 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
20547 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
20548 cat >conftest.
$ac_ext <<_ACEOF
20551 cat confdefs.h
>>conftest.
$ac_ext
20552 cat >>conftest.
$ac_ext <<_ACEOF
20553 /* end confdefs.h. */
20554 #include <ext/hash_map>
20556 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20557 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20559 grep -v '^ *+' conftest.er1
>conftest.err
20561 cat conftest.err
>&5
20562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); } >/dev
/null
; then
20564 if test -s conftest.err
; then
20565 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20566 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20573 if test -z "$ac_cpp_err"; then
20574 ac_header_preproc
=yes
20576 echo "$as_me: failed program was:" >&5
20577 sed 's/^/| /' conftest.
$ac_ext >&5
20579 ac_header_preproc
=no
20581 rm -f conftest.err conftest.
$ac_ext
20582 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20583 echo "${ECHO_T}$ac_header_preproc" >&6
20585 # So? What about this header?
20586 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20588 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20589 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20590 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
20591 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20592 ac_header_preproc
=yes
20595 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20596 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
20597 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20598 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20599 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20600 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20601 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20602 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20603 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20604 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
20605 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20606 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
20609 ## ----------------------------------------- ##
20610 ## Report this to wx-dev@lists.wxwidgets.org ##
20611 ## ----------------------------------------- ##
20614 sed "s/^/$as_me: WARNING: /" >&2
20617 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20618 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20619 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20620 echo $ECHO_N "(cached) $ECHO_C" >&6
20622 ac_cv_header_ext_hash_map
=$ac_header_preproc
20624 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20625 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20628 if test $ac_cv_header_ext_hash_map = yes; then
20629 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20630 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20631 cat >conftest.
$ac_ext <<_ACEOF
20634 cat confdefs.h
>>conftest.
$ac_ext
20635 cat >>conftest.
$ac_ext <<_ACEOF
20636 /* end confdefs.h. */
20637 #include <ext/hash_map>
20638 #include <ext/hash_set>
20642 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20643 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20648 rm -f conftest.
$ac_objext
20649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20650 (eval $ac_compile) 2>conftest.er1
20652 grep -v '^ *+' conftest.er1
>conftest.err
20654 cat conftest.err
>&5
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); } &&
20657 { ac_try
='test -z "$ac_cxx_werror_flag"
20658 || test ! -s conftest.err'
20659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20660 (eval $ac_try) 2>&5
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); }; } &&
20664 { ac_try
='test -s conftest.$ac_objext'
20665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20666 (eval $ac_try) 2>&5
20668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20669 (exit $ac_status); }; }; then
20670 echo "$as_me:$LINENO: result: yes" >&5
20671 echo "${ECHO_T}yes" >&6
20672 cat >>confdefs.h
<<\_ACEOF
20673 #define HAVE_EXT_HASH_MAP 1
20676 cat >>confdefs.h
<<\_ACEOF
20677 #define HAVE_GNU_CXX_HASH_MAP 1
20681 echo "$as_me: failed program was:" >&5
20682 sed 's/^/| /' conftest.
$ac_ext >&5
20684 echo "$as_me:$LINENO: result: no" >&5
20685 echo "${ECHO_T}no" >&6
20687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20694 ac_cpp
='$CPP $CPPFLAGS'
20695 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20696 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20697 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20703 /usr/local/include \
20705 /usr/Motif-2.1/include \
20706 /usr/Motif-1.2/include \
20707 /usr/include/Motif1.2 \
20708 /opt/xpm/include/X11 \
20709 /opt/GBxpm/include/ \
20710 /opt/GBxpm/X11/include/ \
20713 /usr/openwin/include \
20717 /usr/X11R6/include \
20718 /usr/X11R6.4/include \
20719 /usr/X11R5/include \
20720 /usr/X11R4/include \
20722 /usr/include/X11R6 \
20723 /usr/include/X11R5 \
20724 /usr/include/X11R4 \
20726 /usr/local/X11R6/include \
20727 /usr/local/X11R5/include \
20728 /usr/local/X11R4/include \
20730 /usr/local/include/X11R6 \
20731 /usr/local/include/X11R5 \
20732 /usr/local/include/X11R4 \
20736 /usr/local/X11/include \
20737 /usr/local/include/X11 \
20739 /usr/X386/include \
20740 /usr/x386/include \
20741 /usr/XFree86/include/X11 \
20743 X:/XFree86/include \
20744 X:/XFree86/include/X11 \
20747 /usr/local/include/gtk \
20748 /usr/include/glib \
20749 /usr/local/include/glib \
20752 /usr/local/include/qt \
20754 /usr/local/arm/3.3.2/include \
20756 /usr/include/windows \
20757 /usr/include/wine \
20758 /usr/local/include/wine \
20760 /usr/unsupported/include \
20761 /usr/athena/include \
20762 /usr/local/x11r5/include \
20763 /usr/lpp/Xamples/include \
20765 /usr/openwin/share/include"
20767 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20770 cat >confcache
<<\_ACEOF
20771 # This file is a shell script that caches the results of configure
20772 # tests run on this system so they can be shared between configure
20773 # scripts and configure runs, see configure's option --config-cache.
20774 # It is not useful on other systems. If it contains results you don't
20775 # want to keep, you may remove or edit it.
20777 # config.status only pays attention to the cache file if you give it
20778 # the --recheck option to rerun configure.
20780 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20781 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20782 # following values.
20786 # The following way of writing the cache mishandles newlines in values,
20787 # but we know of no workaround that is simple, portable, and efficient.
20788 # So, don't put newlines in cache variables' values.
20789 # Ultrix sh set writes to stderr and can't be redirected directly,
20790 # and sets the high bit in the cache file unless we assign to the vars.
20793 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20795 # `set' does not quote correctly, so add quotes (double-quote
20796 # substitution turns \\\\ into \\, and sed turns \\ into \).
20799 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20802 # `set' quotes correctly as required by POSIX, so do not add quotes.
20804 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20811 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20813 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20815 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20816 if test -w $cache_file; then
20817 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20818 cat confcache
>$cache_file
20820 echo "not updating unwritable cache $cache_file"
20825 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20826 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20827 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20828 if test "${wx_cv_lib_glibc21+set}" = set; then
20829 echo $ECHO_N "(cached) $ECHO_C" >&6
20832 cat >conftest.
$ac_ext <<_ACEOF
20835 cat confdefs.h
>>conftest.
$ac_ext
20836 cat >>conftest.
$ac_ext <<_ACEOF
20837 /* end confdefs.h. */
20838 #include <features.h>
20843 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20844 #error not glibc2.1
20851 rm -f conftest.
$ac_objext
20852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20853 (eval $ac_compile) 2>conftest.er1
20855 grep -v '^ *+' conftest.er1
>conftest.err
20857 cat conftest.err
>&5
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); } &&
20860 { ac_try
='test -z "$ac_c_werror_flag"
20861 || test ! -s conftest.err'
20862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20863 (eval $ac_try) 2>&5
20865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20866 (exit $ac_status); }; } &&
20867 { ac_try
='test -s conftest.$ac_objext'
20868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20869 (eval $ac_try) 2>&5
20871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20872 (exit $ac_status); }; }; then
20874 wx_cv_lib_glibc21
=yes
20877 echo "$as_me: failed program was:" >&5
20878 sed 's/^/| /' conftest.
$ac_ext >&5
20881 wx_cv_lib_glibc21
=no
20885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20888 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20889 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20890 if test "$wx_cv_lib_glibc21" = "yes"; then
20891 cat >>confdefs.h
<<\_ACEOF
20892 #define wxHAVE_GLIBC2 1
20898 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20899 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20900 cat >>confdefs.h
<<\_ACEOF
20901 #define _GNU_SOURCE 1
20909 if test "$wxUSE_REGEX" != "no"; then
20910 cat >>confdefs.h
<<\_ACEOF
20911 #define wxUSE_REGEX 1
20915 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20916 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20917 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20918 wxUSE_REGEX
=builtin
20921 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20922 if test "${ac_cv_header_regex_h+set}" = set; then
20923 echo "$as_me:$LINENO: checking for regex.h" >&5
20924 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20925 if test "${ac_cv_header_regex_h+set}" = set; then
20926 echo $ECHO_N "(cached) $ECHO_C" >&6
20928 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20929 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20931 # Is the header compilable?
20932 echo "$as_me:$LINENO: checking regex.h usability" >&5
20933 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20934 cat >conftest.
$ac_ext <<_ACEOF
20937 cat confdefs.h
>>conftest.
$ac_ext
20938 cat >>conftest.
$ac_ext <<_ACEOF
20939 /* end confdefs.h. */
20940 $ac_includes_default
20943 rm -f conftest.
$ac_objext
20944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20945 (eval $ac_compile) 2>conftest.er1
20947 grep -v '^ *+' conftest.er1
>conftest.err
20949 cat conftest.err
>&5
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); } &&
20952 { ac_try
='test -z "$ac_c_werror_flag"
20953 || test ! -s conftest.err'
20954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20955 (eval $ac_try) 2>&5
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); }; } &&
20959 { ac_try
='test -s conftest.$ac_objext'
20960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20961 (eval $ac_try) 2>&5
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); }; }; then
20965 ac_header_compiler
=yes
20967 echo "$as_me: failed program was:" >&5
20968 sed 's/^/| /' conftest.
$ac_ext >&5
20970 ac_header_compiler
=no
20972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20973 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20974 echo "${ECHO_T}$ac_header_compiler" >&6
20976 # Is the header present?
20977 echo "$as_me:$LINENO: checking regex.h presence" >&5
20978 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20979 cat >conftest.
$ac_ext <<_ACEOF
20982 cat confdefs.h
>>conftest.
$ac_ext
20983 cat >>conftest.
$ac_ext <<_ACEOF
20984 /* end confdefs.h. */
20987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20988 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20990 grep -v '^ *+' conftest.er1
>conftest.err
20992 cat conftest.err
>&5
20993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); } >/dev
/null
; then
20995 if test -s conftest.err
; then
20996 ac_cpp_err
=$ac_c_preproc_warn_flag
20997 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21004 if test -z "$ac_cpp_err"; then
21005 ac_header_preproc
=yes
21007 echo "$as_me: failed program was:" >&5
21008 sed 's/^/| /' conftest.
$ac_ext >&5
21010 ac_header_preproc
=no
21012 rm -f conftest.err conftest.
$ac_ext
21013 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21014 echo "${ECHO_T}$ac_header_preproc" >&6
21016 # So? What about this header?
21017 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21019 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
21020 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21021 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
21022 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
21023 ac_header_preproc
=yes
21026 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
21027 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
21028 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
21029 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
21030 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
21031 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
21032 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
21033 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
21034 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
21035 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
21036 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
21037 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
21040 ## ----------------------------------------- ##
21041 ## Report this to wx-dev@lists.wxwidgets.org ##
21042 ## ----------------------------------------- ##
21045 sed "s/^/$as_me: WARNING: /" >&2
21048 echo "$as_me:$LINENO: checking for regex.h" >&5
21049 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
21050 if test "${ac_cv_header_regex_h+set}" = set; then
21051 echo $ECHO_N "(cached) $ECHO_C" >&6
21053 ac_cv_header_regex_h
=$ac_header_preproc
21055 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
21056 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
21059 if test $ac_cv_header_regex_h = yes; then
21061 for ac_func
in regcomp
21063 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21064 echo "$as_me:$LINENO: checking for $ac_func" >&5
21065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21066 if eval "test \"\${$as_ac_var+set}\" = set"; then
21067 echo $ECHO_N "(cached) $ECHO_C" >&6
21069 cat >conftest.
$ac_ext <<_ACEOF
21072 cat confdefs.h
>>conftest.
$ac_ext
21073 cat >>conftest.
$ac_ext <<_ACEOF
21074 /* end confdefs.h. */
21075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21077 #define $ac_func innocuous_$ac_func
21079 /* System header to define __stub macros and hopefully few prototypes,
21080 which can conflict with char $ac_func (); below.
21081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21082 <limits.h> exists even on freestanding compilers. */
21085 # include <limits.h>
21087 # include <assert.h>
21092 /* Override any gcc2 internal prototype to avoid an error. */
21097 /* We use char because int might match the return type of a gcc2
21098 builtin and then its argument prototype would still apply. */
21100 /* The GNU C library defines this for functions which it implements
21101 to always fail with ENOSYS. Some functions are actually named
21102 something starting with __ and the normal name is an alias. */
21103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21106 char (*f) () = $ac_func;
21115 return f != $ac_func;
21120 rm -f conftest.
$ac_objext conftest
$ac_exeext
21121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21122 (eval $ac_link) 2>conftest.er1
21124 grep -v '^ *+' conftest.er1
>conftest.err
21126 cat conftest.err
>&5
21127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21128 (exit $ac_status); } &&
21129 { ac_try
='test -z "$ac_c_werror_flag"
21130 || test ! -s conftest.err'
21131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21132 (eval $ac_try) 2>&5
21134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21135 (exit $ac_status); }; } &&
21136 { ac_try
='test -s conftest$ac_exeext'
21137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21138 (eval $ac_try) 2>&5
21140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21141 (exit $ac_status); }; }; then
21142 eval "$as_ac_var=yes"
21144 echo "$as_me: failed program was:" >&5
21145 sed 's/^/| /' conftest.
$ac_ext >&5
21147 eval "$as_ac_var=no"
21149 rm -f conftest.err conftest.
$ac_objext \
21150 conftest
$ac_exeext conftest.
$ac_ext
21152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21154 if test `eval echo '${'$as_ac_var'}'` = yes; then
21155 cat >>confdefs.h
<<_ACEOF
21156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21166 if test "x$ac_cv_func_regcomp" != "xyes"; then
21167 if test "$wxUSE_REGEX" = "sys" ; then
21168 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
21169 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
21170 { (exit 1); exit 1; }; }
21172 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
21173 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
21174 wxUSE_REGEX
=builtin
21178 cat >>confdefs.h
<<\_ACEOF
21179 #define WX_NO_REGEX_ADVANCED 1
21188 if test "$wxUSE_ZLIB" != "no" ; then
21189 cat >>confdefs.h
<<\_ACEOF
21190 #define wxUSE_ZLIB 1
21194 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
21195 if test "$USE_DARWIN" = 1; then
21196 system_zlib_h_ok
="yes"
21198 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
21199 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
21200 if test "${ac_cv_header_zlib_h+set}" = set; then
21201 echo $ECHO_N "(cached) $ECHO_C" >&6
21203 if test "$cross_compiling" = yes; then
21204 unset ac_cv_header_zlib_h
21207 cat >conftest.
$ac_ext <<_ACEOF
21210 cat confdefs.h
>>conftest.
$ac_ext
21211 cat >>conftest.
$ac_ext <<_ACEOF
21212 /* end confdefs.h. */
21219 FILE *f=fopen("conftestval", "w");
21222 ZLIB_VERSION[0] == '1' &&
21223 (ZLIB_VERSION[2] > '1' ||
21224 (ZLIB_VERSION[2] == '1' &&
21225 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
21230 rm -f conftest
$ac_exeext
21231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21232 (eval $ac_link) 2>&5
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21237 (eval $ac_try) 2>&5
21239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21240 (exit $ac_status); }; }; then
21241 ac_cv_header_zlib_h
=`cat conftestval`
21243 echo "$as_me: program exited with status $ac_status" >&5
21244 echo "$as_me: failed program was:" >&5
21245 sed 's/^/| /' conftest.
$ac_ext >&5
21247 ( exit $ac_status )
21248 ac_cv_header_zlib_h
=no
21250 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21254 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21255 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21256 if test "${ac_cv_header_zlib_h+set}" = set; then
21257 echo "$as_me:$LINENO: checking for zlib.h" >&5
21258 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21259 if test "${ac_cv_header_zlib_h+set}" = set; then
21260 echo $ECHO_N "(cached) $ECHO_C" >&6
21262 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21263 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21265 # Is the header compilable?
21266 echo "$as_me:$LINENO: checking zlib.h usability" >&5
21267 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
21268 cat >conftest.
$ac_ext <<_ACEOF
21271 cat confdefs.h
>>conftest.
$ac_ext
21272 cat >>conftest.
$ac_ext <<_ACEOF
21273 /* end confdefs.h. */
21274 $ac_includes_default
21277 rm -f conftest.
$ac_objext
21278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21279 (eval $ac_compile) 2>conftest.er1
21281 grep -v '^ *+' conftest.er1
>conftest.err
21283 cat conftest.err
>&5
21284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21285 (exit $ac_status); } &&
21286 { ac_try
='test -z "$ac_c_werror_flag"
21287 || test ! -s conftest.err'
21288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21289 (eval $ac_try) 2>&5
21291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21292 (exit $ac_status); }; } &&
21293 { ac_try
='test -s conftest.$ac_objext'
21294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21295 (eval $ac_try) 2>&5
21297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21298 (exit $ac_status); }; }; then
21299 ac_header_compiler
=yes
21301 echo "$as_me: failed program was:" >&5
21302 sed 's/^/| /' conftest.
$ac_ext >&5
21304 ac_header_compiler
=no
21306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21308 echo "${ECHO_T}$ac_header_compiler" >&6
21310 # Is the header present?
21311 echo "$as_me:$LINENO: checking zlib.h presence" >&5
21312 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
21313 cat >conftest.
$ac_ext <<_ACEOF
21316 cat confdefs.h
>>conftest.
$ac_ext
21317 cat >>conftest.
$ac_ext <<_ACEOF
21318 /* end confdefs.h. */
21321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21322 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21324 grep -v '^ *+' conftest.er1
>conftest.err
21326 cat conftest.err
>&5
21327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21328 (exit $ac_status); } >/dev
/null
; then
21329 if test -s conftest.err
; then
21330 ac_cpp_err
=$ac_c_preproc_warn_flag
21331 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21338 if test -z "$ac_cpp_err"; then
21339 ac_header_preproc
=yes
21341 echo "$as_me: failed program was:" >&5
21342 sed 's/^/| /' conftest.
$ac_ext >&5
21344 ac_header_preproc
=no
21346 rm -f conftest.err conftest.
$ac_ext
21347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21348 echo "${ECHO_T}$ac_header_preproc" >&6
21350 # So? What about this header?
21351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21353 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
21354 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21355 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
21356 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
21357 ac_header_preproc
=yes
21360 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
21361 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
21362 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
21363 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
21364 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
21365 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
21366 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
21367 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
21368 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
21369 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
21370 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
21371 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
21374 ## ----------------------------------------- ##
21375 ## Report this to wx-dev@lists.wxwidgets.org ##
21376 ## ----------------------------------------- ##
21379 sed "s/^/$as_me: WARNING: /" >&2
21382 echo "$as_me:$LINENO: checking for zlib.h" >&5
21383 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21384 if test "${ac_cv_header_zlib_h+set}" = set; then
21385 echo $ECHO_N "(cached) $ECHO_C" >&6
21387 ac_cv_header_zlib_h
=$ac_header_preproc
21389 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21390 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21396 system_zlib_h_ok
=$ac_cv_header_zlib_h
21399 if test "$system_zlib_h_ok" = "yes"; then
21400 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
21401 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
21402 if test "${ac_cv_lib_z_deflate+set}" = set; then
21403 echo $ECHO_N "(cached) $ECHO_C" >&6
21405 ac_check_lib_save_LIBS
=$LIBS
21407 cat >conftest.
$ac_ext <<_ACEOF
21410 cat confdefs.h
>>conftest.
$ac_ext
21411 cat >>conftest.
$ac_ext <<_ACEOF
21412 /* end confdefs.h. */
21414 /* Override any gcc2 internal prototype to avoid an error. */
21418 /* We use char because int might match the return type of a gcc2
21419 builtin and then its argument prototype would still apply. */
21429 rm -f conftest.
$ac_objext conftest
$ac_exeext
21430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21431 (eval $ac_link) 2>conftest.er1
21433 grep -v '^ *+' conftest.er1
>conftest.err
21435 cat conftest.err
>&5
21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437 (exit $ac_status); } &&
21438 { ac_try
='test -z "$ac_c_werror_flag"
21439 || test ! -s conftest.err'
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); }; } &&
21445 { ac_try
='test -s conftest$ac_exeext'
21446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21447 (eval $ac_try) 2>&5
21449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450 (exit $ac_status); }; }; then
21451 ac_cv_lib_z_deflate
=yes
21453 echo "$as_me: failed program was:" >&5
21454 sed 's/^/| /' conftest.
$ac_ext >&5
21456 ac_cv_lib_z_deflate
=no
21458 rm -f conftest.err conftest.
$ac_objext \
21459 conftest
$ac_exeext conftest.
$ac_ext
21460 LIBS
=$ac_check_lib_save_LIBS
21462 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
21463 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
21464 if test $ac_cv_lib_z_deflate = yes; then
21470 if test "x$ZLIB_LINK" = "x" ; then
21471 if test "$wxUSE_ZLIB" = "sys" ; then
21472 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
21473 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
21474 { (exit 1); exit 1; }; }
21476 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
21477 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
21488 if test "$wxUSE_LIBPNG" != "no" ; then
21489 cat >>confdefs.h
<<\_ACEOF
21490 #define wxUSE_LIBPNG 1
21494 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
21495 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
21496 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
21500 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
21501 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
21502 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
21503 wxUSE_LIBPNG
=builtin
21506 if test "$wxUSE_MGL" != 1 ; then
21507 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
21508 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
21509 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
21510 if test "${ac_cv_header_png_h+set}" = set; then
21511 echo $ECHO_N "(cached) $ECHO_C" >&6
21513 if test "$cross_compiling" = yes; then
21514 unset ac_cv_header_png_h
21517 cat >conftest.
$ac_ext <<_ACEOF
21520 cat confdefs.h
>>conftest.
$ac_ext
21521 cat >>conftest.
$ac_ext <<_ACEOF
21522 /* end confdefs.h. */
21529 FILE *f=fopen("conftestval", "w");
21532 PNG_LIBPNG_VER > 90 ? "yes" : "no");
21537 rm -f conftest
$ac_exeext
21538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21539 (eval $ac_link) 2>&5
21541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21542 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21544 (eval $ac_try) 2>&5
21546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21547 (exit $ac_status); }; }; then
21548 ac_cv_header_png_h
=`cat conftestval`
21550 echo "$as_me: program exited with status $ac_status" >&5
21551 echo "$as_me: failed program was:" >&5
21552 sed 's/^/| /' conftest.
$ac_ext >&5
21554 ( exit $ac_status )
21555 ac_cv_header_png_h
=no
21557 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21561 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21562 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21563 if test "${ac_cv_header_png_h+set}" = set; then
21564 echo "$as_me:$LINENO: checking for png.h" >&5
21565 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21566 if test "${ac_cv_header_png_h+set}" = set; then
21567 echo $ECHO_N "(cached) $ECHO_C" >&6
21569 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21570 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21572 # Is the header compilable?
21573 echo "$as_me:$LINENO: checking png.h usability" >&5
21574 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
21575 cat >conftest.
$ac_ext <<_ACEOF
21578 cat confdefs.h
>>conftest.
$ac_ext
21579 cat >>conftest.
$ac_ext <<_ACEOF
21580 /* end confdefs.h. */
21581 $ac_includes_default
21584 rm -f conftest.
$ac_objext
21585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21586 (eval $ac_compile) 2>conftest.er1
21588 grep -v '^ *+' conftest.er1
>conftest.err
21590 cat conftest.err
>&5
21591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592 (exit $ac_status); } &&
21593 { ac_try
='test -z "$ac_c_werror_flag"
21594 || test ! -s conftest.err'
21595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21596 (eval $ac_try) 2>&5
21598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); }; } &&
21600 { ac_try
='test -s conftest.$ac_objext'
21601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21602 (eval $ac_try) 2>&5
21604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21605 (exit $ac_status); }; }; then
21606 ac_header_compiler
=yes
21608 echo "$as_me: failed program was:" >&5
21609 sed 's/^/| /' conftest.
$ac_ext >&5
21611 ac_header_compiler
=no
21613 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21614 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21615 echo "${ECHO_T}$ac_header_compiler" >&6
21617 # Is the header present?
21618 echo "$as_me:$LINENO: checking png.h presence" >&5
21619 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21620 cat >conftest.
$ac_ext <<_ACEOF
21623 cat confdefs.h
>>conftest.
$ac_ext
21624 cat >>conftest.
$ac_ext <<_ACEOF
21625 /* end confdefs.h. */
21628 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21629 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21631 grep -v '^ *+' conftest.er1
>conftest.err
21633 cat conftest.err
>&5
21634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21635 (exit $ac_status); } >/dev
/null
; then
21636 if test -s conftest.err
; then
21637 ac_cpp_err
=$ac_c_preproc_warn_flag
21638 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21645 if test -z "$ac_cpp_err"; then
21646 ac_header_preproc
=yes
21648 echo "$as_me: failed program was:" >&5
21649 sed 's/^/| /' conftest.
$ac_ext >&5
21651 ac_header_preproc
=no
21653 rm -f conftest.err conftest.
$ac_ext
21654 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21655 echo "${ECHO_T}$ac_header_preproc" >&6
21657 # So? What about this header?
21658 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21660 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21661 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21662 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21663 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21664 ac_header_preproc
=yes
21667 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21668 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21669 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21670 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21671 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21672 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21673 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21674 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21675 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21676 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21677 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21678 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21681 ## ----------------------------------------- ##
21682 ## Report this to wx-dev@lists.wxwidgets.org ##
21683 ## ----------------------------------------- ##
21686 sed "s/^/$as_me: WARNING: /" >&2
21689 echo "$as_me:$LINENO: checking for png.h" >&5
21690 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21691 if test "${ac_cv_header_png_h+set}" = set; then
21692 echo $ECHO_N "(cached) $ECHO_C" >&6
21694 ac_cv_header_png_h
=$ac_header_preproc
21696 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21697 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21703 if test "$ac_cv_header_png_h" = "yes"; then
21704 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21705 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21706 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21707 echo $ECHO_N "(cached) $ECHO_C" >&6
21709 ac_check_lib_save_LIBS
=$LIBS
21710 LIBS
="-lpng -lz -lm $LIBS"
21711 cat >conftest.
$ac_ext <<_ACEOF
21714 cat confdefs.h
>>conftest.
$ac_ext
21715 cat >>conftest.
$ac_ext <<_ACEOF
21716 /* end confdefs.h. */
21718 /* Override any gcc2 internal prototype to avoid an error. */
21722 /* We use char because int might match the return type of a gcc2
21723 builtin and then its argument prototype would still apply. */
21724 char png_check_sig ();
21733 rm -f conftest.
$ac_objext conftest
$ac_exeext
21734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21735 (eval $ac_link) 2>conftest.er1
21737 grep -v '^ *+' conftest.er1
>conftest.err
21739 cat conftest.err
>&5
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); } &&
21742 { ac_try
='test -z "$ac_c_werror_flag"
21743 || test ! -s conftest.err'
21744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21745 (eval $ac_try) 2>&5
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); }; } &&
21749 { ac_try
='test -s conftest$ac_exeext'
21750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21751 (eval $ac_try) 2>&5
21753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754 (exit $ac_status); }; }; then
21755 ac_cv_lib_png_png_check_sig
=yes
21757 echo "$as_me: failed program was:" >&5
21758 sed 's/^/| /' conftest.
$ac_ext >&5
21760 ac_cv_lib_png_png_check_sig
=no
21762 rm -f conftest.err conftest.
$ac_objext \
21763 conftest
$ac_exeext conftest.
$ac_ext
21764 LIBS
=$ac_check_lib_save_LIBS
21766 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21767 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21768 if test $ac_cv_lib_png_png_check_sig = yes; then
21769 PNG_LINK
=" -lpng -lz"
21774 if test "x$PNG_LINK" = "x" ; then
21775 if test "$wxUSE_LIBPNG" = "sys" ; then
21776 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21777 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21778 { (exit 1); exit 1; }; }
21780 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21781 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21782 wxUSE_LIBPNG
=builtin
21790 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
21795 if test "$wxUSE_LIBJPEG" != "no" ; then
21796 cat >>confdefs.h
<<\_ACEOF
21797 #define wxUSE_LIBJPEG 1
21801 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21802 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21803 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21807 if test "$wxUSE_MGL" != 1 ; then
21808 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21809 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21810 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21811 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21812 echo $ECHO_N "(cached) $ECHO_C" >&6
21814 cat >conftest.
$ac_ext <<_ACEOF
21817 cat confdefs.h
>>conftest.
$ac_ext
21818 cat >>conftest.
$ac_ext <<_ACEOF
21819 /* end confdefs.h. */
21821 #undef HAVE_STDLIB_H
21823 #include <jpeglib.h>
21834 rm -f conftest.
$ac_objext
21835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21836 (eval $ac_compile) 2>conftest.er1
21838 grep -v '^ *+' conftest.er1
>conftest.err
21840 cat conftest.err
>&5
21841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842 (exit $ac_status); } &&
21843 { ac_try
='test -z "$ac_c_werror_flag"
21844 || test ! -s conftest.err'
21845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21846 (eval $ac_try) 2>&5
21848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21849 (exit $ac_status); }; } &&
21850 { ac_try
='test -s conftest.$ac_objext'
21851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21852 (eval $ac_try) 2>&5
21854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21855 (exit $ac_status); }; }; then
21856 ac_cv_header_jpeglib_h
=yes
21858 echo "$as_me: failed program was:" >&5
21859 sed 's/^/| /' conftest.
$ac_ext >&5
21861 ac_cv_header_jpeglib_h
=no
21864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21868 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21869 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21871 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21872 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21873 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21874 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21875 echo $ECHO_N "(cached) $ECHO_C" >&6
21877 ac_check_lib_save_LIBS
=$LIBS
21878 LIBS
="-ljpeg $LIBS"
21879 cat >conftest.
$ac_ext <<_ACEOF
21882 cat confdefs.h
>>conftest.
$ac_ext
21883 cat >>conftest.
$ac_ext <<_ACEOF
21884 /* end confdefs.h. */
21886 /* Override any gcc2 internal prototype to avoid an error. */
21890 /* We use char because int might match the return type of a gcc2
21891 builtin and then its argument prototype would still apply. */
21892 char jpeg_read_header ();
21896 jpeg_read_header ();
21901 rm -f conftest.
$ac_objext conftest
$ac_exeext
21902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21903 (eval $ac_link) 2>conftest.er1
21905 grep -v '^ *+' conftest.er1
>conftest.err
21907 cat conftest.err
>&5
21908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21909 (exit $ac_status); } &&
21910 { ac_try
='test -z "$ac_c_werror_flag"
21911 || test ! -s conftest.err'
21912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21913 (eval $ac_try) 2>&5
21915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916 (exit $ac_status); }; } &&
21917 { ac_try
='test -s conftest$ac_exeext'
21918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21919 (eval $ac_try) 2>&5
21921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922 (exit $ac_status); }; }; then
21923 ac_cv_lib_jpeg_jpeg_read_header
=yes
21925 echo "$as_me: failed program was:" >&5
21926 sed 's/^/| /' conftest.
$ac_ext >&5
21928 ac_cv_lib_jpeg_jpeg_read_header
=no
21930 rm -f conftest.err conftest.
$ac_objext \
21931 conftest
$ac_exeext conftest.
$ac_ext
21932 LIBS
=$ac_check_lib_save_LIBS
21934 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21935 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21936 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21937 JPEG_LINK
=" -ljpeg"
21942 if test "x$JPEG_LINK" = "x" ; then
21943 if test "$wxUSE_LIBJPEG" = "sys" ; then
21944 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21945 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21946 { (exit 1); exit 1; }; }
21948 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21949 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21950 wxUSE_LIBJPEG
=builtin
21961 TIFF_PREREQ_LINKS
=-lm
21962 if test "$wxUSE_LIBTIFF" != "no" ; then
21963 cat >>confdefs.h
<<\_ACEOF
21964 #define wxUSE_LIBTIFF 1
21968 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21969 if test "$wxUSE_LIBJPEG" = "sys"; then
21970 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21972 if test "$wxUSE_ZLIB" = "sys"; then
21973 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21975 if test "${ac_cv_header_tiffio_h+set}" = set; then
21976 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21977 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21978 if test "${ac_cv_header_tiffio_h+set}" = set; then
21979 echo $ECHO_N "(cached) $ECHO_C" >&6
21981 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21982 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21984 # Is the header compilable?
21985 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21986 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21987 cat >conftest.
$ac_ext <<_ACEOF
21990 cat confdefs.h
>>conftest.
$ac_ext
21991 cat >>conftest.
$ac_ext <<_ACEOF
21992 /* end confdefs.h. */
21993 $ac_includes_default
21994 #include <tiffio.h>
21996 rm -f conftest.
$ac_objext
21997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21998 (eval $ac_compile) 2>conftest.er1
22000 grep -v '^ *+' conftest.er1
>conftest.err
22002 cat conftest.err
>&5
22003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22004 (exit $ac_status); } &&
22005 { ac_try
='test -z "$ac_c_werror_flag"
22006 || test ! -s conftest.err'
22007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22008 (eval $ac_try) 2>&5
22010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22011 (exit $ac_status); }; } &&
22012 { ac_try
='test -s conftest.$ac_objext'
22013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22014 (eval $ac_try) 2>&5
22016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22017 (exit $ac_status); }; }; then
22018 ac_header_compiler
=yes
22020 echo "$as_me: failed program was:" >&5
22021 sed 's/^/| /' conftest.
$ac_ext >&5
22023 ac_header_compiler
=no
22025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22026 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22027 echo "${ECHO_T}$ac_header_compiler" >&6
22029 # Is the header present?
22030 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
22031 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
22032 cat >conftest.
$ac_ext <<_ACEOF
22035 cat confdefs.h
>>conftest.
$ac_ext
22036 cat >>conftest.
$ac_ext <<_ACEOF
22037 /* end confdefs.h. */
22038 #include <tiffio.h>
22040 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22041 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22043 grep -v '^ *+' conftest.er1
>conftest.err
22045 cat conftest.err
>&5
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); } >/dev
/null
; then
22048 if test -s conftest.err
; then
22049 ac_cpp_err
=$ac_c_preproc_warn_flag
22050 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22057 if test -z "$ac_cpp_err"; then
22058 ac_header_preproc
=yes
22060 echo "$as_me: failed program was:" >&5
22061 sed 's/^/| /' conftest.
$ac_ext >&5
22063 ac_header_preproc
=no
22065 rm -f conftest.err conftest.
$ac_ext
22066 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22067 echo "${ECHO_T}$ac_header_preproc" >&6
22069 # So? What about this header?
22070 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22072 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
22073 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22074 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
22075 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
22076 ac_header_preproc
=yes
22079 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
22080 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
22081 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
22082 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
22083 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
22084 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
22085 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
22086 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
22087 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
22088 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
22089 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
22090 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
22093 ## ----------------------------------------- ##
22094 ## Report this to wx-dev@lists.wxwidgets.org ##
22095 ## ----------------------------------------- ##
22098 sed "s/^/$as_me: WARNING: /" >&2
22101 echo "$as_me:$LINENO: checking for tiffio.h" >&5
22102 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
22103 if test "${ac_cv_header_tiffio_h+set}" = set; then
22104 echo $ECHO_N "(cached) $ECHO_C" >&6
22106 ac_cv_header_tiffio_h
=$ac_header_preproc
22108 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
22109 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
22112 if test $ac_cv_header_tiffio_h = yes; then
22114 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
22115 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
22116 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
22117 echo $ECHO_N "(cached) $ECHO_C" >&6
22119 ac_check_lib_save_LIBS
=$LIBS
22120 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22121 cat >conftest.
$ac_ext <<_ACEOF
22124 cat confdefs.h
>>conftest.
$ac_ext
22125 cat >>conftest.
$ac_ext <<_ACEOF
22126 /* end confdefs.h. */
22128 /* Override any gcc2 internal prototype to avoid an error. */
22132 /* We use char because int might match the return type of a gcc2
22133 builtin and then its argument prototype would still apply. */
22143 rm -f conftest.
$ac_objext conftest
$ac_exeext
22144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22145 (eval $ac_link) 2>conftest.er1
22147 grep -v '^ *+' conftest.er1
>conftest.err
22149 cat conftest.err
>&5
22150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22151 (exit $ac_status); } &&
22152 { ac_try
='test -z "$ac_c_werror_flag"
22153 || test ! -s conftest.err'
22154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22155 (eval $ac_try) 2>&5
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); }; } &&
22159 { ac_try
='test -s conftest$ac_exeext'
22160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22161 (eval $ac_try) 2>&5
22163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22164 (exit $ac_status); }; }; then
22165 ac_cv_lib_tiff_TIFFError
=yes
22167 echo "$as_me: failed program was:" >&5
22168 sed 's/^/| /' conftest.
$ac_ext >&5
22170 ac_cv_lib_tiff_TIFFError
=no
22172 rm -f conftest.err conftest.
$ac_objext \
22173 conftest
$ac_exeext conftest.
$ac_ext
22174 LIBS
=$ac_check_lib_save_LIBS
22176 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
22177 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
22178 if test $ac_cv_lib_tiff_TIFFError = yes; then
22179 TIFF_LINK
=" -ltiff"
22188 if test "x$TIFF_LINK" = "x" ; then
22189 if test "$wxUSE_LIBTIFF" = "sys" ; then
22190 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
22191 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
22192 { (exit 1); exit 1; }; }
22194 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
22195 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22196 wxUSE_LIBTIFF
=builtin
22205 if test "$wxUSE_EXPAT" != "no"; then
22207 cat >>confdefs.h
<<\_ACEOF
22208 #define wxUSE_EXPAT 1
22211 cat >>confdefs.h
<<\_ACEOF
22212 #define wxUSE_XML 1
22216 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22217 if test "${ac_cv_header_expat_h+set}" = set; then
22218 echo "$as_me:$LINENO: checking for expat.h" >&5
22219 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
22220 if test "${ac_cv_header_expat_h+set}" = set; then
22221 echo $ECHO_N "(cached) $ECHO_C" >&6
22223 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
22224 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
22226 # Is the header compilable?
22227 echo "$as_me:$LINENO: checking expat.h usability" >&5
22228 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
22229 cat >conftest.
$ac_ext <<_ACEOF
22232 cat confdefs.h
>>conftest.
$ac_ext
22233 cat >>conftest.
$ac_ext <<_ACEOF
22234 /* end confdefs.h. */
22235 $ac_includes_default
22238 rm -f conftest.
$ac_objext
22239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22240 (eval $ac_compile) 2>conftest.er1
22242 grep -v '^ *+' conftest.er1
>conftest.err
22244 cat conftest.err
>&5
22245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22246 (exit $ac_status); } &&
22247 { ac_try
='test -z "$ac_c_werror_flag"
22248 || test ! -s conftest.err'
22249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22250 (eval $ac_try) 2>&5
22252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22253 (exit $ac_status); }; } &&
22254 { ac_try
='test -s conftest.$ac_objext'
22255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22256 (eval $ac_try) 2>&5
22258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22259 (exit $ac_status); }; }; then
22260 ac_header_compiler
=yes
22262 echo "$as_me: failed program was:" >&5
22263 sed 's/^/| /' conftest.
$ac_ext >&5
22265 ac_header_compiler
=no
22267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22268 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22269 echo "${ECHO_T}$ac_header_compiler" >&6
22271 # Is the header present?
22272 echo "$as_me:$LINENO: checking expat.h presence" >&5
22273 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
22274 cat >conftest.
$ac_ext <<_ACEOF
22277 cat confdefs.h
>>conftest.
$ac_ext
22278 cat >>conftest.
$ac_ext <<_ACEOF
22279 /* end confdefs.h. */
22282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22283 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22285 grep -v '^ *+' conftest.er1
>conftest.err
22287 cat conftest.err
>&5
22288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22289 (exit $ac_status); } >/dev
/null
; then
22290 if test -s conftest.err
; then
22291 ac_cpp_err
=$ac_c_preproc_warn_flag
22292 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22299 if test -z "$ac_cpp_err"; then
22300 ac_header_preproc
=yes
22302 echo "$as_me: failed program was:" >&5
22303 sed 's/^/| /' conftest.
$ac_ext >&5
22305 ac_header_preproc
=no
22307 rm -f conftest.err conftest.
$ac_ext
22308 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22309 echo "${ECHO_T}$ac_header_preproc" >&6
22311 # So? What about this header?
22312 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22314 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
22315 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22316 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
22317 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
22318 ac_header_preproc
=yes
22321 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
22322 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
22323 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
22324 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
22325 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
22326 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
22327 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
22328 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
22329 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
22330 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
22331 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
22332 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
22335 ## ----------------------------------------- ##
22336 ## Report this to wx-dev@lists.wxwidgets.org ##
22337 ## ----------------------------------------- ##
22340 sed "s/^/$as_me: WARNING: /" >&2
22343 echo "$as_me:$LINENO: checking for expat.h" >&5
22344 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
22345 if test "${ac_cv_header_expat_h+set}" = set; then
22346 echo $ECHO_N "(cached) $ECHO_C" >&6
22348 ac_cv_header_expat_h
=$ac_header_preproc
22350 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
22351 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
22354 if test $ac_cv_header_expat_h = yes; then
22359 if test "x$found_expat_h" = "x1"; then
22360 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
22361 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
22362 if test "${wx_cv_expat_is_not_broken+set}" = set; then
22363 echo $ECHO_N "(cached) $ECHO_C" >&6
22369 ac_cpp
='$CXXCPP $CPPFLAGS'
22370 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22371 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22372 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22374 cat >conftest.
$ac_ext <<_ACEOF
22377 cat confdefs.h
>>conftest.
$ac_ext
22378 cat >>conftest.
$ac_ext <<_ACEOF
22379 /* end confdefs.h. */
22389 rm -f conftest.
$ac_objext
22390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22391 (eval $ac_compile) 2>conftest.er1
22393 grep -v '^ *+' conftest.er1
>conftest.err
22395 cat conftest.err
>&5
22396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22397 (exit $ac_status); } &&
22398 { ac_try
='test -z "$ac_cxx_werror_flag"
22399 || test ! -s conftest.err'
22400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22401 (eval $ac_try) 2>&5
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); }; } &&
22405 { ac_try
='test -s conftest.$ac_objext'
22406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22407 (eval $ac_try) 2>&5
22409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22410 (exit $ac_status); }; }; then
22411 wx_cv_expat_is_not_broken
=yes
22413 echo "$as_me: failed program was:" >&5
22414 sed 's/^/| /' conftest.
$ac_ext >&5
22416 wx_cv_expat_is_not_broken
=no
22419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22421 ac_cpp
='$CPP $CPPFLAGS'
22422 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22423 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22424 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22429 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
22430 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
22431 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22432 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
22433 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
22434 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
22435 echo $ECHO_N "(cached) $ECHO_C" >&6
22437 ac_check_lib_save_LIBS
=$LIBS
22438 LIBS
="-lexpat $LIBS"
22439 cat >conftest.
$ac_ext <<_ACEOF
22442 cat confdefs.h
>>conftest.
$ac_ext
22443 cat >>conftest.
$ac_ext <<_ACEOF
22444 /* end confdefs.h. */
22446 /* Override any gcc2 internal prototype to avoid an error. */
22450 /* We use char because int might match the return type of a gcc2
22451 builtin and then its argument prototype would still apply. */
22452 char XML_ParserCreate ();
22456 XML_ParserCreate ();
22461 rm -f conftest.
$ac_objext conftest
$ac_exeext
22462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22463 (eval $ac_link) 2>conftest.er1
22465 grep -v '^ *+' conftest.er1
>conftest.err
22467 cat conftest.err
>&5
22468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22469 (exit $ac_status); } &&
22470 { ac_try
='test -z "$ac_c_werror_flag"
22471 || test ! -s conftest.err'
22472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22473 (eval $ac_try) 2>&5
22475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22476 (exit $ac_status); }; } &&
22477 { ac_try
='test -s conftest$ac_exeext'
22478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22479 (eval $ac_try) 2>&5
22481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22482 (exit $ac_status); }; }; then
22483 ac_cv_lib_expat_XML_ParserCreate
=yes
22485 echo "$as_me: failed program was:" >&5
22486 sed 's/^/| /' conftest.
$ac_ext >&5
22488 ac_cv_lib_expat_XML_ParserCreate
=no
22490 rm -f conftest.err conftest.
$ac_objext \
22491 conftest
$ac_exeext conftest.
$ac_ext
22492 LIBS
=$ac_check_lib_save_LIBS
22494 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22495 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
22496 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
22497 EXPAT_LINK
=" -lexpat"
22502 if test "x$EXPAT_LINK" = "x" ; then
22503 if test "$wxUSE_EXPAT" = "sys" ; then
22504 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
22505 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
22506 { (exit 1); exit 1; }; }
22508 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
22509 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22510 wxUSE_EXPAT
=builtin
22516 if test "$wxUSE_EXPAT" = "builtin" ; then
22519 subdirs
="$subdirs src/expat"
22526 if test "$wxUSE_LIBMSPACK" != "no"; then
22527 if test "${ac_cv_header_mspack_h+set}" = set; then
22528 echo "$as_me:$LINENO: checking for mspack.h" >&5
22529 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22530 if test "${ac_cv_header_mspack_h+set}" = set; then
22531 echo $ECHO_N "(cached) $ECHO_C" >&6
22533 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22534 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22536 # Is the header compilable?
22537 echo "$as_me:$LINENO: checking mspack.h usability" >&5
22538 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
22539 cat >conftest.
$ac_ext <<_ACEOF
22542 cat confdefs.h
>>conftest.
$ac_ext
22543 cat >>conftest.
$ac_ext <<_ACEOF
22544 /* end confdefs.h. */
22545 $ac_includes_default
22546 #include <mspack.h>
22548 rm -f conftest.
$ac_objext
22549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22550 (eval $ac_compile) 2>conftest.er1
22552 grep -v '^ *+' conftest.er1
>conftest.err
22554 cat conftest.err
>&5
22555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22556 (exit $ac_status); } &&
22557 { ac_try
='test -z "$ac_c_werror_flag"
22558 || test ! -s conftest.err'
22559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22560 (eval $ac_try) 2>&5
22562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563 (exit $ac_status); }; } &&
22564 { ac_try
='test -s conftest.$ac_objext'
22565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22566 (eval $ac_try) 2>&5
22568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22569 (exit $ac_status); }; }; then
22570 ac_header_compiler
=yes
22572 echo "$as_me: failed program was:" >&5
22573 sed 's/^/| /' conftest.
$ac_ext >&5
22575 ac_header_compiler
=no
22577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22578 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22579 echo "${ECHO_T}$ac_header_compiler" >&6
22581 # Is the header present?
22582 echo "$as_me:$LINENO: checking mspack.h presence" >&5
22583 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
22584 cat >conftest.
$ac_ext <<_ACEOF
22587 cat confdefs.h
>>conftest.
$ac_ext
22588 cat >>conftest.
$ac_ext <<_ACEOF
22589 /* end confdefs.h. */
22590 #include <mspack.h>
22592 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22593 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22595 grep -v '^ *+' conftest.er1
>conftest.err
22597 cat conftest.err
>&5
22598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22599 (exit $ac_status); } >/dev
/null
; then
22600 if test -s conftest.err
; then
22601 ac_cpp_err
=$ac_c_preproc_warn_flag
22602 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22609 if test -z "$ac_cpp_err"; then
22610 ac_header_preproc
=yes
22612 echo "$as_me: failed program was:" >&5
22613 sed 's/^/| /' conftest.
$ac_ext >&5
22615 ac_header_preproc
=no
22617 rm -f conftest.err conftest.
$ac_ext
22618 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22619 echo "${ECHO_T}$ac_header_preproc" >&6
22621 # So? What about this header?
22622 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22624 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22625 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22626 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22627 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22628 ac_header_preproc
=yes
22631 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22632 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
22633 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22634 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22635 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22636 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22637 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22638 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
22639 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22640 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
22641 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22642 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
22645 ## ----------------------------------------- ##
22646 ## Report this to wx-dev@lists.wxwidgets.org ##
22647 ## ----------------------------------------- ##
22650 sed "s/^/$as_me: WARNING: /" >&2
22653 echo "$as_me:$LINENO: checking for mspack.h" >&5
22654 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22655 if test "${ac_cv_header_mspack_h+set}" = set; then
22656 echo $ECHO_N "(cached) $ECHO_C" >&6
22658 ac_cv_header_mspack_h
=$ac_header_preproc
22660 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22661 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22664 if test $ac_cv_header_mspack_h = yes; then
22669 if test "x$found_mspack_h" = "x1"; then
22670 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22671 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22672 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22673 echo $ECHO_N "(cached) $ECHO_C" >&6
22675 ac_check_lib_save_LIBS
=$LIBS
22676 LIBS
="-lmspack $LIBS"
22677 cat >conftest.
$ac_ext <<_ACEOF
22680 cat confdefs.h
>>conftest.
$ac_ext
22681 cat >>conftest.
$ac_ext <<_ACEOF
22682 /* end confdefs.h. */
22684 /* Override any gcc2 internal prototype to avoid an error. */
22688 /* We use char because int might match the return type of a gcc2
22689 builtin and then its argument prototype would still apply. */
22690 char mspack_create_chm_decompressor ();
22694 mspack_create_chm_decompressor ();
22699 rm -f conftest.
$ac_objext conftest
$ac_exeext
22700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22701 (eval $ac_link) 2>conftest.er1
22703 grep -v '^ *+' conftest.er1
>conftest.err
22705 cat conftest.err
>&5
22706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22707 (exit $ac_status); } &&
22708 { ac_try
='test -z "$ac_c_werror_flag"
22709 || test ! -s conftest.err'
22710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22711 (eval $ac_try) 2>&5
22713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22714 (exit $ac_status); }; } &&
22715 { ac_try
='test -s conftest$ac_exeext'
22716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22717 (eval $ac_try) 2>&5
22719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22720 (exit $ac_status); }; }; then
22721 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
22723 echo "$as_me: failed program was:" >&5
22724 sed 's/^/| /' conftest.
$ac_ext >&5
22726 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
22728 rm -f conftest.err conftest.
$ac_objext \
22729 conftest
$ac_exeext conftest.
$ac_ext
22730 LIBS
=$ac_check_lib_save_LIBS
22732 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22733 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22734 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22735 MSPACK_LINK
=" -lmspack"
22739 if test "x$MSPACK_LINK" = "x" ; then
22744 if test "$wxUSE_LIBMSPACK" != "no"; then
22745 cat >>confdefs.h
<<\_ACEOF
22746 #define wxUSE_LIBMSPACK 1
22760 if test "$USE_WIN32" = 1 ; then
22762 for ac_header
in w32api.h
22764 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22766 echo "$as_me:$LINENO: checking for $ac_header" >&5
22767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22769 echo $ECHO_N "(cached) $ECHO_C" >&6
22771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22772 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22774 # Is the header compilable?
22775 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22776 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22777 cat >conftest.
$ac_ext <<_ACEOF
22780 cat confdefs.h
>>conftest.
$ac_ext
22781 cat >>conftest.
$ac_ext <<_ACEOF
22782 /* end confdefs.h. */
22783 $ac_includes_default
22784 #include <$ac_header>
22786 rm -f conftest.
$ac_objext
22787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22788 (eval $ac_compile) 2>conftest.er1
22790 grep -v '^ *+' conftest.er1
>conftest.err
22792 cat conftest.err
>&5
22793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22794 (exit $ac_status); } &&
22795 { ac_try
='test -z "$ac_c_werror_flag"
22796 || test ! -s conftest.err'
22797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22798 (eval $ac_try) 2>&5
22800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22801 (exit $ac_status); }; } &&
22802 { ac_try
='test -s conftest.$ac_objext'
22803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22804 (eval $ac_try) 2>&5
22806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22807 (exit $ac_status); }; }; then
22808 ac_header_compiler
=yes
22810 echo "$as_me: failed program was:" >&5
22811 sed 's/^/| /' conftest.
$ac_ext >&5
22813 ac_header_compiler
=no
22815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22816 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22817 echo "${ECHO_T}$ac_header_compiler" >&6
22819 # Is the header present?
22820 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22821 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22822 cat >conftest.
$ac_ext <<_ACEOF
22825 cat confdefs.h
>>conftest.
$ac_ext
22826 cat >>conftest.
$ac_ext <<_ACEOF
22827 /* end confdefs.h. */
22828 #include <$ac_header>
22830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22831 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22833 grep -v '^ *+' conftest.er1
>conftest.err
22835 cat conftest.err
>&5
22836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22837 (exit $ac_status); } >/dev
/null
; then
22838 if test -s conftest.err
; then
22839 ac_cpp_err
=$ac_c_preproc_warn_flag
22840 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22847 if test -z "$ac_cpp_err"; then
22848 ac_header_preproc
=yes
22850 echo "$as_me: failed program was:" >&5
22851 sed 's/^/| /' conftest.
$ac_ext >&5
22853 ac_header_preproc
=no
22855 rm -f conftest.err conftest.
$ac_ext
22856 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22857 echo "${ECHO_T}$ac_header_preproc" >&6
22859 # So? What about this header?
22860 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22862 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22863 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22864 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22865 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22866 ac_header_preproc
=yes
22869 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22870 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22871 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22872 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22873 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22874 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22875 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22876 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22878 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22879 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22880 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22883 ## ----------------------------------------- ##
22884 ## Report this to wx-dev@lists.wxwidgets.org ##
22885 ## ----------------------------------------- ##
22888 sed "s/^/$as_me: WARNING: /" >&2
22891 echo "$as_me:$LINENO: checking for $ac_header" >&5
22892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22894 echo $ECHO_N "(cached) $ECHO_C" >&6
22896 eval "$as_ac_Header=\$ac_header_preproc"
22898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22899 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22902 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22903 cat >>confdefs.h
<<_ACEOF
22904 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22911 if test "${ac_cv_header_windows_h+set}" = set; then
22912 echo "$as_me:$LINENO: checking for windows.h" >&5
22913 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22914 if test "${ac_cv_header_windows_h+set}" = set; then
22915 echo $ECHO_N "(cached) $ECHO_C" >&6
22917 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22918 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22920 # Is the header compilable?
22921 echo "$as_me:$LINENO: checking windows.h usability" >&5
22922 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22923 cat >conftest.
$ac_ext <<_ACEOF
22926 cat confdefs.h
>>conftest.
$ac_ext
22927 cat >>conftest.
$ac_ext <<_ACEOF
22928 /* end confdefs.h. */
22929 $ac_includes_default
22930 #include <windows.h>
22932 rm -f conftest.
$ac_objext
22933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22934 (eval $ac_compile) 2>conftest.er1
22936 grep -v '^ *+' conftest.er1
>conftest.err
22938 cat conftest.err
>&5
22939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22940 (exit $ac_status); } &&
22941 { ac_try
='test -z "$ac_c_werror_flag"
22942 || test ! -s conftest.err'
22943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22944 (eval $ac_try) 2>&5
22946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22947 (exit $ac_status); }; } &&
22948 { ac_try
='test -s conftest.$ac_objext'
22949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22950 (eval $ac_try) 2>&5
22952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22953 (exit $ac_status); }; }; then
22954 ac_header_compiler
=yes
22956 echo "$as_me: failed program was:" >&5
22957 sed 's/^/| /' conftest.
$ac_ext >&5
22959 ac_header_compiler
=no
22961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22962 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22963 echo "${ECHO_T}$ac_header_compiler" >&6
22965 # Is the header present?
22966 echo "$as_me:$LINENO: checking windows.h presence" >&5
22967 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22968 cat >conftest.
$ac_ext <<_ACEOF
22971 cat confdefs.h
>>conftest.
$ac_ext
22972 cat >>conftest.
$ac_ext <<_ACEOF
22973 /* end confdefs.h. */
22974 #include <windows.h>
22976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22977 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22979 grep -v '^ *+' conftest.er1
>conftest.err
22981 cat conftest.err
>&5
22982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983 (exit $ac_status); } >/dev
/null
; then
22984 if test -s conftest.err
; then
22985 ac_cpp_err
=$ac_c_preproc_warn_flag
22986 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22993 if test -z "$ac_cpp_err"; then
22994 ac_header_preproc
=yes
22996 echo "$as_me: failed program was:" >&5
22997 sed 's/^/| /' conftest.
$ac_ext >&5
22999 ac_header_preproc
=no
23001 rm -f conftest.err conftest.
$ac_ext
23002 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23003 echo "${ECHO_T}$ac_header_preproc" >&6
23005 # So? What about this header?
23006 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23008 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
23009 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23010 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
23011 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
23012 ac_header_preproc
=yes
23015 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
23016 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
23017 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
23018 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
23019 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
23020 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
23021 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
23022 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
23023 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
23024 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
23025 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
23026 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
23029 ## ----------------------------------------- ##
23030 ## Report this to wx-dev@lists.wxwidgets.org ##
23031 ## ----------------------------------------- ##
23034 sed "s/^/$as_me: WARNING: /" >&2
23037 echo "$as_me:$LINENO: checking for windows.h" >&5
23038 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
23039 if test "${ac_cv_header_windows_h+set}" = set; then
23040 echo $ECHO_N "(cached) $ECHO_C" >&6
23042 ac_cv_header_windows_h
=$ac_header_preproc
23044 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
23045 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
23048 if test $ac_cv_header_windows_h = yes; then
23052 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
23053 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
23054 { (exit 1); exit 1; }; }
23060 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
23062 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23063 LIBS
="$LIBS -loleacc"
23068 LIBS
="$LIBS -lkernel32 -luser32"
23069 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
23072 if test "$wxUSE_ODBC" = "sys" ; then
23075 if test "$wxUSE_ODBC" = "yes" ; then
23076 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
23077 cat >>confdefs.h
<<\_ACEOF
23078 #define wxUSE_ODBC 1
23083 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
23084 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
23086 WIN32INSTALL
=win32install
23089 if test "$wxUSE_GUI" = "yes"; then
23099 if test "$wxUSE_COCOA" = 1 ; then
23100 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23101 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23102 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23103 wxUSE_PRINTING_ARCHITECTURE
=no
23105 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23106 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23107 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23108 wxUSE_DRAG_AND_DROP
=no
23110 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23111 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
23112 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
23117 if test "$wxUSE_MSW" = 1 ; then
23123 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23127 if test "$wxUSE_GTK" = 1; then
23128 echo "$as_me:$LINENO: checking for GTK+ version" >&5
23129 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
23131 gtk_version_cached
=1
23132 if test "${wx_cv_lib_gtk+set}" = set; then
23133 echo $ECHO_N "(cached) $ECHO_C" >&6
23136 gtk_version_cached
=0
23137 echo "$as_me:$LINENO: result: " >&5
23138 echo "${ECHO_T}" >&6
23141 if test "$wxUSE_THREADS" = "yes"; then
23142 GTK_MODULES
=gthread
23146 if test "x$wxUSE_GTK2" = "xyes"; then
23147 # Check whether --enable-gtktest or --disable-gtktest was given.
23148 if test "${enable_gtktest+set}" = set; then
23149 enableval
="$enable_gtktest"
23155 pkg_config_args
=gtk
+-2.0
23156 for module
in .
$GTK_MODULES
23160 pkg_config_args
="$pkg_config_args gthread-2.0"
23167 # Extract the first word of "pkg-config", so it can be a program name with args.
23168 set dummy pkg
-config; ac_word
=$2
23169 echo "$as_me:$LINENO: checking for $ac_word" >&5
23170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23171 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23172 echo $ECHO_N "(cached) $ECHO_C" >&6
23174 case $PKG_CONFIG in
23176 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23180 for as_dir
in $PATH
23183 test -z "$as_dir" && as_dir
=.
23184 for ac_exec_ext
in '' $ac_executable_extensions; do
23185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23186 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23193 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23197 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23199 if test -n "$PKG_CONFIG"; then
23200 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23201 echo "${ECHO_T}$PKG_CONFIG" >&6
23203 echo "$as_me:$LINENO: result: no" >&5
23204 echo "${ECHO_T}no" >&6
23208 if test x
$PKG_CONFIG != xno
; then
23209 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
23212 echo "*** pkg-config too old; version 0.7 or better required."
23220 min_gtk_version
=2.0.0
23221 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
23222 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
23224 if test x
$PKG_CONFIG != xno
; then
23225 ## don't try to run the test against uninstalled libtool libs
23226 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23227 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23231 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23238 if test x
"$no_gtk" = x
; then
23239 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23240 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23241 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23242 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23243 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23244 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23245 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23246 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23247 if test "x$enable_gtktest" = "xyes" ; then
23248 ac_save_CFLAGS
="$CFLAGS"
23249 ac_save_LIBS
="$LIBS"
23250 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23251 LIBS
="$GTK_LIBS $LIBS"
23253 if test "$cross_compiling" = yes; then
23254 echo $ac_n "cross compiling; assumed OK... $ac_c"
23256 cat >conftest.
$ac_ext <<_ACEOF
23259 cat confdefs.h
>>conftest.
$ac_ext
23260 cat >>conftest.
$ac_ext <<_ACEOF
23261 /* end confdefs.h. */
23263 #include <gtk/gtk.h>
23265 #include <stdlib.h>
23270 int major, minor, micro;
23273 system ("touch conf.gtktest");
23275 /* HP/UX 9 (%@#!) writes to sscanf strings */
23276 tmp_version = g_strdup("$min_gtk_version");
23277 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23278 printf("%s, bad version string\n", "$min_gtk_version");
23282 if ((gtk_major_version != $gtk_config_major_version) ||
23283 (gtk_minor_version != $gtk_config_minor_version) ||
23284 (gtk_micro_version != $gtk_config_micro_version))
23286 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23287 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23288 gtk_major_version, gtk_minor_version, gtk_micro_version);
23289 printf ("*** was found! If pkg-config was correct, then it is best\n");
23290 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23291 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23292 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23293 printf("*** required on your system.\n");
23294 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23295 printf("*** to point to the correct configuration files\n");
23297 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23298 (gtk_minor_version != GTK_MINOR_VERSION) ||
23299 (gtk_micro_version != GTK_MICRO_VERSION))
23301 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23302 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23303 printf("*** library (version %d.%d.%d)\n",
23304 gtk_major_version, gtk_minor_version, gtk_micro_version);
23308 if ((gtk_major_version > major) ||
23309 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23310 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23316 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23317 gtk_major_version, gtk_minor_version, gtk_micro_version);
23318 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23319 major, minor, micro);
23320 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23322 printf("*** If you have already installed a sufficiently new version, this error\n");
23323 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23324 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23325 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23326 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23327 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23328 printf("*** so that the correct libraries are found at run-time))\n");
23335 rm -f conftest
$ac_exeext
23336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23337 (eval $ac_link) 2>&5
23339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23342 (eval $ac_try) 2>&5
23344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23345 (exit $ac_status); }; }; then
23348 echo "$as_me: program exited with status $ac_status" >&5
23349 echo "$as_me: failed program was:" >&5
23350 sed 's/^/| /' conftest.
$ac_ext >&5
23352 ( exit $ac_status )
23355 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23357 CFLAGS
="$ac_save_CFLAGS"
23358 LIBS
="$ac_save_LIBS"
23361 if test "x$no_gtk" = x
; then
23362 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23363 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
23366 echo "$as_me:$LINENO: result: no" >&5
23367 echo "${ECHO_T}no" >&6
23368 if test "$PKG_CONFIG" = "no" ; then
23369 echo "*** A new enough version of pkg-config was not found."
23370 echo "*** See http://pkgconfig.sourceforge.net"
23372 if test -f conf.gtktest
; then
23375 echo "*** Could not run GTK+ test program, checking why..."
23376 ac_save_CFLAGS
="$CFLAGS"
23377 ac_save_LIBS
="$LIBS"
23378 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23379 LIBS
="$LIBS $GTK_LIBS"
23380 cat >conftest.
$ac_ext <<_ACEOF
23383 cat confdefs.h
>>conftest.
$ac_ext
23384 cat >>conftest.
$ac_ext <<_ACEOF
23385 /* end confdefs.h. */
23387 #include <gtk/gtk.h>
23393 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23398 rm -f conftest.
$ac_objext conftest
$ac_exeext
23399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23400 (eval $ac_link) 2>conftest.er1
23402 grep -v '^ *+' conftest.er1
>conftest.err
23404 cat conftest.err
>&5
23405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23406 (exit $ac_status); } &&
23407 { ac_try
='test -z "$ac_c_werror_flag"
23408 || test ! -s conftest.err'
23409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23410 (eval $ac_try) 2>&5
23412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23413 (exit $ac_status); }; } &&
23414 { ac_try
='test -s conftest$ac_exeext'
23415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23416 (eval $ac_try) 2>&5
23418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23419 (exit $ac_status); }; }; then
23420 echo "*** The test program compiled, but did not run. This usually means"
23421 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23422 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23423 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23424 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23425 echo "*** is required on your system"
23427 echo "*** If you have an old version installed, it is best to remove it, although"
23428 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23430 echo "$as_me: failed program was:" >&5
23431 sed 's/^/| /' conftest.
$ac_ext >&5
23433 echo "*** The test program failed to compile or link. See the file config.log for the"
23434 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23436 rm -f conftest.err conftest.
$ac_objext \
23437 conftest
$ac_exeext conftest.
$ac_ext
23438 CFLAGS
="$ac_save_CFLAGS"
23439 LIBS
="$ac_save_LIBS"
23452 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23453 if test "${with_gtk_prefix+set}" = set; then
23454 withval
="$with_gtk_prefix"
23455 gtk_config_prefix
="$withval"
23457 gtk_config_prefix
=""
23460 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23461 if test "${with_gtk_exec_prefix+set}" = set; then
23462 withval
="$with_gtk_exec_prefix"
23463 gtk_config_exec_prefix
="$withval"
23465 gtk_config_exec_prefix
=""
23467 # Check whether --enable-gtktest or --disable-gtktest was given.
23468 if test "${enable_gtktest+set}" = set; then
23469 enableval
="$enable_gtktest"
23475 for module
in .
$GTK_MODULES
23479 gtk_config_args
="$gtk_config_args gthread"
23484 if test x
$gtk_config_exec_prefix != x
; then
23485 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23486 if test x
${GTK_CONFIG+set} != xset
; then
23487 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23490 if test x
$gtk_config_prefix != x
; then
23491 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23492 if test x
${GTK_CONFIG+set} != xset
; then
23493 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23497 # Extract the first word of "gtk-config", so it can be a program name with args.
23498 set dummy gtk
-config; ac_word
=$2
23499 echo "$as_me:$LINENO: checking for $ac_word" >&5
23500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23501 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23502 echo $ECHO_N "(cached) $ECHO_C" >&6
23504 case $GTK_CONFIG in
23506 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23510 for as_dir
in $PATH
23513 test -z "$as_dir" && as_dir
=.
23514 for ac_exec_ext
in '' $ac_executable_extensions; do
23515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23516 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23523 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23527 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23529 if test -n "$GTK_CONFIG"; then
23530 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23531 echo "${ECHO_T}$GTK_CONFIG" >&6
23533 echo "$as_me:$LINENO: result: no" >&5
23534 echo "${ECHO_T}no" >&6
23537 min_gtk_version
=1.2.7
23538 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23539 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23541 if test "$GTK_CONFIG" = "no" ; then
23544 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23545 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23546 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23547 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23548 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23549 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23550 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23551 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23552 if test "x$enable_gtktest" = "xyes" ; then
23553 ac_save_CFLAGS
="$CFLAGS"
23554 ac_save_LIBS
="$LIBS"
23555 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23556 LIBS
="$GTK_LIBS $LIBS"
23558 if test "$cross_compiling" = yes; then
23559 echo $ac_n "cross compiling; assumed OK... $ac_c"
23561 cat >conftest.
$ac_ext <<_ACEOF
23564 cat confdefs.h
>>conftest.
$ac_ext
23565 cat >>conftest.
$ac_ext <<_ACEOF
23566 /* end confdefs.h. */
23568 #include <gtk/gtk.h>
23570 #include <stdlib.h>
23575 int major, minor, micro;
23578 system ("touch conf.gtktest");
23580 /* HP/UX 9 (%@#!) writes to sscanf strings */
23581 tmp_version = g_strdup("$min_gtk_version");
23582 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23583 printf("%s, bad version string\n", "$min_gtk_version");
23587 if ((gtk_major_version != $gtk_config_major_version) ||
23588 (gtk_minor_version != $gtk_config_minor_version) ||
23589 (gtk_micro_version != $gtk_config_micro_version))
23591 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23592 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23593 gtk_major_version, gtk_minor_version, gtk_micro_version);
23594 printf ("*** was found! If gtk-config was correct, then it is best\n");
23595 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23596 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23597 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23598 printf("*** required on your system.\n");
23599 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23600 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23601 printf("*** before re-running configure\n");
23603 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23604 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23605 (gtk_minor_version != GTK_MINOR_VERSION) ||
23606 (gtk_micro_version != GTK_MICRO_VERSION))
23608 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23609 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23610 printf("*** library (version %d.%d.%d)\n",
23611 gtk_major_version, gtk_minor_version, gtk_micro_version);
23613 #endif /* defined (GTK_MAJOR_VERSION) ... */
23616 if ((gtk_major_version > major) ||
23617 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23618 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23624 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23625 gtk_major_version, gtk_minor_version, gtk_micro_version);
23626 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23627 major, minor, micro);
23628 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23630 printf("*** If you have already installed a sufficiently new version, this error\n");
23631 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23632 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23633 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23634 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23635 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23636 printf("*** so that the correct libraries are found at run-time))\n");
23643 rm -f conftest
$ac_exeext
23644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23645 (eval $ac_link) 2>&5
23647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23648 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23650 (eval $ac_try) 2>&5
23652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653 (exit $ac_status); }; }; then
23656 echo "$as_me: program exited with status $ac_status" >&5
23657 echo "$as_me: failed program was:" >&5
23658 sed 's/^/| /' conftest.
$ac_ext >&5
23660 ( exit $ac_status )
23663 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23665 CFLAGS
="$ac_save_CFLAGS"
23666 LIBS
="$ac_save_LIBS"
23669 if test "x$no_gtk" = x
; then
23670 echo "$as_me:$LINENO: result: yes" >&5
23671 echo "${ECHO_T}yes" >&6
23672 wx_cv_lib_gtk
=1.2.7
23674 echo "$as_me:$LINENO: result: no" >&5
23675 echo "${ECHO_T}no" >&6
23676 if test "$GTK_CONFIG" = "no" ; then
23677 echo "*** The gtk-config script installed by GTK could not be found"
23678 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23679 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23680 echo "*** full path to gtk-config."
23682 if test -f conf.gtktest
; then
23685 echo "*** Could not run GTK test program, checking why..."
23686 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23687 LIBS
="$LIBS $GTK_LIBS"
23688 cat >conftest.
$ac_ext <<_ACEOF
23691 cat confdefs.h
>>conftest.
$ac_ext
23692 cat >>conftest.
$ac_ext <<_ACEOF
23693 /* end confdefs.h. */
23695 #include <gtk/gtk.h>
23701 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23706 rm -f conftest.
$ac_objext conftest
$ac_exeext
23707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23708 (eval $ac_link) 2>conftest.er1
23710 grep -v '^ *+' conftest.er1
>conftest.err
23712 cat conftest.err
>&5
23713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23714 (exit $ac_status); } &&
23715 { ac_try
='test -z "$ac_c_werror_flag"
23716 || test ! -s conftest.err'
23717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23718 (eval $ac_try) 2>&5
23720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23721 (exit $ac_status); }; } &&
23722 { ac_try
='test -s conftest$ac_exeext'
23723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23724 (eval $ac_try) 2>&5
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); }; }; then
23728 echo "*** The test program compiled, but did not run. This usually means"
23729 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23730 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23731 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23732 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23733 echo "*** is required on your system"
23735 echo "*** If you have an old version installed, it is best to remove it, although"
23736 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23738 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23739 echo "*** came with the system with the command"
23741 echo "*** rpm --erase --nodeps gtk gtk-devel"
23743 echo "$as_me: failed program was:" >&5
23744 sed 's/^/| /' conftest.
$ac_ext >&5
23746 echo "*** The test program failed to compile or link. See the file config.log for the"
23747 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23748 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23749 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23751 rm -f conftest.err conftest.
$ac_objext \
23752 conftest
$ac_exeext conftest.
$ac_ext
23753 CFLAGS
="$ac_save_CFLAGS"
23754 LIBS
="$ac_save_LIBS"
23766 if test -z "$wx_cv_lib_gtk"; then
23768 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23769 if test "${with_gtk_prefix+set}" = set; then
23770 withval
="$with_gtk_prefix"
23771 gtk_config_prefix
="$withval"
23773 gtk_config_prefix
=""
23776 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23777 if test "${with_gtk_exec_prefix+set}" = set; then
23778 withval
="$with_gtk_exec_prefix"
23779 gtk_config_exec_prefix
="$withval"
23781 gtk_config_exec_prefix
=""
23783 # Check whether --enable-gtktest or --disable-gtktest was given.
23784 if test "${enable_gtktest+set}" = set; then
23785 enableval
="$enable_gtktest"
23791 for module
in .
$GTK_MODULES
23795 gtk_config_args
="$gtk_config_args gthread"
23800 if test x
$gtk_config_exec_prefix != x
; then
23801 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23802 if test x
${GTK_CONFIG+set} != xset
; then
23803 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23806 if test x
$gtk_config_prefix != x
; then
23807 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23808 if test x
${GTK_CONFIG+set} != xset
; then
23809 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23813 # Extract the first word of "gtk-config", so it can be a program name with args.
23814 set dummy gtk
-config; ac_word
=$2
23815 echo "$as_me:$LINENO: checking for $ac_word" >&5
23816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23817 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23818 echo $ECHO_N "(cached) $ECHO_C" >&6
23820 case $GTK_CONFIG in
23822 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23826 for as_dir
in $PATH
23829 test -z "$as_dir" && as_dir
=.
23830 for ac_exec_ext
in '' $ac_executable_extensions; do
23831 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23832 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23839 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23843 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23845 if test -n "$GTK_CONFIG"; then
23846 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23847 echo "${ECHO_T}$GTK_CONFIG" >&6
23849 echo "$as_me:$LINENO: result: no" >&5
23850 echo "${ECHO_T}no" >&6
23853 min_gtk_version
=1.2.3
23854 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23855 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23857 if test "$GTK_CONFIG" = "no" ; then
23860 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23861 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23862 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23863 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23864 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23865 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23866 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23867 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23868 if test "x$enable_gtktest" = "xyes" ; then
23869 ac_save_CFLAGS
="$CFLAGS"
23870 ac_save_LIBS
="$LIBS"
23871 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23872 LIBS
="$GTK_LIBS $LIBS"
23874 if test "$cross_compiling" = yes; then
23875 echo $ac_n "cross compiling; assumed OK... $ac_c"
23877 cat >conftest.
$ac_ext <<_ACEOF
23880 cat confdefs.h
>>conftest.
$ac_ext
23881 cat >>conftest.
$ac_ext <<_ACEOF
23882 /* end confdefs.h. */
23884 #include <gtk/gtk.h>
23886 #include <stdlib.h>
23891 int major, minor, micro;
23894 system ("touch conf.gtktest");
23896 /* HP/UX 9 (%@#!) writes to sscanf strings */
23897 tmp_version = g_strdup("$min_gtk_version");
23898 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23899 printf("%s, bad version string\n", "$min_gtk_version");
23903 if ((gtk_major_version != $gtk_config_major_version) ||
23904 (gtk_minor_version != $gtk_config_minor_version) ||
23905 (gtk_micro_version != $gtk_config_micro_version))
23907 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23908 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23909 gtk_major_version, gtk_minor_version, gtk_micro_version);
23910 printf ("*** was found! If gtk-config was correct, then it is best\n");
23911 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23912 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23913 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23914 printf("*** required on your system.\n");
23915 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23916 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23917 printf("*** before re-running configure\n");
23919 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23920 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23921 (gtk_minor_version != GTK_MINOR_VERSION) ||
23922 (gtk_micro_version != GTK_MICRO_VERSION))
23924 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23925 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23926 printf("*** library (version %d.%d.%d)\n",
23927 gtk_major_version, gtk_minor_version, gtk_micro_version);
23929 #endif /* defined (GTK_MAJOR_VERSION) ... */
23932 if ((gtk_major_version > major) ||
23933 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23934 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23940 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23941 gtk_major_version, gtk_minor_version, gtk_micro_version);
23942 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23943 major, minor, micro);
23944 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23946 printf("*** If you have already installed a sufficiently new version, this error\n");
23947 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23948 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23949 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23950 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23951 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23952 printf("*** so that the correct libraries are found at run-time))\n");
23959 rm -f conftest
$ac_exeext
23960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23961 (eval $ac_link) 2>&5
23963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23964 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23966 (eval $ac_try) 2>&5
23968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23969 (exit $ac_status); }; }; then
23972 echo "$as_me: program exited with status $ac_status" >&5
23973 echo "$as_me: failed program was:" >&5
23974 sed 's/^/| /' conftest.
$ac_ext >&5
23976 ( exit $ac_status )
23979 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23981 CFLAGS
="$ac_save_CFLAGS"
23982 LIBS
="$ac_save_LIBS"
23985 if test "x$no_gtk" = x
; then
23986 echo "$as_me:$LINENO: result: yes" >&5
23987 echo "${ECHO_T}yes" >&6
23988 wx_cv_lib_gtk
=1.2.3
23990 echo "$as_me:$LINENO: result: no" >&5
23991 echo "${ECHO_T}no" >&6
23992 if test "$GTK_CONFIG" = "no" ; then
23993 echo "*** The gtk-config script installed by GTK could not be found"
23994 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23995 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23996 echo "*** full path to gtk-config."
23998 if test -f conf.gtktest
; then
24001 echo "*** Could not run GTK test program, checking why..."
24002 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24003 LIBS
="$LIBS $GTK_LIBS"
24004 cat >conftest.
$ac_ext <<_ACEOF
24007 cat confdefs.h
>>conftest.
$ac_ext
24008 cat >>conftest.
$ac_ext <<_ACEOF
24009 /* end confdefs.h. */
24011 #include <gtk/gtk.h>
24017 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24022 rm -f conftest.
$ac_objext conftest
$ac_exeext
24023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24024 (eval $ac_link) 2>conftest.er1
24026 grep -v '^ *+' conftest.er1
>conftest.err
24028 cat conftest.err
>&5
24029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24030 (exit $ac_status); } &&
24031 { ac_try
='test -z "$ac_c_werror_flag"
24032 || test ! -s conftest.err'
24033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24034 (eval $ac_try) 2>&5
24036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24037 (exit $ac_status); }; } &&
24038 { ac_try
='test -s conftest$ac_exeext'
24039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24040 (eval $ac_try) 2>&5
24042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24043 (exit $ac_status); }; }; then
24044 echo "*** The test program compiled, but did not run. This usually means"
24045 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24046 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24047 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24048 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24049 echo "*** is required on your system"
24051 echo "*** If you have an old version installed, it is best to remove it, although"
24052 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24054 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24055 echo "*** came with the system with the command"
24057 echo "*** rpm --erase --nodeps gtk gtk-devel"
24059 echo "$as_me: failed program was:" >&5
24060 sed 's/^/| /' conftest.
$ac_ext >&5
24062 echo "*** The test program failed to compile or link. See the file config.log for the"
24063 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
24064 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24065 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24067 rm -f conftest.err conftest.
$ac_objext \
24068 conftest
$ac_exeext conftest.
$ac_ext
24069 CFLAGS
="$ac_save_CFLAGS"
24070 LIBS
="$ac_save_LIBS"
24084 if test -z "$wx_cv_lib_gtk"; then
24087 wx_cv_cflags_gtk
=$GTK_CFLAGS
24088 wx_cv_libs_gtk
=$GTK_LIBS
24095 if test "$gtk_version_cached" = 1; then
24096 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
24097 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
24100 case "$wx_cv_lib_gtk" in
24109 *) { { echo "$as_me:$LINENO: error:
24110 Please check that gtk-config is in path, the directory
24111 where GTK+ libraries are installed (returned by
24112 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
24113 equivalent variable and GTK+ is version 1.2.3 or above.
24115 echo "$as_me: error:
24116 Please check that gtk-config is in path, the directory
24117 where GTK+ libraries are installed (returned by
24118 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
24119 equivalent variable and GTK+ is version 1.2.3 or above.
24121 { (exit 1); exit 1; }; }
24125 if test "$WXGTK20" = 1; then
24126 save_CFLAGS
="$CFLAGS"
24128 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24129 LIBS
="$LIBS $GTK_LIBS"
24132 for ac_func
in pango_font_family_is_monospace
24134 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24135 echo "$as_me:$LINENO: checking for $ac_func" >&5
24136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24137 if eval "test \"\${$as_ac_var+set}\" = set"; then
24138 echo $ECHO_N "(cached) $ECHO_C" >&6
24140 cat >conftest.
$ac_ext <<_ACEOF
24143 cat confdefs.h
>>conftest.
$ac_ext
24144 cat >>conftest.
$ac_ext <<_ACEOF
24145 /* end confdefs.h. */
24146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24148 #define $ac_func innocuous_$ac_func
24150 /* System header to define __stub macros and hopefully few prototypes,
24151 which can conflict with char $ac_func (); below.
24152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24153 <limits.h> exists even on freestanding compilers. */
24156 # include <limits.h>
24158 # include <assert.h>
24163 /* Override any gcc2 internal prototype to avoid an error. */
24168 /* We use char because int might match the return type of a gcc2
24169 builtin and then its argument prototype would still apply. */
24171 /* The GNU C library defines this for functions which it implements
24172 to always fail with ENOSYS. Some functions are actually named
24173 something starting with __ and the normal name is an alias. */
24174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24177 char (*f) () = $ac_func;
24186 return f != $ac_func;
24191 rm -f conftest.
$ac_objext conftest
$ac_exeext
24192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24193 (eval $ac_link) 2>conftest.er1
24195 grep -v '^ *+' conftest.er1
>conftest.err
24197 cat conftest.err
>&5
24198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24199 (exit $ac_status); } &&
24200 { ac_try
='test -z "$ac_c_werror_flag"
24201 || test ! -s conftest.err'
24202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24203 (eval $ac_try) 2>&5
24205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24206 (exit $ac_status); }; } &&
24207 { ac_try
='test -s conftest$ac_exeext'
24208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24209 (eval $ac_try) 2>&5
24211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24212 (exit $ac_status); }; }; then
24213 eval "$as_ac_var=yes"
24215 echo "$as_me: failed program was:" >&5
24216 sed 's/^/| /' conftest.
$ac_ext >&5
24218 eval "$as_ac_var=no"
24220 rm -f conftest.err conftest.
$ac_objext \
24221 conftest
$ac_exeext conftest.
$ac_ext
24223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24225 if test `eval echo '${'$as_ac_var'}'` = yes; then
24226 cat >>confdefs.h
<<_ACEOF
24227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24234 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
24235 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
24236 cat >conftest.
$ac_ext <<_ACEOF
24239 cat confdefs.h
>>conftest.
$ac_ext
24240 cat >>conftest.
$ac_ext <<_ACEOF
24241 /* end confdefs.h. */
24243 #include <gtk/gtk.h>
24249 #if !GTK_CHECK_VERSION(2,4,0)
24250 #error "Not GTK+ 2.4"
24257 rm -f conftest.
$ac_objext
24258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24259 (eval $ac_compile) 2>conftest.er1
24261 grep -v '^ *+' conftest.er1
>conftest.err
24263 cat conftest.err
>&5
24264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24265 (exit $ac_status); } &&
24266 { ac_try
='test -z "$ac_c_werror_flag"
24267 || test ! -s conftest.err'
24268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24269 (eval $ac_try) 2>&5
24271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24272 (exit $ac_status); }; } &&
24273 { ac_try
='test -s conftest.$ac_objext'
24274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24275 (eval $ac_try) 2>&5
24277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24278 (exit $ac_status); }; }; then
24280 cat >>confdefs.h
<<\_ACEOF
24281 #define __WXGTK24__ 1
24284 echo "$as_me:$LINENO: result: yes" >&5
24285 echo "${ECHO_T}yes" >&6
24288 echo "$as_me: failed program was:" >&5
24289 sed 's/^/| /' conftest.
$ac_ext >&5
24292 echo "$as_me:$LINENO: result: no" >&5
24293 echo "${ECHO_T}no" >&6
24296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24298 CFLAGS
="$save_CFLAGS"
24301 if test "$wxUSE_UNICODE" = "yes"; then
24302 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24303 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24308 if test "$USE_DARWIN" != 1; then
24310 for ac_func
in poll
24312 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24313 echo "$as_me:$LINENO: checking for $ac_func" >&5
24314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24315 if eval "test \"\${$as_ac_var+set}\" = set"; then
24316 echo $ECHO_N "(cached) $ECHO_C" >&6
24318 cat >conftest.
$ac_ext <<_ACEOF
24321 cat confdefs.h
>>conftest.
$ac_ext
24322 cat >>conftest.
$ac_ext <<_ACEOF
24323 /* end confdefs.h. */
24324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24326 #define $ac_func innocuous_$ac_func
24328 /* System header to define __stub macros and hopefully few prototypes,
24329 which can conflict with char $ac_func (); below.
24330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24331 <limits.h> exists even on freestanding compilers. */
24334 # include <limits.h>
24336 # include <assert.h>
24341 /* Override any gcc2 internal prototype to avoid an error. */
24346 /* We use char because int might match the return type of a gcc2
24347 builtin and then its argument prototype would still apply. */
24349 /* The GNU C library defines this for functions which it implements
24350 to always fail with ENOSYS. Some functions are actually named
24351 something starting with __ and the normal name is an alias. */
24352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24355 char (*f) () = $ac_func;
24364 return f != $ac_func;
24369 rm -f conftest.
$ac_objext conftest
$ac_exeext
24370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24371 (eval $ac_link) 2>conftest.er1
24373 grep -v '^ *+' conftest.er1
>conftest.err
24375 cat conftest.err
>&5
24376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24377 (exit $ac_status); } &&
24378 { ac_try
='test -z "$ac_c_werror_flag"
24379 || test ! -s conftest.err'
24380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24381 (eval $ac_try) 2>&5
24383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24384 (exit $ac_status); }; } &&
24385 { ac_try
='test -s conftest$ac_exeext'
24386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24387 (eval $ac_try) 2>&5
24389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24390 (exit $ac_status); }; }; then
24391 eval "$as_ac_var=yes"
24393 echo "$as_me: failed program was:" >&5
24394 sed 's/^/| /' conftest.
$ac_ext >&5
24396 eval "$as_ac_var=no"
24398 rm -f conftest.err conftest.
$ac_objext \
24399 conftest
$ac_exeext conftest.
$ac_ext
24401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24403 if test `eval echo '${'$as_ac_var'}'` = yes; then
24404 cat >>confdefs.h
<<_ACEOF
24405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24413 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
24414 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24416 AFMINSTALL
=afminstall
24420 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
24421 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
24422 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
24423 echo $ECHO_N "(cached) $ECHO_C" >&6
24425 ac_check_lib_save_LIBS
=$LIBS
24427 cat >conftest.
$ac_ext <<_ACEOF
24430 cat confdefs.h
>>conftest.
$ac_ext
24431 cat >>conftest.
$ac_ext <<_ACEOF
24432 /* end confdefs.h. */
24434 /* Override any gcc2 internal prototype to avoid an error. */
24438 /* We use char because int might match the return type of a gcc2
24439 builtin and then its argument prototype would still apply. */
24440 char gdk_im_open ();
24449 rm -f conftest.
$ac_objext conftest
$ac_exeext
24450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24451 (eval $ac_link) 2>conftest.er1
24453 grep -v '^ *+' conftest.er1
>conftest.err
24455 cat conftest.err
>&5
24456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24457 (exit $ac_status); } &&
24458 { ac_try
='test -z "$ac_c_werror_flag"
24459 || test ! -s conftest.err'
24460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24461 (eval $ac_try) 2>&5
24463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24464 (exit $ac_status); }; } &&
24465 { ac_try
='test -s conftest$ac_exeext'
24466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24467 (eval $ac_try) 2>&5
24469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24470 (exit $ac_status); }; }; then
24471 ac_cv_lib_gdk_gdk_im_open
=yes
24473 echo "$as_me: failed program was:" >&5
24474 sed 's/^/| /' conftest.
$ac_ext >&5
24476 ac_cv_lib_gdk_gdk_im_open
=no
24478 rm -f conftest.err conftest.
$ac_objext \
24479 conftest
$ac_exeext conftest.
$ac_ext
24480 LIBS
=$ac_check_lib_save_LIBS
24482 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24483 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
24484 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
24485 cat >>confdefs.h
<<\_ACEOF
24493 if test "$wxUSE_GPE" = "yes"; then
24494 echo "$as_me:$LINENO: checking for gpewidget library" >&5
24495 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
24498 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24500 for ac_extension
in a so sl dylib
; do
24501 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24502 ac_find_libraries
=$ac_dir
24508 if test "$ac_find_libraries" != "" ; then
24510 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24512 if test $result = 0; then
24515 ac_path_to_link
=" -L$ac_find_libraries"
24518 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24520 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24521 echo "${ECHO_T}found at $ac_find_libraries" >&6
24523 echo "$as_me:$LINENO: result: not found" >&5
24524 echo "${ECHO_T}not found" >&6
24530 if test "$wxUSE_MGL" = 1; then
24531 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
24532 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
24533 if test "x$MGL_ROOT" = x
; then
24534 echo "$as_me:$LINENO: result: not found" >&5
24535 echo "${ECHO_T}not found" >&6
24536 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
24537 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
24538 { (exit 1); exit 1; }; }
24540 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
24541 echo "${ECHO_T}$MGL_ROOT" >&6
24544 echo "$as_me:$LINENO: checking for libmgl location" >&5
24545 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
24548 if test "x$wxUSE_SHARED" = xyes
; then
24549 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
24551 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
24555 mgl_os_candidates
="dos32/dj2"
24558 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
24559 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
24560 { (exit 1); exit 1; }; }
24566 for mgl_os_i
in $mgl_os_candidates ; do
24567 if test "x$mgl_os" = x
; then
24568 if test "$wxUSE_DEBUG_FLAG" = yes ; then
24569 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
24570 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
24575 if test "x$mgl_lib_type" = x
; then
24576 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
24577 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
24578 mgl_lib_type
=release
24585 if test "x$mgl_os" = x
; then
24586 echo "$as_me:$LINENO: result: not found" >&5
24587 echo "${ECHO_T}not found" >&6
24588 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
24589 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
24590 { (exit 1); exit 1; }; }
24592 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
24593 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
24595 wxUSE_UNIVERSAL
="yes"
24597 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
24598 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
24600 AFMINSTALL
=afminstall
24605 if test "$wxUSE_MICROWIN" = 1; then
24606 echo "$as_me:$LINENO: checking for MicroWindows" >&5
24607 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
24608 if test "x$MICROWINDOWS" = x
; then
24609 echo "$as_me:$LINENO: result: not found" >&5
24610 echo "${ECHO_T}not found" >&6
24611 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
24612 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
24613 { (exit 1); exit 1; }; }
24615 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
24616 echo "${ECHO_T}$MICROWINDOWS" >&6
24619 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24620 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
24621 echo "${ECHO_T}MicroWindows' libraries found." >&6
24623 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
24624 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
24625 { (exit 1); exit 1; }; }
24628 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24629 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24631 wxUSE_UNIVERSAL
="yes"
24633 AFMINSTALL
=afminstall
24635 GUIDIST
=MICROWIN_DIST
24637 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24640 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24641 echo "$as_me:$LINENO: checking for X" >&5
24642 echo $ECHO_N "checking for X... $ECHO_C" >&6
24645 # Check whether --with-x or --without-x was given.
24646 if test "${with_x+set}" = set; then
24650 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24651 if test "x$with_x" = xno
; then
24652 # The user explicitly disabled X.
24655 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
24656 # Both variables are already set.
24659 if test "${ac_cv_have_x+set}" = set; then
24660 echo $ECHO_N "(cached) $ECHO_C" >&6
24662 # One or both of the vars are not set, and there is no cached value.
24663 ac_x_includes
=no ac_x_libraries
=no
24664 rm -fr conftest.dir
24665 if mkdir conftest.dir
; then
24667 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24668 cat >Imakefile
<<'_ACEOF'
24670 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24672 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24673 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24674 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24675 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24676 for ac_extension
in a so sl
; do
24677 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
24678 test -f $ac_im_libdir/libX11.
$ac_extension; then
24679 ac_im_usrlibdir
=$ac_im_libdir; break
24682 # Screen out bogus values from the imake configuration. They are
24683 # bogus both because they are the default anyway, and because
24684 # using them would break gcc on systems where it needs fixed includes.
24685 case $ac_im_incroot in
24687 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24689 case $ac_im_usrlibdir in
24690 /usr
/lib
| /lib
) ;;
24691 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24695 rm -fr conftest.dir
24698 # Standard set of common directories for X headers.
24699 # Check X11 before X11Rn because it is often a symlink to the current release.
24711 /usr/local/X11/include
24712 /usr/local/X11R6/include
24713 /usr/local/X11R5/include
24714 /usr/local/X11R4/include
24716 /usr/local/include/X11
24717 /usr/local/include/X11R6
24718 /usr/local/include/X11R5
24719 /usr/local/include/X11R4
24723 /usr/XFree86/include/X11
24727 /usr/unsupported/include
24728 /usr/athena/include
24729 /usr/local/x11r5/include
24730 /usr/lpp/Xamples/include
24732 /usr/openwin/include
24733 /usr/openwin/share/include'
24735 if test "$ac_x_includes" = no
; then
24736 # Guess where to find include files, by looking for Intrinsic.h.
24737 # First, try using that file with no special directory specified.
24738 cat >conftest.
$ac_ext <<_ACEOF
24741 cat confdefs.h
>>conftest.
$ac_ext
24742 cat >>conftest.
$ac_ext <<_ACEOF
24743 /* end confdefs.h. */
24744 #include <X11/Intrinsic.h>
24746 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24747 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24749 grep -v '^ *+' conftest.er1
>conftest.err
24751 cat conftest.err
>&5
24752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24753 (exit $ac_status); } >/dev
/null
; then
24754 if test -s conftest.err
; then
24755 ac_cpp_err
=$ac_c_preproc_warn_flag
24756 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24763 if test -z "$ac_cpp_err"; then
24764 # We can compile using X headers with no special include directory.
24767 echo "$as_me: failed program was:" >&5
24768 sed 's/^/| /' conftest.
$ac_ext >&5
24770 for ac_dir
in $ac_x_header_dirs; do
24771 if test -r "$ac_dir/X11/Intrinsic.h"; then
24772 ac_x_includes
=$ac_dir
24777 rm -f conftest.err conftest.
$ac_ext
24778 fi # $ac_x_includes = no
24780 if test "$ac_x_libraries" = no
; then
24781 # Check for the libraries.
24782 # See if we find them without any special options.
24783 # Don't add to $LIBS permanently.
24786 cat >conftest.
$ac_ext <<_ACEOF
24789 cat confdefs.h
>>conftest.
$ac_ext
24790 cat >>conftest.
$ac_ext <<_ACEOF
24791 /* end confdefs.h. */
24792 #include <X11/Intrinsic.h>
24801 rm -f conftest.
$ac_objext conftest
$ac_exeext
24802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24803 (eval $ac_link) 2>conftest.er1
24805 grep -v '^ *+' conftest.er1
>conftest.err
24807 cat conftest.err
>&5
24808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24809 (exit $ac_status); } &&
24810 { ac_try
='test -z "$ac_c_werror_flag"
24811 || test ! -s conftest.err'
24812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24813 (eval $ac_try) 2>&5
24815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24816 (exit $ac_status); }; } &&
24817 { ac_try
='test -s conftest$ac_exeext'
24818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24819 (eval $ac_try) 2>&5
24821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24822 (exit $ac_status); }; }; then
24824 # We can link X programs with no special library path.
24827 echo "$as_me: failed program was:" >&5
24828 sed 's/^/| /' conftest.
$ac_ext >&5
24831 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24833 # Don't even attempt the hair of trying to link an X program!
24834 for ac_extension
in a so sl
; do
24835 if test -r $ac_dir/libXt.
$ac_extension; then
24836 ac_x_libraries
=$ac_dir
24842 rm -f conftest.err conftest.
$ac_objext \
24843 conftest
$ac_exeext conftest.
$ac_ext
24844 fi # $ac_x_libraries = no
24846 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
24847 # Didn't find X anywhere. Cache the known absence of X.
24848 ac_cv_have_x
="have_x=no"
24850 # Record where we found X for the cache.
24851 ac_cv_have_x
="have_x=yes \
24852 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24857 eval "$ac_cv_have_x"
24860 if test "$have_x" != yes; then
24861 echo "$as_me:$LINENO: result: $have_x" >&5
24862 echo "${ECHO_T}$have_x" >&6
24865 # If each of the values was on the command line, it overrides each guess.
24866 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24867 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24868 # Update the cache value to reflect the command line values.
24869 ac_cv_have_x
="have_x=yes \
24870 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24871 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24872 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
24875 if test "$no_x" = yes; then
24876 # Not all programs may use this symbol, but it does not hurt to define it.
24878 cat >>confdefs.h
<<\_ACEOF
24879 #define X_DISPLAY_MISSING 1
24882 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24884 if test -n "$x_includes"; then
24885 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24888 # It would also be nice to do this for all -L options, not just this one.
24889 if test -n "$x_libraries"; then
24890 X_LIBS
="$X_LIBS -L$x_libraries"
24891 # For Solaris; some versions of Sun CC require a space after -R and
24892 # others require no space. Words are not sufficient . . . .
24893 case `(uname -sr) 2>/dev/null` in
24895 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24896 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24897 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24898 cat >conftest.
$ac_ext <<_ACEOF
24901 cat confdefs.h
>>conftest.
$ac_ext
24902 cat >>conftest.
$ac_ext <<_ACEOF
24903 /* end confdefs.h. */
24913 rm -f conftest.
$ac_objext conftest
$ac_exeext
24914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24915 (eval $ac_link) 2>conftest.er1
24917 grep -v '^ *+' conftest.er1
>conftest.err
24919 cat conftest.err
>&5
24920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24921 (exit $ac_status); } &&
24922 { ac_try
='test -z "$ac_c_werror_flag"
24923 || test ! -s conftest.err'
24924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24925 (eval $ac_try) 2>&5
24927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24928 (exit $ac_status); }; } &&
24929 { ac_try
='test -s conftest$ac_exeext'
24930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24931 (eval $ac_try) 2>&5
24933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24934 (exit $ac_status); }; }; then
24937 echo "$as_me: failed program was:" >&5
24938 sed 's/^/| /' conftest.
$ac_ext >&5
24942 rm -f conftest.err conftest.
$ac_objext \
24943 conftest
$ac_exeext conftest.
$ac_ext
24944 if test $ac_R_nospace = yes; then
24945 echo "$as_me:$LINENO: result: no" >&5
24946 echo "${ECHO_T}no" >&6
24947 X_LIBS
="$X_LIBS -R$x_libraries"
24949 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24950 cat >conftest.
$ac_ext <<_ACEOF
24953 cat confdefs.h
>>conftest.
$ac_ext
24954 cat >>conftest.
$ac_ext <<_ACEOF
24955 /* end confdefs.h. */
24965 rm -f conftest.
$ac_objext conftest
$ac_exeext
24966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24967 (eval $ac_link) 2>conftest.er1
24969 grep -v '^ *+' conftest.er1
>conftest.err
24971 cat conftest.err
>&5
24972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24973 (exit $ac_status); } &&
24974 { ac_try
='test -z "$ac_c_werror_flag"
24975 || test ! -s conftest.err'
24976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24977 (eval $ac_try) 2>&5
24979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24980 (exit $ac_status); }; } &&
24981 { ac_try
='test -s conftest$ac_exeext'
24982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24983 (eval $ac_try) 2>&5
24985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24986 (exit $ac_status); }; }; then
24989 echo "$as_me: failed program was:" >&5
24990 sed 's/^/| /' conftest.
$ac_ext >&5
24994 rm -f conftest.err conftest.
$ac_objext \
24995 conftest
$ac_exeext conftest.
$ac_ext
24996 if test $ac_R_space = yes; then
24997 echo "$as_me:$LINENO: result: yes" >&5
24998 echo "${ECHO_T}yes" >&6
24999 X_LIBS
="$X_LIBS -R $x_libraries"
25001 echo "$as_me:$LINENO: result: neither works" >&5
25002 echo "${ECHO_T}neither works" >&6
25005 LIBS
=$ac_xsave_LIBS
25009 # Check for system-dependent libraries X programs must link with.
25010 # Do this before checking for the system-independent R6 libraries
25011 # (-lICE), since we may need -lsocket or whatever for X linking.
25013 if test "$ISC" = yes; then
25014 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
25016 # Martyn Johnson says this is needed for Ultrix, if the X
25017 # libraries were built with DECnet support. And Karl Berry says
25018 # the Alpha needs dnet_stub (dnet does not exist).
25019 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
25020 cat >conftest.
$ac_ext <<_ACEOF
25023 cat confdefs.h
>>conftest.
$ac_ext
25024 cat >>conftest.
$ac_ext <<_ACEOF
25025 /* end confdefs.h. */
25027 /* Override any gcc2 internal prototype to avoid an error. */
25031 /* We use char because int might match the return type of a gcc2
25032 builtin and then its argument prototype would still apply. */
25033 char XOpenDisplay ();
25042 rm -f conftest.
$ac_objext conftest
$ac_exeext
25043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25044 (eval $ac_link) 2>conftest.er1
25046 grep -v '^ *+' conftest.er1
>conftest.err
25048 cat conftest.err
>&5
25049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25050 (exit $ac_status); } &&
25051 { ac_try
='test -z "$ac_c_werror_flag"
25052 || test ! -s conftest.err'
25053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25054 (eval $ac_try) 2>&5
25056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25057 (exit $ac_status); }; } &&
25058 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
25066 echo "$as_me: failed program was:" >&5
25067 sed 's/^/| /' conftest.
$ac_ext >&5
25069 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25070 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25071 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25072 echo $ECHO_N "(cached) $ECHO_C" >&6
25074 ac_check_lib_save_LIBS
=$LIBS
25075 LIBS
="-ldnet $LIBS"
25076 cat >conftest.
$ac_ext <<_ACEOF
25079 cat confdefs.h
>>conftest.
$ac_ext
25080 cat >>conftest.
$ac_ext <<_ACEOF
25081 /* end confdefs.h. */
25083 /* Override any gcc2 internal prototype to avoid an error. */
25087 /* We use char because int might match the return type of a gcc2
25088 builtin and then its argument prototype would still apply. */
25098 rm -f conftest.
$ac_objext conftest
$ac_exeext
25099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25100 (eval $ac_link) 2>conftest.er1
25102 grep -v '^ *+' conftest.er1
>conftest.err
25104 cat conftest.err
>&5
25105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25106 (exit $ac_status); } &&
25107 { ac_try
='test -z "$ac_c_werror_flag"
25108 || test ! -s conftest.err'
25109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25110 (eval $ac_try) 2>&5
25112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25113 (exit $ac_status); }; } &&
25114 { ac_try
='test -s conftest$ac_exeext'
25115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25116 (eval $ac_try) 2>&5
25118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25119 (exit $ac_status); }; }; then
25120 ac_cv_lib_dnet_dnet_ntoa
=yes
25122 echo "$as_me: failed program was:" >&5
25123 sed 's/^/| /' conftest.
$ac_ext >&5
25125 ac_cv_lib_dnet_dnet_ntoa
=no
25127 rm -f conftest.err conftest.
$ac_objext \
25128 conftest
$ac_exeext conftest.
$ac_ext
25129 LIBS
=$ac_check_lib_save_LIBS
25131 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25132 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25133 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25134 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
25137 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
25138 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25139 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25140 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25141 echo $ECHO_N "(cached) $ECHO_C" >&6
25143 ac_check_lib_save_LIBS
=$LIBS
25144 LIBS
="-ldnet_stub $LIBS"
25145 cat >conftest.
$ac_ext <<_ACEOF
25148 cat confdefs.h
>>conftest.
$ac_ext
25149 cat >>conftest.
$ac_ext <<_ACEOF
25150 /* end confdefs.h. */
25152 /* Override any gcc2 internal prototype to avoid an error. */
25156 /* We use char because int might match the return type of a gcc2
25157 builtin and then its argument prototype would still apply. */
25167 rm -f conftest.
$ac_objext conftest
$ac_exeext
25168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25169 (eval $ac_link) 2>conftest.er1
25171 grep -v '^ *+' conftest.er1
>conftest.err
25173 cat conftest.err
>&5
25174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25175 (exit $ac_status); } &&
25176 { ac_try
='test -z "$ac_c_werror_flag"
25177 || test ! -s conftest.err'
25178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25179 (eval $ac_try) 2>&5
25181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25182 (exit $ac_status); }; } &&
25183 { ac_try
='test -s conftest$ac_exeext'
25184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25185 (eval $ac_try) 2>&5
25187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25188 (exit $ac_status); }; }; then
25189 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
25191 echo "$as_me: failed program was:" >&5
25192 sed 's/^/| /' conftest.
$ac_ext >&5
25194 ac_cv_lib_dnet_stub_dnet_ntoa
=no
25196 rm -f conftest.err conftest.
$ac_objext \
25197 conftest
$ac_exeext conftest.
$ac_ext
25198 LIBS
=$ac_check_lib_save_LIBS
25200 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25201 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25202 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25203 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25208 rm -f conftest.err conftest.
$ac_objext \
25209 conftest
$ac_exeext conftest.
$ac_ext
25210 LIBS
="$ac_xsave_LIBS"
25212 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25213 # to get the SysV transport functions.
25214 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25216 # The nsl library prevents programs from opening the X display
25217 # on Irix 5.2, according to T.E. Dickey.
25218 # The functions gethostbyname, getservbyname, and inet_addr are
25219 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25220 echo "$as_me:$LINENO: checking for gethostbyname" >&5
25221 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
25222 if test "${ac_cv_func_gethostbyname+set}" = set; then
25223 echo $ECHO_N "(cached) $ECHO_C" >&6
25225 cat >conftest.
$ac_ext <<_ACEOF
25228 cat confdefs.h
>>conftest.
$ac_ext
25229 cat >>conftest.
$ac_ext <<_ACEOF
25230 /* end confdefs.h. */
25231 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
25232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25233 #define gethostbyname innocuous_gethostbyname
25235 /* System header to define __stub macros and hopefully few prototypes,
25236 which can conflict with char gethostbyname (); below.
25237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25238 <limits.h> exists even on freestanding compilers. */
25241 # include <limits.h>
25243 # include <assert.h>
25246 #undef gethostbyname
25248 /* Override any gcc2 internal prototype to avoid an error. */
25253 /* We use char because int might match the return type of a gcc2
25254 builtin and then its argument prototype would still apply. */
25255 char gethostbyname ();
25256 /* The GNU C library defines this for functions which it implements
25257 to always fail with ENOSYS. Some functions are actually named
25258 something starting with __ and the normal name is an alias. */
25259 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
25262 char (*f) () = gethostbyname;
25271 return f != gethostbyname;
25276 rm -f conftest.
$ac_objext conftest
$ac_exeext
25277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25278 (eval $ac_link) 2>conftest.er1
25280 grep -v '^ *+' conftest.er1
>conftest.err
25282 cat conftest.err
>&5
25283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25284 (exit $ac_status); } &&
25285 { ac_try
='test -z "$ac_c_werror_flag"
25286 || test ! -s conftest.err'
25287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25288 (eval $ac_try) 2>&5
25290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25291 (exit $ac_status); }; } &&
25292 { ac_try
='test -s conftest$ac_exeext'
25293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25294 (eval $ac_try) 2>&5
25296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25297 (exit $ac_status); }; }; then
25298 ac_cv_func_gethostbyname
=yes
25300 echo "$as_me: failed program was:" >&5
25301 sed 's/^/| /' conftest.
$ac_ext >&5
25303 ac_cv_func_gethostbyname
=no
25305 rm -f conftest.err conftest.
$ac_objext \
25306 conftest
$ac_exeext conftest.
$ac_ext
25308 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
25309 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
25311 if test $ac_cv_func_gethostbyname = no
; then
25312 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25313 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
25314 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25315 echo $ECHO_N "(cached) $ECHO_C" >&6
25317 ac_check_lib_save_LIBS
=$LIBS
25319 cat >conftest.
$ac_ext <<_ACEOF
25322 cat confdefs.h
>>conftest.
$ac_ext
25323 cat >>conftest.
$ac_ext <<_ACEOF
25324 /* end confdefs.h. */
25326 /* Override any gcc2 internal prototype to avoid an error. */
25330 /* We use char because int might match the return type of a gcc2
25331 builtin and then its argument prototype would still apply. */
25332 char gethostbyname ();
25341 rm -f conftest.
$ac_objext conftest
$ac_exeext
25342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25343 (eval $ac_link) 2>conftest.er1
25345 grep -v '^ *+' conftest.er1
>conftest.err
25347 cat conftest.err
>&5
25348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25349 (exit $ac_status); } &&
25350 { ac_try
='test -z "$ac_c_werror_flag"
25351 || test ! -s conftest.err'
25352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25353 (eval $ac_try) 2>&5
25355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25356 (exit $ac_status); }; } &&
25357 { ac_try
='test -s conftest$ac_exeext'
25358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25359 (eval $ac_try) 2>&5
25361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25362 (exit $ac_status); }; }; then
25363 ac_cv_lib_nsl_gethostbyname
=yes
25365 echo "$as_me: failed program was:" >&5
25366 sed 's/^/| /' conftest.
$ac_ext >&5
25368 ac_cv_lib_nsl_gethostbyname
=no
25370 rm -f conftest.err conftest.
$ac_objext \
25371 conftest
$ac_exeext conftest.
$ac_ext
25372 LIBS
=$ac_check_lib_save_LIBS
25374 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25375 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25376 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25377 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25380 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25381 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25382 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25383 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25384 echo $ECHO_N "(cached) $ECHO_C" >&6
25386 ac_check_lib_save_LIBS
=$LIBS
25388 cat >conftest.
$ac_ext <<_ACEOF
25391 cat confdefs.h
>>conftest.
$ac_ext
25392 cat >>conftest.
$ac_ext <<_ACEOF
25393 /* end confdefs.h. */
25395 /* Override any gcc2 internal prototype to avoid an error. */
25399 /* We use char because int might match the return type of a gcc2
25400 builtin and then its argument prototype would still apply. */
25401 char gethostbyname ();
25410 rm -f conftest.
$ac_objext conftest
$ac_exeext
25411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25412 (eval $ac_link) 2>conftest.er1
25414 grep -v '^ *+' conftest.er1
>conftest.err
25416 cat conftest.err
>&5
25417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25418 (exit $ac_status); } &&
25419 { ac_try
='test -z "$ac_c_werror_flag"
25420 || test ! -s conftest.err'
25421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25422 (eval $ac_try) 2>&5
25424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25425 (exit $ac_status); }; } &&
25426 { ac_try
='test -s conftest$ac_exeext'
25427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25428 (eval $ac_try) 2>&5
25430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25431 (exit $ac_status); }; }; then
25432 ac_cv_lib_bsd_gethostbyname
=yes
25434 echo "$as_me: failed program was:" >&5
25435 sed 's/^/| /' conftest.
$ac_ext >&5
25437 ac_cv_lib_bsd_gethostbyname
=no
25439 rm -f conftest.err conftest.
$ac_objext \
25440 conftest
$ac_exeext conftest.
$ac_ext
25441 LIBS
=$ac_check_lib_save_LIBS
25443 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25444 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25445 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25446 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25452 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25453 # socket/setsockopt and other routines are undefined under SCO ODT
25454 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25455 # on later versions), says Simon Leinen: it contains gethostby*
25456 # variants that don't use the name server (or something). -lsocket
25457 # must be given before -lnsl if both are needed. We assume that
25458 # if connect needs -lnsl, so does gethostbyname.
25459 echo "$as_me:$LINENO: checking for connect" >&5
25460 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25461 if test "${ac_cv_func_connect+set}" = set; then
25462 echo $ECHO_N "(cached) $ECHO_C" >&6
25464 cat >conftest.
$ac_ext <<_ACEOF
25467 cat confdefs.h
>>conftest.
$ac_ext
25468 cat >>conftest.
$ac_ext <<_ACEOF
25469 /* end confdefs.h. */
25470 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25472 #define connect innocuous_connect
25474 /* System header to define __stub macros and hopefully few prototypes,
25475 which can conflict with char connect (); below.
25476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25477 <limits.h> exists even on freestanding compilers. */
25480 # include <limits.h>
25482 # include <assert.h>
25487 /* Override any gcc2 internal prototype to avoid an error. */
25492 /* We use char because int might match the return type of a gcc2
25493 builtin and then its argument prototype would still apply. */
25495 /* The GNU C library defines this for functions which it implements
25496 to always fail with ENOSYS. Some functions are actually named
25497 something starting with __ and the normal name is an alias. */
25498 #if defined (__stub_connect) || defined (__stub___connect)
25501 char (*f) () = connect;
25510 return f != connect;
25515 rm -f conftest.
$ac_objext conftest
$ac_exeext
25516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25517 (eval $ac_link) 2>conftest.er1
25519 grep -v '^ *+' conftest.er1
>conftest.err
25521 cat conftest.err
>&5
25522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25523 (exit $ac_status); } &&
25524 { ac_try
='test -z "$ac_c_werror_flag"
25525 || test ! -s conftest.err'
25526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25527 (eval $ac_try) 2>&5
25529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25530 (exit $ac_status); }; } &&
25531 { ac_try
='test -s conftest$ac_exeext'
25532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25533 (eval $ac_try) 2>&5
25535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25536 (exit $ac_status); }; }; then
25537 ac_cv_func_connect
=yes
25539 echo "$as_me: failed program was:" >&5
25540 sed 's/^/| /' conftest.
$ac_ext >&5
25542 ac_cv_func_connect
=no
25544 rm -f conftest.err conftest.
$ac_objext \
25545 conftest
$ac_exeext conftest.
$ac_ext
25547 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25548 echo "${ECHO_T}$ac_cv_func_connect" >&6
25550 if test $ac_cv_func_connect = no
; then
25551 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25552 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25553 if test "${ac_cv_lib_socket_connect+set}" = set; then
25554 echo $ECHO_N "(cached) $ECHO_C" >&6
25556 ac_check_lib_save_LIBS
=$LIBS
25557 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25558 cat >conftest.
$ac_ext <<_ACEOF
25561 cat confdefs.h
>>conftest.
$ac_ext
25562 cat >>conftest.
$ac_ext <<_ACEOF
25563 /* end confdefs.h. */
25565 /* Override any gcc2 internal prototype to avoid an error. */
25569 /* We use char because int might match the return type of a gcc2
25570 builtin and then its argument prototype would still apply. */
25580 rm -f conftest.
$ac_objext conftest
$ac_exeext
25581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25582 (eval $ac_link) 2>conftest.er1
25584 grep -v '^ *+' conftest.er1
>conftest.err
25586 cat conftest.err
>&5
25587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25588 (exit $ac_status); } &&
25589 { ac_try
='test -z "$ac_c_werror_flag"
25590 || test ! -s conftest.err'
25591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25592 (eval $ac_try) 2>&5
25594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25595 (exit $ac_status); }; } &&
25596 { ac_try
='test -s conftest$ac_exeext'
25597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25598 (eval $ac_try) 2>&5
25600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25601 (exit $ac_status); }; }; then
25602 ac_cv_lib_socket_connect
=yes
25604 echo "$as_me: failed program was:" >&5
25605 sed 's/^/| /' conftest.
$ac_ext >&5
25607 ac_cv_lib_socket_connect
=no
25609 rm -f conftest.err conftest.
$ac_objext \
25610 conftest
$ac_exeext conftest.
$ac_ext
25611 LIBS
=$ac_check_lib_save_LIBS
25613 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25614 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25615 if test $ac_cv_lib_socket_connect = yes; then
25616 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25621 # Guillermo Gomez says -lposix is necessary on A/UX.
25622 echo "$as_me:$LINENO: checking for remove" >&5
25623 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25624 if test "${ac_cv_func_remove+set}" = set; then
25625 echo $ECHO_N "(cached) $ECHO_C" >&6
25627 cat >conftest.
$ac_ext <<_ACEOF
25630 cat confdefs.h
>>conftest.
$ac_ext
25631 cat >>conftest.
$ac_ext <<_ACEOF
25632 /* end confdefs.h. */
25633 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25635 #define remove innocuous_remove
25637 /* System header to define __stub macros and hopefully few prototypes,
25638 which can conflict with char remove (); below.
25639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25640 <limits.h> exists even on freestanding compilers. */
25643 # include <limits.h>
25645 # include <assert.h>
25650 /* Override any gcc2 internal prototype to avoid an error. */
25655 /* We use char because int might match the return type of a gcc2
25656 builtin and then its argument prototype would still apply. */
25658 /* The GNU C library defines this for functions which it implements
25659 to always fail with ENOSYS. Some functions are actually named
25660 something starting with __ and the normal name is an alias. */
25661 #if defined (__stub_remove) || defined (__stub___remove)
25664 char (*f) () = remove;
25673 return f != remove;
25678 rm -f conftest.
$ac_objext conftest
$ac_exeext
25679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25680 (eval $ac_link) 2>conftest.er1
25682 grep -v '^ *+' conftest.er1
>conftest.err
25684 cat conftest.err
>&5
25685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25686 (exit $ac_status); } &&
25687 { ac_try
='test -z "$ac_c_werror_flag"
25688 || test ! -s conftest.err'
25689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25690 (eval $ac_try) 2>&5
25692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25693 (exit $ac_status); }; } &&
25694 { ac_try
='test -s conftest$ac_exeext'
25695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25696 (eval $ac_try) 2>&5
25698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25699 (exit $ac_status); }; }; then
25700 ac_cv_func_remove
=yes
25702 echo "$as_me: failed program was:" >&5
25703 sed 's/^/| /' conftest.
$ac_ext >&5
25705 ac_cv_func_remove
=no
25707 rm -f conftest.err conftest.
$ac_objext \
25708 conftest
$ac_exeext conftest.
$ac_ext
25710 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25711 echo "${ECHO_T}$ac_cv_func_remove" >&6
25713 if test $ac_cv_func_remove = no
; then
25714 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25715 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25716 if test "${ac_cv_lib_posix_remove+set}" = set; then
25717 echo $ECHO_N "(cached) $ECHO_C" >&6
25719 ac_check_lib_save_LIBS
=$LIBS
25720 LIBS
="-lposix $LIBS"
25721 cat >conftest.
$ac_ext <<_ACEOF
25724 cat confdefs.h
>>conftest.
$ac_ext
25725 cat >>conftest.
$ac_ext <<_ACEOF
25726 /* end confdefs.h. */
25728 /* Override any gcc2 internal prototype to avoid an error. */
25732 /* We use char because int might match the return type of a gcc2
25733 builtin and then its argument prototype would still apply. */
25743 rm -f conftest.
$ac_objext conftest
$ac_exeext
25744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25745 (eval $ac_link) 2>conftest.er1
25747 grep -v '^ *+' conftest.er1
>conftest.err
25749 cat conftest.err
>&5
25750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25751 (exit $ac_status); } &&
25752 { ac_try
='test -z "$ac_c_werror_flag"
25753 || test ! -s conftest.err'
25754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25755 (eval $ac_try) 2>&5
25757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25758 (exit $ac_status); }; } &&
25759 { ac_try
='test -s conftest$ac_exeext'
25760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25761 (eval $ac_try) 2>&5
25763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25764 (exit $ac_status); }; }; then
25765 ac_cv_lib_posix_remove
=yes
25767 echo "$as_me: failed program was:" >&5
25768 sed 's/^/| /' conftest.
$ac_ext >&5
25770 ac_cv_lib_posix_remove
=no
25772 rm -f conftest.err conftest.
$ac_objext \
25773 conftest
$ac_exeext conftest.
$ac_ext
25774 LIBS
=$ac_check_lib_save_LIBS
25776 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25777 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25778 if test $ac_cv_lib_posix_remove = yes; then
25779 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25784 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25785 echo "$as_me:$LINENO: checking for shmat" >&5
25786 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25787 if test "${ac_cv_func_shmat+set}" = set; then
25788 echo $ECHO_N "(cached) $ECHO_C" >&6
25790 cat >conftest.
$ac_ext <<_ACEOF
25793 cat confdefs.h
>>conftest.
$ac_ext
25794 cat >>conftest.
$ac_ext <<_ACEOF
25795 /* end confdefs.h. */
25796 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25798 #define shmat innocuous_shmat
25800 /* System header to define __stub macros and hopefully few prototypes,
25801 which can conflict with char shmat (); below.
25802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25803 <limits.h> exists even on freestanding compilers. */
25806 # include <limits.h>
25808 # include <assert.h>
25813 /* Override any gcc2 internal prototype to avoid an error. */
25818 /* We use char because int might match the return type of a gcc2
25819 builtin and then its argument prototype would still apply. */
25821 /* The GNU C library defines this for functions which it implements
25822 to always fail with ENOSYS. Some functions are actually named
25823 something starting with __ and the normal name is an alias. */
25824 #if defined (__stub_shmat) || defined (__stub___shmat)
25827 char (*f) () = shmat;
25841 rm -f conftest.
$ac_objext conftest
$ac_exeext
25842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25843 (eval $ac_link) 2>conftest.er1
25845 grep -v '^ *+' conftest.er1
>conftest.err
25847 cat conftest.err
>&5
25848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25849 (exit $ac_status); } &&
25850 { ac_try
='test -z "$ac_c_werror_flag"
25851 || test ! -s conftest.err'
25852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25853 (eval $ac_try) 2>&5
25855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25856 (exit $ac_status); }; } &&
25857 { ac_try
='test -s conftest$ac_exeext'
25858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25859 (eval $ac_try) 2>&5
25861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25862 (exit $ac_status); }; }; then
25863 ac_cv_func_shmat
=yes
25865 echo "$as_me: failed program was:" >&5
25866 sed 's/^/| /' conftest.
$ac_ext >&5
25868 ac_cv_func_shmat
=no
25870 rm -f conftest.err conftest.
$ac_objext \
25871 conftest
$ac_exeext conftest.
$ac_ext
25873 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25874 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25876 if test $ac_cv_func_shmat = no
; then
25877 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25878 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25879 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25880 echo $ECHO_N "(cached) $ECHO_C" >&6
25882 ac_check_lib_save_LIBS
=$LIBS
25884 cat >conftest.
$ac_ext <<_ACEOF
25887 cat confdefs.h
>>conftest.
$ac_ext
25888 cat >>conftest.
$ac_ext <<_ACEOF
25889 /* end confdefs.h. */
25891 /* Override any gcc2 internal prototype to avoid an error. */
25895 /* We use char because int might match the return type of a gcc2
25896 builtin and then its argument prototype would still apply. */
25906 rm -f conftest.
$ac_objext conftest
$ac_exeext
25907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25908 (eval $ac_link) 2>conftest.er1
25910 grep -v '^ *+' conftest.er1
>conftest.err
25912 cat conftest.err
>&5
25913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25914 (exit $ac_status); } &&
25915 { ac_try
='test -z "$ac_c_werror_flag"
25916 || test ! -s conftest.err'
25917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25918 (eval $ac_try) 2>&5
25920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25921 (exit $ac_status); }; } &&
25922 { ac_try
='test -s conftest$ac_exeext'
25923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25924 (eval $ac_try) 2>&5
25926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25927 (exit $ac_status); }; }; then
25928 ac_cv_lib_ipc_shmat
=yes
25930 echo "$as_me: failed program was:" >&5
25931 sed 's/^/| /' conftest.
$ac_ext >&5
25933 ac_cv_lib_ipc_shmat
=no
25935 rm -f conftest.err conftest.
$ac_objext \
25936 conftest
$ac_exeext conftest.
$ac_ext
25937 LIBS
=$ac_check_lib_save_LIBS
25939 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25940 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25941 if test $ac_cv_lib_ipc_shmat = yes; then
25942 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25948 # Check for libraries that X11R6 Xt/Xaw programs need.
25949 ac_save_LDFLAGS
=$LDFLAGS
25950 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25951 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25952 # check for ICE first), but we must link in the order -lSM -lICE or
25953 # we get undefined symbols. So assume we have SM if we have ICE.
25954 # These have to be linked with before -lX11, unlike the other
25955 # libraries we check for below, so use a different variable.
25956 # John Interrante, Karl Berry
25957 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25958 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25959 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25960 echo $ECHO_N "(cached) $ECHO_C" >&6
25962 ac_check_lib_save_LIBS
=$LIBS
25963 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25964 cat >conftest.
$ac_ext <<_ACEOF
25967 cat confdefs.h
>>conftest.
$ac_ext
25968 cat >>conftest.
$ac_ext <<_ACEOF
25969 /* end confdefs.h. */
25971 /* Override any gcc2 internal prototype to avoid an error. */
25975 /* We use char because int might match the return type of a gcc2
25976 builtin and then its argument prototype would still apply. */
25977 char IceConnectionNumber ();
25981 IceConnectionNumber ();
25986 rm -f conftest.
$ac_objext conftest
$ac_exeext
25987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25988 (eval $ac_link) 2>conftest.er1
25990 grep -v '^ *+' conftest.er1
>conftest.err
25992 cat conftest.err
>&5
25993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25994 (exit $ac_status); } &&
25995 { ac_try
='test -z "$ac_c_werror_flag"
25996 || test ! -s conftest.err'
25997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25998 (eval $ac_try) 2>&5
26000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26001 (exit $ac_status); }; } &&
26002 { ac_try
='test -s conftest$ac_exeext'
26003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26004 (eval $ac_try) 2>&5
26006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26007 (exit $ac_status); }; }; then
26008 ac_cv_lib_ICE_IceConnectionNumber
=yes
26010 echo "$as_me: failed program was:" >&5
26011 sed 's/^/| /' conftest.
$ac_ext >&5
26013 ac_cv_lib_ICE_IceConnectionNumber
=no
26015 rm -f conftest.err conftest.
$ac_objext \
26016 conftest
$ac_exeext conftest.
$ac_ext
26017 LIBS
=$ac_check_lib_save_LIBS
26019 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26020 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26021 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26022 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
26025 LDFLAGS
=$ac_save_LDFLAGS
26030 if test "$no_x" = "yes"; then
26031 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26032 echo "$as_me: error: X11 not found" >&2;}
26033 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
26036 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
26037 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
26038 AFMINSTALL
=afminstall
26039 COMPILED_X_PROGRAM
=0
26043 if test "$wxUSE_X11" = 1; then
26044 if test "$wxUSE_NANOX" = "yes"; then
26045 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
26046 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
26047 if test "x$MICROWIN" = x
; then
26048 echo "$as_me:$LINENO: result: not found" >&5
26049 echo "${ECHO_T}not found" >&6
26050 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
26051 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
26052 { (exit 1); exit 1; }; }
26054 echo "$as_me:$LINENO: result: $MICROWIN" >&5
26055 echo "${ECHO_T}$MICROWIN" >&6
26056 cat >>confdefs.h
<<\_ACEOF
26057 #define wxUSE_NANOX 1
26063 if test "$wxUSE_UNICODE" = "yes"; then
26067 if test -z "$PKG_CONFIG"; then
26068 # Extract the first word of "pkg-config", so it can be a program name with args.
26069 set dummy pkg
-config; ac_word
=$2
26070 echo "$as_me:$LINENO: checking for $ac_word" >&5
26071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26072 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26073 echo $ECHO_N "(cached) $ECHO_C" >&6
26075 case $PKG_CONFIG in
26077 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26081 for as_dir
in $PATH
26084 test -z "$as_dir" && as_dir
=.
26085 for ac_exec_ext
in '' $ac_executable_extensions; do
26086 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26087 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26094 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26098 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26100 if test -n "$PKG_CONFIG"; then
26101 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26102 echo "${ECHO_T}$PKG_CONFIG" >&6
26104 echo "$as_me:$LINENO: result: no" >&5
26105 echo "${ECHO_T}no" >&6
26110 if test "$PKG_CONFIG" = "no" ; then
26111 echo "*** The pkg-config script could not be found. Make sure it is"
26112 echo "*** in your path, or set the PKG_CONFIG environment variable"
26113 echo "*** to the full path to pkg-config."
26114 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26116 PKG_CONFIG_MIN_VERSION
=0.9.0
26117 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26118 echo "$as_me:$LINENO: checking for pangox" >&5
26119 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
26121 if $PKG_CONFIG --exists "pangox" ; then
26122 echo "$as_me:$LINENO: result: yes" >&5
26123 echo "${ECHO_T}yes" >&6
26126 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
26127 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
26128 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
26129 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
26130 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
26132 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
26133 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
26134 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
26135 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
26136 echo "${ECHO_T}$PANGOX_LIBS" >&6
26140 ## If we have a custom action on failure, don't print errors, but
26141 ## do set a variable so people can do so.
26142 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
26149 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26150 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26154 if test $succeeded = yes; then
26156 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
26157 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
26161 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
26162 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
26163 { (exit 1); exit 1; }; }
26171 if test -z "$PKG_CONFIG"; then
26172 # Extract the first word of "pkg-config", so it can be a program name with args.
26173 set dummy pkg
-config; ac_word
=$2
26174 echo "$as_me:$LINENO: checking for $ac_word" >&5
26175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26176 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26177 echo $ECHO_N "(cached) $ECHO_C" >&6
26179 case $PKG_CONFIG in
26181 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26185 for as_dir
in $PATH
26188 test -z "$as_dir" && as_dir
=.
26189 for ac_exec_ext
in '' $ac_executable_extensions; do
26190 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26191 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26198 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26202 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26204 if test -n "$PKG_CONFIG"; then
26205 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26206 echo "${ECHO_T}$PKG_CONFIG" >&6
26208 echo "$as_me:$LINENO: result: no" >&5
26209 echo "${ECHO_T}no" >&6
26214 if test "$PKG_CONFIG" = "no" ; then
26215 echo "*** The pkg-config script could not be found. Make sure it is"
26216 echo "*** in your path, or set the PKG_CONFIG environment variable"
26217 echo "*** to the full path to pkg-config."
26218 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26220 PKG_CONFIG_MIN_VERSION
=0.9.0
26221 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26222 echo "$as_me:$LINENO: checking for pangoft2" >&5
26223 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
26225 if $PKG_CONFIG --exists "pangoft2" ; then
26226 echo "$as_me:$LINENO: result: yes" >&5
26227 echo "${ECHO_T}yes" >&6
26230 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
26231 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
26232 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
26233 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
26234 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
26236 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
26237 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
26238 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
26239 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
26240 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
26244 ## If we have a custom action on failure, don't print errors, but
26245 ## do set a variable so people can do so.
26246 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
26253 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26254 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26258 if test $succeeded = yes; then
26260 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
26261 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
26265 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
26266 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
26267 wxUSE_PRINTING_ARCHITECTURE
="no"
26275 if test -z "$PKG_CONFIG"; then
26276 # Extract the first word of "pkg-config", so it can be a program name with args.
26277 set dummy pkg
-config; ac_word
=$2
26278 echo "$as_me:$LINENO: checking for $ac_word" >&5
26279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26280 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26281 echo $ECHO_N "(cached) $ECHO_C" >&6
26283 case $PKG_CONFIG in
26285 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26289 for as_dir
in $PATH
26292 test -z "$as_dir" && as_dir
=.
26293 for ac_exec_ext
in '' $ac_executable_extensions; do
26294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26295 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26302 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26306 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26308 if test -n "$PKG_CONFIG"; then
26309 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26310 echo "${ECHO_T}$PKG_CONFIG" >&6
26312 echo "$as_me:$LINENO: result: no" >&5
26313 echo "${ECHO_T}no" >&6
26318 if test "$PKG_CONFIG" = "no" ; then
26319 echo "*** The pkg-config script could not be found. Make sure it is"
26320 echo "*** in your path, or set the PKG_CONFIG environment variable"
26321 echo "*** to the full path to pkg-config."
26322 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26324 PKG_CONFIG_MIN_VERSION
=0.9.0
26325 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26326 echo "$as_me:$LINENO: checking for pangoxft" >&5
26327 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
26329 if $PKG_CONFIG --exists "pangoxft" ; then
26330 echo "$as_me:$LINENO: result: yes" >&5
26331 echo "${ECHO_T}yes" >&6
26334 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
26335 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
26336 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
26337 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
26338 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
26340 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
26341 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
26342 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
26343 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
26344 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
26348 ## If we have a custom action on failure, don't print errors, but
26349 ## do set a variable so people can do so.
26350 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
26357 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26358 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26362 if test $succeeded = yes; then
26364 cat >>confdefs.h
<<\_ACEOF
26365 #define HAVE_PANGO_XFT 1
26368 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
26369 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
26373 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
26374 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
26379 save_CFLAGS
="$CFLAGS"
26381 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
26382 LIBS
="$LIBS $PANGOX_LIBS"
26384 for ac_func
in pango_font_family_is_monospace
26386 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26387 echo "$as_me:$LINENO: checking for $ac_func" >&5
26388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26389 if eval "test \"\${$as_ac_var+set}\" = set"; then
26390 echo $ECHO_N "(cached) $ECHO_C" >&6
26392 cat >conftest.
$ac_ext <<_ACEOF
26395 cat confdefs.h
>>conftest.
$ac_ext
26396 cat >>conftest.
$ac_ext <<_ACEOF
26397 /* end confdefs.h. */
26398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26400 #define $ac_func innocuous_$ac_func
26402 /* System header to define __stub macros and hopefully few prototypes,
26403 which can conflict with char $ac_func (); below.
26404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26405 <limits.h> exists even on freestanding compilers. */
26408 # include <limits.h>
26410 # include <assert.h>
26415 /* Override any gcc2 internal prototype to avoid an error. */
26420 /* We use char because int might match the return type of a gcc2
26421 builtin and then its argument prototype would still apply. */
26423 /* The GNU C library defines this for functions which it implements
26424 to always fail with ENOSYS. Some functions are actually named
26425 something starting with __ and the normal name is an alias. */
26426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26429 char (*f) () = $ac_func;
26438 return f != $ac_func;
26443 rm -f conftest.
$ac_objext conftest
$ac_exeext
26444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26445 (eval $ac_link) 2>conftest.er1
26447 grep -v '^ *+' conftest.er1
>conftest.err
26449 cat conftest.err
>&5
26450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26451 (exit $ac_status); } &&
26452 { ac_try
='test -z "$ac_c_werror_flag"
26453 || test ! -s conftest.err'
26454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26455 (eval $ac_try) 2>&5
26457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26458 (exit $ac_status); }; } &&
26459 { ac_try
='test -s conftest$ac_exeext'
26460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26461 (eval $ac_try) 2>&5
26463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26464 (exit $ac_status); }; }; then
26465 eval "$as_ac_var=yes"
26467 echo "$as_me: failed program was:" >&5
26468 sed 's/^/| /' conftest.
$ac_ext >&5
26470 eval "$as_ac_var=no"
26472 rm -f conftest.err conftest.
$ac_objext \
26473 conftest
$ac_exeext conftest.
$ac_ext
26475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26477 if test `eval echo '${'$as_ac_var'}'` = yes; then
26478 cat >>confdefs.h
<<_ACEOF
26479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26485 CFLAGS
="$save_CFLAGS"
26489 wxUSE_UNIVERSAL
="yes"
26491 if test "$wxUSE_NANOX" = "yes"; then
26492 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
26493 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"
26494 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
26496 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
26503 if test "$wxUSE_MOTIF" = 1; then
26504 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26505 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26508 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26510 if test -f "$ac_dir/Xm/Xm.h"; then
26511 ac_find_includes
=$ac_dir
26516 if test "$ac_find_includes" != "" ; then
26517 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26518 echo "${ECHO_T}found in $ac_find_includes" >&6
26520 if test "x$ac_find_includes" = "x/usr/include"; then
26521 ac_path_to_include
=""
26523 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26525 if test $result = 0; then
26526 ac_path_to_include
=""
26528 ac_path_to_include
=" -I$ac_find_includes"
26532 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26534 cat >conftest.
$ac_ext <<_ACEOF
26537 cat confdefs.h
>>conftest.
$ac_ext
26538 cat >>conftest.
$ac_ext <<_ACEOF
26539 /* end confdefs.h. */
26548 version = xmUseVersion;
26554 rm -f conftest.
$ac_objext
26555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26556 (eval $ac_compile) 2>conftest.er1
26558 grep -v '^ *+' conftest.er1
>conftest.err
26560 cat conftest.err
>&5
26561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26562 (exit $ac_status); } &&
26563 { ac_try
='test -z "$ac_c_werror_flag"
26564 || test ! -s conftest.err'
26565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26566 (eval $ac_try) 2>&5
26568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26569 (exit $ac_status); }; } &&
26570 { ac_try
='test -s conftest.$ac_objext'
26571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26572 (eval $ac_try) 2>&5
26574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26575 (exit $ac_status); }; }; then
26577 echo "$as_me:$LINENO: result: found in default search path" >&5
26578 echo "${ECHO_T}found in default search path" >&6
26579 COMPILED_X_PROGRAM
=1
26582 echo "$as_me: failed program was:" >&5
26583 sed 's/^/| /' conftest.
$ac_ext >&5
26586 echo "$as_me:$LINENO: result: no" >&5
26587 echo "${ECHO_T}no" >&6
26588 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26589 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26590 { (exit 1); exit 1; }; }
26594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26597 if test "$COMPILED_X_PROGRAM" = 0; then
26598 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26599 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26602 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26604 for ac_extension
in a so sl dylib
; do
26605 if test -f "$ac_dir/libXm.$ac_extension"; then
26606 ac_find_libraries
=$ac_dir
26612 if test "$ac_find_libraries" != "" ; then
26613 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26614 echo "${ECHO_T}found at $ac_find_libraries" >&6
26617 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26619 if test $result = 0; then
26622 ac_path_to_link
=" -L$ac_find_libraries"
26625 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26627 save_CFLAGS
=$CFLAGS
26628 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26630 cat >conftest.
$ac_ext <<_ACEOF
26633 cat confdefs.h
>>conftest.
$ac_ext
26634 cat >>conftest.
$ac_ext <<_ACEOF
26635 /* end confdefs.h. */
26644 version = xmUseVersion;
26650 rm -f conftest.
$ac_objext
26651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26652 (eval $ac_compile) 2>conftest.er1
26654 grep -v '^ *+' conftest.er1
>conftest.err
26656 cat conftest.err
>&5
26657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26658 (exit $ac_status); } &&
26659 { ac_try
='test -z "$ac_c_werror_flag"
26660 || test ! -s conftest.err'
26661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26662 (eval $ac_try) 2>&5
26664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26665 (exit $ac_status); }; } &&
26666 { ac_try
='test -s conftest.$ac_objext'
26667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26668 (eval $ac_try) 2>&5
26670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26671 (exit $ac_status); }; }; then
26673 echo "$as_me:$LINENO: result: found in default search path" >&5
26674 echo "${ECHO_T}found in default search path" >&6
26675 COMPILED_X_PROGRAM
=1
26678 echo "$as_me: failed program was:" >&5
26679 sed 's/^/| /' conftest.
$ac_ext >&5
26682 echo "$as_me:$LINENO: result: no" >&5
26683 echo "${ECHO_T}no" >&6
26684 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26685 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26686 { (exit 1); exit 1; }; }
26690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26692 CFLAGS
=$save_CFLAGS
26696 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26697 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26701 for libp
in "" " -lXp"; do
26702 if test "$libs_found" = "0"; then
26703 for libsm_ice
in "" " -lSM -lICE"; do
26704 if test "$libs_found" = "0"; then
26706 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26707 save_CFLAGS
=$CFLAGS
26708 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26710 cat >conftest.
$ac_ext <<_ACEOF
26713 cat confdefs.h
>>conftest.
$ac_ext
26714 cat >>conftest.
$ac_ext <<_ACEOF
26715 /* end confdefs.h. */
26718 #include <Xm/List.h>
26724 XmString string = NULL;
26727 XmListAddItem(w, string, position);
26733 rm -f conftest.
$ac_objext conftest
$ac_exeext
26734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26735 (eval $ac_link) 2>conftest.er1
26737 grep -v '^ *+' conftest.er1
>conftest.err
26739 cat conftest.err
>&5
26740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26741 (exit $ac_status); } &&
26742 { ac_try
='test -z "$ac_c_werror_flag"
26743 || test ! -s conftest.err'
26744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26745 (eval $ac_try) 2>&5
26747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26748 (exit $ac_status); }; } &&
26749 { ac_try
='test -s conftest$ac_exeext'
26750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26751 (eval $ac_try) 2>&5
26753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26754 (exit $ac_status); }; }; then
26757 libsm_ice_link
="$libsm_ice"
26758 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26759 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26763 echo "$as_me: failed program was:" >&5
26764 sed 's/^/| /' conftest.
$ac_ext >&5
26769 rm -f conftest.err conftest.
$ac_objext \
26770 conftest
$ac_exeext conftest.
$ac_ext
26773 CFLAGS
=$save_CFLAGS
26779 if test "$libs_found" = "0"; then
26780 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26781 echo "${ECHO_T}can't find the right libraries" >&6
26782 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26783 echo "$as_me: error: can't link a simple motif program" >&2;}
26784 { (exit 1); exit 1; }; }
26787 save_CFLAGS
=$CFLAGS
26788 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26789 echo "$as_me:$LINENO: checking for Motif 2" >&5
26790 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26791 cat >conftest.
$ac_ext <<_ACEOF
26794 cat confdefs.h
>>conftest.
$ac_ext
26795 cat >>conftest.
$ac_ext <<_ACEOF
26796 /* end confdefs.h. */
26804 #if XmVersion < 2000
26805 #error "Not Motif 2"
26812 rm -f conftest.
$ac_objext
26813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26814 (eval $ac_compile) 2>conftest.er1
26816 grep -v '^ *+' conftest.er1
>conftest.err
26818 cat conftest.err
>&5
26819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26820 (exit $ac_status); } &&
26821 { ac_try
='test -z "$ac_c_werror_flag"
26822 || test ! -s conftest.err'
26823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26824 (eval $ac_try) 2>&5
26826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26827 (exit $ac_status); }; } &&
26828 { ac_try
='test -s conftest.$ac_objext'
26829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26830 (eval $ac_try) 2>&5
26832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26833 (exit $ac_status); }; }; then
26835 cat >>confdefs.h
<<\_ACEOF
26836 #define __WXMOTIF20__ 1
26839 echo "$as_me:$LINENO: result: found" >&5
26840 echo "${ECHO_T}found" >&6
26843 echo "$as_me: failed program was:" >&5
26844 sed 's/^/| /' conftest.
$ac_ext >&5
26847 cat >>confdefs.h
<<\_ACEOF
26848 #define __WXMOTIF20__ 0
26851 echo "$as_me:$LINENO: result: not found" >&5
26852 echo "${ECHO_T}not found" >&6
26855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26856 CFLAGS
=$save_CFLAGS
26858 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26863 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26864 if test "$wxUSE_LIBXPM" = "sys"; then
26865 echo "$as_me:$LINENO: checking for Xpm library" >&5
26866 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26869 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26871 for ac_extension
in a so sl dylib
; do
26872 if test -f "$ac_dir/libXpm.$ac_extension"; then
26873 ac_find_libraries
=$ac_dir
26879 if test "$ac_find_libraries" != "" ; then
26881 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26883 if test $result = 0; then
26886 ac_path_to_link
=" -L$ac_find_libraries"
26889 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26890 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26891 echo "${ECHO_T}found at $ac_find_libraries" >&6
26893 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26894 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26895 if test "${wx_cv_x11_xpm_h+set}" = set; then
26896 echo $ECHO_N "(cached) $ECHO_C" >&6
26899 save_CFLAGS
=$CFLAGS
26900 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26902 cat >conftest.
$ac_ext <<_ACEOF
26905 cat confdefs.h
>>conftest.
$ac_ext
26906 cat >>conftest.
$ac_ext <<_ACEOF
26907 /* end confdefs.h. */
26909 #include <X11/xpm.h>
26916 version = XpmLibraryVersion();
26922 rm -f conftest.
$ac_objext
26923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26924 (eval $ac_compile) 2>conftest.er1
26926 grep -v '^ *+' conftest.er1
>conftest.err
26928 cat conftest.err
>&5
26929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26930 (exit $ac_status); } &&
26931 { ac_try
='test -z "$ac_c_werror_flag"
26932 || test ! -s conftest.err'
26933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26934 (eval $ac_try) 2>&5
26936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26937 (exit $ac_status); }; } &&
26938 { ac_try
='test -s conftest.$ac_objext'
26939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26940 (eval $ac_try) 2>&5
26942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26943 (exit $ac_status); }; }; then
26944 wx_cv_x11_xpm_h
=yes
26946 echo "$as_me: failed program was:" >&5
26947 sed 's/^/| /' conftest.
$ac_ext >&5
26952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26954 CFLAGS
=$save_CFLAGS
26958 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26959 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26961 if test $wx_cv_x11_xpm_h = "yes"; then
26962 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26963 cat >>confdefs.h
<<\_ACEOF
26964 #define wxHAVE_LIB_XPM 1
26968 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26969 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26975 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26976 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26977 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26978 echo $ECHO_N "(cached) $ECHO_C" >&6
26980 ac_check_lib_save_LIBS
=$LIBS
26981 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26982 cat >conftest.
$ac_ext <<_ACEOF
26985 cat confdefs.h
>>conftest.
$ac_ext
26986 cat >>conftest.
$ac_ext <<_ACEOF
26987 /* end confdefs.h. */
26989 /* Override any gcc2 internal prototype to avoid an error. */
26993 /* We use char because int might match the return type of a gcc2
26994 builtin and then its argument prototype would still apply. */
26995 char XShapeQueryExtension ();
26999 XShapeQueryExtension ();
27004 rm -f conftest.
$ac_objext conftest
$ac_exeext
27005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27006 (eval $ac_link) 2>conftest.er1
27008 grep -v '^ *+' conftest.er1
>conftest.err
27010 cat conftest.err
>&5
27011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27012 (exit $ac_status); } &&
27013 { ac_try
='test -z "$ac_c_werror_flag"
27014 || test ! -s conftest.err'
27015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27016 (eval $ac_try) 2>&5
27018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27019 (exit $ac_status); }; } &&
27020 { ac_try
='test -s conftest$ac_exeext'
27021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27022 (eval $ac_try) 2>&5
27024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27025 (exit $ac_status); }; }; then
27026 ac_cv_lib_Xext_XShapeQueryExtension
=yes
27028 echo "$as_me: failed program was:" >&5
27029 sed 's/^/| /' conftest.
$ac_ext >&5
27031 ac_cv_lib_Xext_XShapeQueryExtension
=no
27033 rm -f conftest.err conftest.
$ac_objext \
27034 conftest
$ac_exeext conftest.
$ac_ext
27035 LIBS
=$ac_check_lib_save_LIBS
27037 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
27038 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
27039 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
27041 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
27047 if test "$wxHAVE_XEXT_LIB" = 1; then
27048 save_CFLAGS
="$CFLAGS"
27049 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27051 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
27052 echo $ECHO_N "checking for X11/extensions/shape.h... $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. */
27060 #include <X11/Xlib.h>
27061 #include <X11/extensions/shape.h>
27067 int dummy1, dummy2;
27068 XShapeQueryExtension((Display*)NULL,
27069 (int*)NULL, (int*)NULL);
27075 rm -f conftest.
$ac_objext
27076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27077 (eval $ac_compile) 2>conftest.er1
27079 grep -v '^ *+' conftest.er1
>conftest.err
27081 cat conftest.err
>&5
27082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27083 (exit $ac_status); } &&
27084 { ac_try
='test -z "$ac_c_werror_flag"
27085 || test ! -s conftest.err'
27086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27087 (eval $ac_try) 2>&5
27089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27090 (exit $ac_status); }; } &&
27091 { ac_try
='test -s conftest.$ac_objext'
27092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27093 (eval $ac_try) 2>&5
27095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27096 (exit $ac_status); }; }; then
27098 cat >>confdefs.h
<<\_ACEOF
27099 #define HAVE_XSHAPE 1
27102 echo "$as_me:$LINENO: result: found" >&5
27103 echo "${ECHO_T}found" >&6
27106 echo "$as_me: failed program was:" >&5
27107 sed 's/^/| /' conftest.
$ac_ext >&5
27110 echo "$as_me:$LINENO: result: not found" >&5
27111 echo "${ECHO_T}not found" >&6
27114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27115 CFLAGS
="$save_CFLAGS"
27120 if test "$wxUSE_MAC" = 1; then
27121 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
27122 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
27123 if test "$GCC" = yes; then
27124 echo "$as_me:$LINENO: result: gcc" >&5
27125 echo "${ECHO_T}gcc" >&6
27126 CPPFLAGS_PASCAL
="-fpascal-strings"
27127 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
27128 echo "$as_me:$LINENO: result: xlc" >&5
27129 echo "${ECHO_T}xlc" >&6
27130 CPPFLAGS_PASCAL
="-qmacpstr"
27132 echo "$as_me:$LINENO: result: none" >&5
27133 echo "${ECHO_T}none" >&6
27136 if test "x$wxUSE_UNIX" = "xyes"; then
27137 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
27139 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
27144 WXBASEPORT
="_carbon"
27147 if test "$wxUSE_COCOA" = 1; then
27152 if test "$wxUSE_PM" = 1; then
27155 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
27156 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
27157 if test "${wx_cv_spbcdata+set}" = set; then
27158 echo $ECHO_N "(cached) $ECHO_C" >&6
27161 cat >conftest.
$ac_ext <<_ACEOF
27164 cat confdefs.h
>>conftest.
$ac_ext
27165 cat >>conftest.
$ac_ext <<_ACEOF
27166 /* end confdefs.h. */
27181 rm -f conftest.
$ac_objext
27182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27183 (eval $ac_compile) 2>conftest.er1
27185 grep -v '^ *+' conftest.er1
>conftest.err
27187 cat conftest.err
>&5
27188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27189 (exit $ac_status); } &&
27190 { ac_try
='test -z "$ac_c_werror_flag"
27191 || test ! -s conftest.err'
27192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27193 (eval $ac_try) 2>&5
27195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27196 (exit $ac_status); }; } &&
27197 { ac_try
='test -s conftest.$ac_objext'
27198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27199 (eval $ac_try) 2>&5
27201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202 (exit $ac_status); }; }; then
27205 echo "$as_me: failed program was:" >&5
27206 sed 's/^/| /' conftest.
$ac_ext >&5
27211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27215 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
27216 echo "${ECHO_T}$wx_cv_spbcdata" >&6
27218 if test $wx_cv_spbcdata = "yes"; then
27219 cat >>confdefs.h
<<\_ACEOF
27220 #define HAVE_SPBCDATA 1
27226 if test "$TOOLKIT" = "PM" ; then
27229 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
27232 if test "$wxUSE_UNIVERSAL" = "yes"; then
27233 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
27237 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
27238 DISTDIR
="wx\$(TOOLKIT)"
27244 if test "$USE_WIN32" = 1 ; then
27248 GUIDIST
="BASE_DIST"
27258 if test "$TOOLKIT" != "MSW" ; then
27260 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
27262 if test "${ac_cv_header_sql_h+set}" = set; then
27263 echo "$as_me:$LINENO: checking for sql.h" >&5
27264 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27265 if test "${ac_cv_header_sql_h+set}" = set; then
27266 echo $ECHO_N "(cached) $ECHO_C" >&6
27268 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27269 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27271 # Is the header compilable?
27272 echo "$as_me:$LINENO: checking sql.h usability" >&5
27273 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
27274 cat >conftest.
$ac_ext <<_ACEOF
27277 cat confdefs.h
>>conftest.
$ac_ext
27278 cat >>conftest.
$ac_ext <<_ACEOF
27279 /* end confdefs.h. */
27280 $ac_includes_default
27283 rm -f conftest.
$ac_objext
27284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27285 (eval $ac_compile) 2>conftest.er1
27287 grep -v '^ *+' conftest.er1
>conftest.err
27289 cat conftest.err
>&5
27290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27291 (exit $ac_status); } &&
27292 { ac_try
='test -z "$ac_c_werror_flag"
27293 || test ! -s conftest.err'
27294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27295 (eval $ac_try) 2>&5
27297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27298 (exit $ac_status); }; } &&
27299 { ac_try
='test -s conftest.$ac_objext'
27300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27301 (eval $ac_try) 2>&5
27303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27304 (exit $ac_status); }; }; then
27305 ac_header_compiler
=yes
27307 echo "$as_me: failed program was:" >&5
27308 sed 's/^/| /' conftest.
$ac_ext >&5
27310 ac_header_compiler
=no
27312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27313 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27314 echo "${ECHO_T}$ac_header_compiler" >&6
27316 # Is the header present?
27317 echo "$as_me:$LINENO: checking sql.h presence" >&5
27318 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
27319 cat >conftest.
$ac_ext <<_ACEOF
27322 cat confdefs.h
>>conftest.
$ac_ext
27323 cat >>conftest.
$ac_ext <<_ACEOF
27324 /* end confdefs.h. */
27327 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27328 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27330 grep -v '^ *+' conftest.er1
>conftest.err
27332 cat conftest.err
>&5
27333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27334 (exit $ac_status); } >/dev
/null
; then
27335 if test -s conftest.err
; then
27336 ac_cpp_err
=$ac_c_preproc_warn_flag
27337 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27344 if test -z "$ac_cpp_err"; then
27345 ac_header_preproc
=yes
27347 echo "$as_me: failed program was:" >&5
27348 sed 's/^/| /' conftest.
$ac_ext >&5
27350 ac_header_preproc
=no
27352 rm -f conftest.err conftest.
$ac_ext
27353 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27354 echo "${ECHO_T}$ac_header_preproc" >&6
27356 # So? What about this header?
27357 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27359 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
27360 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27361 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
27362 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
27363 ac_header_preproc
=yes
27366 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
27367 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
27368 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
27369 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
27370 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
27371 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
27372 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
27373 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
27374 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
27375 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
27376 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
27377 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
27380 ## ----------------------------------------- ##
27381 ## Report this to wx-dev@lists.wxwidgets.org ##
27382 ## ----------------------------------------- ##
27385 sed "s/^/$as_me: WARNING: /" >&2
27388 echo "$as_me:$LINENO: checking for sql.h" >&5
27389 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27390 if test "${ac_cv_header_sql_h+set}" = set; then
27391 echo $ECHO_N "(cached) $ECHO_C" >&6
27393 ac_cv_header_sql_h
=$ac_header_preproc
27395 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27396 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27399 if test $ac_cv_header_sql_h = yes; then
27404 if test "x$found_sql_h" = "x1" ; then
27405 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
27406 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
27407 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
27408 echo $ECHO_N "(cached) $ECHO_C" >&6
27410 ac_check_lib_save_LIBS
=$LIBS
27411 LIBS
="-liodbc $LIBS"
27412 cat >conftest.
$ac_ext <<_ACEOF
27415 cat confdefs.h
>>conftest.
$ac_ext
27416 cat >>conftest.
$ac_ext <<_ACEOF
27417 /* end confdefs.h. */
27419 /* Override any gcc2 internal prototype to avoid an error. */
27423 /* We use char because int might match the return type of a gcc2
27424 builtin and then its argument prototype would still apply. */
27425 char SQLAllocEnv ();
27434 rm -f conftest.
$ac_objext conftest
$ac_exeext
27435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27436 (eval $ac_link) 2>conftest.er1
27438 grep -v '^ *+' conftest.er1
>conftest.err
27440 cat conftest.err
>&5
27441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27442 (exit $ac_status); } &&
27443 { ac_try
='test -z "$ac_c_werror_flag"
27444 || test ! -s conftest.err'
27445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27446 (eval $ac_try) 2>&5
27448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27449 (exit $ac_status); }; } &&
27450 { ac_try
='test -s conftest$ac_exeext'
27451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27452 (eval $ac_try) 2>&5
27454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27455 (exit $ac_status); }; }; then
27456 ac_cv_lib_iodbc_SQLAllocEnv
=yes
27458 echo "$as_me: failed program was:" >&5
27459 sed 's/^/| /' conftest.
$ac_ext >&5
27461 ac_cv_lib_iodbc_SQLAllocEnv
=no
27463 rm -f conftest.err conftest.
$ac_objext \
27464 conftest
$ac_exeext conftest.
$ac_ext
27465 LIBS
=$ac_check_lib_save_LIBS
27467 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27468 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27469 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27470 ODBC_LINK
=" -liodbc"
27473 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27474 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27475 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27476 echo $ECHO_N "(cached) $ECHO_C" >&6
27478 ac_check_lib_save_LIBS
=$LIBS
27479 LIBS
="-lunixodbc $LIBS"
27480 cat >conftest.
$ac_ext <<_ACEOF
27483 cat confdefs.h
>>conftest.
$ac_ext
27484 cat >>conftest.
$ac_ext <<_ACEOF
27485 /* end confdefs.h. */
27487 /* Override any gcc2 internal prototype to avoid an error. */
27491 /* We use char because int might match the return type of a gcc2
27492 builtin and then its argument prototype would still apply. */
27493 char SQLAllocEnv ();
27502 rm -f conftest.
$ac_objext conftest
$ac_exeext
27503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27504 (eval $ac_link) 2>conftest.er1
27506 grep -v '^ *+' conftest.er1
>conftest.err
27508 cat conftest.err
>&5
27509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27510 (exit $ac_status); } &&
27511 { ac_try
='test -z "$ac_c_werror_flag"
27512 || test ! -s conftest.err'
27513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27514 (eval $ac_try) 2>&5
27516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27517 (exit $ac_status); }; } &&
27518 { ac_try
='test -s conftest$ac_exeext'
27519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27520 (eval $ac_try) 2>&5
27522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27523 (exit $ac_status); }; }; then
27524 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
27526 echo "$as_me: failed program was:" >&5
27527 sed 's/^/| /' conftest.
$ac_ext >&5
27529 ac_cv_lib_unixodbc_SQLAllocEnv
=no
27531 rm -f conftest.err conftest.
$ac_objext \
27532 conftest
$ac_exeext conftest.
$ac_ext
27533 LIBS
=$ac_check_lib_save_LIBS
27535 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27536 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27537 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27538 ODBC_LINK
=" -lunixodbc"
27541 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27542 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27543 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27544 echo $ECHO_N "(cached) $ECHO_C" >&6
27546 ac_check_lib_save_LIBS
=$LIBS
27547 LIBS
="-lodbc $LIBS"
27548 cat >conftest.
$ac_ext <<_ACEOF
27551 cat confdefs.h
>>conftest.
$ac_ext
27552 cat >>conftest.
$ac_ext <<_ACEOF
27553 /* end confdefs.h. */
27555 /* Override any gcc2 internal prototype to avoid an error. */
27559 /* We use char because int might match the return type of a gcc2
27560 builtin and then its argument prototype would still apply. */
27561 char SQLAllocEnv ();
27570 rm -f conftest.
$ac_objext conftest
$ac_exeext
27571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27572 (eval $ac_link) 2>conftest.er1
27574 grep -v '^ *+' conftest.er1
>conftest.err
27576 cat conftest.err
>&5
27577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27578 (exit $ac_status); } &&
27579 { ac_try
='test -z "$ac_c_werror_flag"
27580 || test ! -s conftest.err'
27581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27582 (eval $ac_try) 2>&5
27584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27585 (exit $ac_status); }; } &&
27586 { ac_try
='test -s conftest$ac_exeext'
27587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27588 (eval $ac_try) 2>&5
27590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27591 (exit $ac_status); }; }; then
27592 ac_cv_lib_odbc_SQLAllocEnv
=yes
27594 echo "$as_me: failed program was:" >&5
27595 sed 's/^/| /' conftest.
$ac_ext >&5
27597 ac_cv_lib_odbc_SQLAllocEnv
=no
27599 rm -f conftest.err conftest.
$ac_objext \
27600 conftest
$ac_exeext conftest.
$ac_ext
27601 LIBS
=$ac_check_lib_save_LIBS
27603 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27604 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27605 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27606 ODBC_LINK
=" -lodbc"
27616 if test "x$ODBC_LINK" = "x" ; then
27617 if test "$wxUSE_ODBC" = "sys" ; then
27618 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27619 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27620 { (exit 1); exit 1; }; }
27622 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27623 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27630 if test "$wxUSE_ODBC" != "no" ; then
27631 cat >>confdefs.h
<<\_ACEOF
27632 #define wxUSE_ODBC 1
27635 if test "$wxUSE_ODBC" = "builtin" ; then
27636 cat >>confdefs.h
<<\_ACEOF
27637 #define wxUSE_BUILTIN_IODBC 1
27641 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
27643 WXODBCFLAG
="-D_IODBC_"
27649 if test "$wxUSE_DISPLAY" = "yes"; then
27650 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
27651 echo "$as_me:$LINENO: checking for Xinerama" >&5
27652 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27655 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27657 for ac_extension
in a so sl dylib
; do
27658 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27659 ac_find_libraries
=$ac_dir
27665 if test "$ac_find_libraries" != "" ; then
27667 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27669 if test $result = 0; then
27672 ac_path_to_link
=" -L$ac_find_libraries"
27675 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27676 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27678 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27679 echo "$as_me:$LINENO: result: yes" >&5
27680 echo "${ECHO_T}yes" >&6
27682 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27683 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27686 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27688 for ac_extension
in a so sl dylib
; do
27689 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27690 ac_find_libraries
=$ac_dir
27696 if test "$ac_find_libraries" != "" ; then
27697 echo "$as_me:$LINENO: result: yes" >&5
27698 echo "${ECHO_T}yes" >&6
27700 for ac_header
in X
11/extensions
/xf86vmode.h
27702 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27703 echo "$as_me:$LINENO: checking for $ac_header" >&5
27704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27706 echo $ECHO_N "(cached) $ECHO_C" >&6
27708 cat >conftest.
$ac_ext <<_ACEOF
27711 cat confdefs.h
>>conftest.
$ac_ext
27712 cat >>conftest.
$ac_ext <<_ACEOF
27713 /* end confdefs.h. */
27715 #if HAVE_X11_XLIB_H
27716 #include <X11/Xlib.h>
27720 #include <$ac_header>
27722 rm -f conftest.
$ac_objext
27723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27724 (eval $ac_compile) 2>conftest.er1
27726 grep -v '^ *+' conftest.er1
>conftest.err
27728 cat conftest.err
>&5
27729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27730 (exit $ac_status); } &&
27731 { ac_try
='test -z "$ac_c_werror_flag"
27732 || test ! -s conftest.err'
27733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27734 (eval $ac_try) 2>&5
27736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27737 (exit $ac_status); }; } &&
27738 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
27744 eval "$as_ac_Header=yes"
27746 echo "$as_me: failed program was:" >&5
27747 sed 's/^/| /' conftest.
$ac_ext >&5
27749 eval "$as_ac_Header=no"
27751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27755 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27756 cat >>confdefs.h
<<_ACEOF
27757 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27760 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27767 echo "$as_me:$LINENO: result: no" >&5
27768 echo "${ECHO_T}no" >&6
27772 echo "$as_me:$LINENO: result: no" >&5
27773 echo "${ECHO_T}no" >&6
27774 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27775 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27778 elif test "$wxUSE_MSW" = 1; then
27781 for ac_header
in multimon.h ddraw.h
27783 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27784 echo "$as_me:$LINENO: checking for $ac_header" >&5
27785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27787 echo $ECHO_N "(cached) $ECHO_C" >&6
27789 cat >conftest.
$ac_ext <<_ACEOF
27792 cat confdefs.h
>>conftest.
$ac_ext
27793 cat >>conftest.
$ac_ext <<_ACEOF
27794 /* end confdefs.h. */
27795 #include <windows.h>
27797 #include <$ac_header>
27799 rm -f conftest.
$ac_objext
27800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27801 (eval $ac_compile) 2>conftest.er1
27803 grep -v '^ *+' conftest.er1
>conftest.err
27805 cat conftest.err
>&5
27806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27807 (exit $ac_status); } &&
27808 { ac_try
='test -z "$ac_c_werror_flag"
27809 || test ! -s conftest.err'
27810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27811 (eval $ac_try) 2>&5
27813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27814 (exit $ac_status); }; } &&
27815 { ac_try
='test -s conftest.$ac_objext'
27816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27817 (eval $ac_try) 2>&5
27819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27820 (exit $ac_status); }; }; then
27821 eval "$as_ac_Header=yes"
27823 echo "$as_me: failed program was:" >&5
27824 sed 's/^/| /' conftest.
$ac_ext >&5
27826 eval "$as_ac_Header=no"
27828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27832 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27833 cat >>confdefs.h
<<_ACEOF
27834 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27840 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27841 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27851 if test "$wxUSE_MEDIACTRL" = "yes"; then
27852 if test "$wxUSE_MSW" = 1; then
27853 wxUSE_DIRECTSHOW
="yes"
27855 for ac_header
in dshow.h
27857 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27858 echo "$as_me:$LINENO: checking for $ac_header" >&5
27859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27861 echo $ECHO_N "(cached) $ECHO_C" >&6
27863 cat >conftest.
$ac_ext <<_ACEOF
27866 cat confdefs.h
>>conftest.
$ac_ext
27867 cat >>conftest.
$ac_ext <<_ACEOF
27868 /* end confdefs.h. */
27869 #include <windows.h>
27871 #include <$ac_header>
27873 rm -f conftest.
$ac_objext
27874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27875 (eval $ac_compile) 2>conftest.er1
27877 grep -v '^ *+' conftest.er1
>conftest.err
27879 cat conftest.err
>&5
27880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27881 (exit $ac_status); } &&
27882 { ac_try
='test -z "$ac_c_werror_flag"
27883 || test ! -s conftest.err'
27884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27885 (eval $ac_try) 2>&5
27887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27888 (exit $ac_status); }; } &&
27889 { ac_try
='test -s conftest.$ac_objext'
27890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27891 (eval $ac_try) 2>&5
27893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27894 (exit $ac_status); }; }; then
27895 eval "$as_ac_Header=yes"
27897 echo "$as_me: failed program was:" >&5
27898 sed 's/^/| /' conftest.
$ac_ext >&5
27900 eval "$as_ac_Header=no"
27902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27905 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27906 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27907 cat >>confdefs.h
<<_ACEOF
27908 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27913 wxUSE_DIRECTSHOW
="no"
27914 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
27915 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
27922 if test "$wxUSE_DIRECTSHOW" = "yes"; then
27923 cat >>confdefs.h
<<\_ACEOF
27924 #define wxUSE_DIRECTSHOW 1
27927 LIBS
="$LIBS -lstrmiids"
27931 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
27932 cat >>confdefs.h
<<\_ACEOF
27933 #define wxUSE_MEDIACTRL 1
27940 if test "$wxUSE_OPENGL" = "yes"; then
27941 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27942 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27943 elif test "$wxUSE_MSW" = 1; then
27944 OPENGL_LIBS
="-lopengl32 -lglu32"
27949 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27951 if test -f "$ac_dir/GL/gl.h"; then
27952 ac_find_includes
=$ac_dir
27957 if test "$ac_find_includes" != "" ; then
27958 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27959 echo "${ECHO_T}found in $ac_find_includes" >&6
27961 if test "x$ac_find_includes" = "x/usr/include"; then
27962 ac_path_to_include
=""
27964 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27966 if test $result = 0; then
27967 ac_path_to_include
=""
27969 ac_path_to_include
=" -I$ac_find_includes"
27973 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27976 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27977 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27978 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27979 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27980 echo $ECHO_N "(cached) $ECHO_C" >&6
27982 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27983 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27985 # Is the header compilable?
27986 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27987 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27988 cat >conftest.
$ac_ext <<_ACEOF
27991 cat confdefs.h
>>conftest.
$ac_ext
27992 cat >>conftest.
$ac_ext <<_ACEOF
27993 /* end confdefs.h. */
27994 $ac_includes_default
27997 rm -f conftest.
$ac_objext
27998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27999 (eval $ac_compile) 2>conftest.er1
28001 grep -v '^ *+' conftest.er1
>conftest.err
28003 cat conftest.err
>&5
28004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28005 (exit $ac_status); } &&
28006 { ac_try
='test -z "$ac_c_werror_flag"
28007 || test ! -s conftest.err'
28008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28009 (eval $ac_try) 2>&5
28011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28012 (exit $ac_status); }; } &&
28013 { ac_try
='test -s conftest.$ac_objext'
28014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28015 (eval $ac_try) 2>&5
28017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28018 (exit $ac_status); }; }; then
28019 ac_header_compiler
=yes
28021 echo "$as_me: failed program was:" >&5
28022 sed 's/^/| /' conftest.
$ac_ext >&5
28024 ac_header_compiler
=no
28026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28027 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28028 echo "${ECHO_T}$ac_header_compiler" >&6
28030 # Is the header present?
28031 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
28032 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
28033 cat >conftest.
$ac_ext <<_ACEOF
28036 cat confdefs.h
>>conftest.
$ac_ext
28037 cat >>conftest.
$ac_ext <<_ACEOF
28038 /* end confdefs.h. */
28041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28042 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28044 grep -v '^ *+' conftest.er1
>conftest.err
28046 cat conftest.err
>&5
28047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28048 (exit $ac_status); } >/dev
/null
; then
28049 if test -s conftest.err
; then
28050 ac_cpp_err
=$ac_c_preproc_warn_flag
28051 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28058 if test -z "$ac_cpp_err"; then
28059 ac_header_preproc
=yes
28061 echo "$as_me: failed program was:" >&5
28062 sed 's/^/| /' conftest.
$ac_ext >&5
28064 ac_header_preproc
=no
28066 rm -f conftest.err conftest.
$ac_ext
28067 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28068 echo "${ECHO_T}$ac_header_preproc" >&6
28070 # So? What about this header?
28071 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28073 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
28074 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28075 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
28076 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
28077 ac_header_preproc
=yes
28080 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
28081 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
28082 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
28083 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
28084 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
28085 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
28086 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
28087 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
28088 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
28089 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
28090 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
28091 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
28094 ## ----------------------------------------- ##
28095 ## Report this to wx-dev@lists.wxwidgets.org ##
28096 ## ----------------------------------------- ##
28099 sed "s/^/$as_me: WARNING: /" >&2
28102 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28103 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28104 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28105 echo $ECHO_N "(cached) $ECHO_C" >&6
28107 ac_cv_header_GL_gl_h
=$ac_header_preproc
28109 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28110 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28113 if test $ac_cv_header_GL_gl_h = yes; then
28117 echo "$as_me:$LINENO: checking for -lGL" >&5
28118 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
28121 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28123 for ac_extension
in a so sl dylib
; do
28124 if test -f "$ac_dir/libGL.$ac_extension"; then
28125 ac_find_libraries
=$ac_dir
28131 if test "$ac_find_libraries" != "" ; then
28133 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28135 if test $result = 0; then
28138 ac_path_to_link
=" -L$ac_find_libraries"
28141 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28142 LDFLAGS_GL
="$ac_path_to_link"
28147 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28149 for ac_extension
in a so sl dylib
; do
28150 if test -f "$ac_dir/libGLU.$ac_extension"; then
28151 ac_find_libraries
=$ac_dir
28157 if test "$ac_find_libraries" != "" ; then
28159 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28161 if test $result = 0; then
28164 ac_path_to_link
=" -L$ac_find_libraries"
28167 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28168 "$ac_path_to_link" != "$LDFLAGS_GL"; then
28169 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28173 OPENGL_LIBS
="-lGL -lGLU"
28174 echo "$as_me:$LINENO: result: yes" >&5
28175 echo "${ECHO_T}yes" >&6
28179 if test "$found_gl" != 1; then
28180 echo "$as_me:$LINENO: result: no" >&5
28181 echo "${ECHO_T}no" >&6
28182 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
28183 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
28186 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28188 for ac_extension
in a so sl dylib
; do
28189 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28190 ac_find_libraries
=$ac_dir
28196 if test "$ac_find_libraries" != "" ; then
28198 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28200 if test $result = 0; then
28203 ac_path_to_link
=" -L$ac_find_libraries"
28206 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
28207 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
28208 echo "$as_me:$LINENO: result: yes" >&5
28209 echo "${ECHO_T}yes" >&6
28211 echo "$as_me:$LINENO: result: no" >&5
28212 echo "${ECHO_T}no" >&6
28220 if test "x$OPENGL_LIBS" = "x"; then
28221 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
28222 echo "$as_me: error: OpenGL libraries not available" >&2;}
28223 { (exit 1); exit 1; }; }
28227 if test "$wxUSE_OPENGL" = "yes"; then
28229 cat >>confdefs.h
<<\_ACEOF
28230 #define wxUSE_OPENGL 1
28233 cat >>confdefs.h
<<\_ACEOF
28234 #define wxUSE_GLCANVAS 1
28237 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28242 if test -n "$TOOLKIT" ; then
28243 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28248 if test "$wxUSE_SHARED" = "yes"; then
28252 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
28253 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28258 if test "$wxUSE_SHARED" = "yes"; then
28261 found_versioning
=no
28264 if test $found_versioning = no
; then
28265 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
28266 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
28267 if test "${wx_cv_version_script+set}" = set; then
28268 echo $ECHO_N "(cached) $ECHO_C" >&6
28271 echo "VER_1 { *; };" >conftest.sym
28272 echo "int main() { return 0; }" >conftest.cpp
28275 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28276 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28278 (eval $ac_try) 2>&5
28280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28281 (exit $ac_status); }; } ; then
28282 if test -s conftest.stderr
; then
28283 wx_cv_version_script
=no
28285 wx_cv_version_script
=yes
28288 wx_cv_version_script
=no
28290 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28293 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
28294 echo "${ECHO_T}$wx_cv_version_script" >&6
28295 if test $wx_cv_version_script = yes ; then
28296 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
28302 *-*-linux* | *-*-gnu* )
28303 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
28304 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
28308 if test "$GCC" = yes ; then
28309 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
28311 saveLdflags
="$LDFLAGS"
28312 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
28313 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
28314 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
28315 cat >conftest.
$ac_ext <<_ACEOF
28318 cat confdefs.h
>>conftest.
$ac_ext
28319 cat >>conftest.
$ac_ext <<_ACEOF
28320 /* end confdefs.h. */
28330 rm -f conftest.
$ac_objext conftest
$ac_exeext
28331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28332 (eval $ac_link) 2>conftest.er1
28334 grep -v '^ *+' conftest.er1
>conftest.err
28336 cat conftest.err
>&5
28337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28338 (exit $ac_status); } &&
28339 { ac_try
='test -z "$ac_c_werror_flag"
28340 || test ! -s conftest.err'
28341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28342 (eval $ac_try) 2>&5
28344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28345 (exit $ac_status); }; } &&
28346 { ac_try
='test -s conftest$ac_exeext'
28347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28348 (eval $ac_try) 2>&5
28350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28351 (exit $ac_status); }; }; then
28353 echo "$as_me:$LINENO: result: yes" >&5
28354 echo "${ECHO_T}yes" >&6
28355 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
28356 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
28359 echo "$as_me: failed program was:" >&5
28360 sed 's/^/| /' conftest.
$ac_ext >&5
28363 echo "$as_me:$LINENO: result: no" >&5
28364 echo "${ECHO_T}no" >&6
28365 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
28366 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
28367 LDFLAGS
="$saveLdflags -Wl,-R,/"
28368 cat >conftest.
$ac_ext <<_ACEOF
28371 cat confdefs.h
>>conftest.
$ac_ext
28372 cat >>conftest.
$ac_ext <<_ACEOF
28373 /* end confdefs.h. */
28383 rm -f conftest.
$ac_objext conftest
$ac_exeext
28384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28385 (eval $ac_link) 2>conftest.er1
28387 grep -v '^ *+' conftest.er1
>conftest.err
28389 cat conftest.err
>&5
28390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28391 (exit $ac_status); } &&
28392 { ac_try
='test -z "$ac_c_werror_flag"
28393 || test ! -s conftest.err'
28394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28395 (eval $ac_try) 2>&5
28397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28398 (exit $ac_status); }; } &&
28399 { ac_try
='test -s conftest$ac_exeext'
28400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28401 (eval $ac_try) 2>&5
28403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28404 (exit $ac_status); }; }; then
28406 echo "$as_me:$LINENO: result: yes" >&5
28407 echo "${ECHO_T}yes" >&6
28408 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
28409 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
28412 echo "$as_me: failed program was:" >&5
28413 sed 's/^/| /' conftest.
$ac_ext >&5
28416 echo "$as_me:$LINENO: result: no" >&5
28417 echo "${ECHO_T}no" >&6
28420 rm -f conftest.err conftest.
$ac_objext \
28421 conftest
$ac_exeext conftest.
$ac_ext
28424 rm -f conftest.err conftest.
$ac_objext \
28425 conftest
$ac_exeext conftest.
$ac_ext
28426 LDFLAGS
="$saveLdflags"
28428 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
28429 WXCONFIG_RPATH
="-R\$libdir"
28433 powerpc
-*-darwin* )
28434 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28435 cat <<EOF >change-install-names
28437 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28438 inst_cmd="install_name_tool "
28439 for i in \${libnames} ; do
28440 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28444 chmod +x change
-install-names
28447 *-*-cygwin* | *-*-mingw32* )
28448 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28453 if test $wxUSE_RPATH = "no"; then
28454 SAMPLES_RPATH_FLAG
=''
28455 SAMPLES_RPATH_POSTLINK
=''
28463 config_linkage_component
="-static"
28470 lib_unicode_suffix
=
28472 if test "$wxUSE_UNICODE" = "yes"; then
28473 lib_unicode_suffix
=u
28474 WX_CHARTYPE
="unicode"
28479 WX_DEBUGTYPE
="release"
28481 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
28483 WX_DEBUGTYPE
="debug"
28487 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
28488 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
28491 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28495 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
28497 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
28499 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
28501 if test "$cross_compiling" = "yes"; then
28502 HOST_SUFFIX
="-$host_alias"
28503 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
28504 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
28507 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28508 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28512 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28513 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
28514 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
28516 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28518 # Extract the first word of "Rez", so it can be a program name with args.
28519 set dummy Rez
; ac_word
=$2
28520 echo "$as_me:$LINENO: checking for $ac_word" >&5
28521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28522 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28523 echo $ECHO_N "(cached) $ECHO_C" >&6
28525 if test -n "$RESCOMP"; then
28526 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
28528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28529 for as_dir
in $PATH
28532 test -z "$as_dir" && as_dir
=.
28533 for ac_exec_ext
in '' $ac_executable_extensions; do
28534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28535 ac_cv_prog_RESCOMP
="Rez"
28536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28542 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
28545 RESCOMP
=$ac_cv_prog_RESCOMP
28546 if test -n "$RESCOMP"; then
28547 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28548 echo "${ECHO_T}$RESCOMP" >&6
28550 echo "$as_me:$LINENO: result: no" >&5
28551 echo "${ECHO_T}no" >&6
28554 # Extract the first word of "DeRez", so it can be a program name with args.
28555 set dummy DeRez
; ac_word
=$2
28556 echo "$as_me:$LINENO: checking for $ac_word" >&5
28557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28558 if test "${ac_cv_prog_DEREZ+set}" = set; then
28559 echo $ECHO_N "(cached) $ECHO_C" >&6
28561 if test -n "$DEREZ"; then
28562 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
28564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28565 for as_dir
in $PATH
28568 test -z "$as_dir" && as_dir
=.
28569 for ac_exec_ext
in '' $ac_executable_extensions; do
28570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28571 ac_cv_prog_DEREZ
="DeRez"
28572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28578 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
28581 DEREZ
=$ac_cv_prog_DEREZ
28582 if test -n "$DEREZ"; then
28583 echo "$as_me:$LINENO: result: $DEREZ" >&5
28584 echo "${ECHO_T}$DEREZ" >&6
28586 echo "$as_me:$LINENO: result: no" >&5
28587 echo "${ECHO_T}no" >&6
28590 # Extract the first word of "SetFile", so it can be a program name with args.
28591 set dummy SetFile
; ac_word
=$2
28592 echo "$as_me:$LINENO: checking for $ac_word" >&5
28593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28594 if test "${ac_cv_prog_SETFILE+set}" = set; then
28595 echo $ECHO_N "(cached) $ECHO_C" >&6
28597 if test -n "$SETFILE"; then
28598 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
28600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28601 for as_dir
in $PATH
28604 test -z "$as_dir" && as_dir
=.
28605 for ac_exec_ext
in '' $ac_executable_extensions; do
28606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28607 ac_cv_prog_SETFILE
="SetFile"
28608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28614 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
28617 SETFILE
=$ac_cv_prog_SETFILE
28618 if test -n "$SETFILE"; then
28619 echo "$as_me:$LINENO: result: $SETFILE" >&5
28620 echo "${ECHO_T}$SETFILE" >&6
28622 echo "$as_me:$LINENO: result: no" >&5
28623 echo "${ECHO_T}no" >&6
28627 MACSETFILE
="\$(SETFILE)"
28629 if test "$wxUSE_MAC" = 1; then
28630 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28632 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28634 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28635 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28639 MACRESWXCONFIG
="@true"
28641 if test "$wxUSE_PM" = 1; then
28642 MACRESCOMP
="emxbind -ep"
28650 echo "$as_me:$LINENO: checking for mode_t" >&5
28651 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28652 if test "${ac_cv_type_mode_t+set}" = set; then
28653 echo $ECHO_N "(cached) $ECHO_C" >&6
28655 cat >conftest.
$ac_ext <<_ACEOF
28658 cat confdefs.h
>>conftest.
$ac_ext
28659 cat >>conftest.
$ac_ext <<_ACEOF
28660 /* end confdefs.h. */
28661 $ac_includes_default
28667 if (sizeof (mode_t))
28673 rm -f conftest.
$ac_objext
28674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28675 (eval $ac_compile) 2>conftest.er1
28677 grep -v '^ *+' conftest.er1
>conftest.err
28679 cat conftest.err
>&5
28680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28681 (exit $ac_status); } &&
28682 { ac_try
='test -z "$ac_c_werror_flag"
28683 || test ! -s conftest.err'
28684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28685 (eval $ac_try) 2>&5
28687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28688 (exit $ac_status); }; } &&
28689 { ac_try
='test -s conftest.$ac_objext'
28690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28691 (eval $ac_try) 2>&5
28693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28694 (exit $ac_status); }; }; then
28695 ac_cv_type_mode_t
=yes
28697 echo "$as_me: failed program was:" >&5
28698 sed 's/^/| /' conftest.
$ac_ext >&5
28700 ac_cv_type_mode_t
=no
28702 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28704 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28705 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28706 if test $ac_cv_type_mode_t = yes; then
28710 cat >>confdefs.h
<<_ACEOF
28716 echo "$as_me:$LINENO: checking for off_t" >&5
28717 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28718 if test "${ac_cv_type_off_t+set}" = set; then
28719 echo $ECHO_N "(cached) $ECHO_C" >&6
28721 cat >conftest.
$ac_ext <<_ACEOF
28724 cat confdefs.h
>>conftest.
$ac_ext
28725 cat >>conftest.
$ac_ext <<_ACEOF
28726 /* end confdefs.h. */
28727 $ac_includes_default
28733 if (sizeof (off_t))
28739 rm -f conftest.
$ac_objext
28740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28741 (eval $ac_compile) 2>conftest.er1
28743 grep -v '^ *+' conftest.er1
>conftest.err
28745 cat conftest.err
>&5
28746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28747 (exit $ac_status); } &&
28748 { ac_try
='test -z "$ac_c_werror_flag"
28749 || test ! -s conftest.err'
28750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28751 (eval $ac_try) 2>&5
28753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28754 (exit $ac_status); }; } &&
28755 { ac_try
='test -s conftest.$ac_objext'
28756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28757 (eval $ac_try) 2>&5
28759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28760 (exit $ac_status); }; }; then
28761 ac_cv_type_off_t
=yes
28763 echo "$as_me: failed program was:" >&5
28764 sed 's/^/| /' conftest.
$ac_ext >&5
28766 ac_cv_type_off_t
=no
28768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28770 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28771 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28772 if test $ac_cv_type_off_t = yes; then
28776 cat >>confdefs.h
<<_ACEOF
28782 echo "$as_me:$LINENO: checking for pid_t" >&5
28783 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28784 if test "${ac_cv_type_pid_t+set}" = set; then
28785 echo $ECHO_N "(cached) $ECHO_C" >&6
28787 cat >conftest.
$ac_ext <<_ACEOF
28790 cat confdefs.h
>>conftest.
$ac_ext
28791 cat >>conftest.
$ac_ext <<_ACEOF
28792 /* end confdefs.h. */
28793 $ac_includes_default
28799 if (sizeof (pid_t))
28805 rm -f conftest.
$ac_objext
28806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28807 (eval $ac_compile) 2>conftest.er1
28809 grep -v '^ *+' conftest.er1
>conftest.err
28811 cat conftest.err
>&5
28812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28813 (exit $ac_status); } &&
28814 { ac_try
='test -z "$ac_c_werror_flag"
28815 || test ! -s conftest.err'
28816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28817 (eval $ac_try) 2>&5
28819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28820 (exit $ac_status); }; } &&
28821 { ac_try
='test -s conftest.$ac_objext'
28822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28823 (eval $ac_try) 2>&5
28825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28826 (exit $ac_status); }; }; then
28827 ac_cv_type_pid_t
=yes
28829 echo "$as_me: failed program was:" >&5
28830 sed 's/^/| /' conftest.
$ac_ext >&5
28832 ac_cv_type_pid_t
=no
28834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28836 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28837 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28838 if test $ac_cv_type_pid_t = yes; then
28842 cat >>confdefs.h
<<_ACEOF
28848 echo "$as_me:$LINENO: checking for size_t" >&5
28849 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28850 if test "${ac_cv_type_size_t+set}" = set; then
28851 echo $ECHO_N "(cached) $ECHO_C" >&6
28853 cat >conftest.
$ac_ext <<_ACEOF
28856 cat confdefs.h
>>conftest.
$ac_ext
28857 cat >>conftest.
$ac_ext <<_ACEOF
28858 /* end confdefs.h. */
28859 $ac_includes_default
28865 if (sizeof (size_t))
28871 rm -f conftest.
$ac_objext
28872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28873 (eval $ac_compile) 2>conftest.er1
28875 grep -v '^ *+' conftest.er1
>conftest.err
28877 cat conftest.err
>&5
28878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28879 (exit $ac_status); } &&
28880 { ac_try
='test -z "$ac_c_werror_flag"
28881 || test ! -s conftest.err'
28882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28883 (eval $ac_try) 2>&5
28885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28886 (exit $ac_status); }; } &&
28887 { ac_try
='test -s conftest.$ac_objext'
28888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28889 (eval $ac_try) 2>&5
28891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28892 (exit $ac_status); }; }; then
28893 ac_cv_type_size_t
=yes
28895 echo "$as_me: failed program was:" >&5
28896 sed 's/^/| /' conftest.
$ac_ext >&5
28898 ac_cv_type_size_t
=no
28900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28902 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28903 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28904 if test $ac_cv_type_size_t = yes; then
28908 cat >>confdefs.h
<<_ACEOF
28909 #define size_t unsigned
28914 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28915 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28916 if test "${ac_cv_type_uid_t+set}" = set; then
28917 echo $ECHO_N "(cached) $ECHO_C" >&6
28919 cat >conftest.
$ac_ext <<_ACEOF
28922 cat confdefs.h
>>conftest.
$ac_ext
28923 cat >>conftest.
$ac_ext <<_ACEOF
28924 /* end confdefs.h. */
28925 #include <sys/types.h>
28928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28929 $EGREP "uid_t" >/dev
/null
2>&1; then
28930 ac_cv_type_uid_t
=yes
28932 ac_cv_type_uid_t
=no
28937 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28938 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28939 if test $ac_cv_type_uid_t = no
; then
28941 cat >>confdefs.h
<<\_ACEOF
28946 cat >>confdefs.h
<<\_ACEOF
28953 echo "$as_me:$LINENO: checking for ssize_t" >&5
28954 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
28955 if test "${ac_cv_type_ssize_t+set}" = set; then
28956 echo $ECHO_N "(cached) $ECHO_C" >&6
28958 cat >conftest.
$ac_ext <<_ACEOF
28961 cat confdefs.h
>>conftest.
$ac_ext
28962 cat >>conftest.
$ac_ext <<_ACEOF
28963 /* end confdefs.h. */
28964 $ac_includes_default
28970 if (sizeof (ssize_t))
28976 rm -f conftest.
$ac_objext
28977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28978 (eval $ac_compile) 2>conftest.er1
28980 grep -v '^ *+' conftest.er1
>conftest.err
28982 cat conftest.err
>&5
28983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28984 (exit $ac_status); } &&
28985 { ac_try
='test -z "$ac_c_werror_flag"
28986 || test ! -s conftest.err'
28987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28988 (eval $ac_try) 2>&5
28990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28991 (exit $ac_status); }; } &&
28992 { ac_try
='test -s conftest.$ac_objext'
28993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28994 (eval $ac_try) 2>&5
28996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28997 (exit $ac_status); }; }; then
28998 ac_cv_type_ssize_t
=yes
29000 echo "$as_me: failed program was:" >&5
29001 sed 's/^/| /' conftest.
$ac_ext >&5
29003 ac_cv_type_ssize_t
=no
29005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29007 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
29008 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
29009 if test $ac_cv_type_ssize_t = yes; then
29011 cat >>confdefs.h
<<_ACEOF
29012 #define HAVE_SSIZE_T 1
29022 ac_cpp
='$CXXCPP $CPPFLAGS'
29023 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29024 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29025 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29027 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
29028 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
29029 if test "${wx_cv_size_t_is_uint+set}" = set; then
29030 echo $ECHO_N "(cached) $ECHO_C" >&6
29033 cat >conftest.
$ac_ext <<_ACEOF
29036 cat confdefs.h
>>conftest.
$ac_ext
29037 cat >>conftest.
$ac_ext <<_ACEOF
29038 /* end confdefs.h. */
29039 #include <stddef.h>
29046 struct Foo { void foo(size_t); void foo(unsigned int); };
29054 rm -f conftest.
$ac_objext
29055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29056 (eval $ac_compile) 2>conftest.er1
29058 grep -v '^ *+' conftest.er1
>conftest.err
29060 cat conftest.err
>&5
29061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29062 (exit $ac_status); } &&
29063 { ac_try
='test -z "$ac_cxx_werror_flag"
29064 || test ! -s conftest.err'
29065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29066 (eval $ac_try) 2>&5
29068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29069 (exit $ac_status); }; } &&
29070 { ac_try
='test -s conftest.$ac_objext'
29071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29072 (eval $ac_try) 2>&5
29074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29075 (exit $ac_status); }; }; then
29076 wx_cv_size_t_is_uint
=no
29078 echo "$as_me: failed program was:" >&5
29079 sed 's/^/| /' conftest.
$ac_ext >&5
29081 wx_cv_size_t_is_uint
=yes
29084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29088 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
29089 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
29091 if test "$wx_cv_size_t_is_uint" = "yes"; then
29092 cat >>confdefs.h
<<\_ACEOF
29093 #define wxSIZE_T_IS_UINT 1
29097 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
29098 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
29099 if test "${wx_cv_size_t_is_ulong+set}" = set; then
29100 echo $ECHO_N "(cached) $ECHO_C" >&6
29102 cat >conftest.
$ac_ext <<_ACEOF
29105 cat confdefs.h
>>conftest.
$ac_ext
29106 cat >>conftest.
$ac_ext <<_ACEOF
29107 /* end confdefs.h. */
29108 #include <stddef.h>
29115 struct Foo { void foo(size_t); void foo(unsigned long); };
29123 rm -f conftest.
$ac_objext
29124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29125 (eval $ac_compile) 2>conftest.er1
29127 grep -v '^ *+' conftest.er1
>conftest.err
29129 cat conftest.err
>&5
29130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29131 (exit $ac_status); } &&
29132 { ac_try
='test -z "$ac_cxx_werror_flag"
29133 || test ! -s conftest.err'
29134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29135 (eval $ac_try) 2>&5
29137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29138 (exit $ac_status); }; } &&
29139 { ac_try
='test -s conftest.$ac_objext'
29140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29141 (eval $ac_try) 2>&5
29143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29144 (exit $ac_status); }; }; then
29145 wx_cv_size_t_is_ulong
=no
29147 echo "$as_me: failed program was:" >&5
29148 sed 's/^/| /' conftest.
$ac_ext >&5
29150 wx_cv_size_t_is_ulong
=yes
29153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29156 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
29157 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
29159 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29160 cat >>confdefs.h
<<\_ACEOF
29161 #define wxSIZE_T_IS_ULONG 1
29168 ac_cpp
='$CPP $CPPFLAGS'
29169 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29170 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29171 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29175 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
29176 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
29177 if test "${wx_cv_struct_pw_gecos+set}" = set; then
29178 echo $ECHO_N "(cached) $ECHO_C" >&6
29181 cat >conftest.
$ac_ext <<_ACEOF
29184 cat confdefs.h
>>conftest.
$ac_ext
29185 cat >>conftest.
$ac_ext <<_ACEOF
29186 /* end confdefs.h. */
29200 rm -f conftest.
$ac_objext
29201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29202 (eval $ac_compile) 2>conftest.er1
29204 grep -v '^ *+' conftest.er1
>conftest.err
29206 cat conftest.err
>&5
29207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29208 (exit $ac_status); } &&
29209 { ac_try
='test -z "$ac_c_werror_flag"
29210 || test ! -s conftest.err'
29211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29212 (eval $ac_try) 2>&5
29214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29215 (exit $ac_status); }; } &&
29216 { ac_try
='test -s conftest.$ac_objext'
29217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29218 (eval $ac_try) 2>&5
29220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29221 (exit $ac_status); }; }; then
29223 wx_cv_struct_pw_gecos
=yes
29226 echo "$as_me: failed program was:" >&5
29227 sed 's/^/| /' conftest.
$ac_ext >&5
29230 wx_cv_struct_pw_gecos
=no
29234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29238 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
29239 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
29241 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29242 cat >>confdefs.h
<<\_ACEOF
29243 #define HAVE_PW_GECOS 1
29249 if test "$wx_cv_sizeof_wchar_t" != "0"; then
29250 cat >>confdefs.h
<<\_ACEOF
29251 #define wxUSE_WCHAR_T 1
29258 for ac_func
in wcslen
29260 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29261 echo "$as_me:$LINENO: checking for $ac_func" >&5
29262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29263 if eval "test \"\${$as_ac_var+set}\" = set"; then
29264 echo $ECHO_N "(cached) $ECHO_C" >&6
29266 cat >conftest.
$ac_ext <<_ACEOF
29269 cat confdefs.h
>>conftest.
$ac_ext
29270 cat >>conftest.
$ac_ext <<_ACEOF
29271 /* end confdefs.h. */
29272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29274 #define $ac_func innocuous_$ac_func
29276 /* System header to define __stub macros and hopefully few prototypes,
29277 which can conflict with char $ac_func (); below.
29278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29279 <limits.h> exists even on freestanding compilers. */
29282 # include <limits.h>
29284 # include <assert.h>
29289 /* Override any gcc2 internal prototype to avoid an error. */
29294 /* We use char because int might match the return type of a gcc2
29295 builtin and then its argument prototype would still apply. */
29297 /* The GNU C library defines this for functions which it implements
29298 to always fail with ENOSYS. Some functions are actually named
29299 something starting with __ and the normal name is an alias. */
29300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29303 char (*f) () = $ac_func;
29312 return f != $ac_func;
29317 rm -f conftest.
$ac_objext conftest
$ac_exeext
29318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29319 (eval $ac_link) 2>conftest.er1
29321 grep -v '^ *+' conftest.er1
>conftest.err
29323 cat conftest.err
>&5
29324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29325 (exit $ac_status); } &&
29326 { ac_try
='test -z "$ac_c_werror_flag"
29327 || test ! -s conftest.err'
29328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29329 (eval $ac_try) 2>&5
29331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29332 (exit $ac_status); }; } &&
29333 { ac_try
='test -s conftest$ac_exeext'
29334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29335 (eval $ac_try) 2>&5
29337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29338 (exit $ac_status); }; }; then
29339 eval "$as_ac_var=yes"
29341 echo "$as_me: failed program was:" >&5
29342 sed 's/^/| /' conftest.
$ac_ext >&5
29344 eval "$as_ac_var=no"
29346 rm -f conftest.err conftest.
$ac_objext \
29347 conftest
$ac_exeext conftest.
$ac_ext
29349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29351 if test `eval echo '${'$as_ac_var'}'` = yes; then
29352 cat >>confdefs.h
<<_ACEOF
29353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29360 if test "$WCSLEN_FOUND" = 0; then
29361 if test "$TOOLKIT" = "MSW"; then
29362 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
29363 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
29364 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
29365 echo $ECHO_N "(cached) $ECHO_C" >&6
29367 ac_check_lib_save_LIBS
=$LIBS
29368 LIBS
="-lmsvcrt $LIBS"
29369 cat >conftest.
$ac_ext <<_ACEOF
29372 cat confdefs.h
>>conftest.
$ac_ext
29373 cat >>conftest.
$ac_ext <<_ACEOF
29374 /* end confdefs.h. */
29376 /* Override any gcc2 internal prototype to avoid an error. */
29380 /* We use char because int might match the return type of a gcc2
29381 builtin and then its argument prototype would still apply. */
29391 rm -f conftest.
$ac_objext conftest
$ac_exeext
29392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29393 (eval $ac_link) 2>conftest.er1
29395 grep -v '^ *+' conftest.er1
>conftest.err
29397 cat conftest.err
>&5
29398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29399 (exit $ac_status); } &&
29400 { ac_try
='test -z "$ac_c_werror_flag"
29401 || test ! -s conftest.err'
29402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29403 (eval $ac_try) 2>&5
29405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29406 (exit $ac_status); }; } &&
29407 { ac_try
='test -s conftest$ac_exeext'
29408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29409 (eval $ac_try) 2>&5
29411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29412 (exit $ac_status); }; }; then
29413 ac_cv_lib_msvcrt_wcslen
=yes
29415 echo "$as_me: failed program was:" >&5
29416 sed 's/^/| /' conftest.
$ac_ext >&5
29418 ac_cv_lib_msvcrt_wcslen
=no
29420 rm -f conftest.err conftest.
$ac_objext \
29421 conftest
$ac_exeext conftest.
$ac_ext
29422 LIBS
=$ac_check_lib_save_LIBS
29424 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
29425 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
29426 if test $ac_cv_lib_msvcrt_wcslen = yes; then
29431 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
29432 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
29433 if test "${ac_cv_lib_w_wcslen+set}" = set; then
29434 echo $ECHO_N "(cached) $ECHO_C" >&6
29436 ac_check_lib_save_LIBS
=$LIBS
29438 cat >conftest.
$ac_ext <<_ACEOF
29441 cat confdefs.h
>>conftest.
$ac_ext
29442 cat >>conftest.
$ac_ext <<_ACEOF
29443 /* end confdefs.h. */
29445 /* Override any gcc2 internal prototype to avoid an error. */
29449 /* We use char because int might match the return type of a gcc2
29450 builtin and then its argument prototype would still apply. */
29460 rm -f conftest.
$ac_objext conftest
$ac_exeext
29461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29462 (eval $ac_link) 2>conftest.er1
29464 grep -v '^ *+' conftest.er1
>conftest.err
29466 cat conftest.err
>&5
29467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29468 (exit $ac_status); } &&
29469 { ac_try
='test -z "$ac_c_werror_flag"
29470 || test ! -s conftest.err'
29471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29472 (eval $ac_try) 2>&5
29474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29475 (exit $ac_status); }; } &&
29476 { ac_try
='test -s conftest$ac_exeext'
29477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29478 (eval $ac_try) 2>&5
29480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29481 (exit $ac_status); }; }; then
29482 ac_cv_lib_w_wcslen
=yes
29484 echo "$as_me: failed program was:" >&5
29485 sed 's/^/| /' conftest.
$ac_ext >&5
29487 ac_cv_lib_w_wcslen
=no
29489 rm -f conftest.err conftest.
$ac_objext \
29490 conftest
$ac_exeext conftest.
$ac_ext
29491 LIBS
=$ac_check_lib_save_LIBS
29493 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29494 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29495 if test $ac_cv_lib_w_wcslen = yes; then
29505 if test "$WCSLEN_FOUND" = 1; then
29506 cat >>confdefs.h
<<\_ACEOF
29507 #define HAVE_WCSLEN 1
29512 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
29513 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29517 for ac_func
in wcsrtombs
29519 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29520 echo "$as_me:$LINENO: checking for $ac_func" >&5
29521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29522 if eval "test \"\${$as_ac_var+set}\" = set"; then
29523 echo $ECHO_N "(cached) $ECHO_C" >&6
29525 cat >conftest.
$ac_ext <<_ACEOF
29528 cat confdefs.h
>>conftest.
$ac_ext
29529 cat >>conftest.
$ac_ext <<_ACEOF
29530 /* end confdefs.h. */
29531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29533 #define $ac_func innocuous_$ac_func
29535 /* System header to define __stub macros and hopefully few prototypes,
29536 which can conflict with char $ac_func (); below.
29537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29538 <limits.h> exists even on freestanding compilers. */
29541 # include <limits.h>
29543 # include <assert.h>
29548 /* Override any gcc2 internal prototype to avoid an error. */
29553 /* We use char because int might match the return type of a gcc2
29554 builtin and then its argument prototype would still apply. */
29556 /* The GNU C library defines this for functions which it implements
29557 to always fail with ENOSYS. Some functions are actually named
29558 something starting with __ and the normal name is an alias. */
29559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29562 char (*f) () = $ac_func;
29571 return f != $ac_func;
29576 rm -f conftest.
$ac_objext conftest
$ac_exeext
29577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29578 (eval $ac_link) 2>conftest.er1
29580 grep -v '^ *+' conftest.er1
>conftest.err
29582 cat conftest.err
>&5
29583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29584 (exit $ac_status); } &&
29585 { ac_try
='test -z "$ac_c_werror_flag"
29586 || test ! -s conftest.err'
29587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29588 (eval $ac_try) 2>&5
29590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29591 (exit $ac_status); }; } &&
29592 { ac_try
='test -s conftest$ac_exeext'
29593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29594 (eval $ac_try) 2>&5
29596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29597 (exit $ac_status); }; }; then
29598 eval "$as_ac_var=yes"
29600 echo "$as_me: failed program was:" >&5
29601 sed 's/^/| /' conftest.
$ac_ext >&5
29603 eval "$as_ac_var=no"
29605 rm -f conftest.err conftest.
$ac_objext \
29606 conftest
$ac_exeext conftest.
$ac_ext
29608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29610 if test `eval echo '${'$as_ac_var'}'` = yes; then
29611 cat >>confdefs.h
<<_ACEOF
29612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29619 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29620 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29626 ac_cpp
='$CXXCPP $CPPFLAGS'
29627 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29628 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29629 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29633 for ac_func
in vsnprintf
29635 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29636 echo "$as_me:$LINENO: checking for $ac_func" >&5
29637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29638 if eval "test \"\${$as_ac_var+set}\" = set"; then
29639 echo $ECHO_N "(cached) $ECHO_C" >&6
29641 cat >conftest.
$ac_ext <<_ACEOF
29644 cat confdefs.h
>>conftest.
$ac_ext
29645 cat >>conftest.
$ac_ext <<_ACEOF
29646 /* end confdefs.h. */
29647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29649 #define $ac_func innocuous_$ac_func
29651 /* System header to define __stub macros and hopefully few prototypes,
29652 which can conflict with char $ac_func (); below.
29653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29654 <limits.h> exists even on freestanding compilers. */
29657 # include <limits.h>
29659 # include <assert.h>
29664 /* Override any gcc2 internal prototype to avoid an error. */
29669 /* We use char because int might match the return type of a gcc2
29670 builtin and then its argument prototype would still apply. */
29672 /* The GNU C library defines this for functions which it implements
29673 to always fail with ENOSYS. Some functions are actually named
29674 something starting with __ and the normal name is an alias. */
29675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29678 char (*f) () = $ac_func;
29687 return f != $ac_func;
29692 rm -f conftest.
$ac_objext conftest
$ac_exeext
29693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29694 (eval $ac_link) 2>conftest.er1
29696 grep -v '^ *+' conftest.er1
>conftest.err
29698 cat conftest.err
>&5
29699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29700 (exit $ac_status); } &&
29701 { ac_try
='test -z "$ac_cxx_werror_flag"
29702 || test ! -s conftest.err'
29703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29704 (eval $ac_try) 2>&5
29706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29707 (exit $ac_status); }; } &&
29708 { ac_try
='test -s conftest$ac_exeext'
29709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29710 (eval $ac_try) 2>&5
29712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29713 (exit $ac_status); }; }; then
29714 eval "$as_ac_var=yes"
29716 echo "$as_me: failed program was:" >&5
29717 sed 's/^/| /' conftest.
$ac_ext >&5
29719 eval "$as_ac_var=no"
29721 rm -f conftest.err conftest.
$ac_objext \
29722 conftest
$ac_exeext conftest.
$ac_ext
29724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29726 if test `eval echo '${'$as_ac_var'}'` = yes; then
29727 cat >>confdefs.h
<<_ACEOF
29728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29735 if test "$ac_cv_func_vsnprintf" = "yes"; then
29736 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29737 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29738 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29739 echo $ECHO_N "(cached) $ECHO_C" >&6
29742 cat >conftest.
$ac_ext <<_ACEOF
29745 cat confdefs.h
>>conftest.
$ac_ext
29746 cat >>conftest.
$ac_ext <<_ACEOF
29747 /* end confdefs.h. */
29750 #include <stdarg.h>
29758 vsnprintf(buf, 10u, "%s", ap);
29764 rm -f conftest.
$ac_objext
29765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29766 (eval $ac_compile) 2>conftest.er1
29768 grep -v '^ *+' conftest.er1
>conftest.err
29770 cat conftest.err
>&5
29771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29772 (exit $ac_status); } &&
29773 { ac_try
='test -z "$ac_cxx_werror_flag"
29774 || test ! -s conftest.err'
29775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29776 (eval $ac_try) 2>&5
29778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29779 (exit $ac_status); }; } &&
29780 { ac_try
='test -s conftest.$ac_objext'
29781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29782 (eval $ac_try) 2>&5
29784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29785 (exit $ac_status); }; }; then
29786 wx_cv_func_vsnprintf_decl
=yes
29788 echo "$as_me: failed program was:" >&5
29789 sed 's/^/| /' conftest.
$ac_ext >&5
29792 cat >conftest.
$ac_ext <<_ACEOF
29795 cat confdefs.h
>>conftest.
$ac_ext
29796 cat >>conftest.
$ac_ext <<_ACEOF
29797 /* end confdefs.h. */
29800 #include <stdarg.h>
29801 using namespace std;
29809 vsnprintf(buf, 10u, "%s", ap);
29815 rm -f conftest.
$ac_objext
29816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29817 (eval $ac_compile) 2>conftest.er1
29819 grep -v '^ *+' conftest.er1
>conftest.err
29821 cat conftest.err
>&5
29822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29823 (exit $ac_status); } &&
29824 { ac_try
='test -z "$ac_cxx_werror_flag"
29825 || test ! -s conftest.err'
29826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29827 (eval $ac_try) 2>&5
29829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29830 (exit $ac_status); }; } &&
29831 { ac_try
='test -s conftest.$ac_objext'
29832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29833 (eval $ac_try) 2>&5
29835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836 (exit $ac_status); }; }; then
29837 wx_cv_func_vsnprintf_decl
=yes
29839 echo "$as_me: failed program was:" >&5
29840 sed 's/^/| /' conftest.
$ac_ext >&5
29842 wx_cv_func_vsnprintf_decl
=no
29845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29853 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29854 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29856 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29857 cat >>confdefs.h
<<\_ACEOF
29858 #define HAVE_VSNPRINTF_DECL 1
29864 if test "$wxUSE_UNICODE" = yes; then
29871 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
29873 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29874 echo "$as_me:$LINENO: checking for $ac_func" >&5
29875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29876 if eval "test \"\${$as_ac_var+set}\" = set"; then
29877 echo $ECHO_N "(cached) $ECHO_C" >&6
29879 cat >conftest.
$ac_ext <<_ACEOF
29882 cat confdefs.h
>>conftest.
$ac_ext
29883 cat >>conftest.
$ac_ext <<_ACEOF
29884 /* end confdefs.h. */
29885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29887 #define $ac_func innocuous_$ac_func
29889 /* System header to define __stub macros and hopefully few prototypes,
29890 which can conflict with char $ac_func (); below.
29891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29892 <limits.h> exists even on freestanding compilers. */
29895 # include <limits.h>
29897 # include <assert.h>
29902 /* Override any gcc2 internal prototype to avoid an error. */
29907 /* We use char because int might match the return type of a gcc2
29908 builtin and then its argument prototype would still apply. */
29910 /* The GNU C library defines this for functions which it implements
29911 to always fail with ENOSYS. Some functions are actually named
29912 something starting with __ and the normal name is an alias. */
29913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29916 char (*f) () = $ac_func;
29925 return f != $ac_func;
29930 rm -f conftest.
$ac_objext conftest
$ac_exeext
29931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29932 (eval $ac_link) 2>conftest.er1
29934 grep -v '^ *+' conftest.er1
>conftest.err
29936 cat conftest.err
>&5
29937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29938 (exit $ac_status); } &&
29939 { ac_try
='test -z "$ac_cxx_werror_flag"
29940 || test ! -s conftest.err'
29941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29942 (eval $ac_try) 2>&5
29944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29945 (exit $ac_status); }; } &&
29946 { ac_try
='test -s conftest$ac_exeext'
29947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29948 (eval $ac_try) 2>&5
29950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29951 (exit $ac_status); }; }; then
29952 eval "$as_ac_var=yes"
29954 echo "$as_me: failed program was:" >&5
29955 sed 's/^/| /' conftest.
$ac_ext >&5
29957 eval "$as_ac_var=no"
29959 rm -f conftest.err conftest.
$ac_objext \
29960 conftest
$ac_exeext conftest.
$ac_ext
29962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29964 if test `eval echo '${'$as_ac_var'}'` = yes; then
29965 cat >>confdefs.h
<<_ACEOF
29966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29973 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29974 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29975 cat >conftest.
$ac_ext <<_ACEOF
29978 cat confdefs.h
>>conftest.
$ac_ext
29979 cat >>conftest.
$ac_ext <<_ACEOF
29980 /* end confdefs.h. */
29990 rm -f conftest.
$ac_objext
29991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29992 (eval $ac_compile) 2>conftest.er1
29994 grep -v '^ *+' conftest.er1
>conftest.err
29996 cat conftest.err
>&5
29997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29998 (exit $ac_status); } &&
29999 { ac_try
='test -z "$ac_cxx_werror_flag"
30000 || test ! -s conftest.err'
30001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30002 (eval $ac_try) 2>&5
30004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30005 (exit $ac_status); }; } &&
30006 { ac_try
='test -s conftest.$ac_objext'
30007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30008 (eval $ac_try) 2>&5
30010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30011 (exit $ac_status); }; }; then
30012 echo "$as_me:$LINENO: result: yes" >&5
30013 echo "${ECHO_T}yes" >&6
30014 cat >>confdefs.h
<<\_ACEOF
30015 #define HAVE__VSNWPRINTF 1
30019 echo "$as_me: failed program was:" >&5
30020 sed 's/^/| /' conftest.
$ac_ext >&5
30022 echo "$as_me:$LINENO: result: no" >&5
30023 echo "${ECHO_T}no" >&6
30025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
30029 ac_cpp
='$CPP $CPPFLAGS'
30030 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30031 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30032 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30037 if test "$TOOLKIT" != "MSW"; then
30043 ac_cpp
='$CXXCPP $CPPFLAGS'
30044 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30045 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30046 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30051 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
30052 if test "${with_libiconv_prefix+set}" = set; then
30053 withval
="$with_libiconv_prefix"
30055 for dir
in `echo "$withval" | tr : ' '`; do
30056 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
30057 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
30062 echo "$as_me:$LINENO: checking for iconv" >&5
30063 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
30064 if test "${am_cv_func_iconv+set}" = set; then
30065 echo $ECHO_N "(cached) $ECHO_C" >&6
30068 am_cv_func_iconv
="no, consider installing GNU libiconv"
30070 cat >conftest.
$ac_ext <<_ACEOF
30073 cat confdefs.h
>>conftest.
$ac_ext
30074 cat >>conftest.
$ac_ext <<_ACEOF
30075 /* end confdefs.h. */
30076 #include <stdlib.h>
30081 iconv_t cd = iconv_open("","");
30082 iconv(cd,NULL,NULL,NULL,NULL);
30088 rm -f conftest.
$ac_objext conftest
$ac_exeext
30089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30090 (eval $ac_link) 2>conftest.er1
30092 grep -v '^ *+' conftest.er1
>conftest.err
30094 cat conftest.err
>&5
30095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30096 (exit $ac_status); } &&
30097 { ac_try
='test -z "$ac_cxx_werror_flag"
30098 || test ! -s conftest.err'
30099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30100 (eval $ac_try) 2>&5
30102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30103 (exit $ac_status); }; } &&
30104 { ac_try
='test -s conftest$ac_exeext'
30105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30106 (eval $ac_try) 2>&5
30108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30109 (exit $ac_status); }; }; then
30110 am_cv_func_iconv
=yes
30112 echo "$as_me: failed program was:" >&5
30113 sed 's/^/| /' conftest.
$ac_ext >&5
30116 rm -f conftest.err conftest.
$ac_objext \
30117 conftest
$ac_exeext conftest.
$ac_ext
30118 if test "$am_cv_func_iconv" != yes; then
30119 am_save_LIBS
="$LIBS"
30120 LIBS
="$LIBS -liconv"
30121 cat >conftest.
$ac_ext <<_ACEOF
30124 cat confdefs.h
>>conftest.
$ac_ext
30125 cat >>conftest.
$ac_ext <<_ACEOF
30126 /* end confdefs.h. */
30127 #include <stdlib.h>
30132 iconv_t cd = iconv_open("","");
30133 iconv(cd,NULL,NULL,NULL,NULL);
30139 rm -f conftest.
$ac_objext conftest
$ac_exeext
30140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30141 (eval $ac_link) 2>conftest.er1
30143 grep -v '^ *+' conftest.er1
>conftest.err
30145 cat conftest.err
>&5
30146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30147 (exit $ac_status); } &&
30148 { ac_try
='test -z "$ac_cxx_werror_flag"
30149 || test ! -s conftest.err'
30150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30151 (eval $ac_try) 2>&5
30153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30154 (exit $ac_status); }; } &&
30155 { ac_try
='test -s conftest$ac_exeext'
30156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30157 (eval $ac_try) 2>&5
30159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30160 (exit $ac_status); }; }; then
30161 am_cv_lib_iconv
=yes
30162 am_cv_func_iconv
=yes
30164 echo "$as_me: failed program was:" >&5
30165 sed 's/^/| /' conftest.
$ac_ext >&5
30168 rm -f conftest.err conftest.
$ac_objext \
30169 conftest
$ac_exeext conftest.
$ac_ext
30170 LIBS
="$am_save_LIBS"
30174 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
30175 echo "${ECHO_T}$am_cv_func_iconv" >&6
30176 if test "$am_cv_func_iconv" = yes; then
30178 cat >>confdefs.h
<<\_ACEOF
30179 #define HAVE_ICONV 1
30182 echo "$as_me:$LINENO: checking if iconv needs const" >&5
30183 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
30184 if test "${wx_cv_func_iconv_const+set}" = set; then
30185 echo $ECHO_N "(cached) $ECHO_C" >&6
30187 cat >conftest.
$ac_ext <<_ACEOF
30190 cat confdefs.h
>>conftest.
$ac_ext
30191 cat >>conftest.
$ac_ext <<_ACEOF
30192 /* end confdefs.h. */
30194 #include <stdlib.h>
30200 #if defined(__STDC__) || defined(__cplusplus)
30201 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30214 rm -f conftest.
$ac_objext
30215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30216 (eval $ac_compile) 2>conftest.er1
30218 grep -v '^ *+' conftest.er1
>conftest.err
30220 cat conftest.err
>&5
30221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30222 (exit $ac_status); } &&
30223 { ac_try
='test -z "$ac_cxx_werror_flag"
30224 || test ! -s conftest.err'
30225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30226 (eval $ac_try) 2>&5
30228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30229 (exit $ac_status); }; } &&
30230 { ac_try
='test -s conftest.$ac_objext'
30231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30232 (eval $ac_try) 2>&5
30234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30235 (exit $ac_status); }; }; then
30236 wx_cv_func_iconv_const
="no"
30238 echo "$as_me: failed program was:" >&5
30239 sed 's/^/| /' conftest.
$ac_ext >&5
30241 wx_cv_func_iconv_const
="yes"
30244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30247 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
30248 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
30251 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30252 iconv_const
="const"
30256 cat >>confdefs.h
<<_ACEOF
30257 #define ICONV_CONST $iconv_const
30262 if test "$am_cv_lib_iconv" = yes; then
30267 LIBS
="$LIBICONV $LIBS"
30269 ac_cpp
='$CPP $CPPFLAGS'
30270 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30271 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30272 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30275 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30277 for ac_func
in sigaction
30279 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30280 echo "$as_me:$LINENO: checking for $ac_func" >&5
30281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30282 if eval "test \"\${$as_ac_var+set}\" = set"; then
30283 echo $ECHO_N "(cached) $ECHO_C" >&6
30285 cat >conftest.
$ac_ext <<_ACEOF
30288 cat confdefs.h
>>conftest.
$ac_ext
30289 cat >>conftest.
$ac_ext <<_ACEOF
30290 /* end confdefs.h. */
30291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30293 #define $ac_func innocuous_$ac_func
30295 /* System header to define __stub macros and hopefully few prototypes,
30296 which can conflict with char $ac_func (); below.
30297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30298 <limits.h> exists even on freestanding compilers. */
30301 # include <limits.h>
30303 # include <assert.h>
30308 /* Override any gcc2 internal prototype to avoid an error. */
30313 /* We use char because int might match the return type of a gcc2
30314 builtin and then its argument prototype would still apply. */
30316 /* The GNU C library defines this for functions which it implements
30317 to always fail with ENOSYS. Some functions are actually named
30318 something starting with __ and the normal name is an alias. */
30319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30322 char (*f) () = $ac_func;
30331 return f != $ac_func;
30336 rm -f conftest.
$ac_objext conftest
$ac_exeext
30337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30338 (eval $ac_link) 2>conftest.er1
30340 grep -v '^ *+' conftest.er1
>conftest.err
30342 cat conftest.err
>&5
30343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30344 (exit $ac_status); } &&
30345 { ac_try
='test -z "$ac_c_werror_flag"
30346 || test ! -s conftest.err'
30347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30348 (eval $ac_try) 2>&5
30350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30351 (exit $ac_status); }; } &&
30352 { ac_try
='test -s conftest$ac_exeext'
30353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30354 (eval $ac_try) 2>&5
30356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30357 (exit $ac_status); }; }; then
30358 eval "$as_ac_var=yes"
30360 echo "$as_me: failed program was:" >&5
30361 sed 's/^/| /' conftest.
$ac_ext >&5
30363 eval "$as_ac_var=no"
30365 rm -f conftest.err conftest.
$ac_objext \
30366 conftest
$ac_exeext conftest.
$ac_ext
30368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30370 if test `eval echo '${'$as_ac_var'}'` = yes; then
30371 cat >>confdefs.h
<<_ACEOF
30372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30379 if test "$ac_cv_func_sigaction" = "no"; then
30380 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30381 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30382 wxUSE_ON_FATAL_EXCEPTION
=no
30385 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30389 ac_cpp
='$CXXCPP $CPPFLAGS'
30390 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30391 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30392 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30395 echo "$as_me:$LINENO: checking for sa_handler type" >&5
30396 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
30397 if test "${wx_cv_type_sa_handler+set}" = set; then
30398 echo $ECHO_N "(cached) $ECHO_C" >&6
30401 cat >conftest.
$ac_ext <<_ACEOF
30404 cat confdefs.h
>>conftest.
$ac_ext
30405 cat >>conftest.
$ac_ext <<_ACEOF
30406 /* end confdefs.h. */
30407 #include <signal.h>
30412 extern void testSigHandler(int);
30414 struct sigaction sa;
30415 sa.sa_handler = testSigHandler;
30421 rm -f conftest.
$ac_objext
30422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30423 (eval $ac_compile) 2>conftest.er1
30425 grep -v '^ *+' conftest.er1
>conftest.err
30427 cat conftest.err
>&5
30428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30429 (exit $ac_status); } &&
30430 { ac_try
='test -z "$ac_cxx_werror_flag"
30431 || test ! -s conftest.err'
30432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30433 (eval $ac_try) 2>&5
30435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30436 (exit $ac_status); }; } &&
30437 { ac_try
='test -s conftest.$ac_objext'
30438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30439 (eval $ac_try) 2>&5
30441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30442 (exit $ac_status); }; }; then
30444 wx_cv_type_sa_handler
=int
30447 echo "$as_me: failed program was:" >&5
30448 sed 's/^/| /' conftest.
$ac_ext >&5
30451 wx_cv_type_sa_handler
=void
30454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30457 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
30458 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
30461 ac_cpp
='$CPP $CPPFLAGS'
30462 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30463 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30464 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30467 cat >>confdefs.h
<<_ACEOF
30468 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30474 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30478 ac_cpp
='$CXXCPP $CPPFLAGS'
30479 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30480 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30481 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30484 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
30485 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
30486 if test "${wx_cv_func_backtrace+set}" = set; then
30487 echo $ECHO_N "(cached) $ECHO_C" >&6
30490 cat >conftest.
$ac_ext <<_ACEOF
30493 cat confdefs.h
>>conftest.
$ac_ext
30494 cat >>conftest.
$ac_ext <<_ACEOF
30495 /* end confdefs.h. */
30496 #include <execinfo.h>
30504 backtrace(trace, 1);
30505 messages = backtrace_symbols(trace, 1);
30511 rm -f conftest.
$ac_objext
30512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30513 (eval $ac_compile) 2>conftest.er1
30515 grep -v '^ *+' conftest.er1
>conftest.err
30517 cat conftest.err
>&5
30518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519 (exit $ac_status); } &&
30520 { ac_try
='test -z "$ac_cxx_werror_flag"
30521 || test ! -s conftest.err'
30522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30523 (eval $ac_try) 2>&5
30525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526 (exit $ac_status); }; } &&
30527 { ac_try
='test -s conftest.$ac_objext'
30528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30529 (eval $ac_try) 2>&5
30531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30532 (exit $ac_status); }; }; then
30533 wx_cv_func_backtrace
=yes
30535 echo "$as_me: failed program was:" >&5
30536 sed 's/^/| /' conftest.
$ac_ext >&5
30538 wx_cv_func_backtrace
=no
30541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30545 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
30546 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
30549 if test "$wx_cv_func_backtrace" = "no"; then
30550 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30551 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30552 wxUSE_STACKWALKER
=no
30554 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
30555 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
30556 if test "${wx_cv_func_cxa_demangle+set}" = set; then
30557 echo $ECHO_N "(cached) $ECHO_C" >&6
30560 cat >conftest.
$ac_ext <<_ACEOF
30563 cat confdefs.h
>>conftest.
$ac_ext
30564 cat >>conftest.
$ac_ext <<_ACEOF
30565 /* end confdefs.h. */
30566 #include <cxxabi.h>
30572 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30578 rm -f conftest.
$ac_objext
30579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30580 (eval $ac_compile) 2>conftest.er1
30582 grep -v '^ *+' conftest.er1
>conftest.err
30584 cat conftest.err
>&5
30585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30586 (exit $ac_status); } &&
30587 { ac_try
='test -z "$ac_cxx_werror_flag"
30588 || test ! -s conftest.err'
30589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30590 (eval $ac_try) 2>&5
30592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30593 (exit $ac_status); }; } &&
30594 { ac_try
='test -s conftest.$ac_objext'
30595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30596 (eval $ac_try) 2>&5
30598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30599 (exit $ac_status); }; }; then
30600 wx_cv_func_cxa_demangle
=yes
30602 echo "$as_me: failed program was:" >&5
30603 sed 's/^/| /' conftest.
$ac_ext >&5
30605 wx_cv_func_cxa_demangle
=no
30608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30612 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
30613 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
30615 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30616 cat >>confdefs.h
<<\_ACEOF
30617 #define HAVE_CXA_DEMANGLE 1
30624 ac_cpp
='$CPP $CPPFLAGS'
30625 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30626 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30627 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30633 for ac_func
in mkstemp mktemp
30635 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30636 echo "$as_me:$LINENO: checking for $ac_func" >&5
30637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30638 if eval "test \"\${$as_ac_var+set}\" = set"; then
30639 echo $ECHO_N "(cached) $ECHO_C" >&6
30641 cat >conftest.
$ac_ext <<_ACEOF
30644 cat confdefs.h
>>conftest.
$ac_ext
30645 cat >>conftest.
$ac_ext <<_ACEOF
30646 /* end confdefs.h. */
30647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30649 #define $ac_func innocuous_$ac_func
30651 /* System header to define __stub macros and hopefully few prototypes,
30652 which can conflict with char $ac_func (); below.
30653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30654 <limits.h> exists even on freestanding compilers. */
30657 # include <limits.h>
30659 # include <assert.h>
30664 /* Override any gcc2 internal prototype to avoid an error. */
30669 /* We use char because int might match the return type of a gcc2
30670 builtin and then its argument prototype would still apply. */
30672 /* The GNU C library defines this for functions which it implements
30673 to always fail with ENOSYS. Some functions are actually named
30674 something starting with __ and the normal name is an alias. */
30675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30678 char (*f) () = $ac_func;
30687 return f != $ac_func;
30692 rm -f conftest.
$ac_objext conftest
$ac_exeext
30693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30694 (eval $ac_link) 2>conftest.er1
30696 grep -v '^ *+' conftest.er1
>conftest.err
30698 cat conftest.err
>&5
30699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30700 (exit $ac_status); } &&
30701 { ac_try
='test -z "$ac_c_werror_flag"
30702 || test ! -s conftest.err'
30703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30704 (eval $ac_try) 2>&5
30706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30707 (exit $ac_status); }; } &&
30708 { ac_try
='test -s conftest$ac_exeext'
30709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30710 (eval $ac_try) 2>&5
30712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30713 (exit $ac_status); }; }; then
30714 eval "$as_ac_var=yes"
30716 echo "$as_me: failed program was:" >&5
30717 sed 's/^/| /' conftest.
$ac_ext >&5
30719 eval "$as_ac_var=no"
30721 rm -f conftest.err conftest.
$ac_objext \
30722 conftest
$ac_exeext conftest.
$ac_ext
30724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30726 if test `eval echo '${'$as_ac_var'}'` = yes; then
30727 cat >>confdefs.h
<<_ACEOF
30728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30735 echo "$as_me:$LINENO: checking for statfs" >&5
30736 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30737 if test "${wx_cv_func_statfs+set}" = set; then
30738 echo $ECHO_N "(cached) $ECHO_C" >&6
30740 cat >conftest.
$ac_ext <<_ACEOF
30743 cat confdefs.h
>>conftest.
$ac_ext
30744 cat >>conftest.
$ac_ext <<_ACEOF
30745 /* end confdefs.h. */
30747 #if defined(__BSD__)
30748 #include <sys/param.h>
30749 #include <sys/mount.h>
30751 #include <sys/vfs.h>
30769 rm -f conftest.
$ac_objext
30770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30771 (eval $ac_compile) 2>conftest.er1
30773 grep -v '^ *+' conftest.er1
>conftest.err
30775 cat conftest.err
>&5
30776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777 (exit $ac_status); } &&
30778 { ac_try
='test -z "$ac_c_werror_flag"
30779 || test ! -s conftest.err'
30780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30781 (eval $ac_try) 2>&5
30783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30784 (exit $ac_status); }; } &&
30785 { ac_try
='test -s conftest.$ac_objext'
30786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30787 (eval $ac_try) 2>&5
30789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30790 (exit $ac_status); }; }; then
30792 wx_cv_func_statfs
=yes
30795 echo "$as_me: failed program was:" >&5
30796 sed 's/^/| /' conftest.
$ac_ext >&5
30799 wx_cv_func_statfs
=no
30803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30806 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30807 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30809 if test "$wx_cv_func_statfs" = "yes"; then
30810 wx_cv_type_statvfs_t
="struct statfs"
30811 cat >>confdefs.h
<<\_ACEOF
30812 #define HAVE_STATFS 1
30816 echo "$as_me:$LINENO: checking for statvfs" >&5
30817 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30818 if test "${wx_cv_func_statvfs+set}" = set; then
30819 echo $ECHO_N "(cached) $ECHO_C" >&6
30821 cat >conftest.
$ac_ext <<_ACEOF
30824 cat confdefs.h
>>conftest.
$ac_ext
30825 cat >>conftest.
$ac_ext <<_ACEOF
30826 /* end confdefs.h. */
30828 #include <stddef.h>
30829 #include <sys/statvfs.h>
30835 statvfs("/", NULL);
30841 rm -f conftest.
$ac_objext
30842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30843 (eval $ac_compile) 2>conftest.er1
30845 grep -v '^ *+' conftest.er1
>conftest.err
30847 cat conftest.err
>&5
30848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30849 (exit $ac_status); } &&
30850 { ac_try
='test -z "$ac_c_werror_flag"
30851 || test ! -s conftest.err'
30852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30853 (eval $ac_try) 2>&5
30855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30856 (exit $ac_status); }; } &&
30857 { ac_try
='test -s conftest.$ac_objext'
30858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30859 (eval $ac_try) 2>&5
30861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30862 (exit $ac_status); }; }; then
30863 wx_cv_func_statvfs
=yes
30865 echo "$as_me: failed program was:" >&5
30866 sed 's/^/| /' conftest.
$ac_ext >&5
30868 wx_cv_func_statvfs
=no
30871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30874 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30875 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30877 if test "$wx_cv_func_statvfs" = "yes"; then
30881 ac_cpp
='$CXXCPP $CPPFLAGS'
30882 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30883 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30884 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30887 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30888 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30889 if test "${wx_cv_type_statvfs_t+set}" = set; then
30890 echo $ECHO_N "(cached) $ECHO_C" >&6
30892 cat >conftest.
$ac_ext <<_ACEOF
30895 cat confdefs.h
>>conftest.
$ac_ext
30896 cat >>conftest.
$ac_ext <<_ACEOF
30897 /* end confdefs.h. */
30899 #include <sys/statvfs.h>
30916 rm -f conftest.
$ac_objext
30917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30918 (eval $ac_compile) 2>conftest.er1
30920 grep -v '^ *+' conftest.er1
>conftest.err
30922 cat conftest.err
>&5
30923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30924 (exit $ac_status); } &&
30925 { ac_try
='test -z "$ac_cxx_werror_flag"
30926 || test ! -s conftest.err'
30927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30928 (eval $ac_try) 2>&5
30930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931 (exit $ac_status); }; } &&
30932 { ac_try
='test -s conftest.$ac_objext'
30933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30934 (eval $ac_try) 2>&5
30936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30937 (exit $ac_status); }; }; then
30938 wx_cv_type_statvfs_t
=statvfs_t
30940 echo "$as_me: failed program was:" >&5
30941 sed 's/^/| /' conftest.
$ac_ext >&5
30944 cat >conftest.
$ac_ext <<_ACEOF
30947 cat confdefs.h
>>conftest.
$ac_ext
30948 cat >>conftest.
$ac_ext <<_ACEOF
30949 /* end confdefs.h. */
30951 #include <sys/statvfs.h>
30968 rm -f conftest.
$ac_objext
30969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30970 (eval $ac_compile) 2>conftest.er1
30972 grep -v '^ *+' conftest.er1
>conftest.err
30974 cat conftest.err
>&5
30975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30976 (exit $ac_status); } &&
30977 { ac_try
='test -z "$ac_cxx_werror_flag"
30978 || test ! -s conftest.err'
30979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30980 (eval $ac_try) 2>&5
30982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30983 (exit $ac_status); }; } &&
30984 { ac_try
='test -s conftest.$ac_objext'
30985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30986 (eval $ac_try) 2>&5
30988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30989 (exit $ac_status); }; }; then
30990 wx_cv_type_statvfs_t
="struct statvfs"
30992 echo "$as_me: failed program was:" >&5
30993 sed 's/^/| /' conftest.
$ac_ext >&5
30995 wx_cv_type_statvfs_t
="unknown"
30998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31005 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
31006 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
31009 ac_cpp
='$CPP $CPPFLAGS'
31010 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31011 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31012 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31015 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31016 cat >>confdefs.h
<<\_ACEOF
31017 #define HAVE_STATVFS 1
31022 wx_cv_type_statvfs_t
="unknown"
31026 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31027 cat >>confdefs.h
<<_ACEOF
31028 #define WX_STATFS_T $wx_cv_type_statvfs_t
31032 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31033 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31036 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31039 for ac_func
in fcntl flock
31041 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31042 echo "$as_me:$LINENO: checking for $ac_func" >&5
31043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31044 if eval "test \"\${$as_ac_var+set}\" = set"; then
31045 echo $ECHO_N "(cached) $ECHO_C" >&6
31047 cat >conftest.
$ac_ext <<_ACEOF
31050 cat confdefs.h
>>conftest.
$ac_ext
31051 cat >>conftest.
$ac_ext <<_ACEOF
31052 /* end confdefs.h. */
31053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31055 #define $ac_func innocuous_$ac_func
31057 /* System header to define __stub macros and hopefully few prototypes,
31058 which can conflict with char $ac_func (); below.
31059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31060 <limits.h> exists even on freestanding compilers. */
31063 # include <limits.h>
31065 # include <assert.h>
31070 /* Override any gcc2 internal prototype to avoid an error. */
31075 /* We use char because int might match the return type of a gcc2
31076 builtin and then its argument prototype would still apply. */
31078 /* The GNU C library defines this for functions which it implements
31079 to always fail with ENOSYS. Some functions are actually named
31080 something starting with __ and the normal name is an alias. */
31081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31084 char (*f) () = $ac_func;
31093 return f != $ac_func;
31098 rm -f conftest.
$ac_objext conftest
$ac_exeext
31099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31100 (eval $ac_link) 2>conftest.er1
31102 grep -v '^ *+' conftest.er1
>conftest.err
31104 cat conftest.err
>&5
31105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31106 (exit $ac_status); } &&
31107 { ac_try
='test -z "$ac_c_werror_flag"
31108 || test ! -s conftest.err'
31109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31110 (eval $ac_try) 2>&5
31112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31113 (exit $ac_status); }; } &&
31114 { ac_try
='test -s conftest$ac_exeext'
31115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31116 (eval $ac_try) 2>&5
31118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31119 (exit $ac_status); }; }; then
31120 eval "$as_ac_var=yes"
31122 echo "$as_me: failed program was:" >&5
31123 sed 's/^/| /' conftest.
$ac_ext >&5
31125 eval "$as_ac_var=no"
31127 rm -f conftest.err conftest.
$ac_objext \
31128 conftest
$ac_exeext conftest.
$ac_ext
31130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31132 if test `eval echo '${'$as_ac_var'}'` = yes; then
31133 cat >>confdefs.h
<<_ACEOF
31134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31141 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31142 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
31143 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31144 wxUSE_SNGLINST_CHECKER
=no
31149 for ac_func
in timegm
31151 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31152 echo "$as_me:$LINENO: checking for $ac_func" >&5
31153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31154 if eval "test \"\${$as_ac_var+set}\" = set"; then
31155 echo $ECHO_N "(cached) $ECHO_C" >&6
31157 cat >conftest.
$ac_ext <<_ACEOF
31160 cat confdefs.h
>>conftest.
$ac_ext
31161 cat >>conftest.
$ac_ext <<_ACEOF
31162 /* end confdefs.h. */
31163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31165 #define $ac_func innocuous_$ac_func
31167 /* System header to define __stub macros and hopefully few prototypes,
31168 which can conflict with char $ac_func (); below.
31169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31170 <limits.h> exists even on freestanding compilers. */
31173 # include <limits.h>
31175 # include <assert.h>
31180 /* Override any gcc2 internal prototype to avoid an error. */
31185 /* We use char because int might match the return type of a gcc2
31186 builtin and then its argument prototype would still apply. */
31188 /* The GNU C library defines this for functions which it implements
31189 to always fail with ENOSYS. Some functions are actually named
31190 something starting with __ and the normal name is an alias. */
31191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31194 char (*f) () = $ac_func;
31203 return f != $ac_func;
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 eval "$as_ac_var=yes"
31232 echo "$as_me: failed program was:" >&5
31233 sed 's/^/| /' conftest.
$ac_ext >&5
31235 eval "$as_ac_var=no"
31237 rm -f conftest.err conftest.
$ac_objext \
31238 conftest
$ac_exeext conftest.
$ac_ext
31240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31242 if test `eval echo '${'$as_ac_var'}'` = yes; then
31243 cat >>confdefs.h
<<_ACEOF
31244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31253 for ac_func
in putenv setenv
31255 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31256 echo "$as_me:$LINENO: checking for $ac_func" >&5
31257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31258 if eval "test \"\${$as_ac_var+set}\" = set"; then
31259 echo $ECHO_N "(cached) $ECHO_C" >&6
31261 cat >conftest.
$ac_ext <<_ACEOF
31264 cat confdefs.h
>>conftest.
$ac_ext
31265 cat >>conftest.
$ac_ext <<_ACEOF
31266 /* end confdefs.h. */
31267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31269 #define $ac_func innocuous_$ac_func
31271 /* System header to define __stub macros and hopefully few prototypes,
31272 which can conflict with char $ac_func (); below.
31273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31274 <limits.h> exists even on freestanding compilers. */
31277 # include <limits.h>
31279 # include <assert.h>
31284 /* Override any gcc2 internal prototype to avoid an error. */
31289 /* We use char because int might match the return type of a gcc2
31290 builtin and then its argument prototype would still apply. */
31292 /* The GNU C library defines this for functions which it implements
31293 to always fail with ENOSYS. Some functions are actually named
31294 something starting with __ and the normal name is an alias. */
31295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31298 char (*f) () = $ac_func;
31307 return f != $ac_func;
31312 rm -f conftest.
$ac_objext conftest
$ac_exeext
31313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31314 (eval $ac_link) 2>conftest.er1
31316 grep -v '^ *+' conftest.er1
>conftest.err
31318 cat conftest.err
>&5
31319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320 (exit $ac_status); } &&
31321 { ac_try
='test -z "$ac_c_werror_flag"
31322 || test ! -s conftest.err'
31323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31324 (eval $ac_try) 2>&5
31326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31327 (exit $ac_status); }; } &&
31328 { ac_try
='test -s conftest$ac_exeext'
31329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31330 (eval $ac_try) 2>&5
31332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31333 (exit $ac_status); }; }; then
31334 eval "$as_ac_var=yes"
31336 echo "$as_me: failed program was:" >&5
31337 sed 's/^/| /' conftest.
$ac_ext >&5
31339 eval "$as_ac_var=no"
31341 rm -f conftest.err conftest.
$ac_objext \
31342 conftest
$ac_exeext conftest.
$ac_ext
31344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31346 if test `eval echo '${'$as_ac_var'}'` = yes; then
31347 cat >>confdefs.h
<<_ACEOF
31348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31355 HAVE_SOME_SLEEP_FUNC
=0
31356 if test "$USE_BEOS" = 1; then
31357 cat >>confdefs.h
<<\_ACEOF
31358 #define HAVE_SLEEP 1
31361 HAVE_SOME_SLEEP_FUNC
=1
31364 if test "$USE_DARWIN" = 1; then
31365 cat >>confdefs.h
<<\_ACEOF
31366 #define HAVE_USLEEP 1
31369 HAVE_SOME_SLEEP_FUNC
=1
31372 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31375 for ac_func
in nanosleep
31377 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31378 echo "$as_me:$LINENO: checking for $ac_func" >&5
31379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31380 if eval "test \"\${$as_ac_var+set}\" = set"; then
31381 echo $ECHO_N "(cached) $ECHO_C" >&6
31383 cat >conftest.
$ac_ext <<_ACEOF
31386 cat confdefs.h
>>conftest.
$ac_ext
31387 cat >>conftest.
$ac_ext <<_ACEOF
31388 /* end confdefs.h. */
31389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31391 #define $ac_func innocuous_$ac_func
31393 /* System header to define __stub macros and hopefully few prototypes,
31394 which can conflict with char $ac_func (); below.
31395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31396 <limits.h> exists even on freestanding compilers. */
31399 # include <limits.h>
31401 # include <assert.h>
31406 /* Override any gcc2 internal prototype to avoid an error. */
31411 /* We use char because int might match the return type of a gcc2
31412 builtin and then its argument prototype would still apply. */
31414 /* The GNU C library defines this for functions which it implements
31415 to always fail with ENOSYS. Some functions are actually named
31416 something starting with __ and the normal name is an alias. */
31417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31420 char (*f) () = $ac_func;
31429 return f != $ac_func;
31434 rm -f conftest.
$ac_objext conftest
$ac_exeext
31435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31436 (eval $ac_link) 2>conftest.er1
31438 grep -v '^ *+' conftest.er1
>conftest.err
31440 cat conftest.err
>&5
31441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31442 (exit $ac_status); } &&
31443 { ac_try
='test -z "$ac_c_werror_flag"
31444 || test ! -s conftest.err'
31445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31446 (eval $ac_try) 2>&5
31448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31449 (exit $ac_status); }; } &&
31450 { ac_try
='test -s conftest$ac_exeext'
31451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31452 (eval $ac_try) 2>&5
31454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31455 (exit $ac_status); }; }; then
31456 eval "$as_ac_var=yes"
31458 echo "$as_me: failed program was:" >&5
31459 sed 's/^/| /' conftest.
$ac_ext >&5
31461 eval "$as_ac_var=no"
31463 rm -f conftest.err conftest.
$ac_objext \
31464 conftest
$ac_exeext conftest.
$ac_ext
31466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31468 if test `eval echo '${'$as_ac_var'}'` = yes; then
31469 cat >>confdefs.h
<<_ACEOF
31470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31472 cat >>confdefs.h
<<\_ACEOF
31473 #define HAVE_NANOSLEEP 1
31478 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
31479 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
31480 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
31481 echo $ECHO_N "(cached) $ECHO_C" >&6
31483 ac_check_lib_save_LIBS
=$LIBS
31484 LIBS
="-lposix4 $LIBS"
31485 cat >conftest.
$ac_ext <<_ACEOF
31488 cat confdefs.h
>>conftest.
$ac_ext
31489 cat >>conftest.
$ac_ext <<_ACEOF
31490 /* end confdefs.h. */
31492 /* Override any gcc2 internal prototype to avoid an error. */
31496 /* We use char because int might match the return type of a gcc2
31497 builtin and then its argument prototype would still apply. */
31507 rm -f conftest.
$ac_objext conftest
$ac_exeext
31508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31509 (eval $ac_link) 2>conftest.er1
31511 grep -v '^ *+' conftest.er1
>conftest.err
31513 cat conftest.err
>&5
31514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31515 (exit $ac_status); } &&
31516 { ac_try
='test -z "$ac_c_werror_flag"
31517 || test ! -s conftest.err'
31518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31519 (eval $ac_try) 2>&5
31521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31522 (exit $ac_status); }; } &&
31523 { ac_try
='test -s conftest$ac_exeext'
31524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31525 (eval $ac_try) 2>&5
31527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31528 (exit $ac_status); }; }; then
31529 ac_cv_lib_posix4_nanosleep
=yes
31531 echo "$as_me: failed program was:" >&5
31532 sed 's/^/| /' conftest.
$ac_ext >&5
31534 ac_cv_lib_posix4_nanosleep
=no
31536 rm -f conftest.err conftest.
$ac_objext \
31537 conftest
$ac_exeext conftest.
$ac_ext
31538 LIBS
=$ac_check_lib_save_LIBS
31540 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
31541 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
31542 if test $ac_cv_lib_posix4_nanosleep = yes; then
31544 cat >>confdefs.h
<<\_ACEOF
31545 #define HAVE_NANOSLEEP 1
31548 POSIX4_LINK
=" -lposix4"
31553 for ac_func
in usleep
31555 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31556 echo "$as_me:$LINENO: checking for $ac_func" >&5
31557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31558 if eval "test \"\${$as_ac_var+set}\" = set"; then
31559 echo $ECHO_N "(cached) $ECHO_C" >&6
31561 cat >conftest.
$ac_ext <<_ACEOF
31564 cat confdefs.h
>>conftest.
$ac_ext
31565 cat >>conftest.
$ac_ext <<_ACEOF
31566 /* end confdefs.h. */
31567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31569 #define $ac_func innocuous_$ac_func
31571 /* System header to define __stub macros and hopefully few prototypes,
31572 which can conflict with char $ac_func (); below.
31573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31574 <limits.h> exists even on freestanding compilers. */
31577 # include <limits.h>
31579 # include <assert.h>
31584 /* Override any gcc2 internal prototype to avoid an error. */
31589 /* We use char because int might match the return type of a gcc2
31590 builtin and then its argument prototype would still apply. */
31592 /* The GNU C library defines this for functions which it implements
31593 to always fail with ENOSYS. Some functions are actually named
31594 something starting with __ and the normal name is an alias. */
31595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31598 char (*f) () = $ac_func;
31607 return f != $ac_func;
31612 rm -f conftest.
$ac_objext conftest
$ac_exeext
31613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31614 (eval $ac_link) 2>conftest.er1
31616 grep -v '^ *+' conftest.er1
>conftest.err
31618 cat conftest.err
>&5
31619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31620 (exit $ac_status); } &&
31621 { ac_try
='test -z "$ac_c_werror_flag"
31622 || test ! -s conftest.err'
31623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31624 (eval $ac_try) 2>&5
31626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31627 (exit $ac_status); }; } &&
31628 { ac_try
='test -s conftest$ac_exeext'
31629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31630 (eval $ac_try) 2>&5
31632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31633 (exit $ac_status); }; }; then
31634 eval "$as_ac_var=yes"
31636 echo "$as_me: failed program was:" >&5
31637 sed 's/^/| /' conftest.
$ac_ext >&5
31639 eval "$as_ac_var=no"
31641 rm -f conftest.err conftest.
$ac_objext \
31642 conftest
$ac_exeext conftest.
$ac_ext
31644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31646 if test `eval echo '${'$as_ac_var'}'` = yes; then
31647 cat >>confdefs.h
<<_ACEOF
31648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31650 cat >>confdefs.h
<<\_ACEOF
31651 #define HAVE_USLEEP 1
31655 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
31656 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31674 for ac_func
in uname gethostname
31676 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31677 echo "$as_me:$LINENO: checking for $ac_func" >&5
31678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31679 if eval "test \"\${$as_ac_var+set}\" = set"; then
31680 echo $ECHO_N "(cached) $ECHO_C" >&6
31682 cat >conftest.
$ac_ext <<_ACEOF
31685 cat confdefs.h
>>conftest.
$ac_ext
31686 cat >>conftest.
$ac_ext <<_ACEOF
31687 /* end confdefs.h. */
31688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31690 #define $ac_func innocuous_$ac_func
31692 /* System header to define __stub macros and hopefully few prototypes,
31693 which can conflict with char $ac_func (); below.
31694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31695 <limits.h> exists even on freestanding compilers. */
31698 # include <limits.h>
31700 # include <assert.h>
31705 /* Override any gcc2 internal prototype to avoid an error. */
31710 /* We use char because int might match the return type of a gcc2
31711 builtin and then its argument prototype would still apply. */
31713 /* The GNU C library defines this for functions which it implements
31714 to always fail with ENOSYS. Some functions are actually named
31715 something starting with __ and the normal name is an alias. */
31716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31719 char (*f) () = $ac_func;
31728 return f != $ac_func;
31733 rm -f conftest.
$ac_objext conftest
$ac_exeext
31734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31735 (eval $ac_link) 2>conftest.er1
31737 grep -v '^ *+' conftest.er1
>conftest.err
31739 cat conftest.err
>&5
31740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31741 (exit $ac_status); } &&
31742 { ac_try
='test -z "$ac_c_werror_flag"
31743 || test ! -s conftest.err'
31744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31745 (eval $ac_try) 2>&5
31747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31748 (exit $ac_status); }; } &&
31749 { ac_try
='test -s conftest$ac_exeext'
31750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31751 (eval $ac_try) 2>&5
31753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31754 (exit $ac_status); }; }; then
31755 eval "$as_ac_var=yes"
31757 echo "$as_me: failed program was:" >&5
31758 sed 's/^/| /' conftest.
$ac_ext >&5
31760 eval "$as_ac_var=no"
31762 rm -f conftest.err conftest.
$ac_objext \
31763 conftest
$ac_exeext conftest.
$ac_ext
31765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31767 if test `eval echo '${'$as_ac_var'}'` = yes; then
31768 cat >>confdefs.h
<<_ACEOF
31769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31779 ac_cpp
='$CXXCPP $CPPFLAGS'
31780 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31781 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31782 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31786 for ac_func
in strtok_r
31788 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31789 echo "$as_me:$LINENO: checking for $ac_func" >&5
31790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31791 if eval "test \"\${$as_ac_var+set}\" = set"; then
31792 echo $ECHO_N "(cached) $ECHO_C" >&6
31794 cat >conftest.
$ac_ext <<_ACEOF
31797 cat confdefs.h
>>conftest.
$ac_ext
31798 cat >>conftest.
$ac_ext <<_ACEOF
31799 /* end confdefs.h. */
31800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31802 #define $ac_func innocuous_$ac_func
31804 /* System header to define __stub macros and hopefully few prototypes,
31805 which can conflict with char $ac_func (); below.
31806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31807 <limits.h> exists even on freestanding compilers. */
31810 # include <limits.h>
31812 # include <assert.h>
31817 /* Override any gcc2 internal prototype to avoid an error. */
31822 /* We use char because int might match the return type of a gcc2
31823 builtin and then its argument prototype would still apply. */
31825 /* The GNU C library defines this for functions which it implements
31826 to always fail with ENOSYS. Some functions are actually named
31827 something starting with __ and the normal name is an alias. */
31828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31831 char (*f) () = $ac_func;
31840 return f != $ac_func;
31845 rm -f conftest.
$ac_objext conftest
$ac_exeext
31846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31847 (eval $ac_link) 2>conftest.er1
31849 grep -v '^ *+' conftest.er1
>conftest.err
31851 cat conftest.err
>&5
31852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31853 (exit $ac_status); } &&
31854 { ac_try
='test -z "$ac_cxx_werror_flag"
31855 || test ! -s conftest.err'
31856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31857 (eval $ac_try) 2>&5
31859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31860 (exit $ac_status); }; } &&
31861 { ac_try
='test -s conftest$ac_exeext'
31862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31863 (eval $ac_try) 2>&5
31865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31866 (exit $ac_status); }; }; then
31867 eval "$as_ac_var=yes"
31869 echo "$as_me: failed program was:" >&5
31870 sed 's/^/| /' conftest.
$ac_ext >&5
31872 eval "$as_ac_var=no"
31874 rm -f conftest.err conftest.
$ac_objext \
31875 conftest
$ac_exeext conftest.
$ac_ext
31877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31879 if test `eval echo '${'$as_ac_var'}'` = yes; then
31880 cat >>confdefs.h
<<_ACEOF
31881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31889 ac_cpp
='$CPP $CPPFLAGS'
31890 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31891 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31892 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31897 for ac_func
in inet_addr
31899 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31900 echo "$as_me:$LINENO: checking for $ac_func" >&5
31901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31902 if eval "test \"\${$as_ac_var+set}\" = set"; then
31903 echo $ECHO_N "(cached) $ECHO_C" >&6
31905 cat >conftest.
$ac_ext <<_ACEOF
31908 cat confdefs.h
>>conftest.
$ac_ext
31909 cat >>conftest.
$ac_ext <<_ACEOF
31910 /* end confdefs.h. */
31911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31913 #define $ac_func innocuous_$ac_func
31915 /* System header to define __stub macros and hopefully few prototypes,
31916 which can conflict with char $ac_func (); below.
31917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31918 <limits.h> exists even on freestanding compilers. */
31921 # include <limits.h>
31923 # include <assert.h>
31928 /* Override any gcc2 internal prototype to avoid an error. */
31933 /* We use char because int might match the return type of a gcc2
31934 builtin and then its argument prototype would still apply. */
31936 /* The GNU C library defines this for functions which it implements
31937 to always fail with ENOSYS. Some functions are actually named
31938 something starting with __ and the normal name is an alias. */
31939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31942 char (*f) () = $ac_func;
31951 return f != $ac_func;
31956 rm -f conftest.
$ac_objext conftest
$ac_exeext
31957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31958 (eval $ac_link) 2>conftest.er1
31960 grep -v '^ *+' conftest.er1
>conftest.err
31962 cat conftest.err
>&5
31963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31964 (exit $ac_status); } &&
31965 { ac_try
='test -z "$ac_c_werror_flag"
31966 || test ! -s conftest.err'
31967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31968 (eval $ac_try) 2>&5
31970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31971 (exit $ac_status); }; } &&
31972 { ac_try
='test -s conftest$ac_exeext'
31973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31974 (eval $ac_try) 2>&5
31976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31977 (exit $ac_status); }; }; then
31978 eval "$as_ac_var=yes"
31980 echo "$as_me: failed program was:" >&5
31981 sed 's/^/| /' conftest.
$ac_ext >&5
31983 eval "$as_ac_var=no"
31985 rm -f conftest.err conftest.
$ac_objext \
31986 conftest
$ac_exeext conftest.
$ac_ext
31988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31990 if test `eval echo '${'$as_ac_var'}'` = yes; then
31991 cat >>confdefs.h
<<_ACEOF
31992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31994 cat >>confdefs.h
<<\_ACEOF
31995 #define HAVE_INET_ADDR 1
32000 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
32001 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
32002 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
32003 echo $ECHO_N "(cached) $ECHO_C" >&6
32005 ac_check_lib_save_LIBS
=$LIBS
32007 cat >conftest.
$ac_ext <<_ACEOF
32010 cat confdefs.h
>>conftest.
$ac_ext
32011 cat >>conftest.
$ac_ext <<_ACEOF
32012 /* end confdefs.h. */
32014 /* Override any gcc2 internal prototype to avoid an error. */
32018 /* We use char because int might match the return type of a gcc2
32019 builtin and then its argument prototype would still apply. */
32029 rm -f conftest.
$ac_objext conftest
$ac_exeext
32030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32031 (eval $ac_link) 2>conftest.er1
32033 grep -v '^ *+' conftest.er1
>conftest.err
32035 cat conftest.err
>&5
32036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32037 (exit $ac_status); } &&
32038 { ac_try
='test -z "$ac_c_werror_flag"
32039 || test ! -s conftest.err'
32040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32041 (eval $ac_try) 2>&5
32043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32044 (exit $ac_status); }; } &&
32045 { ac_try
='test -s conftest$ac_exeext'
32046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32047 (eval $ac_try) 2>&5
32049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32050 (exit $ac_status); }; }; then
32051 ac_cv_lib_nsl_inet_addr
=yes
32053 echo "$as_me: failed program was:" >&5
32054 sed 's/^/| /' conftest.
$ac_ext >&5
32056 ac_cv_lib_nsl_inet_addr
=no
32058 rm -f conftest.err conftest.
$ac_objext \
32059 conftest
$ac_exeext conftest.
$ac_ext
32060 LIBS
=$ac_check_lib_save_LIBS
32062 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
32063 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
32064 if test $ac_cv_lib_nsl_inet_addr = yes; then
32068 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
32069 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
32070 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
32071 echo $ECHO_N "(cached) $ECHO_C" >&6
32073 ac_check_lib_save_LIBS
=$LIBS
32074 LIBS
="-lresolv $LIBS"
32075 cat >conftest.
$ac_ext <<_ACEOF
32078 cat confdefs.h
>>conftest.
$ac_ext
32079 cat >>conftest.
$ac_ext <<_ACEOF
32080 /* end confdefs.h. */
32082 /* Override any gcc2 internal prototype to avoid an error. */
32086 /* We use char because int might match the return type of a gcc2
32087 builtin and then its argument prototype would still apply. */
32097 rm -f conftest.
$ac_objext conftest
$ac_exeext
32098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32099 (eval $ac_link) 2>conftest.er1
32101 grep -v '^ *+' conftest.er1
>conftest.err
32103 cat conftest.err
>&5
32104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32105 (exit $ac_status); } &&
32106 { ac_try
='test -z "$ac_c_werror_flag"
32107 || test ! -s conftest.err'
32108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32109 (eval $ac_try) 2>&5
32111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32112 (exit $ac_status); }; } &&
32113 { ac_try
='test -s conftest$ac_exeext'
32114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32115 (eval $ac_try) 2>&5
32117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32118 (exit $ac_status); }; }; then
32119 ac_cv_lib_resolv_inet_addr
=yes
32121 echo "$as_me: failed program was:" >&5
32122 sed 's/^/| /' conftest.
$ac_ext >&5
32124 ac_cv_lib_resolv_inet_addr
=no
32126 rm -f conftest.err conftest.
$ac_objext \
32127 conftest
$ac_exeext conftest.
$ac_ext
32128 LIBS
=$ac_check_lib_save_LIBS
32130 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
32131 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
32132 if test $ac_cv_lib_resolv_inet_addr = yes; then
32136 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
32137 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
32138 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
32139 echo $ECHO_N "(cached) $ECHO_C" >&6
32141 ac_check_lib_save_LIBS
=$LIBS
32142 LIBS
="-lsocket $LIBS"
32143 cat >conftest.
$ac_ext <<_ACEOF
32146 cat confdefs.h
>>conftest.
$ac_ext
32147 cat >>conftest.
$ac_ext <<_ACEOF
32148 /* end confdefs.h. */
32150 /* Override any gcc2 internal prototype to avoid an error. */
32154 /* We use char because int might match the return type of a gcc2
32155 builtin and then its argument prototype would still apply. */
32165 rm -f conftest.
$ac_objext conftest
$ac_exeext
32166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32167 (eval $ac_link) 2>conftest.er1
32169 grep -v '^ *+' conftest.er1
>conftest.err
32171 cat conftest.err
>&5
32172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32173 (exit $ac_status); } &&
32174 { ac_try
='test -z "$ac_c_werror_flag"
32175 || test ! -s conftest.err'
32176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32177 (eval $ac_try) 2>&5
32179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32180 (exit $ac_status); }; } &&
32181 { ac_try
='test -s conftest$ac_exeext'
32182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32183 (eval $ac_try) 2>&5
32185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32186 (exit $ac_status); }; }; then
32187 ac_cv_lib_socket_inet_addr
=yes
32189 echo "$as_me: failed program was:" >&5
32190 sed 's/^/| /' conftest.
$ac_ext >&5
32192 ac_cv_lib_socket_inet_addr
=no
32194 rm -f conftest.err conftest.
$ac_objext \
32195 conftest
$ac_exeext conftest.
$ac_ext
32196 LIBS
=$ac_check_lib_save_LIBS
32198 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
32199 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
32200 if test $ac_cv_lib_socket_inet_addr = yes; then
32220 for ac_func
in inet_aton
32222 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32223 echo "$as_me:$LINENO: checking for $ac_func" >&5
32224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32225 if eval "test \"\${$as_ac_var+set}\" = set"; then
32226 echo $ECHO_N "(cached) $ECHO_C" >&6
32228 cat >conftest.
$ac_ext <<_ACEOF
32231 cat confdefs.h
>>conftest.
$ac_ext
32232 cat >>conftest.
$ac_ext <<_ACEOF
32233 /* end confdefs.h. */
32234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32236 #define $ac_func innocuous_$ac_func
32238 /* System header to define __stub macros and hopefully few prototypes,
32239 which can conflict with char $ac_func (); below.
32240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32241 <limits.h> exists even on freestanding compilers. */
32244 # include <limits.h>
32246 # include <assert.h>
32251 /* Override any gcc2 internal prototype to avoid an error. */
32256 /* We use char because int might match the return type of a gcc2
32257 builtin and then its argument prototype would still apply. */
32259 /* The GNU C library defines this for functions which it implements
32260 to always fail with ENOSYS. Some functions are actually named
32261 something starting with __ and the normal name is an alias. */
32262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32265 char (*f) () = $ac_func;
32274 return f != $ac_func;
32279 rm -f conftest.
$ac_objext conftest
$ac_exeext
32280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32281 (eval $ac_link) 2>conftest.er1
32283 grep -v '^ *+' conftest.er1
>conftest.err
32285 cat conftest.err
>&5
32286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32287 (exit $ac_status); } &&
32288 { ac_try
='test -z "$ac_c_werror_flag"
32289 || test ! -s conftest.err'
32290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32291 (eval $ac_try) 2>&5
32293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32294 (exit $ac_status); }; } &&
32295 { ac_try
='test -s conftest$ac_exeext'
32296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32297 (eval $ac_try) 2>&5
32299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32300 (exit $ac_status); }; }; then
32301 eval "$as_ac_var=yes"
32303 echo "$as_me: failed program was:" >&5
32304 sed 's/^/| /' conftest.
$ac_ext >&5
32306 eval "$as_ac_var=no"
32308 rm -f conftest.err conftest.
$ac_objext \
32309 conftest
$ac_exeext conftest.
$ac_ext
32311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32313 if test `eval echo '${'$as_ac_var'}'` = yes; then
32314 cat >>confdefs.h
<<_ACEOF
32315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32317 cat >>confdefs.h
<<\_ACEOF
32318 #define HAVE_INET_ATON 1
32323 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
32324 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
32325 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
32326 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
32327 echo $ECHO_N "(cached) $ECHO_C" >&6
32329 ac_check_lib_save_LIBS
=$LIBS
32330 LIBS
="-l$INET_LINK $LIBS"
32331 cat >conftest.
$ac_ext <<_ACEOF
32334 cat confdefs.h
>>conftest.
$ac_ext
32335 cat >>conftest.
$ac_ext <<_ACEOF
32336 /* end confdefs.h. */
32338 /* Override any gcc2 internal prototype to avoid an error. */
32342 /* We use char because int might match the return type of a gcc2
32343 builtin and then its argument prototype would still apply. */
32353 rm -f conftest.
$ac_objext conftest
$ac_exeext
32354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32355 (eval $ac_link) 2>conftest.er1
32357 grep -v '^ *+' conftest.er1
>conftest.err
32359 cat conftest.err
>&5
32360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32361 (exit $ac_status); } &&
32362 { ac_try
='test -z "$ac_c_werror_flag"
32363 || test ! -s conftest.err'
32364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32365 (eval $ac_try) 2>&5
32367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32368 (exit $ac_status); }; } &&
32369 { ac_try
='test -s conftest$ac_exeext'
32370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32371 (eval $ac_try) 2>&5
32373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32374 (exit $ac_status); }; }; then
32375 eval "$as_ac_Lib=yes"
32377 echo "$as_me: failed program was:" >&5
32378 sed 's/^/| /' conftest.
$ac_ext >&5
32380 eval "$as_ac_Lib=no"
32382 rm -f conftest.err conftest.
$ac_objext \
32383 conftest
$ac_exeext conftest.
$ac_ext
32384 LIBS
=$ac_check_lib_save_LIBS
32386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
32387 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
32388 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
32389 cat >>confdefs.h
<<\_ACEOF
32390 #define HAVE_INET_ATON 1
32400 if test "x$INET_LINK" != "x"; then
32401 cat >>confdefs.h
<<\_ACEOF
32402 #define HAVE_INET_ADDR 1
32405 INET_LINK
=" -l$INET_LINK"
32413 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
32414 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
32415 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
32416 echo $ECHO_N "(cached) $ECHO_C" >&6
32418 ac_check_lib_save_LIBS
=$LIBS
32420 cat >conftest.
$ac_ext <<_ACEOF
32423 cat confdefs.h
>>conftest.
$ac_ext
32424 cat >>conftest.
$ac_ext <<_ACEOF
32425 /* end confdefs.h. */
32427 /* Override any gcc2 internal prototype to avoid an error. */
32431 /* We use char because int might match the return type of a gcc2
32432 builtin and then its argument prototype would still apply. */
32442 rm -f conftest.
$ac_objext conftest
$ac_exeext
32443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32444 (eval $ac_link) 2>conftest.er1
32446 grep -v '^ *+' conftest.er1
>conftest.err
32448 cat conftest.err
>&5
32449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32450 (exit $ac_status); } &&
32451 { ac_try
='test -z "$ac_c_werror_flag"
32452 || test ! -s conftest.err'
32453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32454 (eval $ac_try) 2>&5
32456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32457 (exit $ac_status); }; } &&
32458 { ac_try
='test -s conftest$ac_exeext'
32459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32460 (eval $ac_try) 2>&5
32462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32463 (exit $ac_status); }; }; then
32464 ac_cv_lib_esd_esd_close
=yes
32466 echo "$as_me: failed program was:" >&5
32467 sed 's/^/| /' conftest.
$ac_ext >&5
32469 ac_cv_lib_esd_esd_close
=no
32471 rm -f conftest.err conftest.
$ac_objext \
32472 conftest
$ac_exeext conftest.
$ac_ext
32473 LIBS
=$ac_check_lib_save_LIBS
32475 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
32476 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
32477 if test $ac_cv_lib_esd_esd_close = yes; then
32480 for ac_header
in esd.h
32482 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32484 echo "$as_me:$LINENO: checking for $ac_header" >&5
32485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32487 echo $ECHO_N "(cached) $ECHO_C" >&6
32489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32492 # Is the header compilable?
32493 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32494 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32495 cat >conftest.
$ac_ext <<_ACEOF
32498 cat confdefs.h
>>conftest.
$ac_ext
32499 cat >>conftest.
$ac_ext <<_ACEOF
32500 /* end confdefs.h. */
32501 $ac_includes_default
32502 #include <$ac_header>
32504 rm -f conftest.
$ac_objext
32505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32506 (eval $ac_compile) 2>conftest.er1
32508 grep -v '^ *+' conftest.er1
>conftest.err
32510 cat conftest.err
>&5
32511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32512 (exit $ac_status); } &&
32513 { ac_try
='test -z "$ac_c_werror_flag"
32514 || test ! -s conftest.err'
32515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32516 (eval $ac_try) 2>&5
32518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32519 (exit $ac_status); }; } &&
32520 { ac_try
='test -s conftest.$ac_objext'
32521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32522 (eval $ac_try) 2>&5
32524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32525 (exit $ac_status); }; }; then
32526 ac_header_compiler
=yes
32528 echo "$as_me: failed program was:" >&5
32529 sed 's/^/| /' conftest.
$ac_ext >&5
32531 ac_header_compiler
=no
32533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32534 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32535 echo "${ECHO_T}$ac_header_compiler" >&6
32537 # Is the header present?
32538 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32539 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32540 cat >conftest.
$ac_ext <<_ACEOF
32543 cat confdefs.h
>>conftest.
$ac_ext
32544 cat >>conftest.
$ac_ext <<_ACEOF
32545 /* end confdefs.h. */
32546 #include <$ac_header>
32548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32549 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32551 grep -v '^ *+' conftest.er1
>conftest.err
32553 cat conftest.err
>&5
32554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32555 (exit $ac_status); } >/dev
/null
; then
32556 if test -s conftest.err
; then
32557 ac_cpp_err
=$ac_c_preproc_warn_flag
32558 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32565 if test -z "$ac_cpp_err"; then
32566 ac_header_preproc
=yes
32568 echo "$as_me: failed program was:" >&5
32569 sed 's/^/| /' conftest.
$ac_ext >&5
32571 ac_header_preproc
=no
32573 rm -f conftest.err conftest.
$ac_ext
32574 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32575 echo "${ECHO_T}$ac_header_preproc" >&6
32577 # So? What about this header?
32578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32580 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32581 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32582 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32583 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32584 ac_header_preproc
=yes
32587 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32588 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32589 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32590 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32591 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32592 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32593 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32594 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32596 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32597 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32598 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32601 ## ----------------------------------------- ##
32602 ## Report this to wx-dev@lists.wxwidgets.org ##
32603 ## ----------------------------------------- ##
32606 sed "s/^/$as_me: WARNING: /" >&2
32609 echo "$as_me:$LINENO: checking for $ac_header" >&5
32610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32612 echo $ECHO_N "(cached) $ECHO_C" >&6
32614 eval "$as_ac_Header=\$ac_header_preproc"
32616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32621 cat >>confdefs.h
<<_ACEOF
32622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32625 EXTRALIBS_ESD
="-lesd"
32636 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
32637 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
32638 cat >conftest.
$ac_ext <<_ACEOF
32641 cat confdefs.h
>>conftest.
$ac_ext
32642 cat >>conftest.
$ac_ext <<_ACEOF
32643 /* end confdefs.h. */
32645 #include <linux/cdrom.h>
32648 #include <sys/cdio.h>
32654 struct cdrom_tocentry entry, old_entry;
32659 rm -f conftest.
$ac_objext
32660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32661 (eval $ac_compile) 2>conftest.er1
32663 grep -v '^ *+' conftest.er1
>conftest.err
32665 cat conftest.err
>&5
32666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32667 (exit $ac_status); } &&
32668 { ac_try
='test -z "$ac_c_werror_flag"
32669 || test ! -s conftest.err'
32670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32671 (eval $ac_try) 2>&5
32673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32674 (exit $ac_status); }; } &&
32675 { ac_try
='test -s conftest.$ac_objext'
32676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32677 (eval $ac_try) 2>&5
32679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32680 (exit $ac_status); }; }; then
32681 echo "$as_me:$LINENO: result: yes" >&5
32682 echo "${ECHO_T}yes" >&6
32683 cat >>confdefs.h
<<\_ACEOF
32684 #define HAVE_KNOWN_CDROM_INTERFACE 1
32688 echo "$as_me: failed program was:" >&5
32689 sed 's/^/| /' conftest.
$ac_ext >&5
32691 echo "$as_me:$LINENO: result: no" >&5
32692 echo "${ECHO_T}no" >&6
32694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32697 cat >confcache
<<\_ACEOF
32698 # This file is a shell script that caches the results of configure
32699 # tests run on this system so they can be shared between configure
32700 # scripts and configure runs, see configure's option --config-cache.
32701 # It is not useful on other systems. If it contains results you don't
32702 # want to keep, you may remove or edit it.
32704 # config.status only pays attention to the cache file if you give it
32705 # the --recheck option to rerun configure.
32707 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32708 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32709 # following values.
32713 # The following way of writing the cache mishandles newlines in values,
32714 # but we know of no workaround that is simple, portable, and efficient.
32715 # So, don't put newlines in cache variables' values.
32716 # Ultrix sh set writes to stderr and can't be redirected directly,
32717 # and sets the high bit in the cache file unless we assign to the vars.
32720 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32722 # `set' does not quote correctly, so add quotes (double-quote
32723 # substitution turns \\\\ into \\, and sed turns \\ into \).
32726 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32729 # `set' quotes correctly as required by POSIX, so do not add quotes.
32731 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32738 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32740 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32742 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
32743 if test -w $cache_file; then
32744 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32745 cat confcache
>$cache_file
32747 echo "not updating unwritable cache $cache_file"
32754 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32760 if test "$wxUSE_THREADS" = "yes" ; then
32761 if test "$USE_BEOS" = 1; then
32762 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32763 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32768 if test "$wxUSE_THREADS" = "yes" ; then
32771 THREAD_OPTS
="-pthread"
32773 *-*-solaris2* | *-*-sunos4* )
32774 if test "x$GCC" = "xyes"; then
32775 THREAD_OPTS
="-pthreads $THREAD_OPTS"
32777 THREAD_OPTS
="-mt $THREAD_OPTS"
32781 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
32783 *-*-darwin* | *-*-cygwin* )
32787 THREAD_OPTS
="pthreads"
32790 if test "x$GCC" != "xyes"; then
32796 if test "x$GCC" = "xyes"; then
32802 if test "x$GCC" != "xyes"; then
32803 THREAD_OPTS
="-Ethread"
32808 THREAD_OPTS
="$THREAD_OPTS pthread none"
32811 for flag
in $THREAD_OPTS; do
32814 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32815 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32819 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32820 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32821 THREADS_CFLAGS
="$flag"
32825 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32826 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32827 THREADS_LINK
="-l$flag"
32832 save_CFLAGS
="$CFLAGS"
32833 LIBS
="$THREADS_LINK $LIBS"
32834 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
32836 cat >conftest.
$ac_ext <<_ACEOF
32839 cat confdefs.h
>>conftest.
$ac_ext
32840 cat >>conftest.
$ac_ext <<_ACEOF
32841 /* end confdefs.h. */
32842 #include <pthread.h>
32846 pthread_create(0,0,0,0);
32851 rm -f conftest.
$ac_objext conftest
$ac_exeext
32852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32853 (eval $ac_link) 2>conftest.er1
32855 grep -v '^ *+' conftest.er1
>conftest.err
32857 cat conftest.err
>&5
32858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32859 (exit $ac_status); } &&
32860 { ac_try
='test -z "$ac_c_werror_flag"
32861 || test ! -s conftest.err'
32862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32863 (eval $ac_try) 2>&5
32865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32866 (exit $ac_status); }; } &&
32867 { ac_try
='test -s conftest$ac_exeext'
32868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32869 (eval $ac_try) 2>&5
32871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32872 (exit $ac_status); }; }; then
32875 echo "$as_me: failed program was:" >&5
32876 sed 's/^/| /' conftest.
$ac_ext >&5
32879 rm -f conftest.err conftest.
$ac_objext \
32880 conftest
$ac_exeext conftest.
$ac_ext
32883 CFLAGS
="$save_CFLAGS"
32885 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32886 echo "${ECHO_T}$THREADS_OK" >&6
32887 if test "x$THREADS_OK" = "xyes"; then
32895 if test "x$THREADS_OK" != "xyes"; then
32897 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32898 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32900 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32901 LIBS
="$THREADS_LINK $LIBS"
32903 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32904 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32908 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32909 flag
="-D_THREAD_SAFE"
32912 flag
="-D_THREAD_SAFE"
32915 flag
="-D_REENTRANT"
32916 if test "x$GCC" != "xyes"; then
32917 flag
="$flag -D_RWSTD_MULTI_THREAD"
32920 *solaris
* | alpha
*-osf*)
32921 flag
="-D_REENTRANT"
32924 echo "$as_me:$LINENO: result: ${flag}" >&5
32925 echo "${ECHO_T}${flag}" >&6
32926 if test "x$flag" != xno
; then
32927 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32930 if test "x$THREADS_CFLAGS" != "x"; then
32931 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
32932 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
32937 if test "$wxUSE_THREADS" = "yes" ; then
32939 for ac_func
in thr_setconcurrency
32941 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32942 echo "$as_me:$LINENO: checking for $ac_func" >&5
32943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32944 if eval "test \"\${$as_ac_var+set}\" = set"; then
32945 echo $ECHO_N "(cached) $ECHO_C" >&6
32947 cat >conftest.
$ac_ext <<_ACEOF
32950 cat confdefs.h
>>conftest.
$ac_ext
32951 cat >>conftest.
$ac_ext <<_ACEOF
32952 /* end confdefs.h. */
32953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32955 #define $ac_func innocuous_$ac_func
32957 /* System header to define __stub macros and hopefully few prototypes,
32958 which can conflict with char $ac_func (); below.
32959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32960 <limits.h> exists even on freestanding compilers. */
32963 # include <limits.h>
32965 # include <assert.h>
32970 /* Override any gcc2 internal prototype to avoid an error. */
32975 /* We use char because int might match the return type of a gcc2
32976 builtin and then its argument prototype would still apply. */
32978 /* The GNU C library defines this for functions which it implements
32979 to always fail with ENOSYS. Some functions are actually named
32980 something starting with __ and the normal name is an alias. */
32981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32984 char (*f) () = $ac_func;
32993 return f != $ac_func;
32998 rm -f conftest.
$ac_objext conftest
$ac_exeext
32999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33000 (eval $ac_link) 2>conftest.er1
33002 grep -v '^ *+' conftest.er1
>conftest.err
33004 cat conftest.err
>&5
33005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33006 (exit $ac_status); } &&
33007 { ac_try
='test -z "$ac_c_werror_flag"
33008 || test ! -s conftest.err'
33009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33010 (eval $ac_try) 2>&5
33012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33013 (exit $ac_status); }; } &&
33014 { ac_try
='test -s conftest$ac_exeext'
33015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33016 (eval $ac_try) 2>&5
33018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33019 (exit $ac_status); }; }; then
33020 eval "$as_ac_var=yes"
33022 echo "$as_me: failed program was:" >&5
33023 sed 's/^/| /' conftest.
$ac_ext >&5
33025 eval "$as_ac_var=no"
33027 rm -f conftest.err conftest.
$ac_objext \
33028 conftest
$ac_exeext conftest.
$ac_ext
33030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33032 if test `eval echo '${'$as_ac_var'}'` = yes; then
33033 cat >>confdefs.h
<<_ACEOF
33034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33042 for ac_header
in sched.h
33044 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33046 echo "$as_me:$LINENO: checking for $ac_header" >&5
33047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33049 echo $ECHO_N "(cached) $ECHO_C" >&6
33051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33054 # Is the header compilable?
33055 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33056 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33057 cat >conftest.
$ac_ext <<_ACEOF
33060 cat confdefs.h
>>conftest.
$ac_ext
33061 cat >>conftest.
$ac_ext <<_ACEOF
33062 /* end confdefs.h. */
33063 $ac_includes_default
33064 #include <$ac_header>
33066 rm -f conftest.
$ac_objext
33067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33068 (eval $ac_compile) 2>conftest.er1
33070 grep -v '^ *+' conftest.er1
>conftest.err
33072 cat conftest.err
>&5
33073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33074 (exit $ac_status); } &&
33075 { ac_try
='test -z "$ac_c_werror_flag"
33076 || test ! -s conftest.err'
33077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33078 (eval $ac_try) 2>&5
33080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33081 (exit $ac_status); }; } &&
33082 { ac_try
='test -s conftest.$ac_objext'
33083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33084 (eval $ac_try) 2>&5
33086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33087 (exit $ac_status); }; }; then
33088 ac_header_compiler
=yes
33090 echo "$as_me: failed program was:" >&5
33091 sed 's/^/| /' conftest.
$ac_ext >&5
33093 ac_header_compiler
=no
33095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33096 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33097 echo "${ECHO_T}$ac_header_compiler" >&6
33099 # Is the header present?
33100 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33101 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33102 cat >conftest.
$ac_ext <<_ACEOF
33105 cat confdefs.h
>>conftest.
$ac_ext
33106 cat >>conftest.
$ac_ext <<_ACEOF
33107 /* end confdefs.h. */
33108 #include <$ac_header>
33110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33111 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33113 grep -v '^ *+' conftest.er1
>conftest.err
33115 cat conftest.err
>&5
33116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33117 (exit $ac_status); } >/dev
/null
; then
33118 if test -s conftest.err
; then
33119 ac_cpp_err
=$ac_c_preproc_warn_flag
33120 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33127 if test -z "$ac_cpp_err"; then
33128 ac_header_preproc
=yes
33130 echo "$as_me: failed program was:" >&5
33131 sed 's/^/| /' conftest.
$ac_ext >&5
33133 ac_header_preproc
=no
33135 rm -f conftest.err conftest.
$ac_ext
33136 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33137 echo "${ECHO_T}$ac_header_preproc" >&6
33139 # So? What about this header?
33140 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33142 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33143 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33145 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33146 ac_header_preproc
=yes
33149 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33150 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33151 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33152 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33153 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33154 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33155 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33156 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33157 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33158 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33159 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33160 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33163 ## ----------------------------------------- ##
33164 ## Report this to wx-dev@lists.wxwidgets.org ##
33165 ## ----------------------------------------- ##
33168 sed "s/^/$as_me: WARNING: /" >&2
33171 echo "$as_me:$LINENO: checking for $ac_header" >&5
33172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33174 echo $ECHO_N "(cached) $ECHO_C" >&6
33176 eval "$as_ac_Header=\$ac_header_preproc"
33178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33179 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33182 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33183 cat >>confdefs.h
<<_ACEOF
33184 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33191 if test "$ac_cv_header_sched_h" = "yes"; then
33192 echo "$as_me:$LINENO: checking for sched_yield" >&5
33193 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
33194 if test "${ac_cv_func_sched_yield+set}" = set; then
33195 echo $ECHO_N "(cached) $ECHO_C" >&6
33197 cat >conftest.
$ac_ext <<_ACEOF
33200 cat confdefs.h
>>conftest.
$ac_ext
33201 cat >>conftest.
$ac_ext <<_ACEOF
33202 /* end confdefs.h. */
33203 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
33204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33205 #define sched_yield innocuous_sched_yield
33207 /* System header to define __stub macros and hopefully few prototypes,
33208 which can conflict with char sched_yield (); below.
33209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33210 <limits.h> exists even on freestanding compilers. */
33213 # include <limits.h>
33215 # include <assert.h>
33220 /* Override any gcc2 internal prototype to avoid an error. */
33225 /* We use char because int might match the return type of a gcc2
33226 builtin and then its argument prototype would still apply. */
33227 char sched_yield ();
33228 /* The GNU C library defines this for functions which it implements
33229 to always fail with ENOSYS. Some functions are actually named
33230 something starting with __ and the normal name is an alias. */
33231 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
33234 char (*f) () = sched_yield;
33243 return f != sched_yield;
33248 rm -f conftest.
$ac_objext conftest
$ac_exeext
33249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33250 (eval $ac_link) 2>conftest.er1
33252 grep -v '^ *+' conftest.er1
>conftest.err
33254 cat conftest.err
>&5
33255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33256 (exit $ac_status); } &&
33257 { ac_try
='test -z "$ac_c_werror_flag"
33258 || test ! -s conftest.err'
33259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33260 (eval $ac_try) 2>&5
33262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33263 (exit $ac_status); }; } &&
33264 { ac_try
='test -s conftest$ac_exeext'
33265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33266 (eval $ac_try) 2>&5
33268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33269 (exit $ac_status); }; }; then
33270 ac_cv_func_sched_yield
=yes
33272 echo "$as_me: failed program was:" >&5
33273 sed 's/^/| /' conftest.
$ac_ext >&5
33275 ac_cv_func_sched_yield
=no
33277 rm -f conftest.err conftest.
$ac_objext \
33278 conftest
$ac_exeext conftest.
$ac_ext
33280 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
33281 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
33282 if test $ac_cv_func_sched_yield = yes; then
33283 cat >>confdefs.h
<<\_ACEOF
33284 #define HAVE_SCHED_YIELD 1
33289 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
33290 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
33291 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
33292 echo $ECHO_N "(cached) $ECHO_C" >&6
33294 ac_check_lib_save_LIBS
=$LIBS
33295 LIBS
="-lposix4 $LIBS"
33296 cat >conftest.
$ac_ext <<_ACEOF
33299 cat confdefs.h
>>conftest.
$ac_ext
33300 cat >>conftest.
$ac_ext <<_ACEOF
33301 /* end confdefs.h. */
33303 /* Override any gcc2 internal prototype to avoid an error. */
33307 /* We use char because int might match the return type of a gcc2
33308 builtin and then its argument prototype would still apply. */
33309 char sched_yield ();
33318 rm -f conftest.
$ac_objext conftest
$ac_exeext
33319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33320 (eval $ac_link) 2>conftest.er1
33322 grep -v '^ *+' conftest.er1
>conftest.err
33324 cat conftest.err
>&5
33325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33326 (exit $ac_status); } &&
33327 { ac_try
='test -z "$ac_c_werror_flag"
33328 || test ! -s conftest.err'
33329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33330 (eval $ac_try) 2>&5
33332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33333 (exit $ac_status); }; } &&
33334 { ac_try
='test -s conftest$ac_exeext'
33335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33336 (eval $ac_try) 2>&5
33338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33339 (exit $ac_status); }; }; then
33340 ac_cv_lib_posix4_sched_yield
=yes
33342 echo "$as_me: failed program was:" >&5
33343 sed 's/^/| /' conftest.
$ac_ext >&5
33345 ac_cv_lib_posix4_sched_yield
=no
33347 rm -f conftest.err conftest.
$ac_objext \
33348 conftest
$ac_exeext conftest.
$ac_ext
33349 LIBS
=$ac_check_lib_save_LIBS
33351 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
33352 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
33353 if test $ac_cv_lib_posix4_sched_yield = yes; then
33354 cat >>confdefs.h
<<\_ACEOF
33355 #define HAVE_SCHED_YIELD 1
33357 POSIX4_LINK
=" -lposix4"
33359 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
33360 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
33371 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
33372 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
33373 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
33374 echo $ECHO_N "(cached) $ECHO_C" >&6
33376 cat >conftest.
$ac_ext <<_ACEOF
33379 cat confdefs.h
>>conftest.
$ac_ext
33380 cat >>conftest.
$ac_ext <<_ACEOF
33381 /* end confdefs.h. */
33382 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
33383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33384 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
33386 /* System header to define __stub macros and hopefully few prototypes,
33387 which can conflict with char pthread_attr_getschedpolicy (); below.
33388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33389 <limits.h> exists even on freestanding compilers. */
33392 # include <limits.h>
33394 # include <assert.h>
33397 #undef pthread_attr_getschedpolicy
33399 /* Override any gcc2 internal prototype to avoid an error. */
33404 /* We use char because int might match the return type of a gcc2
33405 builtin and then its argument prototype would still apply. */
33406 char pthread_attr_getschedpolicy ();
33407 /* The GNU C library defines this for functions which it implements
33408 to always fail with ENOSYS. Some functions are actually named
33409 something starting with __ and the normal name is an alias. */
33410 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
33413 char (*f) () = pthread_attr_getschedpolicy;
33422 return f != pthread_attr_getschedpolicy;
33427 rm -f conftest.
$ac_objext conftest
$ac_exeext
33428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33429 (eval $ac_link) 2>conftest.er1
33431 grep -v '^ *+' conftest.er1
>conftest.err
33433 cat conftest.err
>&5
33434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33435 (exit $ac_status); } &&
33436 { ac_try
='test -z "$ac_c_werror_flag"
33437 || test ! -s conftest.err'
33438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33439 (eval $ac_try) 2>&5
33441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33442 (exit $ac_status); }; } &&
33443 { ac_try
='test -s conftest$ac_exeext'
33444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33445 (eval $ac_try) 2>&5
33447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33448 (exit $ac_status); }; }; then
33449 ac_cv_func_pthread_attr_getschedpolicy
=yes
33451 echo "$as_me: failed program was:" >&5
33452 sed 's/^/| /' conftest.
$ac_ext >&5
33454 ac_cv_func_pthread_attr_getschedpolicy
=no
33456 rm -f conftest.err conftest.
$ac_objext \
33457 conftest
$ac_exeext conftest.
$ac_ext
33459 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
33460 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
33461 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
33462 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
33463 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
33464 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
33465 echo $ECHO_N "(cached) $ECHO_C" >&6
33467 cat >conftest.
$ac_ext <<_ACEOF
33470 cat confdefs.h
>>conftest.
$ac_ext
33471 cat >>conftest.
$ac_ext <<_ACEOF
33472 /* end confdefs.h. */
33473 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
33474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33475 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
33477 /* System header to define __stub macros and hopefully few prototypes,
33478 which can conflict with char pthread_attr_setschedparam (); below.
33479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33480 <limits.h> exists even on freestanding compilers. */
33483 # include <limits.h>
33485 # include <assert.h>
33488 #undef pthread_attr_setschedparam
33490 /* Override any gcc2 internal prototype to avoid an error. */
33495 /* We use char because int might match the return type of a gcc2
33496 builtin and then its argument prototype would still apply. */
33497 char pthread_attr_setschedparam ();
33498 /* The GNU C library defines this for functions which it implements
33499 to always fail with ENOSYS. Some functions are actually named
33500 something starting with __ and the normal name is an alias. */
33501 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
33504 char (*f) () = pthread_attr_setschedparam;
33513 return f != pthread_attr_setschedparam;
33518 rm -f conftest.
$ac_objext conftest
$ac_exeext
33519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33520 (eval $ac_link) 2>conftest.er1
33522 grep -v '^ *+' conftest.er1
>conftest.err
33524 cat conftest.err
>&5
33525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33526 (exit $ac_status); } &&
33527 { ac_try
='test -z "$ac_c_werror_flag"
33528 || test ! -s conftest.err'
33529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33530 (eval $ac_try) 2>&5
33532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33533 (exit $ac_status); }; } &&
33534 { ac_try
='test -s conftest$ac_exeext'
33535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33536 (eval $ac_try) 2>&5
33538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33539 (exit $ac_status); }; }; then
33540 ac_cv_func_pthread_attr_setschedparam
=yes
33542 echo "$as_me: failed program was:" >&5
33543 sed 's/^/| /' conftest.
$ac_ext >&5
33545 ac_cv_func_pthread_attr_setschedparam
=no
33547 rm -f conftest.err conftest.
$ac_objext \
33548 conftest
$ac_exeext conftest.
$ac_ext
33550 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
33551 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
33552 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
33553 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
33554 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
33555 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
33556 echo $ECHO_N "(cached) $ECHO_C" >&6
33558 cat >conftest.
$ac_ext <<_ACEOF
33561 cat confdefs.h
>>conftest.
$ac_ext
33562 cat >>conftest.
$ac_ext <<_ACEOF
33563 /* end confdefs.h. */
33564 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
33565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33566 #define sched_get_priority_max innocuous_sched_get_priority_max
33568 /* System header to define __stub macros and hopefully few prototypes,
33569 which can conflict with char sched_get_priority_max (); below.
33570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33571 <limits.h> exists even on freestanding compilers. */
33574 # include <limits.h>
33576 # include <assert.h>
33579 #undef sched_get_priority_max
33581 /* Override any gcc2 internal prototype to avoid an error. */
33586 /* We use char because int might match the return type of a gcc2
33587 builtin and then its argument prototype would still apply. */
33588 char sched_get_priority_max ();
33589 /* The GNU C library defines this for functions which it implements
33590 to always fail with ENOSYS. Some functions are actually named
33591 something starting with __ and the normal name is an alias. */
33592 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
33595 char (*f) () = sched_get_priority_max;
33604 return f != sched_get_priority_max;
33609 rm -f conftest.
$ac_objext conftest
$ac_exeext
33610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33611 (eval $ac_link) 2>conftest.er1
33613 grep -v '^ *+' conftest.er1
>conftest.err
33615 cat conftest.err
>&5
33616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33617 (exit $ac_status); } &&
33618 { ac_try
='test -z "$ac_c_werror_flag"
33619 || test ! -s conftest.err'
33620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33621 (eval $ac_try) 2>&5
33623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33624 (exit $ac_status); }; } &&
33625 { ac_try
='test -s conftest$ac_exeext'
33626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33627 (eval $ac_try) 2>&5
33629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33630 (exit $ac_status); }; }; then
33631 ac_cv_func_sched_get_priority_max
=yes
33633 echo "$as_me: failed program was:" >&5
33634 sed 's/^/| /' conftest.
$ac_ext >&5
33636 ac_cv_func_sched_get_priority_max
=no
33638 rm -f conftest.err conftest.
$ac_objext \
33639 conftest
$ac_exeext conftest.
$ac_ext
33641 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
33642 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
33643 if test $ac_cv_func_sched_get_priority_max = yes; then
33646 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
33647 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
33648 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
33649 echo $ECHO_N "(cached) $ECHO_C" >&6
33651 ac_check_lib_save_LIBS
=$LIBS
33652 LIBS
="-lposix4 $LIBS"
33653 cat >conftest.
$ac_ext <<_ACEOF
33656 cat confdefs.h
>>conftest.
$ac_ext
33657 cat >>conftest.
$ac_ext <<_ACEOF
33658 /* end confdefs.h. */
33660 /* Override any gcc2 internal prototype to avoid an error. */
33664 /* We use char because int might match the return type of a gcc2
33665 builtin and then its argument prototype would still apply. */
33666 char sched_get_priority_max ();
33670 sched_get_priority_max ();
33675 rm -f conftest.
$ac_objext conftest
$ac_exeext
33676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33677 (eval $ac_link) 2>conftest.er1
33679 grep -v '^ *+' conftest.er1
>conftest.err
33681 cat conftest.err
>&5
33682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33683 (exit $ac_status); } &&
33684 { ac_try
='test -z "$ac_c_werror_flag"
33685 || test ! -s conftest.err'
33686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33687 (eval $ac_try) 2>&5
33689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33690 (exit $ac_status); }; } &&
33691 { ac_try
='test -s conftest$ac_exeext'
33692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33693 (eval $ac_try) 2>&5
33695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33696 (exit $ac_status); }; }; then
33697 ac_cv_lib_posix4_sched_get_priority_max
=yes
33699 echo "$as_me: failed program was:" >&5
33700 sed 's/^/| /' conftest.
$ac_ext >&5
33702 ac_cv_lib_posix4_sched_get_priority_max
=no
33704 rm -f conftest.err conftest.
$ac_objext \
33705 conftest
$ac_exeext conftest.
$ac_ext
33706 LIBS
=$ac_check_lib_save_LIBS
33708 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33709 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33710 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33713 POSIX4_LINK
=" -lposix4"
33727 if test "$HAVE_PRIOR_FUNCS" = 1; then
33728 cat >>confdefs.h
<<\_ACEOF
33729 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33733 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33734 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33737 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33738 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33739 if test "${ac_cv_func_pthread_cancel+set}" = set; then
33740 echo $ECHO_N "(cached) $ECHO_C" >&6
33742 cat >conftest.
$ac_ext <<_ACEOF
33745 cat confdefs.h
>>conftest.
$ac_ext
33746 cat >>conftest.
$ac_ext <<_ACEOF
33747 /* end confdefs.h. */
33748 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33750 #define pthread_cancel innocuous_pthread_cancel
33752 /* System header to define __stub macros and hopefully few prototypes,
33753 which can conflict with char pthread_cancel (); below.
33754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33755 <limits.h> exists even on freestanding compilers. */
33758 # include <limits.h>
33760 # include <assert.h>
33763 #undef pthread_cancel
33765 /* Override any gcc2 internal prototype to avoid an error. */
33770 /* We use char because int might match the return type of a gcc2
33771 builtin and then its argument prototype would still apply. */
33772 char pthread_cancel ();
33773 /* The GNU C library defines this for functions which it implements
33774 to always fail with ENOSYS. Some functions are actually named
33775 something starting with __ and the normal name is an alias. */
33776 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33779 char (*f) () = pthread_cancel;
33788 return f != pthread_cancel;
33793 rm -f conftest.
$ac_objext conftest
$ac_exeext
33794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33795 (eval $ac_link) 2>conftest.er1
33797 grep -v '^ *+' conftest.er1
>conftest.err
33799 cat conftest.err
>&5
33800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33801 (exit $ac_status); } &&
33802 { ac_try
='test -z "$ac_c_werror_flag"
33803 || test ! -s conftest.err'
33804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33805 (eval $ac_try) 2>&5
33807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33808 (exit $ac_status); }; } &&
33809 { ac_try
='test -s conftest$ac_exeext'
33810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33811 (eval $ac_try) 2>&5
33813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33814 (exit $ac_status); }; }; then
33815 ac_cv_func_pthread_cancel
=yes
33817 echo "$as_me: failed program was:" >&5
33818 sed 's/^/| /' conftest.
$ac_ext >&5
33820 ac_cv_func_pthread_cancel
=no
33822 rm -f conftest.err conftest.
$ac_objext \
33823 conftest
$ac_exeext conftest.
$ac_ext
33825 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33826 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33827 if test $ac_cv_func_pthread_cancel = yes; then
33828 cat >>confdefs.h
<<\_ACEOF
33829 #define HAVE_PTHREAD_CANCEL 1
33833 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33834 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33840 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33841 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33842 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33843 echo $ECHO_N "(cached) $ECHO_C" >&6
33846 cat >conftest.
$ac_ext <<_ACEOF
33849 cat confdefs.h
>>conftest.
$ac_ext
33850 cat >>conftest.
$ac_ext <<_ACEOF
33851 /* end confdefs.h. */
33852 #include <pthread.h>
33857 pthread_mutexattr_t attr;
33858 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33864 rm -f conftest.
$ac_objext
33865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33866 (eval $ac_compile) 2>conftest.er1
33868 grep -v '^ *+' conftest.er1
>conftest.err
33870 cat conftest.err
>&5
33871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33872 (exit $ac_status); } &&
33873 { ac_try
='test -z "$ac_c_werror_flag"
33874 || test ! -s conftest.err'
33875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33876 (eval $ac_try) 2>&5
33878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33879 (exit $ac_status); }; } &&
33880 { ac_try
='test -s conftest.$ac_objext'
33881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33882 (eval $ac_try) 2>&5
33884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33885 (exit $ac_status); }; }; then
33887 wx_cv_type_pthread_mutexattr_t
=yes
33890 echo "$as_me: failed program was:" >&5
33891 sed 's/^/| /' conftest.
$ac_ext >&5
33894 wx_cv_type_pthread_mutexattr_t
=no
33898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33901 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33902 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33904 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33905 cat >>confdefs.h
<<\_ACEOF
33906 #define HAVE_PTHREAD_MUTEXATTR_T 1
33910 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33911 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33912 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33913 echo $ECHO_N "(cached) $ECHO_C" >&6
33916 cat >conftest.
$ac_ext <<_ACEOF
33919 cat confdefs.h
>>conftest.
$ac_ext
33920 cat >>conftest.
$ac_ext <<_ACEOF
33921 /* end confdefs.h. */
33922 #include <pthread.h>
33927 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33933 rm -f conftest.
$ac_objext
33934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33935 (eval $ac_compile) 2>conftest.er1
33937 grep -v '^ *+' conftest.er1
>conftest.err
33939 cat conftest.err
>&5
33940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33941 (exit $ac_status); } &&
33942 { ac_try
='test -z "$ac_c_werror_flag"
33943 || test ! -s conftest.err'
33944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33945 (eval $ac_try) 2>&5
33947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33948 (exit $ac_status); }; } &&
33949 { ac_try
='test -s conftest.$ac_objext'
33950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33951 (eval $ac_try) 2>&5
33953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33954 (exit $ac_status); }; }; then
33956 wx_cv_type_pthread_rec_mutex_init
=yes
33959 echo "$as_me: failed program was:" >&5
33960 sed 's/^/| /' conftest.
$ac_ext >&5
33963 wx_cv_type_pthread_rec_mutex_init
=no
33967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33970 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33971 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33972 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33973 cat >>confdefs.h
<<\_ACEOF
33974 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33978 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33979 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33985 if test "$wxUSE_THREADS" = "yes" ; then
33988 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33989 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33990 if test "${wx_cv_cflags_mthread+set}" = set; then
33991 echo $ECHO_N "(cached) $ECHO_C" >&6
33994 CFLAGS_OLD
="$CFLAGS"
33995 CFLAGS
="$CFLAGS -mthreads"
33996 cat >conftest.
$ac_ext <<_ACEOF
33999 cat confdefs.h
>>conftest.
$ac_ext
34000 cat >>conftest.
$ac_ext <<_ACEOF
34001 /* end confdefs.h. */
34011 rm -f conftest.
$ac_objext
34012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34013 (eval $ac_compile) 2>conftest.er1
34015 grep -v '^ *+' conftest.er1
>conftest.err
34017 cat conftest.err
>&5
34018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34019 (exit $ac_status); } &&
34020 { ac_try
='test -z "$ac_c_werror_flag"
34021 || test ! -s conftest.err'
34022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34023 (eval $ac_try) 2>&5
34025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34026 (exit $ac_status); }; } &&
34027 { ac_try
='test -s conftest.$ac_objext'
34028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34029 (eval $ac_try) 2>&5
34031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34032 (exit $ac_status); }; }; then
34033 wx_cv_cflags_mthread
=yes
34035 echo "$as_me: failed program was:" >&5
34036 sed 's/^/| /' conftest.
$ac_ext >&5
34038 wx_cv_cflags_mthread
=no
34041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34045 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
34046 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
34048 if test "$wx_cv_cflags_mthread" = "yes"; then
34049 CXXFLAGS
="$CXXFLAGS -mthreads"
34050 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
34051 LDFLAGS
="$LDFLAGS -mthreads"
34053 CFLAGS
="$CFLAGS_OLD"
34057 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
34058 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
34059 LDFLAGS
="$LDFLAGS -Zmt"
34065 if test "$wxUSE_THREADS" = "yes"; then
34066 cat >>confdefs.h
<<\_ACEOF
34067 #define wxUSE_THREADS 1
34071 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
34073 if test "$ac_cv_func_strtok_r" = "yes"; then
34074 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
34075 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
34076 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
34077 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
34078 echo "$as_me:$LINENO: result: yes" >&5
34079 echo "${ECHO_T}yes" >&6
34081 echo "$as_me:$LINENO: result: no" >&5
34082 echo "${ECHO_T}no" >&6
34087 if test "$WXGTK20" = 1 ; then
34088 cat >>confdefs.h
<<_ACEOF
34089 #define __WXGTK20__ $WXGTK20
34095 if test "$WXGTK12" = 1 ; then
34096 cat >>confdefs.h
<<_ACEOF
34097 #define __WXGTK12__ $WXGTK12
34102 if test "$WXGTK127" = 1 ; then
34103 cat >>confdefs.h
<<_ACEOF
34104 #define __WXGTK127__ $WXGTK127
34109 if test "$WXGPE" = 1 ; then
34110 cat >>confdefs.h
<<_ACEOF
34111 #define __WXGPE__ $WXGPE
34118 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
34123 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
34124 wxUSE_DEBUG_INFO
=yes
34128 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
34129 cat >>confdefs.h
<<\_ACEOF
34133 WXDEBUG_DEFINE
="-D__WXDEBUG__"
34135 if test "$wxUSE_GTK" = 1 ; then
34136 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
34140 if test "$wxUSE_MEM_TRACING" = "yes" ; then
34141 cat >>confdefs.h
<<\_ACEOF
34142 #define wxUSE_MEMORY_TRACING 1
34145 cat >>confdefs.h
<<\_ACEOF
34146 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
34149 cat >>confdefs.h
<<\_ACEOF
34150 #define wxUSE_DEBUG_NEW_ALWAYS 1
34153 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
34156 if test "$wxUSE_DMALLOC" = "yes" ; then
34157 DMALLOC_LIBS
="-ldmalloc"
34161 if test "$wxUSE_PROFILE" = "yes" ; then
34166 CODE_GEN_FLAGS_CXX
=
34167 if test "$GCC" = "yes" ; then
34168 if test "$wxUSE_NO_RTTI" = "yes" ; then
34169 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
34171 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
34172 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
34174 if test "$wxUSE_PERMISSIVE" = "yes" ; then
34175 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
34180 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
34183 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
34189 if test "$wxUSE_OPTIMISE" = "no" ; then
34190 if test "$GCC" = yes ; then
34194 if test "$GCC" = yes ; then
34198 i586
-*-*|i686
-*-* )
34199 OPTIMISE
="${OPTIMISE} "
34208 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
34209 cat >>confdefs.h
<<\_ACEOF
34210 #define WXWIN_COMPATIBILITY_2_2 1
34214 WXWIN_COMPATIBILITY_2_4
="yes"
34217 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
34218 cat >>confdefs.h
<<\_ACEOF
34219 #define WXWIN_COMPATIBILITY_2_4 1
34225 if test "$wxUSE_GUI" = "yes"; then
34226 cat >>confdefs.h
<<\_ACEOF
34227 #define wxUSE_GUI 1
34234 if test "$wxUSE_UNIX" = "yes"; then
34235 cat >>confdefs.h
<<\_ACEOF
34236 #define wxUSE_UNIX 1
34242 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34246 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34247 if test "$USE_DARWIN" = 1; then
34251 for ac_func
in dlopen
34253 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34254 echo "$as_me:$LINENO: checking for $ac_func" >&5
34255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34256 if eval "test \"\${$as_ac_var+set}\" = set"; then
34257 echo $ECHO_N "(cached) $ECHO_C" >&6
34259 cat >conftest.
$ac_ext <<_ACEOF
34262 cat confdefs.h
>>conftest.
$ac_ext
34263 cat >>conftest.
$ac_ext <<_ACEOF
34264 /* end confdefs.h. */
34265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34267 #define $ac_func innocuous_$ac_func
34269 /* System header to define __stub macros and hopefully few prototypes,
34270 which can conflict with char $ac_func (); below.
34271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34272 <limits.h> exists even on freestanding compilers. */
34275 # include <limits.h>
34277 # include <assert.h>
34282 /* Override any gcc2 internal prototype to avoid an error. */
34287 /* We use char because int might match the return type of a gcc2
34288 builtin and then its argument prototype would still apply. */
34290 /* The GNU C library defines this for functions which it implements
34291 to always fail with ENOSYS. Some functions are actually named
34292 something starting with __ and the normal name is an alias. */
34293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34296 char (*f) () = $ac_func;
34305 return f != $ac_func;
34310 rm -f conftest.
$ac_objext conftest
$ac_exeext
34311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34312 (eval $ac_link) 2>conftest.er1
34314 grep -v '^ *+' conftest.er1
>conftest.err
34316 cat conftest.err
>&5
34317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34318 (exit $ac_status); } &&
34319 { ac_try
='test -z "$ac_c_werror_flag"
34320 || test ! -s conftest.err'
34321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34322 (eval $ac_try) 2>&5
34324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34325 (exit $ac_status); }; } &&
34326 { ac_try
='test -s conftest$ac_exeext'
34327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34328 (eval $ac_try) 2>&5
34330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34331 (exit $ac_status); }; }; then
34332 eval "$as_ac_var=yes"
34334 echo "$as_me: failed program was:" >&5
34335 sed 's/^/| /' conftest.
$ac_ext >&5
34337 eval "$as_ac_var=no"
34339 rm -f conftest.err conftest.
$ac_objext \
34340 conftest
$ac_exeext conftest.
$ac_ext
34342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34344 if test `eval echo '${'$as_ac_var'}'` = yes; then
34345 cat >>confdefs.h
<<_ACEOF
34346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34349 cat >>confdefs.h
<<\_ACEOF
34350 #define HAVE_DLOPEN 1
34357 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
34358 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
34359 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
34360 echo $ECHO_N "(cached) $ECHO_C" >&6
34362 ac_check_lib_save_LIBS
=$LIBS
34364 cat >conftest.
$ac_ext <<_ACEOF
34367 cat confdefs.h
>>conftest.
$ac_ext
34368 cat >>conftest.
$ac_ext <<_ACEOF
34369 /* end confdefs.h. */
34371 /* Override any gcc2 internal prototype to avoid an error. */
34375 /* We use char because int might match the return type of a gcc2
34376 builtin and then its argument prototype would still apply. */
34386 rm -f conftest.
$ac_objext conftest
$ac_exeext
34387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34388 (eval $ac_link) 2>conftest.er1
34390 grep -v '^ *+' conftest.er1
>conftest.err
34392 cat conftest.err
>&5
34393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34394 (exit $ac_status); } &&
34395 { ac_try
='test -z "$ac_c_werror_flag"
34396 || test ! -s conftest.err'
34397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34398 (eval $ac_try) 2>&5
34400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34401 (exit $ac_status); }; } &&
34402 { ac_try
='test -s conftest$ac_exeext'
34403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34404 (eval $ac_try) 2>&5
34406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34407 (exit $ac_status); }; }; then
34408 ac_cv_lib_dl_dlopen
=yes
34410 echo "$as_me: failed program was:" >&5
34411 sed 's/^/| /' conftest.
$ac_ext >&5
34413 ac_cv_lib_dl_dlopen
=no
34415 rm -f conftest.err conftest.
$ac_objext \
34416 conftest
$ac_exeext conftest.
$ac_ext
34417 LIBS
=$ac_check_lib_save_LIBS
34419 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
34420 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
34421 if test $ac_cv_lib_dl_dlopen = yes; then
34423 cat >>confdefs.h
<<\_ACEOF
34424 #define HAVE_DLOPEN 1
34428 DL_LINK
=" -ldl$DL_LINK"
34433 for ac_func
in shl_load
34435 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34436 echo "$as_me:$LINENO: checking for $ac_func" >&5
34437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34438 if eval "test \"\${$as_ac_var+set}\" = set"; then
34439 echo $ECHO_N "(cached) $ECHO_C" >&6
34441 cat >conftest.
$ac_ext <<_ACEOF
34444 cat confdefs.h
>>conftest.
$ac_ext
34445 cat >>conftest.
$ac_ext <<_ACEOF
34446 /* end confdefs.h. */
34447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34449 #define $ac_func innocuous_$ac_func
34451 /* System header to define __stub macros and hopefully few prototypes,
34452 which can conflict with char $ac_func (); below.
34453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34454 <limits.h> exists even on freestanding compilers. */
34457 # include <limits.h>
34459 # include <assert.h>
34464 /* Override any gcc2 internal prototype to avoid an error. */
34469 /* We use char because int might match the return type of a gcc2
34470 builtin and then its argument prototype would still apply. */
34472 /* The GNU C library defines this for functions which it implements
34473 to always fail with ENOSYS. Some functions are actually named
34474 something starting with __ and the normal name is an alias. */
34475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34478 char (*f) () = $ac_func;
34487 return f != $ac_func;
34492 rm -f conftest.
$ac_objext conftest
$ac_exeext
34493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34494 (eval $ac_link) 2>conftest.er1
34496 grep -v '^ *+' conftest.er1
>conftest.err
34498 cat conftest.err
>&5
34499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34500 (exit $ac_status); } &&
34501 { ac_try
='test -z "$ac_c_werror_flag"
34502 || test ! -s conftest.err'
34503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34504 (eval $ac_try) 2>&5
34506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34507 (exit $ac_status); }; } &&
34508 { ac_try
='test -s conftest$ac_exeext'
34509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34510 (eval $ac_try) 2>&5
34512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34513 (exit $ac_status); }; }; then
34514 eval "$as_ac_var=yes"
34516 echo "$as_me: failed program was:" >&5
34517 sed 's/^/| /' conftest.
$ac_ext >&5
34519 eval "$as_ac_var=no"
34521 rm -f conftest.err conftest.
$ac_objext \
34522 conftest
$ac_exeext conftest.
$ac_ext
34524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34526 if test `eval echo '${'$as_ac_var'}'` = yes; then
34527 cat >>confdefs.h
<<_ACEOF
34528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34531 cat >>confdefs.h
<<\_ACEOF
34532 #define HAVE_SHL_LOAD 1
34539 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
34540 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
34541 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
34542 echo $ECHO_N "(cached) $ECHO_C" >&6
34544 ac_check_lib_save_LIBS
=$LIBS
34545 LIBS
="-lshl_load $LIBS"
34546 cat >conftest.
$ac_ext <<_ACEOF
34549 cat confdefs.h
>>conftest.
$ac_ext
34550 cat >>conftest.
$ac_ext <<_ACEOF
34551 /* end confdefs.h. */
34553 /* Override any gcc2 internal prototype to avoid an error. */
34557 /* We use char because int might match the return type of a gcc2
34558 builtin and then its argument prototype would still apply. */
34568 rm -f conftest.
$ac_objext conftest
$ac_exeext
34569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34570 (eval $ac_link) 2>conftest.er1
34572 grep -v '^ *+' conftest.er1
>conftest.err
34574 cat conftest.err
>&5
34575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34576 (exit $ac_status); } &&
34577 { ac_try
='test -z "$ac_c_werror_flag"
34578 || test ! -s conftest.err'
34579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34580 (eval $ac_try) 2>&5
34582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34583 (exit $ac_status); }; } &&
34584 { ac_try
='test -s conftest$ac_exeext'
34585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34586 (eval $ac_try) 2>&5
34588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34589 (exit $ac_status); }; }; then
34590 ac_cv_lib_shl_load_dld
=yes
34592 echo "$as_me: failed program was:" >&5
34593 sed 's/^/| /' conftest.
$ac_ext >&5
34595 ac_cv_lib_shl_load_dld
=no
34597 rm -f conftest.err conftest.
$ac_objext \
34598 conftest
$ac_exeext conftest.
$ac_ext
34599 LIBS
=$ac_check_lib_save_LIBS
34601 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
34602 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
34603 if test $ac_cv_lib_shl_load_dld = yes; then
34606 DL_LINK
=" -ldld$DL_LINK"
34622 if test "$HAVE_DL_FUNCS" = 1; then
34624 for ac_func
in dlerror
34626 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34627 echo "$as_me:$LINENO: checking for $ac_func" >&5
34628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34629 if eval "test \"\${$as_ac_var+set}\" = set"; then
34630 echo $ECHO_N "(cached) $ECHO_C" >&6
34632 cat >conftest.
$ac_ext <<_ACEOF
34635 cat confdefs.h
>>conftest.
$ac_ext
34636 cat >>conftest.
$ac_ext <<_ACEOF
34637 /* end confdefs.h. */
34638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34640 #define $ac_func innocuous_$ac_func
34642 /* System header to define __stub macros and hopefully few prototypes,
34643 which can conflict with char $ac_func (); below.
34644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34645 <limits.h> exists even on freestanding compilers. */
34648 # include <limits.h>
34650 # include <assert.h>
34655 /* Override any gcc2 internal prototype to avoid an error. */
34660 /* We use char because int might match the return type of a gcc2
34661 builtin and then its argument prototype would still apply. */
34663 /* The GNU C library defines this for functions which it implements
34664 to always fail with ENOSYS. Some functions are actually named
34665 something starting with __ and the normal name is an alias. */
34666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34669 char (*f) () = $ac_func;
34678 return f != $ac_func;
34683 rm -f conftest.
$ac_objext conftest
$ac_exeext
34684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34685 (eval $ac_link) 2>conftest.er1
34687 grep -v '^ *+' conftest.er1
>conftest.err
34689 cat conftest.err
>&5
34690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34691 (exit $ac_status); } &&
34692 { ac_try
='test -z "$ac_c_werror_flag"
34693 || test ! -s conftest.err'
34694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34695 (eval $ac_try) 2>&5
34697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34698 (exit $ac_status); }; } &&
34699 { ac_try
='test -s conftest$ac_exeext'
34700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34701 (eval $ac_try) 2>&5
34703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34704 (exit $ac_status); }; }; then
34705 eval "$as_ac_var=yes"
34707 echo "$as_me: failed program was:" >&5
34708 sed 's/^/| /' conftest.
$ac_ext >&5
34710 eval "$as_ac_var=no"
34712 rm -f conftest.err conftest.
$ac_objext \
34713 conftest
$ac_exeext conftest.
$ac_ext
34715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34717 if test `eval echo '${'$as_ac_var'}'` = yes; then
34718 cat >>confdefs.h
<<_ACEOF
34719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34721 cat >>confdefs.h
<<\_ACEOF
34722 #define HAVE_DLERROR 1
34727 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34728 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34729 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34730 echo $ECHO_N "(cached) $ECHO_C" >&6
34732 ac_check_lib_save_LIBS
=$LIBS
34734 cat >conftest.
$ac_ext <<_ACEOF
34737 cat confdefs.h
>>conftest.
$ac_ext
34738 cat >>conftest.
$ac_ext <<_ACEOF
34739 /* end confdefs.h. */
34741 /* Override any gcc2 internal prototype to avoid an error. */
34745 /* We use char because int might match the return type of a gcc2
34746 builtin and then its argument prototype would still apply. */
34756 rm -f conftest.
$ac_objext conftest
$ac_exeext
34757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34758 (eval $ac_link) 2>conftest.er1
34760 grep -v '^ *+' conftest.er1
>conftest.err
34762 cat conftest.err
>&5
34763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34764 (exit $ac_status); } &&
34765 { ac_try
='test -z "$ac_c_werror_flag"
34766 || test ! -s conftest.err'
34767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34768 (eval $ac_try) 2>&5
34770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34771 (exit $ac_status); }; } &&
34772 { ac_try
='test -s conftest$ac_exeext'
34773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34774 (eval $ac_try) 2>&5
34776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34777 (exit $ac_status); }; }; then
34778 ac_cv_lib_dl_dlerror
=yes
34780 echo "$as_me: failed program was:" >&5
34781 sed 's/^/| /' conftest.
$ac_ext >&5
34783 ac_cv_lib_dl_dlerror
=no
34785 rm -f conftest.err conftest.
$ac_objext \
34786 conftest
$ac_exeext conftest.
$ac_ext
34787 LIBS
=$ac_check_lib_save_LIBS
34789 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34790 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34791 if test $ac_cv_lib_dl_dlerror = yes; then
34792 cat >>confdefs.h
<<\_ACEOF
34793 #define HAVE_DLERROR 1
34806 if test "$HAVE_DL_FUNCS" = 0; then
34807 if test "$HAVE_SHL_FUNCS" = 0; then
34808 if test "$USE_UNIX" = 1; then
34809 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34810 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34811 wxUSE_DYNAMIC_LOADER
=no
34812 wxUSE_DYNLIB_CLASS
=no
34814 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34815 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34822 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34823 cat >>confdefs.h
<<\_ACEOF
34824 #define wxUSE_DYNAMIC_LOADER 1
34828 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34829 cat >>confdefs.h
<<\_ACEOF
34830 #define wxUSE_DYNLIB_CLASS 1
34837 if test "$wxUSE_PLUGINS" = "yes" ; then
34838 if test "$wxUSE_SHARED" = "no" ; then
34839 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34840 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34843 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34844 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34845 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34848 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34849 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34850 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34853 if test "$wxUSE_PLUGINS" = "yes" ; then
34854 cat >>confdefs.h
<<\_ACEOF
34855 #define wxUSE_PLUGINS 1
34862 if test "$wxUSE_STL" = "yes"; then
34863 cat >>confdefs.h
<<\_ACEOF
34864 #define wxUSE_STL 1
34869 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34870 cat >>confdefs.h
<<\_ACEOF
34871 #define wxUSE_APPLE_IEEE 1
34876 if test "$wxUSE_TIMER" = "yes"; then
34877 cat >>confdefs.h
<<\_ACEOF
34878 #define wxUSE_TIMER 1
34884 if test "$wxUSE_SOUND" = "yes"; then
34885 if test "$USE_UNIX" = "1" ; then
34887 for ac_header
in sys
/soundcard.h
34889 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34891 echo "$as_me:$LINENO: checking for $ac_header" >&5
34892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34894 echo $ECHO_N "(cached) $ECHO_C" >&6
34896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34897 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34899 # Is the header compilable?
34900 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34901 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34902 cat >conftest.
$ac_ext <<_ACEOF
34905 cat confdefs.h
>>conftest.
$ac_ext
34906 cat >>conftest.
$ac_ext <<_ACEOF
34907 /* end confdefs.h. */
34908 $ac_includes_default
34909 #include <$ac_header>
34911 rm -f conftest.
$ac_objext
34912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34913 (eval $ac_compile) 2>conftest.er1
34915 grep -v '^ *+' conftest.er1
>conftest.err
34917 cat conftest.err
>&5
34918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34919 (exit $ac_status); } &&
34920 { ac_try
='test -z "$ac_c_werror_flag"
34921 || test ! -s conftest.err'
34922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34923 (eval $ac_try) 2>&5
34925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926 (exit $ac_status); }; } &&
34927 { ac_try
='test -s conftest.$ac_objext'
34928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34929 (eval $ac_try) 2>&5
34931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932 (exit $ac_status); }; }; then
34933 ac_header_compiler
=yes
34935 echo "$as_me: failed program was:" >&5
34936 sed 's/^/| /' conftest.
$ac_ext >&5
34938 ac_header_compiler
=no
34940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34941 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34942 echo "${ECHO_T}$ac_header_compiler" >&6
34944 # Is the header present?
34945 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34946 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34947 cat >conftest.
$ac_ext <<_ACEOF
34950 cat confdefs.h
>>conftest.
$ac_ext
34951 cat >>conftest.
$ac_ext <<_ACEOF
34952 /* end confdefs.h. */
34953 #include <$ac_header>
34955 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34956 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34958 grep -v '^ *+' conftest.er1
>conftest.err
34960 cat conftest.err
>&5
34961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34962 (exit $ac_status); } >/dev
/null
; then
34963 if test -s conftest.err
; then
34964 ac_cpp_err
=$ac_c_preproc_warn_flag
34965 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34972 if test -z "$ac_cpp_err"; then
34973 ac_header_preproc
=yes
34975 echo "$as_me: failed program was:" >&5
34976 sed 's/^/| /' conftest.
$ac_ext >&5
34978 ac_header_preproc
=no
34980 rm -f conftest.err conftest.
$ac_ext
34981 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34982 echo "${ECHO_T}$ac_header_preproc" >&6
34984 # So? What about this header?
34985 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34987 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34988 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34990 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34991 ac_header_preproc
=yes
34994 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34995 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34996 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34997 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34998 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34999 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35000 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35001 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35002 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35003 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35004 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35005 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35008 ## ----------------------------------------- ##
35009 ## Report this to wx-dev@lists.wxwidgets.org ##
35010 ## ----------------------------------------- ##
35013 sed "s/^/$as_me: WARNING: /" >&2
35016 echo "$as_me:$LINENO: checking for $ac_header" >&5
35017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35018 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35019 echo $ECHO_N "(cached) $ECHO_C" >&6
35021 eval "$as_ac_Header=\$ac_header_preproc"
35023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35024 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35027 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35028 cat >>confdefs.h
<<_ACEOF
35029 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35037 if test "$wxUSE_LIBSDL" != "no"; then
35039 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
35040 if test "${with_sdl_prefix+set}" = set; then
35041 withval
="$with_sdl_prefix"
35042 sdl_prefix
="$withval"
35047 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
35048 if test "${with_sdl_exec_prefix+set}" = set; then
35049 withval
="$with_sdl_exec_prefix"
35050 sdl_exec_prefix
="$withval"
35054 # Check whether --enable-sdltest or --disable-sdltest was given.
35055 if test "${enable_sdltest+set}" = set; then
35056 enableval
="$enable_sdltest"
35062 if test x
$sdl_exec_prefix != x
; then
35063 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
35064 if test x
${SDL_CONFIG+set} != xset
; then
35065 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
35068 if test x
$sdl_prefix != x
; then
35069 sdl_args
="$sdl_args --prefix=$sdl_prefix"
35070 if test x
${SDL_CONFIG+set} != xset
; then
35071 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
35076 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
35077 # Extract the first word of "sdl-config", so it can be a program name with args.
35078 set dummy sdl
-config; ac_word
=$2
35079 echo "$as_me:$LINENO: checking for $ac_word" >&5
35080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35081 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
35082 echo $ECHO_N "(cached) $ECHO_C" >&6
35084 case $SDL_CONFIG in
35086 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
35089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35090 for as_dir
in $PATH
35093 test -z "$as_dir" && as_dir
=.
35094 for ac_exec_ext
in '' $ac_executable_extensions; do
35095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35096 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
35097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35103 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
35107 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
35109 if test -n "$SDL_CONFIG"; then
35110 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
35111 echo "${ECHO_T}$SDL_CONFIG" >&6
35113 echo "$as_me:$LINENO: result: no" >&5
35114 echo "${ECHO_T}no" >&6
35117 min_sdl_version
=1.2.0
35118 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
35119 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
35121 if test "$SDL_CONFIG" = "no" ; then
35124 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
35125 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
35127 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
35128 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
35129 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
35130 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
35131 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
35132 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
35133 if test "x$enable_sdltest" = "xyes" ; then
35134 ac_save_CFLAGS
="$CFLAGS"
35135 ac_save_LIBS
="$LIBS"
35136 CFLAGS
="$CFLAGS $SDL_CFLAGS"
35137 LIBS
="$LIBS $SDL_LIBS"
35139 if test "$cross_compiling" = yes; then
35140 echo $ac_n "cross compiling; assumed OK... $ac_c"
35142 cat >conftest.
$ac_ext <<_ACEOF
35145 cat confdefs.h
>>conftest.
$ac_ext
35146 cat >>conftest.
$ac_ext <<_ACEOF
35147 /* end confdefs.h. */
35150 #include <stdlib.h>
35151 #include <string.h>
35155 my_strdup (char *str)
35161 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
35162 strcpy (new_str, str);
35170 int main (int argc, char *argv[])
35172 int major, minor, micro;
35175 /* This hangs on some systems (?)
35176 system ("touch conf.sdltest");
35178 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
35180 /* HP/UX 9 (%@#!) writes to sscanf strings */
35181 tmp_version = my_strdup("$min_sdl_version");
35182 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
35183 printf("%s, bad version string\n", "$min_sdl_version");
35187 if (($sdl_major_version > major) ||
35188 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
35189 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
35195 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
35196 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
35197 printf("*** best to upgrade to the required version.\n");
35198 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
35199 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
35200 printf("*** config.cache before re-running configure\n");
35207 rm -f conftest
$ac_exeext
35208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35209 (eval $ac_link) 2>&5
35211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35214 (eval $ac_try) 2>&5
35216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35217 (exit $ac_status); }; }; then
35220 echo "$as_me: program exited with status $ac_status" >&5
35221 echo "$as_me: failed program was:" >&5
35222 sed 's/^/| /' conftest.
$ac_ext >&5
35224 ( exit $ac_status )
35227 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35229 CFLAGS
="$ac_save_CFLAGS"
35230 LIBS
="$ac_save_LIBS"
35233 if test "x$no_sdl" = x
; then
35234 echo "$as_me:$LINENO: result: yes" >&5
35235 echo "${ECHO_T}yes" >&6
35237 EXTRALIBS_SDL
="$SDL_LIBS"
35238 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
35239 cat >>confdefs.h
<<\_ACEOF
35240 #define wxUSE_LIBSDL 1
35245 echo "$as_me:$LINENO: result: no" >&5
35246 echo "${ECHO_T}no" >&6
35247 if test "$SDL_CONFIG" = "no" ; then
35248 echo "*** The sdl-config script installed by SDL could not be found"
35249 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
35250 echo "*** your path, or set the SDL_CONFIG environment variable to the"
35251 echo "*** full path to sdl-config."
35253 if test -f conf.sdltest
; then
35256 echo "*** Could not run SDL test program, checking why..."
35257 CFLAGS
="$CFLAGS $SDL_CFLAGS"
35258 LIBS
="$LIBS $SDL_LIBS"
35259 cat >conftest.
$ac_ext <<_ACEOF
35262 cat confdefs.h
>>conftest.
$ac_ext
35263 cat >>conftest.
$ac_ext <<_ACEOF
35264 /* end confdefs.h. */
35269 int main(int argc, char *argv[])
35272 #define main K_and_R_C_main
35282 rm -f conftest.
$ac_objext conftest
$ac_exeext
35283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35284 (eval $ac_link) 2>conftest.er1
35286 grep -v '^ *+' conftest.er1
>conftest.err
35288 cat conftest.err
>&5
35289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35290 (exit $ac_status); } &&
35291 { ac_try
='test -z "$ac_c_werror_flag"
35292 || test ! -s conftest.err'
35293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35294 (eval $ac_try) 2>&5
35296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35297 (exit $ac_status); }; } &&
35298 { ac_try
='test -s conftest$ac_exeext'
35299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35300 (eval $ac_try) 2>&5
35302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35303 (exit $ac_status); }; }; then
35304 echo "*** The test program compiled, but did not run. This usually means"
35305 echo "*** that the run-time linker is not finding SDL or finding the wrong"
35306 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
35307 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
35308 echo "*** to the installed location Also, make sure you have run ldconfig if that"
35309 echo "*** is required on your system"
35311 echo "*** If you have an old version installed, it is best to remove it, although"
35312 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
35314 echo "$as_me: failed program was:" >&5
35315 sed 's/^/| /' conftest.
$ac_ext >&5
35317 echo "*** The test program failed to compile or link. See the file config.log for the"
35318 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
35319 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
35320 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
35322 rm -f conftest.err conftest.
$ac_objext \
35323 conftest
$ac_exeext conftest.
$ac_ext
35324 CFLAGS
="$ac_save_CFLAGS"
35325 LIBS
="$ac_save_LIBS"
35336 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
35342 cat >>confdefs.h
<<\_ACEOF
35343 #define wxUSE_SOUND 1
35346 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
35349 if test "$WXGTK20" = 1; then
35350 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35351 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
35356 if test -z "$PKG_CONFIG"; then
35357 # Extract the first word of "pkg-config", so it can be a program name with args.
35358 set dummy pkg
-config; ac_word
=$2
35359 echo "$as_me:$LINENO: checking for $ac_word" >&5
35360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35361 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35362 echo $ECHO_N "(cached) $ECHO_C" >&6
35364 case $PKG_CONFIG in
35366 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
35369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35370 for as_dir
in $PATH
35373 test -z "$as_dir" && as_dir
=.
35374 for ac_exec_ext
in '' $ac_executable_extensions; do
35375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35376 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
35377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35383 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
35387 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
35389 if test -n "$PKG_CONFIG"; then
35390 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35391 echo "${ECHO_T}$PKG_CONFIG" >&6
35393 echo "$as_me:$LINENO: result: no" >&5
35394 echo "${ECHO_T}no" >&6
35399 if test "$PKG_CONFIG" = "no" ; then
35400 echo "*** The pkg-config script could not be found. Make sure it is"
35401 echo "*** in your path, or set the PKG_CONFIG environment variable"
35402 echo "*** to the full path to pkg-config."
35403 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
35405 PKG_CONFIG_MIN_VERSION
=0.9.0
35406 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
35407 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
35408 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
35410 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
35411 echo "$as_me:$LINENO: result: yes" >&5
35412 echo "${ECHO_T}yes" >&6
35415 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
35416 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
35417 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
35418 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
35419 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
35421 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
35422 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
35423 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
35424 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
35425 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
35427 LIBGNOMEPRINTUI_CFLAGS
=""
35428 LIBGNOMEPRINTUI_LIBS
=""
35429 ## If we have a custom action on failure, don't print errors, but
35430 ## do set a variable so people can do so.
35431 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
35438 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
35439 echo "*** See http://www.freedesktop.org/software/pkgconfig"
35443 if test $succeeded = yes; then
35445 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
35446 cat >>confdefs.h
<<\_ACEOF
35447 #define wxUSE_LIBGNOMEPRINT 1
35453 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
35454 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
35455 wxUSE_LIBGNOMEPRINT
="no"
35465 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
35466 cat >>confdefs.h
<<\_ACEOF
35467 #define wxUSE_CMDLINE_PARSER 1
35472 if test "$wxUSE_STOPWATCH" = "yes"; then
35473 cat >>confdefs.h
<<\_ACEOF
35474 #define wxUSE_STOPWATCH 1
35479 if test "$wxUSE_DATETIME" = "yes"; then
35480 cat >>confdefs.h
<<\_ACEOF
35481 #define wxUSE_DATETIME 1
35486 if test "$wxUSE_FILE" = "yes"; then
35487 cat >>confdefs.h
<<\_ACEOF
35488 #define wxUSE_FILE 1
35493 if test "$wxUSE_FFILE" = "yes"; then
35494 cat >>confdefs.h
<<\_ACEOF
35495 #define wxUSE_FFILE 1
35500 if test "$wxUSE_FILESYSTEM" = "yes"; then
35501 cat >>confdefs.h
<<\_ACEOF
35502 #define wxUSE_FILESYSTEM 1
35507 if test "$wxUSE_FS_ZIP" = "yes"; then
35508 cat >>confdefs.h
<<\_ACEOF
35509 #define wxUSE_FS_ZIP 1
35514 if test "$wxUSE_ZIPSTREAM" = "yes"; then
35515 cat >>confdefs.h
<<\_ACEOF
35516 #define wxUSE_ZIPSTREAM 1
35521 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35522 cat >>confdefs.h
<<\_ACEOF
35523 #define wxUSE_ON_FATAL_EXCEPTION 1
35528 if test "$wxUSE_STACKWALKER" = "yes"; then
35529 cat >>confdefs.h
<<\_ACEOF
35530 #define wxUSE_STACKWALKER 1
35535 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35536 cat >>confdefs.h
<<\_ACEOF
35537 #define wxUSE_SNGLINST_CHECKER 1
35542 if test "$wxUSE_BUSYINFO" = "yes"; then
35543 cat >>confdefs.h
<<\_ACEOF
35544 #define wxUSE_BUSYINFO 1
35549 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
35550 cat >>confdefs.h
<<\_ACEOF
35551 #define wxUSE_STD_IOSTREAM 1
35556 if test "$wxUSE_TEXTBUFFER" = "yes"; then
35557 cat >>confdefs.h
<<\_ACEOF
35558 #define wxUSE_TEXTBUFFER 1
35563 if test "$wxUSE_TEXTFILE" = "yes"; then
35564 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
35565 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
35566 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
35568 cat >>confdefs.h
<<\_ACEOF
35569 #define wxUSE_TEXTFILE 1
35575 if test "$wxUSE_CONFIG" = "yes" ; then
35576 if test "$wxUSE_TEXTFILE" != "yes"; then
35577 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
35578 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
35580 cat >>confdefs.h
<<\_ACEOF
35581 #define wxUSE_CONFIG 1
35584 cat >>confdefs.h
<<\_ACEOF
35585 #define wxUSE_CONFIG_NATIVE 1
35588 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
35592 if test "$wxUSE_INTL" = "yes" ; then
35593 if test "$wxUSE_FILE" != "yes"; then
35594 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
35595 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35597 cat >>confdefs.h
<<\_ACEOF
35598 #define wxUSE_INTL 1
35601 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
35602 GUIDIST
="$GUIDIST INTL_DIST"
35606 if test "$wxUSE_LOG" = "yes"; then
35607 cat >>confdefs.h
<<\_ACEOF
35608 #define wxUSE_LOG 1
35612 if test "$wxUSE_LOGGUI" = "yes"; then
35613 cat >>confdefs.h
<<\_ACEOF
35614 #define wxUSE_LOGGUI 1
35619 if test "$wxUSE_LOGWINDOW" = "yes"; then
35620 cat >>confdefs.h
<<\_ACEOF
35621 #define wxUSE_LOGWINDOW 1
35626 if test "$wxUSE_LOGDIALOG" = "yes"; then
35627 cat >>confdefs.h
<<\_ACEOF
35628 #define wxUSE_LOG_DIALOG 1
35634 if test "$wxUSE_LONGLONG" = "yes"; then
35635 cat >>confdefs.h
<<\_ACEOF
35636 #define wxUSE_LONGLONG 1
35641 if test "$wxUSE_GEOMETRY" = "yes"; then
35642 cat >>confdefs.h
<<\_ACEOF
35643 #define wxUSE_GEOMETRY 1
35648 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
35649 cat >>confdefs.h
<<\_ACEOF
35650 #define wxUSE_DIALUP_MANAGER 1
35653 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
35656 if test "$wxUSE_STREAMS" = "yes" ; then
35657 cat >>confdefs.h
<<\_ACEOF
35658 #define wxUSE_STREAMS 1
35664 if test "$wxUSE_DATETIME" = "yes"; then
35666 for ac_func
in strptime
35668 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35669 echo "$as_me:$LINENO: checking for $ac_func" >&5
35670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35671 if eval "test \"\${$as_ac_var+set}\" = set"; then
35672 echo $ECHO_N "(cached) $ECHO_C" >&6
35674 cat >conftest.
$ac_ext <<_ACEOF
35677 cat confdefs.h
>>conftest.
$ac_ext
35678 cat >>conftest.
$ac_ext <<_ACEOF
35679 /* end confdefs.h. */
35680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35682 #define $ac_func innocuous_$ac_func
35684 /* System header to define __stub macros and hopefully few prototypes,
35685 which can conflict with char $ac_func (); below.
35686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35687 <limits.h> exists even on freestanding compilers. */
35690 # include <limits.h>
35692 # include <assert.h>
35697 /* Override any gcc2 internal prototype to avoid an error. */
35702 /* We use char because int might match the return type of a gcc2
35703 builtin and then its argument prototype would still apply. */
35705 /* The GNU C library defines this for functions which it implements
35706 to always fail with ENOSYS. Some functions are actually named
35707 something starting with __ and the normal name is an alias. */
35708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35711 char (*f) () = $ac_func;
35720 return f != $ac_func;
35725 rm -f conftest.
$ac_objext conftest
$ac_exeext
35726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35727 (eval $ac_link) 2>conftest.er1
35729 grep -v '^ *+' conftest.er1
>conftest.err
35731 cat conftest.err
>&5
35732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35733 (exit $ac_status); } &&
35734 { ac_try
='test -z "$ac_c_werror_flag"
35735 || test ! -s conftest.err'
35736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35737 (eval $ac_try) 2>&5
35739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35740 (exit $ac_status); }; } &&
35741 { ac_try
='test -s conftest$ac_exeext'
35742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35743 (eval $ac_try) 2>&5
35745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35746 (exit $ac_status); }; }; then
35747 eval "$as_ac_var=yes"
35749 echo "$as_me: failed program was:" >&5
35750 sed 's/^/| /' conftest.
$ac_ext >&5
35752 eval "$as_ac_var=no"
35754 rm -f conftest.err conftest.
$ac_objext \
35755 conftest
$ac_exeext conftest.
$ac_ext
35757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35759 if test `eval echo '${'$as_ac_var'}'` = yes; then
35760 cat >>confdefs.h
<<_ACEOF
35761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35768 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
35769 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
35770 if test "${wx_cv_var_timezone+set}" = set; then
35771 echo $ECHO_N "(cached) $ECHO_C" >&6
35774 cat >conftest.
$ac_ext <<_ACEOF
35777 cat confdefs.h
>>conftest.
$ac_ext
35778 cat >>conftest.
$ac_ext <<_ACEOF
35779 /* end confdefs.h. */
35794 rm -f conftest.
$ac_objext
35795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35796 (eval $ac_compile) 2>conftest.er1
35798 grep -v '^ *+' conftest.er1
>conftest.err
35800 cat conftest.err
>&5
35801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35802 (exit $ac_status); } &&
35803 { ac_try
='test -z "$ac_c_werror_flag"
35804 || test ! -s conftest.err'
35805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35806 (eval $ac_try) 2>&5
35808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35809 (exit $ac_status); }; } &&
35810 { ac_try
='test -s conftest.$ac_objext'
35811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35812 (eval $ac_try) 2>&5
35814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35815 (exit $ac_status); }; }; then
35817 wx_cv_var_timezone
=timezone
35820 echo "$as_me: failed program was:" >&5
35821 sed 's/^/| /' conftest.
$ac_ext >&5
35824 cat >conftest.
$ac_ext <<_ACEOF
35827 cat confdefs.h
>>conftest.
$ac_ext
35828 cat >>conftest.
$ac_ext <<_ACEOF
35829 /* end confdefs.h. */
35844 rm -f conftest.
$ac_objext
35845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35846 (eval $ac_compile) 2>conftest.er1
35848 grep -v '^ *+' conftest.er1
>conftest.err
35850 cat conftest.err
>&5
35851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35852 (exit $ac_status); } &&
35853 { ac_try
='test -z "$ac_c_werror_flag"
35854 || test ! -s conftest.err'
35855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35856 (eval $ac_try) 2>&5
35858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35859 (exit $ac_status); }; } &&
35860 { ac_try
='test -s conftest.$ac_objext'
35861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35862 (eval $ac_try) 2>&5
35864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35865 (exit $ac_status); }; }; then
35867 wx_cv_var_timezone
=_timezone
35870 echo "$as_me: failed program was:" >&5
35871 sed 's/^/| /' conftest.
$ac_ext >&5
35874 cat >conftest.
$ac_ext <<_ACEOF
35877 cat confdefs.h
>>conftest.
$ac_ext
35878 cat >>conftest.
$ac_ext <<_ACEOF
35879 /* end confdefs.h. */
35894 rm -f conftest.
$ac_objext
35895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35896 (eval $ac_compile) 2>conftest.er1
35898 grep -v '^ *+' conftest.er1
>conftest.err
35900 cat conftest.err
>&5
35901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35902 (exit $ac_status); } &&
35903 { ac_try
='test -z "$ac_c_werror_flag"
35904 || test ! -s conftest.err'
35905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35906 (eval $ac_try) 2>&5
35908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35909 (exit $ac_status); }; } &&
35910 { ac_try
='test -s conftest.$ac_objext'
35911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35912 (eval $ac_try) 2>&5
35914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35915 (exit $ac_status); }; }; then
35917 wx_cv_var_timezone
=__timezone
35920 echo "$as_me: failed program was:" >&5
35921 sed 's/^/| /' conftest.
$ac_ext >&5
35924 if test "$USE_DOS" = 0 ; then
35925 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35926 echo "$as_me: WARNING: no timezone variable" >&2;}
35931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35943 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35944 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35946 if test "x$wx_cv_var_timezone" != x
; then
35947 cat >>confdefs.h
<<_ACEOF
35948 #define WX_TIMEZONE $wx_cv_var_timezone
35954 for ac_func
in localtime
35956 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35957 echo "$as_me:$LINENO: checking for $ac_func" >&5
35958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35959 if eval "test \"\${$as_ac_var+set}\" = set"; then
35960 echo $ECHO_N "(cached) $ECHO_C" >&6
35962 cat >conftest.
$ac_ext <<_ACEOF
35965 cat confdefs.h
>>conftest.
$ac_ext
35966 cat >>conftest.
$ac_ext <<_ACEOF
35967 /* end confdefs.h. */
35968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35970 #define $ac_func innocuous_$ac_func
35972 /* System header to define __stub macros and hopefully few prototypes,
35973 which can conflict with char $ac_func (); below.
35974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35975 <limits.h> exists even on freestanding compilers. */
35978 # include <limits.h>
35980 # include <assert.h>
35985 /* Override any gcc2 internal prototype to avoid an error. */
35990 /* We use char because int might match the return type of a gcc2
35991 builtin and then its argument prototype would still apply. */
35993 /* The GNU C library defines this for functions which it implements
35994 to always fail with ENOSYS. Some functions are actually named
35995 something starting with __ and the normal name is an alias. */
35996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35999 char (*f) () = $ac_func;
36008 return f != $ac_func;
36013 rm -f conftest.
$ac_objext conftest
$ac_exeext
36014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36015 (eval $ac_link) 2>conftest.er1
36017 grep -v '^ *+' conftest.er1
>conftest.err
36019 cat conftest.err
>&5
36020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36021 (exit $ac_status); } &&
36022 { ac_try
='test -z "$ac_c_werror_flag"
36023 || test ! -s conftest.err'
36024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36025 (eval $ac_try) 2>&5
36027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36028 (exit $ac_status); }; } &&
36029 { ac_try
='test -s conftest$ac_exeext'
36030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36031 (eval $ac_try) 2>&5
36033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36034 (exit $ac_status); }; }; then
36035 eval "$as_ac_var=yes"
36037 echo "$as_me: failed program was:" >&5
36038 sed 's/^/| /' conftest.
$ac_ext >&5
36040 eval "$as_ac_var=no"
36042 rm -f conftest.err conftest.
$ac_objext \
36043 conftest
$ac_exeext conftest.
$ac_ext
36045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36047 if test `eval echo '${'$as_ac_var'}'` = yes; then
36048 cat >>confdefs.h
<<_ACEOF
36049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36056 if test "$ac_cv_func_localtime" = "yes"; then
36057 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
36058 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
36059 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
36060 echo $ECHO_N "(cached) $ECHO_C" >&6
36063 cat >conftest.
$ac_ext <<_ACEOF
36066 cat confdefs.h
>>conftest.
$ac_ext
36067 cat >>conftest.
$ac_ext <<_ACEOF
36068 /* end confdefs.h. */
36083 rm -f conftest.
$ac_objext
36084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36085 (eval $ac_compile) 2>conftest.er1
36087 grep -v '^ *+' conftest.er1
>conftest.err
36089 cat conftest.err
>&5
36090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36091 (exit $ac_status); } &&
36092 { ac_try
='test -z "$ac_c_werror_flag"
36093 || test ! -s conftest.err'
36094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36095 (eval $ac_try) 2>&5
36097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36098 (exit $ac_status); }; } &&
36099 { ac_try
='test -s conftest.$ac_objext'
36100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36101 (eval $ac_try) 2>&5
36103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36104 (exit $ac_status); }; }; then
36106 wx_cv_struct_tm_has_gmtoff
=yes
36109 echo "$as_me: failed program was:" >&5
36110 sed 's/^/| /' conftest.
$ac_ext >&5
36112 wx_cv_struct_tm_has_gmtoff
=no
36115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36118 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
36119 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
36122 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
36123 cat >>confdefs.h
<<\_ACEOF
36124 #define WX_GMTOFF_IN_TM 1
36131 for ac_func
in gettimeofday ftime
36133 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36134 echo "$as_me:$LINENO: checking for $ac_func" >&5
36135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36136 if eval "test \"\${$as_ac_var+set}\" = set"; then
36137 echo $ECHO_N "(cached) $ECHO_C" >&6
36139 cat >conftest.
$ac_ext <<_ACEOF
36142 cat confdefs.h
>>conftest.
$ac_ext
36143 cat >>conftest.
$ac_ext <<_ACEOF
36144 /* end confdefs.h. */
36145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36147 #define $ac_func innocuous_$ac_func
36149 /* System header to define __stub macros and hopefully few prototypes,
36150 which can conflict with char $ac_func (); below.
36151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36152 <limits.h> exists even on freestanding compilers. */
36155 # include <limits.h>
36157 # include <assert.h>
36162 /* Override any gcc2 internal prototype to avoid an error. */
36167 /* We use char because int might match the return type of a gcc2
36168 builtin and then its argument prototype would still apply. */
36170 /* The GNU C library defines this for functions which it implements
36171 to always fail with ENOSYS. Some functions are actually named
36172 something starting with __ and the normal name is an alias. */
36173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36176 char (*f) () = $ac_func;
36185 return f != $ac_func;
36190 rm -f conftest.
$ac_objext conftest
$ac_exeext
36191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36192 (eval $ac_link) 2>conftest.er1
36194 grep -v '^ *+' conftest.er1
>conftest.err
36196 cat conftest.err
>&5
36197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36198 (exit $ac_status); } &&
36199 { ac_try
='test -z "$ac_c_werror_flag"
36200 || test ! -s conftest.err'
36201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36202 (eval $ac_try) 2>&5
36204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36205 (exit $ac_status); }; } &&
36206 { ac_try
='test -s conftest$ac_exeext'
36207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36208 (eval $ac_try) 2>&5
36210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36211 (exit $ac_status); }; }; then
36212 eval "$as_ac_var=yes"
36214 echo "$as_me: failed program was:" >&5
36215 sed 's/^/| /' conftest.
$ac_ext >&5
36217 eval "$as_ac_var=no"
36219 rm -f conftest.err conftest.
$ac_objext \
36220 conftest
$ac_exeext conftest.
$ac_ext
36222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36224 if test `eval echo '${'$as_ac_var'}'` = yes; then
36225 cat >>confdefs.h
<<_ACEOF
36226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36233 if test "$ac_cv_func_gettimeofday" = "yes"; then
36234 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
36235 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
36236 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
36237 echo $ECHO_N "(cached) $ECHO_C" >&6
36243 ac_cpp
='$CXXCPP $CPPFLAGS'
36244 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36245 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36246 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36249 cat >conftest.
$ac_ext <<_ACEOF
36252 cat confdefs.h
>>conftest.
$ac_ext
36253 cat >>conftest.
$ac_ext <<_ACEOF
36254 /* end confdefs.h. */
36256 #include <sys/time.h>
36257 #include <unistd.h>
36264 gettimeofday(&tv, NULL);
36270 rm -f conftest.
$ac_objext
36271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36272 (eval $ac_compile) 2>conftest.er1
36274 grep -v '^ *+' conftest.er1
>conftest.err
36276 cat conftest.err
>&5
36277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36278 (exit $ac_status); } &&
36279 { ac_try
='test -z "$ac_cxx_werror_flag"
36280 || test ! -s conftest.err'
36281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36282 (eval $ac_try) 2>&5
36284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36285 (exit $ac_status); }; } &&
36286 { ac_try
='test -s conftest.$ac_objext'
36287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36288 (eval $ac_try) 2>&5
36290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36291 (exit $ac_status); }; }; then
36292 wx_cv_func_gettimeofday_has_2_args
=yes
36294 echo "$as_me: failed program was:" >&5
36295 sed 's/^/| /' conftest.
$ac_ext >&5
36297 cat >conftest.
$ac_ext <<_ACEOF
36300 cat confdefs.h
>>conftest.
$ac_ext
36301 cat >>conftest.
$ac_ext <<_ACEOF
36302 /* end confdefs.h. */
36304 #include <sys/time.h>
36305 #include <unistd.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 wx_cv_func_gettimeofday_has_2_args
=no
36342 echo "$as_me: failed program was:" >&5
36343 sed 's/^/| /' conftest.
$ac_ext >&5
36346 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
36347 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
36348 wx_cv_func_gettimeofday_has_2_args
=unknown
36352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36357 ac_cpp
='$CPP $CPPFLAGS'
36358 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36359 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36360 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36364 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
36365 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
36367 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
36368 cat >>confdefs.h
<<\_ACEOF
36369 #define WX_GETTIMEOFDAY_NO_TZ 1
36375 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
36379 if test "$wxUSE_SOCKETS" = "yes"; then
36380 if test "$wxUSE_MGL" = "1"; then
36381 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
36382 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
36387 if test "$wxUSE_SOCKETS" = "yes"; then
36388 if test "$TOOLKIT" != "MSW"; then
36389 echo "$as_me:$LINENO: checking for socket" >&5
36390 echo $ECHO_N "checking for socket... $ECHO_C" >&6
36391 if test "${ac_cv_func_socket+set}" = set; then
36392 echo $ECHO_N "(cached) $ECHO_C" >&6
36394 cat >conftest.
$ac_ext <<_ACEOF
36397 cat confdefs.h
>>conftest.
$ac_ext
36398 cat >>conftest.
$ac_ext <<_ACEOF
36399 /* end confdefs.h. */
36400 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
36401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36402 #define socket innocuous_socket
36404 /* System header to define __stub macros and hopefully few prototypes,
36405 which can conflict with char socket (); below.
36406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36407 <limits.h> exists even on freestanding compilers. */
36410 # include <limits.h>
36412 # include <assert.h>
36417 /* Override any gcc2 internal prototype to avoid an error. */
36422 /* We use char because int might match the return type of a gcc2
36423 builtin and then its argument prototype would still apply. */
36425 /* The GNU C library defines this for functions which it implements
36426 to always fail with ENOSYS. Some functions are actually named
36427 something starting with __ and the normal name is an alias. */
36428 #if defined (__stub_socket) || defined (__stub___socket)
36431 char (*f) () = socket;
36440 return f != socket;
36445 rm -f conftest.
$ac_objext conftest
$ac_exeext
36446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36447 (eval $ac_link) 2>conftest.er1
36449 grep -v '^ *+' conftest.er1
>conftest.err
36451 cat conftest.err
>&5
36452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36453 (exit $ac_status); } &&
36454 { ac_try
='test -z "$ac_c_werror_flag"
36455 || test ! -s conftest.err'
36456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36457 (eval $ac_try) 2>&5
36459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36460 (exit $ac_status); }; } &&
36461 { ac_try
='test -s conftest$ac_exeext'
36462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36463 (eval $ac_try) 2>&5
36465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36466 (exit $ac_status); }; }; then
36467 ac_cv_func_socket
=yes
36469 echo "$as_me: failed program was:" >&5
36470 sed 's/^/| /' conftest.
$ac_ext >&5
36472 ac_cv_func_socket
=no
36474 rm -f conftest.err conftest.
$ac_objext \
36475 conftest
$ac_exeext conftest.
$ac_ext
36477 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
36478 echo "${ECHO_T}$ac_cv_func_socket" >&6
36479 if test $ac_cv_func_socket = yes; then
36483 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
36484 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
36485 if test "${ac_cv_lib_socket_socket+set}" = set; then
36486 echo $ECHO_N "(cached) $ECHO_C" >&6
36488 ac_check_lib_save_LIBS
=$LIBS
36489 LIBS
="-lsocket $LIBS"
36490 cat >conftest.
$ac_ext <<_ACEOF
36493 cat confdefs.h
>>conftest.
$ac_ext
36494 cat >>conftest.
$ac_ext <<_ACEOF
36495 /* end confdefs.h. */
36497 /* Override any gcc2 internal prototype to avoid an error. */
36501 /* We use char because int might match the return type of a gcc2
36502 builtin and then its argument prototype would still apply. */
36512 rm -f conftest.
$ac_objext conftest
$ac_exeext
36513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36514 (eval $ac_link) 2>conftest.er1
36516 grep -v '^ *+' conftest.er1
>conftest.err
36518 cat conftest.err
>&5
36519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36520 (exit $ac_status); } &&
36521 { ac_try
='test -z "$ac_c_werror_flag"
36522 || test ! -s conftest.err'
36523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36524 (eval $ac_try) 2>&5
36526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36527 (exit $ac_status); }; } &&
36528 { ac_try
='test -s conftest$ac_exeext'
36529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36530 (eval $ac_try) 2>&5
36532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36533 (exit $ac_status); }; }; then
36534 ac_cv_lib_socket_socket
=yes
36536 echo "$as_me: failed program was:" >&5
36537 sed 's/^/| /' conftest.
$ac_ext >&5
36539 ac_cv_lib_socket_socket
=no
36541 rm -f conftest.err conftest.
$ac_objext \
36542 conftest
$ac_exeext conftest.
$ac_ext
36543 LIBS
=$ac_check_lib_save_LIBS
36545 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
36546 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
36547 if test $ac_cv_lib_socket_socket = yes; then
36548 if test "$INET_LINK" != " -lsocket"; then
36549 INET_LINK
="$INET_LINK -lsocket"
36553 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
36554 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
36567 if test "$wxUSE_SOCKETS" = "yes" ; then
36568 if test "$TOOLKIT" != "MSW"; then
36570 ac_cpp
='$CXXCPP $CPPFLAGS'
36571 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36572 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36573 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36575 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
36576 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
36577 if test "${wx_cv_type_getsockname3+set}" = set; then
36578 echo $ECHO_N "(cached) $ECHO_C" >&6
36581 cat >conftest.
$ac_ext <<_ACEOF
36584 cat confdefs.h
>>conftest.
$ac_ext
36585 cat >>conftest.
$ac_ext <<_ACEOF
36586 /* end confdefs.h. */
36588 #include <sys/types.h>
36589 #include <sys/socket.h>
36596 getsockname(0, 0, &len);
36602 rm -f conftest.
$ac_objext
36603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36604 (eval $ac_compile) 2>conftest.er1
36606 grep -v '^ *+' conftest.er1
>conftest.err
36608 cat conftest.err
>&5
36609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36610 (exit $ac_status); } &&
36611 { ac_try
='test -z "$ac_cxx_werror_flag"
36612 || test ! -s conftest.err'
36613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36614 (eval $ac_try) 2>&5
36616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36617 (exit $ac_status); }; } &&
36618 { ac_try
='test -s conftest.$ac_objext'
36619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36620 (eval $ac_try) 2>&5
36622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36623 (exit $ac_status); }; }; then
36624 wx_cv_type_getsockname3
=socklen_t
36626 echo "$as_me: failed program was:" >&5
36627 sed 's/^/| /' conftest.
$ac_ext >&5
36630 CFLAGS_OLD
="$CFLAGS"
36631 if test "$GCC" = yes ; then
36632 CFLAGS
="$CFLAGS -Werror"
36635 cat >conftest.
$ac_ext <<_ACEOF
36638 cat confdefs.h
>>conftest.
$ac_ext
36639 cat >>conftest.
$ac_ext <<_ACEOF
36640 /* end confdefs.h. */
36642 #include <sys/types.h>
36643 #include <sys/socket.h>
36650 getsockname(0, 0, &len);
36656 rm -f conftest.
$ac_objext
36657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36658 (eval $ac_compile) 2>conftest.er1
36660 grep -v '^ *+' conftest.er1
>conftest.err
36662 cat conftest.err
>&5
36663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36664 (exit $ac_status); } &&
36665 { ac_try
='test -z "$ac_cxx_werror_flag"
36666 || test ! -s conftest.err'
36667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36668 (eval $ac_try) 2>&5
36670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36671 (exit $ac_status); }; } &&
36672 { ac_try
='test -s conftest.$ac_objext'
36673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36674 (eval $ac_try) 2>&5
36676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36677 (exit $ac_status); }; }; then
36678 wx_cv_type_getsockname3
=size_t
36680 echo "$as_me: failed program was:" >&5
36681 sed 's/^/| /' conftest.
$ac_ext >&5
36683 cat >conftest.
$ac_ext <<_ACEOF
36686 cat confdefs.h
>>conftest.
$ac_ext
36687 cat >>conftest.
$ac_ext <<_ACEOF
36688 /* end confdefs.h. */
36690 #include <sys/types.h>
36691 #include <sys/socket.h>
36698 getsockname(0, 0, &len);
36704 rm -f conftest.
$ac_objext
36705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36706 (eval $ac_compile) 2>conftest.er1
36708 grep -v '^ *+' conftest.er1
>conftest.err
36710 cat conftest.err
>&5
36711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36712 (exit $ac_status); } &&
36713 { ac_try
='test -z "$ac_cxx_werror_flag"
36714 || test ! -s conftest.err'
36715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36716 (eval $ac_try) 2>&5
36718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36719 (exit $ac_status); }; } &&
36720 { ac_try
='test -s conftest.$ac_objext'
36721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36722 (eval $ac_try) 2>&5
36724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36725 (exit $ac_status); }; }; then
36726 wx_cv_type_getsockname3
=int
36728 echo "$as_me: failed program was:" >&5
36729 sed 's/^/| /' conftest.
$ac_ext >&5
36731 wx_cv_type_getsockname3
=unknown
36734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36739 CFLAGS
="$CFLAGS_OLD"
36743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36746 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
36747 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
36749 if test "$wx_cv_type_getsockname3" = "unknown"; then
36751 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36752 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36754 cat >>confdefs.h
<<_ACEOF
36755 #define SOCKLEN_T $wx_cv_type_getsockname3
36759 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
36760 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
36761 if test "${wx_cv_type_getsockopt5+set}" = set; then
36762 echo $ECHO_N "(cached) $ECHO_C" >&6
36765 cat >conftest.
$ac_ext <<_ACEOF
36768 cat confdefs.h
>>conftest.
$ac_ext
36769 cat >>conftest.
$ac_ext <<_ACEOF
36770 /* end confdefs.h. */
36772 #include <sys/types.h>
36773 #include <sys/socket.h>
36780 getsockopt(0, 0, 0, 0, &len);
36786 rm -f conftest.
$ac_objext
36787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36788 (eval $ac_compile) 2>conftest.er1
36790 grep -v '^ *+' conftest.er1
>conftest.err
36792 cat conftest.err
>&5
36793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36794 (exit $ac_status); } &&
36795 { ac_try
='test -z "$ac_cxx_werror_flag"
36796 || test ! -s conftest.err'
36797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36798 (eval $ac_try) 2>&5
36800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36801 (exit $ac_status); }; } &&
36802 { ac_try
='test -s conftest.$ac_objext'
36803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36804 (eval $ac_try) 2>&5
36806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36807 (exit $ac_status); }; }; then
36808 wx_cv_type_getsockopt5
=socklen_t
36810 echo "$as_me: failed program was:" >&5
36811 sed 's/^/| /' conftest.
$ac_ext >&5
36814 CFLAGS_OLD
="$CFLAGS"
36815 if test "$GCC" = yes ; then
36816 CFLAGS
="$CFLAGS -Werror"
36819 cat >conftest.
$ac_ext <<_ACEOF
36822 cat confdefs.h
>>conftest.
$ac_ext
36823 cat >>conftest.
$ac_ext <<_ACEOF
36824 /* end confdefs.h. */
36826 #include <sys/types.h>
36827 #include <sys/socket.h>
36834 getsockopt(0, 0, 0, 0, &len);
36840 rm -f conftest.
$ac_objext
36841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36842 (eval $ac_compile) 2>conftest.er1
36844 grep -v '^ *+' conftest.er1
>conftest.err
36846 cat conftest.err
>&5
36847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36848 (exit $ac_status); } &&
36849 { ac_try
='test -z "$ac_cxx_werror_flag"
36850 || test ! -s conftest.err'
36851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36852 (eval $ac_try) 2>&5
36854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36855 (exit $ac_status); }; } &&
36856 { ac_try
='test -s conftest.$ac_objext'
36857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36858 (eval $ac_try) 2>&5
36860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36861 (exit $ac_status); }; }; then
36862 wx_cv_type_getsockopt5
=size_t
36864 echo "$as_me: failed program was:" >&5
36865 sed 's/^/| /' conftest.
$ac_ext >&5
36867 cat >conftest.
$ac_ext <<_ACEOF
36870 cat confdefs.h
>>conftest.
$ac_ext
36871 cat >>conftest.
$ac_ext <<_ACEOF
36872 /* end confdefs.h. */
36874 #include <sys/types.h>
36875 #include <sys/socket.h>
36882 getsockopt(0, 0, 0, 0, &len);
36888 rm -f conftest.
$ac_objext
36889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36890 (eval $ac_compile) 2>conftest.er1
36892 grep -v '^ *+' conftest.er1
>conftest.err
36894 cat conftest.err
>&5
36895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36896 (exit $ac_status); } &&
36897 { ac_try
='test -z "$ac_cxx_werror_flag"
36898 || test ! -s conftest.err'
36899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36900 (eval $ac_try) 2>&5
36902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36903 (exit $ac_status); }; } &&
36904 { ac_try
='test -s conftest.$ac_objext'
36905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36906 (eval $ac_try) 2>&5
36908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36909 (exit $ac_status); }; }; then
36910 wx_cv_type_getsockopt5
=int
36912 echo "$as_me: failed program was:" >&5
36913 sed 's/^/| /' conftest.
$ac_ext >&5
36915 wx_cv_type_getsockopt5
=unknown
36918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36923 CFLAGS
="$CFLAGS_OLD"
36927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36930 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
36931 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
36933 if test "$wx_cv_type_getsockopt5" = "unknown"; then
36935 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36936 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36938 cat >>confdefs.h
<<_ACEOF
36939 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
36944 ac_cpp
='$CPP $CPPFLAGS'
36945 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36946 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36947 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36952 if test "$wxUSE_SOCKETS" = "yes" ; then
36953 cat >>confdefs.h
<<\_ACEOF
36954 #define wxUSE_SOCKETS 1
36957 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
36960 if test "$wxUSE_PROTOCOL" = "yes"; then
36961 if test "$wxUSE_SOCKETS" != "yes"; then
36962 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
36963 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
36968 if test "$wxUSE_PROTOCOL" = "yes"; then
36969 cat >>confdefs.h
<<\_ACEOF
36970 #define wxUSE_PROTOCOL 1
36974 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
36975 cat >>confdefs.h
<<\_ACEOF
36976 #define wxUSE_PROTOCOL_HTTP 1
36980 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
36981 cat >>confdefs.h
<<\_ACEOF
36982 #define wxUSE_PROTOCOL_FTP 1
36986 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
36987 cat >>confdefs.h
<<\_ACEOF
36988 #define wxUSE_PROTOCOL_FILE 1
36993 if test "$wxUSE_FS_INET" = "yes"; then
36994 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
36995 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
37000 if test "$wxUSE_URL" = "yes"; then
37001 if test "$wxUSE_PROTOCOL" != "yes"; then
37002 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
37003 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
37006 if test "$wxUSE_URL" = "yes"; then
37007 cat >>confdefs.h
<<\_ACEOF
37008 #define wxUSE_URL 1
37014 if test "$wxUSE_FS_INET" = "yes"; then
37015 cat >>confdefs.h
<<\_ACEOF
37016 #define wxUSE_FS_INET 1
37022 if test "$wxUSE_GUI" = "yes"; then
37024 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
37025 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
37026 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
37030 if test "$TOOLKIT" != "MSW"; then
37031 if test "$wxUSE_JOYSTICK" = "yes"; then
37033 for ac_header
in linux
/joystick.h
37035 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37037 echo "$as_me:$LINENO: checking for $ac_header" >&5
37038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37040 echo $ECHO_N "(cached) $ECHO_C" >&6
37042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37043 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37045 # Is the header compilable?
37046 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37047 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37048 cat >conftest.
$ac_ext <<_ACEOF
37051 cat confdefs.h
>>conftest.
$ac_ext
37052 cat >>conftest.
$ac_ext <<_ACEOF
37053 /* end confdefs.h. */
37054 $ac_includes_default
37055 #include <$ac_header>
37057 rm -f conftest.
$ac_objext
37058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37059 (eval $ac_compile) 2>conftest.er1
37061 grep -v '^ *+' conftest.er1
>conftest.err
37063 cat conftest.err
>&5
37064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37065 (exit $ac_status); } &&
37066 { ac_try
='test -z "$ac_c_werror_flag"
37067 || test ! -s conftest.err'
37068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37069 (eval $ac_try) 2>&5
37071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37072 (exit $ac_status); }; } &&
37073 { ac_try
='test -s conftest.$ac_objext'
37074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37075 (eval $ac_try) 2>&5
37077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37078 (exit $ac_status); }; }; then
37079 ac_header_compiler
=yes
37081 echo "$as_me: failed program was:" >&5
37082 sed 's/^/| /' conftest.
$ac_ext >&5
37084 ac_header_compiler
=no
37086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37087 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37088 echo "${ECHO_T}$ac_header_compiler" >&6
37090 # Is the header present?
37091 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37092 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37093 cat >conftest.
$ac_ext <<_ACEOF
37096 cat confdefs.h
>>conftest.
$ac_ext
37097 cat >>conftest.
$ac_ext <<_ACEOF
37098 /* end confdefs.h. */
37099 #include <$ac_header>
37101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37102 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37104 grep -v '^ *+' conftest.er1
>conftest.err
37106 cat conftest.err
>&5
37107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37108 (exit $ac_status); } >/dev
/null
; then
37109 if test -s conftest.err
; then
37110 ac_cpp_err
=$ac_c_preproc_warn_flag
37111 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37118 if test -z "$ac_cpp_err"; then
37119 ac_header_preproc
=yes
37121 echo "$as_me: failed program was:" >&5
37122 sed 's/^/| /' conftest.
$ac_ext >&5
37124 ac_header_preproc
=no
37126 rm -f conftest.err conftest.
$ac_ext
37127 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37128 echo "${ECHO_T}$ac_header_preproc" >&6
37130 # So? What about this header?
37131 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37133 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37134 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37136 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37137 ac_header_preproc
=yes
37140 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37141 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37142 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37143 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37144 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37145 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37146 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37147 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37148 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37149 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37150 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37151 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37154 ## ----------------------------------------- ##
37155 ## Report this to wx-dev@lists.wxwidgets.org ##
37156 ## ----------------------------------------- ##
37159 sed "s/^/$as_me: WARNING: /" >&2
37162 echo "$as_me:$LINENO: checking for $ac_header" >&5
37163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37165 echo $ECHO_N "(cached) $ECHO_C" >&6
37167 eval "$as_ac_Header=\$ac_header_preproc"
37169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37173 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37174 cat >>confdefs.h
<<_ACEOF
37175 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37182 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
37184 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
37185 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
37190 if test "$wxUSE_JOYSTICK" = "yes"; then
37191 cat >>confdefs.h
<<\_ACEOF
37192 #define wxUSE_JOYSTICK 1
37195 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
37201 if test "$wxUSE_FONTMAP" = "yes" ; then
37202 cat >>confdefs.h
<<\_ACEOF
37203 #define wxUSE_FONTMAP 1
37208 if test "$wxUSE_UNICODE" = "yes" ; then
37209 cat >>confdefs.h
<<\_ACEOF
37210 #define wxUSE_UNICODE 1
37214 if test "$USE_WIN32" != 1; then
37215 wxUSE_UNICODE_MSLU
=no
37218 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
37219 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
37220 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
37221 if test "${ac_cv_lib_unicows_main+set}" = set; then
37222 echo $ECHO_N "(cached) $ECHO_C" >&6
37224 ac_check_lib_save_LIBS
=$LIBS
37225 LIBS
="-lunicows $LIBS"
37226 cat >conftest.
$ac_ext <<_ACEOF
37229 cat confdefs.h
>>conftest.
$ac_ext
37230 cat >>conftest.
$ac_ext <<_ACEOF
37231 /* end confdefs.h. */
37242 rm -f conftest.
$ac_objext conftest
$ac_exeext
37243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37244 (eval $ac_link) 2>conftest.er1
37246 grep -v '^ *+' conftest.er1
>conftest.err
37248 cat conftest.err
>&5
37249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37250 (exit $ac_status); } &&
37251 { ac_try
='test -z "$ac_c_werror_flag"
37252 || test ! -s conftest.err'
37253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37254 (eval $ac_try) 2>&5
37256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37257 (exit $ac_status); }; } &&
37258 { ac_try
='test -s conftest$ac_exeext'
37259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37260 (eval $ac_try) 2>&5
37262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37263 (exit $ac_status); }; }; then
37264 ac_cv_lib_unicows_main
=yes
37266 echo "$as_me: failed program was:" >&5
37267 sed 's/^/| /' conftest.
$ac_ext >&5
37269 ac_cv_lib_unicows_main
=no
37271 rm -f conftest.err conftest.
$ac_objext \
37272 conftest
$ac_exeext conftest.
$ac_ext
37273 LIBS
=$ac_check_lib_save_LIBS
37275 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
37276 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
37277 if test $ac_cv_lib_unicows_main = yes; then
37279 cat >>confdefs.h
<<\_ACEOF
37280 #define wxUSE_UNICODE_MSLU 1
37286 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37287 Applications will only run on Windows NT/2000/XP!" >&5
37288 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37289 Applications will only run on Windows NT/2000/XP!" >&2;}
37290 wxUSE_UNICODE_MSLU
=no
37297 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
37298 cat >>confdefs.h
<<\_ACEOF
37299 #define wxUSE_EXPERIMENTAL_PRINTF 1
37305 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
37306 cat >>confdefs.h
<<\_ACEOF
37307 #define wxUSE_POSTSCRIPT 1
37312 cat >>confdefs.h
<<\_ACEOF
37313 #define wxUSE_AFM_FOR_POSTSCRIPT 1
37317 cat >>confdefs.h
<<\_ACEOF
37318 #define wxUSE_NORMALIZED_PS_FONTS 1
37323 if test "$wxUSE_CONSTRAINTS" = "yes"; then
37324 cat >>confdefs.h
<<\_ACEOF
37325 #define wxUSE_CONSTRAINTS 1
37328 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
37331 if test "$wxUSE_MDI" = "yes"; then
37332 cat >>confdefs.h
<<\_ACEOF
37333 #define wxUSE_MDI 1
37337 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37338 cat >>confdefs.h
<<\_ACEOF
37339 #define wxUSE_MDI_ARCHITECTURE 1
37342 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
37346 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
37347 cat >>confdefs.h
<<\_ACEOF
37348 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
37351 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
37352 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37353 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
37357 if test "$wxUSE_HELP" = "yes"; then
37358 cat >>confdefs.h
<<\_ACEOF
37359 #define wxUSE_HELP 1
37362 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
37364 if test "$wxUSE_MSW" = 1; then
37365 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
37366 cat >>confdefs.h
<<\_ACEOF
37367 #define wxUSE_MS_HTML_HELP 1
37373 if test "$wxUSE_WXHTML_HELP" = "yes"; then
37374 if test "$wxUSE_HTML" = "yes"; then
37375 cat >>confdefs.h
<<\_ACEOF
37376 #define wxUSE_WXHTML_HELP 1
37380 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
37381 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
37382 wxUSE_WXHTML_HELP
=no
37387 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37388 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37389 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
37390 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
37392 cat >>confdefs.h
<<\_ACEOF
37393 #define wxUSE_PRINTING_ARCHITECTURE 1
37397 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
37400 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
37401 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
37402 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
37403 { (exit 1); exit 1; }; }
37407 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
37408 -o "$wxUSE_CLIPBOARD" = "yes" \
37409 -o "$wxUSE_OLE" = "yes" \
37410 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
37412 for ac_header
in ole2.h
37414 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37415 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37416 echo "$as_me:$LINENO: checking for $ac_header" >&5
37417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37419 echo $ECHO_N "(cached) $ECHO_C" >&6
37421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37424 # Is the header compilable?
37425 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37426 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37427 cat >conftest.
$ac_ext <<_ACEOF
37430 cat confdefs.h
>>conftest.
$ac_ext
37431 cat >>conftest.
$ac_ext <<_ACEOF
37432 /* end confdefs.h. */
37433 $ac_includes_default
37434 #include <$ac_header>
37436 rm -f conftest.
$ac_objext
37437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37438 (eval $ac_compile) 2>conftest.er1
37440 grep -v '^ *+' conftest.er1
>conftest.err
37442 cat conftest.err
>&5
37443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37444 (exit $ac_status); } &&
37445 { ac_try
='test -z "$ac_c_werror_flag"
37446 || test ! -s conftest.err'
37447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37448 (eval $ac_try) 2>&5
37450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37451 (exit $ac_status); }; } &&
37452 { ac_try
='test -s conftest.$ac_objext'
37453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37454 (eval $ac_try) 2>&5
37456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37457 (exit $ac_status); }; }; then
37458 ac_header_compiler
=yes
37460 echo "$as_me: failed program was:" >&5
37461 sed 's/^/| /' conftest.
$ac_ext >&5
37463 ac_header_compiler
=no
37465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37466 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37467 echo "${ECHO_T}$ac_header_compiler" >&6
37469 # Is the header present?
37470 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37471 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37472 cat >conftest.
$ac_ext <<_ACEOF
37475 cat confdefs.h
>>conftest.
$ac_ext
37476 cat >>conftest.
$ac_ext <<_ACEOF
37477 /* end confdefs.h. */
37478 #include <$ac_header>
37480 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37481 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37483 grep -v '^ *+' conftest.er1
>conftest.err
37485 cat conftest.err
>&5
37486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37487 (exit $ac_status); } >/dev
/null
; then
37488 if test -s conftest.err
; then
37489 ac_cpp_err
=$ac_c_preproc_warn_flag
37490 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37497 if test -z "$ac_cpp_err"; then
37498 ac_header_preproc
=yes
37500 echo "$as_me: failed program was:" >&5
37501 sed 's/^/| /' conftest.
$ac_ext >&5
37503 ac_header_preproc
=no
37505 rm -f conftest.err conftest.
$ac_ext
37506 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37507 echo "${ECHO_T}$ac_header_preproc" >&6
37509 # So? What about this header?
37510 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37512 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37513 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37514 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37515 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37516 ac_header_preproc
=yes
37519 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37520 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37521 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37522 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37523 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37524 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37525 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37526 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37527 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37528 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37529 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37530 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37533 ## ----------------------------------------- ##
37534 ## Report this to wx-dev@lists.wxwidgets.org ##
37535 ## ----------------------------------------- ##
37538 sed "s/^/$as_me: WARNING: /" >&2
37541 echo "$as_me:$LINENO: checking for $ac_header" >&5
37542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37544 echo $ECHO_N "(cached) $ECHO_C" >&6
37546 eval "$as_ac_Header=\$ac_header_preproc"
37548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37549 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37552 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37553 cat >>confdefs.h
<<_ACEOF
37554 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37562 if test "$ac_cv_header_ole2_h" = "yes" ; then
37563 if test "$GCC" = yes ; then
37567 ac_cpp
='$CXXCPP $CPPFLAGS'
37568 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37569 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37570 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37573 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
37574 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
37575 cat >conftest.
$ac_ext <<_ACEOF
37578 cat confdefs.h
>>conftest.
$ac_ext
37579 cat >>conftest.
$ac_ext <<_ACEOF
37580 /* end confdefs.h. */
37581 #include <windows.h>
37591 rm -f conftest.
$ac_objext
37592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37593 (eval $ac_compile) 2>conftest.er1
37595 grep -v '^ *+' conftest.er1
>conftest.err
37597 cat conftest.err
>&5
37598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37599 (exit $ac_status); } &&
37600 { ac_try
='test -z "$ac_cxx_werror_flag"
37601 || test ! -s conftest.err'
37602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37603 (eval $ac_try) 2>&5
37605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37606 (exit $ac_status); }; } &&
37607 { ac_try
='test -s conftest.$ac_objext'
37608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37609 (eval $ac_try) 2>&5
37611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37612 (exit $ac_status); }; }; then
37613 echo "$as_me:$LINENO: result: no" >&5
37614 echo "${ECHO_T}no" >&6
37616 echo "$as_me: failed program was:" >&5
37617 sed 's/^/| /' conftest.
$ac_ext >&5
37619 echo "$as_me:$LINENO: result: yes" >&5
37620 echo "${ECHO_T}yes" >&6
37621 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
37623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37625 ac_cpp
='$CPP $CPPFLAGS'
37626 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37627 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37628 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37630 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
37631 if test "$wxUSE_OLE" = "yes" ; then
37632 cat >>confdefs.h
<<\_ACEOF
37633 #define wxUSE_OLE 1
37639 if test "$wxUSE_DATAOBJ" = "yes" ; then
37640 cat >>confdefs.h
<<\_ACEOF
37641 #define wxUSE_DATAOBJ 1
37646 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
37647 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
37650 wxUSE_DRAG_AND_DROP
=no
37655 if test "$wxUSE_METAFILE" = "yes"; then
37656 cat >>confdefs.h
<<\_ACEOF
37657 #define wxUSE_METAFILE 1
37661 cat >>confdefs.h
<<\_ACEOF
37662 #define wxUSE_ENH_METAFILE 1
37668 if test "$wxUSE_IPC" = "yes"; then
37669 if test "$wxUSE_SOCKETS" != "yes"; then
37670 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
37671 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
37674 cat >>confdefs.h
<<\_ACEOF
37675 #define wxUSE_IPC 1
37680 if test "$wxUSE_CLIPBOARD" = "yes"; then
37681 if test "$wxUSE_MGL" = 1; then
37682 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
37683 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
37687 if test "$wxUSE_CLIPBOARD" = "yes"; then
37688 cat >>confdefs.h
<<\_ACEOF
37689 #define wxUSE_CLIPBOARD 1
37693 cat >>confdefs.h
<<\_ACEOF
37694 #define wxUSE_DATAOBJ 1
37700 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
37701 if test "$wxUSE_GTK" = 1; then
37702 if test "$WXGTK12" != 1; then
37703 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
37704 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
37705 wxUSE_DRAG_AND_DROP
=no
37709 if test "$wxUSE_MOTIF" = 1; then
37710 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
37711 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
37712 wxUSE_DRAG_AND_DROP
=no
37715 if test "$wxUSE_X11" = 1; then
37716 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
37717 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
37718 wxUSE_DRAG_AND_DROP
=no
37721 if test "$wxUSE_MGL" = 1; then
37722 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
37723 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
37724 wxUSE_DRAG_AND_DROP
=no
37727 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
37728 cat >>confdefs.h
<<\_ACEOF
37729 #define wxUSE_DRAG_AND_DROP 1
37736 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
37737 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
37740 if test "$wxUSE_SPLINES" = "yes" ; then
37741 cat >>confdefs.h
<<\_ACEOF
37742 #define wxUSE_SPLINES 1
37749 if test "$wxUSE_CONTROLS" = "yes"; then
37753 if test "$wxUSE_ACCEL" = "yes"; then
37754 cat >>confdefs.h
<<\_ACEOF
37755 #define wxUSE_ACCEL 1
37761 if test "$wxUSE_BUTTON" = "yes"; then
37762 cat >>confdefs.h
<<\_ACEOF
37763 #define wxUSE_BUTTON 1
37769 if test "$wxUSE_BMPBUTTON" = "yes"; then
37770 cat >>confdefs.h
<<\_ACEOF
37771 #define wxUSE_BMPBUTTON 1
37777 if test "$wxUSE_CALCTRL" = "yes"; then
37778 cat >>confdefs.h
<<\_ACEOF
37779 #define wxUSE_CALENDARCTRL 1
37783 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
37786 if test "$wxUSE_CARET" = "yes"; then
37787 cat >>confdefs.h
<<\_ACEOF
37788 #define wxUSE_CARET 1
37792 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
37795 if test "$wxUSE_COMBOBOX" = "yes"; then
37796 cat >>confdefs.h
<<\_ACEOF
37797 #define wxUSE_COMBOBOX 1
37803 if test "$wxUSE_CHOICE" = "yes"; then
37804 cat >>confdefs.h
<<\_ACEOF
37805 #define wxUSE_CHOICE 1
37811 if test "$wxUSE_CHOICEBOOK" = "yes"; then
37812 cat >>confdefs.h
<<\_ACEOF
37813 #define wxUSE_CHOICEBOOK 1
37819 if test "$wxUSE_CHECKBOX" = "yes"; then
37820 cat >>confdefs.h
<<\_ACEOF
37821 #define wxUSE_CHECKBOX 1
37827 if test "$wxUSE_CHECKLST" = "yes"; then
37828 cat >>confdefs.h
<<\_ACEOF
37829 #define wxUSE_CHECKLISTBOX 1
37833 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
37836 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
37837 cat >>confdefs.h
<<\_ACEOF
37838 #define wxUSE_DATEPICKCTRL 1
37844 if test "$wxUSE_DISPLAY" = "yes"; then
37845 cat >>confdefs.h
<<\_ACEOF
37846 #define wxUSE_DISPLAY 1
37849 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
37852 if test "$wxUSE_GAUGE" = "yes"; then
37853 cat >>confdefs.h
<<\_ACEOF
37854 #define wxUSE_GAUGE 1
37860 if test "$wxUSE_GRID" = "yes"; then
37861 cat >>confdefs.h
<<\_ACEOF
37862 #define wxUSE_GRID 1
37866 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
37869 if test "$wxUSE_IMAGLIST" = "yes"; then
37870 cat >>confdefs.h
<<\_ACEOF
37871 #define wxUSE_IMAGLIST 1
37876 if test "$wxUSE_LISTBOOK" = "yes"; then
37877 cat >>confdefs.h
<<\_ACEOF
37878 #define wxUSE_LISTBOOK 1
37884 if test "$wxUSE_LISTBOX" = "yes"; then
37885 cat >>confdefs.h
<<\_ACEOF
37886 #define wxUSE_LISTBOX 1
37892 if test "$wxUSE_LISTCTRL" = "yes"; then
37893 if test "$wxUSE_IMAGLIST" = "yes"; then
37894 cat >>confdefs.h
<<\_ACEOF
37895 #define wxUSE_LISTCTRL 1
37899 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
37901 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
37902 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
37906 if test "$wxUSE_NOTEBOOK" = "yes"; then
37907 cat >>confdefs.h
<<\_ACEOF
37908 #define wxUSE_NOTEBOOK 1
37912 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
37916 if test "$wxUSE_RADIOBOX" = "yes"; then
37917 cat >>confdefs.h
<<\_ACEOF
37918 #define wxUSE_RADIOBOX 1
37924 if test "$wxUSE_RADIOBTN" = "yes"; then
37925 cat >>confdefs.h
<<\_ACEOF
37926 #define wxUSE_RADIOBTN 1
37932 if test "$wxUSE_SASH" = "yes"; then
37933 cat >>confdefs.h
<<\_ACEOF
37934 #define wxUSE_SASH 1
37937 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
37940 if test "$wxUSE_SCROLLBAR" = "yes"; then
37941 cat >>confdefs.h
<<\_ACEOF
37942 #define wxUSE_SCROLLBAR 1
37946 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
37949 if test "$wxUSE_SLIDER" = "yes"; then
37950 cat >>confdefs.h
<<\_ACEOF
37951 #define wxUSE_SLIDER 1
37957 if test "$wxUSE_SPINBTN" = "yes"; then
37958 cat >>confdefs.h
<<\_ACEOF
37959 #define wxUSE_SPINBTN 1
37965 if test "$wxUSE_SPINCTRL" = "yes"; then
37966 cat >>confdefs.h
<<\_ACEOF
37967 #define wxUSE_SPINCTRL 1
37973 if test "$wxUSE_SPLITTER" = "yes"; then
37974 cat >>confdefs.h
<<\_ACEOF
37975 #define wxUSE_SPLITTER 1
37978 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
37981 if test "$wxUSE_STATBMP" = "yes"; then
37982 cat >>confdefs.h
<<\_ACEOF
37983 #define wxUSE_STATBMP 1
37989 if test "$wxUSE_STATBOX" = "yes"; then
37990 cat >>confdefs.h
<<\_ACEOF
37991 #define wxUSE_STATBOX 1
37997 if test "$wxUSE_STATTEXT" = "yes"; then
37998 cat >>confdefs.h
<<\_ACEOF
37999 #define wxUSE_STATTEXT 1
38005 if test "$wxUSE_STATLINE" = "yes"; then
38006 cat >>confdefs.h
<<\_ACEOF
38007 #define wxUSE_STATLINE 1
38013 if test "$wxUSE_STATUSBAR" = "yes"; then
38014 cat >>confdefs.h
<<\_ACEOF
38015 #define wxUSE_NATIVE_STATUSBAR 1
38018 cat >>confdefs.h
<<\_ACEOF
38019 #define wxUSE_STATUSBAR 1
38024 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
38027 if test "$wxUSE_TABDIALOG" = "yes"; then
38028 cat >>confdefs.h
<<\_ACEOF
38029 #define wxUSE_TAB_DIALOG 1
38032 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
38035 if test "$wxUSE_TEXTCTRL" = "yes"; then
38036 cat >>confdefs.h
<<\_ACEOF
38037 #define wxUSE_TEXTCTRL 1
38041 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
38044 if test "$wxUSE_TOGGLEBTN" = "yes"; then
38045 if test "$wxUSE_COCOA" = 1 ; then
38046 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
38047 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
38050 if test "$wxUSE_PM" = 1; then
38051 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
38052 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
38056 if test "$wxUSE_UNIVERSAL" = "yes"; then
38057 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
38058 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
38062 if test "$wxUSE_TOGGLEBTN" = "yes"; then
38063 cat >>confdefs.h
<<\_ACEOF
38064 #define wxUSE_TOGGLEBTN 1
38071 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
38072 cat >>confdefs.h
<<\_ACEOF
38073 #define wxUSE_TOOLBAR_SIMPLE 1
38076 wxUSE_TOOLBAR
="yes"
38080 if test "$wxUSE_TOOLBAR" = "yes"; then
38081 cat >>confdefs.h
<<\_ACEOF
38082 #define wxUSE_TOOLBAR 1
38087 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
38088 wxUSE_TOOLBAR_NATIVE
="yes"
38091 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
38092 cat >>confdefs.h
<<\_ACEOF
38093 #define wxUSE_TOOLBAR_NATIVE 1
38099 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
38102 if test "$wxUSE_TOOLTIPS" = "yes"; then
38103 if test "$wxUSE_MOTIF" = 1; then
38104 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
38105 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
38107 if test "$wxUSE_UNIVERSAL" = "yes"; then
38108 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
38109 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
38111 cat >>confdefs.h
<<\_ACEOF
38112 #define wxUSE_TOOLTIPS 1
38119 if test "$wxUSE_TREECTRL" = "yes"; then
38120 if test "$wxUSE_IMAGLIST" = "yes"; then
38121 cat >>confdefs.h
<<\_ACEOF
38122 #define wxUSE_TREECTRL 1
38126 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
38128 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
38129 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
38133 if test "$wxUSE_POPUPWIN" = "yes"; then
38134 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
38135 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
38136 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
38138 if test "$wxUSE_PM" = 1; then
38139 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
38140 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
38142 cat >>confdefs.h
<<\_ACEOF
38143 #define wxUSE_POPUPWIN 1
38152 if test "$wxUSE_TIPWINDOW" = "yes"; then
38153 if test "$wxUSE_PM" = 1; then
38154 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
38155 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
38157 cat >>confdefs.h
<<\_ACEOF
38158 #define wxUSE_TIPWINDOW 1
38164 if test "$USES_CONTROLS" = 1; then
38165 cat >>confdefs.h
<<\_ACEOF
38166 #define wxUSE_CONTROLS 1
38172 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
38173 cat >>confdefs.h
<<\_ACEOF
38174 #define wxUSE_ACCESSIBILITY 1
38177 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
38180 if test "$wxUSE_DRAGIMAGE" = "yes"; then
38181 cat >>confdefs.h
<<\_ACEOF
38182 #define wxUSE_DRAGIMAGE 1
38185 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
38188 if test "$wxUSE_EXCEPTIONS" = "yes"; then
38189 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
38190 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
38191 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
38193 cat >>confdefs.h
<<\_ACEOF
38194 #define wxUSE_EXCEPTIONS 1
38197 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
38202 if test "$wxUSE_HTML" = "yes"; then
38203 cat >>confdefs.h
<<\_ACEOF
38204 #define wxUSE_HTML 1
38208 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
38209 if test "$wxUSE_MAC" = 1; then
38210 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
38213 if test "$wxUSE_WEBKIT" = "yes"; then
38214 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
38215 old_CPPFLAGS
="$CPPFLAGS"
38216 CPPFLAGS
="$CPPFLAGS -x objective-c++"
38217 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
38218 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
38219 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
38220 echo $ECHO_N "(cached) $ECHO_C" >&6
38222 cat >conftest.
$ac_ext <<_ACEOF
38225 cat confdefs.h
>>conftest.
$ac_ext
38226 cat >>conftest.
$ac_ext <<_ACEOF
38227 /* end confdefs.h. */
38228 #include <Carbon/Carbon.h>
38230 #include <WebKit/HIWebView.h>
38232 rm -f conftest.
$ac_objext
38233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38234 (eval $ac_compile) 2>conftest.er1
38236 grep -v '^ *+' conftest.er1
>conftest.err
38238 cat conftest.err
>&5
38239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38240 (exit $ac_status); } &&
38241 { ac_try
='test -z "$ac_c_werror_flag"
38242 || test ! -s conftest.err'
38243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38244 (eval $ac_try) 2>&5
38246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38247 (exit $ac_status); }; } &&
38248 { ac_try
='test -s conftest.$ac_objext'
38249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38250 (eval $ac_try) 2>&5
38252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38253 (exit $ac_status); }; }; then
38254 ac_cv_header_WebKit_HIWebView_h
=yes
38256 echo "$as_me: failed program was:" >&5
38257 sed 's/^/| /' conftest.
$ac_ext >&5
38259 ac_cv_header_WebKit_HIWebView_h
=no
38261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38263 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
38264 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
38265 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
38267 cat >>confdefs.h
<<\_ACEOF
38268 #define wxUSE_WEBKIT 1
38271 WEBKIT_LINK
="-framework WebKit"
38275 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
38276 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
38282 CPPFLAGS
="$old_CPPFLAGS"
38283 elif test "$wxUSE_COCOA" = 1; then
38284 cat >>confdefs.h
<<\_ACEOF
38285 #define wxUSE_WEBKIT 1
38294 if test "$wxUSE_XRC" = "yes"; then
38295 if test "$wxUSE_XML" != "yes"; then
38296 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
38297 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
38300 cat >>confdefs.h
<<\_ACEOF
38301 #define wxUSE_XRC 1
38305 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
38309 if test "$wxUSE_MENUS" = "yes"; then
38310 cat >>confdefs.h
<<\_ACEOF
38311 #define wxUSE_MENUS 1
38314 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
38317 if test "$wxUSE_METAFILE" = "yes"; then
38318 cat >>confdefs.h
<<\_ACEOF
38319 #define wxUSE_METAFILE 1
38324 if test "$wxUSE_MIMETYPE" = "yes"; then
38325 cat >>confdefs.h
<<\_ACEOF
38326 #define wxUSE_MIMETYPE 1
38331 if test "$wxUSE_MINIFRAME" = "yes"; then
38332 cat >>confdefs.h
<<\_ACEOF
38333 #define wxUSE_MINIFRAME 1
38336 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
38339 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
38340 cat >>confdefs.h
<<\_ACEOF
38341 #define wxUSE_SYSTEM_OPTIONS 1
38344 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
38345 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
38346 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
38351 if test "$wxUSE_VALIDATORS" = "yes"; then
38352 cat >>confdefs.h
<<\_ACEOF
38353 #define wxUSE_VALIDATORS 1
38356 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
38359 if test "$wxUSE_PALETTE" = "yes" ; then
38360 cat >>confdefs.h
<<\_ACEOF
38361 #define wxUSE_PALETTE 1
38366 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
38367 LIBS
=" -lunicows $LIBS"
38371 if test "$wxUSE_IMAGE" = "yes" ; then
38372 cat >>confdefs.h
<<\_ACEOF
38373 #define wxUSE_IMAGE 1
38377 if test "$wxUSE_GIF" = "yes" ; then
38378 cat >>confdefs.h
<<\_ACEOF
38379 #define wxUSE_GIF 1
38384 if test "$wxUSE_PCX" = "yes" ; then
38385 cat >>confdefs.h
<<\_ACEOF
38386 #define wxUSE_PCX 1
38391 if test "$wxUSE_IFF" = "yes" ; then
38392 cat >>confdefs.h
<<\_ACEOF
38393 #define wxUSE_IFF 1
38398 if test "$wxUSE_PNM" = "yes" ; then
38399 cat >>confdefs.h
<<\_ACEOF
38400 #define wxUSE_PNM 1
38405 if test "$wxUSE_XPM" = "yes" ; then
38406 cat >>confdefs.h
<<\_ACEOF
38407 #define wxUSE_XPM 1
38412 if test "$wxUSE_ICO_CUR" = "yes" ; then
38413 cat >>confdefs.h
<<\_ACEOF
38414 #define wxUSE_ICO_CUR 1
38421 if test "$wxUSE_CHOICEDLG" = "yes"; then
38422 cat >>confdefs.h
<<\_ACEOF
38423 #define wxUSE_CHOICEDLG 1
38428 if test "$wxUSE_COLOURDLG" = "yes"; then
38429 cat >>confdefs.h
<<\_ACEOF
38430 #define wxUSE_COLOURDLG 1
38435 if test "$wxUSE_FILEDLG" = "yes"; then
38436 cat >>confdefs.h
<<\_ACEOF
38437 #define wxUSE_FILEDLG 1
38442 if test "$wxUSE_FINDREPLDLG" = "yes"; then
38443 cat >>confdefs.h
<<\_ACEOF
38444 #define wxUSE_FINDREPLDLG 1
38449 if test "$wxUSE_FONTDLG" = "yes"; then
38450 cat >>confdefs.h
<<\_ACEOF
38451 #define wxUSE_FONTDLG 1
38456 if test "$wxUSE_DIRDLG" = "yes"; then
38457 if test "$wxUSE_TREECTRL" != "yes"; then
38458 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
38459 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
38461 cat >>confdefs.h
<<\_ACEOF
38462 #define wxUSE_DIRDLG 1
38468 if test "$wxUSE_MSGDLG" = "yes"; then
38469 cat >>confdefs.h
<<\_ACEOF
38470 #define wxUSE_MSGDLG 1
38475 if test "$wxUSE_NUMBERDLG" = "yes"; then
38476 cat >>confdefs.h
<<\_ACEOF
38477 #define wxUSE_NUMBERDLG 1
38482 if test "$wxUSE_PROGRESSDLG" = "yes"; then
38483 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38484 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
38485 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
38487 cat >>confdefs.h
<<\_ACEOF
38488 #define wxUSE_PROGRESSDLG 1
38494 if test "$wxUSE_SPLASH" = "yes"; then
38495 cat >>confdefs.h
<<\_ACEOF
38496 #define wxUSE_SPLASH 1
38499 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
38502 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
38503 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38504 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
38505 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
38507 cat >>confdefs.h
<<\_ACEOF
38508 #define wxUSE_STARTUP_TIPS 1
38514 if test "$wxUSE_TEXTDLG" = "yes"; then
38515 cat >>confdefs.h
<<\_ACEOF
38516 #define wxUSE_TEXTDLG 1
38521 if test "$wxUSE_WIZARDDLG" = "yes"; then
38522 cat >>confdefs.h
<<\_ACEOF
38523 #define wxUSE_WIZARDDLG 1
38526 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
38530 if test "$cross_compiling" = "yes"; then
38533 OSINFO
=`uname -s -r -m`
38534 OSINFO
="\"$OSINFO\""
38537 cat >>confdefs.h
<<_ACEOF
38538 #define WXWIN_OS_DESCRIPTION $OSINFO
38543 if test "x$prefix" != "xNONE"; then
38546 wxPREFIX
=$ac_default_prefix
38549 cat >>confdefs.h
<<_ACEOF
38550 #define wxINSTALL_PREFIX "$wxPREFIX"
38556 CORE_BASE_LIBS
="net base"
38557 CORE_GUI_LIBS
="adv core"
38559 if test "$wxUSE_XML" = "yes" ; then
38560 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
38562 if test "$wxUSE_ODBC" != "no" ; then
38563 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
38564 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
38566 if test "$wxUSE_HTML" = "yes" ; then
38567 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
38569 if test "$wxUSE_XRC" = "yes" ; then
38570 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
38573 if test "$wxUSE_GUI" != "yes"; then
38584 if test "$wxUSE_MAC" = 1 ; then
38585 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
38586 if test "$USE_DARWIN" = 1; then
38587 LDFLAGS
="$LDFLAGS -framework QuickTime"
38589 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
38592 if test "$USE_DARWIN" = 1; then
38593 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
38595 LDFLAGS
="$LDFLAGS -lCarbonLib"
38598 if test "$wxUSE_COCOA" = 1 ; then
38599 LDFLAGS
="$LDFLAGS -framework Cocoa"
38603 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
38610 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38611 echo "$as_me:$LINENO: checking for $ac_func" >&5
38612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38613 if eval "test \"\${$as_ac_var+set}\" = set"; then
38614 echo $ECHO_N "(cached) $ECHO_C" >&6
38616 cat >conftest.
$ac_ext <<_ACEOF
38619 cat confdefs.h
>>conftest.
$ac_ext
38620 cat >>conftest.
$ac_ext <<_ACEOF
38621 /* end confdefs.h. */
38622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38624 #define $ac_func innocuous_$ac_func
38626 /* System header to define __stub macros and hopefully few prototypes,
38627 which can conflict with char $ac_func (); below.
38628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38629 <limits.h> exists even on freestanding compilers. */
38632 # include <limits.h>
38634 # include <assert.h>
38639 /* Override any gcc2 internal prototype to avoid an error. */
38644 /* We use char because int might match the return type of a gcc2
38645 builtin and then its argument prototype would still apply. */
38647 /* The GNU C library defines this for functions which it implements
38648 to always fail with ENOSYS. Some functions are actually named
38649 something starting with __ and the normal name is an alias. */
38650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38653 char (*f) () = $ac_func;
38662 return f != $ac_func;
38667 rm -f conftest.
$ac_objext conftest
$ac_exeext
38668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38669 (eval $ac_link) 2>conftest.er1
38671 grep -v '^ *+' conftest.er1
>conftest.err
38673 cat conftest.err
>&5
38674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38675 (exit $ac_status); } &&
38676 { ac_try
='test -z "$ac_c_werror_flag"
38677 || test ! -s conftest.err'
38678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38679 (eval $ac_try) 2>&5
38681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38682 (exit $ac_status); }; } &&
38683 { ac_try
='test -s conftest$ac_exeext'
38684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38685 (eval $ac_try) 2>&5
38687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38688 (exit $ac_status); }; }; then
38689 eval "$as_ac_var=yes"
38691 echo "$as_me: failed program was:" >&5
38692 sed 's/^/| /' conftest.
$ac_ext >&5
38694 eval "$as_ac_var=no"
38696 rm -f conftest.err conftest.
$ac_objext \
38697 conftest
$ac_exeext conftest.
$ac_ext
38699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38701 if test `eval echo '${'$as_ac_var'}'` = yes; then
38702 cat >>confdefs.h
<<_ACEOF
38703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38710 for ac_func
in floor
38712 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38713 echo "$as_me:$LINENO: checking for $ac_func" >&5
38714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38715 if eval "test \"\${$as_ac_var+set}\" = set"; then
38716 echo $ECHO_N "(cached) $ECHO_C" >&6
38718 cat >conftest.
$ac_ext <<_ACEOF
38721 cat confdefs.h
>>conftest.
$ac_ext
38722 cat >>conftest.
$ac_ext <<_ACEOF
38723 /* end confdefs.h. */
38724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38726 #define $ac_func innocuous_$ac_func
38728 /* System header to define __stub macros and hopefully few prototypes,
38729 which can conflict with char $ac_func (); below.
38730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38731 <limits.h> exists even on freestanding compilers. */
38734 # include <limits.h>
38736 # include <assert.h>
38741 /* Override any gcc2 internal prototype to avoid an error. */
38746 /* We use char because int might match the return type of a gcc2
38747 builtin and then its argument prototype would still apply. */
38749 /* The GNU C library defines this for functions which it implements
38750 to always fail with ENOSYS. Some functions are actually named
38751 something starting with __ and the normal name is an alias. */
38752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38755 char (*f) () = $ac_func;
38764 return f != $ac_func;
38769 rm -f conftest.
$ac_objext conftest
$ac_exeext
38770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38771 (eval $ac_link) 2>conftest.er1
38773 grep -v '^ *+' conftest.er1
>conftest.err
38775 cat conftest.err
>&5
38776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38777 (exit $ac_status); } &&
38778 { ac_try
='test -z "$ac_c_werror_flag"
38779 || test ! -s conftest.err'
38780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38781 (eval $ac_try) 2>&5
38783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38784 (exit $ac_status); }; } &&
38785 { ac_try
='test -s conftest$ac_exeext'
38786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38787 (eval $ac_try) 2>&5
38789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38790 (exit $ac_status); }; }; then
38791 eval "$as_ac_var=yes"
38793 echo "$as_me: failed program was:" >&5
38794 sed 's/^/| /' conftest.
$ac_ext >&5
38796 eval "$as_ac_var=no"
38798 rm -f conftest.err conftest.
$ac_objext \
38799 conftest
$ac_exeext conftest.
$ac_ext
38801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38803 if test `eval echo '${'$as_ac_var'}'` = yes; then
38804 cat >>confdefs.h
<<_ACEOF
38805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38811 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
38812 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
38813 if test "$have_cos" = 1 -a "$have_floor" = 1; then
38814 echo "$as_me:$LINENO: result: yes" >&5
38815 echo "${ECHO_T}yes" >&6
38817 echo "$as_me:$LINENO: result: no" >&5
38818 echo "${ECHO_T}no" >&6
38820 # use different functions to avoid configure caching
38826 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38827 echo "$as_me:$LINENO: checking for $ac_func" >&5
38828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38829 if eval "test \"\${$as_ac_var+set}\" = set"; then
38830 echo $ECHO_N "(cached) $ECHO_C" >&6
38832 cat >conftest.
$ac_ext <<_ACEOF
38835 cat confdefs.h
>>conftest.
$ac_ext
38836 cat >>conftest.
$ac_ext <<_ACEOF
38837 /* end confdefs.h. */
38838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38840 #define $ac_func innocuous_$ac_func
38842 /* System header to define __stub macros and hopefully few prototypes,
38843 which can conflict with char $ac_func (); below.
38844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38845 <limits.h> exists even on freestanding compilers. */
38848 # include <limits.h>
38850 # include <assert.h>
38855 /* Override any gcc2 internal prototype to avoid an error. */
38860 /* We use char because int might match the return type of a gcc2
38861 builtin and then its argument prototype would still apply. */
38863 /* The GNU C library defines this for functions which it implements
38864 to always fail with ENOSYS. Some functions are actually named
38865 something starting with __ and the normal name is an alias. */
38866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38869 char (*f) () = $ac_func;
38878 return f != $ac_func;
38883 rm -f conftest.
$ac_objext conftest
$ac_exeext
38884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38885 (eval $ac_link) 2>conftest.er1
38887 grep -v '^ *+' conftest.er1
>conftest.err
38889 cat conftest.err
>&5
38890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38891 (exit $ac_status); } &&
38892 { ac_try
='test -z "$ac_c_werror_flag"
38893 || test ! -s conftest.err'
38894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38895 (eval $ac_try) 2>&5
38897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38898 (exit $ac_status); }; } &&
38899 { ac_try
='test -s conftest$ac_exeext'
38900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38901 (eval $ac_try) 2>&5
38903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38904 (exit $ac_status); }; }; then
38905 eval "$as_ac_var=yes"
38907 echo "$as_me: failed program was:" >&5
38908 sed 's/^/| /' conftest.
$ac_ext >&5
38910 eval "$as_ac_var=no"
38912 rm -f conftest.err conftest.
$ac_objext \
38913 conftest
$ac_exeext conftest.
$ac_ext
38915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38917 if test `eval echo '${'$as_ac_var'}'` = yes; then
38918 cat >>confdefs.h
<<_ACEOF
38919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38926 for ac_func
in ceil
38928 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38929 echo "$as_me:$LINENO: checking for $ac_func" >&5
38930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38931 if eval "test \"\${$as_ac_var+set}\" = set"; then
38932 echo $ECHO_N "(cached) $ECHO_C" >&6
38934 cat >conftest.
$ac_ext <<_ACEOF
38937 cat confdefs.h
>>conftest.
$ac_ext
38938 cat >>conftest.
$ac_ext <<_ACEOF
38939 /* end confdefs.h. */
38940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38942 #define $ac_func innocuous_$ac_func
38944 /* System header to define __stub macros and hopefully few prototypes,
38945 which can conflict with char $ac_func (); below.
38946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38947 <limits.h> exists even on freestanding compilers. */
38950 # include <limits.h>
38952 # include <assert.h>
38957 /* Override any gcc2 internal prototype to avoid an error. */
38962 /* We use char because int might match the return type of a gcc2
38963 builtin and then its argument prototype would still apply. */
38965 /* The GNU C library defines this for functions which it implements
38966 to always fail with ENOSYS. Some functions are actually named
38967 something starting with __ and the normal name is an alias. */
38968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38971 char (*f) () = $ac_func;
38980 return f != $ac_func;
38985 rm -f conftest.
$ac_objext conftest
$ac_exeext
38986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38987 (eval $ac_link) 2>conftest.er1
38989 grep -v '^ *+' conftest.er1
>conftest.err
38991 cat conftest.err
>&5
38992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38993 (exit $ac_status); } &&
38994 { ac_try
='test -z "$ac_c_werror_flag"
38995 || test ! -s conftest.err'
38996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38997 (eval $ac_try) 2>&5
38999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39000 (exit $ac_status); }; } &&
39001 { ac_try
='test -s conftest$ac_exeext'
39002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39003 (eval $ac_try) 2>&5
39005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39006 (exit $ac_status); }; }; then
39007 eval "$as_ac_var=yes"
39009 echo "$as_me: failed program was:" >&5
39010 sed 's/^/| /' conftest.
$ac_ext >&5
39012 eval "$as_ac_var=no"
39014 rm -f conftest.err conftest.
$ac_objext \
39015 conftest
$ac_exeext conftest.
$ac_ext
39017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39019 if test `eval echo '${'$as_ac_var'}'` = yes; then
39020 cat >>confdefs.h
<<_ACEOF
39021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39027 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
39028 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
39029 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
39030 echo "$as_me:$LINENO: result: yes" >&5
39031 echo "${ECHO_T}yes" >&6
39033 echo "$as_me:$LINENO: result: no" >&5
39034 echo "${ECHO_T}no" >&6
39035 # not sure we should warn the user, crash, etc.
39039 if test "$wxUSE_GUI" = "yes"; then
39042 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
39043 drawing dynamic erase event exec font image \
39044 minimal propsize rotate shaped widgets render"
39046 if test "$wxUSE_MONOLITHIC" != "yes"; then
39047 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
39050 SAMPLES_SUBDIRS
="console"
39054 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
39055 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
39057 if test "$GXX" = yes ; then
39059 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
39062 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
39064 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
39065 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
39066 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
39068 if test "x$MWCC" = "xyes"; then
39070 CC
="$CC -cwd source -I-"
39071 CXX
="$CXX -cwd source -I-"
39076 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
39077 EXTRALIBS_XML
="$EXPAT_LINK"
39078 EXTRALIBS_HTML
="$MSPACK_LINK"
39079 EXTRALIBS_ODBC
="$ODBC_LINK"
39080 if test "$wxUSE_GUI" = "yes"; then
39081 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
39083 if test "$wxUSE_OPENGL" = "yes"; then
39084 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
39087 LDFLAGS
="$LDFLAGS $PROFILE"
39089 if test "$wxUSE_GTK" = 1; then
39092 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
39095 WXCONFIG_EXTRALIBS
="$LIBS"
39097 if test "$wxUSE_REGEX" = "builtin" ; then
39098 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
39100 if test "$wxUSE_EXPAT" = "builtin" ; then
39101 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
39103 if test "$wxUSE_ODBC" = "builtin" ; then
39104 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
39106 if test "$wxUSE_LIBTIFF" = "builtin" ; then
39107 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
39109 if test "$wxUSE_LIBJPEG" = "builtin" ; then
39110 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
39112 if test "$wxUSE_LIBPNG" = "builtin" ; then
39113 wxconfig_3rdparty
="$wxconfig_3rdparty png"
39115 if test "$wxUSE_ZLIB" = "builtin" ; then
39116 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
39118 if test "$wxUSE_ODBC" = "builtin" ; then
39119 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
39122 for i
in $wxconfig_3rdparty ; do
39123 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
39127 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
39141 if test $wxUSE_MONOLITHIC = "yes" ; then
39147 if test $wxUSE_PLUGINS = "yes" ; then
39153 if test $wxUSE_ODBC != "no" ; then
39159 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
39187 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
39198 TOOLKIT_USER
="GTK+"
39199 if test "$WXGTK20" = 1; then
39200 TOOLKIT_USER
="$TOOLKIT_USER 2"
39205 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
39212 if test "x$BAKEFILE_HOST" = "x"; then
39213 BAKEFILE_HOST
="${host}"
39216 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
39218 if test -n "$ac_tool_prefix"; then
39219 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
39220 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
39221 echo "$as_me:$LINENO: checking for $ac_word" >&5
39222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39223 if test "${ac_cv_prog_RANLIB+set}" = set; then
39224 echo $ECHO_N "(cached) $ECHO_C" >&6
39226 if test -n "$RANLIB"; then
39227 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
39229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39230 for as_dir
in $PATH
39233 test -z "$as_dir" && as_dir
=.
39234 for ac_exec_ext
in '' $ac_executable_extensions; do
39235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39236 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
39237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39245 RANLIB
=$ac_cv_prog_RANLIB
39246 if test -n "$RANLIB"; then
39247 echo "$as_me:$LINENO: result: $RANLIB" >&5
39248 echo "${ECHO_T}$RANLIB" >&6
39250 echo "$as_me:$LINENO: result: no" >&5
39251 echo "${ECHO_T}no" >&6
39255 if test -z "$ac_cv_prog_RANLIB"; then
39256 ac_ct_RANLIB
=$RANLIB
39257 # Extract the first word of "ranlib", so it can be a program name with args.
39258 set dummy ranlib
; ac_word
=$2
39259 echo "$as_me:$LINENO: checking for $ac_word" >&5
39260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39261 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
39262 echo $ECHO_N "(cached) $ECHO_C" >&6
39264 if test -n "$ac_ct_RANLIB"; then
39265 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
39267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39268 for as_dir
in $PATH
39271 test -z "$as_dir" && as_dir
=.
39272 for ac_exec_ext
in '' $ac_executable_extensions; do
39273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39274 ac_cv_prog_ac_ct_RANLIB
="ranlib"
39275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39281 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
39284 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
39285 if test -n "$ac_ct_RANLIB"; then
39286 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
39287 echo "${ECHO_T}$ac_ct_RANLIB" >&6
39289 echo "$as_me:$LINENO: result: no" >&5
39290 echo "${ECHO_T}no" >&6
39293 RANLIB
=$ac_ct_RANLIB
39295 RANLIB
="$ac_cv_prog_RANLIB"
39298 # Find a good install program. We prefer a C program (faster),
39299 # so one script is as good as another. But avoid the broken or
39300 # incompatible versions:
39301 # SysV /etc/install, /usr/sbin/install
39302 # SunOS /usr/etc/install
39303 # IRIX /sbin/install
39305 # AmigaOS /C/install, which installs bootblocks on floppy discs
39306 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
39307 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
39308 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
39309 # OS/2's system install, which has a completely different semantic
39310 # ./install, which can be erroneously created by make from ./install.sh.
39311 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
39312 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
39313 if test -z "$INSTALL"; then
39314 if test "${ac_cv_path_install+set}" = set; then
39315 echo $ECHO_N "(cached) $ECHO_C" >&6
39317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39318 for as_dir
in $PATH
39321 test -z "$as_dir" && as_dir
=.
39322 # Account for people who put trailing slashes in PATH elements.
39324 .
/ | .
// | /cC
/* | \
39325 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
39326 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
39329 # OSF1 and SCO ODT 3.0 have their own names for install.
39330 # Don't use installbsd from OSF since it installs stuff as root
39332 for ac_prog
in ginstall scoinst
install; do
39333 for ac_exec_ext
in '' $ac_executable_extensions; do
39334 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
39335 if test $ac_prog = install &&
39336 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
39337 # AIX install. It has an incompatible calling convention.
39339 elif test $ac_prog = install &&
39340 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
39341 # program-specific install script used by HP pwplus--don't use.
39344 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
39356 if test "${ac_cv_path_install+set}" = set; then
39357 INSTALL
=$ac_cv_path_install
39359 # As a last resort, use the slow shell script. We don't cache a
39360 # path for INSTALL within a source directory, because that will
39361 # break other packages using the cache if that directory is
39362 # removed, or if the path is relative.
39363 INSTALL
=$ac_install_sh
39366 echo "$as_me:$LINENO: result: $INSTALL" >&5
39367 echo "${ECHO_T}$INSTALL" >&6
39369 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
39370 # It thinks the first close brace ends the variable substitution.
39371 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
39373 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
39375 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
39377 echo "$as_me:$LINENO: checking whether ln -s works" >&5
39378 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
39380 if test "$LN_S" = "ln -s"; then
39381 echo "$as_me:$LINENO: result: yes" >&5
39382 echo "${ECHO_T}yes" >&6
39384 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
39385 echo "${ECHO_T}no, using $LN_S" >&6
39389 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39390 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39391 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
39392 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39393 echo $ECHO_N "(cached) $ECHO_C" >&6
39395 cat >conftest.
make <<\_ACEOF
39397 @
echo 'ac_maketemp="$(MAKE)"'
39399 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39400 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39401 if test -n "$ac_maketemp"; then
39402 eval ac_cv_prog_make_
${ac_make}_set
=yes
39404 eval ac_cv_prog_make_
${ac_make}_set
=no
39406 rm -f conftest.
make
39408 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39409 echo "$as_me:$LINENO: result: yes" >&5
39410 echo "${ECHO_T}yes" >&6
39413 echo "$as_me:$LINENO: result: no" >&5
39414 echo "${ECHO_T}no" >&6
39415 SET_MAKE
="MAKE=${MAKE-make}"
39420 if test -n "$ac_tool_prefix"; then
39421 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
39422 set dummy
${ac_tool_prefix}ar; ac_word
=$2
39423 echo "$as_me:$LINENO: checking for $ac_word" >&5
39424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39425 if test "${ac_cv_prog_AR+set}" = set; then
39426 echo $ECHO_N "(cached) $ECHO_C" >&6
39428 if test -n "$AR"; then
39429 ac_cv_prog_AR
="$AR" # Let the user override the test.
39431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39432 for as_dir
in $PATH
39435 test -z "$as_dir" && as_dir
=.
39436 for ac_exec_ext
in '' $ac_executable_extensions; do
39437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39438 ac_cv_prog_AR
="${ac_tool_prefix}ar"
39439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39448 if test -n "$AR"; then
39449 echo "$as_me:$LINENO: result: $AR" >&5
39450 echo "${ECHO_T}$AR" >&6
39452 echo "$as_me:$LINENO: result: no" >&5
39453 echo "${ECHO_T}no" >&6
39457 if test -z "$ac_cv_prog_AR"; then
39459 # Extract the first word of "ar", so it can be a program name with args.
39460 set dummy
ar; ac_word
=$2
39461 echo "$as_me:$LINENO: checking for $ac_word" >&5
39462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39463 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
39464 echo $ECHO_N "(cached) $ECHO_C" >&6
39466 if test -n "$ac_ct_AR"; then
39467 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
39469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39470 for as_dir
in $PATH
39473 test -z "$as_dir" && as_dir
=.
39474 for ac_exec_ext
in '' $ac_executable_extensions; do
39475 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39476 ac_cv_prog_ac_ct_AR
="ar"
39477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39483 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
39486 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
39487 if test -n "$ac_ct_AR"; then
39488 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
39489 echo "${ECHO_T}$ac_ct_AR" >&6
39491 echo "$as_me:$LINENO: result: no" >&5
39492 echo "${ECHO_T}no" >&6
39497 AR
="$ac_cv_prog_AR"
39500 if test -n "$ac_tool_prefix"; then
39501 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
39502 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
39503 echo "$as_me:$LINENO: checking for $ac_word" >&5
39504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39505 if test "${ac_cv_prog_STRIP+set}" = set; then
39506 echo $ECHO_N "(cached) $ECHO_C" >&6
39508 if test -n "$STRIP"; then
39509 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
39511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39512 for as_dir
in $PATH
39515 test -z "$as_dir" && as_dir
=.
39516 for ac_exec_ext
in '' $ac_executable_extensions; do
39517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39518 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
39519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39527 STRIP
=$ac_cv_prog_STRIP
39528 if test -n "$STRIP"; then
39529 echo "$as_me:$LINENO: result: $STRIP" >&5
39530 echo "${ECHO_T}$STRIP" >&6
39532 echo "$as_me:$LINENO: result: no" >&5
39533 echo "${ECHO_T}no" >&6
39537 if test -z "$ac_cv_prog_STRIP"; then
39539 # Extract the first word of "strip", so it can be a program name with args.
39540 set dummy strip
; ac_word
=$2
39541 echo "$as_me:$LINENO: checking for $ac_word" >&5
39542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39543 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
39544 echo $ECHO_N "(cached) $ECHO_C" >&6
39546 if test -n "$ac_ct_STRIP"; then
39547 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
39549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39550 for as_dir
in $PATH
39553 test -z "$as_dir" && as_dir
=.
39554 for ac_exec_ext
in '' $ac_executable_extensions; do
39555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39556 ac_cv_prog_ac_ct_STRIP
="strip"
39557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39563 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
39566 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
39567 if test -n "$ac_ct_STRIP"; then
39568 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
39569 echo "${ECHO_T}$ac_ct_STRIP" >&6
39571 echo "$as_me:$LINENO: result: no" >&5
39572 echo "${ECHO_T}no" >&6
39577 STRIP
="$ac_cv_prog_STRIP"
39580 if test -n "$ac_tool_prefix"; then
39581 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
39582 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
39583 echo "$as_me:$LINENO: checking for $ac_word" >&5
39584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39585 if test "${ac_cv_prog_NM+set}" = set; then
39586 echo $ECHO_N "(cached) $ECHO_C" >&6
39588 if test -n "$NM"; then
39589 ac_cv_prog_NM
="$NM" # Let the user override the test.
39591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39592 for as_dir
in $PATH
39595 test -z "$as_dir" && as_dir
=.
39596 for ac_exec_ext
in '' $ac_executable_extensions; do
39597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39598 ac_cv_prog_NM
="${ac_tool_prefix}nm"
39599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39608 if test -n "$NM"; then
39609 echo "$as_me:$LINENO: result: $NM" >&5
39610 echo "${ECHO_T}$NM" >&6
39612 echo "$as_me:$LINENO: result: no" >&5
39613 echo "${ECHO_T}no" >&6
39617 if test -z "$ac_cv_prog_NM"; then
39619 # Extract the first word of "nm", so it can be a program name with args.
39620 set dummy nm
; ac_word
=$2
39621 echo "$as_me:$LINENO: checking for $ac_word" >&5
39622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39623 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
39624 echo $ECHO_N "(cached) $ECHO_C" >&6
39626 if test -n "$ac_ct_NM"; then
39627 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
39629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39630 for as_dir
in $PATH
39633 test -z "$as_dir" && as_dir
=.
39634 for ac_exec_ext
in '' $ac_executable_extensions; do
39635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39636 ac_cv_prog_ac_ct_NM
="nm"
39637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39643 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
39646 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
39647 if test -n "$ac_ct_NM"; then
39648 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
39649 echo "${ECHO_T}$ac_ct_NM" >&6
39651 echo "$as_me:$LINENO: result: no" >&5
39652 echo "${ECHO_T}no" >&6
39657 NM
="$ac_cv_prog_NM"
39661 case ${BAKEFILE_HOST} in
39663 INSTALL_DIR
="mkdir -p"
39665 *) INSTALL_DIR
="$INSTALL -d"
39671 case ${BAKEFILE_HOST} in
39672 *-*-cygwin* | *-*-mingw32* )
39673 LDFLAGS_GUI
="-mwindows"
39679 echo "$as_me:$LINENO: checking if make is GNU make" >&5
39680 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
39681 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
39682 echo $ECHO_N "(cached) $ECHO_C" >&6
39685 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
39686 egrep -s GNU
> /dev
/null
); then
39687 bakefile_cv_prog_makeisgnu
="yes"
39689 bakefile_cv_prog_makeisgnu
="no"
39693 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
39694 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
39696 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
39713 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
39714 case "${BAKEFILE_HOST}" in
39715 *-*-cygwin* | *-*-mingw32* )
39721 *-pc-os2_emx | *-pc-os2-emx )
39724 powerpc
-*-darwin* )
39731 powerpc
-apple-macos* )
39740 case "$BAKEFILE_FORCE_PLATFORM" in
39761 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
39762 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
39763 { (exit 1); exit 1; }; }
39778 # Check whether --enable-omf or --disable-omf was given.
39779 if test "${enable_omf+set}" = set; then
39780 enableval
="$enable_omf"
39781 bk_os2_use_omf
="$enableval"
39784 case "${BAKEFILE_HOST}" in
39786 CFLAGS
="$CFLAGS -fno-common"
39787 CXXFLAGS
="$CXXFLAGS -fno-common"
39790 *-pc-os2_emx | *-pc-os2-emx )
39791 if test "x$bk_os2_use_omf" = "xyes" ; then
39794 LDFLAGS
="-Zomf $LDFLAGS"
39795 CFLAGS
="-Zomf $CFLAGS"
39796 CXXFLAGS
="-Zomf $CXXFLAGS"
39804 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
39810 SO_SUFFIX_MODULE
="so"
39815 DLLPREFIX_MODULE
=""
39818 case "${BAKEFILE_HOST}" in
39821 SO_SUFFIX_MODULE
="sl"
39825 SO_SUFFIX_MODULE
="a"
39827 *-*-cygwin* | *-*-mingw32* )
39829 SO_SUFFIX_MODULE
="dll"
39830 DLLIMP_SUFFIX
="dll.a"
39838 *-pc-os2_emx | *-pc-os2-emx )
39840 SO_SUFFIX_MODULE
="dll"
39841 DLLIMP_SUFFIX
=$OS2_LIBEXT
39845 LIBEXT
=".$OS2_LIBEXT"
39847 powerpc
-*-darwin* )
39849 SO_SUFFIX_MODULE
="bundle"
39853 if test "x$DLLIMP_SUFFIX" = "x" ; then
39854 DLLIMP_SUFFIX
="$SO_SUFFIX"
39868 if test "x$GCC" = "xyes"; then
39872 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
39873 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
39875 case "${BAKEFILE_HOST}" in
39877 if test "x$GCC" != "xyes"; then
39878 LDFLAGS
="$LDFLAGS -L/usr/lib"
39880 SHARED_LD_CC
="${CC} -b -o"
39881 SHARED_LD_CXX
="${CXX} -b -o"
39887 if test "x$GCC" != "xyes"; then
39888 echo "$as_me:$LINENO: checking for Intel compiler" >&5
39889 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
39890 if test "${bakefile_cv_prog_icc+set}" = set; then
39891 echo $ECHO_N "(cached) $ECHO_C" >&6
39894 cat >conftest.
$ac_ext <<_ACEOF
39897 cat confdefs.h
>>conftest.
$ac_ext
39898 cat >>conftest.
$ac_ext <<_ACEOF
39899 /* end confdefs.h. */
39905 #ifndef __INTEL_COMPILER
39913 rm -f conftest.
$ac_objext
39914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39915 (eval $ac_compile) 2>conftest.er1
39917 grep -v '^ *+' conftest.er1
>conftest.err
39919 cat conftest.err
>&5
39920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39921 (exit $ac_status); } &&
39922 { ac_try
='test -z "$ac_c_werror_flag"
39923 || test ! -s conftest.err'
39924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39925 (eval $ac_try) 2>&5
39927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39928 (exit $ac_status); }; } &&
39929 { ac_try
='test -s conftest.$ac_objext'
39930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39931 (eval $ac_try) 2>&5
39933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39934 (exit $ac_status); }; }; then
39935 bakefile_cv_prog_icc
=yes
39937 echo "$as_me: failed program was:" >&5
39938 sed 's/^/| /' conftest.
$ac_ext >&5
39940 bakefile_cv_prog_icc
=no
39943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39946 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
39947 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
39948 if test "$bakefile_cv_prog_icc" = "yes"; then
39955 if test "x$GCC" != xyes
; then
39956 SHARED_LD_CC
="${CC} -G -o"
39957 SHARED_LD_CXX
="${CXX} -G -o"
39964 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
39965 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
39966 if test "${wx_cv_gcc31+set}" = set; then
39967 echo $ECHO_N "(cached) $ECHO_C" >&6
39970 cat >conftest.
$ac_ext <<_ACEOF
39973 cat confdefs.h
>>conftest.
$ac_ext
39974 cat >>conftest.
$ac_ext <<_ACEOF
39975 /* end confdefs.h. */
39981 #if (__GNUC__ < 3) || \
39982 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39990 rm -f conftest.
$ac_objext
39991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39992 (eval $ac_compile) 2>conftest.er1
39994 grep -v '^ *+' conftest.er1
>conftest.err
39996 cat conftest.err
>&5
39997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39998 (exit $ac_status); } &&
39999 { ac_try
='test -z "$ac_c_werror_flag"
40000 || test ! -s conftest.err'
40001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40002 (eval $ac_try) 2>&5
40004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40005 (exit $ac_status); }; } &&
40006 { ac_try
='test -s conftest.$ac_objext'
40007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40008 (eval $ac_try) 2>&5
40010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40011 (exit $ac_status); }; }; then
40016 echo "$as_me: failed program was:" >&5
40017 sed 's/^/| /' conftest.
$ac_ext >&5
40024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40027 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
40028 echo "${ECHO_T}$wx_cv_gcc31" >&6
40029 if test "$wx_cv_gcc31" = "no"; then
40032 cat <<EOF >shared-ld-sh
40034 #-----------------------------------------------------------------------------
40035 #-- Name: distrib/mac/shared-ld-sh
40036 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
40037 #-- Author: Gilles Depeyrot
40038 #-- Copyright: (c) 2002 Gilles Depeyrot
40039 #-- Licence: any use permitted
40040 #-----------------------------------------------------------------------------
40045 linking_flag="-dynamiclib"
40047 while test ${D}# -gt 0; do
40054 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
40055 # collect these options and values
40056 args="${D}{args} ${D}1 ${D}2"
40060 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
40061 # collect these options
40062 args="${D}{args} ${D}1"
40065 -dynamiclib|-bundle)
40066 linking_flag="${D}1"
40070 echo "shared-ld: unhandled option '${D}1'"
40074 *.o | *.a | *.dylib)
40075 # collect object files
40076 objects="${D}{objects} ${D}1"
40080 echo "shared-ld: unhandled argument '${D}1'"
40089 # Link one module containing all the others
40091 if test ${D}{verbose} = 1; then
40092 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
40094 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
40096 if test ${D}{status} != 0; then
40101 # Link the shared library from the single module created
40103 if test ${D}{verbose} = 1; then
40104 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
40106 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
40108 if test ${D}{status} != 0; then
40113 # Remove intermediate module
40115 rm -f master.${D}${D}.o
40120 chmod +x shared
-ld-sh
40122 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
40123 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
40124 SHARED_LD_CXX
="$SHARED_LD_CC"
40125 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
40127 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
40128 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
40129 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
40130 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
40133 PIC_FLAG
="-dynamic -fPIC"
40137 if test "x$GCC" != "xyes"; then
40138 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
40139 set dummy makeC
++SharedLib
; ac_word
=$2
40140 echo "$as_me:$LINENO: checking for $ac_word" >&5
40141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40142 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
40143 echo $ECHO_N "(cached) $ECHO_C" >&6
40145 if test -n "$AIX_CXX_LD"; then
40146 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
40148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40149 for as_dir
in $PATH
40152 test -z "$as_dir" && as_dir
=.
40153 for ac_exec_ext
in '' $ac_executable_extensions; do
40154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40155 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
40156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40162 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
40165 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
40166 if test -n "$AIX_CXX_LD"; then
40167 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
40168 echo "${ECHO_T}$AIX_CXX_LD" >&6
40170 echo "$as_me:$LINENO: result: no" >&5
40171 echo "${ECHO_T}no" >&6
40174 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
40175 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
40180 SHARED_LD_CC
="${LD} -nostart -o"
40181 SHARED_LD_CXX
="${LD} -nostart -o"
40185 if test "x$GCC" != "xyes"; then
40190 *-*-cygwin* | *-*-mingw32* )
40192 SHARED_LD_CC
="\$(CC) -shared -o"
40193 SHARED_LD_CXX
="\$(CXX) -shared -o"
40196 *-pc-os2_emx | *-pc-os2-emx )
40197 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40198 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40202 cat <<EOF >dllar.sh
40205 # dllar - a tool to build both a .dll and an .a file
40206 # from a set of object (.o) files for EMX/OS2.
40208 # Written by Andrew Zabolotny, bit@freya.etu.ru
40209 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
40211 # This script will accept a set of files on the command line.
40212 # All the public symbols from the .o files will be exported into
40213 # a .DEF file, then linker will be run (through gcc) against them to
40214 # build a shared library consisting of all given .o files. All libraries
40215 # (.a) will be first decompressed into component .o files then act as
40216 # described above. You can optionally give a description (-d "description")
40217 # which will be put into .DLL. To see the list of accepted options (as well
40218 # as command-line format) simply run this program without options. The .DLL
40219 # is built to be imported by name (there is no guarantee that new versions
40220 # of the library you build will have same ordinals for same symbols).
40222 # dllar is free software; you can redistribute it and/or modify
40223 # it under the terms of the GNU General Public License as published by
40224 # the Free Software Foundation; either version 2, or (at your option)
40225 # any later version.
40227 # dllar is distributed in the hope that it will be useful,
40228 # but WITHOUT ANY WARRANTY; without even the implied warranty of
40229 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40230 # GNU General Public License for more details.
40232 # You should have received a copy of the GNU General Public License
40233 # along with dllar; see the file COPYING. If not, write to the Free
40234 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
40237 # To successfuly run this program you will need:
40238 # - Current drive should have LFN support (HPFS, ext2, network, etc)
40239 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
40241 # (used to build the .dll)
40243 # (used to create .def file from .o files)
40245 # (used to create .a file from .def file)
40246 # - GNU text utilites (cat, sort, uniq)
40247 # used to process emxexp output
40248 # - GNU file utilities (mv, rm)
40250 # - lxlite (optional, see flag below)
40251 # (used for general .dll cleanup)
40258 # basnam, variant of basename, which does _not_ remove the path, _iff_
40259 # second argument (suffix to remove) is given
40263 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
40266 echo ${D}1 | sed 's/'${D}2'${D}//'
40269 echo "error in basnam ${D}*"
40275 # Cleanup temporary files and output
40278 for i in ${D}inputFiles ; do
40281 rm -rf \`basnam ${D}i !\`
40288 # Kill result in case of failure as there is just to many stupid make/nmake
40289 # things out there which doesn't do this.
40290 if [ ${D}# -eq 0 ]; then
40291 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
40295 # Print usage and exit script with rc=1.
40297 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
40298 echo ' [-name-mangler-script script.sh]'
40299 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
40300 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
40301 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
40302 echo ' [*.o] [*.a]'
40303 echo '*> "output_file" should have no extension.'
40304 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
40305 echo ' The import library name is derived from this and is set to "name".a,'
40306 echo ' unless overridden by -import'
40307 echo '*> "importlib_name" should have no extension.'
40308 echo ' If it has the .o, or .a extension, it is automatically removed.'
40309 echo ' This name is used as the import library name and may be longer and'
40310 echo ' more descriptive than the DLL name which has to follow the old '
40311 echo ' 8.3 convention of FAT.'
40312 echo '*> "script.sh may be given to override the output_file name by a'
40313 echo ' different name. It is mainly useful if the regular make process'
40314 echo ' of some package does not take into account OS/2 restriction of'
40315 echo ' DLL name lengths. It takes the importlib name as input and is'
40316 echo ' supposed to procude a shorter name as output. The script should'
40317 echo ' expect to get importlib_name without extension and should produce'
40318 echo ' a (max.) 8 letter name without extension.'
40319 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
40320 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
40321 echo ' These flags will be put at the start of GCC command line.'
40322 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
40323 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
40324 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
40325 echo ' If the last character of a symbol is "*", all symbols beginning'
40326 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
40327 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
40328 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
40329 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
40330 echo ' C runtime DLLs.'
40331 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
40332 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
40333 echo ' unchanged to GCC at the end of command line.'
40334 echo '*> If you create a DLL from a library and you do not specify -o,'
40335 echo ' the basename for DLL and import library will be set to library name,'
40336 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
40337 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
40338 echo ' library will be renamed into gcc_s.a.'
40341 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
40342 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
40347 # Execute a command.
40348 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
40349 # @Uses Whatever CleanUp() uses.
40355 if [ ${D}rcCmd -ne 0 ]; then
40356 echo "command failed, exit code="${D}rcCmd
40371 CFLAGS="-s -Zcrtdll"
40373 EXPORT_BY_ORDINALS=0
40378 case ${D}curDirS in
40382 curDirS=${D}{curDirS}"/"
40385 # Parse commandline
40388 while [ ${D}1 ]; do
40391 EXPORT_BY_ORDINALS=1;
40401 -name-mangler-script)
40422 exclude_symbols=${D}{exclude_symbols}${D}1" "
40426 library_flags=${D}{library_flags}${D}1" "
40445 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40448 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
40449 if [ ${D}omfLinking -eq 1 ]; then
40450 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
40452 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
40457 if [ ${D}libsToLink -ne 0 ]; then
40458 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40460 for file in ${D}1 ; do
40461 if [ -f ${D}file ]; then
40462 inputFiles="${D}{inputFiles} ${D}file"
40466 if [ ${D}found -eq 0 ]; then
40467 echo "ERROR: No file(s) found: "${D}1
40474 done # iterate cmdline words
40477 if [ -z "${D}inputFiles" ]; then
40478 echo "dllar: no input files"
40482 # Now extract all .o files from .a files
40484 for file in ${D}inputFiles ; do
40495 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
40500 dirname=\`basnam ${D}file ${D}suffix\`"_%"
40502 if [ ${D}? -ne 0 ]; then
40503 echo "Failed to create subdirectory ./${D}dirname"
40507 # Append '!' to indicate archive
40508 newInputFiles="${D}newInputFiles ${D}{dirname}!"
40509 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
40512 for subfile in ${D}dirname/*.o* ; do
40513 if [ -f ${D}subfile ]; then
40515 if [ -s ${D}subfile ]; then
40516 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
40517 newInputFiles="${D}newInputFiles ${D}subfile"
40521 if [ ${D}found -eq 0 ]; then
40522 echo "WARNING: there are no files in archive \\'${D}file\\'"
40526 newInputFiles="${D}{newInputFiles} ${D}file"
40530 inputFiles="${D}newInputFiles"
40532 # Output filename(s).
40534 if [ -z ${D}outFile ]; then
40536 set outFile ${D}inputFiles; outFile=${D}2
40539 # If it is an archive, remove the '!' and the '_%' suffixes
40540 case ${D}outFile in
40542 outFile=\`basnam ${D}outFile _%!\`
40547 case ${D}outFile in
40549 outFile=\`basnam ${D}outFile .dll\`
40552 outFile=\`basnam ${D}outFile .DLL\`
40555 outFile=\`basnam ${D}outFile .o\`
40558 outFile=\`basnam ${D}outFile .obj\`
40561 outFile=\`basnam ${D}outFile .a\`
40564 outFile=\`basnam ${D}outFile .lib\`
40569 case ${D}outimpFile in
40571 outimpFile=\`basnam ${D}outimpFile .a\`
40574 outimpFile=\`basnam ${D}outimpFile .lib\`
40579 if [ -z ${D}outimpFile ]; then
40580 outimpFile=${D}outFile
40582 defFile="${D}{outFile}.def"
40583 arcFile="${D}{outimpFile}.a"
40584 arcFile2="${D}{outimpFile}.lib"
40586 #create ${D}dllFile as something matching 8.3 restrictions,
40587 if [ -z ${D}renameScript ] ; then
40588 dllFile="${D}outFile"
40590 dllFile=\`${D}renameScript ${D}outimpFile\`
40593 if [ ${D}do_backup -ne 0 ] ; then
40594 if [ -f ${D}arcFile ] ; then
40595 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
40597 if [ -f ${D}arcFile2 ] ; then
40598 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
40602 # Extract public symbols from all the object files.
40603 tmpdefFile=${D}{defFile}_%
40604 rm -f ${D}tmpdefFile
40605 for file in ${D}inputFiles ; do
40610 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
40615 # Create the def file.
40617 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
40618 dllFile="${D}{dllFile}.dll"
40619 if [ ! -z ${D}description ]; then
40620 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
40622 echo "EXPORTS" >> ${D}defFile
40624 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
40625 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
40627 # Checks if the export is ok or not.
40628 for word in ${D}exclude_symbols; do
40629 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
40630 mv ${D}{tmpdefFile}% ${D}tmpdefFile
40634 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
40635 sed "=" < ${D}tmpdefFile | \\
40639 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
40641 ' > ${D}{tmpdefFile}%
40642 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
40644 rm -f ${D}{tmpdefFile}%
40646 cat ${D}tmpdefFile >> ${D}defFile
40647 rm -f ${D}tmpdefFile
40649 # Do linking, create implib, and apply lxlite.
40651 for file in ${D}inputFiles ; do
40656 gccCmdl="${D}gccCmdl ${D}file"
40660 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
40661 touch "${D}{outFile}.dll"
40663 doCommand "emximp -o ${D}arcFile ${D}defFile"
40664 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
40666 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
40669 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
40671 doCommand "emxomf -s -l ${D}arcFile"
40681 powerpc
-apple-macos* | \
40682 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
40690 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
40691 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
40692 { (exit 1); exit 1; }; }
40695 if test "x$PIC_FLAG" != "x" ; then
40696 PIC_FLAG
="$PIC_FLAG -DPIC"
40699 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
40700 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
40702 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
40703 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
40720 case "${BAKEFILE_HOST}" in
40721 *-*-linux* | *-*-freebsd* )
40722 SONAME_FLAG
="-Wl,-soname,"
40750 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
40751 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
40754 if test "x$GCC" = "xyes"; then
40757 case "${BAKEFILE_HOST}" in
40758 powerpc
-*-darwin* )
40759 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
40762 DEPSFLAG_GCC
="-MMD"
40765 echo "$as_me:$LINENO: result: gcc" >&5
40766 echo "${ECHO_T}gcc" >&6
40767 elif test "x$MWCC" = "xyes"; then
40770 DEPSFLAG_GCC
="-MMD"
40771 echo "$as_me:$LINENO: result: mwcc" >&5
40772 echo "${ECHO_T}mwcc" >&6
40774 echo "$as_me:$LINENO: result: none" >&5
40775 echo "${ECHO_T}none" >&6
40778 if test $DEPS_TRACKING = 1 ; then
40784 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40785 # script. It is used to track C/C++ files dependencies in portable way.
40787 # Permission is given to use this file in any way.
40789 DEPSMODE=${DEPSMODE}
40791 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
40793 mkdir -p ${D}DEPSDIR
40795 if test ${D}DEPSMODE = gcc ; then
40796 ${D}* ${D}{DEPSFLAG_GCC}
40798 if test ${D}{status} != 0 ; then
40801 # move created file to the location we want it in:
40802 while test ${D}# -gt 0; do
40816 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
40817 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
40818 if test -f ${D}depfile ; then
40819 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40822 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
40823 if test -f ${D}depfile ; then
40824 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40844 case ${BAKEFILE_HOST} in
40845 *-*-cygwin* | *-*-mingw32* )
40846 if test "$build" != "$host" ; then
40847 RESCOMP
=$host_alias-windres
40849 # Extract the first word of "windres", so it can be a program name with args.
40850 set dummy windres
; ac_word
=$2
40851 echo "$as_me:$LINENO: checking for $ac_word" >&5
40852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40853 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40854 echo $ECHO_N "(cached) $ECHO_C" >&6
40856 if test -n "$RESCOMP"; then
40857 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
40859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40860 for as_dir
in $PATH
40863 test -z "$as_dir" && as_dir
=.
40864 for ac_exec_ext
in '' $ac_executable_extensions; do
40865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40866 ac_cv_prog_RESCOMP
="windres"
40867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40873 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
40876 RESCOMP
=$ac_cv_prog_RESCOMP
40877 if test -n "$RESCOMP"; then
40878 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40879 echo "${ECHO_T}$RESCOMP" >&6
40881 echo "$as_me:$LINENO: result: no" >&5
40882 echo "${ECHO_T}no" >&6
40888 *-*-darwin* | powerpc
-apple-macos* )
40889 # Extract the first word of "Rez", so it can be a program name with args.
40890 set dummy Rez
; ac_word
=$2
40891 echo "$as_me:$LINENO: checking for $ac_word" >&5
40892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40893 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40894 echo $ECHO_N "(cached) $ECHO_C" >&6
40896 if test -n "$RESCOMP"; then
40897 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
40899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40900 for as_dir
in $PATH
40903 test -z "$as_dir" && as_dir
=.
40904 for ac_exec_ext
in '' $ac_executable_extensions; do
40905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40906 ac_cv_prog_RESCOMP
="Rez"
40907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40913 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
40916 RESCOMP
=$ac_cv_prog_RESCOMP
40917 if test -n "$RESCOMP"; then
40918 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40919 echo "${ECHO_T}$RESCOMP" >&6
40921 echo "$as_me:$LINENO: result: no" >&5
40922 echo "${ECHO_T}no" >&6
40925 # Extract the first word of "SetFile", so it can be a program name with args.
40926 set dummy SetFile
; ac_word
=$2
40927 echo "$as_me:$LINENO: checking for $ac_word" >&5
40928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40929 if test "${ac_cv_prog_SETFILE+set}" = set; then
40930 echo $ECHO_N "(cached) $ECHO_C" >&6
40932 if test -n "$SETFILE"; then
40933 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
40935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40936 for as_dir
in $PATH
40939 test -z "$as_dir" && as_dir
=.
40940 for ac_exec_ext
in '' $ac_executable_extensions; do
40941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40942 ac_cv_prog_SETFILE
="SetFile"
40943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40949 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
40952 SETFILE
=$ac_cv_prog_SETFILE
40953 if test -n "$SETFILE"; then
40954 echo "$as_me:$LINENO: result: $SETFILE" >&5
40955 echo "${ECHO_T}$SETFILE" >&6
40957 echo "$as_me:$LINENO: result: no" >&5
40958 echo "${ECHO_T}no" >&6
40968 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.5"
40971 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.5"
40975 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40976 if test "${enable_precomp_headers+set}" = set; then
40977 enableval
="$enable_precomp_headers"
40978 bk_use_pch
="$enableval"
40983 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40984 if test "x$GCC" = "xyes"; then
40985 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40986 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40987 cat >conftest.
$ac_ext <<_ACEOF
40990 cat confdefs.h
>>conftest.
$ac_ext
40991 cat >>conftest.
$ac_ext <<_ACEOF
40992 /* end confdefs.h. */
40998 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40999 #error "no pch support"
41002 #error "no pch support"
41004 #if (__GNUC__ == 3) && \
41005 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
41006 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
41007 #error "no pch support"
41014 rm -f conftest.
$ac_objext
41015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41016 (eval $ac_compile) 2>conftest.er1
41018 grep -v '^ *+' conftest.er1
>conftest.err
41020 cat conftest.err
>&5
41021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41022 (exit $ac_status); } &&
41023 { ac_try
='test -z "$ac_c_werror_flag"
41024 || test ! -s conftest.err'
41025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41026 (eval $ac_try) 2>&5
41028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41029 (exit $ac_status); }; } &&
41030 { ac_try
='test -s conftest.$ac_objext'
41031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41032 (eval $ac_try) 2>&5
41034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41035 (exit $ac_status); }; }; then
41037 echo "$as_me:$LINENO: result: yes" >&5
41038 echo "${ECHO_T}yes" >&6
41042 echo "$as_me: failed program was:" >&5
41043 sed 's/^/| /' conftest.
$ac_ext >&5
41046 echo "$as_me:$LINENO: result: no" >&5
41047 echo "${ECHO_T}no" >&6
41050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41051 if test $GCC_PCH = 1 ; then
41054 cat <<EOF >bk-make-pch
41057 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
41058 # script. It is used to generated precompiled headers.
41060 # Permission is given to use this file in any way.
41069 while test ${D}{#} -gt 0; do
41072 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
41073 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
41074 headerfile="${D}{incdir}/${D}{header}"
41078 compiler="${D}{compiler} ${D}{1}"
41082 if test "x${D}{headerfile}" = "x" ; then
41083 echo "error: can't find header ${D}{header} in include paths" >2
41085 if test -f ${D}{outfile} ; then
41086 rm -f ${D}{outfile}
41088 mkdir -p \`dirname ${D}{outfile}\`
41090 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
41092 # can do this because gcc is >= 3.4:
41093 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
41098 chmod +x bk
-make-pch
41105 COND_BUILD_DEBUG
="#"
41106 if test "x$BUILD" = "xdebug" ; then
41107 COND_BUILD_DEBUG
=""
41110 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
41111 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
41112 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
41115 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
41116 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
41117 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
41120 COND_BUILD_DEBUG_UNICODE_0
="#"
41121 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
41122 COND_BUILD_DEBUG_UNICODE_0
=""
41125 COND_BUILD_DEBUG_UNICODE_1
="#"
41126 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
41127 COND_BUILD_DEBUG_UNICODE_1
=""
41130 COND_BUILD_RELEASE
="#"
41131 if test "x$BUILD" = "xrelease" ; then
41132 COND_BUILD_RELEASE
=""
41135 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
41136 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
41137 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
41140 COND_BUILD_RELEASE_UNICODE_0
="#"
41141 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
41142 COND_BUILD_RELEASE_UNICODE_0
=""
41145 COND_BUILD_RELEASE_UNICODE_1
="#"
41146 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
41147 COND_BUILD_RELEASE_UNICODE_1
=""
41150 COND_DEBUG_FLAG_1
="#"
41151 if test "x$DEBUG_FLAG" = "x1" ; then
41152 COND_DEBUG_FLAG_1
=""
41155 COND_DEBUG_INFO_0
="#"
41156 if test "x$DEBUG_INFO" = "x0" ; then
41157 COND_DEBUG_INFO_0
=""
41160 COND_DEBUG_INFO_1
="#"
41161 if test "x$DEBUG_INFO" = "x1" ; then
41162 COND_DEBUG_INFO_1
=""
41165 COND_DEPS_TRACKING_0
="#"
41166 if test "x$DEPS_TRACKING" = "x0" ; then
41167 COND_DEPS_TRACKING_0
=""
41170 COND_DEPS_TRACKING_1
="#"
41171 if test "x$DEPS_TRACKING" = "x1" ; then
41172 COND_DEPS_TRACKING_1
=""
41176 if test "x$GCC_PCH" = "x1" ; then
41180 COND_MONOLITHIC_0
="#"
41181 if test "x$MONOLITHIC" = "x0" ; then
41182 COND_MONOLITHIC_0
=""
41185 COND_MONOLITHIC_0_SHARED_0
="#"
41186 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
41187 COND_MONOLITHIC_0_SHARED_0
=""
41190 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
41191 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
41192 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
41195 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
41196 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
41197 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
41200 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
41201 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41202 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
41205 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
41206 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
41207 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
41210 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
41211 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
41212 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
41215 COND_MONOLITHIC_0_SHARED_1
="#"
41216 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
41217 COND_MONOLITHIC_0_SHARED_1
=""
41220 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
41221 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
41222 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
41225 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
41226 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
41227 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
41230 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
41231 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41232 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
41235 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
41236 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
41237 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
41240 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
41241 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
41242 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
41245 COND_MONOLITHIC_0_USE_ODBC_1
="#"
41246 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
41247 COND_MONOLITHIC_0_USE_ODBC_1
=""
41250 COND_MONOLITHIC_1
="#"
41251 if test "x$MONOLITHIC" = "x1" ; then
41252 COND_MONOLITHIC_1
=""
41255 COND_MONOLITHIC_1_SHARED_0
="#"
41256 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
41257 COND_MONOLITHIC_1_SHARED_0
=""
41260 COND_MONOLITHIC_1_SHARED_1
="#"
41261 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
41262 COND_MONOLITHIC_1_SHARED_1
=""
41265 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
41266 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
41267 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
41270 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
41271 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
41272 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
41275 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
41276 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
41277 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
41280 COND_PLATFORM_MACOSX_1
="#"
41281 if test "x$PLATFORM_MACOSX" = "x1" ; then
41282 COND_PLATFORM_MACOSX_1
=""
41285 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
41286 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
41287 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
41290 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
41291 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
41292 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
41295 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
41296 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
41297 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
41300 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
41301 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
41302 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
41305 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
41306 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41307 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
41310 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
41311 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41312 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
41315 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
41316 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
41317 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
41320 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
41321 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
41322 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
41325 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
41326 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
41327 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
41330 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
41331 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41332 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
41335 COND_PLATFORM_MACOS_1
="#"
41336 if test "x$PLATFORM_MACOS" = "x1" ; then
41337 COND_PLATFORM_MACOS_1
=""
41340 COND_PLATFORM_MAC_1
="#"
41341 if test "x$PLATFORM_MAC" = "x1" ; then
41342 COND_PLATFORM_MAC_1
=""
41345 COND_PLATFORM_OS2_1
="#"
41346 if test "x$PLATFORM_OS2" = "x1" ; then
41347 COND_PLATFORM_OS2_1
=""
41350 COND_PLATFORM_UNIX_0
="#"
41351 if test "x$PLATFORM_UNIX" = "x0" ; then
41352 COND_PLATFORM_UNIX_0
=""
41355 COND_PLATFORM_UNIX_1
="#"
41356 if test "x$PLATFORM_UNIX" = "x1" ; then
41357 COND_PLATFORM_UNIX_1
=""
41360 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
41361 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
41362 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
41365 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
41366 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
41367 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
41370 COND_PLATFORM_WIN32_0
="#"
41371 if test "x$PLATFORM_WIN32" = "x0" ; then
41372 COND_PLATFORM_WIN32_0
=""
41375 COND_PLATFORM_WIN32_1
="#"
41376 if test "x$PLATFORM_WIN32" = "x1" ; then
41377 COND_PLATFORM_WIN32_1
=""
41381 if test "x$SHARED" = "x0" ; then
41385 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
41386 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
41387 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
41390 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
41391 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41392 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
41395 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
41396 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41397 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
41400 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
41401 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41402 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
41405 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41406 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41407 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41410 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41411 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41412 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41415 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41416 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41417 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41420 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
41421 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41422 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
41425 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
41426 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41427 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
41430 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
41431 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41432 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
41435 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
41436 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41437 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
41441 if test "x$SHARED" = "x1" ; then
41445 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
41446 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41447 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
41451 if test "x$TOOLKIT" = "x" ; then
41455 COND_TOOLKIT_COCOA
="#"
41456 if test "x$TOOLKIT" = "xCOCOA" ; then
41457 COND_TOOLKIT_COCOA
=""
41460 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
41461 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
41462 COND_TOOLKIT_COCOA_USE_GUI_1
=""
41465 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
41466 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41467 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
41470 COND_TOOLKIT_GTK
="#"
41471 if test "x$TOOLKIT" = "xGTK" ; then
41472 COND_TOOLKIT_GTK
=""
41475 COND_TOOLKIT_GTK_USE_GUI_1
="#"
41476 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41477 COND_TOOLKIT_GTK_USE_GUI_1
=""
41480 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
41481 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41482 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
41485 COND_TOOLKIT_MAC
="#"
41486 if test "x$TOOLKIT" = "xMAC" ; then
41487 COND_TOOLKIT_MAC
=""
41490 COND_TOOLKIT_MAC_USE_GUI_1
="#"
41491 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41492 COND_TOOLKIT_MAC_USE_GUI_1
=""
41495 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
41496 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41497 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
41500 COND_TOOLKIT_MGL
="#"
41501 if test "x$TOOLKIT" = "xMGL" ; then
41502 COND_TOOLKIT_MGL
=""
41505 COND_TOOLKIT_MGL_USE_GUI_1
="#"
41506 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41507 COND_TOOLKIT_MGL_USE_GUI_1
=""
41510 COND_TOOLKIT_MOTIF
="#"
41511 if test "x$TOOLKIT" = "xMOTIF" ; then
41512 COND_TOOLKIT_MOTIF
=""
41515 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
41516 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41517 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
41520 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
41521 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41522 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
41525 COND_TOOLKIT_MSW
="#"
41526 if test "x$TOOLKIT" = "xMSW" ; then
41527 COND_TOOLKIT_MSW
=""
41530 COND_TOOLKIT_MSW_USE_GUI_1
="#"
41531 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41532 COND_TOOLKIT_MSW_USE_GUI_1
=""
41535 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
41536 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41537 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
41540 COND_TOOLKIT_PM
="#"
41541 if test "x$TOOLKIT" = "xPM" ; then
41545 COND_TOOLKIT_PM_USE_GUI_1
="#"
41546 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41547 COND_TOOLKIT_PM_USE_GUI_1
=""
41550 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
41551 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41552 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
41555 COND_TOOLKIT_WINCE
="#"
41556 if test "x$TOOLKIT" = "xWINCE" ; then
41557 COND_TOOLKIT_WINCE
=""
41560 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
41561 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41562 COND_TOOLKIT_WINCE_USE_GUI_1
=""
41565 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
41566 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41567 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
41570 COND_TOOLKIT_X11
="#"
41571 if test "x$TOOLKIT" = "xX11" ; then
41572 COND_TOOLKIT_X11
=""
41575 COND_TOOLKIT_X11_USE_GUI_1
="#"
41576 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41577 COND_TOOLKIT_X11_USE_GUI_1
=""
41581 if test "x$UNICODE" = "x1" ; then
41585 COND_USE_EXCEPTIONS_0
="#"
41586 if test "x$USE_EXCEPTIONS" = "x0" ; then
41587 COND_USE_EXCEPTIONS_0
=""
41590 COND_USE_EXCEPTIONS_1
="#"
41591 if test "x$USE_EXCEPTIONS" = "x1" ; then
41592 COND_USE_EXCEPTIONS_1
=""
41596 if test "x$USE_GUI" = "x0" ; then
41601 if test "x$USE_GUI" = "x1" ; then
41605 COND_USE_GUI_1_WXUNIV_0
="#"
41606 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41607 COND_USE_GUI_1_WXUNIV_0
=""
41610 COND_USE_GUI_1_WXUNIV_1
="#"
41611 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41612 COND_USE_GUI_1_WXUNIV_1
=""
41615 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41616 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41617 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41620 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41621 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41622 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41625 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41626 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41627 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41630 COND_USE_ODBC_1
="#"
41631 if test "x$USE_ODBC" = "x1" ; then
41635 COND_USE_OPENGL_1
="#"
41636 if test "x$USE_OPENGL" = "x1" ; then
41637 COND_USE_OPENGL_1
=""
41640 COND_USE_PLUGINS_0
="#"
41641 if test "x$USE_PLUGINS" = "x0" ; then
41642 COND_USE_PLUGINS_0
=""
41645 COND_USE_SOSYMLINKS_1
="#"
41646 if test "x$USE_SOSYMLINKS" = "x1" ; then
41647 COND_USE_SOSYMLINKS_1
=""
41650 COND_USE_SOVERLINUX_1
="#"
41651 if test "x$USE_SOVERLINUX" = "x1" ; then
41652 COND_USE_SOVERLINUX_1
=""
41655 COND_USE_SOVERSION_0
="#"
41656 if test "x$USE_SOVERSION" = "x0" ; then
41657 COND_USE_SOVERSION_0
=""
41660 COND_USE_SOVERSOLARIS_1
="#"
41661 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41662 COND_USE_SOVERSOLARIS_1
=""
41666 if test "x$USE_XRC" = "x1" ; then
41670 COND_WITH_PLUGIN_SDL_1
="#"
41671 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41672 COND_WITH_PLUGIN_SDL_1
=""
41676 if test "x$WXUNIV" = "x0" ; then
41681 if test "x$WXUNIV" = "x1" ; then
41685 COND_WXUSE_EXPAT_BUILTIN
="#"
41686 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41687 COND_WXUSE_EXPAT_BUILTIN
=""
41690 COND_WXUSE_LIBJPEG_BUILTIN
="#"
41691 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41692 COND_WXUSE_LIBJPEG_BUILTIN
=""
41695 COND_WXUSE_LIBPNG_BUILTIN
="#"
41696 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41697 COND_WXUSE_LIBPNG_BUILTIN
=""
41700 COND_WXUSE_LIBTIFF_BUILTIN
="#"
41701 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41702 COND_WXUSE_LIBTIFF_BUILTIN
=""
41705 COND_WXUSE_ODBC_BUILTIN
="#"
41706 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41707 COND_WXUSE_ODBC_BUILTIN
=""
41710 COND_WXUSE_REGEX_BUILTIN
="#"
41711 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41712 COND_WXUSE_REGEX_BUILTIN
=""
41715 COND_WXUSE_ZLIB_BUILTIN
="#"
41716 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41717 COND_WXUSE_ZLIB_BUILTIN
=""
41722 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41723 { { 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
41724 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;}
41725 { (exit 1); exit 1; }; }
41729 if test "$wxUSE_SHARED" = "yes"; then
41731 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
41732 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
41735 *-pc-os2_emx | *-pc-os2-emx )
41736 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41737 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41738 cp -p ${srcdir}/src
/os
2/dllnames.sh .
41739 cp -p ${srcdir}/src
/os
2/dllar.sh .
41744 EXE_LINKER
="$CXX -o"
41748 GCC_PRAGMA_FLAGS
=""
41750 if test $GCC_PCH = 1 ; then
41751 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41752 PCH_FLAGS
="-DWX_PRECOMP"
41755 powerpc
-*-darwin* )
41756 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41759 if test "$wxUSE_STL" = "yes" -o \
41760 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41761 "$wxUSE_NO_RTTI" != "yes"; then
41762 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41763 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41764 cat >conftest.
$ac_ext <<_ACEOF
41767 cat confdefs.h
>>conftest.
$ac_ext
41768 cat >>conftest.
$ac_ext <<_ACEOF
41769 /* end confdefs.h. */
41774 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41775 #error "Not GCC 3.2 or greater"
41782 rm -f conftest.
$ac_objext
41783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41784 (eval $ac_compile) 2>conftest.er1
41786 grep -v '^ *+' conftest.er1
>conftest.err
41788 cat conftest.err
>&5
41789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41790 (exit $ac_status); } &&
41791 { ac_try
='test -z "$ac_c_werror_flag"
41792 || test ! -s conftest.err'
41793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41794 (eval $ac_try) 2>&5
41796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41797 (exit $ac_status); }; } &&
41798 { ac_try
='test -s conftest.$ac_objext'
41799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41800 (eval $ac_try) 2>&5
41802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41803 (exit $ac_status); }; }; then
41804 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41805 echo "$as_me:$LINENO: result: yes" >&5
41806 echo "${ECHO_T}yes" >&6
41808 echo "$as_me: failed program was:" >&5
41809 sed 's/^/| /' conftest.
$ac_ext >&5
41811 echo "$as_me:$LINENO: result: no" >&5
41812 echo "${ECHO_T}no" >&6
41814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41817 *-pc-os2_emx | *-pc-os2-emx )
41818 if test "$wxUSE_STL" = "yes"; then
41819 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
41820 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41821 cat >conftest.
$ac_ext <<_ACEOF
41824 cat confdefs.h
>>conftest.
$ac_ext
41825 cat >>conftest.
$ac_ext <<_ACEOF
41826 /* end confdefs.h. */
41831 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41832 #error "Not GCC 3.2 or greater"
41839 rm -f conftest.
$ac_objext
41840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41841 (eval $ac_compile) 2>conftest.er1
41843 grep -v '^ *+' conftest.er1
>conftest.err
41845 cat conftest.err
>&5
41846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41847 (exit $ac_status); } &&
41848 { ac_try
='test -z "$ac_c_werror_flag"
41849 || test ! -s conftest.err'
41850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41851 (eval $ac_try) 2>&5
41853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41854 (exit $ac_status); }; } &&
41855 { ac_try
='test -s conftest.$ac_objext'
41856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41857 (eval $ac_try) 2>&5
41859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41860 (exit $ac_status); }; }; then
41861 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41862 echo "$as_me:$LINENO: result: yes" >&5
41863 echo "${ECHO_T}yes" >&6
41865 echo "$as_me: failed program was:" >&5
41866 sed 's/^/| /' conftest.
$ac_ext >&5
41868 echo "$as_me:$LINENO: result: no" >&5
41869 echo "${ECHO_T}no" >&6
41871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41876 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
41879 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41943 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41944 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41945 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41946 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41947 echo $ECHO_N "(cached) $ECHO_C" >&6
41949 cat >conftest.
make <<\_ACEOF
41951 @
echo 'ac_maketemp="$(MAKE)"'
41953 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41954 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41955 if test -n "$ac_maketemp"; then
41956 eval ac_cv_prog_make_
${ac_make}_set
=yes
41958 eval ac_cv_prog_make_
${ac_make}_set
=no
41960 rm -f conftest.
make
41962 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41963 echo "$as_me:$LINENO: result: yes" >&5
41964 echo "${ECHO_T}yes" >&6
41967 echo "$as_me:$LINENO: result: no" >&5
41968 echo "${ECHO_T}no" >&6
41969 SET_MAKE
="MAKE=${MAKE-make}"
41974 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41977 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41980 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41983 ac_config_files
="$ac_config_files version-script Makefile"
41986 ac_config_commands
="$ac_config_commands wx-config
41992 if test "$wxUSE_GUI" = "yes"; then
41993 SUBDIRS
="samples demos utils contrib"
41994 else SUBDIRS
="samples utils"
41999 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
42000 if test "${with_cppunit_prefix+set}" = set; then
42001 withval
="$with_cppunit_prefix"
42002 cppunit_config_prefix
="$withval"
42004 cppunit_config_prefix
=""
42007 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
42008 if test "${with_cppunit_exec_prefix+set}" = set; then
42009 withval
="$with_cppunit_exec_prefix"
42010 cppunit_config_exec_prefix
="$withval"
42012 cppunit_config_exec_prefix
=""
42015 if test x
$cppunit_config_exec_prefix != x
; then
42016 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
42017 if test x
${CPPUNIT_CONFIG+set} != xset
; then
42018 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
42021 if test x
$cppunit_config_prefix != x
; then
42022 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
42023 if test x
${CPPUNIT_CONFIG+set} != xset
; then
42024 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
42028 # Extract the first word of "cppunit-config", so it can be a program name with args.
42029 set dummy cppunit
-config; ac_word
=$2
42030 echo "$as_me:$LINENO: checking for $ac_word" >&5
42031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42032 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
42033 echo $ECHO_N "(cached) $ECHO_C" >&6
42035 case $CPPUNIT_CONFIG in
42037 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
42040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42041 for as_dir
in $PATH
42044 test -z "$as_dir" && as_dir
=.
42045 for ac_exec_ext
in '' $ac_executable_extensions; do
42046 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42047 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42054 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
42058 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
42060 if test -n "$CPPUNIT_CONFIG"; then
42061 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
42062 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
42064 echo "$as_me:$LINENO: result: no" >&5
42065 echo "${ECHO_T}no" >&6
42068 cppunit_version_min
=1.8.0
42070 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
42071 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
42073 if test "$CPPUNIT_CONFIG" = "no" ; then
42076 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
42077 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
42078 cppunit_version
=`$CPPUNIT_CONFIG --version`
42080 cppunit_major_version
=`echo $cppunit_version | \
42081 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42082 cppunit_minor_version
=`echo $cppunit_version | \
42083 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42084 cppunit_micro_version
=`echo $cppunit_version | \
42085 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42087 cppunit_major_min
=`echo $cppunit_version_min | \
42088 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42089 cppunit_minor_min
=`echo $cppunit_version_min | \
42090 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42091 cppunit_micro_min
=`echo $cppunit_version_min | \
42092 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42094 cppunit_version_proper
=`expr \
42095 $cppunit_major_version \> $cppunit_major_min \| \
42096 $cppunit_major_version \= $cppunit_major_min \& \
42097 $cppunit_minor_version \> $cppunit_minor_min \| \
42098 $cppunit_major_version \= $cppunit_major_min \& \
42099 $cppunit_minor_version \= $cppunit_minor_min \& \
42100 $cppunit_micro_version \>= $cppunit_micro_min `
42102 if test "$cppunit_version_proper" = "1" ; then
42103 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
42104 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
42106 echo "$as_me:$LINENO: result: no" >&5
42107 echo "${ECHO_T}no" >&6
42112 if test "x$no_cppunit" = x
; then
42113 SUBDIRS
="$SUBDIRS tests"
42124 for subdir
in `echo $SUBDIRS`; do
42125 if test -d ${srcdir}/${subdir} ; then
42126 if test "$wxUSE_GUI" = "yes"; then
42127 if test ${subdir} = "samples"; then
42128 makefiles
="samples/Makefile.in $makefiles"
42129 for sample
in `echo $SAMPLES_SUBDIRS`; do
42130 if test -d $srcdir/samples
/$sample; then
42131 makefiles
="samples/$sample/Makefile.in $makefiles"
42134 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
42136 else if test ${subdir} = "samples"; then
42137 makefiles
="samples/Makefile.in samples/console/Makefile.in"
42138 elif test ${subdir} = "utils"; then
42140 for util
in HelpGen tex2rtf
; do
42141 if test -d $srcdir/utils
/$util ; then
42142 makefiles
="utils/$util/Makefile.in \
42143 utils/$util/src/Makefile.in \
42147 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
42151 for mkin
in $makefiles ; do
42152 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
42153 ac_config_files
="$ac_config_files $mk"
42160 cat >confcache
<<\_ACEOF
42161 # This file is a shell script that caches the results of configure
42162 # tests run on this system so they can be shared between configure
42163 # scripts and configure runs, see configure's option --config-cache.
42164 # It is not useful on other systems. If it contains results you don't
42165 # want to keep, you may remove or edit it.
42167 # config.status only pays attention to the cache file if you give it
42168 # the --recheck option to rerun configure.
42170 # `ac_cv_env_foo' variables (set or unset) will be overridden when
42171 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42172 # following values.
42176 # The following way of writing the cache mishandles newlines in values,
42177 # but we know of no workaround that is simple, portable, and efficient.
42178 # So, don't put newlines in cache variables' values.
42179 # Ultrix sh set writes to stderr and can't be redirected directly,
42180 # and sets the high bit in the cache file unless we assign to the vars.
42183 case `(ac_space=' '; set | grep ac_space) 2>&1` in
42185 # `set' does not quote correctly, so add quotes (double-quote
42186 # substitution turns \\\\ into \\, and sed turns \\ into \).
42189 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42192 # `set' quotes correctly as required by POSIX, so do not add quotes.
42194 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
42201 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42203 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42205 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
42206 if test -w $cache_file; then
42207 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
42208 cat confcache
>$cache_file
42210 echo "not updating unwritable cache $cache_file"
42215 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
42216 # Let make expand exec_prefix.
42217 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
42219 # VPATH may cause trouble with some makes, so we remove $(srcdir),
42220 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
42221 # trailing colons and then remove the whole line if VPATH becomes empty
42222 # (actually we leave an empty line to preserve line numbers).
42223 if test "x$srcdir" = x.
; then
42224 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
42225 s/:*\$(srcdir):*/:/;
42226 s/:*\${srcdir}:*/:/;
42228 s/^\([^=]*=[ ]*\):*/\1/;
42234 DEFS
=-DHAVE_CONFIG_H
42238 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
42239 # 1. Remove the extension, and $U if already installed.
42240 ac_i
=`echo "$ac_i" |
42241 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
42243 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
42244 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
42246 LIBOBJS
=$ac_libobjs
42248 LTLIBOBJS
=$ac_ltlibobjs
42252 : ${CONFIG_STATUS=./config.status}
42253 ac_clean_files_save
=$ac_clean_files
42254 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
42255 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
42256 echo "$as_me: creating $CONFIG_STATUS" >&6;}
42257 cat >$CONFIG_STATUS <<_ACEOF
42259 # Generated by $as_me.
42260 # Run this file to recreate the current configuration.
42261 # Compiler output produced by configure, useful for debugging
42262 # configure, is in config.log if it exists.
42265 ac_cs_recheck=false
42267 SHELL=\${CONFIG_SHELL-$SHELL}
42270 cat >>$CONFIG_STATUS <<\_ACEOF
42271 ## --------------------- ##
42272 ## M4sh Initialization. ##
42273 ## --------------------- ##
42275 # Be Bourne compatible
42276 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
42279 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
42280 # is contrary to our usage. Disable this feature.
42281 alias -g '${1+"$@"}'='"$@"'
42282 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
42285 DUALCASE
=1; export DUALCASE
# for MKS sh
42287 # Support unset when possible.
42288 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
42295 # Work around bugs in pre-3.0 UWIN ksh.
42296 $as_unset ENV MAIL MAILPATH
42303 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42304 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42305 LC_TELEPHONE LC_TIME
42307 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
42308 eval $as_var=C
; export $as_var
42314 # Required to use basename.
42315 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42321 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
42322 as_basename
=basename
42328 # Name of the executable.
42329 as_me
=`$as_basename "$0" ||
42330 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42331 X"$0" : 'X\(//\)$' \| \
42332 X"$0" : 'X\(/\)$' \| \
42333 . : '\(.\)' 2>/dev/null ||
42335 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
42336 /^X\/\(\/\/\)$/{ s//\1/; q; }
42337 /^X\/\(\/\).*/{ s//\1/; q; }
42341 # PATH needs CR, and LINENO needs CR and PATH.
42342 # Avoid depending upon Character Ranges.
42343 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
42344 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42345 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
42346 as_cr_digits
='0123456789'
42347 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42349 # The user is always right.
42350 if test "${PATH_SEPARATOR+set}" != set; then
42351 echo "#! /bin/sh" >conf$$.sh
42352 echo "exit 0" >>conf$$.sh
42354 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
42363 as_lineno_1
=$LINENO
42364 as_lineno_2
=$LINENO
42365 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
42366 test "x$as_lineno_1" != "x$as_lineno_2" &&
42367 test "x$as_lineno_3" = "x$as_lineno_2" || {
42368 # Find who we are. Look in the path if we contain no path at all
42371 *[\\/]* ) as_myself
=$0 ;;
42372 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42373 for as_dir
in $PATH
42376 test -z "$as_dir" && as_dir
=.
42377 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
42382 # We did not find ourselves, most probably we were run as `sh COMMAND'
42383 # in which case we are not to be found in the path.
42384 if test "x$as_myself" = x
; then
42387 if test ! -f "$as_myself"; then
42388 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
42389 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
42390 { (exit 1); exit 1; }; }
42392 case $CONFIG_SHELL in
42394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42395 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
42398 test -z "$as_dir" && as_dir
=.
42399 for as_base
in sh bash ksh sh5
; do
42402 if ("$as_dir/$as_base" -c '
42403 as_lineno_1=$LINENO
42404 as_lineno_2=$LINENO
42405 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42406 test "x$as_lineno_1" != "x$as_lineno_2" &&
42407 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
42408 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
42409 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
42410 CONFIG_SHELL
=$as_dir/$as_base
42411 export CONFIG_SHELL
42412 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
42420 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
42421 # uniformly replaced by the line number. The first 'sed' inserts a
42422 # line-number line before each line; the second 'sed' does the real
42423 # work. The second script uses 'N' to pair each line-number line
42424 # with the numbered line, and appends trailing '-' during
42425 # substitution so that $LINENO is not a special case at line end.
42426 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
42427 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
42428 sed '=' <$as_myself |
42433 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
42436 s,^['$as_cr_digits']*\n,,
42437 ' >$as_me.lineno
&&
42438 chmod +x
$as_me.lineno
||
42439 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
42440 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
42441 { (exit 1); exit 1; }; }
42443 # Don't try to exec as it changes $[0], causing all sort of problems
42444 # (the dirname of $[0] is not the place where we might find the
42445 # original and so on. Autoconf is especially sensible to this).
42447 # Exit status is that of the last command.
42452 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
42453 *c
*,-n*) ECHO_N
= ECHO_C
='
42455 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
42456 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
42459 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42465 rm -f conf$$ conf$$.exe conf$$.
file
42467 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
42468 # We could just check for DJGPP; but this test a) works b) is more generic
42469 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
42470 if test -f conf$$.exe
; then
42471 # Don't use ln at all; we don't have any links
42476 elif ln conf$$.
file conf$$
2>/dev
/null
; then
42481 rm -f conf$$ conf$$.exe conf$$.
file
42483 if mkdir -p .
2>/dev
/null
; then
42486 test -d .
/-p && rmdir .
/-p
42490 as_executable_p
="test -f"
42492 # Sed expression to map a string onto a valid CPP name.
42493 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42495 # Sed expression to map a string onto a valid variable name.
42496 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42500 # We need space, tab and new line, in precisely that order.
42510 # Open the log real soon, to keep \$[0] and so on meaningful, and to
42511 # report actual input values of CONFIG_FILES etc. instead of their
42512 # values after options handling. Logging --version etc. is OK.
42516 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42517 ## Running $as_me. ##
42522 This file was extended by wxWidgets $as_me 2.5.3, which was
42523 generated by GNU Autoconf 2.59. Invocation command line was
42525 CONFIG_FILES = $CONFIG_FILES
42526 CONFIG_HEADERS = $CONFIG_HEADERS
42527 CONFIG_LINKS = $CONFIG_LINKS
42528 CONFIG_COMMANDS = $CONFIG_COMMANDS
42532 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42536 # Files that config.status was made for.
42537 if test -n "$ac_config_files"; then
42538 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
42541 if test -n "$ac_config_headers"; then
42542 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
42545 if test -n "$ac_config_links"; then
42546 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
42549 if test -n "$ac_config_commands"; then
42550 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
42553 cat >>$CONFIG_STATUS <<\_ACEOF
42556 \`$as_me' instantiates files from templates according to the
42557 current configuration.
42559 Usage: $0 [OPTIONS] [FILE]...
42561 -h, --help print this help, then exit
42562 -V, --version print version number, then exit
42563 -q, --quiet do not print progress messages
42564 -d, --debug don't remove temporary files
42565 --recheck update $as_me by reconfiguring in the same conditions
42566 --file=FILE[:TEMPLATE]
42567 instantiate the configuration file FILE
42568 --header=FILE[:TEMPLATE]
42569 instantiate the configuration header FILE
42571 Configuration files:
42574 Configuration headers:
42577 Configuration commands:
42580 Report bugs to <bug-autoconf@gnu.org>."
42583 cat >>$CONFIG_STATUS <<_ACEOF
42585 wxWidgets config.status 2.5.3
42586 configured by $0, generated by GNU Autoconf 2.59,
42587 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42589 Copyright (C) 2003 Free Software Foundation, Inc.
42590 This config.status script is free software; the Free Software Foundation
42591 gives unlimited permission to copy, distribute and modify it."
42596 cat >>$CONFIG_STATUS <<\_ACEOF
42597 # If no file are specified by the user, then we need to provide default
42598 # value. By we need to know if files were specified by the user.
42604 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
42605 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
42613 *) # This is not an option, so the user has probably given explicit
42616 ac_need_defaults
=false
;;
42620 # Handling of the options.
42622 cat >>$CONFIG_STATUS <<\_ACEOF
42623 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42625 --version | --vers* | -V )
42626 echo "$ac_cs_version"; exit 0 ;;
42628 # Conflict between --help and --header
42629 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42630 Try \`$0 --help' for more information." >&5
42631 echo "$as_me: error: ambiguous option: $1
42632 Try \`$0 --help' for more information." >&2;}
42633 { (exit 1); exit 1; }; };;
42634 --help | --hel | -h )
42635 echo "$ac_cs_usage"; exit 0 ;;
42636 --debug | --d* | -d )
42638 --file | --fil | --fi | --f )
42640 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
42641 ac_need_defaults
=false
;;
42642 --header | --heade | --head | --hea )
42644 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
42645 ac_need_defaults
=false
;;
42646 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42647 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42650 # This is an error.
42651 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42652 Try \`$0 --help' for more information." >&5
42653 echo "$as_me: error: unrecognized option: $1
42654 Try \`$0 --help' for more information." >&2;}
42655 { (exit 1); exit 1; }; } ;;
42657 *) ac_config_targets
="$ac_config_targets $1" ;;
42663 ac_configure_extra_args
=
42665 if $ac_cs_silent; then
42667 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42671 cat >>$CONFIG_STATUS <<_ACEOF
42672 if \$ac_cs_recheck; then
42673 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42674 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42679 cat >>$CONFIG_STATUS <<_ACEOF
42681 # INIT-COMMANDS section.
42684 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42685 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42686 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42694 cat >>$CONFIG_STATUS <<\_ACEOF
42695 for ac_config_target
in $ac_config_targets
42697 case "$ac_config_target" in
42698 # Handling of arguments.
42699 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42700 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42701 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42702 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42703 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42704 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
42705 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42706 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42707 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42708 { (exit 1); exit 1; }; };;
42712 # If the user did not use the arguments to specify the items to instantiate,
42713 # then the envvar interface is used. Set only those that are not.
42714 # We use the long form for the default assignment because of an extremely
42715 # bizarre bug on SunOS 4.1.3.
42716 if $ac_need_defaults; then
42717 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42718 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42719 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42722 # Have a temporary directory for convenience. Make it in the build tree
42723 # simply because there is no reason to put it here, and in addition,
42724 # creating and moving files from /tmp can sometimes cause problems.
42725 # Create a temporary directory, and hook for its removal unless debugging.
42728 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42729 trap '{ (exit 1); exit 1; }' 1 2 13 15
42732 # Create a (secure) tmp directory for tmp files.
42735 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42736 test -n "$tmp" && test -d "$tmp"
42739 tmp
=.
/confstat$$
-$RANDOM
42740 (umask 077 && mkdir $tmp)
42743 echo "$me: cannot create a temporary directory in ." >&2
42744 { (exit 1); exit 1; }
42749 cat >>$CONFIG_STATUS <<_ACEOF
42752 # CONFIG_FILES section.
42755 # No need to generate the scripts if there are no CONFIG_FILES.
42756 # This happens for instance when ./config.status config.h
42757 if test -n "\$CONFIG_FILES"; then
42758 # Protect against being on the right side of a sed subst in config.status.
42759 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42760 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42761 s,@SHELL@,$SHELL,;t t
42762 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42763 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42764 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42765 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42766 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42767 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42768 s,@exec_prefix@,$exec_prefix,;t t
42769 s,@prefix@,$prefix,;t t
42770 s,@program_transform_name@,$program_transform_name,;t t
42771 s,@bindir@,$bindir,;t t
42772 s,@sbindir@,$sbindir,;t t
42773 s,@libexecdir@,$libexecdir,;t t
42774 s,@datadir@,$datadir,;t t
42775 s,@sysconfdir@,$sysconfdir,;t t
42776 s,@sharedstatedir@,$sharedstatedir,;t t
42777 s,@localstatedir@,$localstatedir,;t t
42778 s,@libdir@,$libdir,;t t
42779 s,@includedir@,$includedir,;t t
42780 s,@oldincludedir@,$oldincludedir,;t t
42781 s,@infodir@,$infodir,;t t
42782 s,@mandir@,$mandir,;t t
42783 s,@build_alias@,$build_alias,;t t
42784 s,@host_alias@,$host_alias,;t t
42785 s,@target_alias@,$target_alias,;t t
42786 s,@DEFS@,$DEFS,;t t
42787 s,@ECHO_C@,$ECHO_C,;t t
42788 s,@ECHO_N@,$ECHO_N,;t t
42789 s,@ECHO_T@,$ECHO_T,;t t
42790 s,@LIBS@,$LIBS,;t t
42791 s,@build@,$build,;t t
42792 s,@build_cpu@,$build_cpu,;t t
42793 s,@build_vendor@,$build_vendor,;t t
42794 s,@build_os@,$build_os,;t t
42795 s,@host@,$host,;t t
42796 s,@host_cpu@,$host_cpu,;t t
42797 s,@host_vendor@,$host_vendor,;t t
42798 s,@host_os@,$host_os,;t t
42799 s,@target@,$target,;t t
42800 s,@target_cpu@,$target_cpu,;t t
42801 s,@target_vendor@,$target_vendor,;t t
42802 s,@target_os@,$target_os,;t t
42804 s,@CFLAGS@,$CFLAGS,;t t
42805 s,@LDFLAGS@,$LDFLAGS,;t t
42806 s,@CPPFLAGS@,$CPPFLAGS,;t t
42807 s,@ac_ct_CC@,$ac_ct_CC,;t t
42808 s,@EXEEXT@,$EXEEXT,;t t
42809 s,@OBJEXT@,$OBJEXT,;t t
42811 s,@EGREP@,$EGREP,;t t
42813 s,@CXXFLAGS@,$CXXFLAGS,;t t
42814 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42815 s,@RANLIB@,$RANLIB,;t t
42816 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42818 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42819 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42820 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42821 s,@STRIP@,$STRIP,;t t
42822 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42823 s,@LN_S@,$LN_S,;t t
42824 s,@CXXCPP@,$CXXCPP,;t t
42825 s,@subdirs@,$subdirs,;t t
42826 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42827 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42828 s,@GTK_LIBS@,$GTK_LIBS,;t t
42829 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
42830 s,@X_CFLAGS@,$X_CFLAGS,;t t
42831 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42832 s,@X_LIBS@,$X_LIBS,;t t
42833 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42834 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42835 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
42836 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42837 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
42838 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42839 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42840 s,@RESCOMP@,$RESCOMP,;t t
42841 s,@DEREZ@,$DEREZ,;t t
42842 s,@SETFILE@,$SETFILE,;t t
42843 s,@LIBICONV@,$LIBICONV,;t t
42844 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42845 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42846 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42847 s,@SDL_LIBS@,$SDL_LIBS,;t t
42848 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
42849 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
42850 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42851 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42852 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42853 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42854 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42855 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42856 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42857 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42858 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42859 s,@VENDOR@,$VENDOR,;t t
42860 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42861 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
42862 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
42863 s,@WXUNIV@,$WXUNIV,;t t
42864 s,@MONOLITHIC@,$MONOLITHIC,;t t
42865 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42866 s,@EXTRALIBS@,$EXTRALIBS,;t t
42867 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42868 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42869 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42870 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42871 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42872 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42873 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42874 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
42875 s,@UNICODE@,$UNICODE,;t t
42876 s,@BUILD@,$BUILD,;t t
42877 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42878 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42879 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42880 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42881 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42882 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42883 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42884 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42885 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42886 s,@SET_MAKE@,$SET_MAKE,;t t
42887 s,@MAKE_SET@,$MAKE_SET,;t t
42888 s,@ac_ct_AR@,$ac_ct_AR,;t t
42889 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42891 s,@ac_ct_NM@,$ac_ct_NM,;t t
42892 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42893 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42894 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42895 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42896 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42897 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42898 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
42899 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42900 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42901 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
42902 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42903 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42904 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42905 s,@LIBPREFIX@,$LIBPREFIX,;t t
42906 s,@LIBEXT@,$LIBEXT,;t t
42907 s,@DLLPREFIX@,$DLLPREFIX,;t t
42908 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42909 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42910 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42911 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42912 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42913 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42914 s,@PIC_FLAG@,$PIC_FLAG,;t t
42915 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42916 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42917 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42918 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42919 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42920 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42921 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42922 s,@GCC_PCH@,$GCC_PCH,;t t
42923 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42924 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42925 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42926 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42927 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42928 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42929 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42930 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42931 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42932 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42933 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42934 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42935 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42936 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42937 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42938 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42939 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42940 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42941 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1,;t t
42942 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
42943 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42944 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
42945 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42946 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42947 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1,;t t
42948 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
42949 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42950 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
42951 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42952 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42953 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42954 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42955 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42956 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42957 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42958 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42959 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
42960 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42961 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42962 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42963 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
42964 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42965 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42966 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
42967 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42968 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42969 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
42970 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42971 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42972 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42973 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42974 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42975 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42976 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42977 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42978 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42979 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
42980 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
42981 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
42982 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42983 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42984 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42985 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42986 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42987 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42988 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42989 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42990 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42991 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42992 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
42993 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42994 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
42995 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42996 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42997 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42998 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42999 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
43000 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
43001 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
43002 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
43003 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
43004 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
43005 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
43006 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
43007 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
43008 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
43009 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
43010 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
43011 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
43012 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
43013 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
43014 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
43015 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
43016 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
43017 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
43018 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
43019 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
43020 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
43021 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
43022 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
43023 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
43024 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
43025 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
43026 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
43027 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
43028 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
43029 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
43030 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
43031 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
43032 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
43033 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
43034 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
43035 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
43036 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
43037 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
43038 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
43039 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
43040 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
43041 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
43042 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
43043 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
43044 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
43045 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
43046 s,@SHARED@,$SHARED,;t t
43047 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
43048 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
43049 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
43050 s,@USE_GUI@,$USE_GUI,;t t
43051 s,@AFMINSTALL@,$AFMINSTALL,;t t
43052 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
43053 s,@TOOLKIT@,$TOOLKIT,;t t
43054 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
43055 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
43056 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
43057 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
43058 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
43059 s,@cross_compiling@,$cross_compiling,;t t
43060 s,@WIDGET_SET@,$WIDGET_SET,;t t
43061 s,@WX_RELEASE@,$WX_RELEASE,;t t
43062 s,@WX_VERSION@,$WX_VERSION,;t t
43063 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
43064 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
43065 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
43066 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
43067 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
43068 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
43069 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
43070 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
43071 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
43072 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
43073 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
43074 s,@EXE_LINKER@,$EXE_LINKER,;t t
43075 s,@GUIDIST@,$GUIDIST,;t t
43076 s,@DISTDIR@,$DISTDIR,;t t
43077 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
43078 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
43079 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
43080 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
43081 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
43082 s,@RESFLAGS@,$RESFLAGS,;t t
43083 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
43084 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
43085 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
43086 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
43087 s,@MACRESCOMP@,$MACRESCOMP,;t t
43088 s,@MACSETFILE@,$MACSETFILE,;t t
43089 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
43091 s,@DLLTOOL@,$DLLTOOL,;t t
43092 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
43093 s,@LIBOBJS@,$LIBOBJS,;t t
43094 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
43099 cat >>$CONFIG_STATUS <<\_ACEOF
43100 # Split the substitutions into bite-sized pieces for seds with
43101 # small command number limits, like on Digital OSF/1 and HP-UX.
43102 ac_max_sed_lines
=48
43103 ac_sed_frag
=1 # Number of current file.
43104 ac_beg
=1 # First line for current file.
43105 ac_end
=$ac_max_sed_lines # Line after last line for current file.
43108 while $ac_more_lines; do
43109 if test $ac_beg -gt 1; then
43110 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
43112 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
43114 if test ! -s $tmp/subs.frag
; then
43115 ac_more_lines
=false
43117 # The purpose of the label and of the branching condition is to
43118 # speed up the sed processing (if there are no `@' at all, there
43119 # is no need to browse any of the substitutions).
43120 # These are the two extra sed commands mentioned above.
43122 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
43123 if test -z "$ac_sed_cmds"; then
43124 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
43126 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
43128 ac_sed_frag
=`expr $ac_sed_frag + 1`
43130 ac_end
=`expr $ac_end + $ac_max_sed_lines`
43133 if test -z "$ac_sed_cmds"; then
43136 fi # test -n "$CONFIG_FILES"
43139 cat >>$CONFIG_STATUS <<\_ACEOF
43140 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
43141 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43143 - | *:- | *:-:* ) # input from stdin
43145 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43146 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43147 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43148 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43149 * ) ac_file_in
=$ac_file.
in ;;
43152 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
43153 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
43154 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43155 X"$ac_file" : 'X\(//\)[^/]' \| \
43156 X"$ac_file" : 'X\(//\)$' \| \
43157 X"$ac_file" : 'X\(/\)' \| \
43158 . : '\(.\)' 2>/dev/null ||
43160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43161 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43162 /^X\(\/\/\)$/{ s//\1/; q; }
43163 /^X\(\/\).*/{ s//\1/; q; }
43165 { if $as_mkdir_p; then
43170 while test ! -d "$as_dir"; do
43171 as_dirs
="$as_dir $as_dirs"
43172 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43173 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43174 X"$as_dir" : 'X\(//\)[^/]' \| \
43175 X"$as_dir" : 'X\(//\)$' \| \
43176 X"$as_dir" : 'X\(/\)' \| \
43177 . : '\(.\)' 2>/dev/null ||
43179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43180 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43181 /^X\(\/\/\)$/{ s//\1/; q; }
43182 /^X\(\/\).*/{ s//\1/; q; }
43185 test ! -n "$as_dirs" || mkdir $as_dirs
43186 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43187 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43188 { (exit 1); exit 1; }; }; }
43192 if test "$ac_dir" != .
; then
43193 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43194 # A "../" for each directory in $ac_dir_suffix.
43195 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43197 ac_dir_suffix
= ac_top_builddir
=
43201 .
) # No --srcdir option. We are building in place.
43203 if test -z "$ac_top_builddir"; then
43206 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43208 [\\/]* | ?
:[\\/]* ) # Absolute path.
43209 ac_srcdir
=$srcdir$ac_dir_suffix;
43210 ac_top_srcdir
=$srcdir ;;
43211 *) # Relative path.
43212 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43213 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43216 # Do not use `cd foo && pwd` to compute absolute paths, because
43217 # the directories may not exist.
43219 .
) ac_abs_builddir
="$ac_dir";;
43222 .
) ac_abs_builddir
=`pwd`;;
43223 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43224 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43227 case $ac_abs_builddir in
43228 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43230 case ${ac_top_builddir}.
in
43231 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43232 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43233 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43236 case $ac_abs_builddir in
43237 .
) ac_abs_srcdir
=$ac_srcdir;;
43240 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43241 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43242 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43245 case $ac_abs_builddir in
43246 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43248 case $ac_top_srcdir in
43249 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43250 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43251 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43257 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
43258 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
43261 if test x
"$ac_file" != x
-; then
43262 { echo "$as_me:$LINENO: creating $ac_file" >&5
43263 echo "$as_me: creating $ac_file" >&6;}
43266 # Let's still pretend it is `configure' which instantiates (i.e., don't
43267 # use $as_me), people would be surprised to read:
43268 # /* config.h. Generated by config.status. */
43269 if test x
"$ac_file" = x
-; then
43272 configure_input
="$ac_file. "
43274 configure_input
=$configure_input"Generated from `echo $ac_file_in |
43275 sed 's,.*/,,'` by configure."
43277 # First look for the input files in the build tree, otherwise in the
43279 ac_file_inputs
=`IFS=:
43280 for f in $ac_file_in; do
43282 -) echo $tmp/stdin ;;
43284 # Absolute (can't be DOS-style, as IFS=:)
43285 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43286 echo "$as_me: error: cannot find input file: $f" >&2;}
43287 { (exit 1); exit 1; }; }
43290 if test -f "$f"; then
43293 elif test -f "$srcdir/$f"; then
43298 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43299 echo "$as_me: error: cannot find input file: $f" >&2;}
43300 { (exit 1); exit 1; }; }
43303 done` || { (exit 1); exit 1; }
43305 cat >>$CONFIG_STATUS <<_ACEOF
43309 cat >>$CONFIG_STATUS <<\_ACEOF
43311 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
43312 s
,@configure_input@
,$configure_input,;t t
43313 s
,@srcdir@
,$ac_srcdir,;t t
43314 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
43315 s
,@top_srcdir@
,$ac_top_srcdir,;t t
43316 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
43317 s
,@builddir@
,$ac_builddir,;t t
43318 s
,@abs_builddir@
,$ac_abs_builddir,;t t
43319 s
,@top_builddir@
,$ac_top_builddir,;t t
43320 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
43321 s
,@INSTALL@
,$ac_INSTALL,;t t
43322 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
43324 if test x"$ac_file" != x-; then
43325 mv $tmp/out $ac_file
43331 # Run the commands associated with the file.
43333 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
43334 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
43338 cat >>$CONFIG_STATUS <<\_ACEOF
43341 # CONFIG_HEADER section.
43344 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
43345 # NAME is the cpp macro being defined and VALUE is the value it is being given.
43347 # ac_d sets the value in "#define NAME VALUE" lines.
43348 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
43349 ac_dB
='[ ].*$,\1#\2'
43352 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
43353 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
43354 ac_uB
='$,\1#\2define\3'
43358 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
43359 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43361 - | *:- | *:-:* ) # input from stdin
43363 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43364 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43365 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43366 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43367 * ) ac_file_in
=$ac_file.
in ;;
43370 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
43371 echo "$as_me: creating $ac_file" >&6;}
43373 # First look for the input files in the build tree, otherwise in the
43375 ac_file_inputs
=`IFS=:
43376 for f in $ac_file_in; do
43378 -) echo $tmp/stdin ;;
43380 # Absolute (can't be DOS-style, as IFS=:)
43381 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43382 echo "$as_me: error: cannot find input file: $f" >&2;}
43383 { (exit 1); exit 1; }; }
43384 # Do quote $f, to prevent DOS paths from being IFS'd.
43387 if test -f "$f"; then
43390 elif test -f "$srcdir/$f"; then
43395 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43396 echo "$as_me: error: cannot find input file: $f" >&2;}
43397 { (exit 1); exit 1; }; }
43400 done` || { (exit 1); exit 1; }
43401 # Remove the trailing spaces.
43402 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
43406 # Transform confdefs.h into two sed scripts, `conftest.defines' and
43407 # `conftest.undefs', that substitutes the proper values into
43408 # config.h.in to produce config.h. The first handles `#define'
43409 # templates, and the second `#undef' templates.
43410 # And first: Protect against being on the right side of a sed subst in
43411 # config.status. Protect against being in an unquoted here document
43412 # in config.status.
43413 rm -f conftest.defines conftest.undefs
43414 # Using a here document instead of a string reduces the quoting nightmare.
43415 # Putting comments in sed scripts is not portable.
43417 # `end' is used to avoid that the second main sed command (meant for
43418 # 0-ary CPP macros) applies to n-ary macro definitions.
43419 # See the Autoconf documentation for `clear'.
43420 cat >confdef2sed.
sed <<\_ACEOF
43425 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
43427 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
43430 # If some macros were called several times there might be several times
43431 # the same #defines, which is useless. Nevertheless, we may not want to
43432 # sort them, since we want the *last* AC-DEFINE to be honored.
43433 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
43434 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
43435 rm -f confdef2sed.sed
43437 # This sed command replaces #undef with comments. This is necessary, for
43438 # example, in the case of _POSIX_SOURCE, which is predefined and required
43439 # on some systems where configure will not decide to define it.
43440 cat >>conftest.undefs <<\_ACEOF
43441 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
43444 # Break up conftest.defines because some shells have a limit on the size
43445 # of here documents, and old seds have small limits too (100 cmds).
43446 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
43447 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
43448 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
43449 echo ' :' >>$CONFIG_STATUS
43450 rm -f conftest.tail
43451 while grep . conftest.defines >/dev/null
43453 # Write a limited-size here document to $tmp/defines.sed.
43454 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
43455 # Speed up: don't consider the non `#define' lines.
43456 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
43457 # Work around the forget-to-reset-the-flag bug.
43458 echo 't clr' >>$CONFIG_STATUS
43459 echo ': clr' >>$CONFIG_STATUS
43460 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
43462 sed -f $tmp/defines.sed $tmp/in >$tmp/out
43464 mv $tmp/out $tmp/in
43466 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
43467 rm -f conftest.defines
43468 mv conftest.
tail conftest.defines
43470 rm -f conftest.defines
43471 echo ' fi # grep' >>$CONFIG_STATUS
43472 echo >>$CONFIG_STATUS
43474 # Break up conftest.undefs because some shells have a limit on the size
43475 # of here documents, and old seds have small limits too (100 cmds).
43476 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
43477 rm -f conftest.
tail
43478 while grep . conftest.undefs
>/dev
/null
43480 # Write a limited-size here document to $tmp/undefs.sed.
43481 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
43482 # Speed up: don't consider the non
`#undef'
43483 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
43484 # Work around the forget-to-reset-the-flag bug.
43485 echo 't clr' >>$CONFIG_STATUS
43486 echo ': clr' >>$CONFIG_STATUS
43487 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
43489 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
43491 mv $tmp/out $tmp/in
43493 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
43494 rm -f conftest.undefs
43495 mv conftest.tail conftest.undefs
43497 rm -f conftest.undefs
43499 cat >>$CONFIG_STATUS <<\_ACEOF
43500 # Let's still pretend it is `configure
' which instantiates (i.e., don't
43501 # use $as_me), people would be surprised to read:
43502 # /* config.h. Generated by config.status. */
43503 if test x
"$ac_file" = x
-; then
43504 echo "/* Generated by configure. */" >$tmp/config.h
43506 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
43508 cat $tmp/in >>$tmp/config.h
43510 if test x
"$ac_file" != x
-; then
43511 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
43512 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
43513 echo "$as_me: $ac_file is unchanged" >&6;}
43515 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
43516 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43517 X"$ac_file" : 'X\(//\)[^/]' \| \
43518 X"$ac_file" : 'X\(//\)$' \| \
43519 X"$ac_file" : 'X\(/\)' \| \
43520 . : '\(.\)' 2>/dev/null ||
43522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43523 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43524 /^X\(\/\/\)$/{ s//\1/; q; }
43525 /^X\(\/\).*/{ s//\1/; q; }
43527 { if $as_mkdir_p; then
43532 while test ! -d "$as_dir"; do
43533 as_dirs
="$as_dir $as_dirs"
43534 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43535 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43536 X"$as_dir" : 'X\(//\)[^/]' \| \
43537 X"$as_dir" : 'X\(//\)$' \| \
43538 X"$as_dir" : 'X\(/\)' \| \
43539 . : '\(.\)' 2>/dev/null ||
43541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43542 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43543 /^X\(\/\/\)$/{ s//\1/; q; }
43544 /^X\(\/\).*/{ s//\1/; q; }
43547 test ! -n "$as_dirs" || mkdir $as_dirs
43548 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43549 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43550 { (exit 1); exit 1; }; }; }
43553 mv $tmp/config.h
$ac_file
43557 rm -f $tmp/config.h
43561 cat >>$CONFIG_STATUS <<\_ACEOF
43564 # CONFIG_COMMANDS section.
43566 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
43567 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
43568 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43569 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
43570 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43571 X"$ac_dest" : 'X\(//\)[^/]' \| \
43572 X"$ac_dest" : 'X\(//\)$' \| \
43573 X"$ac_dest" : 'X\(/\)' \| \
43574 . : '\(.\)' 2>/dev/null ||
43576 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43577 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43578 /^X\(\/\/\)$/{ s//\1/; q; }
43579 /^X\(\/\).*/{ s//\1/; q; }
43581 { if $as_mkdir_p; then
43586 while test ! -d "$as_dir"; do
43587 as_dirs
="$as_dir $as_dirs"
43588 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43589 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43590 X"$as_dir" : 'X\(//\)[^/]' \| \
43591 X"$as_dir" : 'X\(//\)$' \| \
43592 X"$as_dir" : 'X\(/\)' \| \
43593 . : '\(.\)' 2>/dev/null ||
43595 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43596 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43597 /^X\(\/\/\)$/{ s//\1/; q; }
43598 /^X\(\/\).*/{ s//\1/; q; }
43601 test ! -n "$as_dirs" || mkdir $as_dirs
43602 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43603 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43604 { (exit 1); exit 1; }; }; }
43608 if test "$ac_dir" != .
; then
43609 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43610 # A "../" for each directory in $ac_dir_suffix.
43611 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43613 ac_dir_suffix
= ac_top_builddir
=
43617 .
) # No --srcdir option. We are building in place.
43619 if test -z "$ac_top_builddir"; then
43622 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43624 [\\/]* | ?
:[\\/]* ) # Absolute path.
43625 ac_srcdir
=$srcdir$ac_dir_suffix;
43626 ac_top_srcdir
=$srcdir ;;
43627 *) # Relative path.
43628 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43629 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43632 # Do not use `cd foo && pwd` to compute absolute paths, because
43633 # the directories may not exist.
43635 .
) ac_abs_builddir
="$ac_dir";;
43638 .
) ac_abs_builddir
=`pwd`;;
43639 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43640 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43643 case $ac_abs_builddir in
43644 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43646 case ${ac_top_builddir}.
in
43647 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43648 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43649 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43652 case $ac_abs_builddir in
43653 .
) ac_abs_srcdir
=$ac_srcdir;;
43656 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43657 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43658 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43661 case $ac_abs_builddir in
43662 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43664 case $ac_top_srcdir in
43665 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43666 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43667 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43672 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43673 echo "$as_me: executing $ac_dest commands" >&6;}
43675 wx
-config ) rm -f wx
-config
43676 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
43682 cat >>$CONFIG_STATUS <<\_ACEOF
43684 { (exit 0); exit 0; }
43686 chmod +x
$CONFIG_STATUS
43687 ac_clean_files
=$ac_clean_files_save
43690 # configure is writing to config.log, and then calls config.status.
43691 # config.status does its own redirection, appending to config.log.
43692 # Unfortunately, on DOS this fails, as config.log is still kept open
43693 # by configure, so config.status won't be able to write to it; its
43694 # output is simply discarded. So we exec the FD to /dev/null,
43695 # effectively closing config.log, so it can be properly (re)opened and
43696 # appended to by config.status. When coming back to configure, we
43697 # need to make the FD available again.
43698 if test "$no_create" != yes; then
43700 ac_config_status_args
=
43701 test "$silent" = yes &&
43702 ac_config_status_args
="$ac_config_status_args --quiet"
43704 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
43706 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43707 # would make configure fail if this is the last instruction.
43708 $ac_cs_success || { (exit 1); exit 1; }
43712 # CONFIG_SUBDIRS section.
43714 if test "$no_recursion" != yes; then
43716 # Remove --cache-file and --srcdir arguments so they do not pile up.
43717 ac_sub_configure_args
=
43719 for ac_arg
in $ac_configure_args; do
43720 if test -n "$ac_prev"; then
43725 -cache-file | --cache-file | --cache-fil | --cache-fi \
43726 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43727 ac_prev
=cache_file
;;
43728 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43729 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43732 --config-cache | -C)
43734 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43736 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43738 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43740 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43742 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
43746 # Always prepend --prefix to ensure using the same prefix
43747 # in subdir configurations.
43748 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
43751 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
43753 # Do not complain, so a configure script can configure whichever
43754 # parts of a large source tree are present.
43755 test -d $srcdir/$ac_dir || continue
43757 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43758 echo "$as_me: configuring in $ac_dir" >&6;}
43759 { if $as_mkdir_p; then
43764 while test ! -d "$as_dir"; do
43765 as_dirs
="$as_dir $as_dirs"
43766 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43767 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43768 X"$as_dir" : 'X\(//\)[^/]' \| \
43769 X"$as_dir" : 'X\(//\)$' \| \
43770 X"$as_dir" : 'X\(/\)' \| \
43771 . : '\(.\)' 2>/dev/null ||
43773 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43774 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43775 /^X\(\/\/\)$/{ s//\1/; q; }
43776 /^X\(\/\).*/{ s//\1/; q; }
43779 test ! -n "$as_dirs" || mkdir $as_dirs
43780 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43781 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43782 { (exit 1); exit 1; }; }; }
43786 if test "$ac_dir" != .
; then
43787 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43788 # A "../" for each directory in $ac_dir_suffix.
43789 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43791 ac_dir_suffix
= ac_top_builddir
=
43795 .
) # No --srcdir option. We are building in place.
43797 if test -z "$ac_top_builddir"; then
43800 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43802 [\\/]* | ?
:[\\/]* ) # Absolute path.
43803 ac_srcdir
=$srcdir$ac_dir_suffix;
43804 ac_top_srcdir
=$srcdir ;;
43805 *) # Relative path.
43806 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43807 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43810 # Do not use `cd foo && pwd` to compute absolute paths, because
43811 # the directories may not exist.
43813 .
) ac_abs_builddir
="$ac_dir";;
43816 .
) ac_abs_builddir
=`pwd`;;
43817 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43818 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43821 case $ac_abs_builddir in
43822 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43824 case ${ac_top_builddir}.
in
43825 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43826 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43827 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43830 case $ac_abs_builddir in
43831 .
) ac_abs_srcdir
=$ac_srcdir;;
43834 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43835 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43836 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43839 case $ac_abs_builddir in
43840 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43842 case $ac_top_srcdir in
43843 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43844 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43845 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43852 # Check for guested configure; otherwise get Cygnus style configure.
43853 if test -f $ac_srcdir/configure.gnu
; then
43854 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
43855 elif test -f $ac_srcdir/configure
; then
43856 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
43857 elif test -f $ac_srcdir/configure.
in; then
43858 ac_sub_configure
=$ac_configure
43860 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43861 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43865 # The recursion is here.
43866 if test -n "$ac_sub_configure"; then
43867 # Make the cache file name correct relative to the subdirectory.
43868 case $cache_file in
43869 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
43870 *) # Relative path.
43871 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
43874 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43875 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43876 # The eval makes quoting arguments work.
43877 eval $ac_sub_configure $ac_sub_configure_args \
43878 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43879 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43880 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43881 { (exit 1); exit 1; }; }
43890 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43892 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
43893 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43895 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43896 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43897 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43899 echo " What level of wxWidgets compatibility should be enabled?"
43900 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43901 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43903 echo " Which libraries should wxWidgets use?"
43904 echo " jpeg ${wxUSE_LIBJPEG-none}"
43905 echo " png ${wxUSE_LIBPNG-none}"
43906 echo " regex ${wxUSE_REGEX}"
43907 echo " tiff ${wxUSE_LIBTIFF-none}"
43908 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43909 echo " xpm ${wxUSE_LIBXPM-none}"
43911 echo " zlib ${wxUSE_ZLIB}"
43912 echo " odbc ${wxUSE_ODBC}"
43913 echo " expat ${wxUSE_EXPAT}"
43914 echo " libmspack ${wxUSE_LIBMSPACK}"
43915 echo " sdl ${wxUSE_LIBSDL}"
43916 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"