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.4.
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.4'
274 PACKAGE_STRING
='wxWidgets 2.5.4'
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 GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT 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_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_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.4 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.4:";;
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-arcstream use wxArchive streams
907 --enable-backtrace use wxStackWalker class
for getting backtraces
908 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class
for DLL loading
914 --enable-dynamicloader use
(new
) wxDynamicLibrary class
915 --enable-exceptions build exception
-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual
file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP
/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C
++ stream classes
929 --enable-stdpaths use wxStandardPaths class
930 --enable-stopwatch use wxStopWatch class
931 --enable-streams use wxStream etc classes
932 --enable-sysoptions use wxSystemOptions
933 --enable-textbuf use wxTextBuffer class
934 --enable-textfile use wxTextFile class
935 --enable-timer use wxTimer class
936 --enable-unicode compile wxString with Unicode support
937 --enable-sound use wxSound class
938 --enable-mediactrl use wxMediaCtrl class
939 --enable-wxprintfv use wxWidgets implementation of vprintf
()
940 --enable-zipstream use wxZip streams
941 --enable-url use wxURL class
942 --enable-protocol use wxProtocol class
943 --enable-protocol-http HTTP support
in wxProtocol
944 --enable-protocol-ftp FTP support
in wxProtocol
945 --enable-protocol-file FILE support
in wxProtocol
946 --enable-threads use threads
947 --enable-docview use document view architecture
948 --enable-help use
help subsystem
949 --enable-mshtmlhelp use MS HTML Help
(win32
)
950 --enable-html use wxHTML sub
-library
951 --enable-htmlhelp use wxHTML
-based help
952 --enable-xrc use XRC resources sub
-library
953 --enable-constraints use layout
-constraints system
954 --enable-printarch use printing architecture
955 --enable-mdi use multiple document interface architecture
956 --enable-mdidoc use docview architecture with MDI
957 --enable-loggui use standard GUI logger
958 --enable-logwin use wxLogWindow
959 --enable-logdialog use wxLogDialog
960 --enable-webkit use wxWebKitCtrl
(Mac
)
961 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
962 --enable-prologio not available
; see contrib
963 --enable-resources not available
; see contrib
964 --enable-clipboard use wxClipboard class
965 --enable-dnd use Drag
'n'Drop classes
966 --enable-metafile use win32 metafiles
967 --enable-controls use all usual controls
968 --enable-accel use accelerators
969 --enable-button use wxButton class
970 --enable-bmpbutton use wxBitmapButton class
971 --enable-calendar use wxCalendarCtrl class
972 --enable-caret use wxCaret class
973 --enable-checkbox use wxCheckBox class
974 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
975 --enable-choice use wxChoice class
976 --enable-choicebook use wxChoicebook class
977 --enable-combobox use wxComboBox class
978 --enable-datepick use wxDatePickerCtrl class
979 --enable-display use wxDisplay class
980 --enable-gauge use wxGauge class
981 --enable-grid use wxGrid class
982 --enable-imaglist use wxImageList class
983 --enable-listbook use wxListbook class
984 --enable-listbox use wxListBox class
985 --enable-listctrl use wxListCtrl class
986 --enable-notebook use wxNotebook class
987 --enable-radiobox use wxRadioBox class
988 --enable-radiobtn use wxRadioButton class
989 --enable-sash use wxSashWindow class
990 --enable-scrollbar use wxScrollBar class and scrollable windows
991 --enable-slider use wxSlider class
992 --enable-spinbtn use wxSpinButton class
993 --enable-spinctrl use wxSpinCtrl class
994 --enable-splitter use wxSplitterWindow class
995 --enable-statbmp use wxStaticBitmap class
996 --enable-statbox use wxStaticBox class
997 --enable-statline use wxStaticLine class
998 --enable-stattext use wxStaticText class
999 --enable-statusbar use wxStatusBar class
1000 --enable-tabdialog use wxTabControl class
1001 --enable-textctrl use wxTextCtrl class
1002 --enable-togglebtn use wxToggleButton class
1003 --enable-toolbar use wxToolBar class
1004 --enable-tbarnative use native wxToolBar class
1005 --enable-tbarsmpl use wxToolBarSimple class
1006 --enable-treectrl use wxTreeCtrl class
1007 --enable-tipwindow use wxTipWindow class
1008 --enable-popupwin use wxPopUpWindow class
1009 --enable-commondlg use all common dialogs
1010 --enable-choicedlg use wxChoiceDialog
1011 --enable-coldlg use wxColourDialog
1012 --enable-filedlg use wxFileDialog
1013 --enable-finddlg use wxFindReplaceDialog
1014 --enable-fontdlg use wxFontDialog
1015 --enable-dirdlg use wxDirDialog
1016 --enable-msgdlg use wxMessageDialog
1017 --enable-numberdlg use wxNumberEntryDialog
1018 --enable-splash use wxSplashScreen
1019 --enable-textdlg use wxTextDialog
1020 --enable-tipdlg use startup tips
1021 --enable-progressdlg use wxProgressDialog
1022 --enable-wizarddlg use wxWizard
1023 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1024 --enable-miniframe use wxMiniFrame class
1025 --enable-tooltips use wxToolTip class
1026 --enable-splines use spline drawing code
1027 --enable-validators use wxValidator and derived classes
1028 --enable-busyinfo use wxBusyInfo
1029 --enable-joystick use wxJoystick
1030 --enable-metafiles use wxMetaFile
(Windows only
)
1031 --enable-dragimage use wxDragImage
1032 --enable-accessibility enable accessibility support
1033 --enable-palette use wxPalette class
1034 --enable-image use wxImage class
1035 --enable-gif use gif images
(GIF
file format
)
1036 --enable-pcx use pcx images
(PCX
file format
)
1037 --enable-iff use iff images
(IFF
file format
)
1038 --enable-pnm use pnm images
(PNM
file format
)
1039 --enable-xpm use xpm images
(XPM
file format
)
1040 --enable-icocur use Windows ICO and CUR formats
1041 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1042 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1043 --disable-largefile omit support
for large files
1044 --disable-gtktest do not try to compile and run a
test GTK
+ program
1045 --disable-gtktest Do not try to compile and run a
test GTK program
1046 --disable-sdltest Do not try to compile and run a
test SDL program
1047 --enable-omf use OMF object format
(OS
/2)
1048 --disable-precomp-headers
1049 don
't use precompiled headers even if compiler can
1052 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1053 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1055 --with-motif use Motif/Lesstif
1056 --with-mac use Mac OS X
1057 --with-cocoa use Cocoa
1058 --with-wine use Wine
1059 --with-msw use MS-Windows
1060 --with-pm use OS/2 Presentation Manager
1061 --with-mgl use SciTech MGL
1062 --with-microwin use MicroWindows
1064 --with-libpng use libpng (PNG image format)
1065 --with-libjpeg use libjpeg (JPEG file format)
1066 --with-libtiff use libtiff (TIFF file format)
1067 --with-libxpm use libxpm (XPM file format)
1068 --with-libmspack use libmspack (CHM help files loading)
1069 --with-sdl use SDL for audio on Unix
1070 --with-gnomeprint use GNOME print for printing under Unix
1071 --with-opengl use OpenGL (or Mesa)
1072 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1073 --with-regex enable support for wxRegEx class
1074 --with-zlib use zlib for LZW compression
1075 --with-odbc use the IODBC and wxODBC classes
1076 --with-expat enable XML support using expat parser
1077 --with-flavour=NAME specify a name to identify this build
1078 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1079 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1080 --with-x use the X Window System
1081 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1082 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1083 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1084 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1085 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1087 Some influential environment variables:
1088 CC C compiler command
1089 CFLAGS C compiler flags
1090 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1091 nonstandard directory <lib dir>
1092 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1093 headers in a nonstandard directory <include dir>
1095 CXX C++ compiler command
1096 CXXFLAGS C++ compiler flags
1097 CXXCPP C++ preprocessor
1099 Use these variables to override the choices made by `configure' or to
help
1100 it to
find libraries and programs with nonstandard names
/locations.
1102 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1106 if test "$ac_init_help" = "recursive"; then
1107 # If there are subdirs, report their specific --help.
1109 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1110 test -d $ac_dir || continue
1113 if test "$ac_dir" != .
; then
1114 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1115 # A "../" for each directory in $ac_dir_suffix.
1116 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1118 ac_dir_suffix
= ac_top_builddir
=
1122 .
) # No --srcdir option. We are building in place.
1124 if test -z "$ac_top_builddir"; then
1127 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1129 [\\/]* | ?
:[\\/]* ) # Absolute path.
1130 ac_srcdir
=$srcdir$ac_dir_suffix;
1131 ac_top_srcdir
=$srcdir ;;
1133 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1134 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1137 # Do not use `cd foo && pwd` to compute absolute paths, because
1138 # the directories may not exist.
1140 .
) ac_abs_builddir
="$ac_dir";;
1143 .
) ac_abs_builddir
=`pwd`;;
1144 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1145 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1148 case $ac_abs_builddir in
1149 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1151 case ${ac_top_builddir}.
in
1152 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1153 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1154 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1157 case $ac_abs_builddir in
1158 .
) ac_abs_srcdir
=$ac_srcdir;;
1161 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1162 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1163 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1166 case $ac_abs_builddir in
1167 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1169 case $ac_top_srcdir in
1170 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1171 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1172 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1177 # Check for guested configure; otherwise get Cygnus style configure.
1178 if test -f $ac_srcdir/configure.gnu
; then
1180 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1181 elif test -f $ac_srcdir/configure
; then
1183 $SHELL $ac_srcdir/configure
--help=recursive
1184 elif test -f $ac_srcdir/configure.ac
||
1185 test -f $ac_srcdir/configure.
in; then
1187 $ac_configure --help
1189 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1195 test -n "$ac_init_help" && exit 0
1196 if $ac_init_version; then
1198 wxWidgets configure
2.5.4
1199 generated by GNU Autoconf
2.59
1201 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1202 This configure
script is free software
; the Free Software Foundation
1203 gives unlimited permission to copy
, distribute and modify it.
1209 This file contains any messages produced by compilers while
1210 running configure, to aid debugging if configure makes a mistake.
1212 It was created by wxWidgets $as_me 2.5.4, which was
1213 generated by GNU Autoconf 2.59. Invocation command line was
1224 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1225 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1226 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1227 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1228 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1230 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1231 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1233 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1234 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1235 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1236 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1237 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1238 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1239 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1247 test -z "$as_dir" && as_dir
=.
1248 echo "PATH: $as_dir"
1263 # Keep a trace of the command line.
1264 # Strip out --no-create and --no-recursion so they do not pile up.
1265 # Strip out --silent because we don't want to record it for future runs.
1266 # Also quote any args containing shell meta-characters.
1267 # Make two passes to allow for proper duplicate-argument suppression.
1272 ac_must_keep_next
=false
1278 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1279 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1280 | -silent | --silent | --silen | --sile | --sil)
1282 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1286 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1288 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1289 if test $ac_must_keep_next = true
; then
1290 ac_must_keep_next
=false
# Got value, back to normal.
1293 *=* | --config-cache | -C | -disable-* | --disable-* \
1294 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1295 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1296 | -with-* | --with-* | -without-* | --without-* | --x)
1297 case "$ac_configure_args0 " in
1298 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1301 -* ) ac_must_keep_next
=true
;;
1304 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1305 # Get rid of the leading space.
1311 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1312 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1314 # When interrupted or exit'd, cleanup temporary files, and complete
1315 # config.log. We remove comments because anyway the quotes in there
1316 # would cause problems or look ugly.
1317 # WARNING: Be sure not to use single quotes in there, as some shells,
1318 # such as our DU 5.0 friend, will then `close' the trap.
1319 trap 'exit_status=$?
1320 # Save into config.log some information that might help in debugging.
1325 ## ---------------- ##
1326 ## Cache variables. ##
1327 ## ---------------- ##
1330 # The following way of writing the cache mishandles newlines in values,
1333 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1336 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1337 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1341 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1348 ## ----------------- ##
1349 ## Output variables. ##
1350 ## ----------------- ##
1353 for ac_var in $ac_subst_vars
1355 eval ac_val=$`echo $ac_var`
1356 echo "$ac_var='"'"'$ac_val'"'"'"
1360 if test -n "$ac_subst_files"; then
1367 for ac_var in $ac_subst_files
1369 eval ac_val=$`echo $ac_var`
1370 echo "$ac_var='"'"'$ac_val'"'"'"
1375 if test -s confdefs.h; then
1382 sed "/^$/d" confdefs.h | sort
1385 test "$ac_signal" != 0 &&
1386 echo "$as_me: caught signal $ac_signal"
1387 echo "$as_me: exit $exit_status"
1389 rm -f core *.core &&
1390 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1393 for ac_signal
in 1 2 13 15; do
1394 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1398 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1399 rm -rf conftest
* confdefs.h
1400 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1403 # Predefined preprocessor variables.
1405 cat >>confdefs.h
<<_ACEOF
1406 #define PACKAGE_NAME "$PACKAGE_NAME"
1410 cat >>confdefs.h
<<_ACEOF
1411 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1415 cat >>confdefs.h
<<_ACEOF
1416 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1420 cat >>confdefs.h
<<_ACEOF
1421 #define PACKAGE_STRING "$PACKAGE_STRING"
1425 cat >>confdefs.h
<<_ACEOF
1426 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1430 # Let the site file select an alternate cache file if it wants to.
1431 # Prefer explicitly selected file to automatically selected ones.
1432 if test -z "$CONFIG_SITE"; then
1433 if test "x$prefix" != xNONE
; then
1434 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1436 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1439 for ac_site_file
in $CONFIG_SITE; do
1440 if test -r "$ac_site_file"; then
1441 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1442 echo "$as_me: loading site script $ac_site_file" >&6;}
1443 sed 's/^/| /' "$ac_site_file" >&5
1448 if test -r "$cache_file"; then
1449 # Some versions of bash will fail to source /dev/null (special
1450 # files actually), so we avoid doing that.
1451 if test -f "$cache_file"; then
1452 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1453 echo "$as_me: loading cache $cache_file" >&6;}
1455 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1456 *) . .
/$cache_file;;
1460 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1461 echo "$as_me: creating cache $cache_file" >&6;}
1465 # Check that the precious variables saved in the cache have kept the same
1467 ac_cache_corrupted
=false
1468 for ac_var
in `(set) 2>&1 |
1469 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1470 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1471 eval ac_new_set
=\
$ac_env_${ac_var}_set
1472 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1473 eval ac_new_val
="\$ac_env_${ac_var}_value"
1474 case $ac_old_set,$ac_new_set in
1476 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1477 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1478 ac_cache_corrupted
=: ;;
1480 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1481 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1482 ac_cache_corrupted
=: ;;
1485 if test "x$ac_old_val" != "x$ac_new_val"; then
1486 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1487 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1488 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1489 echo "$as_me: former value: $ac_old_val" >&2;}
1490 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1491 echo "$as_me: current value: $ac_new_val" >&2;}
1492 ac_cache_corrupted
=:
1495 # Pass precious variables to config.status.
1496 if test "$ac_new_set" = set; then
1498 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1499 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1500 *) ac_arg
=$ac_var=$ac_new_val ;;
1502 case " $ac_configure_args " in
1503 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1504 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1508 if $ac_cache_corrupted; then
1509 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1510 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1511 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1512 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1513 { (exit 1); exit 1; }; }
1517 ac_cpp
='$CPP $CPPFLAGS'
1518 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1519 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1520 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1552 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1553 if test -f $ac_dir/install-sh; then
1555 ac_install_sh
="$ac_aux_dir/install-sh -c"
1557 elif test -f $ac_dir/install.sh
; then
1559 ac_install_sh
="$ac_aux_dir/install.sh -c"
1561 elif test -f $ac_dir/shtool
; then
1563 ac_install_sh
="$ac_aux_dir/shtool install -c"
1567 if test -z "$ac_aux_dir"; then
1568 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1569 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1570 { (exit 1); exit 1; }; }
1572 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1573 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1574 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1576 # Make sure we can run config.sub.
1577 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1578 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1579 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1580 { (exit 1); exit 1; }; }
1582 echo "$as_me:$LINENO: checking build system type" >&5
1583 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1584 if test "${ac_cv_build+set}" = set; then
1585 echo $ECHO_N "(cached) $ECHO_C" >&6
1587 ac_cv_build_alias
=$build_alias
1588 test -z "$ac_cv_build_alias" &&
1589 ac_cv_build_alias
=`$ac_config_guess`
1590 test -z "$ac_cv_build_alias" &&
1591 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1592 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1593 { (exit 1); exit 1; }; }
1594 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1595 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1596 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1597 { (exit 1); exit 1; }; }
1600 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1601 echo "${ECHO_T}$ac_cv_build" >&6
1603 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1604 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1605 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1608 echo "$as_me:$LINENO: checking host system type" >&5
1609 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1610 if test "${ac_cv_host+set}" = set; then
1611 echo $ECHO_N "(cached) $ECHO_C" >&6
1613 ac_cv_host_alias
=$host_alias
1614 test -z "$ac_cv_host_alias" &&
1615 ac_cv_host_alias
=$ac_cv_build_alias
1616 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1617 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1618 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1619 { (exit 1); exit 1; }; }
1622 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1623 echo "${ECHO_T}$ac_cv_host" >&6
1625 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1626 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1627 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1630 echo "$as_me:$LINENO: checking target system type" >&5
1631 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1632 if test "${ac_cv_target+set}" = set; then
1633 echo $ECHO_N "(cached) $ECHO_C" >&6
1635 ac_cv_target_alias
=$target_alias
1636 test "x$ac_cv_target_alias" = "x" &&
1637 ac_cv_target_alias
=$ac_cv_host_alias
1638 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1639 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1640 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1641 { (exit 1); exit 1; }; }
1644 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1645 echo "${ECHO_T}$ac_cv_target" >&6
1646 target
=$ac_cv_target
1647 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1648 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1649 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1652 # The aliases save the names the user supplied, while $host etc.
1653 # will get canonicalized.
1654 test -n "$target_alias" &&
1655 test "$program_prefix$program_suffix$program_transform_name" = \
1657 program_prefix
=${target_alias}-
1661 wx_major_version_number
=2
1662 wx_minor_version_number
=5
1664 wx_subrelease_number
=1
1666 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1667 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1668 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1670 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1686 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1692 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1698 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1700 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1702 DEFAULT_wxUSE_COCOA
=0
1706 DEFAULT_wxUSE_MICROWIN
=0
1707 DEFAULT_wxUSE_MOTIF
=0
1712 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1713 DEFAULT_DEFAULT_wxUSE_GTK
=0
1714 DEFAULT_DEFAULT_wxUSE_MAC
=0
1715 DEFAULT_DEFAULT_wxUSE_MGL
=0
1716 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1717 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1718 DEFAULT_DEFAULT_wxUSE_MSW
=0
1719 DEFAULT_DEFAULT_wxUSE_PM
=0
1720 DEFAULT_DEFAULT_wxUSE_X11
=0
1725 SAMPLES_RPATH_POSTLINK
=
1730 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1731 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1733 cat >>confdefs.h
<<\_ACEOF
1740 cat >>confdefs.h
<<\_ACEOF
1745 if test "x$TMP" = "xalpha"; then
1747 cat >>confdefs.h
<<\_ACEOF
1752 DEFAULT_DEFAULT_wxUSE_GTK
=1
1754 *-*-gnu* | *-*-k*bsd
*-gnu )
1757 if test "x$TMP" = "xalpha"; then
1759 cat >>confdefs.h
<<\_ACEOF
1764 DEFAULT_DEFAULT_wxUSE_GTK
=1
1766 *-*-irix5* | *-*-irix6* )
1769 cat >>confdefs.h
<<\_ACEOF
1773 cat >>confdefs.h
<<\_ACEOF
1777 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1783 cat >>confdefs.h
<<\_ACEOF
1787 cat >>confdefs.h
<<\_ACEOF
1788 #define __SOLARIS__ 1
1791 cat >>confdefs.h
<<\_ACEOF
1795 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1796 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1802 cat >>confdefs.h
<<\_ACEOF
1806 cat >>confdefs.h
<<\_ACEOF
1810 cat >>confdefs.h
<<\_ACEOF
1814 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1819 cat >>confdefs.h
<<\_ACEOF
1820 #define __FREEBSD__ 1
1823 cat >>confdefs.h
<<\_ACEOF
1827 DEFAULT_DEFAULT_wxUSE_GTK
=1
1832 cat >>confdefs.h
<<\_ACEOF
1833 #define __OPENBSD__ 1
1836 cat >>confdefs.h
<<\_ACEOF
1840 DEFAULT_DEFAULT_wxUSE_GTK
=1
1845 cat >>confdefs.h
<<\_ACEOF
1846 #define __NETBSD__ 1
1849 cat >>confdefs.h
<<\_ACEOF
1853 DEFAULT_DEFAULT_wxUSE_GTK
=1
1858 cat >>confdefs.h
<<\_ACEOF
1862 cat >>confdefs.h
<<\_ACEOF
1866 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1867 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1872 cat >>confdefs.h
<<\_ACEOF
1876 cat >>confdefs.h
<<\_ACEOF
1880 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1885 cat >>confdefs.h
<<\_ACEOF
1889 cat >>confdefs.h
<<\_ACEOF
1893 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1900 cat >>confdefs.h
<<\_ACEOF
1904 cat >>confdefs.h
<<\_ACEOF
1908 cat >>confdefs.h
<<\_ACEOF
1912 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1919 cat >>confdefs.h
<<\_ACEOF
1920 #define __UNIXWARE__ 1
1925 *-*-cygwin* | *-*-mingw32* )
1929 DEFAULT_DEFAULT_wxUSE_MSW
=1
1935 cat >>confdefs.h
<<\_ACEOF
1940 DEFAULT_DEFAULT_wxUSE_MGL
=1
1941 LIBS
="$LIBS -lstdc++"
1944 *-pc-os2_emx | *-pc-os2-emx )
1945 cat >>confdefs.h
<<\_ACEOF
1950 cat >>confdefs.h
<<\_ACEOF
1955 DEFAULT_DEFAULT_wxUSE_PM
=1
1957 LDFLAGS
="$LDFLAGS -Zcrtdll"
1958 ac_executable_extensions
=".exe"
1959 export ac_executable_extensions
1963 for ac_dir
in $PATH; do
1965 if test -z "$ac_TEMP_PATH"; then
1966 ac_TEMP_PATH
="$ac_dir"
1968 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1971 export PATH
="$ac_TEMP_PATH"
1979 cat >>confdefs.h
<<\_ACEOF
1983 cat >>confdefs.h
<<\_ACEOF
1984 #define __DARWIN__ 1
1987 cat >>confdefs.h
<<\_ACEOF
1988 #define TARGET_CARBON 1
1991 DEFAULT_DEFAULT_wxUSE_MAC
=1
1993 powerpc
-apple-macos* )
1995 ac_cv_c_bigendian
=yes
1997 DEFAULT_DEFAULT_wxUSE_MAC
=1
2002 cat >>confdefs.h
<<\_ACEOF
2009 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2010 echo "$as_me: error: unknown system type ${host}." >&2;}
2011 { (exit 1); exit 1; }; }
2017 wx_arg_cache_file
="configarg.cache"
2018 echo "loading argument cache $wx_arg_cache_file"
2019 rm -f ${wx_arg_cache_file}.tmp
2020 touch ${wx_arg_cache_file}.tmp
2021 touch ${wx_arg_cache_file}
2025 if test $DEBUG_CONFIGURE = 1; then
2026 DEFAULT_wxUSE_UNIVERSAL
=no
2027 DEFAULT_wxUSE_STL
=no
2029 DEFAULT_wxUSE_NANOX
=no
2031 DEFAULT_wxUSE_THREADS
=yes
2033 DEFAULT_wxUSE_SHARED
=yes
2034 DEFAULT_wxUSE_OPTIMISE
=no
2035 DEFAULT_wxUSE_PROFILE
=no
2036 DEFAULT_wxUSE_NO_DEPS
=no
2037 DEFAULT_wxUSE_NO_RTTI
=no
2038 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2039 DEFAULT_wxUSE_RPATH
=yes
2040 DEFAULT_wxUSE_PERMISSIVE
=no
2041 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2042 DEFAULT_wxUSE_DEBUG_INFO
=yes
2043 DEFAULT_wxUSE_DEBUG_GDB
=yes
2044 DEFAULT_wxUSE_MEM_TRACING
=no
2045 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2046 DEFAULT_wxUSE_DMALLOC
=no
2047 DEFAULT_wxUSE_APPLE_IEEE
=no
2049 DEFAULT_wxUSE_EXCEPTIONS
=no
2050 DEFAULT_wxUSE_LOG
=yes
2051 DEFAULT_wxUSE_LOGWINDOW
=no
2052 DEFAULT_wxUSE_LOGGUI
=no
2053 DEFAULT_wxUSE_LOGDIALOG
=no
2055 DEFAULT_wxUSE_GUI
=yes
2056 DEFAULT_wxUSE_CONTROLS
=no
2058 DEFAULT_wxUSE_REGEX
=no
2059 DEFAULT_wxUSE_XML
=no
2060 DEFAULT_wxUSE_EXPAT
=no
2061 DEFAULT_wxUSE_ZLIB
=no
2062 DEFAULT_wxUSE_LIBPNG
=no
2063 DEFAULT_wxUSE_LIBJPEG
=no
2064 DEFAULT_wxUSE_LIBTIFF
=no
2065 DEFAULT_wxUSE_LIBXPM
=no
2066 DEFAULT_wxUSE_LIBMSPACK
=no
2067 DEFAULT_wxUSE_LIBSDL
=no
2068 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2069 DEFAULT_wxUSE_ODBC
=no
2070 DEFAULT_wxUSE_OPENGL
=no
2072 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2073 DEFAULT_wxUSE_STACKWALKER
=no
2074 DEFAULT_wxUSE_DEBUGREPORT
=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_STDPATHS
=no
2084 DEFAULT_wxUSE_TEXTBUFFER
=no
2085 DEFAULT_wxUSE_TEXTFILE
=no
2086 DEFAULT_wxUSE_SOUND
=no
2087 DEFAULT_wxUSE_MEDIACTRL
=no
2088 DEFAULT_wxUSE_DIRECTSHOW
=no
2089 DEFAULT_wxUSE_INTL
=no
2090 DEFAULT_wxUSE_CONFIG
=no
2091 DEFAULT_wxUSE_FONTMAP
=no
2092 DEFAULT_wxUSE_STREAMS
=no
2093 DEFAULT_wxUSE_SOCKETS
=no
2094 DEFAULT_wxUSE_OLE
=no
2095 DEFAULT_wxUSE_DATAOBJ
=no
2096 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2097 DEFAULT_wxUSE_JOYSTICK
=no
2098 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2099 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2100 DEFAULT_wxUSE_LONGLONG
=no
2101 DEFAULT_wxUSE_GEOMETRY
=no
2103 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2104 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2105 DEFAULT_wxUSE_POSTSCRIPT
=no
2107 DEFAULT_wxUSE_CLIPBOARD
=no
2108 DEFAULT_wxUSE_TOOLTIPS
=no
2109 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2110 DEFAULT_wxUSE_DRAGIMAGE
=no
2111 DEFAULT_wxUSE_SPLINES
=no
2113 DEFAULT_wxUSE_MDI
=no
2114 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2115 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2116 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2118 DEFAULT_wxUSE_RESOURCES
=no
2119 DEFAULT_wxUSE_CONSTRAINTS
=no
2120 DEFAULT_wxUSE_IPC
=no
2121 DEFAULT_wxUSE_HELP
=no
2122 DEFAULT_wxUSE_MS_HTML_HELP
=no
2123 DEFAULT_wxUSE_WXHTML_HELP
=no
2124 DEFAULT_wxUSE_TREELAYOUT
=no
2125 DEFAULT_wxUSE_METAFILE
=no
2126 DEFAULT_wxUSE_MIMETYPE
=no
2127 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2128 DEFAULT_wxUSE_PROTOCOL
=no
2129 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2130 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2131 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2132 DEFAULT_wxUSE_URL
=no
2134 DEFAULT_wxUSE_COMMONDLGS
=no
2135 DEFAULT_wxUSE_CHOICEDLG
=no
2136 DEFAULT_wxUSE_COLOURDLG
=no
2137 DEFAULT_wxUSE_DIRDLG
=no
2138 DEFAULT_wxUSE_FILEDLG
=no
2139 DEFAULT_wxUSE_FINDREPLDLG
=no
2140 DEFAULT_wxUSE_FONTDLG
=no
2141 DEFAULT_wxUSE_MSGDLG
=no
2142 DEFAULT_wxUSE_NUMBERDLG
=no
2143 DEFAULT_wxUSE_TEXTDLG
=no
2144 DEFAULT_wxUSE_SPLASH
=no
2145 DEFAULT_wxUSE_STARTUP_TIPS
=no
2146 DEFAULT_wxUSE_PROGRESSDLG
=no
2147 DEFAULT_wxUSE_WIZARDDLG
=no
2149 DEFAULT_wxUSE_MENUS
=no
2150 DEFAULT_wxUSE_MINIFRAME
=no
2151 DEFAULT_wxUSE_HTML
=no
2152 DEFAULT_wxUSE_XRC
=no
2153 DEFAULT_wxUSE_WEBKIT
=no
2154 DEFAULT_wxUSE_FILESYSTEM
=no
2155 DEFAULT_wxUSE_FS_INET
=no
2156 DEFAULT_wxUSE_FS_ZIP
=no
2157 DEFAULT_wxUSE_BUSYINFO
=no
2158 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2159 DEFAULT_wxUSE_ZIPSTREAM
=no
2160 DEFAULT_wxUSE_VALIDATORS
=no
2162 DEFAULT_wxUSE_ACCEL
=no
2163 DEFAULT_wxUSE_BUTTON
=no
2164 DEFAULT_wxUSE_BMPBUTTON
=no
2165 DEFAULT_wxUSE_CALCTRL
=no
2166 DEFAULT_wxUSE_CARET
=no
2167 DEFAULT_wxUSE_CHECKBOX
=no
2168 DEFAULT_wxUSE_CHECKLST
=no
2169 DEFAULT_wxUSE_CHOICE
=no
2170 DEFAULT_wxUSE_CHOICEBOOK
=no
2171 DEFAULT_wxUSE_COMBOBOX
=no
2172 DEFAULT_wxUSE_DATEPICKCTRL
=no
2173 DEFAULT_wxUSE_DISPLAY
=no
2174 DEFAULT_wxUSE_GAUGE
=no
2175 DEFAULT_wxUSE_GRID
=no
2176 DEFAULT_wxUSE_IMAGLIST
=no
2177 DEFAULT_wxUSE_LISTBOOK
=no
2178 DEFAULT_wxUSE_LISTBOX
=no
2179 DEFAULT_wxUSE_LISTCTRL
=no
2180 DEFAULT_wxUSE_NOTEBOOK
=no
2181 DEFAULT_wxUSE_RADIOBOX
=no
2182 DEFAULT_wxUSE_RADIOBTN
=no
2183 DEFAULT_wxUSE_SASH
=no
2184 DEFAULT_wxUSE_SCROLLBAR
=no
2185 DEFAULT_wxUSE_SLIDER
=no
2186 DEFAULT_wxUSE_SPINBTN
=no
2187 DEFAULT_wxUSE_SPINCTRL
=no
2188 DEFAULT_wxUSE_SPLITTER
=no
2189 DEFAULT_wxUSE_STATBMP
=no
2190 DEFAULT_wxUSE_STATBOX
=no
2191 DEFAULT_wxUSE_STATLINE
=no
2192 DEFAULT_wxUSE_STATTEXT
=no
2193 DEFAULT_wxUSE_STATUSBAR
=yes
2194 DEFAULT_wxUSE_TABDIALOG
=no
2195 DEFAULT_wxUSE_TEXTCTRL
=no
2196 DEFAULT_wxUSE_TOGGLEBTN
=no
2197 DEFAULT_wxUSE_TOOLBAR
=no
2198 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2199 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2200 DEFAULT_wxUSE_TREECTRL
=no
2201 DEFAULT_wxUSE_POPUPWIN
=no
2202 DEFAULT_wxUSE_TIPWINDOW
=no
2204 DEFAULT_wxUSE_UNICODE
=no
2205 DEFAULT_wxUSE_UNICODE_MSLU
=no
2206 DEFAULT_wxUSE_WCSRTOMBS
=no
2208 DEFAULT_wxUSE_PALETTE
=no
2209 DEFAULT_wxUSE_IMAGE
=no
2210 DEFAULT_wxUSE_GIF
=no
2211 DEFAULT_wxUSE_PCX
=no
2212 DEFAULT_wxUSE_PNM
=no
2213 DEFAULT_wxUSE_IFF
=no
2214 DEFAULT_wxUSE_XPM
=no
2215 DEFAULT_wxUSE_ICO_CUR
=no
2216 DEFAULT_wxUSE_ACCESSIBILITY
=no
2218 DEFAULT_wxUSE_MONOLITHIC
=no
2219 DEFAULT_wxUSE_PLUGINS
=no
2220 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2222 DEFAULT_wxUSE_UNIVERSAL
=no
2223 DEFAULT_wxUSE_STL
=no
2225 DEFAULT_wxUSE_NANOX
=no
2227 DEFAULT_wxUSE_THREADS
=yes
2229 DEFAULT_wxUSE_SHARED
=yes
2230 DEFAULT_wxUSE_OPTIMISE
=yes
2231 DEFAULT_wxUSE_PROFILE
=no
2232 DEFAULT_wxUSE_NO_DEPS
=no
2233 DEFAULT_wxUSE_NO_RTTI
=no
2234 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2235 DEFAULT_wxUSE_RPATH
=yes
2236 DEFAULT_wxUSE_PERMISSIVE
=no
2237 DEFAULT_wxUSE_DEBUG_FLAG
=no
2238 DEFAULT_wxUSE_DEBUG_INFO
=no
2239 DEFAULT_wxUSE_DEBUG_GDB
=no
2240 DEFAULT_wxUSE_MEM_TRACING
=no
2241 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2242 DEFAULT_wxUSE_DMALLOC
=no
2243 DEFAULT_wxUSE_APPLE_IEEE
=yes
2245 DEFAULT_wxUSE_EXCEPTIONS
=yes
2246 DEFAULT_wxUSE_LOG
=yes
2247 DEFAULT_wxUSE_LOGWINDOW
=yes
2248 DEFAULT_wxUSE_LOGGUI
=yes
2249 DEFAULT_wxUSE_LOGDIALOG
=yes
2251 DEFAULT_wxUSE_GUI
=yes
2253 DEFAULT_wxUSE_REGEX
=yes
2254 DEFAULT_wxUSE_XML
=yes
2255 DEFAULT_wxUSE_EXPAT
=yes
2256 DEFAULT_wxUSE_ZLIB
=yes
2257 DEFAULT_wxUSE_LIBPNG
=yes
2258 DEFAULT_wxUSE_LIBJPEG
=yes
2259 DEFAULT_wxUSE_LIBTIFF
=yes
2260 DEFAULT_wxUSE_LIBXPM
=yes
2261 DEFAULT_wxUSE_LIBMSPACK
=yes
2262 DEFAULT_wxUSE_LIBSDL
=no
2263 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2264 DEFAULT_wxUSE_ODBC
=no
2265 DEFAULT_wxUSE_OPENGL
=no
2267 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2268 DEFAULT_wxUSE_STACKWALKER
=yes
2269 DEFAULT_wxUSE_DEBUGREPORT
=yes
2270 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2271 DEFAULT_wxUSE_STD_IOSTREAM
=no
2272 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2273 DEFAULT_wxUSE_DATETIME
=yes
2274 DEFAULT_wxUSE_TIMER
=yes
2275 DEFAULT_wxUSE_STOPWATCH
=yes
2276 DEFAULT_wxUSE_FILE
=yes
2277 DEFAULT_wxUSE_FFILE
=yes
2278 DEFAULT_wxUSE_STDPATHS
=yes
2279 DEFAULT_wxUSE_TEXTBUFFER
=yes
2280 DEFAULT_wxUSE_TEXTFILE
=yes
2281 DEFAULT_wxUSE_SOUND
=yes
2282 DEFAULT_wxUSE_MEDIACTRL
=no
2283 DEFAULT_wxUSE_DIRECTSHOW
=no
2284 DEFAULT_wxUSE_INTL
=yes
2285 DEFAULT_wxUSE_CONFIG
=yes
2286 DEFAULT_wxUSE_FONTMAP
=yes
2287 DEFAULT_wxUSE_STREAMS
=yes
2288 DEFAULT_wxUSE_SOCKETS
=yes
2289 DEFAULT_wxUSE_OLE
=yes
2290 DEFAULT_wxUSE_DATAOBJ
=yes
2291 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2292 DEFAULT_wxUSE_JOYSTICK
=yes
2293 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2294 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2295 DEFAULT_wxUSE_LONGLONG
=yes
2296 DEFAULT_wxUSE_GEOMETRY
=yes
2298 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2299 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2300 DEFAULT_wxUSE_POSTSCRIPT
=yes
2302 DEFAULT_wxUSE_CLIPBOARD
=yes
2303 DEFAULT_wxUSE_TOOLTIPS
=yes
2304 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2305 DEFAULT_wxUSE_DRAGIMAGE
=yes
2306 DEFAULT_wxUSE_SPLINES
=yes
2308 DEFAULT_wxUSE_MDI
=yes
2309 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2310 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2311 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2313 DEFAULT_wxUSE_RESOURCES
=no
2314 DEFAULT_wxUSE_CONSTRAINTS
=yes
2315 DEFAULT_wxUSE_IPC
=yes
2316 DEFAULT_wxUSE_HELP
=yes
2317 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2318 DEFAULT_wxUSE_WXHTML_HELP
=yes
2319 DEFAULT_wxUSE_TREELAYOUT
=yes
2320 DEFAULT_wxUSE_METAFILE
=yes
2321 DEFAULT_wxUSE_MIMETYPE
=yes
2322 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2323 DEFAULT_wxUSE_PROTOCOL
=yes
2324 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2325 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2326 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2327 DEFAULT_wxUSE_URL
=yes
2329 DEFAULT_wxUSE_COMMONDLGS
=yes
2330 DEFAULT_wxUSE_CHOICEDLG
=yes
2331 DEFAULT_wxUSE_COLOURDLG
=yes
2332 DEFAULT_wxUSE_DIRDLG
=yes
2333 DEFAULT_wxUSE_FILEDLG
=yes
2334 DEFAULT_wxUSE_FINDREPLDLG
=yes
2335 DEFAULT_wxUSE_FONTDLG
=yes
2336 DEFAULT_wxUSE_MSGDLG
=yes
2337 DEFAULT_wxUSE_NUMBERDLG
=yes
2338 DEFAULT_wxUSE_TEXTDLG
=yes
2339 DEFAULT_wxUSE_SPLASH
=yes
2340 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2341 DEFAULT_wxUSE_PROGRESSDLG
=yes
2342 DEFAULT_wxUSE_WIZARDDLG
=yes
2344 DEFAULT_wxUSE_MENUS
=yes
2345 DEFAULT_wxUSE_MINIFRAME
=yes
2346 DEFAULT_wxUSE_HTML
=yes
2347 DEFAULT_wxUSE_XRC
=yes
2348 DEFAULT_wxUSE_WEBKIT
=yes
2349 DEFAULT_wxUSE_FILESYSTEM
=yes
2350 DEFAULT_wxUSE_FS_INET
=yes
2351 DEFAULT_wxUSE_FS_ZIP
=yes
2352 DEFAULT_wxUSE_BUSYINFO
=yes
2353 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2354 DEFAULT_wxUSE_ZIPSTREAM
=yes
2355 DEFAULT_wxUSE_VALIDATORS
=yes
2357 DEFAULT_wxUSE_ACCEL
=yes
2358 DEFAULT_wxUSE_BUTTON
=yes
2359 DEFAULT_wxUSE_BMPBUTTON
=yes
2360 DEFAULT_wxUSE_CALCTRL
=yes
2361 DEFAULT_wxUSE_CARET
=yes
2362 DEFAULT_wxUSE_CHECKBOX
=yes
2363 DEFAULT_wxUSE_CHECKLST
=yes
2364 DEFAULT_wxUSE_CHOICE
=yes
2365 DEFAULT_wxUSE_CHOICEBOOK
=yes
2366 DEFAULT_wxUSE_COMBOBOX
=yes
2367 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2368 DEFAULT_wxUSE_DISPLAY
=yes
2369 DEFAULT_wxUSE_GAUGE
=yes
2370 DEFAULT_wxUSE_GRID
=yes
2371 DEFAULT_wxUSE_IMAGLIST
=yes
2372 DEFAULT_wxUSE_LISTBOOK
=yes
2373 DEFAULT_wxUSE_LISTBOX
=yes
2374 DEFAULT_wxUSE_LISTCTRL
=yes
2375 DEFAULT_wxUSE_NOTEBOOK
=yes
2376 DEFAULT_wxUSE_RADIOBOX
=yes
2377 DEFAULT_wxUSE_RADIOBTN
=yes
2378 DEFAULT_wxUSE_SASH
=yes
2379 DEFAULT_wxUSE_SCROLLBAR
=yes
2380 DEFAULT_wxUSE_SLIDER
=yes
2381 DEFAULT_wxUSE_SPINBTN
=yes
2382 DEFAULT_wxUSE_SPINCTRL
=yes
2383 DEFAULT_wxUSE_SPLITTER
=yes
2384 DEFAULT_wxUSE_STATBMP
=yes
2385 DEFAULT_wxUSE_STATBOX
=yes
2386 DEFAULT_wxUSE_STATLINE
=yes
2387 DEFAULT_wxUSE_STATTEXT
=yes
2388 DEFAULT_wxUSE_STATUSBAR
=yes
2389 DEFAULT_wxUSE_TABDIALOG
=no
2390 DEFAULT_wxUSE_TEXTCTRL
=yes
2391 DEFAULT_wxUSE_TOGGLEBTN
=yes
2392 DEFAULT_wxUSE_TOOLBAR
=yes
2393 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2394 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2395 DEFAULT_wxUSE_TREECTRL
=yes
2396 DEFAULT_wxUSE_POPUPWIN
=yes
2397 DEFAULT_wxUSE_TIPWINDOW
=yes
2399 DEFAULT_wxUSE_UNICODE
=no
2400 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2401 DEFAULT_wxUSE_WCSRTOMBS
=no
2403 DEFAULT_wxUSE_PALETTE
=yes
2404 DEFAULT_wxUSE_IMAGE
=yes
2405 DEFAULT_wxUSE_GIF
=yes
2406 DEFAULT_wxUSE_PCX
=yes
2407 DEFAULT_wxUSE_IFF
=no
2408 DEFAULT_wxUSE_PNM
=yes
2409 DEFAULT_wxUSE_XPM
=yes
2410 DEFAULT_wxUSE_ICO_CUR
=yes
2411 DEFAULT_wxUSE_ACCESSIBILITY
=no
2413 DEFAULT_wxUSE_MONOLITHIC
=no
2414 DEFAULT_wxUSE_PLUGINS
=no
2415 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2417 DEFAULT_wxUSE_GTK2
=yes
2422 for toolkit
in `echo $ALL_TOOLKITS`; do
2423 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2424 if test "x$LINE" != "x" ; then
2425 has_toolkit_in_cache
=1
2426 eval "DEFAULT_$LINE"
2427 eval "CACHE_$toolkit=1"
2434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2435 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2437 # Check whether --enable-gui or --disable-gui was given.
2438 if test "${enable_gui+set}" = set; then
2439 enableval
="$enable_gui"
2441 if test "$enableval" = yes; then
2442 ac_cv_use_gui
='wxUSE_GUI=yes'
2444 ac_cv_use_gui
='wxUSE_GUI=no'
2449 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2450 if test "x$LINE" != x
; then
2451 eval "DEFAULT_$LINE"
2456 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2460 eval "$ac_cv_use_gui"
2461 if test "$no_cache" != 1; then
2462 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2465 if test "$wxUSE_GUI" = yes; then
2466 echo "$as_me:$LINENO: result: yes" >&5
2467 echo "${ECHO_T}yes" >&6
2469 echo "$as_me:$LINENO: result: no" >&5
2470 echo "${ECHO_T}no" >&6
2475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2476 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2478 # Check whether --enable-monolithic or --disable-monolithic was given.
2479 if test "${enable_monolithic+set}" = set; then
2480 enableval
="$enable_monolithic"
2482 if test "$enableval" = yes; then
2483 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2485 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2490 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2491 if test "x$LINE" != x
; then
2492 eval "DEFAULT_$LINE"
2497 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2501 eval "$ac_cv_use_monolithic"
2502 if test "$no_cache" != 1; then
2503 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2506 if test "$wxUSE_MONOLITHIC" = yes; then
2507 echo "$as_me:$LINENO: result: yes" >&5
2508 echo "${ECHO_T}yes" >&6
2510 echo "$as_me:$LINENO: result: no" >&5
2511 echo "${ECHO_T}no" >&6
2516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2517 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2519 # Check whether --enable-plugins or --disable-plugins was given.
2520 if test "${enable_plugins+set}" = set; then
2521 enableval
="$enable_plugins"
2523 if test "$enableval" = yes; then
2524 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2526 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2531 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2532 if test "x$LINE" != x
; then
2533 eval "DEFAULT_$LINE"
2538 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2542 eval "$ac_cv_use_plugins"
2543 if test "$no_cache" != 1; then
2544 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2547 if test "$wxUSE_PLUGINS" = yes; then
2548 echo "$as_me:$LINENO: result: yes" >&5
2549 echo "${ECHO_T}yes" >&6
2551 echo "$as_me:$LINENO: result: no" >&5
2552 echo "${ECHO_T}no" >&6
2556 if test "$wxUSE_GUI" = "yes"; then
2560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2561 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2563 # Check whether --enable-universal or --disable-universal was given.
2564 if test "${enable_universal+set}" = set; then
2565 enableval
="$enable_universal"
2567 if test "$enableval" = yes; then
2568 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2570 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2575 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2576 if test "x$LINE" != x
; then
2577 eval "DEFAULT_$LINE"
2582 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2586 eval "$ac_cv_use_universal"
2587 if test "$no_cache" != 1; then
2588 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2591 if test "$wxUSE_UNIVERSAL" = yes; then
2592 echo "$as_me:$LINENO: result: yes" >&5
2593 echo "${ECHO_T}yes" >&6
2595 echo "$as_me:$LINENO: result: no" >&5
2596 echo "${ECHO_T}no" >&6
2600 # Check whether --with-gtk or --without-gtk was given.
2601 if test "${with_gtk+set}" = set; then
2603 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2606 # Check whether --with-motif or --without-motif was given.
2607 if test "${with_motif+set}" = set; then
2608 withval
="$with_motif"
2609 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2612 # Check whether --with-mac or --without-mac was given.
2613 if test "${with_mac+set}" = set; then
2615 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2618 # Check whether --with-cocoa or --without-cocoa was given.
2619 if test "${with_cocoa+set}" = set; then
2620 withval
="$with_cocoa"
2621 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2624 # Check whether --with-wine or --without-wine was given.
2625 if test "${with_wine+set}" = set; then
2626 withval
="$with_wine"
2627 wxUSE_WINE
="$withval" CACHE_WINE
=1
2630 # Check whether --with-msw or --without-msw was given.
2631 if test "${with_msw+set}" = set; then
2633 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2636 # Check whether --with-pm or --without-pm was given.
2637 if test "${with_pm+set}" = set; then
2639 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2642 # Check whether --with-mgl or --without-mgl was given.
2643 if test "${with_mgl+set}" = set; then
2645 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2648 # Check whether --with-microwin or --without-microwin was given.
2649 if test "${with_microwin+set}" = set; then
2650 withval
="$with_microwin"
2651 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2654 # Check whether --with-x11 or --without-x11 was given.
2655 if test "${with_x11+set}" = set; then
2657 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2662 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2664 # Check whether --enable-nanox or --disable-nanox was given.
2665 if test "${enable_nanox+set}" = set; then
2666 enableval
="$enable_nanox"
2668 if test "$enableval" = yes; then
2669 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2671 ac_cv_use_nanox
='wxUSE_NANOX=no'
2676 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2677 if test "x$LINE" != x
; then
2678 eval "DEFAULT_$LINE"
2683 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2687 eval "$ac_cv_use_nanox"
2688 if test "$no_cache" != 1; then
2689 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2692 if test "$wxUSE_NANOX" = yes; then
2693 echo "$as_me:$LINENO: result: yes" >&5
2694 echo "${ECHO_T}yes" >&6
2696 echo "$as_me:$LINENO: result: no" >&5
2697 echo "${ECHO_T}no" >&6
2703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2704 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2706 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2707 if test "${enable_gtk2+set}" = set; then
2708 enableval
="$enable_gtk2"
2710 if test "$enableval" = yes; then
2711 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2713 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2718 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2719 if test "x$LINE" != x
; then
2720 eval "DEFAULT_$LINE"
2725 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2729 eval "$ac_cv_use_gtk2"
2730 if test "$no_cache" != 1; then
2731 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2734 if test "$wxUSE_GTK2" = yes; then
2735 echo "$as_me:$LINENO: result: yes" >&5
2736 echo "${ECHO_T}yes" >&6
2738 echo "$as_me:$LINENO: result: no" >&5
2739 echo "${ECHO_T}no" >&6
2744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2745 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2747 # Check whether --enable-gpe or --disable-gpe was given.
2748 if test "${enable_gpe+set}" = set; then
2749 enableval
="$enable_gpe"
2751 if test "$enableval" = yes; then
2752 ac_cv_use_gpe
='wxUSE_GPE=yes'
2754 ac_cv_use_gpe
='wxUSE_GPE=no'
2759 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2760 if test "x$LINE" != x
; then
2761 eval "DEFAULT_$LINE"
2766 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2770 eval "$ac_cv_use_gpe"
2771 if test "$no_cache" != 1; then
2772 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2775 if test "$wxUSE_GPE" = yes; then
2776 echo "$as_me:$LINENO: result: yes" >&5
2777 echo "${ECHO_T}yes" >&6
2779 echo "$as_me:$LINENO: result: no" >&5
2780 echo "${ECHO_T}no" >&6
2785 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2786 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2789 # Check whether --with-libpng or --without-libpng was given.
2790 if test "${with_libpng+set}" = set; then
2791 withval
="$with_libpng"
2793 if test "$withval" = yes; then
2794 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2795 elif test "$withval" = no
; then
2796 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2797 elif test "$withval" = sys
; then
2798 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2799 elif test "$withval" = builtin; then
2800 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2802 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2803 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2804 { (exit 1); exit 1; }; }
2809 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2810 if test "x$LINE" != x
; then
2811 eval "DEFAULT_$LINE"
2816 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2820 eval "$ac_cv_use_libpng"
2821 if test "$no_cache" != 1; then
2822 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2825 if test "$wxUSE_LIBPNG" = yes; then
2826 echo "$as_me:$LINENO: result: yes" >&5
2827 echo "${ECHO_T}yes" >&6
2828 elif test "$wxUSE_LIBPNG" = no
; then
2829 echo "$as_me:$LINENO: result: no" >&5
2830 echo "${ECHO_T}no" >&6
2831 elif test "$wxUSE_LIBPNG" = sys
; then
2832 echo "$as_me:$LINENO: result: system version" >&5
2833 echo "${ECHO_T}system version" >&6
2834 elif test "$wxUSE_LIBPNG" = builtin; then
2835 echo "$as_me:$LINENO: result: builtin version" >&5
2836 echo "${ECHO_T}builtin version" >&6
2838 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2839 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2840 { (exit 1); exit 1; }; }
2844 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2845 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2848 # Check whether --with-libjpeg or --without-libjpeg was given.
2849 if test "${with_libjpeg+set}" = set; then
2850 withval
="$with_libjpeg"
2852 if test "$withval" = yes; then
2853 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2854 elif test "$withval" = no
; then
2855 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2856 elif test "$withval" = sys
; then
2857 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2858 elif test "$withval" = builtin; then
2859 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2861 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2862 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2863 { (exit 1); exit 1; }; }
2868 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2869 if test "x$LINE" != x
; then
2870 eval "DEFAULT_$LINE"
2875 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2879 eval "$ac_cv_use_libjpeg"
2880 if test "$no_cache" != 1; then
2881 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2884 if test "$wxUSE_LIBJPEG" = yes; then
2885 echo "$as_me:$LINENO: result: yes" >&5
2886 echo "${ECHO_T}yes" >&6
2887 elif test "$wxUSE_LIBJPEG" = no
; then
2888 echo "$as_me:$LINENO: result: no" >&5
2889 echo "${ECHO_T}no" >&6
2890 elif test "$wxUSE_LIBJPEG" = sys
; then
2891 echo "$as_me:$LINENO: result: system version" >&5
2892 echo "${ECHO_T}system version" >&6
2893 elif test "$wxUSE_LIBJPEG" = builtin; then
2894 echo "$as_me:$LINENO: result: builtin version" >&5
2895 echo "${ECHO_T}builtin version" >&6
2897 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2898 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2899 { (exit 1); exit 1; }; }
2903 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2904 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2907 # Check whether --with-libtiff or --without-libtiff was given.
2908 if test "${with_libtiff+set}" = set; then
2909 withval
="$with_libtiff"
2911 if test "$withval" = yes; then
2912 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2913 elif test "$withval" = no
; then
2914 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2915 elif test "$withval" = sys
; then
2916 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2917 elif test "$withval" = builtin; then
2918 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2920 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2921 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2922 { (exit 1); exit 1; }; }
2927 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2928 if test "x$LINE" != x
; then
2929 eval "DEFAULT_$LINE"
2934 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2938 eval "$ac_cv_use_libtiff"
2939 if test "$no_cache" != 1; then
2940 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2943 if test "$wxUSE_LIBTIFF" = yes; then
2944 echo "$as_me:$LINENO: result: yes" >&5
2945 echo "${ECHO_T}yes" >&6
2946 elif test "$wxUSE_LIBTIFF" = no
; then
2947 echo "$as_me:$LINENO: result: no" >&5
2948 echo "${ECHO_T}no" >&6
2949 elif test "$wxUSE_LIBTIFF" = sys
; then
2950 echo "$as_me:$LINENO: result: system version" >&5
2951 echo "${ECHO_T}system version" >&6
2952 elif test "$wxUSE_LIBTIFF" = builtin; then
2953 echo "$as_me:$LINENO: result: builtin version" >&5
2954 echo "${ECHO_T}builtin version" >&6
2956 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2957 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2958 { (exit 1); exit 1; }; }
2962 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2963 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2966 # Check whether --with-libxpm or --without-libxpm was given.
2967 if test "${with_libxpm+set}" = set; then
2968 withval
="$with_libxpm"
2970 if test "$withval" = yes; then
2971 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2972 elif test "$withval" = no
; then
2973 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2974 elif test "$withval" = sys
; then
2975 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2976 elif test "$withval" = builtin; then
2977 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2979 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2980 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2981 { (exit 1); exit 1; }; }
2986 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x
; then
2988 eval "DEFAULT_$LINE"
2993 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2997 eval "$ac_cv_use_libxpm"
2998 if test "$no_cache" != 1; then
2999 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3002 if test "$wxUSE_LIBXPM" = yes; then
3003 echo "$as_me:$LINENO: result: yes" >&5
3004 echo "${ECHO_T}yes" >&6
3005 elif test "$wxUSE_LIBXPM" = no
; then
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3008 elif test "$wxUSE_LIBXPM" = sys
; then
3009 echo "$as_me:$LINENO: result: system version" >&5
3010 echo "${ECHO_T}system version" >&6
3011 elif test "$wxUSE_LIBXPM" = builtin; then
3012 echo "$as_me:$LINENO: result: builtin version" >&5
3013 echo "${ECHO_T}builtin version" >&6
3015 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3016 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3017 { (exit 1); exit 1; }; }
3021 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3022 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3025 # Check whether --with-libmspack or --without-libmspack was given.
3026 if test "${with_libmspack+set}" = set; then
3027 withval
="$with_libmspack"
3029 if test "$withval" = yes; then
3030 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3032 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3037 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3038 if test "x$LINE" != x
; then
3039 eval "DEFAULT_$LINE"
3044 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3048 eval "$ac_cv_use_libmspack"
3049 if test "$no_cache" != 1; then
3050 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3053 if test "$wxUSE_LIBMSPACK" = yes; then
3054 echo "$as_me:$LINENO: result: yes" >&5
3055 echo "${ECHO_T}yes" >&6
3057 echo "$as_me:$LINENO: result: no" >&5
3058 echo "${ECHO_T}no" >&6
3062 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3063 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3066 # Check whether --with-sdl or --without-sdl was given.
3067 if test "${with_sdl+set}" = set; then
3070 if test "$withval" = yes; then
3071 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3073 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3078 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3079 if test "x$LINE" != x
; then
3080 eval "DEFAULT_$LINE"
3085 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3089 eval "$ac_cv_use_sdl"
3090 if test "$no_cache" != 1; then
3091 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3094 if test "$wxUSE_LIBSDL" = yes; then
3095 echo "$as_me:$LINENO: result: yes" >&5
3096 echo "${ECHO_T}yes" >&6
3098 echo "$as_me:$LINENO: result: no" >&5
3099 echo "${ECHO_T}no" >&6
3103 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3104 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3107 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3108 if test "${with_gnomeprint+set}" = set; then
3109 withval
="$with_gnomeprint"
3111 if test "$withval" = yes; then
3112 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3114 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3119 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3120 if test "x$LINE" != x
; then
3121 eval "DEFAULT_$LINE"
3126 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3130 eval "$ac_cv_use_gnomeprint"
3131 if test "$no_cache" != 1; then
3132 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3135 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3136 echo "$as_me:$LINENO: result: yes" >&5
3137 echo "${ECHO_T}yes" >&6
3139 echo "$as_me:$LINENO: result: no" >&5
3140 echo "${ECHO_T}no" >&6
3144 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3145 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3148 # Check whether --with-opengl or --without-opengl was given.
3149 if test "${with_opengl+set}" = set; then
3150 withval
="$with_opengl"
3152 if test "$withval" = yes; then
3153 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3155 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3160 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3161 if test "x$LINE" != x
; then
3162 eval "DEFAULT_$LINE"
3167 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3171 eval "$ac_cv_use_opengl"
3172 if test "$no_cache" != 1; then
3173 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3176 if test "$wxUSE_OPENGL" = yes; then
3177 echo "$as_me:$LINENO: result: yes" >&5
3178 echo "${ECHO_T}yes" >&6
3180 echo "$as_me:$LINENO: result: no" >&5
3181 echo "${ECHO_T}no" >&6
3188 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3189 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3192 # Check whether --with-dmalloc or --without-dmalloc was given.
3193 if test "${with_dmalloc+set}" = set; then
3194 withval
="$with_dmalloc"
3196 if test "$withval" = yes; then
3197 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3199 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3204 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3205 if test "x$LINE" != x
; then
3206 eval "DEFAULT_$LINE"
3211 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3215 eval "$ac_cv_use_dmalloc"
3216 if test "$no_cache" != 1; then
3217 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3220 if test "$wxUSE_DMALLOC" = yes; then
3221 echo "$as_me:$LINENO: result: yes" >&5
3222 echo "${ECHO_T}yes" >&6
3224 echo "$as_me:$LINENO: result: no" >&5
3225 echo "${ECHO_T}no" >&6
3229 echo "$as_me:$LINENO: checking for --with-regex" >&5
3230 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3233 # Check whether --with-regex or --without-regex was given.
3234 if test "${with_regex+set}" = set; then
3235 withval
="$with_regex"
3237 if test "$withval" = yes; then
3238 ac_cv_use_regex
='wxUSE_REGEX=yes'
3239 elif test "$withval" = no
; then
3240 ac_cv_use_regex
='wxUSE_REGEX=no'
3241 elif test "$withval" = sys
; then
3242 ac_cv_use_regex
='wxUSE_REGEX=sys'
3243 elif test "$withval" = builtin; then
3244 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3246 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3247 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3248 { (exit 1); exit 1; }; }
3253 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3254 if test "x$LINE" != x
; then
3255 eval "DEFAULT_$LINE"
3260 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3264 eval "$ac_cv_use_regex"
3265 if test "$no_cache" != 1; then
3266 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3269 if test "$wxUSE_REGEX" = yes; then
3270 echo "$as_me:$LINENO: result: yes" >&5
3271 echo "${ECHO_T}yes" >&6
3272 elif test "$wxUSE_REGEX" = no
; then
3273 echo "$as_me:$LINENO: result: no" >&5
3274 echo "${ECHO_T}no" >&6
3275 elif test "$wxUSE_REGEX" = sys
; then
3276 echo "$as_me:$LINENO: result: system version" >&5
3277 echo "${ECHO_T}system version" >&6
3278 elif test "$wxUSE_REGEX" = builtin; then
3279 echo "$as_me:$LINENO: result: builtin version" >&5
3280 echo "${ECHO_T}builtin version" >&6
3282 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3283 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3284 { (exit 1); exit 1; }; }
3288 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3289 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3292 # Check whether --with-zlib or --without-zlib was given.
3293 if test "${with_zlib+set}" = set; then
3294 withval
="$with_zlib"
3296 if test "$withval" = yes; then
3297 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3298 elif test "$withval" = no
; then
3299 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3300 elif test "$withval" = sys
; then
3301 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3302 elif test "$withval" = builtin; then
3303 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3305 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3306 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3307 { (exit 1); exit 1; }; }
3312 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3313 if test "x$LINE" != x
; then
3314 eval "DEFAULT_$LINE"
3319 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3323 eval "$ac_cv_use_zlib"
3324 if test "$no_cache" != 1; then
3325 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3328 if test "$wxUSE_ZLIB" = yes; then
3329 echo "$as_me:$LINENO: result: yes" >&5
3330 echo "${ECHO_T}yes" >&6
3331 elif test "$wxUSE_ZLIB" = no
; then
3332 echo "$as_me:$LINENO: result: no" >&5
3333 echo "${ECHO_T}no" >&6
3334 elif test "$wxUSE_ZLIB" = sys
; then
3335 echo "$as_me:$LINENO: result: system version" >&5
3336 echo "${ECHO_T}system version" >&6
3337 elif test "$wxUSE_ZLIB" = builtin; then
3338 echo "$as_me:$LINENO: result: builtin version" >&5
3339 echo "${ECHO_T}builtin version" >&6
3341 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3342 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3343 { (exit 1); exit 1; }; }
3347 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3348 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3351 # Check whether --with-odbc or --without-odbc was given.
3352 if test "${with_odbc+set}" = set; then
3353 withval
="$with_odbc"
3355 if test "$withval" = yes; then
3356 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3357 elif test "$withval" = no
; then
3358 ac_cv_use_odbc
='wxUSE_ODBC=no'
3359 elif test "$withval" = sys
; then
3360 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3361 elif test "$withval" = builtin; then
3362 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3364 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3365 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3366 { (exit 1); exit 1; }; }
3371 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3372 if test "x$LINE" != x
; then
3373 eval "DEFAULT_$LINE"
3378 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3382 eval "$ac_cv_use_odbc"
3383 if test "$no_cache" != 1; then
3384 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3387 if test "$wxUSE_ODBC" = yes; then
3388 echo "$as_me:$LINENO: result: yes" >&5
3389 echo "${ECHO_T}yes" >&6
3390 elif test "$wxUSE_ODBC" = no
; then
3391 echo "$as_me:$LINENO: result: no" >&5
3392 echo "${ECHO_T}no" >&6
3393 elif test "$wxUSE_ODBC" = sys
; then
3394 echo "$as_me:$LINENO: result: system version" >&5
3395 echo "${ECHO_T}system version" >&6
3396 elif test "$wxUSE_ODBC" = builtin; then
3397 echo "$as_me:$LINENO: result: builtin version" >&5
3398 echo "${ECHO_T}builtin version" >&6
3400 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3401 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3402 { (exit 1); exit 1; }; }
3406 echo "$as_me:$LINENO: checking for --with-expat" >&5
3407 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3410 # Check whether --with-expat or --without-expat was given.
3411 if test "${with_expat+set}" = set; then
3412 withval
="$with_expat"
3414 if test "$withval" = yes; then
3415 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3416 elif test "$withval" = no
; then
3417 ac_cv_use_expat
='wxUSE_EXPAT=no'
3418 elif test "$withval" = sys
; then
3419 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3420 elif test "$withval" = builtin; then
3421 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3423 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3424 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3425 { (exit 1); exit 1; }; }
3430 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3431 if test "x$LINE" != x
; then
3432 eval "DEFAULT_$LINE"
3437 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3441 eval "$ac_cv_use_expat"
3442 if test "$no_cache" != 1; then
3443 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3446 if test "$wxUSE_EXPAT" = yes; then
3447 echo "$as_me:$LINENO: result: yes" >&5
3448 echo "${ECHO_T}yes" >&6
3449 elif test "$wxUSE_EXPAT" = no
; then
3450 echo "$as_me:$LINENO: result: no" >&5
3451 echo "${ECHO_T}no" >&6
3452 elif test "$wxUSE_EXPAT" = sys
; then
3453 echo "$as_me:$LINENO: result: system version" >&5
3454 echo "${ECHO_T}system version" >&6
3455 elif test "$wxUSE_EXPAT" = builtin; then
3456 echo "$as_me:$LINENO: result: builtin version" >&5
3457 echo "${ECHO_T}builtin version" >&6
3459 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3460 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3461 { (exit 1); exit 1; }; }
3468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3469 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3471 # Check whether --enable-shared or --disable-shared was given.
3472 if test "${enable_shared+set}" = set; then
3473 enableval
="$enable_shared"
3475 if test "$enableval" = yes; then
3476 ac_cv_use_shared
='wxUSE_SHARED=yes'
3478 ac_cv_use_shared
='wxUSE_SHARED=no'
3483 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3484 if test "x$LINE" != x
; then
3485 eval "DEFAULT_$LINE"
3490 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3494 eval "$ac_cv_use_shared"
3495 if test "$no_cache" != 1; then
3496 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3499 if test "$wxUSE_SHARED" = yes; then
3500 echo "$as_me:$LINENO: result: yes" >&5
3501 echo "${ECHO_T}yes" >&6
3503 echo "$as_me:$LINENO: result: no" >&5
3504 echo "${ECHO_T}no" >&6
3509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3510 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3512 # Check whether --enable-optimise or --disable-optimise was given.
3513 if test "${enable_optimise+set}" = set; then
3514 enableval
="$enable_optimise"
3516 if test "$enableval" = yes; then
3517 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3519 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3524 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3525 if test "x$LINE" != x
; then
3526 eval "DEFAULT_$LINE"
3531 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3535 eval "$ac_cv_use_optimise"
3536 if test "$no_cache" != 1; then
3537 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3540 if test "$wxUSE_OPTIMISE" = yes; then
3541 echo "$as_me:$LINENO: result: yes" >&5
3542 echo "${ECHO_T}yes" >&6
3544 echo "$as_me:$LINENO: result: no" >&5
3545 echo "${ECHO_T}no" >&6
3550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3551 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3553 # Check whether --enable-debug or --disable-debug was given.
3554 if test "${enable_debug+set}" = set; then
3555 enableval
="$enable_debug"
3557 if test "$enableval" = yes; then
3558 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3560 ac_cv_use_debug
='wxUSE_DEBUG=no'
3565 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3566 if test "x$LINE" != x
; then
3567 eval "DEFAULT_$LINE"
3572 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3576 eval "$ac_cv_use_debug"
3577 if test "$no_cache" != 1; then
3578 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3581 if test "$wxUSE_DEBUG" = yes; then
3582 echo "$as_me:$LINENO: result: yes" >&5
3583 echo "${ECHO_T}yes" >&6
3585 echo "$as_me:$LINENO: result: no" >&5
3586 echo "${ECHO_T}no" >&6
3591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3592 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3594 # Check whether --enable-stl or --disable-stl was given.
3595 if test "${enable_stl+set}" = set; then
3596 enableval
="$enable_stl"
3598 if test "$enableval" = yes; then
3599 ac_cv_use_stl
='wxUSE_STL=yes'
3601 ac_cv_use_stl
='wxUSE_STL=no'
3606 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3607 if test "x$LINE" != x
; then
3608 eval "DEFAULT_$LINE"
3613 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3617 eval "$ac_cv_use_stl"
3618 if test "$no_cache" != 1; then
3619 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3622 if test "$wxUSE_STL" = yes; then
3623 echo "$as_me:$LINENO: result: yes" >&5
3624 echo "${ECHO_T}yes" >&6
3626 echo "$as_me:$LINENO: result: no" >&5
3627 echo "${ECHO_T}no" >&6
3630 if test "$USE_OS2" = "1"; then
3633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3634 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3636 # Check whether --enable-omf or --disable-omf was given.
3637 if test "${enable_omf+set}" = set; then
3638 enableval
="$enable_omf"
3640 if test "$enableval" = yes; then
3641 ac_cv_use_omf
='wxUSE_OMF=yes'
3643 ac_cv_use_omf
='wxUSE_OMF=no'
3648 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3649 if test "x$LINE" != x
; then
3650 eval "DEFAULT_$LINE"
3655 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3659 eval "$ac_cv_use_omf"
3660 if test "$no_cache" != 1; then
3661 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3664 if test "$wxUSE_OMF" = yes; then
3665 echo "$as_me:$LINENO: result: yes" >&5
3666 echo "${ECHO_T}yes" >&6
3668 echo "$as_me:$LINENO: result: no" >&5
3669 echo "${ECHO_T}no" >&6
3674 if test "$wxUSE_DEBUG" = "yes"; then
3675 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3676 DEFAULT_wxUSE_DEBUG_INFO
=yes
3678 elif test "$wxUSE_DEBUG" = "no"; then
3679 DEFAULT_wxUSE_DEBUG_FLAG
=no
3680 DEFAULT_wxUSE_DEBUG_INFO
=no
3686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3687 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3689 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3690 if test "${enable_debug_flag+set}" = set; then
3691 enableval
="$enable_debug_flag"
3693 if test "$enableval" = yes; then
3694 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3696 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3701 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3702 if test "x$LINE" != x
; then
3703 eval "DEFAULT_$LINE"
3708 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3712 eval "$ac_cv_use_debug_flag"
3713 if test "$no_cache" != 1; then
3714 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3717 if test "$wxUSE_DEBUG_FLAG" = yes; then
3718 echo "$as_me:$LINENO: result: yes" >&5
3719 echo "${ECHO_T}yes" >&6
3721 echo "$as_me:$LINENO: result: no" >&5
3722 echo "${ECHO_T}no" >&6
3727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3728 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3730 # Check whether --enable-debug_info or --disable-debug_info was given.
3731 if test "${enable_debug_info+set}" = set; then
3732 enableval
="$enable_debug_info"
3734 if test "$enableval" = yes; then
3735 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3737 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3742 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3743 if test "x$LINE" != x
; then
3744 eval "DEFAULT_$LINE"
3749 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3753 eval "$ac_cv_use_debug_info"
3754 if test "$no_cache" != 1; then
3755 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3758 if test "$wxUSE_DEBUG_INFO" = yes; then
3759 echo "$as_me:$LINENO: result: yes" >&5
3760 echo "${ECHO_T}yes" >&6
3762 echo "$as_me:$LINENO: result: no" >&5
3763 echo "${ECHO_T}no" >&6
3768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3769 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3771 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3772 if test "${enable_debug_gdb+set}" = set; then
3773 enableval
="$enable_debug_gdb"
3775 if test "$enableval" = yes; then
3776 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3778 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3783 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3784 if test "x$LINE" != x
; then
3785 eval "DEFAULT_$LINE"
3790 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3794 eval "$ac_cv_use_debug_gdb"
3795 if test "$no_cache" != 1; then
3796 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3799 if test "$wxUSE_DEBUG_GDB" = yes; then
3800 echo "$as_me:$LINENO: result: yes" >&5
3801 echo "${ECHO_T}yes" >&6
3803 echo "$as_me:$LINENO: result: no" >&5
3804 echo "${ECHO_T}no" >&6
3809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3810 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3812 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3813 if test "${enable_debug_cntxt+set}" = set; then
3814 enableval
="$enable_debug_cntxt"
3816 if test "$enableval" = yes; then
3817 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3819 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3824 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3825 if test "x$LINE" != x
; then
3826 eval "DEFAULT_$LINE"
3831 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3835 eval "$ac_cv_use_debug_cntxt"
3836 if test "$no_cache" != 1; then
3837 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3840 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3841 echo "$as_me:$LINENO: result: yes" >&5
3842 echo "${ECHO_T}yes" >&6
3844 echo "$as_me:$LINENO: result: no" >&5
3845 echo "${ECHO_T}no" >&6
3850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3851 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3853 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3854 if test "${enable_mem_tracing+set}" = set; then
3855 enableval
="$enable_mem_tracing"
3857 if test "$enableval" = yes; then
3858 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3860 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3865 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3866 if test "x$LINE" != x
; then
3867 eval "DEFAULT_$LINE"
3872 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3876 eval "$ac_cv_use_mem_tracing"
3877 if test "$no_cache" != 1; then
3878 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3881 if test "$wxUSE_MEM_TRACING" = yes; then
3882 echo "$as_me:$LINENO: result: yes" >&5
3883 echo "${ECHO_T}yes" >&6
3885 echo "$as_me:$LINENO: result: no" >&5
3886 echo "${ECHO_T}no" >&6
3891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3892 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3894 # Check whether --enable-profile or --disable-profile was given.
3895 if test "${enable_profile+set}" = set; then
3896 enableval
="$enable_profile"
3898 if test "$enableval" = yes; then
3899 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3901 ac_cv_use_profile
='wxUSE_PROFILE=no'
3906 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3907 if test "x$LINE" != x
; then
3908 eval "DEFAULT_$LINE"
3913 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3917 eval "$ac_cv_use_profile"
3918 if test "$no_cache" != 1; then
3919 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3922 if test "$wxUSE_PROFILE" = yes; then
3923 echo "$as_me:$LINENO: result: yes" >&5
3924 echo "${ECHO_T}yes" >&6
3926 echo "$as_me:$LINENO: result: no" >&5
3927 echo "${ECHO_T}no" >&6
3932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3933 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3935 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3936 if test "${enable_no_rtti+set}" = set; then
3937 enableval
="$enable_no_rtti"
3939 if test "$enableval" = yes; then
3940 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3942 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3947 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3948 if test "x$LINE" != x
; then
3949 eval "DEFAULT_$LINE"
3954 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3958 eval "$ac_cv_use_no_rtti"
3959 if test "$no_cache" != 1; then
3960 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3963 if test "$wxUSE_NO_RTTI" = yes; then
3964 echo "$as_me:$LINENO: result: yes" >&5
3965 echo "${ECHO_T}yes" >&6
3967 echo "$as_me:$LINENO: result: no" >&5
3968 echo "${ECHO_T}no" >&6
3973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3974 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3976 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3977 if test "${enable_no_exceptions+set}" = set; then
3978 enableval
="$enable_no_exceptions"
3980 if test "$enableval" = yes; then
3981 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3983 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3988 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3989 if test "x$LINE" != x
; then
3990 eval "DEFAULT_$LINE"
3995 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3999 eval "$ac_cv_use_no_exceptions"
4000 if test "$no_cache" != 1; then
4001 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4004 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4005 echo "$as_me:$LINENO: result: yes" >&5
4006 echo "${ECHO_T}yes" >&6
4008 echo "$as_me:$LINENO: result: no" >&5
4009 echo "${ECHO_T}no" >&6
4014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4015 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4017 # Check whether --enable-permissive or --disable-permissive was given.
4018 if test "${enable_permissive+set}" = set; then
4019 enableval
="$enable_permissive"
4021 if test "$enableval" = yes; then
4022 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4024 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4029 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4030 if test "x$LINE" != x
; then
4031 eval "DEFAULT_$LINE"
4036 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4040 eval "$ac_cv_use_permissive"
4041 if test "$no_cache" != 1; then
4042 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4045 if test "$wxUSE_PERMISSIVE" = yes; then
4046 echo "$as_me:$LINENO: result: yes" >&5
4047 echo "${ECHO_T}yes" >&6
4049 echo "$as_me:$LINENO: result: no" >&5
4050 echo "${ECHO_T}no" >&6
4055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4056 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4058 # Check whether --enable-no_deps or --disable-no_deps was given.
4059 if test "${enable_no_deps+set}" = set; then
4060 enableval
="$enable_no_deps"
4062 if test "$enableval" = yes; then
4063 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4065 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4070 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4071 if test "x$LINE" != x
; then
4072 eval "DEFAULT_$LINE"
4077 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4081 eval "$ac_cv_use_no_deps"
4082 if test "$no_cache" != 1; then
4083 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4086 if test "$wxUSE_NO_DEPS" = yes; then
4087 echo "$as_me:$LINENO: result: yes" >&5
4088 echo "${ECHO_T}yes" >&6
4090 echo "$as_me:$LINENO: result: no" >&5
4091 echo "${ECHO_T}no" >&6
4097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4098 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4100 # Check whether --enable-compat22 or --disable-compat22 was given.
4101 if test "${enable_compat22+set}" = set; then
4102 enableval
="$enable_compat22"
4104 if test "$enableval" = yes; then
4105 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4107 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4112 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4113 if test "x$LINE" != x
; then
4114 eval "DEFAULT_$LINE"
4119 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4123 eval "$ac_cv_use_compat22"
4124 if test "$no_cache" != 1; then
4125 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4128 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4129 echo "$as_me:$LINENO: result: yes" >&5
4130 echo "${ECHO_T}yes" >&6
4132 echo "$as_me:$LINENO: result: no" >&5
4133 echo "${ECHO_T}no" >&6
4137 enablestring
=disable
4138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4139 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4141 # Check whether --enable-compat24 or --disable-compat24 was given.
4142 if test "${enable_compat24+set}" = set; then
4143 enableval
="$enable_compat24"
4145 if test "$enableval" = yes; then
4146 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4148 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4153 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4154 if test "x$LINE" != x
; then
4155 eval "DEFAULT_$LINE"
4160 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4164 eval "$ac_cv_use_compat24"
4165 if test "$no_cache" != 1; then
4166 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4169 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4170 echo "$as_me:$LINENO: result: yes" >&5
4171 echo "${ECHO_T}yes" >&6
4173 echo "$as_me:$LINENO: result: no" >&5
4174 echo "${ECHO_T}no" >&6
4180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4181 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4183 # Check whether --enable-rpath or --disable-rpath was given.
4184 if test "${enable_rpath+set}" = set; then
4185 enableval
="$enable_rpath"
4187 if test "$enableval" = yes; then
4188 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4190 ac_cv_use_rpath
='wxUSE_RPATH=no'
4195 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4196 if test "x$LINE" != x
; then
4197 eval "DEFAULT_$LINE"
4202 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4206 eval "$ac_cv_use_rpath"
4207 if test "$no_cache" != 1; then
4208 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4211 if test "$wxUSE_RPATH" = yes; then
4212 echo "$as_me:$LINENO: result: yes" >&5
4213 echo "${ECHO_T}yes" >&6
4215 echo "$as_me:$LINENO: result: no" >&5
4216 echo "${ECHO_T}no" >&6
4224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4225 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4227 # Check whether --enable-intl or --disable-intl was given.
4228 if test "${enable_intl+set}" = set; then
4229 enableval
="$enable_intl"
4231 if test "$enableval" = yes; then
4232 ac_cv_use_intl
='wxUSE_INTL=yes'
4234 ac_cv_use_intl
='wxUSE_INTL=no'
4239 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4240 if test "x$LINE" != x
; then
4241 eval "DEFAULT_$LINE"
4246 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4250 eval "$ac_cv_use_intl"
4251 if test "$no_cache" != 1; then
4252 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4255 if test "$wxUSE_INTL" = yes; then
4256 echo "$as_me:$LINENO: result: yes" >&5
4257 echo "${ECHO_T}yes" >&6
4259 echo "$as_me:$LINENO: result: no" >&5
4260 echo "${ECHO_T}no" >&6
4265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4266 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4268 # Check whether --enable-config or --disable-config was given.
4269 if test "${enable_config+set}" = set; then
4270 enableval
="$enable_config"
4272 if test "$enableval" = yes; then
4273 ac_cv_use_config
='wxUSE_CONFIG=yes'
4275 ac_cv_use_config
='wxUSE_CONFIG=no'
4280 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4281 if test "x$LINE" != x
; then
4282 eval "DEFAULT_$LINE"
4287 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4291 eval "$ac_cv_use_config"
4292 if test "$no_cache" != 1; then
4293 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4296 if test "$wxUSE_CONFIG" = yes; then
4297 echo "$as_me:$LINENO: result: yes" >&5
4298 echo "${ECHO_T}yes" >&6
4300 echo "$as_me:$LINENO: result: no" >&5
4301 echo "${ECHO_T}no" >&6
4307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4308 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4310 # Check whether --enable-protocols or --disable-protocols was given.
4311 if test "${enable_protocols+set}" = set; then
4312 enableval
="$enable_protocols"
4314 if test "$enableval" = yes; then
4315 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4317 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4322 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4323 if test "x$LINE" != x
; then
4324 eval "DEFAULT_$LINE"
4329 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4333 eval "$ac_cv_use_protocols"
4334 if test "$no_cache" != 1; then
4335 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4338 if test "$wxUSE_PROTOCOL" = yes; then
4339 echo "$as_me:$LINENO: result: yes" >&5
4340 echo "${ECHO_T}yes" >&6
4342 echo "$as_me:$LINENO: result: no" >&5
4343 echo "${ECHO_T}no" >&6
4348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4349 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4351 # Check whether --enable-ftp or --disable-ftp was given.
4352 if test "${enable_ftp+set}" = set; then
4353 enableval
="$enable_ftp"
4355 if test "$enableval" = yes; then
4356 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4358 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4363 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4364 if test "x$LINE" != x
; then
4365 eval "DEFAULT_$LINE"
4370 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4374 eval "$ac_cv_use_ftp"
4375 if test "$no_cache" != 1; then
4376 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4379 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4380 echo "$as_me:$LINENO: result: yes" >&5
4381 echo "${ECHO_T}yes" >&6
4383 echo "$as_me:$LINENO: result: no" >&5
4384 echo "${ECHO_T}no" >&6
4389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4390 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4392 # Check whether --enable-http or --disable-http was given.
4393 if test "${enable_http+set}" = set; then
4394 enableval
="$enable_http"
4396 if test "$enableval" = yes; then
4397 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4399 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4404 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4405 if test "x$LINE" != x
; then
4406 eval "DEFAULT_$LINE"
4411 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4415 eval "$ac_cv_use_http"
4416 if test "$no_cache" != 1; then
4417 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4420 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4421 echo "$as_me:$LINENO: result: yes" >&5
4422 echo "${ECHO_T}yes" >&6
4424 echo "$as_me:$LINENO: result: no" >&5
4425 echo "${ECHO_T}no" >&6
4430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4431 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4433 # Check whether --enable-fileproto or --disable-fileproto was given.
4434 if test "${enable_fileproto+set}" = set; then
4435 enableval
="$enable_fileproto"
4437 if test "$enableval" = yes; then
4438 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4440 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4445 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4446 if test "x$LINE" != x
; then
4447 eval "DEFAULT_$LINE"
4452 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4456 eval "$ac_cv_use_fileproto"
4457 if test "$no_cache" != 1; then
4458 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4461 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4462 echo "$as_me:$LINENO: result: yes" >&5
4463 echo "${ECHO_T}yes" >&6
4465 echo "$as_me:$LINENO: result: no" >&5
4466 echo "${ECHO_T}no" >&6
4471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4472 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4474 # Check whether --enable-sockets or --disable-sockets was given.
4475 if test "${enable_sockets+set}" = set; then
4476 enableval
="$enable_sockets"
4478 if test "$enableval" = yes; then
4479 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4481 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4486 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4487 if test "x$LINE" != x
; then
4488 eval "DEFAULT_$LINE"
4493 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4497 eval "$ac_cv_use_sockets"
4498 if test "$no_cache" != 1; then
4499 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4502 if test "$wxUSE_SOCKETS" = yes; then
4503 echo "$as_me:$LINENO: result: yes" >&5
4504 echo "${ECHO_T}yes" >&6
4506 echo "$as_me:$LINENO: result: no" >&5
4507 echo "${ECHO_T}no" >&6
4512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4513 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4515 # Check whether --enable-ole or --disable-ole was given.
4516 if test "${enable_ole+set}" = set; then
4517 enableval
="$enable_ole"
4519 if test "$enableval" = yes; then
4520 ac_cv_use_ole
='wxUSE_OLE=yes'
4522 ac_cv_use_ole
='wxUSE_OLE=no'
4527 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4528 if test "x$LINE" != x
; then
4529 eval "DEFAULT_$LINE"
4534 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4538 eval "$ac_cv_use_ole"
4539 if test "$no_cache" != 1; then
4540 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4543 if test "$wxUSE_OLE" = yes; then
4544 echo "$as_me:$LINENO: result: yes" >&5
4545 echo "${ECHO_T}yes" >&6
4547 echo "$as_me:$LINENO: result: no" >&5
4548 echo "${ECHO_T}no" >&6
4553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4554 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4556 # Check whether --enable-dataobj or --disable-dataobj was given.
4557 if test "${enable_dataobj+set}" = set; then
4558 enableval
="$enable_dataobj"
4560 if test "$enableval" = yes; then
4561 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4563 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4568 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4569 if test "x$LINE" != x
; then
4570 eval "DEFAULT_$LINE"
4575 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4579 eval "$ac_cv_use_dataobj"
4580 if test "$no_cache" != 1; then
4581 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4584 if test "$wxUSE_DATAOBJ" = yes; then
4585 echo "$as_me:$LINENO: result: yes" >&5
4586 echo "${ECHO_T}yes" >&6
4588 echo "$as_me:$LINENO: result: no" >&5
4589 echo "${ECHO_T}no" >&6
4595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4596 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4598 # Check whether --enable-ipc or --disable-ipc was given.
4599 if test "${enable_ipc+set}" = set; then
4600 enableval
="$enable_ipc"
4602 if test "$enableval" = yes; then
4603 ac_cv_use_ipc
='wxUSE_IPC=yes'
4605 ac_cv_use_ipc
='wxUSE_IPC=no'
4610 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4611 if test "x$LINE" != x
; then
4612 eval "DEFAULT_$LINE"
4617 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4621 eval "$ac_cv_use_ipc"
4622 if test "$no_cache" != 1; then
4623 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4626 if test "$wxUSE_IPC" = yes; then
4627 echo "$as_me:$LINENO: result: yes" >&5
4628 echo "${ECHO_T}yes" >&6
4630 echo "$as_me:$LINENO: result: no" >&5
4631 echo "${ECHO_T}no" >&6
4637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4638 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4640 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4641 if test "${enable_apple_ieee+set}" = set; then
4642 enableval
="$enable_apple_ieee"
4644 if test "$enableval" = yes; then
4645 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4647 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4652 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4653 if test "x$LINE" != x
; then
4654 eval "DEFAULT_$LINE"
4659 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4663 eval "$ac_cv_use_apple_ieee"
4664 if test "$no_cache" != 1; then
4665 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4668 if test "$wxUSE_APPLE_IEEE" = yes; then
4669 echo "$as_me:$LINENO: result: yes" >&5
4670 echo "${ECHO_T}yes" >&6
4672 echo "$as_me:$LINENO: result: no" >&5
4673 echo "${ECHO_T}no" >&6
4678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4679 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4681 # Check whether --enable-arcstream or --disable-arcstream was given.
4682 if test "${enable_arcstream+set}" = set; then
4683 enableval
="$enable_arcstream"
4685 if test "$enableval" = yes; then
4686 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4688 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4693 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4694 if test "x$LINE" != x
; then
4695 eval "DEFAULT_$LINE"
4700 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4704 eval "$ac_cv_use_arcstream"
4705 if test "$no_cache" != 1; then
4706 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4709 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4710 echo "$as_me:$LINENO: result: yes" >&5
4711 echo "${ECHO_T}yes" >&6
4713 echo "$as_me:$LINENO: result: no" >&5
4714 echo "${ECHO_T}no" >&6
4719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4720 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4722 # Check whether --enable-backtrace or --disable-backtrace was given.
4723 if test "${enable_backtrace+set}" = set; then
4724 enableval
="$enable_backtrace"
4726 if test "$enableval" = yes; then
4727 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4729 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4734 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4735 if test "x$LINE" != x
; then
4736 eval "DEFAULT_$LINE"
4741 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4745 eval "$ac_cv_use_backtrace"
4746 if test "$no_cache" != 1; then
4747 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4750 if test "$wxUSE_STACKWALKER" = yes; then
4751 echo "$as_me:$LINENO: result: yes" >&5
4752 echo "${ECHO_T}yes" >&6
4754 echo "$as_me:$LINENO: result: no" >&5
4755 echo "${ECHO_T}no" >&6
4760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4761 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4763 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4764 if test "${enable_catch_segvs+set}" = set; then
4765 enableval
="$enable_catch_segvs"
4767 if test "$enableval" = yes; then
4768 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4770 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4775 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4776 if test "x$LINE" != x
; then
4777 eval "DEFAULT_$LINE"
4782 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4786 eval "$ac_cv_use_catch_segvs"
4787 if test "$no_cache" != 1; then
4788 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4791 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4792 echo "$as_me:$LINENO: result: yes" >&5
4793 echo "${ECHO_T}yes" >&6
4795 echo "$as_me:$LINENO: result: no" >&5
4796 echo "${ECHO_T}no" >&6
4801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4802 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4804 # Check whether --enable-cmdline or --disable-cmdline was given.
4805 if test "${enable_cmdline+set}" = set; then
4806 enableval
="$enable_cmdline"
4808 if test "$enableval" = yes; then
4809 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4811 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4816 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4817 if test "x$LINE" != x
; then
4818 eval "DEFAULT_$LINE"
4823 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4827 eval "$ac_cv_use_cmdline"
4828 if test "$no_cache" != 1; then
4829 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4832 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4833 echo "$as_me:$LINENO: result: yes" >&5
4834 echo "${ECHO_T}yes" >&6
4836 echo "$as_me:$LINENO: result: no" >&5
4837 echo "${ECHO_T}no" >&6
4842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4843 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4845 # Check whether --enable-datetime or --disable-datetime was given.
4846 if test "${enable_datetime+set}" = set; then
4847 enableval
="$enable_datetime"
4849 if test "$enableval" = yes; then
4850 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4852 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4857 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4858 if test "x$LINE" != x
; then
4859 eval "DEFAULT_$LINE"
4864 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4868 eval "$ac_cv_use_datetime"
4869 if test "$no_cache" != 1; then
4870 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4873 if test "$wxUSE_DATETIME" = yes; then
4874 echo "$as_me:$LINENO: result: yes" >&5
4875 echo "${ECHO_T}yes" >&6
4877 echo "$as_me:$LINENO: result: no" >&5
4878 echo "${ECHO_T}no" >&6
4883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4884 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4886 # Check whether --enable-debugreport or --disable-debugreport was given.
4887 if test "${enable_debugreport+set}" = set; then
4888 enableval
="$enable_debugreport"
4890 if test "$enableval" = yes; then
4891 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
4893 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
4898 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4899 if test "x$LINE" != x
; then
4900 eval "DEFAULT_$LINE"
4905 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4909 eval "$ac_cv_use_debugreport"
4910 if test "$no_cache" != 1; then
4911 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4914 if test "$wxUSE_DEBUGREPORT" = yes; then
4915 echo "$as_me:$LINENO: result: yes" >&5
4916 echo "${ECHO_T}yes" >&6
4918 echo "$as_me:$LINENO: result: no" >&5
4919 echo "${ECHO_T}no" >&6
4924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4925 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4927 # Check whether --enable-dialupman or --disable-dialupman was given.
4928 if test "${enable_dialupman+set}" = set; then
4929 enableval
="$enable_dialupman"
4931 if test "$enableval" = yes; then
4932 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4934 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4939 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4940 if test "x$LINE" != x
; then
4941 eval "DEFAULT_$LINE"
4946 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4950 eval "$ac_cv_use_dialupman"
4951 if test "$no_cache" != 1; then
4952 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4955 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4956 echo "$as_me:$LINENO: result: yes" >&5
4957 echo "${ECHO_T}yes" >&6
4959 echo "$as_me:$LINENO: result: no" >&5
4960 echo "${ECHO_T}no" >&6
4965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4966 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4968 # Check whether --enable-dynlib or --disable-dynlib was given.
4969 if test "${enable_dynlib+set}" = set; then
4970 enableval
="$enable_dynlib"
4972 if test "$enableval" = yes; then
4973 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4975 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4980 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4981 if test "x$LINE" != x
; then
4982 eval "DEFAULT_$LINE"
4987 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4991 eval "$ac_cv_use_dynlib"
4992 if test "$no_cache" != 1; then
4993 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4996 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4997 echo "$as_me:$LINENO: result: yes" >&5
4998 echo "${ECHO_T}yes" >&6
5000 echo "$as_me:$LINENO: result: no" >&5
5001 echo "${ECHO_T}no" >&6
5006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5007 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5009 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5010 if test "${enable_dynamicloader+set}" = set; then
5011 enableval
="$enable_dynamicloader"
5013 if test "$enableval" = yes; then
5014 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5016 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5021 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5022 if test "x$LINE" != x
; then
5023 eval "DEFAULT_$LINE"
5028 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5032 eval "$ac_cv_use_dynamicloader"
5033 if test "$no_cache" != 1; then
5034 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5037 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5038 echo "$as_me:$LINENO: result: yes" >&5
5039 echo "${ECHO_T}yes" >&6
5041 echo "$as_me:$LINENO: result: no" >&5
5042 echo "${ECHO_T}no" >&6
5047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5048 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5050 # Check whether --enable-exceptions or --disable-exceptions was given.
5051 if test "${enable_exceptions+set}" = set; then
5052 enableval
="$enable_exceptions"
5054 if test "$enableval" = yes; then
5055 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5057 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5062 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5063 if test "x$LINE" != x
; then
5064 eval "DEFAULT_$LINE"
5069 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5073 eval "$ac_cv_use_exceptions"
5074 if test "$no_cache" != 1; then
5075 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5078 if test "$wxUSE_EXCEPTIONS" = yes; then
5079 echo "$as_me:$LINENO: result: yes" >&5
5080 echo "${ECHO_T}yes" >&6
5082 echo "$as_me:$LINENO: result: no" >&5
5083 echo "${ECHO_T}no" >&6
5088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5089 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5091 # Check whether --enable-ffile or --disable-ffile was given.
5092 if test "${enable_ffile+set}" = set; then
5093 enableval
="$enable_ffile"
5095 if test "$enableval" = yes; then
5096 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5098 ac_cv_use_ffile
='wxUSE_FFILE=no'
5103 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5104 if test "x$LINE" != x
; then
5105 eval "DEFAULT_$LINE"
5110 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5114 eval "$ac_cv_use_ffile"
5115 if test "$no_cache" != 1; then
5116 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5119 if test "$wxUSE_FFILE" = yes; then
5120 echo "$as_me:$LINENO: result: yes" >&5
5121 echo "${ECHO_T}yes" >&6
5123 echo "$as_me:$LINENO: result: no" >&5
5124 echo "${ECHO_T}no" >&6
5129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5130 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5132 # Check whether --enable-file or --disable-file was given.
5133 if test "${enable_file+set}" = set; then
5134 enableval
="$enable_file"
5136 if test "$enableval" = yes; then
5137 ac_cv_use_file
='wxUSE_FILE=yes'
5139 ac_cv_use_file
='wxUSE_FILE=no'
5144 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5145 if test "x$LINE" != x
; then
5146 eval "DEFAULT_$LINE"
5151 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5155 eval "$ac_cv_use_file"
5156 if test "$no_cache" != 1; then
5157 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5160 if test "$wxUSE_FILE" = yes; then
5161 echo "$as_me:$LINENO: result: yes" >&5
5162 echo "${ECHO_T}yes" >&6
5164 echo "$as_me:$LINENO: result: no" >&5
5165 echo "${ECHO_T}no" >&6
5170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5171 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5173 # Check whether --enable-filesystem or --disable-filesystem was given.
5174 if test "${enable_filesystem+set}" = set; then
5175 enableval
="$enable_filesystem"
5177 if test "$enableval" = yes; then
5178 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5180 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5185 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5186 if test "x$LINE" != x
; then
5187 eval "DEFAULT_$LINE"
5192 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5196 eval "$ac_cv_use_filesystem"
5197 if test "$no_cache" != 1; then
5198 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5201 if test "$wxUSE_FILESYSTEM" = yes; then
5202 echo "$as_me:$LINENO: result: yes" >&5
5203 echo "${ECHO_T}yes" >&6
5205 echo "$as_me:$LINENO: result: no" >&5
5206 echo "${ECHO_T}no" >&6
5211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5212 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5214 # Check whether --enable-fontmap or --disable-fontmap was given.
5215 if test "${enable_fontmap+set}" = set; then
5216 enableval
="$enable_fontmap"
5218 if test "$enableval" = yes; then
5219 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5221 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5226 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5227 if test "x$LINE" != x
; then
5228 eval "DEFAULT_$LINE"
5233 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5237 eval "$ac_cv_use_fontmap"
5238 if test "$no_cache" != 1; then
5239 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5242 if test "$wxUSE_FONTMAP" = yes; then
5243 echo "$as_me:$LINENO: result: yes" >&5
5244 echo "${ECHO_T}yes" >&6
5246 echo "$as_me:$LINENO: result: no" >&5
5247 echo "${ECHO_T}no" >&6
5252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5253 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5255 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5256 if test "${enable_fs_inet+set}" = set; then
5257 enableval
="$enable_fs_inet"
5259 if test "$enableval" = yes; then
5260 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5262 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5267 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5268 if test "x$LINE" != x
; then
5269 eval "DEFAULT_$LINE"
5274 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5278 eval "$ac_cv_use_fs_inet"
5279 if test "$no_cache" != 1; then
5280 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5283 if test "$wxUSE_FS_INET" = yes; then
5284 echo "$as_me:$LINENO: result: yes" >&5
5285 echo "${ECHO_T}yes" >&6
5287 echo "$as_me:$LINENO: result: no" >&5
5288 echo "${ECHO_T}no" >&6
5293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5294 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5296 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5297 if test "${enable_fs_zip+set}" = set; then
5298 enableval
="$enable_fs_zip"
5300 if test "$enableval" = yes; then
5301 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5303 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5308 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5309 if test "x$LINE" != x
; then
5310 eval "DEFAULT_$LINE"
5315 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5319 eval "$ac_cv_use_fs_zip"
5320 if test "$no_cache" != 1; then
5321 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5324 if test "$wxUSE_FS_ZIP" = yes; then
5325 echo "$as_me:$LINENO: result: yes" >&5
5326 echo "${ECHO_T}yes" >&6
5328 echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6
5334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5335 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5337 # Check whether --enable-geometry or --disable-geometry was given.
5338 if test "${enable_geometry+set}" = set; then
5339 enableval
="$enable_geometry"
5341 if test "$enableval" = yes; then
5342 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5344 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5349 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5350 if test "x$LINE" != x
; then
5351 eval "DEFAULT_$LINE"
5356 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5360 eval "$ac_cv_use_geometry"
5361 if test "$no_cache" != 1; then
5362 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5365 if test "$wxUSE_GEOMETRY" = yes; then
5366 echo "$as_me:$LINENO: result: yes" >&5
5367 echo "${ECHO_T}yes" >&6
5369 echo "$as_me:$LINENO: result: no" >&5
5370 echo "${ECHO_T}no" >&6
5375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5376 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5378 # Check whether --enable-log or --disable-log was given.
5379 if test "${enable_log+set}" = set; then
5380 enableval
="$enable_log"
5382 if test "$enableval" = yes; then
5383 ac_cv_use_log
='wxUSE_LOG=yes'
5385 ac_cv_use_log
='wxUSE_LOG=no'
5390 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5391 if test "x$LINE" != x
; then
5392 eval "DEFAULT_$LINE"
5397 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5401 eval "$ac_cv_use_log"
5402 if test "$no_cache" != 1; then
5403 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5406 if test "$wxUSE_LOG" = yes; then
5407 echo "$as_me:$LINENO: result: yes" >&5
5408 echo "${ECHO_T}yes" >&6
5410 echo "$as_me:$LINENO: result: no" >&5
5411 echo "${ECHO_T}no" >&6
5416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5417 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5419 # Check whether --enable-longlong or --disable-longlong was given.
5420 if test "${enable_longlong+set}" = set; then
5421 enableval
="$enable_longlong"
5423 if test "$enableval" = yes; then
5424 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5426 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5431 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5432 if test "x$LINE" != x
; then
5433 eval "DEFAULT_$LINE"
5438 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5442 eval "$ac_cv_use_longlong"
5443 if test "$no_cache" != 1; then
5444 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5447 if test "$wxUSE_LONGLONG" = yes; then
5448 echo "$as_me:$LINENO: result: yes" >&5
5449 echo "${ECHO_T}yes" >&6
5451 echo "$as_me:$LINENO: result: no" >&5
5452 echo "${ECHO_T}no" >&6
5457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5458 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5460 # Check whether --enable-mimetype or --disable-mimetype was given.
5461 if test "${enable_mimetype+set}" = set; then
5462 enableval
="$enable_mimetype"
5464 if test "$enableval" = yes; then
5465 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5467 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5472 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5473 if test "x$LINE" != x
; then
5474 eval "DEFAULT_$LINE"
5479 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5483 eval "$ac_cv_use_mimetype"
5484 if test "$no_cache" != 1; then
5485 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5488 if test "$wxUSE_MIMETYPE" = yes; then
5489 echo "$as_me:$LINENO: result: yes" >&5
5490 echo "${ECHO_T}yes" >&6
5492 echo "$as_me:$LINENO: result: no" >&5
5493 echo "${ECHO_T}no" >&6
5498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5499 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5501 # Check whether --enable-mslu or --disable-mslu was given.
5502 if test "${enable_mslu+set}" = set; then
5503 enableval
="$enable_mslu"
5505 if test "$enableval" = yes; then
5506 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5508 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5513 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5514 if test "x$LINE" != x
; then
5515 eval "DEFAULT_$LINE"
5520 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5524 eval "$ac_cv_use_mslu"
5525 if test "$no_cache" != 1; then
5526 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5529 if test "$wxUSE_UNICODE_MSLU" = yes; then
5530 echo "$as_me:$LINENO: result: yes" >&5
5531 echo "${ECHO_T}yes" >&6
5533 echo "$as_me:$LINENO: result: no" >&5
5534 echo "${ECHO_T}no" >&6
5539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5540 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5542 # Check whether --enable-snglinst or --disable-snglinst was given.
5543 if test "${enable_snglinst+set}" = set; then
5544 enableval
="$enable_snglinst"
5546 if test "$enableval" = yes; then
5547 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5549 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5554 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5555 if test "x$LINE" != x
; then
5556 eval "DEFAULT_$LINE"
5561 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5565 eval "$ac_cv_use_snglinst"
5566 if test "$no_cache" != 1; then
5567 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5570 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5571 echo "$as_me:$LINENO: result: yes" >&5
5572 echo "${ECHO_T}yes" >&6
5574 echo "$as_me:$LINENO: result: no" >&5
5575 echo "${ECHO_T}no" >&6
5580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5581 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5583 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5584 if test "${enable_std_iostreams+set}" = set; then
5585 enableval
="$enable_std_iostreams"
5587 if test "$enableval" = yes; then
5588 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5590 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5595 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5596 if test "x$LINE" != x
; then
5597 eval "DEFAULT_$LINE"
5602 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5606 eval "$ac_cv_use_std_iostreams"
5607 if test "$no_cache" != 1; then
5608 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5611 if test "$wxUSE_STD_IOSTREAM" = yes; then
5612 echo "$as_me:$LINENO: result: yes" >&5
5613 echo "${ECHO_T}yes" >&6
5615 echo "$as_me:$LINENO: result: no" >&5
5616 echo "${ECHO_T}no" >&6
5621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5622 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5624 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5625 if test "${enable_stdpaths+set}" = set; then
5626 enableval
="$enable_stdpaths"
5628 if test "$enableval" = yes; then
5629 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5631 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5636 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5637 if test "x$LINE" != x
; then
5638 eval "DEFAULT_$LINE"
5643 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5647 eval "$ac_cv_use_stdpaths"
5648 if test "$no_cache" != 1; then
5649 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5652 if test "$wxUSE_STDPATHS" = yes; then
5653 echo "$as_me:$LINENO: result: yes" >&5
5654 echo "${ECHO_T}yes" >&6
5656 echo "$as_me:$LINENO: result: no" >&5
5657 echo "${ECHO_T}no" >&6
5662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5663 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5665 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5666 if test "${enable_stopwatch+set}" = set; then
5667 enableval
="$enable_stopwatch"
5669 if test "$enableval" = yes; then
5670 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5672 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5677 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5678 if test "x$LINE" != x
; then
5679 eval "DEFAULT_$LINE"
5684 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5688 eval "$ac_cv_use_stopwatch"
5689 if test "$no_cache" != 1; then
5690 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5693 if test "$wxUSE_STOPWATCH" = yes; then
5694 echo "$as_me:$LINENO: result: yes" >&5
5695 echo "${ECHO_T}yes" >&6
5697 echo "$as_me:$LINENO: result: no" >&5
5698 echo "${ECHO_T}no" >&6
5703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5704 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5706 # Check whether --enable-streams or --disable-streams was given.
5707 if test "${enable_streams+set}" = set; then
5708 enableval
="$enable_streams"
5710 if test "$enableval" = yes; then
5711 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5713 ac_cv_use_streams
='wxUSE_STREAMS=no'
5718 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5719 if test "x$LINE" != x
; then
5720 eval "DEFAULT_$LINE"
5725 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5729 eval "$ac_cv_use_streams"
5730 if test "$no_cache" != 1; then
5731 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5734 if test "$wxUSE_STREAMS" = yes; then
5735 echo "$as_me:$LINENO: result: yes" >&5
5736 echo "${ECHO_T}yes" >&6
5738 echo "$as_me:$LINENO: result: no" >&5
5739 echo "${ECHO_T}no" >&6
5744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5745 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5747 # Check whether --enable-system_options or --disable-system_options was given.
5748 if test "${enable_system_options+set}" = set; then
5749 enableval
="$enable_system_options"
5751 if test "$enableval" = yes; then
5752 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5754 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5759 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5760 if test "x$LINE" != x
; then
5761 eval "DEFAULT_$LINE"
5766 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5770 eval "$ac_cv_use_system_options"
5771 if test "$no_cache" != 1; then
5772 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5775 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5776 echo "$as_me:$LINENO: result: yes" >&5
5777 echo "${ECHO_T}yes" >&6
5779 echo "$as_me:$LINENO: result: no" >&5
5780 echo "${ECHO_T}no" >&6
5785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5786 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5788 # Check whether --enable-textbuf or --disable-textbuf was given.
5789 if test "${enable_textbuf+set}" = set; then
5790 enableval
="$enable_textbuf"
5792 if test "$enableval" = yes; then
5793 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5795 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5800 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5801 if test "x$LINE" != x
; then
5802 eval "DEFAULT_$LINE"
5807 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5811 eval "$ac_cv_use_textbuf"
5812 if test "$no_cache" != 1; then
5813 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5816 if test "$wxUSE_TEXTBUFFER" = yes; then
5817 echo "$as_me:$LINENO: result: yes" >&5
5818 echo "${ECHO_T}yes" >&6
5820 echo "$as_me:$LINENO: result: no" >&5
5821 echo "${ECHO_T}no" >&6
5826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5827 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5829 # Check whether --enable-textfile or --disable-textfile was given.
5830 if test "${enable_textfile+set}" = set; then
5831 enableval
="$enable_textfile"
5833 if test "$enableval" = yes; then
5834 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5836 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5841 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5842 if test "x$LINE" != x
; then
5843 eval "DEFAULT_$LINE"
5848 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5852 eval "$ac_cv_use_textfile"
5853 if test "$no_cache" != 1; then
5854 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5857 if test "$wxUSE_TEXTFILE" = yes; then
5858 echo "$as_me:$LINENO: result: yes" >&5
5859 echo "${ECHO_T}yes" >&6
5861 echo "$as_me:$LINENO: result: no" >&5
5862 echo "${ECHO_T}no" >&6
5867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5868 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5870 # Check whether --enable-timer or --disable-timer was given.
5871 if test "${enable_timer+set}" = set; then
5872 enableval
="$enable_timer"
5874 if test "$enableval" = yes; then
5875 ac_cv_use_timer
='wxUSE_TIMER=yes'
5877 ac_cv_use_timer
='wxUSE_TIMER=no'
5882 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5883 if test "x$LINE" != x
; then
5884 eval "DEFAULT_$LINE"
5889 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5893 eval "$ac_cv_use_timer"
5894 if test "$no_cache" != 1; then
5895 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5898 if test "$wxUSE_TIMER" = yes; then
5899 echo "$as_me:$LINENO: result: yes" >&5
5900 echo "${ECHO_T}yes" >&6
5902 echo "$as_me:$LINENO: result: no" >&5
5903 echo "${ECHO_T}no" >&6
5908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5909 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5911 # Check whether --enable-unicode or --disable-unicode was given.
5912 if test "${enable_unicode+set}" = set; then
5913 enableval
="$enable_unicode"
5915 if test "$enableval" = yes; then
5916 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5918 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5923 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5924 if test "x$LINE" != x
; then
5925 eval "DEFAULT_$LINE"
5930 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5934 eval "$ac_cv_use_unicode"
5935 if test "$no_cache" != 1; then
5936 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5939 if test "$wxUSE_UNICODE" = yes; then
5940 echo "$as_me:$LINENO: result: yes" >&5
5941 echo "${ECHO_T}yes" >&6
5943 echo "$as_me:$LINENO: result: no" >&5
5944 echo "${ECHO_T}no" >&6
5949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5950 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5952 # Check whether --enable-sound or --disable-sound was given.
5953 if test "${enable_sound+set}" = set; then
5954 enableval
="$enable_sound"
5956 if test "$enableval" = yes; then
5957 ac_cv_use_sound
='wxUSE_SOUND=yes'
5959 ac_cv_use_sound
='wxUSE_SOUND=no'
5964 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5965 if test "x$LINE" != x
; then
5966 eval "DEFAULT_$LINE"
5971 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5975 eval "$ac_cv_use_sound"
5976 if test "$no_cache" != 1; then
5977 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5980 if test "$wxUSE_SOUND" = yes; then
5981 echo "$as_me:$LINENO: result: yes" >&5
5982 echo "${ECHO_T}yes" >&6
5984 echo "$as_me:$LINENO: result: no" >&5
5985 echo "${ECHO_T}no" >&6
5990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5993 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5994 if test "${enable_mediactrl+set}" = set; then
5995 enableval
="$enable_mediactrl"
5997 if test "$enableval" = yes; then
5998 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6000 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6005 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6006 if test "x$LINE" != x
; then
6007 eval "DEFAULT_$LINE"
6012 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6016 eval "$ac_cv_use_mediactrl"
6017 if test "$no_cache" != 1; then
6018 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6021 if test "$wxUSE_MEDIACTRL" = yes; then
6022 echo "$as_me:$LINENO: result: yes" >&5
6023 echo "${ECHO_T}yes" >&6
6025 echo "$as_me:$LINENO: result: no" >&5
6026 echo "${ECHO_T}no" >&6
6031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6032 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6034 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6035 if test "${enable_wxprintfv+set}" = set; then
6036 enableval
="$enable_wxprintfv"
6038 if test "$enableval" = yes; then
6039 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6041 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6046 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6047 if test "x$LINE" != x
; then
6048 eval "DEFAULT_$LINE"
6053 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6057 eval "$ac_cv_use_wxprintfv"
6058 if test "$no_cache" != 1; then
6059 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6062 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6063 echo "$as_me:$LINENO: result: yes" >&5
6064 echo "${ECHO_T}yes" >&6
6066 echo "$as_me:$LINENO: result: no" >&5
6067 echo "${ECHO_T}no" >&6
6072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6073 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6075 # Check whether --enable-zipstream or --disable-zipstream was given.
6076 if test "${enable_zipstream+set}" = set; then
6077 enableval
="$enable_zipstream"
6079 if test "$enableval" = yes; then
6080 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6082 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6087 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6088 if test "x$LINE" != x
; then
6089 eval "DEFAULT_$LINE"
6094 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6098 eval "$ac_cv_use_zipstream"
6099 if test "$no_cache" != 1; then
6100 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6103 if test "$wxUSE_ZIPSTREAM" = yes; then
6104 echo "$as_me:$LINENO: result: yes" >&5
6105 echo "${ECHO_T}yes" >&6
6107 echo "$as_me:$LINENO: result: no" >&5
6108 echo "${ECHO_T}no" >&6
6114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6115 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6117 # Check whether --enable-url or --disable-url was given.
6118 if test "${enable_url+set}" = set; then
6119 enableval
="$enable_url"
6121 if test "$enableval" = yes; then
6122 ac_cv_use_url
='wxUSE_URL=yes'
6124 ac_cv_use_url
='wxUSE_URL=no'
6129 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6130 if test "x$LINE" != x
; then
6131 eval "DEFAULT_$LINE"
6136 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6140 eval "$ac_cv_use_url"
6141 if test "$no_cache" != 1; then
6142 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6145 if test "$wxUSE_URL" = yes; then
6146 echo "$as_me:$LINENO: result: yes" >&5
6147 echo "${ECHO_T}yes" >&6
6149 echo "$as_me:$LINENO: result: no" >&5
6150 echo "${ECHO_T}no" >&6
6155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6156 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6158 # Check whether --enable-protocol or --disable-protocol was given.
6159 if test "${enable_protocol+set}" = set; then
6160 enableval
="$enable_protocol"
6162 if test "$enableval" = yes; then
6163 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6165 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6170 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6171 if test "x$LINE" != x
; then
6172 eval "DEFAULT_$LINE"
6177 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6181 eval "$ac_cv_use_protocol"
6182 if test "$no_cache" != 1; then
6183 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6186 if test "$wxUSE_PROTOCOL" = yes; then
6187 echo "$as_me:$LINENO: result: yes" >&5
6188 echo "${ECHO_T}yes" >&6
6190 echo "$as_me:$LINENO: result: no" >&5
6191 echo "${ECHO_T}no" >&6
6196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6197 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6199 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6200 if test "${enable_protocol_http+set}" = set; then
6201 enableval
="$enable_protocol_http"
6203 if test "$enableval" = yes; then
6204 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6206 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6211 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6212 if test "x$LINE" != x
; then
6213 eval "DEFAULT_$LINE"
6218 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6222 eval "$ac_cv_use_protocol_http"
6223 if test "$no_cache" != 1; then
6224 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6227 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6228 echo "$as_me:$LINENO: result: yes" >&5
6229 echo "${ECHO_T}yes" >&6
6231 echo "$as_me:$LINENO: result: no" >&5
6232 echo "${ECHO_T}no" >&6
6237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6238 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6240 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6241 if test "${enable_protocol_ftp+set}" = set; then
6242 enableval
="$enable_protocol_ftp"
6244 if test "$enableval" = yes; then
6245 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6247 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6252 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6253 if test "x$LINE" != x
; then
6254 eval "DEFAULT_$LINE"
6259 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6263 eval "$ac_cv_use_protocol_ftp"
6264 if test "$no_cache" != 1; then
6265 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6268 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6269 echo "$as_me:$LINENO: result: yes" >&5
6270 echo "${ECHO_T}yes" >&6
6272 echo "$as_me:$LINENO: result: no" >&5
6273 echo "${ECHO_T}no" >&6
6278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6279 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6281 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6282 if test "${enable_protocol_file+set}" = set; then
6283 enableval
="$enable_protocol_file"
6285 if test "$enableval" = yes; then
6286 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6288 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6293 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6294 if test "x$LINE" != x
; then
6295 eval "DEFAULT_$LINE"
6300 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6304 eval "$ac_cv_use_protocol_file"
6305 if test "$no_cache" != 1; then
6306 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6309 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6310 echo "$as_me:$LINENO: result: yes" >&5
6311 echo "${ECHO_T}yes" >&6
6313 echo "$as_me:$LINENO: result: no" >&5
6314 echo "${ECHO_T}no" >&6
6322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6323 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6325 # Check whether --enable-threads or --disable-threads was given.
6326 if test "${enable_threads+set}" = set; then
6327 enableval
="$enable_threads"
6329 if test "$enableval" = yes; then
6330 ac_cv_use_threads
='wxUSE_THREADS=yes'
6332 ac_cv_use_threads
='wxUSE_THREADS=no'
6337 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6338 if test "x$LINE" != x
; then
6339 eval "DEFAULT_$LINE"
6344 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6348 eval "$ac_cv_use_threads"
6349 if test "$no_cache" != 1; then
6350 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6353 if test "$wxUSE_THREADS" = yes; then
6354 echo "$as_me:$LINENO: result: yes" >&5
6355 echo "${ECHO_T}yes" >&6
6357 echo "$as_me:$LINENO: result: no" >&5
6358 echo "${ECHO_T}no" >&6
6362 if test "$wxUSE_GUI" = "yes"; then
6367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6368 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6370 # Check whether --enable-docview or --disable-docview was given.
6371 if test "${enable_docview+set}" = set; then
6372 enableval
="$enable_docview"
6374 if test "$enableval" = yes; then
6375 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6377 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6382 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6383 if test "x$LINE" != x
; then
6384 eval "DEFAULT_$LINE"
6389 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6393 eval "$ac_cv_use_docview"
6394 if test "$no_cache" != 1; then
6395 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6398 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6399 echo "$as_me:$LINENO: result: yes" >&5
6400 echo "${ECHO_T}yes" >&6
6402 echo "$as_me:$LINENO: result: no" >&5
6403 echo "${ECHO_T}no" >&6
6408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6409 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6411 # Check whether --enable-help or --disable-help was given.
6412 if test "${enable_help+set}" = set; then
6413 enableval
="$enable_help"
6415 if test "$enableval" = yes; then
6416 ac_cv_use_help
='wxUSE_HELP=yes'
6418 ac_cv_use_help
='wxUSE_HELP=no'
6423 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6424 if test "x$LINE" != x
; then
6425 eval "DEFAULT_$LINE"
6430 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6434 eval "$ac_cv_use_help"
6435 if test "$no_cache" != 1; then
6436 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6439 if test "$wxUSE_HELP" = yes; then
6440 echo "$as_me:$LINENO: result: yes" >&5
6441 echo "${ECHO_T}yes" >&6
6443 echo "$as_me:$LINENO: result: no" >&5
6444 echo "${ECHO_T}no" >&6
6449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6450 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6452 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6453 if test "${enable_mshtmlhelp+set}" = set; then
6454 enableval
="$enable_mshtmlhelp"
6456 if test "$enableval" = yes; then
6457 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6459 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6464 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6465 if test "x$LINE" != x
; then
6466 eval "DEFAULT_$LINE"
6471 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6475 eval "$ac_cv_use_mshtmlhelp"
6476 if test "$no_cache" != 1; then
6477 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6480 if test "$wxUSE_MS_HTML_HELP" = yes; then
6481 echo "$as_me:$LINENO: result: yes" >&5
6482 echo "${ECHO_T}yes" >&6
6484 echo "$as_me:$LINENO: result: no" >&5
6485 echo "${ECHO_T}no" >&6
6490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6491 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6493 # Check whether --enable-html or --disable-html was given.
6494 if test "${enable_html+set}" = set; then
6495 enableval
="$enable_html"
6497 if test "$enableval" = yes; then
6498 ac_cv_use_html
='wxUSE_HTML=yes'
6500 ac_cv_use_html
='wxUSE_HTML=no'
6505 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6506 if test "x$LINE" != x
; then
6507 eval "DEFAULT_$LINE"
6512 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6516 eval "$ac_cv_use_html"
6517 if test "$no_cache" != 1; then
6518 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6521 if test "$wxUSE_HTML" = yes; then
6522 echo "$as_me:$LINENO: result: yes" >&5
6523 echo "${ECHO_T}yes" >&6
6525 echo "$as_me:$LINENO: result: no" >&5
6526 echo "${ECHO_T}no" >&6
6531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6532 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6534 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6535 if test "${enable_htmlhelp+set}" = set; then
6536 enableval
="$enable_htmlhelp"
6538 if test "$enableval" = yes; then
6539 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6541 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6546 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6547 if test "x$LINE" != x
; then
6548 eval "DEFAULT_$LINE"
6553 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6557 eval "$ac_cv_use_htmlhelp"
6558 if test "$no_cache" != 1; then
6559 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6562 if test "$wxUSE_WXHTML_HELP" = yes; then
6563 echo "$as_me:$LINENO: result: yes" >&5
6564 echo "${ECHO_T}yes" >&6
6566 echo "$as_me:$LINENO: result: no" >&5
6567 echo "${ECHO_T}no" >&6
6572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6573 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6575 # Check whether --enable-xrc or --disable-xrc was given.
6576 if test "${enable_xrc+set}" = set; then
6577 enableval
="$enable_xrc"
6579 if test "$enableval" = yes; then
6580 ac_cv_use_xrc
='wxUSE_XRC=yes'
6582 ac_cv_use_xrc
='wxUSE_XRC=no'
6587 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6588 if test "x$LINE" != x
; then
6589 eval "DEFAULT_$LINE"
6594 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6598 eval "$ac_cv_use_xrc"
6599 if test "$no_cache" != 1; then
6600 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6603 if test "$wxUSE_XRC" = yes; then
6604 echo "$as_me:$LINENO: result: yes" >&5
6605 echo "${ECHO_T}yes" >&6
6607 echo "$as_me:$LINENO: result: no" >&5
6608 echo "${ECHO_T}no" >&6
6613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6614 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6616 # Check whether --enable-constraints or --disable-constraints was given.
6617 if test "${enable_constraints+set}" = set; then
6618 enableval
="$enable_constraints"
6620 if test "$enableval" = yes; then
6621 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6623 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6628 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6629 if test "x$LINE" != x
; then
6630 eval "DEFAULT_$LINE"
6635 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6639 eval "$ac_cv_use_constraints"
6640 if test "$no_cache" != 1; then
6641 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6644 if test "$wxUSE_CONSTRAINTS" = yes; then
6645 echo "$as_me:$LINENO: result: yes" >&5
6646 echo "${ECHO_T}yes" >&6
6648 echo "$as_me:$LINENO: result: no" >&5
6649 echo "${ECHO_T}no" >&6
6654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6655 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6657 # Check whether --enable-printarch or --disable-printarch was given.
6658 if test "${enable_printarch+set}" = set; then
6659 enableval
="$enable_printarch"
6661 if test "$enableval" = yes; then
6662 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6664 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6669 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6670 if test "x$LINE" != x
; then
6671 eval "DEFAULT_$LINE"
6676 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6680 eval "$ac_cv_use_printarch"
6681 if test "$no_cache" != 1; then
6682 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6685 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6686 echo "$as_me:$LINENO: result: yes" >&5
6687 echo "${ECHO_T}yes" >&6
6689 echo "$as_me:$LINENO: result: no" >&5
6690 echo "${ECHO_T}no" >&6
6695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6696 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6698 # Check whether --enable-mdi or --disable-mdi was given.
6699 if test "${enable_mdi+set}" = set; then
6700 enableval
="$enable_mdi"
6702 if test "$enableval" = yes; then
6703 ac_cv_use_mdi
='wxUSE_MDI=yes'
6705 ac_cv_use_mdi
='wxUSE_MDI=no'
6710 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6711 if test "x$LINE" != x
; then
6712 eval "DEFAULT_$LINE"
6717 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6721 eval "$ac_cv_use_mdi"
6722 if test "$no_cache" != 1; then
6723 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6726 if test "$wxUSE_MDI" = yes; then
6727 echo "$as_me:$LINENO: result: yes" >&5
6728 echo "${ECHO_T}yes" >&6
6730 echo "$as_me:$LINENO: result: no" >&5
6731 echo "${ECHO_T}no" >&6
6736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6737 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6739 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6740 if test "${enable_mdidoc+set}" = set; then
6741 enableval
="$enable_mdidoc"
6743 if test "$enableval" = yes; then
6744 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6746 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6751 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6752 if test "x$LINE" != x
; then
6753 eval "DEFAULT_$LINE"
6758 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6762 eval "$ac_cv_use_mdidoc"
6763 if test "$no_cache" != 1; then
6764 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6767 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6768 echo "$as_me:$LINENO: result: yes" >&5
6769 echo "${ECHO_T}yes" >&6
6771 echo "$as_me:$LINENO: result: no" >&5
6772 echo "${ECHO_T}no" >&6
6777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6778 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6780 # Check whether --enable-loggui or --disable-loggui was given.
6781 if test "${enable_loggui+set}" = set; then
6782 enableval
="$enable_loggui"
6784 if test "$enableval" = yes; then
6785 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6787 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6792 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6793 if test "x$LINE" != x
; then
6794 eval "DEFAULT_$LINE"
6799 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6803 eval "$ac_cv_use_loggui"
6804 if test "$no_cache" != 1; then
6805 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6808 if test "$wxUSE_LOGGUI" = yes; then
6809 echo "$as_me:$LINENO: result: yes" >&5
6810 echo "${ECHO_T}yes" >&6
6812 echo "$as_me:$LINENO: result: no" >&5
6813 echo "${ECHO_T}no" >&6
6818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6819 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6821 # Check whether --enable-logwin or --disable-logwin was given.
6822 if test "${enable_logwin+set}" = set; then
6823 enableval
="$enable_logwin"
6825 if test "$enableval" = yes; then
6826 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6828 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6833 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6834 if test "x$LINE" != x
; then
6835 eval "DEFAULT_$LINE"
6840 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6844 eval "$ac_cv_use_logwin"
6845 if test "$no_cache" != 1; then
6846 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6849 if test "$wxUSE_LOGWINDOW" = yes; then
6850 echo "$as_me:$LINENO: result: yes" >&5
6851 echo "${ECHO_T}yes" >&6
6853 echo "$as_me:$LINENO: result: no" >&5
6854 echo "${ECHO_T}no" >&6
6859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6860 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6862 # Check whether --enable-logdialog or --disable-logdialog was given.
6863 if test "${enable_logdialog+set}" = set; then
6864 enableval
="$enable_logdialog"
6866 if test "$enableval" = yes; then
6867 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6869 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6874 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6875 if test "x$LINE" != x
; then
6876 eval "DEFAULT_$LINE"
6881 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6885 eval "$ac_cv_use_logdialog"
6886 if test "$no_cache" != 1; then
6887 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6890 if test "$wxUSE_LOGDIALOG" = yes; then
6891 echo "$as_me:$LINENO: result: yes" >&5
6892 echo "${ECHO_T}yes" >&6
6894 echo "$as_me:$LINENO: result: no" >&5
6895 echo "${ECHO_T}no" >&6
6900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6901 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6903 # Check whether --enable-webkit or --disable-webkit was given.
6904 if test "${enable_webkit+set}" = set; then
6905 enableval
="$enable_webkit"
6907 if test "$enableval" = yes; then
6908 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6910 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6915 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6916 if test "x$LINE" != x
; then
6917 eval "DEFAULT_$LINE"
6922 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6926 eval "$ac_cv_use_webkit"
6927 if test "$no_cache" != 1; then
6928 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6931 if test "$wxUSE_WEBKIT" = yes; then
6932 echo "$as_me:$LINENO: result: yes" >&5
6933 echo "${ECHO_T}yes" >&6
6935 echo "$as_me:$LINENO: result: no" >&5
6936 echo "${ECHO_T}no" >&6
6942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6943 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6945 # Check whether --enable-postscript or --disable-postscript was given.
6946 if test "${enable_postscript+set}" = set; then
6947 enableval
="$enable_postscript"
6949 if test "$enableval" = yes; then
6950 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6952 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6957 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6958 if test "x$LINE" != x
; then
6959 eval "DEFAULT_$LINE"
6964 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6968 eval "$ac_cv_use_postscript"
6969 if test "$no_cache" != 1; then
6970 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6973 if test "$wxUSE_POSTSCRIPT" = 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
6986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6987 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6989 # Check whether --enable-prologio or --disable-prologio was given.
6990 if test "${enable_prologio+set}" = set; then
6991 enableval
="$enable_prologio"
6993 if test "$enableval" = yes; then
6994 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6996 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7001 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7002 if test "x$LINE" != x
; then
7003 eval "DEFAULT_$LINE"
7008 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7012 eval "$ac_cv_use_prologio"
7013 if test "$no_cache" != 1; then
7014 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7017 if test "$wxUSE_PROLOGIO" = yes; then
7018 echo "$as_me:$LINENO: result: yes" >&5
7019 echo "${ECHO_T}yes" >&6
7021 echo "$as_me:$LINENO: result: no" >&5
7022 echo "${ECHO_T}no" >&6
7027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7028 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7030 # Check whether --enable-resources or --disable-resources was given.
7031 if test "${enable_resources+set}" = set; then
7032 enableval
="$enable_resources"
7034 if test "$enableval" = yes; then
7035 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7037 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7042 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7043 if test "x$LINE" != x
; then
7044 eval "DEFAULT_$LINE"
7049 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7053 eval "$ac_cv_use_resources"
7054 if test "$no_cache" != 1; then
7055 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7058 if test "$wxUSE_RESOURCES" = yes; then
7059 echo "$as_me:$LINENO: result: yes" >&5
7060 echo "${ECHO_T}yes" >&6
7062 echo "$as_me:$LINENO: result: no" >&5
7063 echo "${ECHO_T}no" >&6
7070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7071 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7073 # Check whether --enable-clipboard or --disable-clipboard was given.
7074 if test "${enable_clipboard+set}" = set; then
7075 enableval
="$enable_clipboard"
7077 if test "$enableval" = yes; then
7078 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7080 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7085 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7086 if test "x$LINE" != x
; then
7087 eval "DEFAULT_$LINE"
7092 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7096 eval "$ac_cv_use_clipboard"
7097 if test "$no_cache" != 1; then
7098 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7101 if test "$wxUSE_CLIPBOARD" = yes; then
7102 echo "$as_me:$LINENO: result: yes" >&5
7103 echo "${ECHO_T}yes" >&6
7105 echo "$as_me:$LINENO: result: no" >&5
7106 echo "${ECHO_T}no" >&6
7111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7112 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7114 # Check whether --enable-dnd or --disable-dnd was given.
7115 if test "${enable_dnd+set}" = set; then
7116 enableval
="$enable_dnd"
7118 if test "$enableval" = yes; then
7119 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7121 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7126 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7127 if test "x$LINE" != x
; then
7128 eval "DEFAULT_$LINE"
7133 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7137 eval "$ac_cv_use_dnd"
7138 if test "$no_cache" != 1; then
7139 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7142 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7143 echo "$as_me:$LINENO: result: yes" >&5
7144 echo "${ECHO_T}yes" >&6
7146 echo "$as_me:$LINENO: result: no" >&5
7147 echo "${ECHO_T}no" >&6
7152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7153 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7155 # Check whether --enable-metafile or --disable-metafile was given.
7156 if test "${enable_metafile+set}" = set; then
7157 enableval
="$enable_metafile"
7159 if test "$enableval" = yes; then
7160 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7162 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7167 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7168 if test "x$LINE" != x
; then
7169 eval "DEFAULT_$LINE"
7174 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7178 eval "$ac_cv_use_metafile"
7179 if test "$no_cache" != 1; then
7180 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7183 if test "$wxUSE_METAFILE" = yes; then
7184 echo "$as_me:$LINENO: result: yes" >&5
7185 echo "${ECHO_T}yes" >&6
7187 echo "$as_me:$LINENO: result: no" >&5
7188 echo "${ECHO_T}no" >&6
7196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7197 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7199 # Check whether --enable-controls or --disable-controls was given.
7200 if test "${enable_controls+set}" = set; then
7201 enableval
="$enable_controls"
7203 if test "$enableval" = yes; then
7204 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7206 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7211 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7212 if test "x$LINE" != x
; then
7213 eval "DEFAULT_$LINE"
7218 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7222 eval "$ac_cv_use_controls"
7223 if test "$no_cache" != 1; then
7224 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7227 if test "$wxUSE_CONTROLS" = yes; then
7228 echo "$as_me:$LINENO: result: yes" >&5
7229 echo "${ECHO_T}yes" >&6
7231 echo "$as_me:$LINENO: result: no" >&5
7232 echo "${ECHO_T}no" >&6
7236 if test "$wxUSE_CONTROLS" = "yes"; then
7237 DEFAULT_wxUSE_ACCEL
=yes
7238 DEFAULT_wxUSE_BMPBUTTON
=yes
7239 DEFAULT_wxUSE_BUTTON
=yes
7240 DEFAULT_wxUSE_CALCTRL
=yes
7241 DEFAULT_wxUSE_CARET
=yes
7242 DEFAULT_wxUSE_COMBOBOX
=yes
7243 DEFAULT_wxUSE_CHECKBOX
=yes
7244 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7245 DEFAULT_wxUSE_CHOICE
=yes
7246 DEFAULT_wxUSE_CHOICEBOOK
=yes
7247 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7248 DEFAULT_wxUSE_GAUGE
=yes
7249 DEFAULT_wxUSE_GRID
=yes
7250 DEFAULT_wxUSE_IMAGLIST
=yes
7251 DEFAULT_wxUSE_LISTBOOK
=yes
7252 DEFAULT_wxUSE_LISTBOX
=yes
7253 DEFAULT_wxUSE_LISTCTRL
=yes
7254 DEFAULT_wxUSE_NOTEBOOK
=yes
7255 DEFAULT_wxUSE_RADIOBOX
=yes
7256 DEFAULT_wxUSE_RADIOBTN
=yes
7257 DEFAULT_wxUSE_SASH
=yes
7258 DEFAULT_wxUSE_SCROLLBAR
=yes
7259 DEFAULT_wxUSE_SLIDER
=yes
7260 DEFAULT_wxUSE_SPINBTN
=yes
7261 DEFAULT_wxUSE_SPINCTRL
=yes
7262 DEFAULT_wxUSE_SPLITTER
=yes
7263 DEFAULT_wxUSE_STATBMP
=yes
7264 DEFAULT_wxUSE_STATBOX
=yes
7265 DEFAULT_wxUSE_STATLINE
=yes
7266 DEFAULT_wxUSE_STATUSBAR
=yes
7267 DEFAULT_wxUSE_TAB_DIALOG
=yes
7268 DEFAULT_wxUSE_TOGGLEBTN
=yes
7269 DEFAULT_wxUSE_TOOLBAR
=yes
7270 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7271 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7272 DEFAULT_wxUSE_TOOLTIPS
=yes
7273 DEFAULT_wxUSE_TREECTRL
=yes
7274 DEFAULT_wxUSE_POPUPWIN
=yes
7275 DEFAULT_wxUSE_TIPWINDOW
=yes
7276 elif test "$wxUSE_CONTROLS" = "no"; then
7277 DEFAULT_wxUSE_ACCEL
=no
7278 DEFAULT_wxUSE_BMPBUTTON
=no
7279 DEFAULT_wxUSE_BUTTON
=no
7280 DEFAULT_wxUSE_CALCTRL
=no
7281 DEFAULT_wxUSE_CARET
=no
7282 DEFAULT_wxUSE_COMBOBOX
=no
7283 DEFAULT_wxUSE_CHECKBOX
=no
7284 DEFAULT_wxUSE_CHECKLISTBOX
=no
7285 DEFAULT_wxUSE_CHOICE
=no
7286 DEFAULT_wxUSE_CHOICEBOOK
=no
7287 DEFAULT_wxUSE_DATEPICKCTRL
=no
7288 DEFAULT_wxUSE_GAUGE
=no
7289 DEFAULT_wxUSE_GRID
=no
7290 DEFAULT_wxUSE_IMAGLIST
=no
7291 DEFAULT_wxUSE_LISTBOOK
=no
7292 DEFAULT_wxUSE_LISTBOX
=no
7293 DEFAULT_wxUSE_LISTCTRL
=no
7294 DEFAULT_wxUSE_NOTEBOOK
=no
7295 DEFAULT_wxUSE_RADIOBOX
=no
7296 DEFAULT_wxUSE_RADIOBTN
=no
7297 DEFAULT_wxUSE_SASH
=no
7298 DEFAULT_wxUSE_SCROLLBAR
=no
7299 DEFAULT_wxUSE_SLIDER
=no
7300 DEFAULT_wxUSE_SPINBTN
=no
7301 DEFAULT_wxUSE_SPINCTRL
=no
7302 DEFAULT_wxUSE_SPLITTER
=no
7303 DEFAULT_wxUSE_STATBMP
=no
7304 DEFAULT_wxUSE_STATBOX
=no
7305 DEFAULT_wxUSE_STATLINE
=no
7306 DEFAULT_wxUSE_STATUSBAR
=no
7307 DEFAULT_wxUSE_TAB_DIALOG
=no
7308 DEFAULT_wxUSE_TOGGLEBTN
=no
7309 DEFAULT_wxUSE_TOOLBAR
=no
7310 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7311 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7312 DEFAULT_wxUSE_TOOLTIPS
=no
7313 DEFAULT_wxUSE_TREECTRL
=no
7314 DEFAULT_wxUSE_POPUPWIN
=no
7315 DEFAULT_wxUSE_TIPWINDOW
=no
7320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7321 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7323 # Check whether --enable-accel or --disable-accel was given.
7324 if test "${enable_accel+set}" = set; then
7325 enableval
="$enable_accel"
7327 if test "$enableval" = yes; then
7328 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7330 ac_cv_use_accel
='wxUSE_ACCEL=no'
7335 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7336 if test "x$LINE" != x
; then
7337 eval "DEFAULT_$LINE"
7342 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7346 eval "$ac_cv_use_accel"
7347 if test "$no_cache" != 1; then
7348 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7351 if test "$wxUSE_ACCEL" = yes; then
7352 echo "$as_me:$LINENO: result: yes" >&5
7353 echo "${ECHO_T}yes" >&6
7355 echo "$as_me:$LINENO: result: no" >&5
7356 echo "${ECHO_T}no" >&6
7361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7362 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7364 # Check whether --enable-button or --disable-button was given.
7365 if test "${enable_button+set}" = set; then
7366 enableval
="$enable_button"
7368 if test "$enableval" = yes; then
7369 ac_cv_use_button
='wxUSE_BUTTON=yes'
7371 ac_cv_use_button
='wxUSE_BUTTON=no'
7376 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7377 if test "x$LINE" != x
; then
7378 eval "DEFAULT_$LINE"
7383 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7387 eval "$ac_cv_use_button"
7388 if test "$no_cache" != 1; then
7389 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7392 if test "$wxUSE_BUTTON" = yes; then
7393 echo "$as_me:$LINENO: result: yes" >&5
7394 echo "${ECHO_T}yes" >&6
7396 echo "$as_me:$LINENO: result: no" >&5
7397 echo "${ECHO_T}no" >&6
7402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7403 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7405 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7406 if test "${enable_bmpbutton+set}" = set; then
7407 enableval
="$enable_bmpbutton"
7409 if test "$enableval" = yes; then
7410 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7412 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7417 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7418 if test "x$LINE" != x
; then
7419 eval "DEFAULT_$LINE"
7424 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7428 eval "$ac_cv_use_bmpbutton"
7429 if test "$no_cache" != 1; then
7430 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7433 if test "$wxUSE_BMPBUTTON" = yes; then
7434 echo "$as_me:$LINENO: result: yes" >&5
7435 echo "${ECHO_T}yes" >&6
7437 echo "$as_me:$LINENO: result: no" >&5
7438 echo "${ECHO_T}no" >&6
7443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7444 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7446 # Check whether --enable-calendar or --disable-calendar was given.
7447 if test "${enable_calendar+set}" = set; then
7448 enableval
="$enable_calendar"
7450 if test "$enableval" = yes; then
7451 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7453 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7458 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7459 if test "x$LINE" != x
; then
7460 eval "DEFAULT_$LINE"
7465 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7469 eval "$ac_cv_use_calendar"
7470 if test "$no_cache" != 1; then
7471 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7474 if test "$wxUSE_CALCTRL" = yes; then
7475 echo "$as_me:$LINENO: result: yes" >&5
7476 echo "${ECHO_T}yes" >&6
7478 echo "$as_me:$LINENO: result: no" >&5
7479 echo "${ECHO_T}no" >&6
7484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7485 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7487 # Check whether --enable-caret or --disable-caret was given.
7488 if test "${enable_caret+set}" = set; then
7489 enableval
="$enable_caret"
7491 if test "$enableval" = yes; then
7492 ac_cv_use_caret
='wxUSE_CARET=yes'
7494 ac_cv_use_caret
='wxUSE_CARET=no'
7499 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7500 if test "x$LINE" != x
; then
7501 eval "DEFAULT_$LINE"
7506 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7510 eval "$ac_cv_use_caret"
7511 if test "$no_cache" != 1; then
7512 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7515 if test "$wxUSE_CARET" = yes; then
7516 echo "$as_me:$LINENO: result: yes" >&5
7517 echo "${ECHO_T}yes" >&6
7519 echo "$as_me:$LINENO: result: no" >&5
7520 echo "${ECHO_T}no" >&6
7525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7526 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7528 # Check whether --enable-checkbox or --disable-checkbox was given.
7529 if test "${enable_checkbox+set}" = set; then
7530 enableval
="$enable_checkbox"
7532 if test "$enableval" = yes; then
7533 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7535 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7540 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7541 if test "x$LINE" != x
; then
7542 eval "DEFAULT_$LINE"
7547 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7551 eval "$ac_cv_use_checkbox"
7552 if test "$no_cache" != 1; then
7553 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7556 if test "$wxUSE_CHECKBOX" = yes; then
7557 echo "$as_me:$LINENO: result: yes" >&5
7558 echo "${ECHO_T}yes" >&6
7560 echo "$as_me:$LINENO: result: no" >&5
7561 echo "${ECHO_T}no" >&6
7566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7567 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7569 # Check whether --enable-checklst or --disable-checklst was given.
7570 if test "${enable_checklst+set}" = set; then
7571 enableval
="$enable_checklst"
7573 if test "$enableval" = yes; then
7574 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7576 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7581 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7582 if test "x$LINE" != x
; then
7583 eval "DEFAULT_$LINE"
7588 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7592 eval "$ac_cv_use_checklst"
7593 if test "$no_cache" != 1; then
7594 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7597 if test "$wxUSE_CHECKLST" = yes; then
7598 echo "$as_me:$LINENO: result: yes" >&5
7599 echo "${ECHO_T}yes" >&6
7601 echo "$as_me:$LINENO: result: no" >&5
7602 echo "${ECHO_T}no" >&6
7607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7608 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7610 # Check whether --enable-choice or --disable-choice was given.
7611 if test "${enable_choice+set}" = set; then
7612 enableval
="$enable_choice"
7614 if test "$enableval" = yes; then
7615 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7617 ac_cv_use_choice
='wxUSE_CHOICE=no'
7622 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7623 if test "x$LINE" != x
; then
7624 eval "DEFAULT_$LINE"
7629 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7633 eval "$ac_cv_use_choice"
7634 if test "$no_cache" != 1; then
7635 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7638 if test "$wxUSE_CHOICE" = yes; then
7639 echo "$as_me:$LINENO: result: yes" >&5
7640 echo "${ECHO_T}yes" >&6
7642 echo "$as_me:$LINENO: result: no" >&5
7643 echo "${ECHO_T}no" >&6
7648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7649 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7651 # Check whether --enable-choicebook or --disable-choicebook was given.
7652 if test "${enable_choicebook+set}" = set; then
7653 enableval
="$enable_choicebook"
7655 if test "$enableval" = yes; then
7656 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7658 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7663 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7664 if test "x$LINE" != x
; then
7665 eval "DEFAULT_$LINE"
7670 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7674 eval "$ac_cv_use_choicebook"
7675 if test "$no_cache" != 1; then
7676 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7679 if test "$wxUSE_CHOICEBOOK" = yes; then
7680 echo "$as_me:$LINENO: result: yes" >&5
7681 echo "${ECHO_T}yes" >&6
7683 echo "$as_me:$LINENO: result: no" >&5
7684 echo "${ECHO_T}no" >&6
7689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7690 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7692 # Check whether --enable-combobox or --disable-combobox was given.
7693 if test "${enable_combobox+set}" = set; then
7694 enableval
="$enable_combobox"
7696 if test "$enableval" = yes; then
7697 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7699 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7704 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7705 if test "x$LINE" != x
; then
7706 eval "DEFAULT_$LINE"
7711 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7715 eval "$ac_cv_use_combobox"
7716 if test "$no_cache" != 1; then
7717 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7720 if test "$wxUSE_COMBOBOX" = yes; then
7721 echo "$as_me:$LINENO: result: yes" >&5
7722 echo "${ECHO_T}yes" >&6
7724 echo "$as_me:$LINENO: result: no" >&5
7725 echo "${ECHO_T}no" >&6
7730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7731 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7733 # Check whether --enable-datepick or --disable-datepick was given.
7734 if test "${enable_datepick+set}" = set; then
7735 enableval
="$enable_datepick"
7737 if test "$enableval" = yes; then
7738 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
7740 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
7745 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7746 if test "x$LINE" != x
; then
7747 eval "DEFAULT_$LINE"
7752 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7756 eval "$ac_cv_use_datepick"
7757 if test "$no_cache" != 1; then
7758 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7761 if test "$wxUSE_DATEPICKCTRL" = yes; then
7762 echo "$as_me:$LINENO: result: yes" >&5
7763 echo "${ECHO_T}yes" >&6
7765 echo "$as_me:$LINENO: result: no" >&5
7766 echo "${ECHO_T}no" >&6
7771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7772 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7774 # Check whether --enable-display or --disable-display was given.
7775 if test "${enable_display+set}" = set; then
7776 enableval
="$enable_display"
7778 if test "$enableval" = yes; then
7779 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7781 ac_cv_use_display
='wxUSE_DISPLAY=no'
7786 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7787 if test "x$LINE" != x
; then
7788 eval "DEFAULT_$LINE"
7793 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7797 eval "$ac_cv_use_display"
7798 if test "$no_cache" != 1; then
7799 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7802 if test "$wxUSE_DISPLAY" = yes; then
7803 echo "$as_me:$LINENO: result: yes" >&5
7804 echo "${ECHO_T}yes" >&6
7806 echo "$as_me:$LINENO: result: no" >&5
7807 echo "${ECHO_T}no" >&6
7812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7813 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7815 # Check whether --enable-gauge or --disable-gauge was given.
7816 if test "${enable_gauge+set}" = set; then
7817 enableval
="$enable_gauge"
7819 if test "$enableval" = yes; then
7820 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7822 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7827 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7828 if test "x$LINE" != x
; then
7829 eval "DEFAULT_$LINE"
7834 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7838 eval "$ac_cv_use_gauge"
7839 if test "$no_cache" != 1; then
7840 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7843 if test "$wxUSE_GAUGE" = yes; then
7844 echo "$as_me:$LINENO: result: yes" >&5
7845 echo "${ECHO_T}yes" >&6
7847 echo "$as_me:$LINENO: result: no" >&5
7848 echo "${ECHO_T}no" >&6
7853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7854 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7856 # Check whether --enable-grid or --disable-grid was given.
7857 if test "${enable_grid+set}" = set; then
7858 enableval
="$enable_grid"
7860 if test "$enableval" = yes; then
7861 ac_cv_use_grid
='wxUSE_GRID=yes'
7863 ac_cv_use_grid
='wxUSE_GRID=no'
7868 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7869 if test "x$LINE" != x
; then
7870 eval "DEFAULT_$LINE"
7875 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7879 eval "$ac_cv_use_grid"
7880 if test "$no_cache" != 1; then
7881 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7884 if test "$wxUSE_GRID" = yes; then
7885 echo "$as_me:$LINENO: result: yes" >&5
7886 echo "${ECHO_T}yes" >&6
7888 echo "$as_me:$LINENO: result: no" >&5
7889 echo "${ECHO_T}no" >&6
7894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7895 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7897 # Check whether --enable-imaglist or --disable-imaglist was given.
7898 if test "${enable_imaglist+set}" = set; then
7899 enableval
="$enable_imaglist"
7901 if test "$enableval" = yes; then
7902 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7904 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7909 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7910 if test "x$LINE" != x
; then
7911 eval "DEFAULT_$LINE"
7916 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7920 eval "$ac_cv_use_imaglist"
7921 if test "$no_cache" != 1; then
7922 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7925 if test "$wxUSE_IMAGLIST" = yes; then
7926 echo "$as_me:$LINENO: result: yes" >&5
7927 echo "${ECHO_T}yes" >&6
7929 echo "$as_me:$LINENO: result: no" >&5
7930 echo "${ECHO_T}no" >&6
7935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7936 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7938 # Check whether --enable-listbook or --disable-listbook was given.
7939 if test "${enable_listbook+set}" = set; then
7940 enableval
="$enable_listbook"
7942 if test "$enableval" = yes; then
7943 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7945 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7950 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7951 if test "x$LINE" != x
; then
7952 eval "DEFAULT_$LINE"
7957 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7961 eval "$ac_cv_use_listbook"
7962 if test "$no_cache" != 1; then
7963 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7966 if test "$wxUSE_LISTBOOK" = yes; then
7967 echo "$as_me:$LINENO: result: yes" >&5
7968 echo "${ECHO_T}yes" >&6
7970 echo "$as_me:$LINENO: result: no" >&5
7971 echo "${ECHO_T}no" >&6
7976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7977 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7979 # Check whether --enable-listbox or --disable-listbox was given.
7980 if test "${enable_listbox+set}" = set; then
7981 enableval
="$enable_listbox"
7983 if test "$enableval" = yes; then
7984 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7986 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7991 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7992 if test "x$LINE" != x
; then
7993 eval "DEFAULT_$LINE"
7998 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8002 eval "$ac_cv_use_listbox"
8003 if test "$no_cache" != 1; then
8004 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8007 if test "$wxUSE_LISTBOX" = yes; then
8008 echo "$as_me:$LINENO: result: yes" >&5
8009 echo "${ECHO_T}yes" >&6
8011 echo "$as_me:$LINENO: result: no" >&5
8012 echo "${ECHO_T}no" >&6
8017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8018 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8020 # Check whether --enable-listctrl or --disable-listctrl was given.
8021 if test "${enable_listctrl+set}" = set; then
8022 enableval
="$enable_listctrl"
8024 if test "$enableval" = yes; then
8025 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8027 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8032 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8033 if test "x$LINE" != x
; then
8034 eval "DEFAULT_$LINE"
8039 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8043 eval "$ac_cv_use_listctrl"
8044 if test "$no_cache" != 1; then
8045 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8048 if test "$wxUSE_LISTCTRL" = yes; then
8049 echo "$as_me:$LINENO: result: yes" >&5
8050 echo "${ECHO_T}yes" >&6
8052 echo "$as_me:$LINENO: result: no" >&5
8053 echo "${ECHO_T}no" >&6
8058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8059 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8061 # Check whether --enable-notebook or --disable-notebook was given.
8062 if test "${enable_notebook+set}" = set; then
8063 enableval
="$enable_notebook"
8065 if test "$enableval" = yes; then
8066 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8068 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8073 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8074 if test "x$LINE" != x
; then
8075 eval "DEFAULT_$LINE"
8080 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8084 eval "$ac_cv_use_notebook"
8085 if test "$no_cache" != 1; then
8086 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8089 if test "$wxUSE_NOTEBOOK" = yes; then
8090 echo "$as_me:$LINENO: result: yes" >&5
8091 echo "${ECHO_T}yes" >&6
8093 echo "$as_me:$LINENO: result: no" >&5
8094 echo "${ECHO_T}no" >&6
8099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8100 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8102 # Check whether --enable-radiobox or --disable-radiobox was given.
8103 if test "${enable_radiobox+set}" = set; then
8104 enableval
="$enable_radiobox"
8106 if test "$enableval" = yes; then
8107 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8109 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8114 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8115 if test "x$LINE" != x
; then
8116 eval "DEFAULT_$LINE"
8121 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8125 eval "$ac_cv_use_radiobox"
8126 if test "$no_cache" != 1; then
8127 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8130 if test "$wxUSE_RADIOBOX" = yes; then
8131 echo "$as_me:$LINENO: result: yes" >&5
8132 echo "${ECHO_T}yes" >&6
8134 echo "$as_me:$LINENO: result: no" >&5
8135 echo "${ECHO_T}no" >&6
8140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8141 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8143 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8144 if test "${enable_radiobtn+set}" = set; then
8145 enableval
="$enable_radiobtn"
8147 if test "$enableval" = yes; then
8148 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8150 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8155 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8156 if test "x$LINE" != x
; then
8157 eval "DEFAULT_$LINE"
8162 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8166 eval "$ac_cv_use_radiobtn"
8167 if test "$no_cache" != 1; then
8168 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8171 if test "$wxUSE_RADIOBTN" = yes; then
8172 echo "$as_me:$LINENO: result: yes" >&5
8173 echo "${ECHO_T}yes" >&6
8175 echo "$as_me:$LINENO: result: no" >&5
8176 echo "${ECHO_T}no" >&6
8181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8182 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8184 # Check whether --enable-sash or --disable-sash was given.
8185 if test "${enable_sash+set}" = set; then
8186 enableval
="$enable_sash"
8188 if test "$enableval" = yes; then
8189 ac_cv_use_sash
='wxUSE_SASH=yes'
8191 ac_cv_use_sash
='wxUSE_SASH=no'
8196 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8197 if test "x$LINE" != x
; then
8198 eval "DEFAULT_$LINE"
8203 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8207 eval "$ac_cv_use_sash"
8208 if test "$no_cache" != 1; then
8209 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8212 if test "$wxUSE_SASH" = yes; then
8213 echo "$as_me:$LINENO: result: yes" >&5
8214 echo "${ECHO_T}yes" >&6
8216 echo "$as_me:$LINENO: result: no" >&5
8217 echo "${ECHO_T}no" >&6
8222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8223 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8225 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8226 if test "${enable_scrollbar+set}" = set; then
8227 enableval
="$enable_scrollbar"
8229 if test "$enableval" = yes; then
8230 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8232 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8237 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8238 if test "x$LINE" != x
; then
8239 eval "DEFAULT_$LINE"
8244 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8248 eval "$ac_cv_use_scrollbar"
8249 if test "$no_cache" != 1; then
8250 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8253 if test "$wxUSE_SCROLLBAR" = yes; then
8254 echo "$as_me:$LINENO: result: yes" >&5
8255 echo "${ECHO_T}yes" >&6
8257 echo "$as_me:$LINENO: result: no" >&5
8258 echo "${ECHO_T}no" >&6
8263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8264 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8266 # Check whether --enable-slider or --disable-slider was given.
8267 if test "${enable_slider+set}" = set; then
8268 enableval
="$enable_slider"
8270 if test "$enableval" = yes; then
8271 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8273 ac_cv_use_slider
='wxUSE_SLIDER=no'
8278 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8279 if test "x$LINE" != x
; then
8280 eval "DEFAULT_$LINE"
8285 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8289 eval "$ac_cv_use_slider"
8290 if test "$no_cache" != 1; then
8291 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8294 if test "$wxUSE_SLIDER" = yes; then
8295 echo "$as_me:$LINENO: result: yes" >&5
8296 echo "${ECHO_T}yes" >&6
8298 echo "$as_me:$LINENO: result: no" >&5
8299 echo "${ECHO_T}no" >&6
8304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8305 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8307 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8308 if test "${enable_spinbtn+set}" = set; then
8309 enableval
="$enable_spinbtn"
8311 if test "$enableval" = yes; then
8312 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8314 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8319 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8320 if test "x$LINE" != x
; then
8321 eval "DEFAULT_$LINE"
8326 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8330 eval "$ac_cv_use_spinbtn"
8331 if test "$no_cache" != 1; then
8332 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8335 if test "$wxUSE_SPINBTN" = yes; then
8336 echo "$as_me:$LINENO: result: yes" >&5
8337 echo "${ECHO_T}yes" >&6
8339 echo "$as_me:$LINENO: result: no" >&5
8340 echo "${ECHO_T}no" >&6
8345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8346 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8348 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8349 if test "${enable_spinctrl+set}" = set; then
8350 enableval
="$enable_spinctrl"
8352 if test "$enableval" = yes; then
8353 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8355 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8360 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8361 if test "x$LINE" != x
; then
8362 eval "DEFAULT_$LINE"
8367 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8371 eval "$ac_cv_use_spinctrl"
8372 if test "$no_cache" != 1; then
8373 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8376 if test "$wxUSE_SPINCTRL" = yes; then
8377 echo "$as_me:$LINENO: result: yes" >&5
8378 echo "${ECHO_T}yes" >&6
8380 echo "$as_me:$LINENO: result: no" >&5
8381 echo "${ECHO_T}no" >&6
8386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8387 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8389 # Check whether --enable-splitter or --disable-splitter was given.
8390 if test "${enable_splitter+set}" = set; then
8391 enableval
="$enable_splitter"
8393 if test "$enableval" = yes; then
8394 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8396 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8401 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8402 if test "x$LINE" != x
; then
8403 eval "DEFAULT_$LINE"
8408 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8412 eval "$ac_cv_use_splitter"
8413 if test "$no_cache" != 1; then
8414 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8417 if test "$wxUSE_SPLITTER" = yes; then
8418 echo "$as_me:$LINENO: result: yes" >&5
8419 echo "${ECHO_T}yes" >&6
8421 echo "$as_me:$LINENO: result: no" >&5
8422 echo "${ECHO_T}no" >&6
8427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8428 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8430 # Check whether --enable-statbmp or --disable-statbmp was given.
8431 if test "${enable_statbmp+set}" = set; then
8432 enableval
="$enable_statbmp"
8434 if test "$enableval" = yes; then
8435 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8437 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8442 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8443 if test "x$LINE" != x
; then
8444 eval "DEFAULT_$LINE"
8449 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8453 eval "$ac_cv_use_statbmp"
8454 if test "$no_cache" != 1; then
8455 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8458 if test "$wxUSE_STATBMP" = yes; then
8459 echo "$as_me:$LINENO: result: yes" >&5
8460 echo "${ECHO_T}yes" >&6
8462 echo "$as_me:$LINENO: result: no" >&5
8463 echo "${ECHO_T}no" >&6
8468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8469 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8471 # Check whether --enable-statbox or --disable-statbox was given.
8472 if test "${enable_statbox+set}" = set; then
8473 enableval
="$enable_statbox"
8475 if test "$enableval" = yes; then
8476 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8478 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8483 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8484 if test "x$LINE" != x
; then
8485 eval "DEFAULT_$LINE"
8490 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8494 eval "$ac_cv_use_statbox"
8495 if test "$no_cache" != 1; then
8496 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8499 if test "$wxUSE_STATBOX" = yes; then
8500 echo "$as_me:$LINENO: result: yes" >&5
8501 echo "${ECHO_T}yes" >&6
8503 echo "$as_me:$LINENO: result: no" >&5
8504 echo "${ECHO_T}no" >&6
8509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8510 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8512 # Check whether --enable-statline or --disable-statline was given.
8513 if test "${enable_statline+set}" = set; then
8514 enableval
="$enable_statline"
8516 if test "$enableval" = yes; then
8517 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8519 ac_cv_use_statline
='wxUSE_STATLINE=no'
8524 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8525 if test "x$LINE" != x
; then
8526 eval "DEFAULT_$LINE"
8531 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8535 eval "$ac_cv_use_statline"
8536 if test "$no_cache" != 1; then
8537 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8540 if test "$wxUSE_STATLINE" = yes; then
8541 echo "$as_me:$LINENO: result: yes" >&5
8542 echo "${ECHO_T}yes" >&6
8544 echo "$as_me:$LINENO: result: no" >&5
8545 echo "${ECHO_T}no" >&6
8550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8551 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8553 # Check whether --enable-stattext or --disable-stattext was given.
8554 if test "${enable_stattext+set}" = set; then
8555 enableval
="$enable_stattext"
8557 if test "$enableval" = yes; then
8558 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8560 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8565 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8566 if test "x$LINE" != x
; then
8567 eval "DEFAULT_$LINE"
8572 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8576 eval "$ac_cv_use_stattext"
8577 if test "$no_cache" != 1; then
8578 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8581 if test "$wxUSE_STATTEXT" = yes; then
8582 echo "$as_me:$LINENO: result: yes" >&5
8583 echo "${ECHO_T}yes" >&6
8585 echo "$as_me:$LINENO: result: no" >&5
8586 echo "${ECHO_T}no" >&6
8591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8592 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8594 # Check whether --enable-statusbar or --disable-statusbar was given.
8595 if test "${enable_statusbar+set}" = set; then
8596 enableval
="$enable_statusbar"
8598 if test "$enableval" = yes; then
8599 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8601 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8606 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8607 if test "x$LINE" != x
; then
8608 eval "DEFAULT_$LINE"
8613 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8617 eval "$ac_cv_use_statusbar"
8618 if test "$no_cache" != 1; then
8619 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8622 if test "$wxUSE_STATUSBAR" = yes; then
8623 echo "$as_me:$LINENO: result: yes" >&5
8624 echo "${ECHO_T}yes" >&6
8626 echo "$as_me:$LINENO: result: no" >&5
8627 echo "${ECHO_T}no" >&6
8632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8633 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8635 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8636 if test "${enable_tabdialog+set}" = set; then
8637 enableval
="$enable_tabdialog"
8639 if test "$enableval" = yes; then
8640 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8642 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8647 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8648 if test "x$LINE" != x
; then
8649 eval "DEFAULT_$LINE"
8654 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8658 eval "$ac_cv_use_tabdialog"
8659 if test "$no_cache" != 1; then
8660 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8663 if test "$wxUSE_TABDIALOG" = yes; then
8664 echo "$as_me:$LINENO: result: yes" >&5
8665 echo "${ECHO_T}yes" >&6
8667 echo "$as_me:$LINENO: result: no" >&5
8668 echo "${ECHO_T}no" >&6
8673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8674 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8676 # Check whether --enable-textctrl or --disable-textctrl was given.
8677 if test "${enable_textctrl+set}" = set; then
8678 enableval
="$enable_textctrl"
8680 if test "$enableval" = yes; then
8681 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8683 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8688 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8689 if test "x$LINE" != x
; then
8690 eval "DEFAULT_$LINE"
8695 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8699 eval "$ac_cv_use_textctrl"
8700 if test "$no_cache" != 1; then
8701 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8704 if test "$wxUSE_TEXTCTRL" = yes; then
8705 echo "$as_me:$LINENO: result: yes" >&5
8706 echo "${ECHO_T}yes" >&6
8708 echo "$as_me:$LINENO: result: no" >&5
8709 echo "${ECHO_T}no" >&6
8714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8715 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8717 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8718 if test "${enable_togglebtn+set}" = set; then
8719 enableval
="$enable_togglebtn"
8721 if test "$enableval" = yes; then
8722 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8724 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8729 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8730 if test "x$LINE" != x
; then
8731 eval "DEFAULT_$LINE"
8736 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8740 eval "$ac_cv_use_togglebtn"
8741 if test "$no_cache" != 1; then
8742 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8745 if test "$wxUSE_TOGGLEBTN" = yes; then
8746 echo "$as_me:$LINENO: result: yes" >&5
8747 echo "${ECHO_T}yes" >&6
8749 echo "$as_me:$LINENO: result: no" >&5
8750 echo "${ECHO_T}no" >&6
8755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8756 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8758 # Check whether --enable-toolbar or --disable-toolbar was given.
8759 if test "${enable_toolbar+set}" = set; then
8760 enableval
="$enable_toolbar"
8762 if test "$enableval" = yes; then
8763 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8765 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8770 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8771 if test "x$LINE" != x
; then
8772 eval "DEFAULT_$LINE"
8777 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8781 eval "$ac_cv_use_toolbar"
8782 if test "$no_cache" != 1; then
8783 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8786 if test "$wxUSE_TOOLBAR" = yes; then
8787 echo "$as_me:$LINENO: result: yes" >&5
8788 echo "${ECHO_T}yes" >&6
8790 echo "$as_me:$LINENO: result: no" >&5
8791 echo "${ECHO_T}no" >&6
8796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8797 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8799 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8800 if test "${enable_tbarnative+set}" = set; then
8801 enableval
="$enable_tbarnative"
8803 if test "$enableval" = yes; then
8804 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8806 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8811 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8812 if test "x$LINE" != x
; then
8813 eval "DEFAULT_$LINE"
8818 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8822 eval "$ac_cv_use_tbarnative"
8823 if test "$no_cache" != 1; then
8824 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8827 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8828 echo "$as_me:$LINENO: result: yes" >&5
8829 echo "${ECHO_T}yes" >&6
8831 echo "$as_me:$LINENO: result: no" >&5
8832 echo "${ECHO_T}no" >&6
8837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8838 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8840 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8841 if test "${enable_tbarsmpl+set}" = set; then
8842 enableval
="$enable_tbarsmpl"
8844 if test "$enableval" = yes; then
8845 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8847 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8852 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8853 if test "x$LINE" != x
; then
8854 eval "DEFAULT_$LINE"
8859 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8863 eval "$ac_cv_use_tbarsmpl"
8864 if test "$no_cache" != 1; then
8865 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8868 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8869 echo "$as_me:$LINENO: result: yes" >&5
8870 echo "${ECHO_T}yes" >&6
8872 echo "$as_me:$LINENO: result: no" >&5
8873 echo "${ECHO_T}no" >&6
8878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8879 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8881 # Check whether --enable-treectrl or --disable-treectrl was given.
8882 if test "${enable_treectrl+set}" = set; then
8883 enableval
="$enable_treectrl"
8885 if test "$enableval" = yes; then
8886 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8888 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8893 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8894 if test "x$LINE" != x
; then
8895 eval "DEFAULT_$LINE"
8900 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8904 eval "$ac_cv_use_treectrl"
8905 if test "$no_cache" != 1; then
8906 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8909 if test "$wxUSE_TREECTRL" = yes; then
8910 echo "$as_me:$LINENO: result: yes" >&5
8911 echo "${ECHO_T}yes" >&6
8913 echo "$as_me:$LINENO: result: no" >&5
8914 echo "${ECHO_T}no" >&6
8919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8920 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8922 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8923 if test "${enable_tipwindow+set}" = set; then
8924 enableval
="$enable_tipwindow"
8926 if test "$enableval" = yes; then
8927 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8929 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8934 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8935 if test "x$LINE" != x
; then
8936 eval "DEFAULT_$LINE"
8941 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8945 eval "$ac_cv_use_tipwindow"
8946 if test "$no_cache" != 1; then
8947 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8950 if test "$wxUSE_TIPWINDOW" = yes; then
8951 echo "$as_me:$LINENO: result: yes" >&5
8952 echo "${ECHO_T}yes" >&6
8954 echo "$as_me:$LINENO: result: no" >&5
8955 echo "${ECHO_T}no" >&6
8960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8961 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8963 # Check whether --enable-popupwin or --disable-popupwin was given.
8964 if test "${enable_popupwin+set}" = set; then
8965 enableval
="$enable_popupwin"
8967 if test "$enableval" = yes; then
8968 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8970 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8975 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8976 if test "x$LINE" != x
; then
8977 eval "DEFAULT_$LINE"
8982 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8986 eval "$ac_cv_use_popupwin"
8987 if test "$no_cache" != 1; then
8988 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8991 if test "$wxUSE_POPUPWIN" = yes; then
8992 echo "$as_me:$LINENO: result: yes" >&5
8993 echo "${ECHO_T}yes" >&6
8995 echo "$as_me:$LINENO: result: no" >&5
8996 echo "${ECHO_T}no" >&6
9003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9004 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9006 # Check whether --enable-commondlg or --disable-commondlg was given.
9007 if test "${enable_commondlg+set}" = set; then
9008 enableval
="$enable_commondlg"
9010 if test "$enableval" = yes; then
9011 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9013 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9018 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9019 if test "x$LINE" != x
; then
9020 eval "DEFAULT_$LINE"
9025 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9029 eval "$ac_cv_use_commondlg"
9030 if test "$no_cache" != 1; then
9031 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9034 if test "$wxUSE_COMMONDLGS" = yes; then
9035 echo "$as_me:$LINENO: result: yes" >&5
9036 echo "${ECHO_T}yes" >&6
9038 echo "$as_me:$LINENO: result: no" >&5
9039 echo "${ECHO_T}no" >&6
9044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9045 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9047 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9048 if test "${enable_choicedlg+set}" = set; then
9049 enableval
="$enable_choicedlg"
9051 if test "$enableval" = yes; then
9052 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9054 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9059 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9060 if test "x$LINE" != x
; then
9061 eval "DEFAULT_$LINE"
9066 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9070 eval "$ac_cv_use_choicedlg"
9071 if test "$no_cache" != 1; then
9072 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9075 if test "$wxUSE_CHOICEDLG" = yes; then
9076 echo "$as_me:$LINENO: result: yes" >&5
9077 echo "${ECHO_T}yes" >&6
9079 echo "$as_me:$LINENO: result: no" >&5
9080 echo "${ECHO_T}no" >&6
9085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9086 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9088 # Check whether --enable-coldlg or --disable-coldlg was given.
9089 if test "${enable_coldlg+set}" = set; then
9090 enableval
="$enable_coldlg"
9092 if test "$enableval" = yes; then
9093 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9095 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9100 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9101 if test "x$LINE" != x
; then
9102 eval "DEFAULT_$LINE"
9107 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9111 eval "$ac_cv_use_coldlg"
9112 if test "$no_cache" != 1; then
9113 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9116 if test "$wxUSE_COLOURDLG" = yes; then
9117 echo "$as_me:$LINENO: result: yes" >&5
9118 echo "${ECHO_T}yes" >&6
9120 echo "$as_me:$LINENO: result: no" >&5
9121 echo "${ECHO_T}no" >&6
9126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9127 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9129 # Check whether --enable-filedlg or --disable-filedlg was given.
9130 if test "${enable_filedlg+set}" = set; then
9131 enableval
="$enable_filedlg"
9133 if test "$enableval" = yes; then
9134 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9136 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9141 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9142 if test "x$LINE" != x
; then
9143 eval "DEFAULT_$LINE"
9148 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9152 eval "$ac_cv_use_filedlg"
9153 if test "$no_cache" != 1; then
9154 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9157 if test "$wxUSE_FILEDLG" = yes; then
9158 echo "$as_me:$LINENO: result: yes" >&5
9159 echo "${ECHO_T}yes" >&6
9161 echo "$as_me:$LINENO: result: no" >&5
9162 echo "${ECHO_T}no" >&6
9167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9168 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9170 # Check whether --enable-finddlg or --disable-finddlg was given.
9171 if test "${enable_finddlg+set}" = set; then
9172 enableval
="$enable_finddlg"
9174 if test "$enableval" = yes; then
9175 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9177 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9182 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9183 if test "x$LINE" != x
; then
9184 eval "DEFAULT_$LINE"
9189 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9193 eval "$ac_cv_use_finddlg"
9194 if test "$no_cache" != 1; then
9195 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9198 if test "$wxUSE_FINDREPLDLG" = yes; then
9199 echo "$as_me:$LINENO: result: yes" >&5
9200 echo "${ECHO_T}yes" >&6
9202 echo "$as_me:$LINENO: result: no" >&5
9203 echo "${ECHO_T}no" >&6
9208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9209 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9211 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9212 if test "${enable_fontdlg+set}" = set; then
9213 enableval
="$enable_fontdlg"
9215 if test "$enableval" = yes; then
9216 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9218 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9223 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9224 if test "x$LINE" != x
; then
9225 eval "DEFAULT_$LINE"
9230 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9234 eval "$ac_cv_use_fontdlg"
9235 if test "$no_cache" != 1; then
9236 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9239 if test "$wxUSE_FONTDLG" = yes; then
9240 echo "$as_me:$LINENO: result: yes" >&5
9241 echo "${ECHO_T}yes" >&6
9243 echo "$as_me:$LINENO: result: no" >&5
9244 echo "${ECHO_T}no" >&6
9249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9250 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9252 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9253 if test "${enable_dirdlg+set}" = set; then
9254 enableval
="$enable_dirdlg"
9256 if test "$enableval" = yes; then
9257 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9259 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9264 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9265 if test "x$LINE" != x
; then
9266 eval "DEFAULT_$LINE"
9271 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9275 eval "$ac_cv_use_dirdlg"
9276 if test "$no_cache" != 1; then
9277 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9280 if test "$wxUSE_DIRDLG" = yes; then
9281 echo "$as_me:$LINENO: result: yes" >&5
9282 echo "${ECHO_T}yes" >&6
9284 echo "$as_me:$LINENO: result: no" >&5
9285 echo "${ECHO_T}no" >&6
9290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9291 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9293 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9294 if test "${enable_msgdlg+set}" = set; then
9295 enableval
="$enable_msgdlg"
9297 if test "$enableval" = yes; then
9298 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9300 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9305 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9306 if test "x$LINE" != x
; then
9307 eval "DEFAULT_$LINE"
9312 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9316 eval "$ac_cv_use_msgdlg"
9317 if test "$no_cache" != 1; then
9318 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9321 if test "$wxUSE_MSGDLG" = yes; then
9322 echo "$as_me:$LINENO: result: yes" >&5
9323 echo "${ECHO_T}yes" >&6
9325 echo "$as_me:$LINENO: result: no" >&5
9326 echo "${ECHO_T}no" >&6
9331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9332 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9334 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9335 if test "${enable_numberdlg+set}" = set; then
9336 enableval
="$enable_numberdlg"
9338 if test "$enableval" = yes; then
9339 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9341 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9346 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9347 if test "x$LINE" != x
; then
9348 eval "DEFAULT_$LINE"
9353 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9357 eval "$ac_cv_use_numberdlg"
9358 if test "$no_cache" != 1; then
9359 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9362 if test "$wxUSE_NUMBERDLG" = yes; then
9363 echo "$as_me:$LINENO: result: yes" >&5
9364 echo "${ECHO_T}yes" >&6
9366 echo "$as_me:$LINENO: result: no" >&5
9367 echo "${ECHO_T}no" >&6
9372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9373 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9375 # Check whether --enable-splash or --disable-splash was given.
9376 if test "${enable_splash+set}" = set; then
9377 enableval
="$enable_splash"
9379 if test "$enableval" = yes; then
9380 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9382 ac_cv_use_splash
='wxUSE_SPLASH=no'
9387 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9388 if test "x$LINE" != x
; then
9389 eval "DEFAULT_$LINE"
9394 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9398 eval "$ac_cv_use_splash"
9399 if test "$no_cache" != 1; then
9400 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9403 if test "$wxUSE_SPLASH" = yes; then
9404 echo "$as_me:$LINENO: result: yes" >&5
9405 echo "${ECHO_T}yes" >&6
9407 echo "$as_me:$LINENO: result: no" >&5
9408 echo "${ECHO_T}no" >&6
9413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9414 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9416 # Check whether --enable-textdlg or --disable-textdlg was given.
9417 if test "${enable_textdlg+set}" = set; then
9418 enableval
="$enable_textdlg"
9420 if test "$enableval" = yes; then
9421 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9423 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9428 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9429 if test "x$LINE" != x
; then
9430 eval "DEFAULT_$LINE"
9435 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9439 eval "$ac_cv_use_textdlg"
9440 if test "$no_cache" != 1; then
9441 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9444 if test "$wxUSE_TEXTDLG" = yes; then
9445 echo "$as_me:$LINENO: result: yes" >&5
9446 echo "${ECHO_T}yes" >&6
9448 echo "$as_me:$LINENO: result: no" >&5
9449 echo "${ECHO_T}no" >&6
9454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9455 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9457 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9458 if test "${enable_tipdlg+set}" = set; then
9459 enableval
="$enable_tipdlg"
9461 if test "$enableval" = yes; then
9462 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9464 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9469 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9470 if test "x$LINE" != x
; then
9471 eval "DEFAULT_$LINE"
9476 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9480 eval "$ac_cv_use_tipdlg"
9481 if test "$no_cache" != 1; then
9482 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9485 if test "$wxUSE_STARTUP_TIPS" = yes; then
9486 echo "$as_me:$LINENO: result: yes" >&5
9487 echo "${ECHO_T}yes" >&6
9489 echo "$as_me:$LINENO: result: no" >&5
9490 echo "${ECHO_T}no" >&6
9495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9496 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9498 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9499 if test "${enable_progressdlg+set}" = set; then
9500 enableval
="$enable_progressdlg"
9502 if test "$enableval" = yes; then
9503 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9505 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9510 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9511 if test "x$LINE" != x
; then
9512 eval "DEFAULT_$LINE"
9517 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9521 eval "$ac_cv_use_progressdlg"
9522 if test "$no_cache" != 1; then
9523 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9526 if test "$wxUSE_PROGRESSDLG" = yes; then
9527 echo "$as_me:$LINENO: result: yes" >&5
9528 echo "${ECHO_T}yes" >&6
9530 echo "$as_me:$LINENO: result: no" >&5
9531 echo "${ECHO_T}no" >&6
9536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9537 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9539 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9540 if test "${enable_wizarddlg+set}" = set; then
9541 enableval
="$enable_wizarddlg"
9543 if test "$enableval" = yes; then
9544 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9546 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9551 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9552 if test "x$LINE" != x
; then
9553 eval "DEFAULT_$LINE"
9558 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9562 eval "$ac_cv_use_wizarddlg"
9563 if test "$no_cache" != 1; then
9564 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9567 if test "$wxUSE_WIZARDDLG" = yes; then
9568 echo "$as_me:$LINENO: result: yes" >&5
9569 echo "${ECHO_T}yes" >&6
9571 echo "$as_me:$LINENO: result: no" >&5
9572 echo "${ECHO_T}no" >&6
9579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9580 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9582 # Check whether --enable-menus or --disable-menus was given.
9583 if test "${enable_menus+set}" = set; then
9584 enableval
="$enable_menus"
9586 if test "$enableval" = yes; then
9587 ac_cv_use_menus
='wxUSE_MENUS=yes'
9589 ac_cv_use_menus
='wxUSE_MENUS=no'
9594 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9595 if test "x$LINE" != x
; then
9596 eval "DEFAULT_$LINE"
9601 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9605 eval "$ac_cv_use_menus"
9606 if test "$no_cache" != 1; then
9607 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9610 if test "$wxUSE_MENUS" = yes; then
9611 echo "$as_me:$LINENO: result: yes" >&5
9612 echo "${ECHO_T}yes" >&6
9614 echo "$as_me:$LINENO: result: no" >&5
9615 echo "${ECHO_T}no" >&6
9620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9621 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9623 # Check whether --enable-miniframe or --disable-miniframe was given.
9624 if test "${enable_miniframe+set}" = set; then
9625 enableval
="$enable_miniframe"
9627 if test "$enableval" = yes; then
9628 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9630 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9635 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9636 if test "x$LINE" != x
; then
9637 eval "DEFAULT_$LINE"
9642 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9646 eval "$ac_cv_use_miniframe"
9647 if test "$no_cache" != 1; then
9648 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9651 if test "$wxUSE_MINIFRAME" = yes; then
9652 echo "$as_me:$LINENO: result: yes" >&5
9653 echo "${ECHO_T}yes" >&6
9655 echo "$as_me:$LINENO: result: no" >&5
9656 echo "${ECHO_T}no" >&6
9661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9662 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9664 # Check whether --enable-tooltips or --disable-tooltips was given.
9665 if test "${enable_tooltips+set}" = set; then
9666 enableval
="$enable_tooltips"
9668 if test "$enableval" = yes; then
9669 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9671 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9676 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9677 if test "x$LINE" != x
; then
9678 eval "DEFAULT_$LINE"
9683 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9687 eval "$ac_cv_use_tooltips"
9688 if test "$no_cache" != 1; then
9689 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9692 if test "$wxUSE_TOOLTIPS" = yes; then
9693 echo "$as_me:$LINENO: result: yes" >&5
9694 echo "${ECHO_T}yes" >&6
9696 echo "$as_me:$LINENO: result: no" >&5
9697 echo "${ECHO_T}no" >&6
9702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9703 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9705 # Check whether --enable-splines or --disable-splines was given.
9706 if test "${enable_splines+set}" = set; then
9707 enableval
="$enable_splines"
9709 if test "$enableval" = yes; then
9710 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9712 ac_cv_use_splines
='wxUSE_SPLINES=no'
9717 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9718 if test "x$LINE" != x
; then
9719 eval "DEFAULT_$LINE"
9724 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9728 eval "$ac_cv_use_splines"
9729 if test "$no_cache" != 1; then
9730 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9733 if test "$wxUSE_SPLINES" = yes; then
9734 echo "$as_me:$LINENO: result: yes" >&5
9735 echo "${ECHO_T}yes" >&6
9737 echo "$as_me:$LINENO: result: no" >&5
9738 echo "${ECHO_T}no" >&6
9743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9744 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9746 # Check whether --enable-validators or --disable-validators was given.
9747 if test "${enable_validators+set}" = set; then
9748 enableval
="$enable_validators"
9750 if test "$enableval" = yes; then
9751 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9753 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9758 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9759 if test "x$LINE" != x
; then
9760 eval "DEFAULT_$LINE"
9765 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9769 eval "$ac_cv_use_validators"
9770 if test "$no_cache" != 1; then
9771 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9774 if test "$wxUSE_VALIDATORS" = yes; then
9775 echo "$as_me:$LINENO: result: yes" >&5
9776 echo "${ECHO_T}yes" >&6
9778 echo "$as_me:$LINENO: result: no" >&5
9779 echo "${ECHO_T}no" >&6
9784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9785 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9787 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9788 if test "${enable_busyinfo+set}" = set; then
9789 enableval
="$enable_busyinfo"
9791 if test "$enableval" = yes; then
9792 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9794 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9799 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9800 if test "x$LINE" != x
; then
9801 eval "DEFAULT_$LINE"
9806 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9810 eval "$ac_cv_use_busyinfo"
9811 if test "$no_cache" != 1; then
9812 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9815 if test "$wxUSE_BUSYINFO" = yes; then
9816 echo "$as_me:$LINENO: result: yes" >&5
9817 echo "${ECHO_T}yes" >&6
9819 echo "$as_me:$LINENO: result: no" >&5
9820 echo "${ECHO_T}no" >&6
9825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9826 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9828 # Check whether --enable-joystick or --disable-joystick was given.
9829 if test "${enable_joystick+set}" = set; then
9830 enableval
="$enable_joystick"
9832 if test "$enableval" = yes; then
9833 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9835 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9840 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9841 if test "x$LINE" != x
; then
9842 eval "DEFAULT_$LINE"
9847 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9851 eval "$ac_cv_use_joystick"
9852 if test "$no_cache" != 1; then
9853 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9856 if test "$wxUSE_JOYSTICK" = yes; then
9857 echo "$as_me:$LINENO: result: yes" >&5
9858 echo "${ECHO_T}yes" >&6
9860 echo "$as_me:$LINENO: result: no" >&5
9861 echo "${ECHO_T}no" >&6
9866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9867 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9869 # Check whether --enable-metafile or --disable-metafile was given.
9870 if test "${enable_metafile+set}" = set; then
9871 enableval
="$enable_metafile"
9873 if test "$enableval" = yes; then
9874 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9876 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9881 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9882 if test "x$LINE" != x
; then
9883 eval "DEFAULT_$LINE"
9888 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9892 eval "$ac_cv_use_metafile"
9893 if test "$no_cache" != 1; then
9894 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9897 if test "$wxUSE_METAFILE" = yes; then
9898 echo "$as_me:$LINENO: result: yes" >&5
9899 echo "${ECHO_T}yes" >&6
9901 echo "$as_me:$LINENO: result: no" >&5
9902 echo "${ECHO_T}no" >&6
9907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9908 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9910 # Check whether --enable-dragimage or --disable-dragimage was given.
9911 if test "${enable_dragimage+set}" = set; then
9912 enableval
="$enable_dragimage"
9914 if test "$enableval" = yes; then
9915 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9917 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9922 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9923 if test "x$LINE" != x
; then
9924 eval "DEFAULT_$LINE"
9929 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9933 eval "$ac_cv_use_dragimage"
9934 if test "$no_cache" != 1; then
9935 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9938 if test "$wxUSE_DRAGIMAGE" = yes; then
9939 echo "$as_me:$LINENO: result: yes" >&5
9940 echo "${ECHO_T}yes" >&6
9942 echo "$as_me:$LINENO: result: no" >&5
9943 echo "${ECHO_T}no" >&6
9948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9949 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9951 # Check whether --enable-accessibility or --disable-accessibility was given.
9952 if test "${enable_accessibility+set}" = set; then
9953 enableval
="$enable_accessibility"
9955 if test "$enableval" = yes; then
9956 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9958 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9963 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9964 if test "x$LINE" != x
; then
9965 eval "DEFAULT_$LINE"
9970 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9974 eval "$ac_cv_use_accessibility"
9975 if test "$no_cache" != 1; then
9976 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9979 if test "$wxUSE_ACCESSIBILITY" = yes; then
9980 echo "$as_me:$LINENO: result: yes" >&5
9981 echo "${ECHO_T}yes" >&6
9983 echo "$as_me:$LINENO: result: no" >&5
9984 echo "${ECHO_T}no" >&6
9991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9992 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9994 # Check whether --enable-palette or --disable-palette was given.
9995 if test "${enable_palette+set}" = set; then
9996 enableval
="$enable_palette"
9998 if test "$enableval" = yes; then
9999 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10001 ac_cv_use_palette
='wxUSE_PALETTE=no'
10006 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10007 if test "x$LINE" != x
; then
10008 eval "DEFAULT_$LINE"
10013 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10017 eval "$ac_cv_use_palette"
10018 if test "$no_cache" != 1; then
10019 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10022 if test "$wxUSE_PALETTE" = yes; then
10023 echo "$as_me:$LINENO: result: yes" >&5
10024 echo "${ECHO_T}yes" >&6
10026 echo "$as_me:$LINENO: result: no" >&5
10027 echo "${ECHO_T}no" >&6
10032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10033 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10035 # Check whether --enable-image or --disable-image was given.
10036 if test "${enable_image+set}" = set; then
10037 enableval
="$enable_image"
10039 if test "$enableval" = yes; then
10040 ac_cv_use_image
='wxUSE_IMAGE=yes'
10042 ac_cv_use_image
='wxUSE_IMAGE=no'
10047 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10048 if test "x$LINE" != x
; then
10049 eval "DEFAULT_$LINE"
10054 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10058 eval "$ac_cv_use_image"
10059 if test "$no_cache" != 1; then
10060 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10063 if test "$wxUSE_IMAGE" = yes; then
10064 echo "$as_me:$LINENO: result: yes" >&5
10065 echo "${ECHO_T}yes" >&6
10067 echo "$as_me:$LINENO: result: no" >&5
10068 echo "${ECHO_T}no" >&6
10073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10074 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10076 # Check whether --enable-gif or --disable-gif was given.
10077 if test "${enable_gif+set}" = set; then
10078 enableval
="$enable_gif"
10080 if test "$enableval" = yes; then
10081 ac_cv_use_gif
='wxUSE_GIF=yes'
10083 ac_cv_use_gif
='wxUSE_GIF=no'
10088 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10089 if test "x$LINE" != x
; then
10090 eval "DEFAULT_$LINE"
10095 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10099 eval "$ac_cv_use_gif"
10100 if test "$no_cache" != 1; then
10101 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10104 if test "$wxUSE_GIF" = yes; then
10105 echo "$as_me:$LINENO: result: yes" >&5
10106 echo "${ECHO_T}yes" >&6
10108 echo "$as_me:$LINENO: result: no" >&5
10109 echo "${ECHO_T}no" >&6
10114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10115 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10117 # Check whether --enable-pcx or --disable-pcx was given.
10118 if test "${enable_pcx+set}" = set; then
10119 enableval
="$enable_pcx"
10121 if test "$enableval" = yes; then
10122 ac_cv_use_pcx
='wxUSE_PCX=yes'
10124 ac_cv_use_pcx
='wxUSE_PCX=no'
10129 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10130 if test "x$LINE" != x
; then
10131 eval "DEFAULT_$LINE"
10136 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10140 eval "$ac_cv_use_pcx"
10141 if test "$no_cache" != 1; then
10142 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10145 if test "$wxUSE_PCX" = yes; then
10146 echo "$as_me:$LINENO: result: yes" >&5
10147 echo "${ECHO_T}yes" >&6
10149 echo "$as_me:$LINENO: result: no" >&5
10150 echo "${ECHO_T}no" >&6
10155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10156 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10158 # Check whether --enable-iff or --disable-iff was given.
10159 if test "${enable_iff+set}" = set; then
10160 enableval
="$enable_iff"
10162 if test "$enableval" = yes; then
10163 ac_cv_use_iff
='wxUSE_IFF=yes'
10165 ac_cv_use_iff
='wxUSE_IFF=no'
10170 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10171 if test "x$LINE" != x
; then
10172 eval "DEFAULT_$LINE"
10177 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10181 eval "$ac_cv_use_iff"
10182 if test "$no_cache" != 1; then
10183 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10186 if test "$wxUSE_IFF" = yes; then
10187 echo "$as_me:$LINENO: result: yes" >&5
10188 echo "${ECHO_T}yes" >&6
10190 echo "$as_me:$LINENO: result: no" >&5
10191 echo "${ECHO_T}no" >&6
10196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10197 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10199 # Check whether --enable-pnm or --disable-pnm was given.
10200 if test "${enable_pnm+set}" = set; then
10201 enableval
="$enable_pnm"
10203 if test "$enableval" = yes; then
10204 ac_cv_use_pnm
='wxUSE_PNM=yes'
10206 ac_cv_use_pnm
='wxUSE_PNM=no'
10211 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10212 if test "x$LINE" != x
; then
10213 eval "DEFAULT_$LINE"
10218 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10222 eval "$ac_cv_use_pnm"
10223 if test "$no_cache" != 1; then
10224 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10227 if test "$wxUSE_PNM" = yes; then
10228 echo "$as_me:$LINENO: result: yes" >&5
10229 echo "${ECHO_T}yes" >&6
10231 echo "$as_me:$LINENO: result: no" >&5
10232 echo "${ECHO_T}no" >&6
10237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10238 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10240 # Check whether --enable-xpm or --disable-xpm was given.
10241 if test "${enable_xpm+set}" = set; then
10242 enableval
="$enable_xpm"
10244 if test "$enableval" = yes; then
10245 ac_cv_use_xpm
='wxUSE_XPM=yes'
10247 ac_cv_use_xpm
='wxUSE_XPM=no'
10252 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10253 if test "x$LINE" != x
; then
10254 eval "DEFAULT_$LINE"
10259 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10263 eval "$ac_cv_use_xpm"
10264 if test "$no_cache" != 1; then
10265 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10268 if test "$wxUSE_XPM" = yes; then
10269 echo "$as_me:$LINENO: result: yes" >&5
10270 echo "${ECHO_T}yes" >&6
10272 echo "$as_me:$LINENO: result: no" >&5
10273 echo "${ECHO_T}no" >&6
10278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10279 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10281 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10282 if test "${enable_ico_cur+set}" = set; then
10283 enableval
="$enable_ico_cur"
10285 if test "$enableval" = yes; then
10286 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10288 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10293 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10294 if test "x$LINE" != x
; then
10295 eval "DEFAULT_$LINE"
10300 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10304 eval "$ac_cv_use_ico_cur"
10305 if test "$no_cache" != 1; then
10306 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10309 if test "$wxUSE_ICO_CUR" = yes; then
10310 echo "$as_me:$LINENO: result: yes" >&5
10311 echo "${ECHO_T}yes" >&6
10313 echo "$as_me:$LINENO: result: no" >&5
10314 echo "${ECHO_T}no" >&6
10322 # Check whether --with-flavour or --without-flavour was given.
10323 if test "${with_flavour+set}" = set; then
10324 withval
="$with_flavour"
10325 WX_FLAVOUR
="$withval"
10331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10332 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10334 # Check whether --enable-official_build or --disable-official_build was given.
10335 if test "${enable_official_build+set}" = set; then
10336 enableval
="$enable_official_build"
10338 if test "$enableval" = yes; then
10339 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10341 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10346 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10347 if test "x$LINE" != x
; then
10348 eval "DEFAULT_$LINE"
10353 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10357 eval "$ac_cv_use_official_build"
10358 if test "$no_cache" != 1; then
10359 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10362 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10363 echo "$as_me:$LINENO: result: yes" >&5
10364 echo "${ECHO_T}yes" >&6
10366 echo "$as_me:$LINENO: result: no" >&5
10367 echo "${ECHO_T}no" >&6
10370 # Check whether --enable-vendor or --disable-vendor was given.
10371 if test "${enable_vendor+set}" = set; then
10372 enableval
="$enable_vendor"
10373 VENDOR
="$enableval"
10375 if test "x$VENDOR" = "x"; then
10382 echo "saving argument cache $wx_arg_cache_file"
10383 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10387 echo "$as_me:$LINENO: checking for toolkit" >&5
10388 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10390 # In Wine, we need to default to MSW, not GTK or MOTIF
10391 if test "$wxUSE_WINE" = "yes"; then
10392 DEFAULT_DEFAULT_wxUSE_GTK
=0
10393 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10394 DEFAULT_DEFAULT_wxUSE_MSW
=1
10398 if test "$wxUSE_GUI" = "yes"; then
10400 if test "$USE_BEOS" = 1; then
10401 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10402 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10403 { (exit 1); exit 1; }; }
10406 if test "$TOOLKIT_GIVEN" = 1; then
10407 for toolkit
in `echo $ALL_TOOLKITS`; do
10409 eval "value=\$${var}"
10410 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10413 for toolkit
in `echo $ALL_TOOLKITS`; do
10414 if test "$has_toolkit_in_cache" != 1; then
10415 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10417 var
=DEFAULT_wxUSE_
$toolkit
10419 eval "wxUSE_$toolkit=\$${var}"
10423 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10424 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10425 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10428 *-pc-os2_emx | *-pc-os2-emx )
10429 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10432 case "$NUM_TOOLKITS" in
10436 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10437 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10438 { (exit 1); exit 1; }; }
10441 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10442 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10443 { (exit 1); exit 1; }; }
10446 for toolkit
in `echo $ALL_TOOLKITS`; do
10448 eval "value=\$${var}"
10449 if test "x$value" != x
; then
10450 cache_var
=CACHE_
$toolkit
10451 eval "cache=\$${cache_var}"
10452 if test "$cache" = 1; then
10453 echo "$var=$value" >> ${wx_arg_cache_file}
10455 if test "$value" = 1; then
10456 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10457 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10458 echo "${ECHO_T}$toolkit_echo" >&6
10463 if test "x$host_alias" != "x"; then
10464 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10465 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10467 echo "$as_me:$LINENO: result: base only" >&5
10468 echo "${ECHO_T}base only" >&6
10473 doesnt_want_win32
=0
10476 if test "$wxUSE_MSW" = 1 ; then
10479 doesnt_want_win32
=1
10487 if test "$wxUSE_WINE" = "yes"; then
10492 LDFLAGS_GUI
="-mwindows"
10495 if test "$wants_win32" = 1 ; then
10498 cat >>confdefs.h
<<\_ACEOF
10499 #define __WIN32__ 1
10502 cat >>confdefs.h
<<\_ACEOF
10503 #define __WIN95__ 1
10506 cat >>confdefs.h
<<\_ACEOF
10507 #define __WINDOWS__ 1
10510 cat >>confdefs.h
<<\_ACEOF
10511 #define __GNUWIN32__ 1
10514 cat >>confdefs.h
<<\_ACEOF
10518 cat >>confdefs.h
<<\_ACEOF
10519 #define WINVER 0x0400
10523 if test "$doesnt_want_win32" = 1 ; then
10528 if test "$USE_UNIX" = 1 ; then
10530 cat >>confdefs.h
<<\_ACEOF
10537 cat >confcache
<<\_ACEOF
10538 # This file is a shell script that caches the results of configure
10539 # tests run on this system so they can be shared between configure
10540 # scripts and configure runs, see configure's option --config-cache.
10541 # It is not useful on other systems. If it contains results you don't
10542 # want to keep, you may remove or edit it.
10544 # config.status only pays attention to the cache file if you give it
10545 # the --recheck option to rerun configure.
10547 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10548 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10549 # following values.
10553 # The following way of writing the cache mishandles newlines in values,
10554 # but we know of no workaround that is simple, portable, and efficient.
10555 # So, don't put newlines in cache variables' values.
10556 # Ultrix sh set writes to stderr and can't be redirected directly,
10557 # and sets the high bit in the cache file unless we assign to the vars.
10560 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10562 # `set' does not quote correctly, so add quotes (double-quote
10563 # substitution turns \\\\ into \\, and sed turns \\ into \).
10566 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10569 # `set' quotes correctly as required by POSIX, so do not add quotes.
10571 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10578 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10580 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10582 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10583 if test -w $cache_file; then
10584 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10585 cat confcache
>$cache_file
10587 echo "not updating unwritable cache $cache_file"
10592 if test "$build" != "$host" ; then
10593 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10595 CXX
=$host_alias-c++
10597 RANLIB
=$host_alias-ranlib
10598 DLLTOOL
=$host_alias-dlltool
10599 RESCOMP
=$host_alias-windres
10600 STRIP
=$host_alias-strip
10601 elif test "x$CC" '!=' "x"; then
10602 echo "You set CC, I assume you know what you are doing."
10604 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10605 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10606 { (exit 1); exit 1; }; }
10612 ac_cpp
='$CPP $CPPFLAGS'
10613 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10614 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10615 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10616 if test -n "$ac_tool_prefix"; then
10617 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10618 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10619 echo "$as_me:$LINENO: checking for $ac_word" >&5
10620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10621 if test "${ac_cv_prog_CC+set}" = set; then
10622 echo $ECHO_N "(cached) $ECHO_C" >&6
10624 if test -n "$CC"; then
10625 ac_cv_prog_CC
="$CC" # Let the user override the test.
10627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10628 for as_dir
in $PATH
10631 test -z "$as_dir" && as_dir
=.
10632 for ac_exec_ext
in '' $ac_executable_extensions; do
10633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10634 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10644 if test -n "$CC"; then
10645 echo "$as_me:$LINENO: result: $CC" >&5
10646 echo "${ECHO_T}$CC" >&6
10648 echo "$as_me:$LINENO: result: no" >&5
10649 echo "${ECHO_T}no" >&6
10653 if test -z "$ac_cv_prog_CC"; then
10655 # Extract the first word of "gcc", so it can be a program name with args.
10656 set dummy gcc
; ac_word
=$2
10657 echo "$as_me:$LINENO: checking for $ac_word" >&5
10658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10659 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10660 echo $ECHO_N "(cached) $ECHO_C" >&6
10662 if test -n "$ac_ct_CC"; then
10663 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10666 for as_dir
in $PATH
10669 test -z "$as_dir" && as_dir
=.
10670 for ac_exec_ext
in '' $ac_executable_extensions; do
10671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10672 ac_cv_prog_ac_ct_CC
="gcc"
10673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10681 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10682 if test -n "$ac_ct_CC"; then
10683 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10684 echo "${ECHO_T}$ac_ct_CC" >&6
10686 echo "$as_me:$LINENO: result: no" >&5
10687 echo "${ECHO_T}no" >&6
10692 CC
="$ac_cv_prog_CC"
10695 if test -z "$CC"; then
10696 if test -n "$ac_tool_prefix"; then
10697 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10698 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10699 echo "$as_me:$LINENO: checking for $ac_word" >&5
10700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10701 if test "${ac_cv_prog_CC+set}" = set; then
10702 echo $ECHO_N "(cached) $ECHO_C" >&6
10704 if test -n "$CC"; then
10705 ac_cv_prog_CC
="$CC" # Let the user override the test.
10707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10708 for as_dir
in $PATH
10711 test -z "$as_dir" && as_dir
=.
10712 for ac_exec_ext
in '' $ac_executable_extensions; do
10713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10714 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10724 if test -n "$CC"; then
10725 echo "$as_me:$LINENO: result: $CC" >&5
10726 echo "${ECHO_T}$CC" >&6
10728 echo "$as_me:$LINENO: result: no" >&5
10729 echo "${ECHO_T}no" >&6
10733 if test -z "$ac_cv_prog_CC"; then
10735 # Extract the first word of "cc", so it can be a program name with args.
10736 set dummy cc
; ac_word
=$2
10737 echo "$as_me:$LINENO: checking for $ac_word" >&5
10738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10739 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10740 echo $ECHO_N "(cached) $ECHO_C" >&6
10742 if test -n "$ac_ct_CC"; then
10743 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10746 for as_dir
in $PATH
10749 test -z "$as_dir" && as_dir
=.
10750 for ac_exec_ext
in '' $ac_executable_extensions; do
10751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10752 ac_cv_prog_ac_ct_CC
="cc"
10753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10761 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10762 if test -n "$ac_ct_CC"; then
10763 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10764 echo "${ECHO_T}$ac_ct_CC" >&6
10766 echo "$as_me:$LINENO: result: no" >&5
10767 echo "${ECHO_T}no" >&6
10772 CC
="$ac_cv_prog_CC"
10776 if test -z "$CC"; then
10777 # Extract the first word of "cc", so it can be a program name with args.
10778 set dummy cc
; ac_word
=$2
10779 echo "$as_me:$LINENO: checking for $ac_word" >&5
10780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10781 if test "${ac_cv_prog_CC+set}" = set; then
10782 echo $ECHO_N "(cached) $ECHO_C" >&6
10784 if test -n "$CC"; then
10785 ac_cv_prog_CC
="$CC" # Let the user override the test.
10787 ac_prog_rejected
=no
10788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10789 for as_dir
in $PATH
10792 test -z "$as_dir" && as_dir
=.
10793 for ac_exec_ext
in '' $ac_executable_extensions; do
10794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10795 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10796 ac_prog_rejected
=yes
10800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10806 if test $ac_prog_rejected = yes; then
10807 # We found a bogon in the path, so make sure we never use it.
10808 set dummy
$ac_cv_prog_CC
10810 if test $# != 0; then
10811 # We chose a different compiler from the bogus one.
10812 # However, it has the same basename, so the bogon will be chosen
10813 # first if we set CC to just the basename; use the full file name.
10815 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10821 if test -n "$CC"; then
10822 echo "$as_me:$LINENO: result: $CC" >&5
10823 echo "${ECHO_T}$CC" >&6
10825 echo "$as_me:$LINENO: result: no" >&5
10826 echo "${ECHO_T}no" >&6
10830 if test -z "$CC"; then
10831 if test -n "$ac_tool_prefix"; then
10834 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10835 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10836 echo "$as_me:$LINENO: checking for $ac_word" >&5
10837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10838 if test "${ac_cv_prog_CC+set}" = set; then
10839 echo $ECHO_N "(cached) $ECHO_C" >&6
10841 if test -n "$CC"; then
10842 ac_cv_prog_CC
="$CC" # Let the user override the test.
10844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10845 for as_dir
in $PATH
10848 test -z "$as_dir" && as_dir
=.
10849 for ac_exec_ext
in '' $ac_executable_extensions; do
10850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10851 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10861 if test -n "$CC"; then
10862 echo "$as_me:$LINENO: result: $CC" >&5
10863 echo "${ECHO_T}$CC" >&6
10865 echo "$as_me:$LINENO: result: no" >&5
10866 echo "${ECHO_T}no" >&6
10869 test -n "$CC" && break
10872 if test -z "$CC"; then
10876 # Extract the first word of "$ac_prog", so it can be a program name with args.
10877 set dummy
$ac_prog; ac_word
=$2
10878 echo "$as_me:$LINENO: checking for $ac_word" >&5
10879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10880 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10881 echo $ECHO_N "(cached) $ECHO_C" >&6
10883 if test -n "$ac_ct_CC"; then
10884 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10887 for as_dir
in $PATH
10890 test -z "$as_dir" && as_dir
=.
10891 for ac_exec_ext
in '' $ac_executable_extensions; do
10892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10893 ac_cv_prog_ac_ct_CC
="$ac_prog"
10894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10902 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10903 if test -n "$ac_ct_CC"; then
10904 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10905 echo "${ECHO_T}$ac_ct_CC" >&6
10907 echo "$as_me:$LINENO: result: no" >&5
10908 echo "${ECHO_T}no" >&6
10911 test -n "$ac_ct_CC" && break
10920 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10921 See \`config.log' for more details." >&5
10922 echo "$as_me: error: no acceptable C compiler found in \$PATH
10923 See \`config.log' for more details." >&2;}
10924 { (exit 1); exit 1; }; }
10926 # Provide some information about the compiler.
10927 echo "$as_me:$LINENO:" \
10928 "checking for C compiler version" >&5
10929 ac_compiler
=`set X $ac_compile; echo $2`
10930 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10931 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934 (exit $ac_status); }
10935 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10936 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); }
10940 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10941 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10944 (exit $ac_status); }
10946 cat >conftest.
$ac_ext <<_ACEOF
10949 cat confdefs.h
>>conftest.
$ac_ext
10950 cat >>conftest.
$ac_ext <<_ACEOF
10951 /* end confdefs.h. */
10961 ac_clean_files_save
=$ac_clean_files
10962 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10963 # Try to create an executable without -o first, disregard a.out.
10964 # It will help us diagnose broken compilers, and finding out an intuition
10966 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10967 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10968 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10969 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10970 (eval $ac_link_default) 2>&5
10972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10973 (exit $ac_status); }; then
10974 # Find the output, starting from the most likely. This scheme is
10975 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10978 # Be careful to initialize this variable, since it used to be cached.
10979 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10981 # b.out is created by i960 compilers.
10982 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10984 test -f "$ac_file" || continue
10986 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10989 # This is the source file.
10992 # We found the default executable, but exeext='' is most
10996 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10997 # FIXME: I believe we export ac_cv_exeext for Libtool,
10998 # but it would be cool to find out if it's true. Does anybody
10999 # maintain Libtool? --akim.
11000 export ac_cv_exeext
11007 echo "$as_me: failed program was:" >&5
11008 sed 's/^/| /' conftest.
$ac_ext >&5
11010 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11011 See \`config.log' for more details." >&5
11012 echo "$as_me: error: C compiler cannot create executables
11013 See \`config.log' for more details." >&2;}
11014 { (exit 77); exit 77; }; }
11017 ac_exeext
=$ac_cv_exeext
11018 echo "$as_me:$LINENO: result: $ac_file" >&5
11019 echo "${ECHO_T}$ac_file" >&6
11021 # Check the compiler produces executables we can run. If not, either
11022 # the compiler is broken, or we cross compile.
11023 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11024 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11025 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11026 # If not cross compiling, check that we can run a simple program.
11027 if test "$cross_compiling" != yes; then
11028 if { ac_try
='./$ac_file'
11029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11030 (eval $ac_try) 2>&5
11032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11033 (exit $ac_status); }; }; then
11036 if test "$cross_compiling" = maybe
; then
11037 cross_compiling
=yes
11039 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11040 If you meant to cross compile, use \`--host'.
11041 See \`config.log' for more details." >&5
11042 echo "$as_me: error: cannot run C compiled programs.
11043 If you meant to cross compile, use \`--host'.
11044 See \`config.log' for more details." >&2;}
11045 { (exit 1); exit 1; }; }
11049 echo "$as_me:$LINENO: result: yes" >&5
11050 echo "${ECHO_T}yes" >&6
11052 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11053 ac_clean_files
=$ac_clean_files_save
11054 # Check the compiler produces executables we can run. If not, either
11055 # the compiler is broken, or we cross compile.
11056 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11057 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11058 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11059 echo "${ECHO_T}$cross_compiling" >&6
11061 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11062 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11064 (eval $ac_link) 2>&5
11066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11067 (exit $ac_status); }; then
11068 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11069 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11070 # work properly (i.e., refer to `conftest.exe'), while it won't with
11072 for ac_file
in conftest.exe conftest conftest.
*; do
11073 test -f "$ac_file" || continue
11075 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11076 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11077 export ac_cv_exeext
11083 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11084 See \`config.log' for more details." >&5
11085 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11086 See \`config.log' for more details." >&2;}
11087 { (exit 1); exit 1; }; }
11090 rm -f conftest
$ac_cv_exeext
11091 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11092 echo "${ECHO_T}$ac_cv_exeext" >&6
11094 rm -f conftest.
$ac_ext
11095 EXEEXT
=$ac_cv_exeext
11097 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11098 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11099 if test "${ac_cv_objext+set}" = set; then
11100 echo $ECHO_N "(cached) $ECHO_C" >&6
11102 cat >conftest.
$ac_ext <<_ACEOF
11105 cat confdefs.h
>>conftest.
$ac_ext
11106 cat >>conftest.
$ac_ext <<_ACEOF
11107 /* end confdefs.h. */
11117 rm -f conftest.o conftest.obj
11118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11119 (eval $ac_compile) 2>&5
11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); }; then
11123 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11125 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11126 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11131 echo "$as_me: failed program was:" >&5
11132 sed 's/^/| /' conftest.
$ac_ext >&5
11134 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11135 See \`config.log' for more details." >&5
11136 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11137 See \`config.log' for more details." >&2;}
11138 { (exit 1); exit 1; }; }
11141 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11143 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11144 echo "${ECHO_T}$ac_cv_objext" >&6
11145 OBJEXT
=$ac_cv_objext
11147 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11148 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11149 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11150 echo $ECHO_N "(cached) $ECHO_C" >&6
11152 cat >conftest.
$ac_ext <<_ACEOF
11155 cat confdefs.h
>>conftest.
$ac_ext
11156 cat >>conftest.
$ac_ext <<_ACEOF
11157 /* end confdefs.h. */
11170 rm -f conftest.
$ac_objext
11171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11172 (eval $ac_compile) 2>conftest.er1
11174 grep -v '^ *+' conftest.er1
>conftest.err
11176 cat conftest.err
>&5
11177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11178 (exit $ac_status); } &&
11179 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11181 (eval $ac_try) 2>&5
11183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11184 (exit $ac_status); }; } &&
11185 { ac_try
='test -s conftest.$ac_objext'
11186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11187 (eval $ac_try) 2>&5
11189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11190 (exit $ac_status); }; }; then
11191 ac_compiler_gnu
=yes
11193 echo "$as_me: failed program was:" >&5
11194 sed 's/^/| /' conftest.
$ac_ext >&5
11198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11199 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11202 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11203 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11204 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11205 ac_test_CFLAGS
=${CFLAGS+set}
11206 ac_save_CFLAGS
=$CFLAGS
11208 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11209 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11210 if test "${ac_cv_prog_cc_g+set}" = set; then
11211 echo $ECHO_N "(cached) $ECHO_C" >&6
11213 cat >conftest.
$ac_ext <<_ACEOF
11216 cat confdefs.h
>>conftest.
$ac_ext
11217 cat >>conftest.
$ac_ext <<_ACEOF
11218 /* end confdefs.h. */
11228 rm -f conftest.
$ac_objext
11229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11230 (eval $ac_compile) 2>conftest.er1
11232 grep -v '^ *+' conftest.er1
>conftest.err
11234 cat conftest.err
>&5
11235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11236 (exit $ac_status); } &&
11237 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11239 (eval $ac_try) 2>&5
11241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242 (exit $ac_status); }; } &&
11243 { ac_try
='test -s conftest.$ac_objext'
11244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11245 (eval $ac_try) 2>&5
11247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11248 (exit $ac_status); }; }; then
11249 ac_cv_prog_cc_g
=yes
11251 echo "$as_me: failed program was:" >&5
11252 sed 's/^/| /' conftest.
$ac_ext >&5
11256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11258 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11259 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11260 if test "$ac_test_CFLAGS" = set; then
11261 CFLAGS
=$ac_save_CFLAGS
11262 elif test $ac_cv_prog_cc_g = yes; then
11263 if test "$GCC" = yes; then
11269 if test "$GCC" = yes; then
11275 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11276 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11277 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11278 echo $ECHO_N "(cached) $ECHO_C" >&6
11280 ac_cv_prog_cc_stdc
=no
11282 cat >conftest.
$ac_ext <<_ACEOF
11285 cat confdefs.h
>>conftest.
$ac_ext
11286 cat >>conftest.
$ac_ext <<_ACEOF
11287 /* end confdefs.h. */
11288 #include <stdarg.h>
11290 #include <sys/types.h>
11291 #include <sys/stat.h>
11292 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11293 struct buf { int x; };
11294 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11295 static char *e (p, i)
11301 static char *f (char * (*g) (char **, int), char **p, ...)
11306 s = g (p, va_arg (v,int));
11311 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11312 function prototypes and stuff, but not '\xHH' hex character constants.
11313 These don't provoke an error unfortunately, instead are silently treated
11314 as 'x'. The following induces an error, until -std1 is added to get
11315 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11316 array size at least. It's necessary to write '\x00'==0 to get something
11317 that's true only with -std1. */
11318 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11320 int test (int i, double x);
11321 struct s1 {int (*f) (int a);};
11322 struct s2 {int (*f) (double a);};
11323 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11329 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11334 # Don't try gcc -ansi; that turns off useful extensions and
11335 # breaks some systems' header files.
11336 # AIX -qlanglvl=ansi
11337 # Ultrix and OSF/1 -std1
11338 # HP-UX 10.20 and later -Ae
11339 # HP-UX older versions -Aa -D_HPUX_SOURCE
11340 # SVR4 -Xc -D__EXTENSIONS__
11341 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11343 CC
="$ac_save_CC $ac_arg"
11344 rm -f conftest.
$ac_objext
11345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11346 (eval $ac_compile) 2>conftest.er1
11348 grep -v '^ *+' conftest.er1
>conftest.err
11350 cat conftest.err
>&5
11351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11352 (exit $ac_status); } &&
11353 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11355 (eval $ac_try) 2>&5
11357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11358 (exit $ac_status); }; } &&
11359 { ac_try
='test -s conftest.$ac_objext'
11360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11361 (eval $ac_try) 2>&5
11363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364 (exit $ac_status); }; }; then
11365 ac_cv_prog_cc_stdc
=$ac_arg
11368 echo "$as_me: failed program was:" >&5
11369 sed 's/^/| /' conftest.
$ac_ext >&5
11372 rm -f conftest.err conftest.
$ac_objext
11374 rm -f conftest.
$ac_ext conftest.
$ac_objext
11379 case "x$ac_cv_prog_cc_stdc" in
11381 echo "$as_me:$LINENO: result: none needed" >&5
11382 echo "${ECHO_T}none needed" >&6 ;;
11384 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11385 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11386 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11389 # Some people use a C++ compiler to compile C. Since we use `exit',
11390 # in C++ we need to declare it. In case someone uses the same compiler
11391 # for both compiling C and C++ we need to have the C++ compiler decide
11392 # the declaration of exit, since it's the most demanding environment.
11393 cat >conftest.
$ac_ext <<_ACEOF
11394 #ifndef __cplusplus
11398 rm -f conftest.
$ac_objext
11399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11400 (eval $ac_compile) 2>conftest.er1
11402 grep -v '^ *+' conftest.er1
>conftest.err
11404 cat conftest.err
>&5
11405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11406 (exit $ac_status); } &&
11407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11409 (eval $ac_try) 2>&5
11411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412 (exit $ac_status); }; } &&
11413 { ac_try
='test -s conftest.$ac_objext'
11414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11415 (eval $ac_try) 2>&5
11417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11418 (exit $ac_status); }; }; then
11419 for ac_declaration
in \
11421 'extern "C" void std::exit (int) throw (); using std::exit;' \
11422 'extern "C" void std::exit (int); using std::exit;' \
11423 'extern "C" void exit (int) throw ();' \
11424 'extern "C" void exit (int);' \
11427 cat >conftest.
$ac_ext <<_ACEOF
11430 cat confdefs.h
>>conftest.
$ac_ext
11431 cat >>conftest.
$ac_ext <<_ACEOF
11432 /* end confdefs.h. */
11434 #include <stdlib.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" || test ! -s conftest.err'
11453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11454 (eval $ac_try) 2>&5
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); }; } &&
11458 { ac_try
='test -s conftest.$ac_objext'
11459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11460 (eval $ac_try) 2>&5
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); }; }; then
11466 echo "$as_me: failed program was:" >&5
11467 sed 's/^/| /' conftest.
$ac_ext >&5
11471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11472 cat >conftest.
$ac_ext <<_ACEOF
11475 cat confdefs.h
>>conftest.
$ac_ext
11476 cat >>conftest.
$ac_ext <<_ACEOF
11477 /* end confdefs.h. */
11487 rm -f conftest.
$ac_objext
11488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11489 (eval $ac_compile) 2>conftest.er1
11491 grep -v '^ *+' conftest.er1
>conftest.err
11493 cat conftest.err
>&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); } &&
11496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11498 (eval $ac_try) 2>&5
11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11501 (exit $ac_status); }; } &&
11502 { ac_try
='test -s conftest.$ac_objext'
11503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11504 (eval $ac_try) 2>&5
11506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11507 (exit $ac_status); }; }; then
11510 echo "$as_me: failed program was:" >&5
11511 sed 's/^/| /' conftest.
$ac_ext >&5
11514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11517 if test -n "$ac_declaration"; then
11518 echo '#ifdef __cplusplus' >>confdefs.h
11519 echo $ac_declaration >>confdefs.h
11520 echo '#endif' >>confdefs.h
11524 echo "$as_me: failed program was:" >&5
11525 sed 's/^/| /' conftest.
$ac_ext >&5
11528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11530 ac_cpp
='$CPP $CPPFLAGS'
11531 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11532 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11533 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11535 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11536 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11537 if test "${wx_cv_c_exto+set}" = set; then
11538 echo $ECHO_N "(cached) $ECHO_C" >&6
11540 cat >conftest.
$ac_ext <<_ACEOF
11543 cat confdefs.h
>>conftest.
$ac_ext
11544 cat >>conftest.
$ac_ext <<_ACEOF
11545 /* end confdefs.h. */
11555 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11557 (eval $ac_compile) 2>&5
11559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11560 (exit $ac_status); }; then
11561 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11563 conftest.
$ac_ext.o
)
11564 wx_cv_c_exto
="-ext o"
11571 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11572 See \`config.log' for more details." >&5
11573 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11574 See \`config.log' for more details." >&2;}
11575 { (exit 1); exit 1; }; }
11579 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11582 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11583 echo "${ECHO_T}$wx_cv_c_exto" >&6
11584 if test "x$wx_cv_c_exto" '!=' "x"; then
11585 if test "c" = "c"; then
11586 CFLAGS
="$wx_cv_c_exto $CFLAGS"
11588 if test "c" = "cxx"; then
11589 CXXFLAGS
="$wx_cv_c_exto $CXXFLAGS"
11593 if test "x$wx_cv_c_exto" '!=' "x"; then
11594 unset ac_cv_prog_cc_g
11595 ac_test_CFLAGS
=${CFLAGS+set}
11596 ac_save_CFLAGS
=$CFLAGS
11598 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11599 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11600 if test "${ac_cv_prog_cc_g+set}" = set; then
11601 echo $ECHO_N "(cached) $ECHO_C" >&6
11603 cat >conftest.
$ac_ext <<_ACEOF
11606 cat confdefs.h
>>conftest.
$ac_ext
11607 cat >>conftest.
$ac_ext <<_ACEOF
11608 /* end confdefs.h. */
11618 rm -f conftest.
$ac_objext
11619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11620 (eval $ac_compile) 2>conftest.er1
11622 grep -v '^ *+' conftest.er1
>conftest.err
11624 cat conftest.err
>&5
11625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11626 (exit $ac_status); } &&
11627 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11629 (eval $ac_try) 2>&5
11631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11632 (exit $ac_status); }; } &&
11633 { ac_try
='test -s conftest.$ac_objext'
11634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11635 (eval $ac_try) 2>&5
11637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11638 (exit $ac_status); }; }; then
11639 ac_cv_prog_cc_g
=yes
11641 echo "$as_me: failed program was:" >&5
11642 sed 's/^/| /' conftest.
$ac_ext >&5
11646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11648 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11649 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11650 if test "$ac_test_CFLAGS" = set; then
11651 CFLAGS
=$ac_save_CFLAGS
11652 elif test $ac_cv_prog_cc_g = yes; then
11653 if test "$GCC" = yes; then
11659 if test "$GCC" = yes; then
11668 ac_cpp
='$CPP $CPPFLAGS'
11669 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11670 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11671 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11673 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11674 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11675 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11676 echo $ECHO_N "(cached) $ECHO_C" >&6
11678 cat >conftest.
$ac_ext <<_ACEOF
11681 cat confdefs.h
>>conftest.
$ac_ext
11682 cat >>conftest.
$ac_ext <<_ACEOF
11683 /* end confdefs.h. */
11696 rm -f conftest.
$ac_objext
11697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11698 (eval $ac_compile) 2>conftest.er1
11700 grep -v '^ *+' conftest.er1
>conftest.err
11702 cat conftest.err
>&5
11703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11704 (exit $ac_status); } &&
11705 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11707 (eval $ac_try) 2>&5
11709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11710 (exit $ac_status); }; } &&
11711 { ac_try
='test -s conftest.$ac_objext'
11712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11713 (eval $ac_try) 2>&5
11715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11716 (exit $ac_status); }; }; then
11717 bakefile_compiler_mwerks
=yes
11719 echo "$as_me: failed program was:" >&5
11720 sed 's/^/| /' conftest.
$ac_ext >&5
11722 bakefile_compiler_mwerks
=no
11724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11725 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11728 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11729 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11731 MWCC
=`test $bakefile_compiler_mwerks = yes && echo yes`
11733 ac_cpp
='$CPP $CPPFLAGS'
11734 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11735 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11736 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11740 ac_cpp
='$CPP $CPPFLAGS'
11741 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11742 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11743 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11745 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11746 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11747 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11748 echo $ECHO_N "(cached) $ECHO_C" >&6
11750 cat >conftest.
$ac_ext <<_ACEOF
11753 cat confdefs.h
>>conftest.
$ac_ext
11754 cat >>conftest.
$ac_ext <<_ACEOF
11755 /* end confdefs.h. */
11768 rm -f conftest.
$ac_objext
11769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11770 (eval $ac_compile) 2>conftest.er1
11772 grep -v '^ *+' conftest.er1
>conftest.err
11774 cat conftest.err
>&5
11775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11776 (exit $ac_status); } &&
11777 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11779 (eval $ac_try) 2>&5
11781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782 (exit $ac_status); }; } &&
11783 { ac_try
='test -s conftest.$ac_objext'
11784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11785 (eval $ac_try) 2>&5
11787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11788 (exit $ac_status); }; }; then
11789 wx_compiler_xlc
=yes
11791 echo "$as_me: failed program was:" >&5
11792 sed 's/^/| /' conftest.
$ac_ext >&5
11796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11797 wx_cv_c_compiler_xlc
=$wx_compiler_xlc
11800 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11801 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11803 XLCC
=`test $wx_compiler_xlc = yes && echo yes`
11805 ac_cpp
='$CPP $CPPFLAGS'
11806 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11807 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11808 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11813 ac_cpp
='$CPP $CPPFLAGS'
11814 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11815 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11816 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11817 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11818 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11819 # On Suns, sometimes $CPP names a directory.
11820 if test -n "$CPP" && test -d "$CPP"; then
11823 if test -z "$CPP"; then
11824 if test "${ac_cv_prog_CPP+set}" = set; then
11825 echo $ECHO_N "(cached) $ECHO_C" >&6
11827 # Double quotes because CPP needs to be expanded
11828 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11830 ac_preproc_ok
=false
11831 for ac_c_preproc_warn_flag
in '' yes
11833 # Use a header file that comes with gcc, so configuring glibc
11834 # with a fresh cross-compiler works.
11835 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11836 # <limits.h> exists even on freestanding compilers.
11837 # On the NeXT, cc -E runs the code through the compiler's parser,
11838 # not just through cpp. "Syntax error" is here to catch this case.
11839 cat >conftest.
$ac_ext <<_ACEOF
11842 cat confdefs.h
>>conftest.
$ac_ext
11843 cat >>conftest.
$ac_ext <<_ACEOF
11844 /* end confdefs.h. */
11846 # include <limits.h>
11848 # include <assert.h>
11852 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11853 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11855 grep -v '^ *+' conftest.er1
>conftest.err
11857 cat conftest.err
>&5
11858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11859 (exit $ac_status); } >/dev
/null
; then
11860 if test -s conftest.err
; then
11861 ac_cpp_err
=$ac_c_preproc_warn_flag
11862 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11869 if test -z "$ac_cpp_err"; then
11872 echo "$as_me: failed program was:" >&5
11873 sed 's/^/| /' conftest.
$ac_ext >&5
11875 # Broken: fails on valid input.
11878 rm -f conftest.err conftest.
$ac_ext
11880 # OK, works on sane cases. Now check whether non-existent headers
11881 # can be detected and how.
11882 cat >conftest.
$ac_ext <<_ACEOF
11885 cat confdefs.h
>>conftest.
$ac_ext
11886 cat >>conftest.
$ac_ext <<_ACEOF
11887 /* end confdefs.h. */
11888 #include <ac_nonexistent.h>
11890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11891 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11893 grep -v '^ *+' conftest.er1
>conftest.err
11895 cat conftest.err
>&5
11896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11897 (exit $ac_status); } >/dev
/null
; then
11898 if test -s conftest.err
; then
11899 ac_cpp_err
=$ac_c_preproc_warn_flag
11900 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11907 if test -z "$ac_cpp_err"; then
11908 # Broken: success on invalid input.
11911 echo "$as_me: failed program was:" >&5
11912 sed 's/^/| /' conftest.
$ac_ext >&5
11914 # Passes both tests.
11918 rm -f conftest.err conftest.
$ac_ext
11921 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11922 rm -f conftest.err conftest.
$ac_ext
11923 if $ac_preproc_ok; then
11928 ac_cv_prog_CPP
=$CPP
11931 CPP
=$ac_cv_prog_CPP
11933 ac_cv_prog_CPP
=$CPP
11935 echo "$as_me:$LINENO: result: $CPP" >&5
11936 echo "${ECHO_T}$CPP" >&6
11937 ac_preproc_ok
=false
11938 for ac_c_preproc_warn_flag
in '' yes
11940 # Use a header file that comes with gcc, so configuring glibc
11941 # with a fresh cross-compiler works.
11942 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11943 # <limits.h> exists even on freestanding compilers.
11944 # On the NeXT, cc -E runs the code through the compiler's parser,
11945 # not just through cpp. "Syntax error" is here to catch this case.
11946 cat >conftest.
$ac_ext <<_ACEOF
11949 cat confdefs.h
>>conftest.
$ac_ext
11950 cat >>conftest.
$ac_ext <<_ACEOF
11951 /* end confdefs.h. */
11953 # include <limits.h>
11955 # include <assert.h>
11959 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11960 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11962 grep -v '^ *+' conftest.er1
>conftest.err
11964 cat conftest.err
>&5
11965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11966 (exit $ac_status); } >/dev
/null
; then
11967 if test -s conftest.err
; then
11968 ac_cpp_err
=$ac_c_preproc_warn_flag
11969 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11976 if test -z "$ac_cpp_err"; then
11979 echo "$as_me: failed program was:" >&5
11980 sed 's/^/| /' conftest.
$ac_ext >&5
11982 # Broken: fails on valid input.
11985 rm -f conftest.err conftest.
$ac_ext
11987 # OK, works on sane cases. Now check whether non-existent headers
11988 # can be detected and how.
11989 cat >conftest.
$ac_ext <<_ACEOF
11992 cat confdefs.h
>>conftest.
$ac_ext
11993 cat >>conftest.
$ac_ext <<_ACEOF
11994 /* end confdefs.h. */
11995 #include <ac_nonexistent.h>
11997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11998 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12000 grep -v '^ *+' conftest.er1
>conftest.err
12002 cat conftest.err
>&5
12003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12004 (exit $ac_status); } >/dev
/null
; then
12005 if test -s conftest.err
; then
12006 ac_cpp_err
=$ac_c_preproc_warn_flag
12007 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12014 if test -z "$ac_cpp_err"; then
12015 # Broken: success on invalid input.
12018 echo "$as_me: failed program was:" >&5
12019 sed 's/^/| /' conftest.
$ac_ext >&5
12021 # Passes both tests.
12025 rm -f conftest.err conftest.
$ac_ext
12028 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12029 rm -f conftest.err conftest.
$ac_ext
12030 if $ac_preproc_ok; then
12033 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12034 See \`config.log' for more details." >&5
12035 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12036 See \`config.log' for more details." >&2;}
12037 { (exit 1); exit 1; }; }
12041 ac_cpp
='$CPP $CPPFLAGS'
12042 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12043 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12044 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12047 echo "$as_me:$LINENO: checking for egrep" >&5
12048 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12049 if test "${ac_cv_prog_egrep+set}" = set; then
12050 echo $ECHO_N "(cached) $ECHO_C" >&6
12052 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12053 then ac_cv_prog_egrep
='grep -E'
12054 else ac_cv_prog_egrep
='egrep'
12057 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12058 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12059 EGREP
=$ac_cv_prog_egrep
12062 if test $ac_cv_c_compiler_gnu = yes; then
12063 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12064 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12065 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12066 echo $ECHO_N "(cached) $ECHO_C" >&6
12068 ac_pattern
="Autoconf.*'x'"
12069 cat >conftest.
$ac_ext <<_ACEOF
12072 cat confdefs.h
>>conftest.
$ac_ext
12073 cat >>conftest.
$ac_ext <<_ACEOF
12074 /* end confdefs.h. */
12078 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12079 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12080 ac_cv_prog_gcc_traditional
=yes
12082 ac_cv_prog_gcc_traditional
=no
12087 if test $ac_cv_prog_gcc_traditional = no
; then
12088 cat >conftest.
$ac_ext <<_ACEOF
12091 cat confdefs.h
>>conftest.
$ac_ext
12092 cat >>conftest.
$ac_ext <<_ACEOF
12093 /* end confdefs.h. */
12094 #include <termio.h>
12097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12098 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12099 ac_cv_prog_gcc_traditional
=yes
12105 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12106 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12107 if test $ac_cv_prog_gcc_traditional = yes; then
12108 CC
="$CC -traditional"
12116 ac_cpp
='$CXXCPP $CPPFLAGS'
12117 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12118 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12119 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12122 CXXFLAGS
=${CXXFLAGS:=}
12124 ac_cpp
='$CXXCPP $CPPFLAGS'
12125 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12126 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12127 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12128 if test -n "$ac_tool_prefix"; then
12129 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12131 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12132 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12133 echo "$as_me:$LINENO: checking for $ac_word" >&5
12134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12135 if test "${ac_cv_prog_CXX+set}" = set; then
12136 echo $ECHO_N "(cached) $ECHO_C" >&6
12138 if test -n "$CXX"; then
12139 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12142 for as_dir
in $PATH
12145 test -z "$as_dir" && as_dir
=.
12146 for ac_exec_ext
in '' $ac_executable_extensions; do
12147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12148 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12157 CXX
=$ac_cv_prog_CXX
12158 if test -n "$CXX"; then
12159 echo "$as_me:$LINENO: result: $CXX" >&5
12160 echo "${ECHO_T}$CXX" >&6
12162 echo "$as_me:$LINENO: result: no" >&5
12163 echo "${ECHO_T}no" >&6
12166 test -n "$CXX" && break
12169 if test -z "$CXX"; then
12171 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12173 # Extract the first word of "$ac_prog", so it can be a program name with args.
12174 set dummy
$ac_prog; ac_word
=$2
12175 echo "$as_me:$LINENO: checking for $ac_word" >&5
12176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12177 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12178 echo $ECHO_N "(cached) $ECHO_C" >&6
12180 if test -n "$ac_ct_CXX"; then
12181 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12184 for as_dir
in $PATH
12187 test -z "$as_dir" && as_dir
=.
12188 for ac_exec_ext
in '' $ac_executable_extensions; do
12189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12190 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12199 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12200 if test -n "$ac_ct_CXX"; then
12201 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12202 echo "${ECHO_T}$ac_ct_CXX" >&6
12204 echo "$as_me:$LINENO: result: no" >&5
12205 echo "${ECHO_T}no" >&6
12208 test -n "$ac_ct_CXX" && break
12210 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12216 # Provide some information about the compiler.
12217 echo "$as_me:$LINENO:" \
12218 "checking for C++ compiler version" >&5
12219 ac_compiler
=`set X $ac_compile; echo $2`
12220 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12221 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12224 (exit $ac_status); }
12225 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12226 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); }
12230 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12231 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); }
12236 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12237 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12238 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12239 echo $ECHO_N "(cached) $ECHO_C" >&6
12241 cat >conftest.
$ac_ext <<_ACEOF
12244 cat confdefs.h
>>conftest.
$ac_ext
12245 cat >>conftest.
$ac_ext <<_ACEOF
12246 /* end confdefs.h. */
12259 rm -f conftest.
$ac_objext
12260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12261 (eval $ac_compile) 2>conftest.er1
12263 grep -v '^ *+' conftest.er1
>conftest.err
12265 cat conftest.err
>&5
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 (exit $ac_status); } &&
12268 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12270 (eval $ac_try) 2>&5
12272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 (exit $ac_status); }; } &&
12274 { ac_try
='test -s conftest.$ac_objext'
12275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12276 (eval $ac_try) 2>&5
12278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12279 (exit $ac_status); }; }; then
12280 ac_compiler_gnu
=yes
12282 echo "$as_me: failed program was:" >&5
12283 sed 's/^/| /' conftest.
$ac_ext >&5
12287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12288 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12291 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12292 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12293 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12294 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12295 ac_save_CXXFLAGS
=$CXXFLAGS
12297 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12298 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12299 if test "${ac_cv_prog_cxx_g+set}" = set; then
12300 echo $ECHO_N "(cached) $ECHO_C" >&6
12302 cat >conftest.
$ac_ext <<_ACEOF
12305 cat confdefs.h
>>conftest.
$ac_ext
12306 cat >>conftest.
$ac_ext <<_ACEOF
12307 /* end confdefs.h. */
12317 rm -f conftest.
$ac_objext
12318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12319 (eval $ac_compile) 2>conftest.er1
12321 grep -v '^ *+' conftest.er1
>conftest.err
12323 cat conftest.err
>&5
12324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12325 (exit $ac_status); } &&
12326 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12328 (eval $ac_try) 2>&5
12330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12331 (exit $ac_status); }; } &&
12332 { ac_try
='test -s conftest.$ac_objext'
12333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12334 (eval $ac_try) 2>&5
12336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337 (exit $ac_status); }; }; then
12338 ac_cv_prog_cxx_g
=yes
12340 echo "$as_me: failed program was:" >&5
12341 sed 's/^/| /' conftest.
$ac_ext >&5
12343 ac_cv_prog_cxx_g
=no
12345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12347 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12348 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12349 if test "$ac_test_CXXFLAGS" = set; then
12350 CXXFLAGS
=$ac_save_CXXFLAGS
12351 elif test $ac_cv_prog_cxx_g = yes; then
12352 if test "$GXX" = yes; then
12358 if test "$GXX" = yes; then
12364 for ac_declaration
in \
12366 'extern "C" void std::exit (int) throw (); using std::exit;' \
12367 'extern "C" void std::exit (int); using std::exit;' \
12368 'extern "C" void exit (int) throw ();' \
12369 'extern "C" void exit (int);' \
12372 cat >conftest.
$ac_ext <<_ACEOF
12375 cat confdefs.h
>>conftest.
$ac_ext
12376 cat >>conftest.
$ac_ext <<_ACEOF
12377 /* end confdefs.h. */
12379 #include <stdlib.h>
12388 rm -f conftest.
$ac_objext
12389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12390 (eval $ac_compile) 2>conftest.er1
12392 grep -v '^ *+' conftest.er1
>conftest.err
12394 cat conftest.err
>&5
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); } &&
12397 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12399 (eval $ac_try) 2>&5
12401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12402 (exit $ac_status); }; } &&
12403 { ac_try
='test -s conftest.$ac_objext'
12404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12405 (eval $ac_try) 2>&5
12407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12408 (exit $ac_status); }; }; then
12411 echo "$as_me: failed program was:" >&5
12412 sed 's/^/| /' conftest.
$ac_ext >&5
12416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12417 cat >conftest.
$ac_ext <<_ACEOF
12420 cat confdefs.h
>>conftest.
$ac_ext
12421 cat >>conftest.
$ac_ext <<_ACEOF
12422 /* end confdefs.h. */
12432 rm -f conftest.
$ac_objext
12433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12434 (eval $ac_compile) 2>conftest.er1
12436 grep -v '^ *+' conftest.er1
>conftest.err
12438 cat conftest.err
>&5
12439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12440 (exit $ac_status); } &&
12441 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12443 (eval $ac_try) 2>&5
12445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); }; } &&
12447 { ac_try
='test -s conftest.$ac_objext'
12448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12449 (eval $ac_try) 2>&5
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); }; }; then
12455 echo "$as_me: failed program was:" >&5
12456 sed 's/^/| /' conftest.
$ac_ext >&5
12459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12462 if test -n "$ac_declaration"; then
12463 echo '#ifdef __cplusplus' >>confdefs.h
12464 echo $ac_declaration >>confdefs.h
12465 echo '#endif' >>confdefs.h
12469 ac_cpp
='$CXXCPP $CPPFLAGS'
12470 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12471 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12472 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12474 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12475 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12476 if test "${wx_cv_cxx_exto+set}" = set; then
12477 echo $ECHO_N "(cached) $ECHO_C" >&6
12479 cat >conftest.
$ac_ext <<_ACEOF
12482 cat confdefs.h
>>conftest.
$ac_ext
12483 cat >>conftest.
$ac_ext <<_ACEOF
12484 /* end confdefs.h. */
12494 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12496 (eval $ac_compile) 2>&5
12498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12499 (exit $ac_status); }; then
12500 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12502 conftest.
$ac_ext.o
)
12503 wx_cv_cxx_exto
="-ext o"
12510 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12511 See \`config.log' for more details." >&5
12512 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12513 See \`config.log' for more details." >&2;}
12514 { (exit 1); exit 1; }; }
12518 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12521 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12522 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12523 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12524 if test "cxx" = "c"; then
12525 CFLAGS
="$wx_cv_cxx_exto $CFLAGS"
12527 if test "cxx" = "cxx"; then
12528 CXXFLAGS
="$wx_cv_cxx_exto $CXXFLAGS"
12532 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12533 unset ac_cv_prog_cxx_g
12534 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12535 ac_save_CXXFLAGS
=$CXXFLAGS
12537 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12538 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12539 if test "${ac_cv_prog_cxx_g+set}" = set; then
12540 echo $ECHO_N "(cached) $ECHO_C" >&6
12542 cat >conftest.
$ac_ext <<_ACEOF
12545 cat confdefs.h
>>conftest.
$ac_ext
12546 cat >>conftest.
$ac_ext <<_ACEOF
12547 /* end confdefs.h. */
12557 rm -f conftest.
$ac_objext
12558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12559 (eval $ac_compile) 2>conftest.er1
12561 grep -v '^ *+' conftest.er1
>conftest.err
12563 cat conftest.err
>&5
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); } &&
12566 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12568 (eval $ac_try) 2>&5
12570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12571 (exit $ac_status); }; } &&
12572 { ac_try
='test -s conftest.$ac_objext'
12573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12574 (eval $ac_try) 2>&5
12576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12577 (exit $ac_status); }; }; then
12578 ac_cv_prog_cxx_g
=yes
12580 echo "$as_me: failed program was:" >&5
12581 sed 's/^/| /' conftest.
$ac_ext >&5
12583 ac_cv_prog_cxx_g
=no
12585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12587 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12588 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12589 if test "$ac_test_CXXFLAGS" = set; then
12590 CXXFLAGS
=$ac_save_CXXFLAGS
12591 elif test $ac_cv_prog_cxx_g = yes; then
12592 if test "$GXX" = yes; then
12598 if test "$GXX" = yes; then
12607 ac_cpp
='$CXXCPP $CPPFLAGS'
12608 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12609 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12610 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12612 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12613 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12614 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12615 echo $ECHO_N "(cached) $ECHO_C" >&6
12617 cat >conftest.
$ac_ext <<_ACEOF
12620 cat confdefs.h
>>conftest.
$ac_ext
12621 cat >>conftest.
$ac_ext <<_ACEOF
12622 /* end confdefs.h. */
12635 rm -f conftest.
$ac_objext
12636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12637 (eval $ac_compile) 2>conftest.er1
12639 grep -v '^ *+' conftest.er1
>conftest.err
12641 cat conftest.err
>&5
12642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643 (exit $ac_status); } &&
12644 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12646 (eval $ac_try) 2>&5
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); }; } &&
12650 { ac_try
='test -s conftest.$ac_objext'
12651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12652 (eval $ac_try) 2>&5
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); }; }; then
12656 bakefile_compiler_mwerks
=yes
12658 echo "$as_me: failed program was:" >&5
12659 sed 's/^/| /' conftest.
$ac_ext >&5
12661 bakefile_compiler_mwerks
=no
12663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12664 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
12667 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12668 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12670 MWCXX
=`test $bakefile_compiler_mwerks = yes && echo yes`
12672 ac_cpp
='$CXXCPP $CPPFLAGS'
12673 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12674 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12675 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12679 ac_cpp
='$CXXCPP $CPPFLAGS'
12680 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12681 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12682 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12684 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12685 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12686 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12687 echo $ECHO_N "(cached) $ECHO_C" >&6
12689 cat >conftest.
$ac_ext <<_ACEOF
12692 cat confdefs.h
>>conftest.
$ac_ext
12693 cat >>conftest.
$ac_ext <<_ACEOF
12694 /* end confdefs.h. */
12707 rm -f conftest.
$ac_objext
12708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12709 (eval $ac_compile) 2>conftest.er1
12711 grep -v '^ *+' conftest.er1
>conftest.err
12713 cat conftest.err
>&5
12714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715 (exit $ac_status); } &&
12716 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12718 (eval $ac_try) 2>&5
12720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12721 (exit $ac_status); }; } &&
12722 { ac_try
='test -s conftest.$ac_objext'
12723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12724 (eval $ac_try) 2>&5
12726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12727 (exit $ac_status); }; }; then
12728 wx_compiler_xlc
=yes
12730 echo "$as_me: failed program was:" >&5
12731 sed 's/^/| /' conftest.
$ac_ext >&5
12735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12736 wx_cv_cxx_compiler_xlc
=$wx_compiler_xlc
12739 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12740 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12742 XLCXX
=`test $wx_compiler_xlc = yes && echo yes`
12744 ac_cpp
='$CXXCPP $CPPFLAGS'
12745 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12746 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12747 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12752 ac_cpp
='$CPP $CPPFLAGS'
12753 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12754 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12755 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12758 if test -n "$ac_tool_prefix"; then
12759 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12760 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
12761 echo "$as_me:$LINENO: checking for $ac_word" >&5
12762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12763 if test "${ac_cv_prog_RANLIB+set}" = set; then
12764 echo $ECHO_N "(cached) $ECHO_C" >&6
12766 if test -n "$RANLIB"; then
12767 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
12769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12770 for as_dir
in $PATH
12773 test -z "$as_dir" && as_dir
=.
12774 for ac_exec_ext
in '' $ac_executable_extensions; do
12775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12776 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
12777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12785 RANLIB
=$ac_cv_prog_RANLIB
12786 if test -n "$RANLIB"; then
12787 echo "$as_me:$LINENO: result: $RANLIB" >&5
12788 echo "${ECHO_T}$RANLIB" >&6
12790 echo "$as_me:$LINENO: result: no" >&5
12791 echo "${ECHO_T}no" >&6
12795 if test -z "$ac_cv_prog_RANLIB"; then
12796 ac_ct_RANLIB
=$RANLIB
12797 # Extract the first word of "ranlib", so it can be a program name with args.
12798 set dummy ranlib
; ac_word
=$2
12799 echo "$as_me:$LINENO: checking for $ac_word" >&5
12800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12801 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12802 echo $ECHO_N "(cached) $ECHO_C" >&6
12804 if test -n "$ac_ct_RANLIB"; then
12805 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
12807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12808 for as_dir
in $PATH
12811 test -z "$as_dir" && as_dir
=.
12812 for ac_exec_ext
in '' $ac_executable_extensions; do
12813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12814 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12821 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12824 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12825 if test -n "$ac_ct_RANLIB"; then
12826 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12827 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12829 echo "$as_me:$LINENO: result: no" >&5
12830 echo "${ECHO_T}no" >&6
12833 RANLIB
=$ac_ct_RANLIB
12835 RANLIB
="$ac_cv_prog_RANLIB"
12839 # Extract the first word of "ar", so it can be a program name with args.
12840 set dummy
ar; ac_word
=$2
12841 echo "$as_me:$LINENO: checking for $ac_word" >&5
12842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12843 if test "${ac_cv_prog_AR+set}" = set; then
12844 echo $ECHO_N "(cached) $ECHO_C" >&6
12846 if test -n "$AR"; then
12847 ac_cv_prog_AR
="$AR" # Let the user override the test.
12849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12850 for as_dir
in $PATH
12853 test -z "$as_dir" && as_dir
=.
12854 for ac_exec_ext
in '' $ac_executable_extensions; do
12855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12866 if test -n "$AR"; then
12867 echo "$as_me:$LINENO: result: $AR" >&5
12868 echo "${ECHO_T}$AR" >&6
12870 echo "$as_me:$LINENO: result: no" >&5
12871 echo "${ECHO_T}no" >&6
12874 if test "x$AR" = "x" ; then
12875 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12876 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12877 { (exit 1); exit 1; }; }
12880 # Find a good install program. We prefer a C program (faster),
12881 # so one script is as good as another. But avoid the broken or
12882 # incompatible versions:
12883 # SysV /etc/install, /usr/sbin/install
12884 # SunOS /usr/etc/install
12885 # IRIX /sbin/install
12887 # AmigaOS /C/install, which installs bootblocks on floppy discs
12888 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12889 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12890 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12891 # OS/2's system install, which has a completely different semantic
12892 # ./install, which can be erroneously created by make from ./install.sh.
12893 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12894 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12895 if test -z "$INSTALL"; then
12896 if test "${ac_cv_path_install+set}" = set; then
12897 echo $ECHO_N "(cached) $ECHO_C" >&6
12899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12900 for as_dir
in $PATH
12903 test -z "$as_dir" && as_dir
=.
12904 # Account for people who put trailing slashes in PATH elements.
12906 .
/ | .
// | /cC
/* | \
12907 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12908 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12911 # OSF1 and SCO ODT 3.0 have their own names for install.
12912 # Don't use installbsd from OSF since it installs stuff as root
12914 for ac_prog
in ginstall scoinst
install; do
12915 for ac_exec_ext
in '' $ac_executable_extensions; do
12916 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12917 if test $ac_prog = install &&
12918 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12919 # AIX install. It has an incompatible calling convention.
12921 elif test $ac_prog = install &&
12922 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12923 # program-specific install script used by HP pwplus--don't use.
12926 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12938 if test "${ac_cv_path_install+set}" = set; then
12939 INSTALL
=$ac_cv_path_install
12941 # As a last resort, use the slow shell script. We don't cache a
12942 # path for INSTALL within a source directory, because that will
12943 # break other packages using the cache if that directory is
12944 # removed, or if the path is relative.
12945 INSTALL
=$ac_install_sh
12948 echo "$as_me:$LINENO: result: $INSTALL" >&5
12949 echo "${ECHO_T}$INSTALL" >&6
12951 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12952 # It thinks the first close brace ends the variable substitution.
12953 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12955 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12957 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12963 ?
:* ) # Drive letter, considered as absolute.
12966 INSTALL
=`pwd`/${INSTALL} ;;
12972 powerpc
-*-darwin* )
12973 INSTALL_PROGRAM
="cp -fp"
12974 INSTALL_DATA
="cp -fp"
12980 # Extract the first word of "strip", so it can be a program name with args.
12981 set dummy strip
; ac_word
=$2
12982 echo "$as_me:$LINENO: checking for $ac_word" >&5
12983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12984 if test "${ac_cv_prog_STRIP+set}" = set; then
12985 echo $ECHO_N "(cached) $ECHO_C" >&6
12987 if test -n "$STRIP"; then
12988 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12991 for as_dir
in $PATH
12994 test -z "$as_dir" && as_dir
=.
12995 for ac_exec_ext
in '' $ac_executable_extensions; do
12996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12997 ac_cv_prog_STRIP
="strip"
12998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13004 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
13007 STRIP
=$ac_cv_prog_STRIP
13008 if test -n "$STRIP"; then
13009 echo "$as_me:$LINENO: result: $STRIP" >&5
13010 echo "${ECHO_T}$STRIP" >&6
13012 echo "$as_me:$LINENO: result: no" >&5
13013 echo "${ECHO_T}no" >&6
13017 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13018 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13019 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13020 echo $ECHO_N "(cached) $ECHO_C" >&6
13023 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
13024 egrep -s GNU
> /dev
/null
); then
13025 wx_cv_prog_makeisgnu
="yes"
13027 wx_cv_prog_makeisgnu
="no"
13031 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13032 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13034 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13042 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13043 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13044 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13045 if test "${wx_cv_prog_makevpath+set}" = set; then
13046 echo $ECHO_N "(cached) $ECHO_C" >&6
13049 cat - << EOF > confMake
13055 if test ! -d sub
; then
13058 echo dummy
> sub
/file
13059 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
13061 rm -f sub
/file check final_file confMake
13063 if test "$RESULT" = 0; then
13064 wx_cv_prog_makevpath
="yes"
13066 wx_cv_prog_makevpath
="no"
13070 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13071 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13073 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13074 { { echo "$as_me:$LINENO: error:
13075 You need a make-utility that is able to use the variable
13077 If your version of make does not support VPATH correctly,
13078 please install GNU-make (possibly as gmake), and start
13079 configure with the following command:
13080 export MAKE=gmake; ./configure for sh-type shells
13081 setenv MAKE gmake; ./configure for csh-type shells
13082 Also please do remember to use gmake in this case every time
13083 you are trying to compile.
13085 echo "$as_me: error:
13086 You need a make-utility that is able to use the variable
13088 If your version of make does not support VPATH correctly,
13089 please install GNU-make (possibly as gmake), and start
13090 configure with the following command:
13091 export MAKE=gmake; ./configure for sh-type shells
13092 setenv MAKE gmake; ./configure for csh-type shells
13093 Also please do remember to use gmake in this case every time
13094 you are trying to compile.
13096 { (exit 1); exit 1; }; }
13098 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13099 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13101 if test "$LN_S" = "ln -s"; then
13102 echo "$as_me:$LINENO: result: yes" >&5
13103 echo "${ECHO_T}yes" >&6
13105 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13106 echo "${ECHO_T}no, using $LN_S" >&6
13111 if test "x$XLCXX" = "xyes"; then
13112 CXXFLAGS
="$CXXFLAGS -qunique"
13117 powerpc
-*-darwin* )
13118 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13119 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13120 cat >conftest.
$ac_ext <<_ACEOF
13123 cat confdefs.h
>>conftest.
$ac_ext
13124 cat >>conftest.
$ac_ext <<_ACEOF
13125 /* end confdefs.h. */
13130 #ifndef __POWERPC__
13131 choke me for lack of PowerPC
13138 rm -f conftest.
$ac_objext
13139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13140 (eval $ac_compile) 2>conftest.er1
13142 grep -v '^ *+' conftest.er1
>conftest.err
13144 cat conftest.err
>&5
13145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13146 (exit $ac_status); } &&
13147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13149 (eval $ac_try) 2>&5
13151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 (exit $ac_status); }; } &&
13153 { ac_try
='test -s conftest.$ac_objext'
13154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13155 (eval $ac_try) 2>&5
13157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13158 (exit $ac_status); }; }; then
13159 echo "$as_me:$LINENO: result: yes" >&5
13160 echo "${ECHO_T}yes" >&6
13162 echo "$as_me: failed program was:" >&5
13163 sed 's/^/| /' conftest.
$ac_ext >&5
13165 echo "$as_me:$LINENO: result: no" >&5
13166 echo "${ECHO_T}no" >&6
13167 cat >>confdefs.h
<<\_ACEOF
13168 #define __POWERPC__ 1
13173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13174 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13175 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13176 cat >conftest.
$ac_ext <<_ACEOF
13179 cat confdefs.h
>>conftest.
$ac_ext
13180 cat >>conftest.
$ac_ext <<_ACEOF
13181 /* end confdefs.h. */
13182 #include <CoreFoundation/CFBase.h>
13192 rm -f conftest.
$ac_objext
13193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13194 (eval $ac_compile) 2>conftest.er1
13196 grep -v '^ *+' conftest.er1
>conftest.err
13198 cat conftest.err
>&5
13199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13200 (exit $ac_status); } &&
13201 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13203 (eval $ac_try) 2>&5
13205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13206 (exit $ac_status); }; } &&
13207 { ac_try
='test -s conftest.$ac_objext'
13208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13209 (eval $ac_try) 2>&5
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); }; }; then
13213 echo "$as_me:$LINENO: result: yes" >&5
13214 echo "${ECHO_T}yes" >&6
13216 echo "$as_me: failed program was:" >&5
13217 sed 's/^/| /' conftest.
$ac_ext >&5
13219 echo "$as_me:$LINENO: result: no" >&5
13220 echo "${ECHO_T}no" >&6
13221 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13222 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13223 cat >conftest.
$ac_ext <<_ACEOF
13226 cat confdefs.h
>>conftest.
$ac_ext
13227 cat >>conftest.
$ac_ext <<_ACEOF
13228 /* end confdefs.h. */
13229 #define __CF_USE_FRAMEWORK_INCLUDES__
13230 #include <CoreFoundation/CFBase.h>
13240 rm -f conftest.
$ac_objext
13241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13242 (eval $ac_compile) 2>conftest.er1
13244 grep -v '^ *+' conftest.er1
>conftest.err
13246 cat conftest.err
>&5
13247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248 (exit $ac_status); } &&
13249 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13251 (eval $ac_try) 2>&5
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); }; } &&
13255 { ac_try
='test -s conftest.$ac_objext'
13256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13257 (eval $ac_try) 2>&5
13259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260 (exit $ac_status); }; }; then
13261 echo "$as_me:$LINENO: result: yes" >&5
13262 echo "${ECHO_T}yes" >&6
13263 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13265 echo "$as_me: failed program was:" >&5
13266 sed 's/^/| /' conftest.
$ac_ext >&5
13268 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13269 See \`config.log' for more details." >&5
13270 echo "$as_me: error: no. CoreFoundation not available.
13271 See \`config.log' for more details." >&2;}
13272 { (exit 1); exit 1; }; }
13275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13284 *-pc-os2_emx | *-pc-os2-emx )
13285 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13286 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13287 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13288 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13289 echo $ECHO_N "(cached) $ECHO_C" >&6
13291 ac_check_lib_save_LIBS
=$LIBS
13292 LIBS
="-lcExt $LIBS"
13293 cat >conftest.
$ac_ext <<_ACEOF
13296 cat confdefs.h
>>conftest.
$ac_ext
13297 cat >>conftest.
$ac_ext <<_ACEOF
13298 /* end confdefs.h. */
13300 /* Override any gcc2 internal prototype to avoid an error. */
13304 /* We use char because int might match the return type of a gcc2
13305 builtin and then its argument prototype would still apply. */
13315 rm -f conftest.
$ac_objext conftest
$ac_exeext
13316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13317 (eval $ac_link) 2>conftest.er1
13319 grep -v '^ *+' conftest.er1
>conftest.err
13321 cat conftest.err
>&5
13322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13323 (exit $ac_status); } &&
13324 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13326 (eval $ac_try) 2>&5
13328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13329 (exit $ac_status); }; } &&
13330 { ac_try
='test -s conftest$ac_exeext'
13331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13332 (eval $ac_try) 2>&5
13334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13335 (exit $ac_status); }; }; then
13336 ac_cv_lib_cExt_drand48
=yes
13338 echo "$as_me: failed program was:" >&5
13339 sed 's/^/| /' conftest.
$ac_ext >&5
13341 ac_cv_lib_cExt_drand48
=no
13343 rm -f conftest.err conftest.
$ac_objext \
13344 conftest
$ac_exeext conftest.
$ac_ext
13345 LIBS
=$ac_check_lib_save_LIBS
13347 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13348 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13349 if test $ac_cv_lib_cExt_drand48 = yes; then
13350 LIBS
="$LIBS -lcExt"
13354 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
13356 echo "$as_me:$LINENO: checking for gcc version" >&5
13357 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
13358 if test "${wx_cv_gccversion+set}" = set; then
13359 echo $ECHO_N "(cached) $ECHO_C" >&6
13362 if test "$cross_compiling" = yes; then
13363 wx_cv_gccversion
="EMX2"
13366 cat >conftest.
$ac_ext <<_ACEOF
13369 cat confdefs.h
>>conftest.
$ac_ext
13370 cat >>conftest.
$ac_ext <<_ACEOF
13371 /* end confdefs.h. */
13377 FILE *f=fopen("conftestval", "w");
13382 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13384 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13394 rm -f conftest
$ac_exeext
13395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13396 (eval $ac_link) 2>&5
13398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13399 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13401 (eval $ac_try) 2>&5
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); }; }; then
13405 wx_cv_gccversion
=`cat conftestval`
13407 echo "$as_me: program exited with status $ac_status" >&5
13408 echo "$as_me: failed program was:" >&5
13409 sed 's/^/| /' conftest.
$ac_ext >&5
13411 ( exit $ac_status )
13412 wx_cv_gccversion
="EMX2"
13414 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13418 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13419 echo "${ECHO_T}$wx_cv_gccversion" >&6
13420 if test "$wx_cv_gccversion" = "EMX2"; then
13421 LIBS
="$LIBS -lstdcpp"
13422 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13424 if test "$wx_cv_gccversion" = "EMX3"; then
13425 LIBS
="$LIBS -lstdcxx"
13426 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13428 LIBS
="$LIBS -lstdc++"
13431 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13432 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13433 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13437 if test "$wxUSE_OMF" = "yes"; then
13438 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK -Zlinker /PMTYPE:PM"
13446 ac_cpp
='$CXXCPP $CPPFLAGS'
13447 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13448 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13449 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13452 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13453 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13454 if test "${ac_cv_string_strcasecmp+set}" = set; then
13455 echo $ECHO_N "(cached) $ECHO_C" >&6
13458 cat >conftest.
$ac_ext <<_ACEOF
13461 cat confdefs.h
>>conftest.
$ac_ext
13462 cat >>conftest.
$ac_ext <<_ACEOF
13463 /* end confdefs.h. */
13465 #include <string.h>
13471 strcasecmp("foo", "bar");
13477 rm -f conftest.
$ac_objext conftest
$ac_exeext
13478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13479 (eval $ac_link) 2>conftest.er1
13481 grep -v '^ *+' conftest.er1
>conftest.err
13483 cat conftest.err
>&5
13484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13485 (exit $ac_status); } &&
13486 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13488 (eval $ac_try) 2>&5
13490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13491 (exit $ac_status); }; } &&
13492 { ac_try
='test -s conftest$ac_exeext'
13493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13494 (eval $ac_try) 2>&5
13496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13497 (exit $ac_status); }; }; then
13498 ac_cv_string_strcasecmp
=yes
13500 echo "$as_me: failed program was:" >&5
13501 sed 's/^/| /' conftest.
$ac_ext >&5
13503 ac_cv_string_strcasecmp
=no
13506 rm -f conftest.err conftest.
$ac_objext \
13507 conftest
$ac_exeext conftest.
$ac_ext
13510 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13511 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13513 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
13514 cat >>confdefs.h
<<\_ACEOF
13515 #define HAVE_STRCASECMP_IN_STRING_H 1
13519 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13520 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13521 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13522 echo $ECHO_N "(cached) $ECHO_C" >&6
13525 cat >conftest.
$ac_ext <<_ACEOF
13528 cat confdefs.h
>>conftest.
$ac_ext
13529 cat >>conftest.
$ac_ext <<_ACEOF
13530 /* end confdefs.h. */
13532 #include <strings.h>
13538 strcasecmp("foo", "bar");
13544 rm -f conftest.
$ac_objext conftest
$ac_exeext
13545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13546 (eval $ac_link) 2>conftest.er1
13548 grep -v '^ *+' conftest.er1
>conftest.err
13550 cat conftest.err
>&5
13551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13552 (exit $ac_status); } &&
13553 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13555 (eval $ac_try) 2>&5
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); }; } &&
13559 { ac_try
='test -s conftest$ac_exeext'
13560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13561 (eval $ac_try) 2>&5
13563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13564 (exit $ac_status); }; }; then
13565 ac_cv_strings_strcasecmp
=yes
13567 echo "$as_me: failed program was:" >&5
13568 sed 's/^/| /' conftest.
$ac_ext >&5
13570 ac_cv_strings_strcasecmp
=no
13573 rm -f conftest.err conftest.
$ac_objext \
13574 conftest
$ac_exeext conftest.
$ac_ext
13577 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13578 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13580 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
13581 cat >>confdefs.h
<<\_ACEOF
13582 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13586 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13587 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13588 { (exit 1); exit 1; }; }
13593 ac_cpp
='$CPP $CPPFLAGS'
13594 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13595 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13596 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13602 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13603 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13604 if test "${ac_cv_header_stdc+set}" = set; then
13605 echo $ECHO_N "(cached) $ECHO_C" >&6
13607 cat >conftest.
$ac_ext <<_ACEOF
13610 cat confdefs.h
>>conftest.
$ac_ext
13611 cat >>conftest.
$ac_ext <<_ACEOF
13612 /* end confdefs.h. */
13613 #include <stdlib.h>
13614 #include <stdarg.h>
13615 #include <string.h>
13626 rm -f conftest.
$ac_objext
13627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13628 (eval $ac_compile) 2>conftest.er1
13630 grep -v '^ *+' conftest.er1
>conftest.err
13632 cat conftest.err
>&5
13633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13634 (exit $ac_status); } &&
13635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13637 (eval $ac_try) 2>&5
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); }; } &&
13641 { ac_try
='test -s conftest.$ac_objext'
13642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13643 (eval $ac_try) 2>&5
13645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13646 (exit $ac_status); }; }; then
13647 ac_cv_header_stdc
=yes
13649 echo "$as_me: failed program was:" >&5
13650 sed 's/^/| /' conftest.
$ac_ext >&5
13652 ac_cv_header_stdc
=no
13654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13656 if test $ac_cv_header_stdc = yes; then
13657 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13658 cat >conftest.
$ac_ext <<_ACEOF
13661 cat confdefs.h
>>conftest.
$ac_ext
13662 cat >>conftest.
$ac_ext <<_ACEOF
13663 /* end confdefs.h. */
13664 #include <string.h>
13667 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13668 $EGREP "memchr" >/dev
/null
2>&1; then
13671 ac_cv_header_stdc
=no
13677 if test $ac_cv_header_stdc = yes; then
13678 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13679 cat >conftest.
$ac_ext <<_ACEOF
13682 cat confdefs.h
>>conftest.
$ac_ext
13683 cat >>conftest.
$ac_ext <<_ACEOF
13684 /* end confdefs.h. */
13685 #include <stdlib.h>
13688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13689 $EGREP "free" >/dev
/null
2>&1; then
13692 ac_cv_header_stdc
=no
13698 if test $ac_cv_header_stdc = yes; then
13699 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13700 if test "$cross_compiling" = yes; then
13703 cat >conftest.
$ac_ext <<_ACEOF
13706 cat confdefs.h
>>conftest.
$ac_ext
13707 cat >>conftest.
$ac_ext <<_ACEOF
13708 /* end confdefs.h. */
13710 #if ((' ' & 0x0FF) == 0x020)
13711 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13712 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13714 # define ISLOWER(c) \
13715 (('a' <= (c) && (c) <= 'i') \
13716 || ('j' <= (c) && (c) <= 'r') \
13717 || ('s' <= (c) && (c) <= 'z'))
13718 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13721 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13726 for (i = 0; i < 256; i++)
13727 if (XOR (islower (i), ISLOWER (i))
13728 || toupper (i) != TOUPPER (i))
13733 rm -f conftest
$ac_exeext
13734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13735 (eval $ac_link) 2>&5
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13740 (eval $ac_try) 2>&5
13742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); }; }; then
13746 echo "$as_me: program exited with status $ac_status" >&5
13747 echo "$as_me: failed program was:" >&5
13748 sed 's/^/| /' conftest.
$ac_ext >&5
13750 ( exit $ac_status )
13751 ac_cv_header_stdc
=no
13753 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13757 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13758 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13759 if test $ac_cv_header_stdc = yes; then
13761 cat >>confdefs.h
<<\_ACEOF
13762 #define STDC_HEADERS 1
13767 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13777 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
13778 inttypes.h stdint.h unistd.h
13780 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13781 echo "$as_me:$LINENO: checking for $ac_header" >&5
13782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13784 echo $ECHO_N "(cached) $ECHO_C" >&6
13786 cat >conftest.
$ac_ext <<_ACEOF
13789 cat confdefs.h
>>conftest.
$ac_ext
13790 cat >>conftest.
$ac_ext <<_ACEOF
13791 /* end confdefs.h. */
13792 $ac_includes_default
13794 #include <$ac_header>
13796 rm -f conftest.
$ac_objext
13797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13798 (eval $ac_compile) 2>conftest.er1
13800 grep -v '^ *+' conftest.er1
>conftest.err
13802 cat conftest.err
>&5
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 (exit $ac_status); } &&
13805 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13807 (eval $ac_try) 2>&5
13809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13810 (exit $ac_status); }; } &&
13811 { ac_try
='test -s conftest.$ac_objext'
13812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13813 (eval $ac_try) 2>&5
13815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13816 (exit $ac_status); }; }; then
13817 eval "$as_ac_Header=yes"
13819 echo "$as_me: failed program was:" >&5
13820 sed 's/^/| /' conftest.
$ac_ext >&5
13822 eval "$as_ac_Header=no"
13824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13827 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13829 cat >>confdefs.h
<<_ACEOF
13830 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13839 for ac_header
in stdlib.h
13841 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13843 echo "$as_me:$LINENO: checking for $ac_header" >&5
13844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13846 echo $ECHO_N "(cached) $ECHO_C" >&6
13848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13851 # Is the header compilable?
13852 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13853 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13854 cat >conftest.
$ac_ext <<_ACEOF
13857 cat confdefs.h
>>conftest.
$ac_ext
13858 cat >>conftest.
$ac_ext <<_ACEOF
13859 /* end confdefs.h. */
13860 $ac_includes_default
13861 #include <$ac_header>
13863 rm -f conftest.
$ac_objext
13864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13865 (eval $ac_compile) 2>conftest.er1
13867 grep -v '^ *+' conftest.er1
>conftest.err
13869 cat conftest.err
>&5
13870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13871 (exit $ac_status); } &&
13872 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13874 (eval $ac_try) 2>&5
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 (exit $ac_status); }; } &&
13878 { ac_try
='test -s conftest.$ac_objext'
13879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13880 (eval $ac_try) 2>&5
13882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13883 (exit $ac_status); }; }; then
13884 ac_header_compiler
=yes
13886 echo "$as_me: failed program was:" >&5
13887 sed 's/^/| /' conftest.
$ac_ext >&5
13889 ac_header_compiler
=no
13891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13892 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13893 echo "${ECHO_T}$ac_header_compiler" >&6
13895 # Is the header present?
13896 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13897 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13898 cat >conftest.
$ac_ext <<_ACEOF
13901 cat confdefs.h
>>conftest.
$ac_ext
13902 cat >>conftest.
$ac_ext <<_ACEOF
13903 /* end confdefs.h. */
13904 #include <$ac_header>
13906 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13907 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13909 grep -v '^ *+' conftest.er1
>conftest.err
13911 cat conftest.err
>&5
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); } >/dev
/null
; then
13914 if test -s conftest.err
; then
13915 ac_cpp_err
=$ac_c_preproc_warn_flag
13916 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13923 if test -z "$ac_cpp_err"; then
13924 ac_header_preproc
=yes
13926 echo "$as_me: failed program was:" >&5
13927 sed 's/^/| /' conftest.
$ac_ext >&5
13929 ac_header_preproc
=no
13931 rm -f conftest.err conftest.
$ac_ext
13932 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13933 echo "${ECHO_T}$ac_header_preproc" >&6
13935 # So? What about this header?
13936 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13938 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13939 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13940 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13941 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13942 ac_header_preproc
=yes
13945 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13946 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13947 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13948 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13949 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13950 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13951 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13952 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13953 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13954 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13955 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13956 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13959 ## ----------------------------------------- ##
13960 ## Report this to wx-dev@lists.wxwidgets.org ##
13961 ## ----------------------------------------- ##
13964 sed "s/^/$as_me: WARNING: /" >&2
13967 echo "$as_me:$LINENO: checking for $ac_header" >&5
13968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13970 echo $ECHO_N "(cached) $ECHO_C" >&6
13972 eval "$as_ac_Header=\$ac_header_preproc"
13974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13975 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13978 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13979 cat >>confdefs.h
<<_ACEOF
13980 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13988 for ac_header
in malloc.h
13990 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13992 echo "$as_me:$LINENO: checking for $ac_header" >&5
13993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13995 echo $ECHO_N "(cached) $ECHO_C" >&6
13997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13998 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14000 # Is the header compilable?
14001 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14002 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14003 cat >conftest.
$ac_ext <<_ACEOF
14006 cat confdefs.h
>>conftest.
$ac_ext
14007 cat >>conftest.
$ac_ext <<_ACEOF
14008 /* end confdefs.h. */
14009 $ac_includes_default
14010 #include <$ac_header>
14012 rm -f conftest.
$ac_objext
14013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14014 (eval $ac_compile) 2>conftest.er1
14016 grep -v '^ *+' conftest.er1
>conftest.err
14018 cat conftest.err
>&5
14019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 (exit $ac_status); } &&
14021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14023 (eval $ac_try) 2>&5
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); }; } &&
14027 { ac_try
='test -s conftest.$ac_objext'
14028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14029 (eval $ac_try) 2>&5
14031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14032 (exit $ac_status); }; }; then
14033 ac_header_compiler
=yes
14035 echo "$as_me: failed program was:" >&5
14036 sed 's/^/| /' conftest.
$ac_ext >&5
14038 ac_header_compiler
=no
14040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14041 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14042 echo "${ECHO_T}$ac_header_compiler" >&6
14044 # Is the header present?
14045 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14046 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14047 cat >conftest.
$ac_ext <<_ACEOF
14050 cat confdefs.h
>>conftest.
$ac_ext
14051 cat >>conftest.
$ac_ext <<_ACEOF
14052 /* end confdefs.h. */
14053 #include <$ac_header>
14055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14056 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14058 grep -v '^ *+' conftest.er1
>conftest.err
14060 cat conftest.err
>&5
14061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14062 (exit $ac_status); } >/dev
/null
; then
14063 if test -s conftest.err
; then
14064 ac_cpp_err
=$ac_c_preproc_warn_flag
14065 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14072 if test -z "$ac_cpp_err"; then
14073 ac_header_preproc
=yes
14075 echo "$as_me: failed program was:" >&5
14076 sed 's/^/| /' conftest.
$ac_ext >&5
14078 ac_header_preproc
=no
14080 rm -f conftest.err conftest.
$ac_ext
14081 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14082 echo "${ECHO_T}$ac_header_preproc" >&6
14084 # So? What about this header?
14085 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14087 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14088 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14090 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14091 ac_header_preproc
=yes
14094 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14095 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14096 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14097 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14098 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14099 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14100 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14101 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14102 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14103 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14104 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14105 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14108 ## ----------------------------------------- ##
14109 ## Report this to wx-dev@lists.wxwidgets.org ##
14110 ## ----------------------------------------- ##
14113 sed "s/^/$as_me: WARNING: /" >&2
14116 echo "$as_me:$LINENO: checking for $ac_header" >&5
14117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14119 echo $ECHO_N "(cached) $ECHO_C" >&6
14121 eval "$as_ac_Header=\$ac_header_preproc"
14123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14128 cat >>confdefs.h
<<_ACEOF
14129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14137 for ac_header
in unistd.h
14139 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14141 echo "$as_me:$LINENO: checking for $ac_header" >&5
14142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14144 echo $ECHO_N "(cached) $ECHO_C" >&6
14146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14147 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14149 # Is the header compilable?
14150 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14151 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14152 cat >conftest.
$ac_ext <<_ACEOF
14155 cat confdefs.h
>>conftest.
$ac_ext
14156 cat >>conftest.
$ac_ext <<_ACEOF
14157 /* end confdefs.h. */
14158 $ac_includes_default
14159 #include <$ac_header>
14161 rm -f conftest.
$ac_objext
14162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14163 (eval $ac_compile) 2>conftest.er1
14165 grep -v '^ *+' conftest.er1
>conftest.err
14167 cat conftest.err
>&5
14168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14169 (exit $ac_status); } &&
14170 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14172 (eval $ac_try) 2>&5
14174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14175 (exit $ac_status); }; } &&
14176 { ac_try
='test -s conftest.$ac_objext'
14177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14178 (eval $ac_try) 2>&5
14180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14181 (exit $ac_status); }; }; then
14182 ac_header_compiler
=yes
14184 echo "$as_me: failed program was:" >&5
14185 sed 's/^/| /' conftest.
$ac_ext >&5
14187 ac_header_compiler
=no
14189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14191 echo "${ECHO_T}$ac_header_compiler" >&6
14193 # Is the header present?
14194 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14195 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14196 cat >conftest.
$ac_ext <<_ACEOF
14199 cat confdefs.h
>>conftest.
$ac_ext
14200 cat >>conftest.
$ac_ext <<_ACEOF
14201 /* end confdefs.h. */
14202 #include <$ac_header>
14204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14205 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14207 grep -v '^ *+' conftest.er1
>conftest.err
14209 cat conftest.err
>&5
14210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14211 (exit $ac_status); } >/dev
/null
; then
14212 if test -s conftest.err
; then
14213 ac_cpp_err
=$ac_c_preproc_warn_flag
14214 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14221 if test -z "$ac_cpp_err"; then
14222 ac_header_preproc
=yes
14224 echo "$as_me: failed program was:" >&5
14225 sed 's/^/| /' conftest.
$ac_ext >&5
14227 ac_header_preproc
=no
14229 rm -f conftest.err conftest.
$ac_ext
14230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14231 echo "${ECHO_T}$ac_header_preproc" >&6
14233 # So? What about this header?
14234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14236 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14237 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14239 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14240 ac_header_preproc
=yes
14243 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14244 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14245 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14246 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14247 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14248 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14249 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14250 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14253 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14254 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14257 ## ----------------------------------------- ##
14258 ## Report this to wx-dev@lists.wxwidgets.org ##
14259 ## ----------------------------------------- ##
14262 sed "s/^/$as_me: WARNING: /" >&2
14265 echo "$as_me:$LINENO: checking for $ac_header" >&5
14266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14268 echo $ECHO_N "(cached) $ECHO_C" >&6
14270 eval "$as_ac_Header=\$ac_header_preproc"
14272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14277 cat >>confdefs.h
<<_ACEOF
14278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14286 for ac_header
in wchar.h
14288 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14290 echo "$as_me:$LINENO: checking for $ac_header" >&5
14291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14293 echo $ECHO_N "(cached) $ECHO_C" >&6
14295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14298 # Is the header compilable?
14299 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14300 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14301 cat >conftest.
$ac_ext <<_ACEOF
14304 cat confdefs.h
>>conftest.
$ac_ext
14305 cat >>conftest.
$ac_ext <<_ACEOF
14306 /* end confdefs.h. */
14307 $ac_includes_default
14308 #include <$ac_header>
14310 rm -f conftest.
$ac_objext
14311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14312 (eval $ac_compile) 2>conftest.er1
14314 grep -v '^ *+' conftest.er1
>conftest.err
14316 cat conftest.err
>&5
14317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14318 (exit $ac_status); } &&
14319 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14321 (eval $ac_try) 2>&5
14323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14324 (exit $ac_status); }; } &&
14325 { ac_try
='test -s conftest.$ac_objext'
14326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14327 (eval $ac_try) 2>&5
14329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14330 (exit $ac_status); }; }; then
14331 ac_header_compiler
=yes
14333 echo "$as_me: failed program was:" >&5
14334 sed 's/^/| /' conftest.
$ac_ext >&5
14336 ac_header_compiler
=no
14338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14339 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14340 echo "${ECHO_T}$ac_header_compiler" >&6
14342 # Is the header present?
14343 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14344 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14345 cat >conftest.
$ac_ext <<_ACEOF
14348 cat confdefs.h
>>conftest.
$ac_ext
14349 cat >>conftest.
$ac_ext <<_ACEOF
14350 /* end confdefs.h. */
14351 #include <$ac_header>
14353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14354 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14356 grep -v '^ *+' conftest.er1
>conftest.err
14358 cat conftest.err
>&5
14359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14360 (exit $ac_status); } >/dev
/null
; then
14361 if test -s conftest.err
; then
14362 ac_cpp_err
=$ac_c_preproc_warn_flag
14363 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14370 if test -z "$ac_cpp_err"; then
14371 ac_header_preproc
=yes
14373 echo "$as_me: failed program was:" >&5
14374 sed 's/^/| /' conftest.
$ac_ext >&5
14376 ac_header_preproc
=no
14378 rm -f conftest.err conftest.
$ac_ext
14379 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14380 echo "${ECHO_T}$ac_header_preproc" >&6
14382 # So? What about this header?
14383 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14385 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14386 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14387 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14388 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14389 ac_header_preproc
=yes
14392 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14393 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14394 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14395 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14396 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14397 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14398 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14399 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14401 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14402 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14403 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14406 ## ----------------------------------------- ##
14407 ## Report this to wx-dev@lists.wxwidgets.org ##
14408 ## ----------------------------------------- ##
14411 sed "s/^/$as_me: WARNING: /" >&2
14414 echo "$as_me:$LINENO: checking for $ac_header" >&5
14415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14417 echo $ECHO_N "(cached) $ECHO_C" >&6
14419 eval "$as_ac_Header=\$ac_header_preproc"
14421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14426 cat >>confdefs.h
<<_ACEOF
14427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14435 if test "$ac_cv_header_wchar_h" != "yes"; then
14437 for ac_header
in wcstr.h
14439 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14441 echo "$as_me:$LINENO: checking for $ac_header" >&5
14442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14444 echo $ECHO_N "(cached) $ECHO_C" >&6
14446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14449 # Is the header compilable?
14450 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14451 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14452 cat >conftest.
$ac_ext <<_ACEOF
14455 cat confdefs.h
>>conftest.
$ac_ext
14456 cat >>conftest.
$ac_ext <<_ACEOF
14457 /* end confdefs.h. */
14458 $ac_includes_default
14459 #include <$ac_header>
14461 rm -f conftest.
$ac_objext
14462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14463 (eval $ac_compile) 2>conftest.er1
14465 grep -v '^ *+' conftest.er1
>conftest.err
14467 cat conftest.err
>&5
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469 (exit $ac_status); } &&
14470 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14472 (eval $ac_try) 2>&5
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); }; } &&
14476 { ac_try
='test -s conftest.$ac_objext'
14477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14478 (eval $ac_try) 2>&5
14480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14481 (exit $ac_status); }; }; then
14482 ac_header_compiler
=yes
14484 echo "$as_me: failed program was:" >&5
14485 sed 's/^/| /' conftest.
$ac_ext >&5
14487 ac_header_compiler
=no
14489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14490 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14491 echo "${ECHO_T}$ac_header_compiler" >&6
14493 # Is the header present?
14494 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14495 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14496 cat >conftest.
$ac_ext <<_ACEOF
14499 cat confdefs.h
>>conftest.
$ac_ext
14500 cat >>conftest.
$ac_ext <<_ACEOF
14501 /* end confdefs.h. */
14502 #include <$ac_header>
14504 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14505 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14507 grep -v '^ *+' conftest.er1
>conftest.err
14509 cat conftest.err
>&5
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); } >/dev
/null
; then
14512 if test -s conftest.err
; then
14513 ac_cpp_err
=$ac_c_preproc_warn_flag
14514 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14521 if test -z "$ac_cpp_err"; then
14522 ac_header_preproc
=yes
14524 echo "$as_me: failed program was:" >&5
14525 sed 's/^/| /' conftest.
$ac_ext >&5
14527 ac_header_preproc
=no
14529 rm -f conftest.err conftest.
$ac_ext
14530 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14531 echo "${ECHO_T}$ac_header_preproc" >&6
14533 # So? What about this header?
14534 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14536 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14537 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14539 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14540 ac_header_preproc
=yes
14543 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14544 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14545 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14546 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14547 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14548 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14549 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14550 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14551 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14552 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14553 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14554 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14557 ## ----------------------------------------- ##
14558 ## Report this to wx-dev@lists.wxwidgets.org ##
14559 ## ----------------------------------------- ##
14562 sed "s/^/$as_me: WARNING: /" >&2
14565 echo "$as_me:$LINENO: checking for $ac_header" >&5
14566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14568 echo $ECHO_N "(cached) $ECHO_C" >&6
14570 eval "$as_ac_Header=\$ac_header_preproc"
14572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14576 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14577 cat >>confdefs.h
<<_ACEOF
14578 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14588 for ac_header
in fnmatch.h
14590 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14592 echo "$as_me:$LINENO: checking for $ac_header" >&5
14593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14595 echo $ECHO_N "(cached) $ECHO_C" >&6
14597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14598 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14600 # Is the header compilable?
14601 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14602 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14603 cat >conftest.
$ac_ext <<_ACEOF
14606 cat confdefs.h
>>conftest.
$ac_ext
14607 cat >>conftest.
$ac_ext <<_ACEOF
14608 /* end confdefs.h. */
14609 $ac_includes_default
14610 #include <$ac_header>
14612 rm -f conftest.
$ac_objext
14613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14614 (eval $ac_compile) 2>conftest.er1
14616 grep -v '^ *+' conftest.er1
>conftest.err
14618 cat conftest.err
>&5
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); } &&
14621 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14623 (eval $ac_try) 2>&5
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); }; } &&
14627 { ac_try
='test -s conftest.$ac_objext'
14628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14629 (eval $ac_try) 2>&5
14631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14632 (exit $ac_status); }; }; then
14633 ac_header_compiler
=yes
14635 echo "$as_me: failed program was:" >&5
14636 sed 's/^/| /' conftest.
$ac_ext >&5
14638 ac_header_compiler
=no
14640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14641 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14642 echo "${ECHO_T}$ac_header_compiler" >&6
14644 # Is the header present?
14645 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14646 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14647 cat >conftest.
$ac_ext <<_ACEOF
14650 cat confdefs.h
>>conftest.
$ac_ext
14651 cat >>conftest.
$ac_ext <<_ACEOF
14652 /* end confdefs.h. */
14653 #include <$ac_header>
14655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14656 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14658 grep -v '^ *+' conftest.er1
>conftest.err
14660 cat conftest.err
>&5
14661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14662 (exit $ac_status); } >/dev
/null
; then
14663 if test -s conftest.err
; then
14664 ac_cpp_err
=$ac_c_preproc_warn_flag
14665 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14672 if test -z "$ac_cpp_err"; then
14673 ac_header_preproc
=yes
14675 echo "$as_me: failed program was:" >&5
14676 sed 's/^/| /' conftest.
$ac_ext >&5
14678 ac_header_preproc
=no
14680 rm -f conftest.err conftest.
$ac_ext
14681 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14682 echo "${ECHO_T}$ac_header_preproc" >&6
14684 # So? What about this header?
14685 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14687 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14688 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14690 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14691 ac_header_preproc
=yes
14694 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14695 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14696 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14697 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14698 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14699 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14700 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14701 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14703 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14704 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14705 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14708 ## ----------------------------------------- ##
14709 ## Report this to wx-dev@lists.wxwidgets.org ##
14710 ## ----------------------------------------- ##
14713 sed "s/^/$as_me: WARNING: /" >&2
14716 echo "$as_me:$LINENO: checking for $ac_header" >&5
14717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14719 echo $ECHO_N "(cached) $ECHO_C" >&6
14721 eval "$as_ac_Header=\$ac_header_preproc"
14723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14727 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14728 cat >>confdefs.h
<<_ACEOF
14729 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14737 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14739 for ac_func
in fnmatch
14741 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14742 echo "$as_me:$LINENO: checking for $ac_func" >&5
14743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14744 if eval "test \"\${$as_ac_var+set}\" = set"; then
14745 echo $ECHO_N "(cached) $ECHO_C" >&6
14747 cat >conftest.
$ac_ext <<_ACEOF
14750 cat confdefs.h
>>conftest.
$ac_ext
14751 cat >>conftest.
$ac_ext <<_ACEOF
14752 /* end confdefs.h. */
14753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14755 #define $ac_func innocuous_$ac_func
14757 /* System header to define __stub macros and hopefully few prototypes,
14758 which can conflict with char $ac_func (); below.
14759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14760 <limits.h> exists even on freestanding compilers. */
14763 # include <limits.h>
14765 # include <assert.h>
14770 /* Override any gcc2 internal prototype to avoid an error. */
14775 /* We use char because int might match the return type of a gcc2
14776 builtin and then its argument prototype would still apply. */
14778 /* The GNU C library defines this for functions which it implements
14779 to always fail with ENOSYS. Some functions are actually named
14780 something starting with __ and the normal name is an alias. */
14781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14784 char (*f) () = $ac_func;
14793 return f != $ac_func;
14798 rm -f conftest.
$ac_objext conftest
$ac_exeext
14799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14800 (eval $ac_link) 2>conftest.er1
14802 grep -v '^ *+' conftest.er1
>conftest.err
14804 cat conftest.err
>&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } &&
14807 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14809 (eval $ac_try) 2>&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; } &&
14813 { ac_try
='test -s conftest$ac_exeext'
14814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14815 (eval $ac_try) 2>&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); }; }; then
14819 eval "$as_ac_var=yes"
14821 echo "$as_me: failed program was:" >&5
14822 sed 's/^/| /' conftest.
$ac_ext >&5
14824 eval "$as_ac_var=no"
14826 rm -f conftest.err conftest.
$ac_objext \
14827 conftest
$ac_exeext conftest.
$ac_ext
14829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14831 if test `eval echo '${'$as_ac_var'}'` = yes; then
14832 cat >>confdefs.h
<<_ACEOF
14833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14842 for ac_header
in langinfo.h
14844 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14846 echo "$as_me:$LINENO: checking for $ac_header" >&5
14847 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14849 echo $ECHO_N "(cached) $ECHO_C" >&6
14851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14852 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14854 # Is the header compilable?
14855 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14856 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14857 cat >conftest.
$ac_ext <<_ACEOF
14860 cat confdefs.h
>>conftest.
$ac_ext
14861 cat >>conftest.
$ac_ext <<_ACEOF
14862 /* end confdefs.h. */
14863 $ac_includes_default
14864 #include <$ac_header>
14866 rm -f conftest.
$ac_objext
14867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14868 (eval $ac_compile) 2>conftest.er1
14870 grep -v '^ *+' conftest.er1
>conftest.err
14872 cat conftest.err
>&5
14873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 (exit $ac_status); } &&
14875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14877 (eval $ac_try) 2>&5
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); }; } &&
14881 { ac_try
='test -s conftest.$ac_objext'
14882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14883 (eval $ac_try) 2>&5
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); }; }; then
14887 ac_header_compiler
=yes
14889 echo "$as_me: failed program was:" >&5
14890 sed 's/^/| /' conftest.
$ac_ext >&5
14892 ac_header_compiler
=no
14894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14895 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14896 echo "${ECHO_T}$ac_header_compiler" >&6
14898 # Is the header present?
14899 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14900 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14901 cat >conftest.
$ac_ext <<_ACEOF
14904 cat confdefs.h
>>conftest.
$ac_ext
14905 cat >>conftest.
$ac_ext <<_ACEOF
14906 /* end confdefs.h. */
14907 #include <$ac_header>
14909 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14910 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14912 grep -v '^ *+' conftest.er1
>conftest.err
14914 cat conftest.err
>&5
14915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14916 (exit $ac_status); } >/dev
/null
; then
14917 if test -s conftest.err
; then
14918 ac_cpp_err
=$ac_c_preproc_warn_flag
14919 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14926 if test -z "$ac_cpp_err"; then
14927 ac_header_preproc
=yes
14929 echo "$as_me: failed program was:" >&5
14930 sed 's/^/| /' conftest.
$ac_ext >&5
14932 ac_header_preproc
=no
14934 rm -f conftest.err conftest.
$ac_ext
14935 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14936 echo "${ECHO_T}$ac_header_preproc" >&6
14938 # So? What about this header?
14939 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14941 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14942 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14943 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14944 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14945 ac_header_preproc
=yes
14948 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14949 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14950 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14951 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14952 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14953 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14954 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14955 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14956 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14957 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14958 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14959 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14962 ## ----------------------------------------- ##
14963 ## Report this to wx-dev@lists.wxwidgets.org ##
14964 ## ----------------------------------------- ##
14967 sed "s/^/$as_me: WARNING: /" >&2
14970 echo "$as_me:$LINENO: checking for $ac_header" >&5
14971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14973 echo $ECHO_N "(cached) $ECHO_C" >&6
14975 eval "$as_ac_Header=\$ac_header_preproc"
14977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14978 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14981 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14982 cat >>confdefs.h
<<_ACEOF
14983 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14992 *-pc-os2_emx | *-pc-os2-emx )
14993 if test $ac_cv_header_langinfo_h = "yes" \
14994 -a \
( "$wx_cv_gccversion" = "EMX2" \
14995 -o "$wx_cv_gccversion" = "EMX3" \
14996 -o "$wx_cv_gccversion" = "Innotek5" \
); then
14997 LIBS
="$LIBS -lintl"
15002 if test "$wxUSE_GUI" = "yes"; then
15003 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15005 for ac_header
in X
11/Xlib.h
15007 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15009 echo "$as_me:$LINENO: checking for $ac_header" >&5
15010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15012 echo $ECHO_N "(cached) $ECHO_C" >&6
15014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15017 # Is the header compilable?
15018 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15019 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15020 cat >conftest.
$ac_ext <<_ACEOF
15023 cat confdefs.h
>>conftest.
$ac_ext
15024 cat >>conftest.
$ac_ext <<_ACEOF
15025 /* end confdefs.h. */
15026 $ac_includes_default
15027 #include <$ac_header>
15029 rm -f conftest.
$ac_objext
15030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15031 (eval $ac_compile) 2>conftest.er1
15033 grep -v '^ *+' conftest.er1
>conftest.err
15035 cat conftest.err
>&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); } &&
15038 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15040 (eval $ac_try) 2>&5
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); }; } &&
15044 { ac_try
='test -s conftest.$ac_objext'
15045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15046 (eval $ac_try) 2>&5
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); }; }; then
15050 ac_header_compiler
=yes
15052 echo "$as_me: failed program was:" >&5
15053 sed 's/^/| /' conftest.
$ac_ext >&5
15055 ac_header_compiler
=no
15057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15058 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15059 echo "${ECHO_T}$ac_header_compiler" >&6
15061 # Is the header present?
15062 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15063 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15064 cat >conftest.
$ac_ext <<_ACEOF
15067 cat confdefs.h
>>conftest.
$ac_ext
15068 cat >>conftest.
$ac_ext <<_ACEOF
15069 /* end confdefs.h. */
15070 #include <$ac_header>
15072 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15073 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15075 grep -v '^ *+' conftest.er1
>conftest.err
15077 cat conftest.err
>&5
15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079 (exit $ac_status); } >/dev
/null
; then
15080 if test -s conftest.err
; then
15081 ac_cpp_err
=$ac_c_preproc_warn_flag
15082 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15089 if test -z "$ac_cpp_err"; then
15090 ac_header_preproc
=yes
15092 echo "$as_me: failed program was:" >&5
15093 sed 's/^/| /' conftest.
$ac_ext >&5
15095 ac_header_preproc
=no
15097 rm -f conftest.err conftest.
$ac_ext
15098 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15099 echo "${ECHO_T}$ac_header_preproc" >&6
15101 # So? What about this header?
15102 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15104 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15105 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15106 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15107 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15108 ac_header_preproc
=yes
15111 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15112 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15113 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15114 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15115 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15116 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15117 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15118 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15119 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15120 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15121 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15122 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15125 ## ----------------------------------------- ##
15126 ## Report this to wx-dev@lists.wxwidgets.org ##
15127 ## ----------------------------------------- ##
15130 sed "s/^/$as_me: WARNING: /" >&2
15133 echo "$as_me:$LINENO: checking for $ac_header" >&5
15134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15136 echo $ECHO_N "(cached) $ECHO_C" >&6
15138 eval "$as_ac_Header=\$ac_header_preproc"
15140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15141 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15144 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15145 cat >>confdefs.h
<<_ACEOF
15146 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15154 for ac_header
in X
11/XKBlib.h
15156 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15157 echo "$as_me:$LINENO: checking for $ac_header" >&5
15158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15160 echo $ECHO_N "(cached) $ECHO_C" >&6
15162 cat >conftest.
$ac_ext <<_ACEOF
15165 cat confdefs.h
>>conftest.
$ac_ext
15166 cat >>conftest.
$ac_ext <<_ACEOF
15167 /* end confdefs.h. */
15169 #if HAVE_X11_XLIB_H
15170 #include <X11/Xlib.h>
15174 #include <$ac_header>
15176 rm -f conftest.
$ac_objext
15177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15178 (eval $ac_compile) 2>conftest.er1
15180 grep -v '^ *+' conftest.er1
>conftest.err
15182 cat conftest.err
>&5
15183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15184 (exit $ac_status); } &&
15185 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15187 (eval $ac_try) 2>&5
15189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15190 (exit $ac_status); }; } &&
15191 { ac_try
='test -s conftest.$ac_objext'
15192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15193 (eval $ac_try) 2>&5
15195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15196 (exit $ac_status); }; }; then
15197 eval "$as_ac_Header=yes"
15199 echo "$as_me: failed program was:" >&5
15200 sed 's/^/| /' conftest.
$ac_ext >&5
15202 eval "$as_ac_Header=no"
15204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15208 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15209 cat >>confdefs.h
<<_ACEOF
15210 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15221 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15222 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15223 if test "${ac_cv_c_const+set}" = set; then
15224 echo $ECHO_N "(cached) $ECHO_C" >&6
15226 cat >conftest.
$ac_ext <<_ACEOF
15229 cat confdefs.h
>>conftest.
$ac_ext
15230 cat >>conftest.
$ac_ext <<_ACEOF
15231 /* end confdefs.h. */
15236 /* FIXME: Include the comments suggested by Paul. */
15237 #ifndef __cplusplus
15238 /* Ultrix mips cc rejects this. */
15239 typedef int charset[2];
15241 /* SunOS 4.1.1 cc rejects this. */
15242 char const *const *ccp;
15244 /* NEC SVR4.0.2 mips cc rejects this. */
15245 struct point {int x, y;};
15246 static struct point const zero = {0,0};
15247 /* AIX XL C 1.02.0.0 rejects this.
15248 It does not let you subtract one const X* pointer from another in
15249 an arm of an if-expression whose if-part is not a constant
15251 const char *g = "string";
15252 ccp = &g + (g ? g-g : 0);
15253 /* HPUX 7.0 cc rejects these. */
15256 ccp = (char const *const *) p;
15257 { /* SCO 3.2v4 cc rejects this. */
15259 char const *s = 0 ? (char *) 0 : (char const *) 0;
15263 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15264 int x[] = {25, 17};
15265 const int *foo = &x[0];
15268 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15269 typedef const int *iptr;
15273 { /* AIX XL C 1.02.0.0 rejects this saying
15274 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15275 struct s { int j; const int *ap[3]; };
15276 struct s *b; b->j = 5;
15278 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15279 const int foo = 10;
15287 rm -f conftest.
$ac_objext
15288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15289 (eval $ac_compile) 2>conftest.er1
15291 grep -v '^ *+' conftest.er1
>conftest.err
15293 cat conftest.err
>&5
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); } &&
15296 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15298 (eval $ac_try) 2>&5
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); }; } &&
15302 { ac_try
='test -s conftest.$ac_objext'
15303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15304 (eval $ac_try) 2>&5
15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307 (exit $ac_status); }; }; then
15310 echo "$as_me: failed program was:" >&5
15311 sed 's/^/| /' conftest.
$ac_ext >&5
15315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15317 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15318 echo "${ECHO_T}$ac_cv_c_const" >&6
15319 if test $ac_cv_c_const = no
; then
15321 cat >>confdefs.h
<<\_ACEOF
15327 echo "$as_me:$LINENO: checking for inline" >&5
15328 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15329 if test "${ac_cv_c_inline+set}" = set; then
15330 echo $ECHO_N "(cached) $ECHO_C" >&6
15333 for ac_kw
in inline __inline__ __inline
; do
15334 cat >conftest.
$ac_ext <<_ACEOF
15337 cat confdefs.h
>>conftest.
$ac_ext
15338 cat >>conftest.
$ac_ext <<_ACEOF
15339 /* end confdefs.h. */
15340 #ifndef __cplusplus
15342 static $ac_kw foo_t static_foo () {return 0; }
15343 $ac_kw foo_t foo () {return 0; }
15347 rm -f conftest.
$ac_objext
15348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15349 (eval $ac_compile) 2>conftest.er1
15351 grep -v '^ *+' conftest.er1
>conftest.err
15353 cat conftest.err
>&5
15354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15355 (exit $ac_status); } &&
15356 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15358 (eval $ac_try) 2>&5
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); }; } &&
15362 { ac_try
='test -s conftest.$ac_objext'
15363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15364 (eval $ac_try) 2>&5
15366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 (exit $ac_status); }; }; then
15368 ac_cv_c_inline
=$ac_kw; break
15370 echo "$as_me: failed program was:" >&5
15371 sed 's/^/| /' conftest.
$ac_ext >&5
15374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15378 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15379 echo "${ECHO_T}$ac_cv_c_inline" >&6
15382 case $ac_cv_c_inline in
15385 case $ac_cv_c_inline in
15387 *) ac_val
=$ac_cv_c_inline;;
15389 cat >>confdefs.h
<<_ACEOF
15390 #ifndef __cplusplus
15391 #define inline $ac_val
15398 echo "$as_me:$LINENO: checking for char" >&5
15399 echo $ECHO_N "checking for char... $ECHO_C" >&6
15400 if test "${ac_cv_type_char+set}" = set; then
15401 echo $ECHO_N "(cached) $ECHO_C" >&6
15403 cat >conftest.
$ac_ext <<_ACEOF
15406 cat confdefs.h
>>conftest.
$ac_ext
15407 cat >>conftest.
$ac_ext <<_ACEOF
15408 /* end confdefs.h. */
15409 $ac_includes_default
15421 rm -f conftest.
$ac_objext
15422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15423 (eval $ac_compile) 2>conftest.er1
15425 grep -v '^ *+' conftest.er1
>conftest.err
15427 cat conftest.err
>&5
15428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15429 (exit $ac_status); } &&
15430 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15432 (eval $ac_try) 2>&5
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); }; } &&
15436 { ac_try
='test -s conftest.$ac_objext'
15437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15438 (eval $ac_try) 2>&5
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); }; }; then
15442 ac_cv_type_char
=yes
15444 echo "$as_me: failed program was:" >&5
15445 sed 's/^/| /' conftest.
$ac_ext >&5
15449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15451 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15452 echo "${ECHO_T}$ac_cv_type_char" >&6
15454 echo "$as_me:$LINENO: checking size of char" >&5
15455 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15456 if test "${ac_cv_sizeof_char+set}" = set; then
15457 echo $ECHO_N "(cached) $ECHO_C" >&6
15459 if test "$ac_cv_type_char" = yes; then
15460 # The cast to unsigned long works around a bug in the HP C Compiler
15461 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15462 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15463 # This bug is HP SR number 8606223364.
15464 if test "$cross_compiling" = yes; then
15465 # Depending upon the size, compute the lo and hi bounds.
15466 cat >conftest.
$ac_ext <<_ACEOF
15469 cat confdefs.h
>>conftest.
$ac_ext
15470 cat >>conftest.
$ac_ext <<_ACEOF
15471 /* end confdefs.h. */
15472 $ac_includes_default
15476 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15483 rm -f conftest.
$ac_objext
15484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15485 (eval $ac_compile) 2>conftest.er1
15487 grep -v '^ *+' conftest.er1
>conftest.err
15489 cat conftest.err
>&5
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); } &&
15492 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15494 (eval $ac_try) 2>&5
15496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15497 (exit $ac_status); }; } &&
15498 { ac_try
='test -s conftest.$ac_objext'
15499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15500 (eval $ac_try) 2>&5
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); }; }; then
15506 cat >conftest.
$ac_ext <<_ACEOF
15509 cat confdefs.h
>>conftest.
$ac_ext
15510 cat >>conftest.
$ac_ext <<_ACEOF
15511 /* end confdefs.h. */
15512 $ac_includes_default
15516 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15523 rm -f conftest.
$ac_objext
15524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15525 (eval $ac_compile) 2>conftest.er1
15527 grep -v '^ *+' conftest.er1
>conftest.err
15529 cat conftest.err
>&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); } &&
15532 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; } &&
15538 { ac_try
='test -s conftest.$ac_objext'
15539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15540 (eval $ac_try) 2>&5
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); }; }; then
15544 ac_hi
=$ac_mid; break
15546 echo "$as_me: failed program was:" >&5
15547 sed 's/^/| /' conftest.
$ac_ext >&5
15549 ac_lo
=`expr $ac_mid + 1`
15550 if test $ac_lo -le $ac_mid; then
15554 ac_mid
=`expr 2 '*' $ac_mid + 1`
15556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15559 echo "$as_me: failed program was:" >&5
15560 sed 's/^/| /' conftest.
$ac_ext >&5
15562 cat >conftest.
$ac_ext <<_ACEOF
15565 cat confdefs.h
>>conftest.
$ac_ext
15566 cat >>conftest.
$ac_ext <<_ACEOF
15567 /* end confdefs.h. */
15568 $ac_includes_default
15572 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15579 rm -f conftest.
$ac_objext
15580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15581 (eval $ac_compile) 2>conftest.er1
15583 grep -v '^ *+' conftest.er1
>conftest.err
15585 cat conftest.err
>&5
15586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15587 (exit $ac_status); } &&
15588 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15590 (eval $ac_try) 2>&5
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); }; } &&
15594 { ac_try
='test -s conftest.$ac_objext'
15595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15596 (eval $ac_try) 2>&5
15598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15599 (exit $ac_status); }; }; then
15602 cat >conftest.
$ac_ext <<_ACEOF
15605 cat confdefs.h
>>conftest.
$ac_ext
15606 cat >>conftest.
$ac_ext <<_ACEOF
15607 /* end confdefs.h. */
15608 $ac_includes_default
15612 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15619 rm -f conftest.
$ac_objext
15620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15621 (eval $ac_compile) 2>conftest.er1
15623 grep -v '^ *+' conftest.er1
>conftest.err
15625 cat conftest.err
>&5
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); } &&
15628 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15630 (eval $ac_try) 2>&5
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); }; } &&
15634 { ac_try
='test -s conftest.$ac_objext'
15635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15636 (eval $ac_try) 2>&5
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); }; }; then
15640 ac_lo
=$ac_mid; break
15642 echo "$as_me: failed program was:" >&5
15643 sed 's/^/| /' conftest.
$ac_ext >&5
15645 ac_hi
=`expr '(' $ac_mid ')' - 1`
15646 if test $ac_mid -le $ac_hi; then
15650 ac_mid
=`expr 2 '*' $ac_mid`
15652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15655 echo "$as_me: failed program was:" >&5
15656 sed 's/^/| /' conftest.
$ac_ext >&5
15660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15663 # Binary search between lo and hi bounds.
15664 while test "x$ac_lo" != "x$ac_hi"; do
15665 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15666 cat >conftest.
$ac_ext <<_ACEOF
15669 cat confdefs.h
>>conftest.
$ac_ext
15670 cat >>conftest.
$ac_ext <<_ACEOF
15671 /* end confdefs.h. */
15672 $ac_includes_default
15676 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15683 rm -f conftest.
$ac_objext
15684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15685 (eval $ac_compile) 2>conftest.er1
15687 grep -v '^ *+' conftest.er1
>conftest.err
15689 cat conftest.err
>&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); } &&
15692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15694 (eval $ac_try) 2>&5
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); }; } &&
15698 { ac_try
='test -s conftest.$ac_objext'
15699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15700 (eval $ac_try) 2>&5
15702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15703 (exit $ac_status); }; }; then
15706 echo "$as_me: failed program was:" >&5
15707 sed 's/^/| /' conftest.
$ac_ext >&5
15709 ac_lo
=`expr '(' $ac_mid ')' + 1`
15711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15714 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15715 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15716 See \`config.log' for more details." >&5
15717 echo "$as_me: error: cannot compute sizeof (char), 77
15718 See \`config.log' for more details." >&2;}
15719 { (exit 1); exit 1; }; } ;;
15722 if test "$cross_compiling" = yes; then
15723 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15724 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15725 { (exit 1); exit 1; }; }
15727 cat >conftest.
$ac_ext <<_ACEOF
15730 cat confdefs.h
>>conftest.
$ac_ext
15731 cat >>conftest.
$ac_ext <<_ACEOF
15732 /* end confdefs.h. */
15733 $ac_includes_default
15734 long longval () { return (long) (sizeof (char)); }
15735 unsigned long ulongval () { return (long) (sizeof (char)); }
15737 #include <stdlib.h>
15742 FILE *f = fopen ("conftest.val", "w");
15745 if (((long) (sizeof (char))) < 0)
15747 long i = longval ();
15748 if (i != ((long) (sizeof (char))))
15750 fprintf (f, "%ld\n", i);
15754 unsigned long i = ulongval ();
15755 if (i != ((long) (sizeof (char))))
15757 fprintf (f, "%lu\n", i);
15759 exit (ferror (f) || fclose (f) != 0);
15765 rm -f conftest
$ac_exeext
15766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15767 (eval $ac_link) 2>&5
15769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15770 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15772 (eval $ac_try) 2>&5
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); }; }; then
15776 ac_cv_sizeof_char
=`cat conftest.val`
15778 echo "$as_me: program exited with status $ac_status" >&5
15779 echo "$as_me: failed program was:" >&5
15780 sed 's/^/| /' conftest.
$ac_ext >&5
15782 ( exit $ac_status )
15783 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15784 See \`config.log' for more details." >&5
15785 echo "$as_me: error: cannot compute sizeof (char), 77
15786 See \`config.log' for more details." >&2;}
15787 { (exit 1); exit 1; }; }
15789 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15794 ac_cv_sizeof_char
=0
15797 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15798 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15799 cat >>confdefs.h
<<_ACEOF
15800 #define SIZEOF_CHAR $ac_cv_sizeof_char
15804 echo "$as_me:$LINENO: checking for short" >&5
15805 echo $ECHO_N "checking for short... $ECHO_C" >&6
15806 if test "${ac_cv_type_short+set}" = set; then
15807 echo $ECHO_N "(cached) $ECHO_C" >&6
15809 cat >conftest.
$ac_ext <<_ACEOF
15812 cat confdefs.h
>>conftest.
$ac_ext
15813 cat >>conftest.
$ac_ext <<_ACEOF
15814 /* end confdefs.h. */
15815 $ac_includes_default
15821 if (sizeof (short))
15827 rm -f conftest.
$ac_objext
15828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15829 (eval $ac_compile) 2>conftest.er1
15831 grep -v '^ *+' conftest.er1
>conftest.err
15833 cat conftest.err
>&5
15834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); } &&
15836 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15838 (eval $ac_try) 2>&5
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); }; } &&
15842 { ac_try
='test -s conftest.$ac_objext'
15843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15844 (eval $ac_try) 2>&5
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); }; }; then
15848 ac_cv_type_short
=yes
15850 echo "$as_me: failed program was:" >&5
15851 sed 's/^/| /' conftest.
$ac_ext >&5
15853 ac_cv_type_short
=no
15855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15857 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15858 echo "${ECHO_T}$ac_cv_type_short" >&6
15860 echo "$as_me:$LINENO: checking size of short" >&5
15861 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15862 if test "${ac_cv_sizeof_short+set}" = set; then
15863 echo $ECHO_N "(cached) $ECHO_C" >&6
15865 if test "$ac_cv_type_short" = yes; then
15866 # The cast to unsigned long works around a bug in the HP C Compiler
15867 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15868 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15869 # This bug is HP SR number 8606223364.
15870 if test "$cross_compiling" = yes; then
15871 # Depending upon the size, compute the lo and hi bounds.
15872 cat >conftest.
$ac_ext <<_ACEOF
15875 cat confdefs.h
>>conftest.
$ac_ext
15876 cat >>conftest.
$ac_ext <<_ACEOF
15877 /* end confdefs.h. */
15878 $ac_includes_default
15882 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15889 rm -f conftest.
$ac_objext
15890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15891 (eval $ac_compile) 2>conftest.er1
15893 grep -v '^ *+' conftest.er1
>conftest.err
15895 cat conftest.err
>&5
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); } &&
15898 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15900 (eval $ac_try) 2>&5
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); }; } &&
15904 { ac_try
='test -s conftest.$ac_objext'
15905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15906 (eval $ac_try) 2>&5
15908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15909 (exit $ac_status); }; }; then
15912 cat >conftest.
$ac_ext <<_ACEOF
15915 cat confdefs.h
>>conftest.
$ac_ext
15916 cat >>conftest.
$ac_ext <<_ACEOF
15917 /* end confdefs.h. */
15918 $ac_includes_default
15922 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15929 rm -f conftest.
$ac_objext
15930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15931 (eval $ac_compile) 2>conftest.er1
15933 grep -v '^ *+' conftest.er1
>conftest.err
15935 cat conftest.err
>&5
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); } &&
15938 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15940 (eval $ac_try) 2>&5
15942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15943 (exit $ac_status); }; } &&
15944 { ac_try
='test -s conftest.$ac_objext'
15945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15946 (eval $ac_try) 2>&5
15948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949 (exit $ac_status); }; }; then
15950 ac_hi
=$ac_mid; break
15952 echo "$as_me: failed program was:" >&5
15953 sed 's/^/| /' conftest.
$ac_ext >&5
15955 ac_lo
=`expr $ac_mid + 1`
15956 if test $ac_lo -le $ac_mid; then
15960 ac_mid
=`expr 2 '*' $ac_mid + 1`
15962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15965 echo "$as_me: failed program was:" >&5
15966 sed 's/^/| /' conftest.
$ac_ext >&5
15968 cat >conftest.
$ac_ext <<_ACEOF
15971 cat confdefs.h
>>conftest.
$ac_ext
15972 cat >>conftest.
$ac_ext <<_ACEOF
15973 /* end confdefs.h. */
15974 $ac_includes_default
15978 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15985 rm -f conftest.
$ac_objext
15986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15987 (eval $ac_compile) 2>conftest.er1
15989 grep -v '^ *+' conftest.er1
>conftest.err
15991 cat conftest.err
>&5
15992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15993 (exit $ac_status); } &&
15994 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15996 (eval $ac_try) 2>&5
15998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999 (exit $ac_status); }; } &&
16000 { ac_try
='test -s conftest.$ac_objext'
16001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16002 (eval $ac_try) 2>&5
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); }; }; then
16008 cat >conftest.
$ac_ext <<_ACEOF
16011 cat confdefs.h
>>conftest.
$ac_ext
16012 cat >>conftest.
$ac_ext <<_ACEOF
16013 /* end confdefs.h. */
16014 $ac_includes_default
16018 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16025 rm -f conftest.
$ac_objext
16026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16027 (eval $ac_compile) 2>conftest.er1
16029 grep -v '^ *+' conftest.er1
>conftest.err
16031 cat conftest.err
>&5
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); } &&
16034 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16036 (eval $ac_try) 2>&5
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); }; } &&
16040 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16046 ac_lo
=$ac_mid; break
16048 echo "$as_me: failed program was:" >&5
16049 sed 's/^/| /' conftest.
$ac_ext >&5
16051 ac_hi
=`expr '(' $ac_mid ')' - 1`
16052 if test $ac_mid -le $ac_hi; then
16056 ac_mid
=`expr 2 '*' $ac_mid`
16058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16061 echo "$as_me: failed program was:" >&5
16062 sed 's/^/| /' conftest.
$ac_ext >&5
16066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16069 # Binary search between lo and hi bounds.
16070 while test "x$ac_lo" != "x$ac_hi"; do
16071 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16072 cat >conftest.
$ac_ext <<_ACEOF
16075 cat confdefs.h
>>conftest.
$ac_ext
16076 cat >>conftest.
$ac_ext <<_ACEOF
16077 /* end confdefs.h. */
16078 $ac_includes_default
16082 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16089 rm -f conftest.
$ac_objext
16090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16091 (eval $ac_compile) 2>conftest.er1
16093 grep -v '^ *+' conftest.er1
>conftest.err
16095 cat conftest.err
>&5
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); } &&
16098 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16100 (eval $ac_try) 2>&5
16102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16103 (exit $ac_status); }; } &&
16104 { ac_try
='test -s conftest.$ac_objext'
16105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16106 (eval $ac_try) 2>&5
16108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109 (exit $ac_status); }; }; then
16112 echo "$as_me: failed program was:" >&5
16113 sed 's/^/| /' conftest.
$ac_ext >&5
16115 ac_lo
=`expr '(' $ac_mid ')' + 1`
16117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16120 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16121 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16122 See \`config.log' for more details." >&5
16123 echo "$as_me: error: cannot compute sizeof (short), 77
16124 See \`config.log' for more details." >&2;}
16125 { (exit 1); exit 1; }; } ;;
16128 if test "$cross_compiling" = yes; then
16129 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16130 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16131 { (exit 1); exit 1; }; }
16133 cat >conftest.
$ac_ext <<_ACEOF
16136 cat confdefs.h
>>conftest.
$ac_ext
16137 cat >>conftest.
$ac_ext <<_ACEOF
16138 /* end confdefs.h. */
16139 $ac_includes_default
16140 long longval () { return (long) (sizeof (short)); }
16141 unsigned long ulongval () { return (long) (sizeof (short)); }
16143 #include <stdlib.h>
16148 FILE *f = fopen ("conftest.val", "w");
16151 if (((long) (sizeof (short))) < 0)
16153 long i = longval ();
16154 if (i != ((long) (sizeof (short))))
16156 fprintf (f, "%ld\n", i);
16160 unsigned long i = ulongval ();
16161 if (i != ((long) (sizeof (short))))
16163 fprintf (f, "%lu\n", i);
16165 exit (ferror (f) || fclose (f) != 0);
16171 rm -f conftest
$ac_exeext
16172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16173 (eval $ac_link) 2>&5
16175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16178 (eval $ac_try) 2>&5
16180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16181 (exit $ac_status); }; }; then
16182 ac_cv_sizeof_short
=`cat conftest.val`
16184 echo "$as_me: program exited with status $ac_status" >&5
16185 echo "$as_me: failed program was:" >&5
16186 sed 's/^/| /' conftest.
$ac_ext >&5
16188 ( exit $ac_status )
16189 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16190 See \`config.log' for more details." >&5
16191 echo "$as_me: error: cannot compute sizeof (short), 77
16192 See \`config.log' for more details." >&2;}
16193 { (exit 1); exit 1; }; }
16195 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16200 ac_cv_sizeof_short
=0
16203 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16204 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16205 cat >>confdefs.h
<<_ACEOF
16206 #define SIZEOF_SHORT $ac_cv_sizeof_short
16210 echo "$as_me:$LINENO: checking for void *" >&5
16211 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16212 if test "${ac_cv_type_void_p+set}" = set; then
16213 echo $ECHO_N "(cached) $ECHO_C" >&6
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
16227 if (sizeof (void *))
16233 rm -f conftest.
$ac_objext
16234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16235 (eval $ac_compile) 2>conftest.er1
16237 grep -v '^ *+' conftest.er1
>conftest.err
16239 cat conftest.err
>&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); } &&
16242 { ac_try
='test -z "$ac_c_werror_flag" || 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_cv_type_void_p
=yes
16256 echo "$as_me: failed program was:" >&5
16257 sed 's/^/| /' conftest.
$ac_ext >&5
16259 ac_cv_type_void_p
=no
16261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16263 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16264 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16266 echo "$as_me:$LINENO: checking size of void *" >&5
16267 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16268 if test "${ac_cv_sizeof_void_p+set}" = set; then
16269 echo $ECHO_N "(cached) $ECHO_C" >&6
16271 if test "$ac_cv_type_void_p" = yes; then
16272 # The cast to unsigned long works around a bug in the HP C Compiler
16273 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16274 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16275 # This bug is HP SR number 8606223364.
16276 if test "$cross_compiling" = yes; then
16277 # Depending upon the size, compute the lo and hi bounds.
16278 cat >conftest.
$ac_ext <<_ACEOF
16281 cat confdefs.h
>>conftest.
$ac_ext
16282 cat >>conftest.
$ac_ext <<_ACEOF
16283 /* end confdefs.h. */
16284 $ac_includes_default
16288 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16295 rm -f conftest.
$ac_objext
16296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16297 (eval $ac_compile) 2>conftest.er1
16299 grep -v '^ *+' conftest.er1
>conftest.err
16301 cat conftest.err
>&5
16302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16303 (exit $ac_status); } &&
16304 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16306 (eval $ac_try) 2>&5
16308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16309 (exit $ac_status); }; } &&
16310 { ac_try
='test -s conftest.$ac_objext'
16311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16312 (eval $ac_try) 2>&5
16314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315 (exit $ac_status); }; }; then
16318 cat >conftest.
$ac_ext <<_ACEOF
16321 cat confdefs.h
>>conftest.
$ac_ext
16322 cat >>conftest.
$ac_ext <<_ACEOF
16323 /* end confdefs.h. */
16324 $ac_includes_default
16328 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16335 rm -f conftest.
$ac_objext
16336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16337 (eval $ac_compile) 2>conftest.er1
16339 grep -v '^ *+' conftest.er1
>conftest.err
16341 cat conftest.err
>&5
16342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); } &&
16344 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16346 (eval $ac_try) 2>&5
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); }; } &&
16350 { ac_try
='test -s conftest.$ac_objext'
16351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16352 (eval $ac_try) 2>&5
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); }; }; then
16356 ac_hi
=$ac_mid; break
16358 echo "$as_me: failed program was:" >&5
16359 sed 's/^/| /' conftest.
$ac_ext >&5
16361 ac_lo
=`expr $ac_mid + 1`
16362 if test $ac_lo -le $ac_mid; then
16366 ac_mid
=`expr 2 '*' $ac_mid + 1`
16368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16371 echo "$as_me: failed program was:" >&5
16372 sed 's/^/| /' conftest.
$ac_ext >&5
16374 cat >conftest.
$ac_ext <<_ACEOF
16377 cat confdefs.h
>>conftest.
$ac_ext
16378 cat >>conftest.
$ac_ext <<_ACEOF
16379 /* end confdefs.h. */
16380 $ac_includes_default
16384 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16391 rm -f conftest.
$ac_objext
16392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16393 (eval $ac_compile) 2>conftest.er1
16395 grep -v '^ *+' conftest.er1
>conftest.err
16397 cat conftest.err
>&5
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); } &&
16400 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16402 (eval $ac_try) 2>&5
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); }; } &&
16406 { ac_try
='test -s conftest.$ac_objext'
16407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16408 (eval $ac_try) 2>&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); }; }; then
16414 cat >conftest.
$ac_ext <<_ACEOF
16417 cat confdefs.h
>>conftest.
$ac_ext
16418 cat >>conftest.
$ac_ext <<_ACEOF
16419 /* end confdefs.h. */
16420 $ac_includes_default
16424 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16431 rm -f conftest.
$ac_objext
16432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16433 (eval $ac_compile) 2>conftest.er1
16435 grep -v '^ *+' conftest.er1
>conftest.err
16437 cat conftest.err
>&5
16438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16439 (exit $ac_status); } &&
16440 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16442 (eval $ac_try) 2>&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); }; } &&
16446 { ac_try
='test -s conftest.$ac_objext'
16447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16448 (eval $ac_try) 2>&5
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); }; }; then
16452 ac_lo
=$ac_mid; break
16454 echo "$as_me: failed program was:" >&5
16455 sed 's/^/| /' conftest.
$ac_ext >&5
16457 ac_hi
=`expr '(' $ac_mid ')' - 1`
16458 if test $ac_mid -le $ac_hi; then
16462 ac_mid
=`expr 2 '*' $ac_mid`
16464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16467 echo "$as_me: failed program was:" >&5
16468 sed 's/^/| /' conftest.
$ac_ext >&5
16472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16475 # Binary search between lo and hi bounds.
16476 while test "x$ac_lo" != "x$ac_hi"; do
16477 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16478 cat >conftest.
$ac_ext <<_ACEOF
16481 cat confdefs.h
>>conftest.
$ac_ext
16482 cat >>conftest.
$ac_ext <<_ACEOF
16483 /* end confdefs.h. */
16484 $ac_includes_default
16488 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16495 rm -f conftest.
$ac_objext
16496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16497 (eval $ac_compile) 2>conftest.er1
16499 grep -v '^ *+' conftest.er1
>conftest.err
16501 cat conftest.err
>&5
16502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16503 (exit $ac_status); } &&
16504 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16506 (eval $ac_try) 2>&5
16508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509 (exit $ac_status); }; } &&
16510 { ac_try
='test -s conftest.$ac_objext'
16511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16512 (eval $ac_try) 2>&5
16514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16515 (exit $ac_status); }; }; then
16518 echo "$as_me: failed program was:" >&5
16519 sed 's/^/| /' conftest.
$ac_ext >&5
16521 ac_lo
=`expr '(' $ac_mid ')' + 1`
16523 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16526 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
16527 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16528 See \`config.log' for more details." >&5
16529 echo "$as_me: error: cannot compute sizeof (void *), 77
16530 See \`config.log' for more details." >&2;}
16531 { (exit 1); exit 1; }; } ;;
16534 if test "$cross_compiling" = yes; then
16535 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16536 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16537 { (exit 1); exit 1; }; }
16539 cat >conftest.
$ac_ext <<_ACEOF
16542 cat confdefs.h
>>conftest.
$ac_ext
16543 cat >>conftest.
$ac_ext <<_ACEOF
16544 /* end confdefs.h. */
16545 $ac_includes_default
16546 long longval () { return (long) (sizeof (void *)); }
16547 unsigned long ulongval () { return (long) (sizeof (void *)); }
16549 #include <stdlib.h>
16554 FILE *f = fopen ("conftest.val", "w");
16557 if (((long) (sizeof (void *))) < 0)
16559 long i = longval ();
16560 if (i != ((long) (sizeof (void *))))
16562 fprintf (f, "%ld\n", i);
16566 unsigned long i = ulongval ();
16567 if (i != ((long) (sizeof (void *))))
16569 fprintf (f, "%lu\n", i);
16571 exit (ferror (f) || fclose (f) != 0);
16577 rm -f conftest
$ac_exeext
16578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16579 (eval $ac_link) 2>&5
16581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16582 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16584 (eval $ac_try) 2>&5
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); }; }; then
16588 ac_cv_sizeof_void_p
=`cat conftest.val`
16590 echo "$as_me: program exited with status $ac_status" >&5
16591 echo "$as_me: failed program was:" >&5
16592 sed 's/^/| /' conftest.
$ac_ext >&5
16594 ( exit $ac_status )
16595 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16596 See \`config.log' for more details." >&5
16597 echo "$as_me: error: cannot compute sizeof (void *), 77
16598 See \`config.log' for more details." >&2;}
16599 { (exit 1); exit 1; }; }
16601 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16606 ac_cv_sizeof_void_p
=0
16609 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16610 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16611 cat >>confdefs.h
<<_ACEOF
16612 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16616 echo "$as_me:$LINENO: checking for int" >&5
16617 echo $ECHO_N "checking for int... $ECHO_C" >&6
16618 if test "${ac_cv_type_int+set}" = set; then
16619 echo $ECHO_N "(cached) $ECHO_C" >&6
16621 cat >conftest.
$ac_ext <<_ACEOF
16624 cat confdefs.h
>>conftest.
$ac_ext
16625 cat >>conftest.
$ac_ext <<_ACEOF
16626 /* end confdefs.h. */
16627 $ac_includes_default
16639 rm -f conftest.
$ac_objext
16640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16641 (eval $ac_compile) 2>conftest.er1
16643 grep -v '^ *+' conftest.er1
>conftest.err
16645 cat conftest.err
>&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); } &&
16648 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16650 (eval $ac_try) 2>&5
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); }; } &&
16654 { ac_try
='test -s conftest.$ac_objext'
16655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16656 (eval $ac_try) 2>&5
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); }; }; then
16662 echo "$as_me: failed program was:" >&5
16663 sed 's/^/| /' conftest.
$ac_ext >&5
16667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16669 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16670 echo "${ECHO_T}$ac_cv_type_int" >&6
16672 echo "$as_me:$LINENO: checking size of int" >&5
16673 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16674 if test "${ac_cv_sizeof_int+set}" = set; then
16675 echo $ECHO_N "(cached) $ECHO_C" >&6
16677 if test "$ac_cv_type_int" = yes; then
16678 # The cast to unsigned long works around a bug in the HP C Compiler
16679 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16680 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16681 # This bug is HP SR number 8606223364.
16682 if test "$cross_compiling" = yes; then
16683 # Depending upon the size, compute the lo and hi bounds.
16684 cat >conftest.
$ac_ext <<_ACEOF
16687 cat confdefs.h
>>conftest.
$ac_ext
16688 cat >>conftest.
$ac_ext <<_ACEOF
16689 /* end confdefs.h. */
16690 $ac_includes_default
16694 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16701 rm -f conftest.
$ac_objext
16702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16703 (eval $ac_compile) 2>conftest.er1
16705 grep -v '^ *+' conftest.er1
>conftest.err
16707 cat conftest.err
>&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } &&
16710 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16712 (eval $ac_try) 2>&5
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); }; } &&
16716 { ac_try
='test -s conftest.$ac_objext'
16717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16718 (eval $ac_try) 2>&5
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721 (exit $ac_status); }; }; then
16724 cat >conftest.
$ac_ext <<_ACEOF
16727 cat confdefs.h
>>conftest.
$ac_ext
16728 cat >>conftest.
$ac_ext <<_ACEOF
16729 /* end confdefs.h. */
16730 $ac_includes_default
16734 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16741 rm -f conftest.
$ac_objext
16742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16743 (eval $ac_compile) 2>conftest.er1
16745 grep -v '^ *+' conftest.er1
>conftest.err
16747 cat conftest.err
>&5
16748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16749 (exit $ac_status); } &&
16750 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16752 (eval $ac_try) 2>&5
16754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16755 (exit $ac_status); }; } &&
16756 { ac_try
='test -s conftest.$ac_objext'
16757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16758 (eval $ac_try) 2>&5
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); }; }; then
16762 ac_hi
=$ac_mid; break
16764 echo "$as_me: failed program was:" >&5
16765 sed 's/^/| /' conftest.
$ac_ext >&5
16767 ac_lo
=`expr $ac_mid + 1`
16768 if test $ac_lo -le $ac_mid; then
16772 ac_mid
=`expr 2 '*' $ac_mid + 1`
16774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16777 echo "$as_me: failed program was:" >&5
16778 sed 's/^/| /' conftest.
$ac_ext >&5
16780 cat >conftest.
$ac_ext <<_ACEOF
16783 cat confdefs.h
>>conftest.
$ac_ext
16784 cat >>conftest.
$ac_ext <<_ACEOF
16785 /* end confdefs.h. */
16786 $ac_includes_default
16790 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16797 rm -f conftest.
$ac_objext
16798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16799 (eval $ac_compile) 2>conftest.er1
16801 grep -v '^ *+' conftest.er1
>conftest.err
16803 cat conftest.err
>&5
16804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16805 (exit $ac_status); } &&
16806 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16808 (eval $ac_try) 2>&5
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); }; } &&
16812 { ac_try
='test -s conftest.$ac_objext'
16813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16814 (eval $ac_try) 2>&5
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); }; }; then
16820 cat >conftest.
$ac_ext <<_ACEOF
16823 cat confdefs.h
>>conftest.
$ac_ext
16824 cat >>conftest.
$ac_ext <<_ACEOF
16825 /* end confdefs.h. */
16826 $ac_includes_default
16830 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16837 rm -f conftest.
$ac_objext
16838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16839 (eval $ac_compile) 2>conftest.er1
16841 grep -v '^ *+' conftest.er1
>conftest.err
16843 cat conftest.err
>&5
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); } &&
16846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16848 (eval $ac_try) 2>&5
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); }; } &&
16852 { ac_try
='test -s conftest.$ac_objext'
16853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16854 (eval $ac_try) 2>&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); }; }; then
16858 ac_lo
=$ac_mid; break
16860 echo "$as_me: failed program was:" >&5
16861 sed 's/^/| /' conftest.
$ac_ext >&5
16863 ac_hi
=`expr '(' $ac_mid ')' - 1`
16864 if test $ac_mid -le $ac_hi; then
16868 ac_mid
=`expr 2 '*' $ac_mid`
16870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16873 echo "$as_me: failed program was:" >&5
16874 sed 's/^/| /' conftest.
$ac_ext >&5
16878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16881 # Binary search between lo and hi bounds.
16882 while test "x$ac_lo" != "x$ac_hi"; do
16883 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16884 cat >conftest.
$ac_ext <<_ACEOF
16887 cat confdefs.h
>>conftest.
$ac_ext
16888 cat >>conftest.
$ac_ext <<_ACEOF
16889 /* end confdefs.h. */
16890 $ac_includes_default
16894 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16901 rm -f conftest.
$ac_objext
16902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16903 (eval $ac_compile) 2>conftest.er1
16905 grep -v '^ *+' conftest.er1
>conftest.err
16907 cat conftest.err
>&5
16908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16909 (exit $ac_status); } &&
16910 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16912 (eval $ac_try) 2>&5
16914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915 (exit $ac_status); }; } &&
16916 { ac_try
='test -s conftest.$ac_objext'
16917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16918 (eval $ac_try) 2>&5
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); }; }; then
16924 echo "$as_me: failed program was:" >&5
16925 sed 's/^/| /' conftest.
$ac_ext >&5
16927 ac_lo
=`expr '(' $ac_mid ')' + 1`
16929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16932 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16933 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16934 See \`config.log' for more details." >&5
16935 echo "$as_me: error: cannot compute sizeof (int), 77
16936 See \`config.log' for more details." >&2;}
16937 { (exit 1); exit 1; }; } ;;
16940 if test "$cross_compiling" = yes; then
16941 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16942 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16943 { (exit 1); exit 1; }; }
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
16952 long longval () { return (long) (sizeof (int)); }
16953 unsigned long ulongval () { return (long) (sizeof (int)); }
16955 #include <stdlib.h>
16960 FILE *f = fopen ("conftest.val", "w");
16963 if (((long) (sizeof (int))) < 0)
16965 long i = longval ();
16966 if (i != ((long) (sizeof (int))))
16968 fprintf (f, "%ld\n", i);
16972 unsigned long i = ulongval ();
16973 if (i != ((long) (sizeof (int))))
16975 fprintf (f, "%lu\n", i);
16977 exit (ferror (f) || fclose (f) != 0);
16983 rm -f conftest
$ac_exeext
16984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16985 (eval $ac_link) 2>&5
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16990 (eval $ac_try) 2>&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); }; }; then
16994 ac_cv_sizeof_int
=`cat conftest.val`
16996 echo "$as_me: program exited with status $ac_status" >&5
16997 echo "$as_me: failed program was:" >&5
16998 sed 's/^/| /' conftest.
$ac_ext >&5
17000 ( exit $ac_status )
17001 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17002 See \`config.log' for more details." >&5
17003 echo "$as_me: error: cannot compute sizeof (int), 77
17004 See \`config.log' for more details." >&2;}
17005 { (exit 1); exit 1; }; }
17007 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17015 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17016 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17017 cat >>confdefs.h
<<_ACEOF
17018 #define SIZEOF_INT $ac_cv_sizeof_int
17022 echo "$as_me:$LINENO: checking for long" >&5
17023 echo $ECHO_N "checking for long... $ECHO_C" >&6
17024 if test "${ac_cv_type_long+set}" = set; then
17025 echo $ECHO_N "(cached) $ECHO_C" >&6
17027 cat >conftest.
$ac_ext <<_ACEOF
17030 cat confdefs.h
>>conftest.
$ac_ext
17031 cat >>conftest.
$ac_ext <<_ACEOF
17032 /* end confdefs.h. */
17033 $ac_includes_default
17045 rm -f conftest.
$ac_objext
17046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17047 (eval $ac_compile) 2>conftest.er1
17049 grep -v '^ *+' conftest.er1
>conftest.err
17051 cat conftest.err
>&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } &&
17054 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17056 (eval $ac_try) 2>&5
17058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059 (exit $ac_status); }; } &&
17060 { ac_try
='test -s conftest.$ac_objext'
17061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17062 (eval $ac_try) 2>&5
17064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17065 (exit $ac_status); }; }; then
17066 ac_cv_type_long
=yes
17068 echo "$as_me: failed program was:" >&5
17069 sed 's/^/| /' conftest.
$ac_ext >&5
17073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17075 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17076 echo "${ECHO_T}$ac_cv_type_long" >&6
17078 echo "$as_me:$LINENO: checking size of long" >&5
17079 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17080 if test "${ac_cv_sizeof_long+set}" = set; then
17081 echo $ECHO_N "(cached) $ECHO_C" >&6
17083 if test "$ac_cv_type_long" = yes; then
17084 # The cast to unsigned long works around a bug in the HP C Compiler
17085 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17086 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17087 # This bug is HP SR number 8606223364.
17088 if test "$cross_compiling" = yes; then
17089 # Depending upon the size, compute the lo and hi bounds.
17090 cat >conftest.
$ac_ext <<_ACEOF
17093 cat confdefs.h
>>conftest.
$ac_ext
17094 cat >>conftest.
$ac_ext <<_ACEOF
17095 /* end confdefs.h. */
17096 $ac_includes_default
17100 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17107 rm -f conftest.
$ac_objext
17108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17109 (eval $ac_compile) 2>conftest.er1
17111 grep -v '^ *+' conftest.er1
>conftest.err
17113 cat conftest.err
>&5
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); } &&
17116 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17118 (eval $ac_try) 2>&5
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); }; } &&
17122 { ac_try
='test -s conftest.$ac_objext'
17123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17124 (eval $ac_try) 2>&5
17126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17127 (exit $ac_status); }; }; then
17130 cat >conftest.
$ac_ext <<_ACEOF
17133 cat confdefs.h
>>conftest.
$ac_ext
17134 cat >>conftest.
$ac_ext <<_ACEOF
17135 /* end confdefs.h. */
17136 $ac_includes_default
17140 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17147 rm -f conftest.
$ac_objext
17148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17149 (eval $ac_compile) 2>conftest.er1
17151 grep -v '^ *+' conftest.er1
>conftest.err
17153 cat conftest.err
>&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); } &&
17156 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17158 (eval $ac_try) 2>&5
17160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17161 (exit $ac_status); }; } &&
17162 { ac_try
='test -s conftest.$ac_objext'
17163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17164 (eval $ac_try) 2>&5
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); }; }; then
17168 ac_hi
=$ac_mid; break
17170 echo "$as_me: failed program was:" >&5
17171 sed 's/^/| /' conftest.
$ac_ext >&5
17173 ac_lo
=`expr $ac_mid + 1`
17174 if test $ac_lo -le $ac_mid; then
17178 ac_mid
=`expr 2 '*' $ac_mid + 1`
17180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17183 echo "$as_me: failed program was:" >&5
17184 sed 's/^/| /' conftest.
$ac_ext >&5
17186 cat >conftest.
$ac_ext <<_ACEOF
17189 cat confdefs.h
>>conftest.
$ac_ext
17190 cat >>conftest.
$ac_ext <<_ACEOF
17191 /* end confdefs.h. */
17192 $ac_includes_default
17196 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17203 rm -f conftest.
$ac_objext
17204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17205 (eval $ac_compile) 2>conftest.er1
17207 grep -v '^ *+' conftest.er1
>conftest.err
17209 cat conftest.err
>&5
17210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17211 (exit $ac_status); } &&
17212 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17214 (eval $ac_try) 2>&5
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); }; } &&
17218 { ac_try
='test -s conftest.$ac_objext'
17219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17220 (eval $ac_try) 2>&5
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); }; }; then
17226 cat >conftest.
$ac_ext <<_ACEOF
17229 cat confdefs.h
>>conftest.
$ac_ext
17230 cat >>conftest.
$ac_ext <<_ACEOF
17231 /* end confdefs.h. */
17232 $ac_includes_default
17236 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17243 rm -f conftest.
$ac_objext
17244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17245 (eval $ac_compile) 2>conftest.er1
17247 grep -v '^ *+' conftest.er1
>conftest.err
17249 cat conftest.err
>&5
17250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17251 (exit $ac_status); } &&
17252 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17254 (eval $ac_try) 2>&5
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); }; } &&
17258 { ac_try
='test -s conftest.$ac_objext'
17259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17260 (eval $ac_try) 2>&5
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); }; }; then
17264 ac_lo
=$ac_mid; break
17266 echo "$as_me: failed program was:" >&5
17267 sed 's/^/| /' conftest.
$ac_ext >&5
17269 ac_hi
=`expr '(' $ac_mid ')' - 1`
17270 if test $ac_mid -le $ac_hi; then
17274 ac_mid
=`expr 2 '*' $ac_mid`
17276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17279 echo "$as_me: failed program was:" >&5
17280 sed 's/^/| /' conftest.
$ac_ext >&5
17284 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17287 # Binary search between lo and hi bounds.
17288 while test "x$ac_lo" != "x$ac_hi"; do
17289 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17290 cat >conftest.
$ac_ext <<_ACEOF
17293 cat confdefs.h
>>conftest.
$ac_ext
17294 cat >>conftest.
$ac_ext <<_ACEOF
17295 /* end confdefs.h. */
17296 $ac_includes_default
17300 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17307 rm -f conftest.
$ac_objext
17308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17309 (eval $ac_compile) 2>conftest.er1
17311 grep -v '^ *+' conftest.er1
>conftest.err
17313 cat conftest.err
>&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); } &&
17316 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17318 (eval $ac_try) 2>&5
17320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17321 (exit $ac_status); }; } &&
17322 { ac_try
='test -s conftest.$ac_objext'
17323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17324 (eval $ac_try) 2>&5
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); }; }; then
17330 echo "$as_me: failed program was:" >&5
17331 sed 's/^/| /' conftest.
$ac_ext >&5
17333 ac_lo
=`expr '(' $ac_mid ')' + 1`
17335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17338 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17339 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17340 See \`config.log' for more details." >&5
17341 echo "$as_me: error: cannot compute sizeof (long), 77
17342 See \`config.log' for more details." >&2;}
17343 { (exit 1); exit 1; }; } ;;
17346 if test "$cross_compiling" = yes; then
17347 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17348 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17349 { (exit 1); exit 1; }; }
17351 cat >conftest.
$ac_ext <<_ACEOF
17354 cat confdefs.h
>>conftest.
$ac_ext
17355 cat >>conftest.
$ac_ext <<_ACEOF
17356 /* end confdefs.h. */
17357 $ac_includes_default
17358 long longval () { return (long) (sizeof (long)); }
17359 unsigned long ulongval () { return (long) (sizeof (long)); }
17361 #include <stdlib.h>
17366 FILE *f = fopen ("conftest.val", "w");
17369 if (((long) (sizeof (long))) < 0)
17371 long i = longval ();
17372 if (i != ((long) (sizeof (long))))
17374 fprintf (f, "%ld\n", i);
17378 unsigned long i = ulongval ();
17379 if (i != ((long) (sizeof (long))))
17381 fprintf (f, "%lu\n", i);
17383 exit (ferror (f) || fclose (f) != 0);
17389 rm -f conftest
$ac_exeext
17390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17391 (eval $ac_link) 2>&5
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17396 (eval $ac_try) 2>&5
17398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399 (exit $ac_status); }; }; then
17400 ac_cv_sizeof_long
=`cat conftest.val`
17402 echo "$as_me: program exited with status $ac_status" >&5
17403 echo "$as_me: failed program was:" >&5
17404 sed 's/^/| /' conftest.
$ac_ext >&5
17406 ( exit $ac_status )
17407 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17408 See \`config.log' for more details." >&5
17409 echo "$as_me: error: cannot compute sizeof (long), 77
17410 See \`config.log' for more details." >&2;}
17411 { (exit 1); exit 1; }; }
17413 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17418 ac_cv_sizeof_long
=0
17421 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17422 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17423 cat >>confdefs.h
<<_ACEOF
17424 #define SIZEOF_LONG $ac_cv_sizeof_long
17428 echo "$as_me:$LINENO: checking for size_t" >&5
17429 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17430 if test "${ac_cv_type_size_t+set}" = set; then
17431 echo $ECHO_N "(cached) $ECHO_C" >&6
17433 cat >conftest.
$ac_ext <<_ACEOF
17436 cat confdefs.h
>>conftest.
$ac_ext
17437 cat >>conftest.
$ac_ext <<_ACEOF
17438 /* end confdefs.h. */
17439 $ac_includes_default
17445 if (sizeof (size_t))
17451 rm -f conftest.
$ac_objext
17452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17453 (eval $ac_compile) 2>conftest.er1
17455 grep -v '^ *+' conftest.er1
>conftest.err
17457 cat conftest.err
>&5
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); } &&
17460 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17462 (eval $ac_try) 2>&5
17464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17465 (exit $ac_status); }; } &&
17466 { ac_try
='test -s conftest.$ac_objext'
17467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17468 (eval $ac_try) 2>&5
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); }; }; then
17472 ac_cv_type_size_t
=yes
17474 echo "$as_me: failed program was:" >&5
17475 sed 's/^/| /' conftest.
$ac_ext >&5
17477 ac_cv_type_size_t
=no
17479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17481 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17482 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17484 echo "$as_me:$LINENO: checking size of size_t" >&5
17485 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17486 if test "${ac_cv_sizeof_size_t+set}" = set; then
17487 echo $ECHO_N "(cached) $ECHO_C" >&6
17489 if test "$ac_cv_type_size_t" = yes; then
17490 # The cast to unsigned long works around a bug in the HP C Compiler
17491 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17492 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17493 # This bug is HP SR number 8606223364.
17494 if test "$cross_compiling" = yes; then
17495 # Depending upon the size, compute the lo and hi bounds.
17496 cat >conftest.
$ac_ext <<_ACEOF
17499 cat confdefs.h
>>conftest.
$ac_ext
17500 cat >>conftest.
$ac_ext <<_ACEOF
17501 /* end confdefs.h. */
17502 $ac_includes_default
17506 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17513 rm -f conftest.
$ac_objext
17514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17515 (eval $ac_compile) 2>conftest.er1
17517 grep -v '^ *+' conftest.er1
>conftest.err
17519 cat conftest.err
>&5
17520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17521 (exit $ac_status); } &&
17522 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17524 (eval $ac_try) 2>&5
17526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17527 (exit $ac_status); }; } &&
17528 { ac_try
='test -s conftest.$ac_objext'
17529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17530 (eval $ac_try) 2>&5
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); }; }; then
17536 cat >conftest.
$ac_ext <<_ACEOF
17539 cat confdefs.h
>>conftest.
$ac_ext
17540 cat >>conftest.
$ac_ext <<_ACEOF
17541 /* end confdefs.h. */
17542 $ac_includes_default
17546 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17553 rm -f conftest.
$ac_objext
17554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17555 (eval $ac_compile) 2>conftest.er1
17557 grep -v '^ *+' conftest.er1
>conftest.err
17559 cat conftest.err
>&5
17560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561 (exit $ac_status); } &&
17562 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17564 (eval $ac_try) 2>&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); }; } &&
17568 { ac_try
='test -s conftest.$ac_objext'
17569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17570 (eval $ac_try) 2>&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); }; }; then
17574 ac_hi
=$ac_mid; break
17576 echo "$as_me: failed program was:" >&5
17577 sed 's/^/| /' conftest.
$ac_ext >&5
17579 ac_lo
=`expr $ac_mid + 1`
17580 if test $ac_lo -le $ac_mid; then
17584 ac_mid
=`expr 2 '*' $ac_mid + 1`
17586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17589 echo "$as_me: failed program was:" >&5
17590 sed 's/^/| /' conftest.
$ac_ext >&5
17592 cat >conftest.
$ac_ext <<_ACEOF
17595 cat confdefs.h
>>conftest.
$ac_ext
17596 cat >>conftest.
$ac_ext <<_ACEOF
17597 /* end confdefs.h. */
17598 $ac_includes_default
17602 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17609 rm -f conftest.
$ac_objext
17610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17611 (eval $ac_compile) 2>conftest.er1
17613 grep -v '^ *+' conftest.er1
>conftest.err
17615 cat conftest.err
>&5
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); } &&
17618 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17620 (eval $ac_try) 2>&5
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); }; } &&
17624 { ac_try
='test -s conftest.$ac_objext'
17625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17626 (eval $ac_try) 2>&5
17628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17629 (exit $ac_status); }; }; then
17632 cat >conftest.
$ac_ext <<_ACEOF
17635 cat confdefs.h
>>conftest.
$ac_ext
17636 cat >>conftest.
$ac_ext <<_ACEOF
17637 /* end confdefs.h. */
17638 $ac_includes_default
17642 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17649 rm -f conftest.
$ac_objext
17650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17651 (eval $ac_compile) 2>conftest.er1
17653 grep -v '^ *+' conftest.er1
>conftest.err
17655 cat conftest.err
>&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } &&
17658 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660 (eval $ac_try) 2>&5
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; } &&
17664 { ac_try
='test -s conftest.$ac_objext'
17665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17666 (eval $ac_try) 2>&5
17668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669 (exit $ac_status); }; }; then
17670 ac_lo
=$ac_mid; break
17672 echo "$as_me: failed program was:" >&5
17673 sed 's/^/| /' conftest.
$ac_ext >&5
17675 ac_hi
=`expr '(' $ac_mid ')' - 1`
17676 if test $ac_mid -le $ac_hi; then
17680 ac_mid
=`expr 2 '*' $ac_mid`
17682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17685 echo "$as_me: failed program was:" >&5
17686 sed 's/^/| /' conftest.
$ac_ext >&5
17690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17693 # Binary search between lo and hi bounds.
17694 while test "x$ac_lo" != "x$ac_hi"; do
17695 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17696 cat >conftest.
$ac_ext <<_ACEOF
17699 cat confdefs.h
>>conftest.
$ac_ext
17700 cat >>conftest.
$ac_ext <<_ACEOF
17701 /* end confdefs.h. */
17702 $ac_includes_default
17706 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17713 rm -f conftest.
$ac_objext
17714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17715 (eval $ac_compile) 2>conftest.er1
17717 grep -v '^ *+' conftest.er1
>conftest.err
17719 cat conftest.err
>&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); } &&
17722 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17724 (eval $ac_try) 2>&5
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); }; } &&
17728 { ac_try
='test -s conftest.$ac_objext'
17729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17730 (eval $ac_try) 2>&5
17732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17733 (exit $ac_status); }; }; then
17736 echo "$as_me: failed program was:" >&5
17737 sed 's/^/| /' conftest.
$ac_ext >&5
17739 ac_lo
=`expr '(' $ac_mid ')' + 1`
17741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17744 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
17745 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17746 See \`config.log' for more details." >&5
17747 echo "$as_me: error: cannot compute sizeof (size_t), 77
17748 See \`config.log' for more details." >&2;}
17749 { (exit 1); exit 1; }; } ;;
17752 if test "$cross_compiling" = yes; then
17753 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17754 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17755 { (exit 1); exit 1; }; }
17757 cat >conftest.
$ac_ext <<_ACEOF
17760 cat confdefs.h
>>conftest.
$ac_ext
17761 cat >>conftest.
$ac_ext <<_ACEOF
17762 /* end confdefs.h. */
17763 $ac_includes_default
17764 long longval () { return (long) (sizeof (size_t)); }
17765 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17767 #include <stdlib.h>
17772 FILE *f = fopen ("conftest.val", "w");
17775 if (((long) (sizeof (size_t))) < 0)
17777 long i = longval ();
17778 if (i != ((long) (sizeof (size_t))))
17780 fprintf (f, "%ld\n", i);
17784 unsigned long i = ulongval ();
17785 if (i != ((long) (sizeof (size_t))))
17787 fprintf (f, "%lu\n", i);
17789 exit (ferror (f) || fclose (f) != 0);
17795 rm -f conftest
$ac_exeext
17796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17797 (eval $ac_link) 2>&5
17799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17800 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17802 (eval $ac_try) 2>&5
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); }; }; then
17806 ac_cv_sizeof_size_t
=`cat conftest.val`
17808 echo "$as_me: program exited with status $ac_status" >&5
17809 echo "$as_me: failed program was:" >&5
17810 sed 's/^/| /' conftest.
$ac_ext >&5
17812 ( exit $ac_status )
17813 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17814 See \`config.log' for more details." >&5
17815 echo "$as_me: error: cannot compute sizeof (size_t), 77
17816 See \`config.log' for more details." >&2;}
17817 { (exit 1); exit 1; }; }
17819 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17824 ac_cv_sizeof_size_t
=0
17827 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17828 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17829 cat >>confdefs.h
<<_ACEOF
17830 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17837 echo "$as_me:$LINENO: checking for long long" >&5
17838 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17839 if test "${ac_cv_type_long_long+set}" = set; then
17840 echo $ECHO_N "(cached) $ECHO_C" >&6
17842 cat >conftest.
$ac_ext <<_ACEOF
17845 cat confdefs.h
>>conftest.
$ac_ext
17846 cat >>conftest.
$ac_ext <<_ACEOF
17847 /* end confdefs.h. */
17848 $ac_includes_default
17852 if ((long long *) 0)
17854 if (sizeof (long long))
17860 rm -f conftest.
$ac_objext
17861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17862 (eval $ac_compile) 2>conftest.er1
17864 grep -v '^ *+' conftest.er1
>conftest.err
17866 cat conftest.err
>&5
17867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17868 (exit $ac_status); } &&
17869 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17871 (eval $ac_try) 2>&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); }; } &&
17875 { ac_try
='test -s conftest.$ac_objext'
17876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17877 (eval $ac_try) 2>&5
17879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17880 (exit $ac_status); }; }; then
17881 ac_cv_type_long_long
=yes
17883 echo "$as_me: failed program was:" >&5
17884 sed 's/^/| /' conftest.
$ac_ext >&5
17886 ac_cv_type_long_long
=no
17888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17890 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17891 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17893 echo "$as_me:$LINENO: checking size of long long" >&5
17894 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17895 if test "${ac_cv_sizeof_long_long+set}" = set; then
17896 echo $ECHO_N "(cached) $ECHO_C" >&6
17898 if test "$ac_cv_type_long_long" = yes; then
17899 # The cast to unsigned long works around a bug in the HP C Compiler
17900 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17901 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17902 # This bug is HP SR number 8606223364.
17903 if test "$cross_compiling" = yes; then
17904 # Depending upon the size, compute the lo and hi bounds.
17905 cat >conftest.
$ac_ext <<_ACEOF
17908 cat confdefs.h
>>conftest.
$ac_ext
17909 cat >>conftest.
$ac_ext <<_ACEOF
17910 /* end confdefs.h. */
17911 $ac_includes_default
17915 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17922 rm -f conftest.
$ac_objext
17923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17924 (eval $ac_compile) 2>conftest.er1
17926 grep -v '^ *+' conftest.er1
>conftest.err
17928 cat conftest.err
>&5
17929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17930 (exit $ac_status); } &&
17931 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17933 (eval $ac_try) 2>&5
17935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17936 (exit $ac_status); }; } &&
17937 { ac_try
='test -s conftest.$ac_objext'
17938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17939 (eval $ac_try) 2>&5
17941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17942 (exit $ac_status); }; }; then
17945 cat >conftest.
$ac_ext <<_ACEOF
17948 cat confdefs.h
>>conftest.
$ac_ext
17949 cat >>conftest.
$ac_ext <<_ACEOF
17950 /* end confdefs.h. */
17951 $ac_includes_default
17955 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17962 rm -f conftest.
$ac_objext
17963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17964 (eval $ac_compile) 2>conftest.er1
17966 grep -v '^ *+' conftest.er1
>conftest.err
17968 cat conftest.err
>&5
17969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17970 (exit $ac_status); } &&
17971 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17973 (eval $ac_try) 2>&5
17975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976 (exit $ac_status); }; } &&
17977 { ac_try
='test -s conftest.$ac_objext'
17978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17979 (eval $ac_try) 2>&5
17981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17982 (exit $ac_status); }; }; then
17983 ac_hi
=$ac_mid; break
17985 echo "$as_me: failed program was:" >&5
17986 sed 's/^/| /' conftest.
$ac_ext >&5
17988 ac_lo
=`expr $ac_mid + 1`
17989 if test $ac_lo -le $ac_mid; then
17993 ac_mid
=`expr 2 '*' $ac_mid + 1`
17995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17998 echo "$as_me: failed program was:" >&5
17999 sed 's/^/| /' conftest.
$ac_ext >&5
18001 cat >conftest.
$ac_ext <<_ACEOF
18004 cat confdefs.h
>>conftest.
$ac_ext
18005 cat >>conftest.
$ac_ext <<_ACEOF
18006 /* end confdefs.h. */
18007 $ac_includes_default
18011 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18018 rm -f conftest.
$ac_objext
18019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18020 (eval $ac_compile) 2>conftest.er1
18022 grep -v '^ *+' conftest.er1
>conftest.err
18024 cat conftest.err
>&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); } &&
18027 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18029 (eval $ac_try) 2>&5
18031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18032 (exit $ac_status); }; } &&
18033 { ac_try
='test -s conftest.$ac_objext'
18034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18035 (eval $ac_try) 2>&5
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); }; }; then
18041 cat >conftest.
$ac_ext <<_ACEOF
18044 cat confdefs.h
>>conftest.
$ac_ext
18045 cat >>conftest.
$ac_ext <<_ACEOF
18046 /* end confdefs.h. */
18047 $ac_includes_default
18051 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18058 rm -f conftest.
$ac_objext
18059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18060 (eval $ac_compile) 2>conftest.er1
18062 grep -v '^ *+' conftest.er1
>conftest.err
18064 cat conftest.err
>&5
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); } &&
18067 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18069 (eval $ac_try) 2>&5
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); }; } &&
18073 { ac_try
='test -s conftest.$ac_objext'
18074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18075 (eval $ac_try) 2>&5
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); }; }; then
18079 ac_lo
=$ac_mid; break
18081 echo "$as_me: failed program was:" >&5
18082 sed 's/^/| /' conftest.
$ac_ext >&5
18084 ac_hi
=`expr '(' $ac_mid ')' - 1`
18085 if test $ac_mid -le $ac_hi; then
18089 ac_mid
=`expr 2 '*' $ac_mid`
18091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18094 echo "$as_me: failed program was:" >&5
18095 sed 's/^/| /' conftest.
$ac_ext >&5
18099 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18102 # Binary search between lo and hi bounds.
18103 while test "x$ac_lo" != "x$ac_hi"; do
18104 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18105 cat >conftest.
$ac_ext <<_ACEOF
18108 cat confdefs.h
>>conftest.
$ac_ext
18109 cat >>conftest.
$ac_ext <<_ACEOF
18110 /* end confdefs.h. */
18111 $ac_includes_default
18115 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18122 rm -f conftest.
$ac_objext
18123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18124 (eval $ac_compile) 2>conftest.er1
18126 grep -v '^ *+' conftest.er1
>conftest.err
18128 cat conftest.err
>&5
18129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130 (exit $ac_status); } &&
18131 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18133 (eval $ac_try) 2>&5
18135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18136 (exit $ac_status); }; } &&
18137 { ac_try
='test -s conftest.$ac_objext'
18138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18139 (eval $ac_try) 2>&5
18141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18142 (exit $ac_status); }; }; then
18145 echo "$as_me: failed program was:" >&5
18146 sed 's/^/| /' conftest.
$ac_ext >&5
18148 ac_lo
=`expr '(' $ac_mid ')' + 1`
18150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18153 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18154 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18155 See \`config.log' for more details." >&5
18156 echo "$as_me: error: cannot compute sizeof (long long), 77
18157 See \`config.log' for more details." >&2;}
18158 { (exit 1); exit 1; }; } ;;
18161 if test "$cross_compiling" = yes; then
18162 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18163 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18164 { (exit 1); exit 1; }; }
18166 cat >conftest.
$ac_ext <<_ACEOF
18169 cat confdefs.h
>>conftest.
$ac_ext
18170 cat >>conftest.
$ac_ext <<_ACEOF
18171 /* end confdefs.h. */
18172 $ac_includes_default
18173 long longval () { return (long) (sizeof (long long)); }
18174 unsigned long ulongval () { return (long) (sizeof (long long)); }
18176 #include <stdlib.h>
18181 FILE *f = fopen ("conftest.val", "w");
18184 if (((long) (sizeof (long long))) < 0)
18186 long i = longval ();
18187 if (i != ((long) (sizeof (long long))))
18189 fprintf (f, "%ld\n", i);
18193 unsigned long i = ulongval ();
18194 if (i != ((long) (sizeof (long long))))
18196 fprintf (f, "%lu\n", i);
18198 exit (ferror (f) || fclose (f) != 0);
18204 rm -f conftest
$ac_exeext
18205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18206 (eval $ac_link) 2>&5
18208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18211 (eval $ac_try) 2>&5
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); }; }; then
18215 ac_cv_sizeof_long_long
=`cat conftest.val`
18217 echo "$as_me: program exited with status $ac_status" >&5
18218 echo "$as_me: failed program was:" >&5
18219 sed 's/^/| /' conftest.
$ac_ext >&5
18221 ( exit $ac_status )
18222 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18223 See \`config.log' for more details." >&5
18224 echo "$as_me: error: cannot compute sizeof (long long), 77
18225 See \`config.log' for more details." >&2;}
18226 { (exit 1); exit 1; }; }
18228 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18233 ac_cv_sizeof_long_long
=0
18236 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18237 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18238 cat >>confdefs.h
<<_ACEOF
18239 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18245 echo "$as_me:$LINENO: checking for long long" >&5
18246 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18247 if test "${ac_cv_type_long_long+set}" = set; then
18248 echo $ECHO_N "(cached) $ECHO_C" >&6
18250 cat >conftest.
$ac_ext <<_ACEOF
18253 cat confdefs.h
>>conftest.
$ac_ext
18254 cat >>conftest.
$ac_ext <<_ACEOF
18255 /* end confdefs.h. */
18256 $ac_includes_default
18260 if ((long long *) 0)
18262 if (sizeof (long long))
18268 rm -f conftest.
$ac_objext
18269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18270 (eval $ac_compile) 2>conftest.er1
18272 grep -v '^ *+' conftest.er1
>conftest.err
18274 cat conftest.err
>&5
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); } &&
18277 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18279 (eval $ac_try) 2>&5
18281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18282 (exit $ac_status); }; } &&
18283 { ac_try
='test -s conftest.$ac_objext'
18284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18285 (eval $ac_try) 2>&5
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); }; }; then
18289 ac_cv_type_long_long
=yes
18291 echo "$as_me: failed program was:" >&5
18292 sed 's/^/| /' conftest.
$ac_ext >&5
18294 ac_cv_type_long_long
=no
18296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18298 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18299 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18301 echo "$as_me:$LINENO: checking size of long long" >&5
18302 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18303 if test "${ac_cv_sizeof_long_long+set}" = set; then
18304 echo $ECHO_N "(cached) $ECHO_C" >&6
18306 if test "$ac_cv_type_long_long" = yes; then
18307 # The cast to unsigned long works around a bug in the HP C Compiler
18308 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18309 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18310 # This bug is HP SR number 8606223364.
18311 if test "$cross_compiling" = yes; then
18312 # Depending upon the size, compute the lo and hi bounds.
18313 cat >conftest.
$ac_ext <<_ACEOF
18316 cat confdefs.h
>>conftest.
$ac_ext
18317 cat >>conftest.
$ac_ext <<_ACEOF
18318 /* end confdefs.h. */
18319 $ac_includes_default
18323 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18330 rm -f conftest.
$ac_objext
18331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18332 (eval $ac_compile) 2>conftest.er1
18334 grep -v '^ *+' conftest.er1
>conftest.err
18336 cat conftest.err
>&5
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); } &&
18339 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18341 (eval $ac_try) 2>&5
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); }; } &&
18345 { ac_try
='test -s conftest.$ac_objext'
18346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18347 (eval $ac_try) 2>&5
18349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18350 (exit $ac_status); }; }; then
18353 cat >conftest.
$ac_ext <<_ACEOF
18356 cat confdefs.h
>>conftest.
$ac_ext
18357 cat >>conftest.
$ac_ext <<_ACEOF
18358 /* end confdefs.h. */
18359 $ac_includes_default
18363 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18370 rm -f conftest.
$ac_objext
18371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18372 (eval $ac_compile) 2>conftest.er1
18374 grep -v '^ *+' conftest.er1
>conftest.err
18376 cat conftest.err
>&5
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); } &&
18379 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18381 (eval $ac_try) 2>&5
18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); }; } &&
18385 { ac_try
='test -s conftest.$ac_objext'
18386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18387 (eval $ac_try) 2>&5
18389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390 (exit $ac_status); }; }; then
18391 ac_hi
=$ac_mid; break
18393 echo "$as_me: failed program was:" >&5
18394 sed 's/^/| /' conftest.
$ac_ext >&5
18396 ac_lo
=`expr $ac_mid + 1`
18397 if test $ac_lo -le $ac_mid; then
18401 ac_mid
=`expr 2 '*' $ac_mid + 1`
18403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18406 echo "$as_me: failed program was:" >&5
18407 sed 's/^/| /' conftest.
$ac_ext >&5
18409 cat >conftest.
$ac_ext <<_ACEOF
18412 cat confdefs.h
>>conftest.
$ac_ext
18413 cat >>conftest.
$ac_ext <<_ACEOF
18414 /* end confdefs.h. */
18415 $ac_includes_default
18419 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18426 rm -f conftest.
$ac_objext
18427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18428 (eval $ac_compile) 2>conftest.er1
18430 grep -v '^ *+' conftest.er1
>conftest.err
18432 cat conftest.err
>&5
18433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18434 (exit $ac_status); } &&
18435 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18437 (eval $ac_try) 2>&5
18439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18440 (exit $ac_status); }; } &&
18441 { ac_try
='test -s conftest.$ac_objext'
18442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18443 (eval $ac_try) 2>&5
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); }; }; then
18449 cat >conftest.
$ac_ext <<_ACEOF
18452 cat confdefs.h
>>conftest.
$ac_ext
18453 cat >>conftest.
$ac_ext <<_ACEOF
18454 /* end confdefs.h. */
18455 $ac_includes_default
18459 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18466 rm -f conftest.
$ac_objext
18467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18468 (eval $ac_compile) 2>conftest.er1
18470 grep -v '^ *+' conftest.er1
>conftest.err
18472 cat conftest.err
>&5
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); } &&
18475 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18477 (eval $ac_try) 2>&5
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); }; } &&
18481 { ac_try
='test -s conftest.$ac_objext'
18482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18483 (eval $ac_try) 2>&5
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); }; }; then
18487 ac_lo
=$ac_mid; break
18489 echo "$as_me: failed program was:" >&5
18490 sed 's/^/| /' conftest.
$ac_ext >&5
18492 ac_hi
=`expr '(' $ac_mid ')' - 1`
18493 if test $ac_mid -le $ac_hi; then
18497 ac_mid
=`expr 2 '*' $ac_mid`
18499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18502 echo "$as_me: failed program was:" >&5
18503 sed 's/^/| /' conftest.
$ac_ext >&5
18507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18510 # Binary search between lo and hi bounds.
18511 while test "x$ac_lo" != "x$ac_hi"; do
18512 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18513 cat >conftest.
$ac_ext <<_ACEOF
18516 cat confdefs.h
>>conftest.
$ac_ext
18517 cat >>conftest.
$ac_ext <<_ACEOF
18518 /* end confdefs.h. */
18519 $ac_includes_default
18523 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18530 rm -f conftest.
$ac_objext
18531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18532 (eval $ac_compile) 2>conftest.er1
18534 grep -v '^ *+' conftest.er1
>conftest.err
18536 cat conftest.err
>&5
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); } &&
18539 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18541 (eval $ac_try) 2>&5
18543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18544 (exit $ac_status); }; } &&
18545 { ac_try
='test -s conftest.$ac_objext'
18546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18547 (eval $ac_try) 2>&5
18549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18550 (exit $ac_status); }; }; then
18553 echo "$as_me: failed program was:" >&5
18554 sed 's/^/| /' conftest.
$ac_ext >&5
18556 ac_lo
=`expr '(' $ac_mid ')' + 1`
18558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18561 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18562 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18563 See \`config.log' for more details." >&5
18564 echo "$as_me: error: cannot compute sizeof (long long), 77
18565 See \`config.log' for more details." >&2;}
18566 { (exit 1); exit 1; }; } ;;
18569 if test "$cross_compiling" = yes; then
18570 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18571 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18572 { (exit 1); exit 1; }; }
18574 cat >conftest.
$ac_ext <<_ACEOF
18577 cat confdefs.h
>>conftest.
$ac_ext
18578 cat >>conftest.
$ac_ext <<_ACEOF
18579 /* end confdefs.h. */
18580 $ac_includes_default
18581 long longval () { return (long) (sizeof (long long)); }
18582 unsigned long ulongval () { return (long) (sizeof (long long)); }
18584 #include <stdlib.h>
18589 FILE *f = fopen ("conftest.val", "w");
18592 if (((long) (sizeof (long long))) < 0)
18594 long i = longval ();
18595 if (i != ((long) (sizeof (long long))))
18597 fprintf (f, "%ld\n", i);
18601 unsigned long i = ulongval ();
18602 if (i != ((long) (sizeof (long long))))
18604 fprintf (f, "%lu\n", i);
18606 exit (ferror (f) || fclose (f) != 0);
18612 rm -f conftest
$ac_exeext
18613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18614 (eval $ac_link) 2>&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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); }; }; then
18623 ac_cv_sizeof_long_long
=`cat conftest.val`
18625 echo "$as_me: program exited with status $ac_status" >&5
18626 echo "$as_me: failed program was:" >&5
18627 sed 's/^/| /' conftest.
$ac_ext >&5
18629 ( exit $ac_status )
18630 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18631 See \`config.log' for more details." >&5
18632 echo "$as_me: error: cannot compute sizeof (long long), 77
18633 See \`config.log' for more details." >&2;}
18634 { (exit 1); exit 1; }; }
18636 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18641 ac_cv_sizeof_long_long
=0
18644 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18645 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18646 cat >>confdefs.h
<<_ACEOF
18647 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18651 if test "$ac_cv_sizeof_long_long" != "0"; then
18652 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
18656 echo "$as_me:$LINENO: checking for long long" >&5
18657 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18658 if test "${ac_cv_type_long_long+set}" = set; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18661 cat >conftest.
$ac_ext <<_ACEOF
18664 cat confdefs.h
>>conftest.
$ac_ext
18665 cat >>conftest.
$ac_ext <<_ACEOF
18666 /* end confdefs.h. */
18667 $ac_includes_default
18671 if ((long long *) 0)
18673 if (sizeof (long long))
18679 rm -f conftest.
$ac_objext
18680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18681 (eval $ac_compile) 2>conftest.er1
18683 grep -v '^ *+' conftest.er1
>conftest.err
18685 cat conftest.err
>&5
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); } &&
18688 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18690 (eval $ac_try) 2>&5
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); }; } &&
18694 { ac_try
='test -s conftest.$ac_objext'
18695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18696 (eval $ac_try) 2>&5
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); }; }; then
18700 ac_cv_type_long_long
=yes
18702 echo "$as_me: failed program was:" >&5
18703 sed 's/^/| /' conftest.
$ac_ext >&5
18705 ac_cv_type_long_long
=no
18707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18709 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18710 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18712 echo "$as_me:$LINENO: checking size of long long" >&5
18713 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18714 if test "${ac_cv_sizeof_long_long+set}" = set; then
18715 echo $ECHO_N "(cached) $ECHO_C" >&6
18717 if test "$ac_cv_type_long_long" = yes; then
18718 # The cast to unsigned long works around a bug in the HP C Compiler
18719 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18720 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18721 # This bug is HP SR number 8606223364.
18722 if test "$cross_compiling" = yes; then
18723 # Depending upon the size, compute the lo and hi bounds.
18724 cat >conftest.
$ac_ext <<_ACEOF
18727 cat confdefs.h
>>conftest.
$ac_ext
18728 cat >>conftest.
$ac_ext <<_ACEOF
18729 /* end confdefs.h. */
18730 $ac_includes_default
18734 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18741 rm -f conftest.
$ac_objext
18742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18743 (eval $ac_compile) 2>conftest.er1
18745 grep -v '^ *+' conftest.er1
>conftest.err
18747 cat conftest.err
>&5
18748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18749 (exit $ac_status); } &&
18750 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18752 (eval $ac_try) 2>&5
18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755 (exit $ac_status); }; } &&
18756 { ac_try
='test -s conftest.$ac_objext'
18757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18758 (eval $ac_try) 2>&5
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); }; }; then
18764 cat >conftest.
$ac_ext <<_ACEOF
18767 cat confdefs.h
>>conftest.
$ac_ext
18768 cat >>conftest.
$ac_ext <<_ACEOF
18769 /* end confdefs.h. */
18770 $ac_includes_default
18774 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18781 rm -f conftest.
$ac_objext
18782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18783 (eval $ac_compile) 2>conftest.er1
18785 grep -v '^ *+' conftest.er1
>conftest.err
18787 cat conftest.err
>&5
18788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789 (exit $ac_status); } &&
18790 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18792 (eval $ac_try) 2>&5
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); }; } &&
18796 { ac_try
='test -s conftest.$ac_objext'
18797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18798 (eval $ac_try) 2>&5
18800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18801 (exit $ac_status); }; }; then
18802 ac_hi
=$ac_mid; break
18804 echo "$as_me: failed program was:" >&5
18805 sed 's/^/| /' conftest.
$ac_ext >&5
18807 ac_lo
=`expr $ac_mid + 1`
18808 if test $ac_lo -le $ac_mid; then
18812 ac_mid
=`expr 2 '*' $ac_mid + 1`
18814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18817 echo "$as_me: failed program was:" >&5
18818 sed 's/^/| /' conftest.
$ac_ext >&5
18820 cat >conftest.
$ac_ext <<_ACEOF
18823 cat confdefs.h
>>conftest.
$ac_ext
18824 cat >>conftest.
$ac_ext <<_ACEOF
18825 /* end confdefs.h. */
18826 $ac_includes_default
18830 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18837 rm -f conftest.
$ac_objext
18838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18839 (eval $ac_compile) 2>conftest.er1
18841 grep -v '^ *+' conftest.er1
>conftest.err
18843 cat conftest.err
>&5
18844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18845 (exit $ac_status); } &&
18846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18848 (eval $ac_try) 2>&5
18850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18851 (exit $ac_status); }; } &&
18852 { ac_try
='test -s conftest.$ac_objext'
18853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18854 (eval $ac_try) 2>&5
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); }; }; then
18860 cat >conftest.
$ac_ext <<_ACEOF
18863 cat confdefs.h
>>conftest.
$ac_ext
18864 cat >>conftest.
$ac_ext <<_ACEOF
18865 /* end confdefs.h. */
18866 $ac_includes_default
18870 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18877 rm -f conftest.
$ac_objext
18878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18879 (eval $ac_compile) 2>conftest.er1
18881 grep -v '^ *+' conftest.er1
>conftest.err
18883 cat conftest.err
>&5
18884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18885 (exit $ac_status); } &&
18886 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18888 (eval $ac_try) 2>&5
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); }; } &&
18892 { ac_try
='test -s conftest.$ac_objext'
18893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18894 (eval $ac_try) 2>&5
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); }; }; then
18898 ac_lo
=$ac_mid; break
18900 echo "$as_me: failed program was:" >&5
18901 sed 's/^/| /' conftest.
$ac_ext >&5
18903 ac_hi
=`expr '(' $ac_mid ')' - 1`
18904 if test $ac_mid -le $ac_hi; then
18908 ac_mid
=`expr 2 '*' $ac_mid`
18910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18913 echo "$as_me: failed program was:" >&5
18914 sed 's/^/| /' conftest.
$ac_ext >&5
18918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18921 # Binary search between lo and hi bounds.
18922 while test "x$ac_lo" != "x$ac_hi"; do
18923 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18924 cat >conftest.
$ac_ext <<_ACEOF
18927 cat confdefs.h
>>conftest.
$ac_ext
18928 cat >>conftest.
$ac_ext <<_ACEOF
18929 /* end confdefs.h. */
18930 $ac_includes_default
18934 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18941 rm -f conftest.
$ac_objext
18942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18943 (eval $ac_compile) 2>conftest.er1
18945 grep -v '^ *+' conftest.er1
>conftest.err
18947 cat conftest.err
>&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); } &&
18950 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18952 (eval $ac_try) 2>&5
18954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18955 (exit $ac_status); }; } &&
18956 { ac_try
='test -s conftest.$ac_objext'
18957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18958 (eval $ac_try) 2>&5
18960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961 (exit $ac_status); }; }; then
18964 echo "$as_me: failed program was:" >&5
18965 sed 's/^/| /' conftest.
$ac_ext >&5
18967 ac_lo
=`expr '(' $ac_mid ')' + 1`
18969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18972 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18973 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18974 See \`config.log' for more details." >&5
18975 echo "$as_me: error: cannot compute sizeof (long long), 77
18976 See \`config.log' for more details." >&2;}
18977 { (exit 1); exit 1; }; } ;;
18980 if test "$cross_compiling" = yes; then
18981 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18982 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18983 { (exit 1); exit 1; }; }
18985 cat >conftest.
$ac_ext <<_ACEOF
18988 cat confdefs.h
>>conftest.
$ac_ext
18989 cat >>conftest.
$ac_ext <<_ACEOF
18990 /* end confdefs.h. */
18991 $ac_includes_default
18992 long longval () { return (long) (sizeof (long long)); }
18993 unsigned long ulongval () { return (long) (sizeof (long long)); }
18995 #include <stdlib.h>
19000 FILE *f = fopen ("conftest.val", "w");
19003 if (((long) (sizeof (long long))) < 0)
19005 long i = longval ();
19006 if (i != ((long) (sizeof (long long))))
19008 fprintf (f, "%ld\n", i);
19012 unsigned long i = ulongval ();
19013 if (i != ((long) (sizeof (long long))))
19015 fprintf (f, "%lu\n", i);
19017 exit (ferror (f) || fclose (f) != 0);
19023 rm -f conftest
$ac_exeext
19024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19025 (eval $ac_link) 2>&5
19027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19028 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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); }; }; then
19034 ac_cv_sizeof_long_long
=`cat conftest.val`
19036 echo "$as_me: program exited with status $ac_status" >&5
19037 echo "$as_me: failed program was:" >&5
19038 sed 's/^/| /' conftest.
$ac_ext >&5
19040 ( exit $ac_status )
19041 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19042 See \`config.log' for more details." >&5
19043 echo "$as_me: error: cannot compute sizeof (long long), 77
19044 See \`config.log' for more details." >&2;}
19045 { (exit 1); exit 1; }; }
19047 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19052 ac_cv_sizeof_long_long
=0
19055 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19056 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19057 cat >>confdefs.h
<<_ACEOF
19058 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19064 echo "$as_me:$LINENO: checking for wchar_t" >&5
19065 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19066 if test "${ac_cv_type_wchar_t+set}" = set; then
19067 echo $ECHO_N "(cached) $ECHO_C" >&6
19069 cat >conftest.
$ac_ext <<_ACEOF
19072 cat confdefs.h
>>conftest.
$ac_ext
19073 cat >>conftest.
$ac_ext <<_ACEOF
19074 /* end confdefs.h. */
19076 /* DJGPP only has fake wchar_t: */
19078 # error "fake wchar_t"
19080 #ifdef HAVE_WCHAR_H
19082 # include <stddef.h>
19084 # include <wchar.h>
19086 #ifdef HAVE_STDLIB_H
19087 # include <stdlib.h>
19098 if (sizeof (wchar_t))
19104 rm -f conftest.
$ac_objext
19105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19106 (eval $ac_compile) 2>conftest.er1
19108 grep -v '^ *+' conftest.er1
>conftest.err
19110 cat conftest.err
>&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); } &&
19113 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19115 (eval $ac_try) 2>&5
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); }; } &&
19119 { ac_try
='test -s conftest.$ac_objext'
19120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19121 (eval $ac_try) 2>&5
19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19124 (exit $ac_status); }; }; then
19125 ac_cv_type_wchar_t
=yes
19127 echo "$as_me: failed program was:" >&5
19128 sed 's/^/| /' conftest.
$ac_ext >&5
19130 ac_cv_type_wchar_t
=no
19132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19134 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19135 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19137 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19138 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19139 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19140 echo $ECHO_N "(cached) $ECHO_C" >&6
19142 if test "$ac_cv_type_wchar_t" = yes; then
19143 # The cast to unsigned long works around a bug in the HP C Compiler
19144 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19145 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19146 # This bug is HP SR number 8606223364.
19147 if test "$cross_compiling" = yes; then
19148 # Depending upon the size, compute the lo and hi bounds.
19149 cat >conftest.
$ac_ext <<_ACEOF
19152 cat confdefs.h
>>conftest.
$ac_ext
19153 cat >>conftest.
$ac_ext <<_ACEOF
19154 /* end confdefs.h. */
19156 /* DJGPP only has fake wchar_t: */
19158 # error "fake wchar_t"
19160 #ifdef HAVE_WCHAR_H
19162 # include <stddef.h>
19164 # include <wchar.h>
19166 #ifdef HAVE_STDLIB_H
19167 # include <stdlib.h>
19176 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19183 rm -f conftest.
$ac_objext
19184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19185 (eval $ac_compile) 2>conftest.er1
19187 grep -v '^ *+' conftest.er1
>conftest.err
19189 cat conftest.err
>&5
19190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19191 (exit $ac_status); } &&
19192 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19194 (eval $ac_try) 2>&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); }; } &&
19198 { ac_try
='test -s conftest.$ac_objext'
19199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19200 (eval $ac_try) 2>&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); }; }; then
19206 cat >conftest.
$ac_ext <<_ACEOF
19209 cat confdefs.h
>>conftest.
$ac_ext
19210 cat >>conftest.
$ac_ext <<_ACEOF
19211 /* end confdefs.h. */
19213 /* DJGPP only has fake wchar_t: */
19215 # error "fake wchar_t"
19217 #ifdef HAVE_WCHAR_H
19219 # include <stddef.h>
19221 # include <wchar.h>
19223 #ifdef HAVE_STDLIB_H
19224 # include <stdlib.h>
19233 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19240 rm -f conftest.
$ac_objext
19241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19242 (eval $ac_compile) 2>conftest.er1
19244 grep -v '^ *+' conftest.er1
>conftest.err
19246 cat conftest.err
>&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); } &&
19249 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19251 (eval $ac_try) 2>&5
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); }; } &&
19255 { ac_try
='test -s conftest.$ac_objext'
19256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19257 (eval $ac_try) 2>&5
19259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19260 (exit $ac_status); }; }; then
19261 ac_hi
=$ac_mid; break
19263 echo "$as_me: failed program was:" >&5
19264 sed 's/^/| /' conftest.
$ac_ext >&5
19266 ac_lo
=`expr $ac_mid + 1`
19267 if test $ac_lo -le $ac_mid; then
19271 ac_mid
=`expr 2 '*' $ac_mid + 1`
19273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19276 echo "$as_me: failed program was:" >&5
19277 sed 's/^/| /' conftest.
$ac_ext >&5
19279 cat >conftest.
$ac_ext <<_ACEOF
19282 cat confdefs.h
>>conftest.
$ac_ext
19283 cat >>conftest.
$ac_ext <<_ACEOF
19284 /* end confdefs.h. */
19286 /* DJGPP only has fake wchar_t: */
19288 # error "fake wchar_t"
19290 #ifdef HAVE_WCHAR_H
19292 # include <stddef.h>
19294 # include <wchar.h>
19296 #ifdef HAVE_STDLIB_H
19297 # include <stdlib.h>
19306 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19313 rm -f conftest.
$ac_objext
19314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19315 (eval $ac_compile) 2>conftest.er1
19317 grep -v '^ *+' conftest.er1
>conftest.err
19319 cat conftest.err
>&5
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); } &&
19322 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19324 (eval $ac_try) 2>&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); }; } &&
19328 { ac_try
='test -s conftest.$ac_objext'
19329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19330 (eval $ac_try) 2>&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); }; }; then
19336 cat >conftest.
$ac_ext <<_ACEOF
19339 cat confdefs.h
>>conftest.
$ac_ext
19340 cat >>conftest.
$ac_ext <<_ACEOF
19341 /* end confdefs.h. */
19343 /* DJGPP only has fake wchar_t: */
19345 # error "fake wchar_t"
19347 #ifdef HAVE_WCHAR_H
19349 # include <stddef.h>
19351 # include <wchar.h>
19353 #ifdef HAVE_STDLIB_H
19354 # include <stdlib.h>
19363 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19370 rm -f conftest.
$ac_objext
19371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19372 (eval $ac_compile) 2>conftest.er1
19374 grep -v '^ *+' conftest.er1
>conftest.err
19376 cat conftest.err
>&5
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); } &&
19379 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19381 (eval $ac_try) 2>&5
19383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19384 (exit $ac_status); }; } &&
19385 { ac_try
='test -s conftest.$ac_objext'
19386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19387 (eval $ac_try) 2>&5
19389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 (exit $ac_status); }; }; then
19391 ac_lo
=$ac_mid; break
19393 echo "$as_me: failed program was:" >&5
19394 sed 's/^/| /' conftest.
$ac_ext >&5
19396 ac_hi
=`expr '(' $ac_mid ')' - 1`
19397 if test $ac_mid -le $ac_hi; then
19401 ac_mid
=`expr 2 '*' $ac_mid`
19403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19406 echo "$as_me: failed program was:" >&5
19407 sed 's/^/| /' conftest.
$ac_ext >&5
19411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19414 # Binary search between lo and hi bounds.
19415 while test "x$ac_lo" != "x$ac_hi"; do
19416 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19417 cat >conftest.
$ac_ext <<_ACEOF
19420 cat confdefs.h
>>conftest.
$ac_ext
19421 cat >>conftest.
$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19424 /* DJGPP only has fake wchar_t: */
19426 # error "fake wchar_t"
19428 #ifdef HAVE_WCHAR_H
19430 # include <stddef.h>
19432 # include <wchar.h>
19434 #ifdef HAVE_STDLIB_H
19435 # include <stdlib.h>
19444 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19451 rm -f conftest.
$ac_objext
19452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19453 (eval $ac_compile) 2>conftest.er1
19455 grep -v '^ *+' conftest.er1
>conftest.err
19457 cat conftest.err
>&5
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); } &&
19460 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19462 (eval $ac_try) 2>&5
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); }; } &&
19466 { ac_try
='test -s conftest.$ac_objext'
19467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19468 (eval $ac_try) 2>&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); }; }; then
19474 echo "$as_me: failed program was:" >&5
19475 sed 's/^/| /' conftest.
$ac_ext >&5
19477 ac_lo
=`expr '(' $ac_mid ')' + 1`
19479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19482 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
19483 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19484 See \`config.log' for more details." >&5
19485 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19486 See \`config.log' for more details." >&2;}
19487 { (exit 1); exit 1; }; } ;;
19490 if test "$cross_compiling" = yes; then
19491 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19492 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19493 { (exit 1); exit 1; }; }
19495 cat >conftest.
$ac_ext <<_ACEOF
19498 cat confdefs.h
>>conftest.
$ac_ext
19499 cat >>conftest.
$ac_ext <<_ACEOF
19500 /* end confdefs.h. */
19502 /* DJGPP only has fake wchar_t: */
19504 # error "fake wchar_t"
19506 #ifdef HAVE_WCHAR_H
19508 # include <stddef.h>
19510 # include <wchar.h>
19512 #ifdef HAVE_STDLIB_H
19513 # include <stdlib.h>
19519 long longval () { return (long) (sizeof (wchar_t)); }
19520 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19522 #include <stdlib.h>
19527 FILE *f = fopen ("conftest.val", "w");
19530 if (((long) (sizeof (wchar_t))) < 0)
19532 long i = longval ();
19533 if (i != ((long) (sizeof (wchar_t))))
19535 fprintf (f, "%ld\n", i);
19539 unsigned long i = ulongval ();
19540 if (i != ((long) (sizeof (wchar_t))))
19542 fprintf (f, "%lu\n", i);
19544 exit (ferror (f) || fclose (f) != 0);
19550 rm -f conftest
$ac_exeext
19551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19552 (eval $ac_link) 2>&5
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19557 (eval $ac_try) 2>&5
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); }; }; then
19561 ac_cv_sizeof_wchar_t
=`cat conftest.val`
19563 echo "$as_me: program exited with status $ac_status" >&5
19564 echo "$as_me: failed program was:" >&5
19565 sed 's/^/| /' conftest.
$ac_ext >&5
19567 ( exit $ac_status )
19568 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19569 See \`config.log' for more details." >&5
19570 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19571 See \`config.log' for more details." >&2;}
19572 { (exit 1); exit 1; }; }
19574 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19579 ac_cv_sizeof_wchar_t
=0
19582 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19583 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19584 cat >>confdefs.h
<<_ACEOF
19585 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19590 echo "$as_me:$LINENO: checking for va_copy" >&5
19591 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19592 if test "${wx_cv_func_va_copy+set}" = set; then
19593 echo $ECHO_N "(cached) $ECHO_C" >&6
19596 cat >conftest.
$ac_ext <<_ACEOF
19598 #include <stdarg.h>
19599 void foo(char *f, ...)
19613 rm -f conftest.
$ac_objext conftest
$ac_exeext
19614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19615 (eval $ac_link) 2>conftest.er1
19617 grep -v '^ *+' conftest.er1
>conftest.err
19619 cat conftest.err
>&5
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); } &&
19622 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19624 (eval $ac_try) 2>&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); }; } &&
19628 { ac_try
='test -s conftest$ac_exeext'
19629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19630 (eval $ac_try) 2>&5
19632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633 (exit $ac_status); }; }; then
19634 wx_cv_func_va_copy
=yes
19636 echo "$as_me: failed program was:" >&5
19637 sed 's/^/| /' conftest.
$ac_ext >&5
19639 wx_cv_func_va_copy
=no
19642 rm -f conftest.err conftest.
$ac_objext \
19643 conftest
$ac_exeext conftest.
$ac_ext
19647 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19648 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19650 if test $wx_cv_func_va_copy = "yes"; then
19651 cat >>confdefs.h
<<\_ACEOF
19652 #define HAVE_VA_COPY 1
19656 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19657 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19658 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19659 echo $ECHO_N "(cached) $ECHO_C" >&6
19662 if test "$cross_compiling" = yes; then
19663 wx_cv_type_va_list_lvalue
=yes
19666 cat >conftest.
$ac_ext <<_ACEOF
19668 #include <stdarg.h>
19669 int foo(char *f, ...)
19674 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19682 return foo("hi", 17);
19685 rm -f conftest
$ac_exeext
19686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19687 (eval $ac_link) 2>&5
19689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19690 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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
19696 wx_cv_type_va_list_lvalue
=yes
19698 echo "$as_me: program exited with status $ac_status" >&5
19699 echo "$as_me: failed program was:" >&5
19700 sed 's/^/| /' conftest.
$ac_ext >&5
19702 ( exit $ac_status )
19703 wx_cv_type_va_list_lvalue
=no
19705 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19710 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19711 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19713 if test $wx_cv_type_va_list_lvalue != "yes"; then
19714 cat >>confdefs.h
<<\_ACEOF
19715 #define VA_LIST_IS_ARRAY 1
19721 # Check whether --enable-largefile or --disable-largefile was given.
19722 if test "${enable_largefile+set}" = set; then
19723 enableval
="$enable_largefile"
19726 if test "$enable_largefile" != no
; then
19729 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19730 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19731 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19732 echo $ECHO_N "(cached) $ECHO_C" >&6
19735 cat >conftest.
$ac_ext <<_ACEOF
19738 cat confdefs.h
>>conftest.
$ac_ext
19739 cat >>conftest.
$ac_ext <<_ACEOF
19740 /* end confdefs.h. */
19741 #define _FILE_OFFSET_BITS 64
19742 #include <sys/types.h>
19747 unsigned int field: sizeof(off_t) == 8;
19754 rm -f conftest.
$ac_objext
19755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19756 (eval $ac_compile) 2>conftest.er1
19758 grep -v '^ *+' conftest.er1
>conftest.err
19760 cat conftest.err
>&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); } &&
19763 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19765 (eval $ac_try) 2>&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); }; } &&
19769 { ac_try
='test -s conftest.$ac_objext'
19770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19771 (eval $ac_try) 2>&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); }; }; then
19775 ac_cv_sys_file_offset_bits
=64
19777 echo "$as_me: failed program was:" >&5
19778 sed 's/^/| /' conftest.
$ac_ext >&5
19780 ac_cv_sys_file_offset_bits
=no
19782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19786 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
19787 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
19789 if test "$ac_cv_sys_file_offset_bits" != no
; then
19791 cat >>confdefs.h
<<_ACEOF
19792 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19797 if test "x$wx_largefile" != "xyes"; then
19799 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
19800 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
19801 if test "${ac_cv_sys_large_files+set}" = set; then
19802 echo $ECHO_N "(cached) $ECHO_C" >&6
19805 cat >conftest.
$ac_ext <<_ACEOF
19808 cat confdefs.h
>>conftest.
$ac_ext
19809 cat >>conftest.
$ac_ext <<_ACEOF
19810 /* end confdefs.h. */
19811 #define _LARGE_FILES 1
19812 #include <sys/types.h>
19817 unsigned int field: sizeof(off_t) == 8;
19824 rm -f conftest.
$ac_objext
19825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19826 (eval $ac_compile) 2>conftest.er1
19828 grep -v '^ *+' conftest.er1
>conftest.err
19830 cat conftest.err
>&5
19831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19832 (exit $ac_status); } &&
19833 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19835 (eval $ac_try) 2>&5
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); }; } &&
19839 { ac_try
='test -s conftest.$ac_objext'
19840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19841 (eval $ac_try) 2>&5
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); }; }; then
19845 ac_cv_sys_large_files
=1
19847 echo "$as_me: failed program was:" >&5
19848 sed 's/^/| /' conftest.
$ac_ext >&5
19850 ac_cv_sys_large_files
=no
19852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19856 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
19857 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
19859 if test "$ac_cv_sys_large_files" != no
; then
19861 cat >>confdefs.h
<<_ACEOF
19862 #define _LARGE_FILES $ac_cv_sys_large_files
19869 echo "$as_me:$LINENO: checking if large file support is available" >&5
19870 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
19871 if test "x$wx_largefile" = "xyes"; then
19872 cat >>confdefs.h
<<\_ACEOF
19873 #define HAVE_LARGEFILE_SUPPORT 1
19877 echo "$as_me:$LINENO: result: $wx_largefile" >&5
19878 echo "${ECHO_T}$wx_largefile" >&6
19882 if test "x$wx_largefile" = "xyes"; then
19883 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
19884 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
19886 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
19888 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
19889 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
19890 if test "${ac_cv_sys_largefile_source+set}" = set; then
19891 echo $ECHO_N "(cached) $ECHO_C" >&6
19894 ac_cv_sys_largefile_source
=no
19895 cat >conftest.
$ac_ext <<_ACEOF
19898 cat confdefs.h
>>conftest.
$ac_ext
19899 cat >>conftest.
$ac_ext <<_ACEOF
19900 /* end confdefs.h. */
19910 rm -f conftest.
$ac_objext
19911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19912 (eval $ac_compile) 2>conftest.er1
19914 grep -v '^ *+' conftest.er1
>conftest.err
19916 cat conftest.err
>&5
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); } &&
19919 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19921 (eval $ac_try) 2>&5
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); }; } &&
19925 { ac_try
='test -s conftest.$ac_objext'
19926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19927 (eval $ac_try) 2>&5
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); }; }; then
19933 echo "$as_me: failed program was:" >&5
19934 sed 's/^/| /' conftest.
$ac_ext >&5
19937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19938 cat >conftest.
$ac_ext <<_ACEOF
19941 cat confdefs.h
>>conftest.
$ac_ext
19942 cat >>conftest.
$ac_ext <<_ACEOF
19943 /* end confdefs.h. */
19944 #define _LARGEFILE_SOURCE 1
19954 rm -f conftest.
$ac_objext
19955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19956 (eval $ac_compile) 2>conftest.er1
19958 grep -v '^ *+' conftest.er1
>conftest.err
19960 cat conftest.err
>&5
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); } &&
19963 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19965 (eval $ac_try) 2>&5
19967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19968 (exit $ac_status); }; } &&
19969 { ac_try
='test -s conftest.$ac_objext'
19970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19971 (eval $ac_try) 2>&5
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); }; }; then
19975 ac_cv_sys_largefile_source
=1; break
19977 echo "$as_me: failed program was:" >&5
19978 sed 's/^/| /' conftest.
$ac_ext >&5
19981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19985 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
19986 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
19987 if test "$ac_cv_sys_largefile_source" != no
; then
19989 cat >>confdefs.h
<<_ACEOF
19990 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
19996 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
19997 # in glibc 2.1.3, but that breaks too many other things.
19998 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
19999 echo "$as_me:$LINENO: checking for fseeko" >&5
20000 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20001 if test "${ac_cv_func_fseeko+set}" = set; then
20002 echo $ECHO_N "(cached) $ECHO_C" >&6
20004 cat >conftest.
$ac_ext <<_ACEOF
20007 cat confdefs.h
>>conftest.
$ac_ext
20008 cat >>conftest.
$ac_ext <<_ACEOF
20009 /* end confdefs.h. */
20014 return fseeko && fseeko (stdin, 0, 0);
20019 rm -f conftest.
$ac_objext conftest
$ac_exeext
20020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20021 (eval $ac_link) 2>conftest.er1
20023 grep -v '^ *+' conftest.er1
>conftest.err
20025 cat conftest.err
>&5
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); } &&
20028 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20030 (eval $ac_try) 2>&5
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); }; } &&
20034 { ac_try
='test -s conftest$ac_exeext'
20035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20036 (eval $ac_try) 2>&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); }; }; then
20040 ac_cv_func_fseeko
=yes
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.
$ac_ext >&5
20045 ac_cv_func_fseeko
=no
20047 rm -f conftest.err conftest.
$ac_objext \
20048 conftest
$ac_exeext conftest.
$ac_ext
20050 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20051 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20052 if test $ac_cv_func_fseeko = yes; then
20054 cat >>confdefs.h
<<\_ACEOF
20055 #define HAVE_FSEEKO 1
20060 if test "$ac_cv_sys_largefile_source" != no
; then
20061 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20063 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20066 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20067 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20068 if test "${ac_cv_c_bigendian+set}" = set; then
20069 echo $ECHO_N "(cached) $ECHO_C" >&6
20071 ac_cv_c_bigendian
=unknown
20072 # See if sys/param.h defines the BYTE_ORDER macro.
20073 cat >conftest.
$ac_ext <<_ACEOF
20076 cat confdefs.h
>>conftest.
$ac_ext
20077 cat >>conftest.
$ac_ext <<_ACEOF
20078 /* end confdefs.h. */
20079 #include <sys/types.h>
20080 #include <sys/param.h>
20085 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20086 bogus endian macros
20092 rm -f conftest.
$ac_objext
20093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20094 (eval $ac_compile) 2>conftest.er1
20096 grep -v '^ *+' conftest.er1
>conftest.err
20098 cat conftest.err
>&5
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); } &&
20101 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20103 (eval $ac_try) 2>&5
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); }; } &&
20107 { ac_try
='test -s conftest.$ac_objext'
20108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20109 (eval $ac_try) 2>&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); }; }; then
20113 # It does; now see whether it defined to BIG_ENDIAN or not.
20114 cat >conftest.
$ac_ext <<_ACEOF
20117 cat confdefs.h
>>conftest.
$ac_ext
20118 cat >>conftest.
$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20120 #include <sys/types.h>
20121 #include <sys/param.h>
20126 #if BYTE_ORDER != BIG_ENDIAN
20133 rm -f conftest.
$ac_objext
20134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20135 (eval $ac_compile) 2>conftest.er1
20137 grep -v '^ *+' conftest.er1
>conftest.err
20139 cat conftest.err
>&5
20140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20141 (exit $ac_status); } &&
20142 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20144 (eval $ac_try) 2>&5
20146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20147 (exit $ac_status); }; } &&
20148 { ac_try
='test -s conftest.$ac_objext'
20149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20150 (eval $ac_try) 2>&5
20152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20153 (exit $ac_status); }; }; then
20154 ac_cv_c_bigendian
=yes
20156 echo "$as_me: failed program was:" >&5
20157 sed 's/^/| /' conftest.
$ac_ext >&5
20159 ac_cv_c_bigendian
=no
20161 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20163 echo "$as_me: failed program was:" >&5
20164 sed 's/^/| /' conftest.
$ac_ext >&5
20167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20168 if test $ac_cv_c_bigendian = unknown
; then
20169 if test "$cross_compiling" = yes; then
20170 ac_cv_c_bigendian
=unknown
20172 cat >conftest.
$ac_ext <<_ACEOF
20175 cat confdefs.h
>>conftest.
$ac_ext
20176 cat >>conftest.
$ac_ext <<_ACEOF
20177 /* end confdefs.h. */
20179 /* Are we little or big endian? From Harbison&Steele. */
20183 char c[sizeof (long)];
20186 exit (u.c[sizeof (long) - 1] == 1);
20189 rm -f conftest
$ac_exeext
20190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20191 (eval $ac_link) 2>&5
20193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20194 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20196 (eval $ac_try) 2>&5
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); }; }; then
20200 ac_cv_c_bigendian
=no
20202 echo "$as_me: program exited with status $ac_status" >&5
20203 echo "$as_me: failed program was:" >&5
20204 sed 's/^/| /' conftest.
$ac_ext >&5
20206 ( exit $ac_status )
20207 ac_cv_c_bigendian
=yes
20209 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20213 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20214 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20215 if test $ac_cv_c_bigendian = unknown
; then
20216 { 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
20217 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;}
20219 if test $ac_cv_c_bigendian = yes; then
20220 cat >>confdefs.h
<<\_ACEOF
20221 #define WORDS_BIGENDIAN 1
20228 ac_cpp
='$CXXCPP $CPPFLAGS'
20229 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20230 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20231 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20232 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20233 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20234 if test -z "$CXXCPP"; then
20235 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20236 echo $ECHO_N "(cached) $ECHO_C" >&6
20238 # Double quotes because CXXCPP needs to be expanded
20239 for CXXCPP
in "$CXX -E" "/lib/cpp"
20241 ac_preproc_ok
=false
20242 for ac_cxx_preproc_warn_flag
in '' yes
20244 # Use a header file that comes with gcc, so configuring glibc
20245 # with a fresh cross-compiler works.
20246 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20247 # <limits.h> exists even on freestanding compilers.
20248 # On the NeXT, cc -E runs the code through the compiler's parser,
20249 # not just through cpp. "Syntax error" is here to catch this case.
20250 cat >conftest.
$ac_ext <<_ACEOF
20253 cat confdefs.h
>>conftest.
$ac_ext
20254 cat >>conftest.
$ac_ext <<_ACEOF
20255 /* end confdefs.h. */
20257 # include <limits.h>
20259 # include <assert.h>
20263 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20264 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20266 grep -v '^ *+' conftest.er1
>conftest.err
20268 cat conftest.err
>&5
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270 (exit $ac_status); } >/dev
/null
; then
20271 if test -s conftest.err
; then
20272 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20273 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20280 if test -z "$ac_cpp_err"; then
20283 echo "$as_me: failed program was:" >&5
20284 sed 's/^/| /' conftest.
$ac_ext >&5
20286 # Broken: fails on valid input.
20289 rm -f conftest.err conftest.
$ac_ext
20291 # OK, works on sane cases. Now check whether non-existent headers
20292 # can be detected and how.
20293 cat >conftest.
$ac_ext <<_ACEOF
20296 cat confdefs.h
>>conftest.
$ac_ext
20297 cat >>conftest.
$ac_ext <<_ACEOF
20298 /* end confdefs.h. */
20299 #include <ac_nonexistent.h>
20301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20302 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20304 grep -v '^ *+' conftest.er1
>conftest.err
20306 cat conftest.err
>&5
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); } >/dev
/null
; then
20309 if test -s conftest.err
; then
20310 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20311 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20318 if test -z "$ac_cpp_err"; then
20319 # Broken: success on invalid input.
20322 echo "$as_me: failed program was:" >&5
20323 sed 's/^/| /' conftest.
$ac_ext >&5
20325 # Passes both tests.
20329 rm -f conftest.err conftest.
$ac_ext
20332 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20333 rm -f conftest.err conftest.
$ac_ext
20334 if $ac_preproc_ok; then
20339 ac_cv_prog_CXXCPP
=$CXXCPP
20342 CXXCPP
=$ac_cv_prog_CXXCPP
20344 ac_cv_prog_CXXCPP
=$CXXCPP
20346 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20347 echo "${ECHO_T}$CXXCPP" >&6
20348 ac_preproc_ok
=false
20349 for ac_cxx_preproc_warn_flag
in '' yes
20351 # Use a header file that comes with gcc, so configuring glibc
20352 # with a fresh cross-compiler works.
20353 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20354 # <limits.h> exists even on freestanding compilers.
20355 # On the NeXT, cc -E runs the code through the compiler's parser,
20356 # not just through cpp. "Syntax error" is here to catch this case.
20357 cat >conftest.
$ac_ext <<_ACEOF
20360 cat confdefs.h
>>conftest.
$ac_ext
20361 cat >>conftest.
$ac_ext <<_ACEOF
20362 /* end confdefs.h. */
20364 # include <limits.h>
20366 # include <assert.h>
20370 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20371 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20373 grep -v '^ *+' conftest.er1
>conftest.err
20375 cat conftest.err
>&5
20376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377 (exit $ac_status); } >/dev
/null
; then
20378 if test -s conftest.err
; then
20379 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20380 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20387 if test -z "$ac_cpp_err"; then
20390 echo "$as_me: failed program was:" >&5
20391 sed 's/^/| /' conftest.
$ac_ext >&5
20393 # Broken: fails on valid input.
20396 rm -f conftest.err conftest.
$ac_ext
20398 # OK, works on sane cases. Now check whether non-existent headers
20399 # can be detected and how.
20400 cat >conftest.
$ac_ext <<_ACEOF
20403 cat confdefs.h
>>conftest.
$ac_ext
20404 cat >>conftest.
$ac_ext <<_ACEOF
20405 /* end confdefs.h. */
20406 #include <ac_nonexistent.h>
20408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20409 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20411 grep -v '^ *+' conftest.er1
>conftest.err
20413 cat conftest.err
>&5
20414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415 (exit $ac_status); } >/dev
/null
; then
20416 if test -s conftest.err
; then
20417 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20418 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20425 if test -z "$ac_cpp_err"; then
20426 # Broken: success on invalid input.
20429 echo "$as_me: failed program was:" >&5
20430 sed 's/^/| /' conftest.
$ac_ext >&5
20432 # Passes both tests.
20436 rm -f conftest.err conftest.
$ac_ext
20439 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20440 rm -f conftest.err conftest.
$ac_ext
20441 if $ac_preproc_ok; then
20444 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20445 See \`config.log' for more details." >&5
20446 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20447 See \`config.log' for more details." >&2;}
20448 { (exit 1); exit 1; }; }
20452 ac_cpp
='$CXXCPP $CPPFLAGS'
20453 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20454 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20455 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20462 ac_cpp
='$CXXCPP $CPPFLAGS'
20463 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20464 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20465 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20469 for ac_header
in iostream
20471 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20473 echo "$as_me:$LINENO: checking for $ac_header" >&5
20474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20476 echo $ECHO_N "(cached) $ECHO_C" >&6
20478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20479 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20481 # Is the header compilable?
20482 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20483 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20484 cat >conftest.
$ac_ext <<_ACEOF
20487 cat confdefs.h
>>conftest.
$ac_ext
20488 cat >>conftest.
$ac_ext <<_ACEOF
20489 /* end confdefs.h. */
20490 $ac_includes_default
20491 #include <$ac_header>
20493 rm -f conftest.
$ac_objext
20494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20495 (eval $ac_compile) 2>conftest.er1
20497 grep -v '^ *+' conftest.er1
>conftest.err
20499 cat conftest.err
>&5
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); } &&
20502 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20504 (eval $ac_try) 2>&5
20506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20507 (exit $ac_status); }; } &&
20508 { ac_try
='test -s conftest.$ac_objext'
20509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20510 (eval $ac_try) 2>&5
20512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); }; }; then
20514 ac_header_compiler
=yes
20516 echo "$as_me: failed program was:" >&5
20517 sed 's/^/| /' conftest.
$ac_ext >&5
20519 ac_header_compiler
=no
20521 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20522 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20523 echo "${ECHO_T}$ac_header_compiler" >&6
20525 # Is the header present?
20526 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20527 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20528 cat >conftest.
$ac_ext <<_ACEOF
20531 cat confdefs.h
>>conftest.
$ac_ext
20532 cat >>conftest.
$ac_ext <<_ACEOF
20533 /* end confdefs.h. */
20534 #include <$ac_header>
20536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20537 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20539 grep -v '^ *+' conftest.er1
>conftest.err
20541 cat conftest.err
>&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); } >/dev
/null
; then
20544 if test -s conftest.err
; then
20545 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20546 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20553 if test -z "$ac_cpp_err"; then
20554 ac_header_preproc
=yes
20556 echo "$as_me: failed program was:" >&5
20557 sed 's/^/| /' conftest.
$ac_ext >&5
20559 ac_header_preproc
=no
20561 rm -f conftest.err conftest.
$ac_ext
20562 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20563 echo "${ECHO_T}$ac_header_preproc" >&6
20565 # So? What about this header?
20566 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20568 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20569 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20571 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20572 ac_header_preproc
=yes
20575 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20576 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20577 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20578 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20579 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20580 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20581 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20582 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20584 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20585 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20586 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20589 ## ----------------------------------------- ##
20590 ## Report this to wx-dev@lists.wxwidgets.org ##
20591 ## ----------------------------------------- ##
20594 sed "s/^/$as_me: WARNING: /" >&2
20597 echo "$as_me:$LINENO: checking for $ac_header" >&5
20598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20600 echo $ECHO_N "(cached) $ECHO_C" >&6
20602 eval "$as_ac_Header=\$ac_header_preproc"
20604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20608 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20609 cat >>confdefs.h
<<_ACEOF
20610 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20618 if test "$ac_cv_header_iostream" = "yes" ; then
20621 cat >>confdefs.h
<<\_ACEOF
20622 #define wxUSE_IOSTREAMH 1
20628 ac_cpp
='$CPP $CPPFLAGS'
20629 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20630 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20631 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20636 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20637 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20638 if test "${wx_cv_cpp_bool+set}" = set; then
20639 echo $ECHO_N "(cached) $ECHO_C" >&6
20645 ac_cpp
='$CXXCPP $CPPFLAGS'
20646 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20647 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20648 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20651 cat >conftest.
$ac_ext <<_ACEOF
20654 cat confdefs.h
>>conftest.
$ac_ext
20655 cat >>conftest.
$ac_ext <<_ACEOF
20656 /* end confdefs.h. */
20671 rm -f conftest.
$ac_objext
20672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20673 (eval $ac_compile) 2>conftest.er1
20675 grep -v '^ *+' conftest.er1
>conftest.err
20677 cat conftest.err
>&5
20678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20679 (exit $ac_status); } &&
20680 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20682 (eval $ac_try) 2>&5
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); }; } &&
20686 { ac_try
='test -s conftest.$ac_objext'
20687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20688 (eval $ac_try) 2>&5
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); }; }; then
20696 echo "$as_me: failed program was:" >&5
20697 sed 's/^/| /' conftest.
$ac_ext >&5
20704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20707 ac_cpp
='$CPP $CPPFLAGS'
20708 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20709 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20710 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20714 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20715 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20717 if test "$wx_cv_cpp_bool" = "yes"; then
20718 cat >>confdefs.h
<<\_ACEOF
20719 #define HAVE_BOOL 1
20726 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20727 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20728 if test "${wx_cv_explicit+set}" = set; then
20729 echo $ECHO_N "(cached) $ECHO_C" >&6
20735 ac_cpp
='$CXXCPP $CPPFLAGS'
20736 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20737 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20738 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20741 cat >conftest.
$ac_ext <<_ACEOF
20744 cat confdefs.h
>>conftest.
$ac_ext
20745 cat >>conftest.
$ac_ext <<_ACEOF
20746 /* end confdefs.h. */
20748 class Foo { public: explicit Foo(int) {} };
20760 rm -f conftest.
$ac_objext
20761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20762 (eval $ac_compile) 2>conftest.er1
20764 grep -v '^ *+' conftest.er1
>conftest.err
20766 cat conftest.err
>&5
20767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20768 (exit $ac_status); } &&
20769 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20771 (eval $ac_try) 2>&5
20773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20774 (exit $ac_status); }; } &&
20775 { ac_try
='test -s conftest.$ac_objext'
20776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20777 (eval $ac_try) 2>&5
20779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20780 (exit $ac_status); }; }; then
20782 cat >conftest.
$ac_ext <<_ACEOF
20785 cat confdefs.h
>>conftest.
$ac_ext
20786 cat >>conftest.
$ac_ext <<_ACEOF
20787 /* end confdefs.h. */
20789 class Foo { public: explicit Foo(int) {} };
20790 static void TakeFoo(const Foo& foo) { }
20803 rm -f conftest.
$ac_objext
20804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20805 (eval $ac_compile) 2>conftest.er1
20807 grep -v '^ *+' conftest.er1
>conftest.err
20809 cat conftest.err
>&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); } &&
20812 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20814 (eval $ac_try) 2>&5
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); }; } &&
20818 { ac_try
='test -s conftest.$ac_objext'
20819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20820 (eval $ac_try) 2>&5
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); }; }; then
20826 echo "$as_me: failed program was:" >&5
20827 sed 's/^/| /' conftest.
$ac_ext >&5
20832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20835 echo "$as_me: failed program was:" >&5
20836 sed 's/^/| /' conftest.
$ac_ext >&5
20841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20844 ac_cpp
='$CPP $CPPFLAGS'
20845 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20846 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20847 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20851 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
20852 echo "${ECHO_T}$wx_cv_explicit" >&6
20854 if test "$wx_cv_explicit" = "yes"; then
20855 cat >>confdefs.h
<<\_ACEOF
20856 #define HAVE_EXPLICIT 1
20862 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
20863 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
20864 if test "${ac_cv_cxx_const_cast+set}" = set; then
20865 echo $ECHO_N "(cached) $ECHO_C" >&6
20870 ac_cpp
='$CXXCPP $CPPFLAGS'
20871 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20872 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20873 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20875 cat >conftest.
$ac_ext <<_ACEOF
20878 cat confdefs.h
>>conftest.
$ac_ext
20879 cat >>conftest.
$ac_ext <<_ACEOF
20880 /* end confdefs.h. */
20885 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
20890 rm -f conftest.
$ac_objext
20891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20892 (eval $ac_compile) 2>conftest.er1
20894 grep -v '^ *+' conftest.er1
>conftest.err
20896 cat conftest.err
>&5
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); } &&
20899 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20901 (eval $ac_try) 2>&5
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); }; } &&
20905 { ac_try
='test -s conftest.$ac_objext'
20906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20907 (eval $ac_try) 2>&5
20909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20910 (exit $ac_status); }; }; then
20911 ac_cv_cxx_const_cast
=yes
20913 echo "$as_me: failed program was:" >&5
20914 sed 's/^/| /' conftest.
$ac_ext >&5
20916 ac_cv_cxx_const_cast
=no
20918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20920 ac_cpp
='$CPP $CPPFLAGS'
20921 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20922 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20923 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20927 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
20928 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
20929 if test "$ac_cv_cxx_const_cast" = yes; then
20931 cat >>confdefs.h
<<\_ACEOF
20932 #define HAVE_CONST_CAST
20937 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
20938 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
20939 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
20940 echo $ECHO_N "(cached) $ECHO_C" >&6
20945 ac_cpp
='$CXXCPP $CPPFLAGS'
20946 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20947 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20948 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20950 cat >conftest.
$ac_ext <<_ACEOF
20953 cat confdefs.h
>>conftest.
$ac_ext
20954 cat >>conftest.
$ac_ext <<_ACEOF
20955 /* end confdefs.h. */
20956 #include <typeinfo>
20957 class Base { public : Base () {} virtual void f () = 0;};
20958 class Derived : public Base { public : Derived () {} virtual void f () {} };
20959 class Unrelated { public : Unrelated () {} };
20960 int g (Unrelated&) { return 0; }
20965 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
20970 rm -f conftest.
$ac_objext
20971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20972 (eval $ac_compile) 2>conftest.er1
20974 grep -v '^ *+' conftest.er1
>conftest.err
20976 cat conftest.err
>&5
20977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); } &&
20979 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20981 (eval $ac_try) 2>&5
20983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20984 (exit $ac_status); }; } &&
20985 { ac_try
='test -s conftest.$ac_objext'
20986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20987 (eval $ac_try) 2>&5
20989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 (exit $ac_status); }; }; then
20991 ac_cv_cxx_reinterpret_cast
=yes
20993 echo "$as_me: failed program was:" >&5
20994 sed 's/^/| /' conftest.
$ac_ext >&5
20996 ac_cv_cxx_reinterpret_cast
=no
20998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21000 ac_cpp
='$CPP $CPPFLAGS'
21001 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21002 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21003 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21007 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21008 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21009 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21011 cat >>confdefs.h
<<\_ACEOF
21012 #define HAVE_REINTERPRET_CAST
21017 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21018 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21019 if test "${ac_cv_cxx_static_cast+set}" = set; then
21020 echo $ECHO_N "(cached) $ECHO_C" >&6
21025 ac_cpp
='$CXXCPP $CPPFLAGS'
21026 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21027 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21028 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21030 cat >conftest.
$ac_ext <<_ACEOF
21033 cat confdefs.h
>>conftest.
$ac_ext
21034 cat >>conftest.
$ac_ext <<_ACEOF
21035 /* end confdefs.h. */
21036 #include <typeinfo>
21037 class Base { public : Base () {} virtual void f () = 0; };
21038 class Derived : public Base { public : Derived () {} virtual void f () {} };
21039 int g (Derived&) { return 0; }
21044 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21049 rm -f conftest.
$ac_objext
21050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21051 (eval $ac_compile) 2>conftest.er1
21053 grep -v '^ *+' conftest.er1
>conftest.err
21055 cat conftest.err
>&5
21056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21057 (exit $ac_status); } &&
21058 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21060 (eval $ac_try) 2>&5
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); }; } &&
21064 { ac_try
='test -s conftest.$ac_objext'
21065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21066 (eval $ac_try) 2>&5
21068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069 (exit $ac_status); }; }; then
21070 ac_cv_cxx_static_cast
=yes
21072 echo "$as_me: failed program was:" >&5
21073 sed 's/^/| /' conftest.
$ac_ext >&5
21075 ac_cv_cxx_static_cast
=no
21077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21079 ac_cpp
='$CPP $CPPFLAGS'
21080 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21081 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21082 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21086 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21087 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21088 if test "$ac_cv_cxx_static_cast" = yes; then
21090 cat >>confdefs.h
<<\_ACEOF
21091 #define HAVE_STATIC_CAST
21097 if test "$wxUSE_STL" = "yes"; then
21099 ac_cpp
='$CXXCPP $CPPFLAGS'
21100 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21101 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21102 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21105 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21106 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21107 cat >conftest.
$ac_ext <<_ACEOF
21110 cat confdefs.h
>>conftest.
$ac_ext
21111 cat >>conftest.
$ac_ext <<_ACEOF
21112 /* end confdefs.h. */
21114 #include <functional>
21115 #include <algorithm>
21121 std::vector<int> moo;
21122 std::list<int> foo;
21123 std::vector<int>::iterator it =
21124 std::find_if(moo.begin(), moo.end(),
21125 std::bind2nd(std::less<int>(), 3));
21130 rm -f conftest.
$ac_objext
21131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21132 (eval $ac_compile) 2>conftest.er1
21134 grep -v '^ *+' conftest.er1
>conftest.err
21136 cat conftest.err
>&5
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); } &&
21139 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21141 (eval $ac_try) 2>&5
21143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21144 (exit $ac_status); }; } &&
21145 { ac_try
='test -s conftest.$ac_objext'
21146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21147 (eval $ac_try) 2>&5
21149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21150 (exit $ac_status); }; }; then
21151 echo "$as_me:$LINENO: result: yes" >&5
21152 echo "${ECHO_T}yes" >&6
21154 echo "$as_me: failed program was:" >&5
21155 sed 's/^/| /' conftest.
$ac_ext >&5
21157 echo "$as_me:$LINENO: result: no" >&5
21158 echo "${ECHO_T}no" >&6
21159 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21160 echo "$as_me: error: Basic STL functionality missing" >&2;}
21161 { (exit 1); exit 1; }; }
21163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21165 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
21166 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
21167 cat >conftest.
$ac_ext <<_ACEOF
21170 cat confdefs.h
>>conftest.
$ac_ext
21171 cat >>conftest.
$ac_ext <<_ACEOF
21172 /* end confdefs.h. */
21182 rm -f conftest.
$ac_objext
21183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21184 (eval $ac_compile) 2>conftest.er1
21186 grep -v '^ *+' conftest.er1
>conftest.err
21188 cat conftest.err
>&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } &&
21191 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21193 (eval $ac_try) 2>&5
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); }; } &&
21197 { ac_try
='test -s conftest.$ac_objext'
21198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21199 (eval $ac_try) 2>&5
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); }; }; then
21203 echo "$as_me:$LINENO: result: yes" >&5
21204 echo "${ECHO_T}yes" >&6
21205 cat >>confdefs.h
<<\_ACEOF
21206 #define HAVE_STD_WSTRING 1
21210 echo "$as_me: failed program was:" >&5
21211 sed 's/^/| /' conftest.
$ac_ext >&5
21213 echo "$as_me:$LINENO: result: no" >&5
21214 echo "${ECHO_T}no" >&6
21216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21218 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21219 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21220 cat >conftest.
$ac_ext <<_ACEOF
21223 cat confdefs.h
>>conftest.
$ac_ext
21224 cat >>conftest.
$ac_ext <<_ACEOF
21225 /* end confdefs.h. */
21230 std::string foo, bar;
21232 foo.compare(1, 1, bar);
21233 foo.compare(1, 1, bar, 1, 1);
21235 foo.compare(1, 1, "");
21236 foo.compare(1, 1, "", 2);
21241 rm -f conftest.
$ac_objext
21242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21243 (eval $ac_compile) 2>conftest.er1
21245 grep -v '^ *+' conftest.er1
>conftest.err
21247 cat conftest.err
>&5
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); } &&
21250 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21252 (eval $ac_try) 2>&5
21254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21255 (exit $ac_status); }; } &&
21256 { ac_try
='test -s conftest.$ac_objext'
21257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21258 (eval $ac_try) 2>&5
21260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261 (exit $ac_status); }; }; then
21262 echo "$as_me:$LINENO: result: yes" >&5
21263 echo "${ECHO_T}yes" >&6
21264 cat >>confdefs.h
<<\_ACEOF
21265 #define HAVE_STD_STRING_COMPARE 1
21269 echo "$as_me: failed program was:" >&5
21270 sed 's/^/| /' conftest.
$ac_ext >&5
21272 echo "$as_me:$LINENO: result: no" >&5
21273 echo "${ECHO_T}no" >&6
21275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21277 if test "${ac_cv_header_hash_map+set}" = set; then
21278 echo "$as_me:$LINENO: checking for hash_map" >&5
21279 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21280 if test "${ac_cv_header_hash_map+set}" = set; then
21281 echo $ECHO_N "(cached) $ECHO_C" >&6
21283 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21284 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21286 # Is the header compilable?
21287 echo "$as_me:$LINENO: checking hash_map usability" >&5
21288 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21289 cat >conftest.
$ac_ext <<_ACEOF
21292 cat confdefs.h
>>conftest.
$ac_ext
21293 cat >>conftest.
$ac_ext <<_ACEOF
21294 /* end confdefs.h. */
21295 $ac_includes_default
21296 #include <hash_map>
21298 rm -f conftest.
$ac_objext
21299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21300 (eval $ac_compile) 2>conftest.er1
21302 grep -v '^ *+' conftest.er1
>conftest.err
21304 cat conftest.err
>&5
21305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306 (exit $ac_status); } &&
21307 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21309 (eval $ac_try) 2>&5
21311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312 (exit $ac_status); }; } &&
21313 { ac_try
='test -s conftest.$ac_objext'
21314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21315 (eval $ac_try) 2>&5
21317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21318 (exit $ac_status); }; }; then
21319 ac_header_compiler
=yes
21321 echo "$as_me: failed program was:" >&5
21322 sed 's/^/| /' conftest.
$ac_ext >&5
21324 ac_header_compiler
=no
21326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21327 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21328 echo "${ECHO_T}$ac_header_compiler" >&6
21330 # Is the header present?
21331 echo "$as_me:$LINENO: checking hash_map presence" >&5
21332 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21333 cat >conftest.
$ac_ext <<_ACEOF
21336 cat confdefs.h
>>conftest.
$ac_ext
21337 cat >>conftest.
$ac_ext <<_ACEOF
21338 /* end confdefs.h. */
21339 #include <hash_map>
21341 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21342 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21344 grep -v '^ *+' conftest.er1
>conftest.err
21346 cat conftest.err
>&5
21347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21348 (exit $ac_status); } >/dev
/null
; then
21349 if test -s conftest.err
; then
21350 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21351 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21358 if test -z "$ac_cpp_err"; then
21359 ac_header_preproc
=yes
21361 echo "$as_me: failed program was:" >&5
21362 sed 's/^/| /' conftest.
$ac_ext >&5
21364 ac_header_preproc
=no
21366 rm -f conftest.err conftest.
$ac_ext
21367 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21368 echo "${ECHO_T}$ac_header_preproc" >&6
21370 # So? What about this header?
21371 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21373 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21374 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21375 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21376 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21377 ac_header_preproc
=yes
21380 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21381 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21382 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21383 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21384 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21385 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21386 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21387 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21388 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21389 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21390 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21391 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21394 ## ----------------------------------------- ##
21395 ## Report this to wx-dev@lists.wxwidgets.org ##
21396 ## ----------------------------------------- ##
21399 sed "s/^/$as_me: WARNING: /" >&2
21402 echo "$as_me:$LINENO: checking for hash_map" >&5
21403 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21404 if test "${ac_cv_header_hash_map+set}" = set; then
21405 echo $ECHO_N "(cached) $ECHO_C" >&6
21407 ac_cv_header_hash_map
=$ac_header_preproc
21409 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21410 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21413 if test $ac_cv_header_hash_map = yes; then
21414 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21415 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21416 cat >conftest.
$ac_ext <<_ACEOF
21419 cat confdefs.h
>>conftest.
$ac_ext
21420 cat >>conftest.
$ac_ext <<_ACEOF
21421 /* end confdefs.h. */
21422 #include <hash_map>
21423 #include <hash_set>
21427 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21428 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21433 rm -f conftest.
$ac_objext
21434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21435 (eval $ac_compile) 2>conftest.er1
21437 grep -v '^ *+' conftest.er1
>conftest.err
21439 cat conftest.err
>&5
21440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441 (exit $ac_status); } &&
21442 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21444 (eval $ac_try) 2>&5
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); }; } &&
21448 { ac_try
='test -s conftest.$ac_objext'
21449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21450 (eval $ac_try) 2>&5
21452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21453 (exit $ac_status); }; }; then
21454 echo "$as_me:$LINENO: result: yes" >&5
21455 echo "${ECHO_T}yes" >&6
21456 cat >>confdefs.h
<<\_ACEOF
21457 #define HAVE_HASH_MAP 1
21460 cat >>confdefs.h
<<\_ACEOF
21461 #define HAVE_STD_HASH_MAP 1
21465 echo "$as_me: failed program was:" >&5
21466 sed 's/^/| /' conftest.
$ac_ext >&5
21468 echo "$as_me:$LINENO: result: no" >&5
21469 echo "${ECHO_T}no" >&6
21471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21477 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21478 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21479 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21480 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21481 echo $ECHO_N "(cached) $ECHO_C" >&6
21483 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21484 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21486 # Is the header compilable?
21487 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
21488 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
21489 cat >conftest.
$ac_ext <<_ACEOF
21492 cat confdefs.h
>>conftest.
$ac_ext
21493 cat >>conftest.
$ac_ext <<_ACEOF
21494 /* end confdefs.h. */
21495 $ac_includes_default
21496 #include <ext/hash_map>
21498 rm -f conftest.
$ac_objext
21499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21500 (eval $ac_compile) 2>conftest.er1
21502 grep -v '^ *+' conftest.er1
>conftest.err
21504 cat conftest.err
>&5
21505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21506 (exit $ac_status); } &&
21507 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21509 (eval $ac_try) 2>&5
21511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21512 (exit $ac_status); }; } &&
21513 { ac_try
='test -s conftest.$ac_objext'
21514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21515 (eval $ac_try) 2>&5
21517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21518 (exit $ac_status); }; }; then
21519 ac_header_compiler
=yes
21521 echo "$as_me: failed program was:" >&5
21522 sed 's/^/| /' conftest.
$ac_ext >&5
21524 ac_header_compiler
=no
21526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21527 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21528 echo "${ECHO_T}$ac_header_compiler" >&6
21530 # Is the header present?
21531 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
21532 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
21533 cat >conftest.
$ac_ext <<_ACEOF
21536 cat confdefs.h
>>conftest.
$ac_ext
21537 cat >>conftest.
$ac_ext <<_ACEOF
21538 /* end confdefs.h. */
21539 #include <ext/hash_map>
21541 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21542 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21544 grep -v '^ *+' conftest.er1
>conftest.err
21546 cat conftest.err
>&5
21547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21548 (exit $ac_status); } >/dev
/null
; then
21549 if test -s conftest.err
; then
21550 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21551 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21558 if test -z "$ac_cpp_err"; then
21559 ac_header_preproc
=yes
21561 echo "$as_me: failed program was:" >&5
21562 sed 's/^/| /' conftest.
$ac_ext >&5
21564 ac_header_preproc
=no
21566 rm -f conftest.err conftest.
$ac_ext
21567 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21568 echo "${ECHO_T}$ac_header_preproc" >&6
21570 # So? What about this header?
21571 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21573 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21574 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21575 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
21576 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
21577 ac_header_preproc
=yes
21580 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
21581 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
21582 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
21583 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
21584 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
21585 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
21586 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
21587 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21588 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
21589 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
21590 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
21591 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
21594 ## ----------------------------------------- ##
21595 ## Report this to wx-dev@lists.wxwidgets.org ##
21596 ## ----------------------------------------- ##
21599 sed "s/^/$as_me: WARNING: /" >&2
21602 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21603 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21604 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21605 echo $ECHO_N "(cached) $ECHO_C" >&6
21607 ac_cv_header_ext_hash_map
=$ac_header_preproc
21609 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21610 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21613 if test $ac_cv_header_ext_hash_map = yes; then
21614 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21615 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21616 cat >conftest.
$ac_ext <<_ACEOF
21619 cat confdefs.h
>>conftest.
$ac_ext
21620 cat >>conftest.
$ac_ext <<_ACEOF
21621 /* end confdefs.h. */
21622 #include <ext/hash_map>
21623 #include <ext/hash_set>
21627 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21628 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21633 rm -f conftest.
$ac_objext
21634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21635 (eval $ac_compile) 2>conftest.er1
21637 grep -v '^ *+' conftest.er1
>conftest.err
21639 cat conftest.err
>&5
21640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21641 (exit $ac_status); } &&
21642 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21644 (eval $ac_try) 2>&5
21646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21647 (exit $ac_status); }; } &&
21648 { ac_try
='test -s conftest.$ac_objext'
21649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21650 (eval $ac_try) 2>&5
21652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21653 (exit $ac_status); }; }; then
21654 echo "$as_me:$LINENO: result: yes" >&5
21655 echo "${ECHO_T}yes" >&6
21656 cat >>confdefs.h
<<\_ACEOF
21657 #define HAVE_EXT_HASH_MAP 1
21660 cat >>confdefs.h
<<\_ACEOF
21661 #define HAVE_GNU_CXX_HASH_MAP 1
21665 echo "$as_me: failed program was:" >&5
21666 sed 's/^/| /' conftest.
$ac_ext >&5
21668 echo "$as_me:$LINENO: result: no" >&5
21669 echo "${ECHO_T}no" >&6
21671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21678 ac_cpp
='$CPP $CPPFLAGS'
21679 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21680 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21681 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21687 /usr/local/include \
21689 /usr/Motif-2.1/include \
21690 /usr/Motif-1.2/include \
21691 /usr/include/Motif1.2 \
21692 /opt/xpm/include/X11 \
21693 /opt/GBxpm/include/ \
21694 /opt/GBxpm/X11/include/ \
21697 /usr/openwin/include \
21701 /usr/X11R6/include \
21702 /usr/X11R6.4/include \
21703 /usr/X11R5/include \
21704 /usr/X11R4/include \
21706 /usr/include/X11R6 \
21707 /usr/include/X11R5 \
21708 /usr/include/X11R4 \
21710 /usr/local/X11R6/include \
21711 /usr/local/X11R5/include \
21712 /usr/local/X11R4/include \
21714 /usr/local/include/X11R6 \
21715 /usr/local/include/X11R5 \
21716 /usr/local/include/X11R4 \
21720 /usr/local/X11/include \
21721 /usr/local/include/X11 \
21723 /usr/X386/include \
21724 /usr/x386/include \
21725 /usr/XFree86/include/X11 \
21727 X:/XFree86/include \
21728 X:/XFree86/include/X11 \
21731 /usr/local/include/gtk \
21732 /usr/include/glib \
21733 /usr/local/include/glib \
21736 /usr/local/include/qt \
21738 /usr/local/arm/3.3.2/include \
21740 /usr/include/windows \
21741 /usr/include/wine \
21742 /usr/local/include/wine \
21744 /usr/unsupported/include \
21745 /usr/athena/include \
21746 /usr/local/x11r5/include \
21747 /usr/lpp/Xamples/include \
21749 /usr/openwin/share/include"
21751 SEARCH_LIB
="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
21754 cat >confcache
<<\_ACEOF
21755 # This file is a shell script that caches the results of configure
21756 # tests run on this system so they can be shared between configure
21757 # scripts and configure runs, see configure's option --config-cache.
21758 # It is not useful on other systems. If it contains results you don't
21759 # want to keep, you may remove or edit it.
21761 # config.status only pays attention to the cache file if you give it
21762 # the --recheck option to rerun configure.
21764 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21765 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21766 # following values.
21770 # The following way of writing the cache mishandles newlines in values,
21771 # but we know of no workaround that is simple, portable, and efficient.
21772 # So, don't put newlines in cache variables' values.
21773 # Ultrix sh set writes to stderr and can't be redirected directly,
21774 # and sets the high bit in the cache file unless we assign to the vars.
21777 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21779 # `set' does not quote correctly, so add quotes (double-quote
21780 # substitution turns \\\\ into \\, and sed turns \\ into \).
21783 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21786 # `set' quotes correctly as required by POSIX, so do not add quotes.
21788 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21795 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21797 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21799 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
21800 if test -w $cache_file; then
21801 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21802 cat confcache
>$cache_file
21804 echo "not updating unwritable cache $cache_file"
21809 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
21810 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
21811 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
21812 if test "${wx_cv_lib_glibc21+set}" = set; then
21813 echo $ECHO_N "(cached) $ECHO_C" >&6
21816 cat >conftest.
$ac_ext <<_ACEOF
21819 cat confdefs.h
>>conftest.
$ac_ext
21820 cat >>conftest.
$ac_ext <<_ACEOF
21821 /* end confdefs.h. */
21822 #include <features.h>
21827 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
21828 #error not glibc2.1
21835 rm -f conftest.
$ac_objext
21836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21837 (eval $ac_compile) 2>conftest.er1
21839 grep -v '^ *+' conftest.er1
>conftest.err
21841 cat conftest.err
>&5
21842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21843 (exit $ac_status); } &&
21844 { ac_try
='test -z "$ac_c_werror_flag" || 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
21857 wx_cv_lib_glibc21
=yes
21860 echo "$as_me: failed program was:" >&5
21861 sed 's/^/| /' conftest.
$ac_ext >&5
21864 wx_cv_lib_glibc21
=no
21868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21871 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
21872 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
21873 if test "$wx_cv_lib_glibc21" = "yes"; then
21874 cat >>confdefs.h
<<\_ACEOF
21875 #define wxHAVE_GLIBC2 1
21881 if test "x$wx_cv_lib_glibc21" = "xyes"; then
21882 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
21883 cat >>confdefs.h
<<\_ACEOF
21884 #define _GNU_SOURCE 1
21892 if test "$wxUSE_REGEX" != "no"; then
21893 cat >>confdefs.h
<<\_ACEOF
21894 #define wxUSE_REGEX 1
21898 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
21899 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
21900 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
21901 wxUSE_REGEX
=builtin
21904 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
21905 if test "${ac_cv_header_regex_h+set}" = set; then
21906 echo "$as_me:$LINENO: checking for regex.h" >&5
21907 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
21908 if test "${ac_cv_header_regex_h+set}" = set; then
21909 echo $ECHO_N "(cached) $ECHO_C" >&6
21911 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
21912 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
21914 # Is the header compilable?
21915 echo "$as_me:$LINENO: checking regex.h usability" >&5
21916 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
21917 cat >conftest.
$ac_ext <<_ACEOF
21920 cat confdefs.h
>>conftest.
$ac_ext
21921 cat >>conftest.
$ac_ext <<_ACEOF
21922 /* end confdefs.h. */
21923 $ac_includes_default
21926 rm -f conftest.
$ac_objext
21927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21928 (eval $ac_compile) 2>conftest.er1
21930 grep -v '^ *+' conftest.er1
>conftest.err
21932 cat conftest.err
>&5
21933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21934 (exit $ac_status); } &&
21935 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21937 (eval $ac_try) 2>&5
21939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940 (exit $ac_status); }; } &&
21941 { ac_try
='test -s conftest.$ac_objext'
21942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21943 (eval $ac_try) 2>&5
21945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946 (exit $ac_status); }; }; then
21947 ac_header_compiler
=yes
21949 echo "$as_me: failed program was:" >&5
21950 sed 's/^/| /' conftest.
$ac_ext >&5
21952 ac_header_compiler
=no
21954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21955 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21956 echo "${ECHO_T}$ac_header_compiler" >&6
21958 # Is the header present?
21959 echo "$as_me:$LINENO: checking regex.h presence" >&5
21960 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
21961 cat >conftest.
$ac_ext <<_ACEOF
21964 cat confdefs.h
>>conftest.
$ac_ext
21965 cat >>conftest.
$ac_ext <<_ACEOF
21966 /* end confdefs.h. */
21969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21970 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21972 grep -v '^ *+' conftest.er1
>conftest.err
21974 cat conftest.err
>&5
21975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976 (exit $ac_status); } >/dev
/null
; then
21977 if test -s conftest.err
; then
21978 ac_cpp_err
=$ac_c_preproc_warn_flag
21979 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21986 if test -z "$ac_cpp_err"; then
21987 ac_header_preproc
=yes
21989 echo "$as_me: failed program was:" >&5
21990 sed 's/^/| /' conftest.
$ac_ext >&5
21992 ac_header_preproc
=no
21994 rm -f conftest.err conftest.
$ac_ext
21995 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21996 echo "${ECHO_T}$ac_header_preproc" >&6
21998 # So? What about this header?
21999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22001 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22002 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22003 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22004 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22005 ac_header_preproc
=yes
22008 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22009 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22010 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22011 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22012 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22013 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22014 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22015 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22016 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22017 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22018 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22019 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22022 ## ----------------------------------------- ##
22023 ## Report this to wx-dev@lists.wxwidgets.org ##
22024 ## ----------------------------------------- ##
22027 sed "s/^/$as_me: WARNING: /" >&2
22030 echo "$as_me:$LINENO: checking for regex.h" >&5
22031 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22032 if test "${ac_cv_header_regex_h+set}" = set; then
22033 echo $ECHO_N "(cached) $ECHO_C" >&6
22035 ac_cv_header_regex_h
=$ac_header_preproc
22037 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22038 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22041 if test $ac_cv_header_regex_h = yes; then
22043 for ac_func
in regcomp
22045 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22046 echo "$as_me:$LINENO: checking for $ac_func" >&5
22047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22048 if eval "test \"\${$as_ac_var+set}\" = set"; then
22049 echo $ECHO_N "(cached) $ECHO_C" >&6
22051 cat >conftest.
$ac_ext <<_ACEOF
22054 cat confdefs.h
>>conftest.
$ac_ext
22055 cat >>conftest.
$ac_ext <<_ACEOF
22056 /* end confdefs.h. */
22057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22059 #define $ac_func innocuous_$ac_func
22061 /* System header to define __stub macros and hopefully few prototypes,
22062 which can conflict with char $ac_func (); below.
22063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22064 <limits.h> exists even on freestanding compilers. */
22067 # include <limits.h>
22069 # include <assert.h>
22074 /* Override any gcc2 internal prototype to avoid an error. */
22079 /* We use char because int might match the return type of a gcc2
22080 builtin and then its argument prototype would still apply. */
22082 /* The GNU C library defines this for functions which it implements
22083 to always fail with ENOSYS. Some functions are actually named
22084 something starting with __ and the normal name is an alias. */
22085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22088 char (*f) () = $ac_func;
22097 return f != $ac_func;
22102 rm -f conftest.
$ac_objext conftest
$ac_exeext
22103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22104 (eval $ac_link) 2>conftest.er1
22106 grep -v '^ *+' conftest.er1
>conftest.err
22108 cat conftest.err
>&5
22109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22110 (exit $ac_status); } &&
22111 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22113 (eval $ac_try) 2>&5
22115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22116 (exit $ac_status); }; } &&
22117 { ac_try
='test -s conftest$ac_exeext'
22118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22119 (eval $ac_try) 2>&5
22121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22122 (exit $ac_status); }; }; then
22123 eval "$as_ac_var=yes"
22125 echo "$as_me: failed program was:" >&5
22126 sed 's/^/| /' conftest.
$ac_ext >&5
22128 eval "$as_ac_var=no"
22130 rm -f conftest.err conftest.
$ac_objext \
22131 conftest
$ac_exeext conftest.
$ac_ext
22133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22135 if test `eval echo '${'$as_ac_var'}'` = yes; then
22136 cat >>confdefs.h
<<_ACEOF
22137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22147 if test "x$ac_cv_func_regcomp" != "xyes"; then
22148 if test "$wxUSE_REGEX" = "sys" ; then
22149 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22150 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22151 { (exit 1); exit 1; }; }
22153 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22154 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22155 wxUSE_REGEX
=builtin
22159 cat >>confdefs.h
<<\_ACEOF
22160 #define WX_NO_REGEX_ADVANCED 1
22169 if test "$wxUSE_ZLIB" != "no" ; then
22170 cat >>confdefs.h
<<\_ACEOF
22171 #define wxUSE_ZLIB 1
22175 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22176 if test "$USE_DARWIN" = 1; then
22177 system_zlib_h_ok
="yes"
22179 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22180 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22181 if test "${ac_cv_header_zlib_h+set}" = set; then
22182 echo $ECHO_N "(cached) $ECHO_C" >&6
22184 if test "$cross_compiling" = yes; then
22185 unset ac_cv_header_zlib_h
22188 cat >conftest.
$ac_ext <<_ACEOF
22191 cat confdefs.h
>>conftest.
$ac_ext
22192 cat >>conftest.
$ac_ext <<_ACEOF
22193 /* end confdefs.h. */
22200 FILE *f=fopen("conftestval", "w");
22203 ZLIB_VERSION[0] == '1' &&
22204 (ZLIB_VERSION[2] > '1' ||
22205 (ZLIB_VERSION[2] == '1' &&
22206 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22211 rm -f conftest
$ac_exeext
22212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22213 (eval $ac_link) 2>&5
22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22218 (eval $ac_try) 2>&5
22220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22221 (exit $ac_status); }; }; then
22222 ac_cv_header_zlib_h
=`cat conftestval`
22224 echo "$as_me: program exited with status $ac_status" >&5
22225 echo "$as_me: failed program was:" >&5
22226 sed 's/^/| /' conftest.
$ac_ext >&5
22228 ( exit $ac_status )
22229 ac_cv_header_zlib_h
=no
22231 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22235 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22236 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22237 if test "${ac_cv_header_zlib_h+set}" = set; then
22238 echo "$as_me:$LINENO: checking for zlib.h" >&5
22239 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22240 if test "${ac_cv_header_zlib_h+set}" = set; then
22241 echo $ECHO_N "(cached) $ECHO_C" >&6
22243 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22244 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22246 # Is the header compilable?
22247 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22248 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22249 cat >conftest.
$ac_ext <<_ACEOF
22252 cat confdefs.h
>>conftest.
$ac_ext
22253 cat >>conftest.
$ac_ext <<_ACEOF
22254 /* end confdefs.h. */
22255 $ac_includes_default
22258 rm -f conftest.
$ac_objext
22259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22260 (eval $ac_compile) 2>conftest.er1
22262 grep -v '^ *+' conftest.er1
>conftest.err
22264 cat conftest.err
>&5
22265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266 (exit $ac_status); } &&
22267 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22269 (eval $ac_try) 2>&5
22271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22272 (exit $ac_status); }; } &&
22273 { ac_try
='test -s conftest.$ac_objext'
22274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22275 (eval $ac_try) 2>&5
22277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22278 (exit $ac_status); }; }; then
22279 ac_header_compiler
=yes
22281 echo "$as_me: failed program was:" >&5
22282 sed 's/^/| /' conftest.
$ac_ext >&5
22284 ac_header_compiler
=no
22286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22287 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22288 echo "${ECHO_T}$ac_header_compiler" >&6
22290 # Is the header present?
22291 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22292 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22293 cat >conftest.
$ac_ext <<_ACEOF
22296 cat confdefs.h
>>conftest.
$ac_ext
22297 cat >>conftest.
$ac_ext <<_ACEOF
22298 /* end confdefs.h. */
22301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22302 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22304 grep -v '^ *+' conftest.er1
>conftest.err
22306 cat conftest.err
>&5
22307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22308 (exit $ac_status); } >/dev
/null
; then
22309 if test -s conftest.err
; then
22310 ac_cpp_err
=$ac_c_preproc_warn_flag
22311 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22318 if test -z "$ac_cpp_err"; then
22319 ac_header_preproc
=yes
22321 echo "$as_me: failed program was:" >&5
22322 sed 's/^/| /' conftest.
$ac_ext >&5
22324 ac_header_preproc
=no
22326 rm -f conftest.err conftest.
$ac_ext
22327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22328 echo "${ECHO_T}$ac_header_preproc" >&6
22330 # So? What about this header?
22331 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22333 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22334 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22335 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22336 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22337 ac_header_preproc
=yes
22340 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22341 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22342 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22343 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22344 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22345 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22346 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22347 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22348 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22349 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22350 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22351 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22354 ## ----------------------------------------- ##
22355 ## Report this to wx-dev@lists.wxwidgets.org ##
22356 ## ----------------------------------------- ##
22359 sed "s/^/$as_me: WARNING: /" >&2
22362 echo "$as_me:$LINENO: checking for zlib.h" >&5
22363 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22364 if test "${ac_cv_header_zlib_h+set}" = set; then
22365 echo $ECHO_N "(cached) $ECHO_C" >&6
22367 ac_cv_header_zlib_h
=$ac_header_preproc
22369 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22370 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22376 system_zlib_h_ok
=$ac_cv_header_zlib_h
22379 if test "$system_zlib_h_ok" = "yes"; then
22380 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22381 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22382 if test "${ac_cv_lib_z_deflate+set}" = set; then
22383 echo $ECHO_N "(cached) $ECHO_C" >&6
22385 ac_check_lib_save_LIBS
=$LIBS
22387 cat >conftest.
$ac_ext <<_ACEOF
22390 cat confdefs.h
>>conftest.
$ac_ext
22391 cat >>conftest.
$ac_ext <<_ACEOF
22392 /* end confdefs.h. */
22394 /* Override any gcc2 internal prototype to avoid an error. */
22398 /* We use char because int might match the return type of a gcc2
22399 builtin and then its argument prototype would still apply. */
22409 rm -f conftest.
$ac_objext conftest
$ac_exeext
22410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22411 (eval $ac_link) 2>conftest.er1
22413 grep -v '^ *+' conftest.er1
>conftest.err
22415 cat conftest.err
>&5
22416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22417 (exit $ac_status); } &&
22418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22420 (eval $ac_try) 2>&5
22422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22423 (exit $ac_status); }; } &&
22424 { ac_try
='test -s conftest$ac_exeext'
22425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22426 (eval $ac_try) 2>&5
22428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22429 (exit $ac_status); }; }; then
22430 ac_cv_lib_z_deflate
=yes
22432 echo "$as_me: failed program was:" >&5
22433 sed 's/^/| /' conftest.
$ac_ext >&5
22435 ac_cv_lib_z_deflate
=no
22437 rm -f conftest.err conftest.
$ac_objext \
22438 conftest
$ac_exeext conftest.
$ac_ext
22439 LIBS
=$ac_check_lib_save_LIBS
22441 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22442 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22443 if test $ac_cv_lib_z_deflate = yes; then
22449 if test "x$ZLIB_LINK" = "x" ; then
22450 if test "$wxUSE_ZLIB" = "sys" ; then
22451 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22452 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22453 { (exit 1); exit 1; }; }
22455 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22456 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22467 if test "$wxUSE_LIBPNG" != "no" ; then
22468 cat >>confdefs.h
<<\_ACEOF
22469 #define wxUSE_LIBPNG 1
22473 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22474 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22475 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22479 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22480 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22481 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22482 wxUSE_LIBPNG
=builtin
22485 if test "$wxUSE_MGL" != 1 ; then
22486 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22487 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
22488 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
22489 if test "${ac_cv_header_png_h+set}" = set; then
22490 echo $ECHO_N "(cached) $ECHO_C" >&6
22492 if test "$cross_compiling" = yes; then
22493 unset ac_cv_header_png_h
22496 cat >conftest.
$ac_ext <<_ACEOF
22499 cat confdefs.h
>>conftest.
$ac_ext
22500 cat >>conftest.
$ac_ext <<_ACEOF
22501 /* end confdefs.h. */
22508 FILE *f=fopen("conftestval", "w");
22511 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22516 rm -f conftest
$ac_exeext
22517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22518 (eval $ac_link) 2>&5
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22523 (eval $ac_try) 2>&5
22525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22526 (exit $ac_status); }; }; then
22527 ac_cv_header_png_h
=`cat conftestval`
22529 echo "$as_me: program exited with status $ac_status" >&5
22530 echo "$as_me: failed program was:" >&5
22531 sed 's/^/| /' conftest.
$ac_ext >&5
22533 ( exit $ac_status )
22534 ac_cv_header_png_h
=no
22536 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22540 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22541 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22542 if test "${ac_cv_header_png_h+set}" = set; then
22543 echo "$as_me:$LINENO: checking for png.h" >&5
22544 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22545 if test "${ac_cv_header_png_h+set}" = set; then
22546 echo $ECHO_N "(cached) $ECHO_C" >&6
22548 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22549 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22551 # Is the header compilable?
22552 echo "$as_me:$LINENO: checking png.h usability" >&5
22553 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
22554 cat >conftest.
$ac_ext <<_ACEOF
22557 cat confdefs.h
>>conftest.
$ac_ext
22558 cat >>conftest.
$ac_ext <<_ACEOF
22559 /* end confdefs.h. */
22560 $ac_includes_default
22563 rm -f conftest.
$ac_objext
22564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22565 (eval $ac_compile) 2>conftest.er1
22567 grep -v '^ *+' conftest.er1
>conftest.err
22569 cat conftest.err
>&5
22570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22571 (exit $ac_status); } &&
22572 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22574 (eval $ac_try) 2>&5
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); }; } &&
22578 { ac_try
='test -s conftest.$ac_objext'
22579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22580 (eval $ac_try) 2>&5
22582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22583 (exit $ac_status); }; }; then
22584 ac_header_compiler
=yes
22586 echo "$as_me: failed program was:" >&5
22587 sed 's/^/| /' conftest.
$ac_ext >&5
22589 ac_header_compiler
=no
22591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22593 echo "${ECHO_T}$ac_header_compiler" >&6
22595 # Is the header present?
22596 echo "$as_me:$LINENO: checking png.h presence" >&5
22597 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
22598 cat >conftest.
$ac_ext <<_ACEOF
22601 cat confdefs.h
>>conftest.
$ac_ext
22602 cat >>conftest.
$ac_ext <<_ACEOF
22603 /* end confdefs.h. */
22606 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22607 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22609 grep -v '^ *+' conftest.er1
>conftest.err
22611 cat conftest.err
>&5
22612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22613 (exit $ac_status); } >/dev
/null
; then
22614 if test -s conftest.err
; then
22615 ac_cpp_err
=$ac_c_preproc_warn_flag
22616 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22623 if test -z "$ac_cpp_err"; then
22624 ac_header_preproc
=yes
22626 echo "$as_me: failed program was:" >&5
22627 sed 's/^/| /' conftest.
$ac_ext >&5
22629 ac_header_preproc
=no
22631 rm -f conftest.err conftest.
$ac_ext
22632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22633 echo "${ECHO_T}$ac_header_preproc" >&6
22635 # So? What about this header?
22636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22638 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
22639 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22640 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
22641 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
22642 ac_header_preproc
=yes
22645 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
22646 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
22647 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
22648 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
22649 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
22650 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
22651 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
22652 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
22653 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
22654 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
22655 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
22656 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
22659 ## ----------------------------------------- ##
22660 ## Report this to wx-dev@lists.wxwidgets.org ##
22661 ## ----------------------------------------- ##
22664 sed "s/^/$as_me: WARNING: /" >&2
22667 echo "$as_me:$LINENO: checking for png.h" >&5
22668 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22669 if test "${ac_cv_header_png_h+set}" = set; then
22670 echo $ECHO_N "(cached) $ECHO_C" >&6
22672 ac_cv_header_png_h
=$ac_header_preproc
22674 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22675 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22681 if test "$ac_cv_header_png_h" = "yes"; then
22682 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
22683 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
22684 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
22685 echo $ECHO_N "(cached) $ECHO_C" >&6
22687 ac_check_lib_save_LIBS
=$LIBS
22688 LIBS
="-lpng -lz -lm $LIBS"
22689 cat >conftest.
$ac_ext <<_ACEOF
22692 cat confdefs.h
>>conftest.
$ac_ext
22693 cat >>conftest.
$ac_ext <<_ACEOF
22694 /* end confdefs.h. */
22696 /* Override any gcc2 internal prototype to avoid an error. */
22700 /* We use char because int might match the return type of a gcc2
22701 builtin and then its argument prototype would still apply. */
22702 char png_check_sig ();
22711 rm -f conftest.
$ac_objext conftest
$ac_exeext
22712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22713 (eval $ac_link) 2>conftest.er1
22715 grep -v '^ *+' conftest.er1
>conftest.err
22717 cat conftest.err
>&5
22718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22719 (exit $ac_status); } &&
22720 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22722 (eval $ac_try) 2>&5
22724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22725 (exit $ac_status); }; } &&
22726 { ac_try
='test -s conftest$ac_exeext'
22727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22728 (eval $ac_try) 2>&5
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); }; }; then
22732 ac_cv_lib_png_png_check_sig
=yes
22734 echo "$as_me: failed program was:" >&5
22735 sed 's/^/| /' conftest.
$ac_ext >&5
22737 ac_cv_lib_png_png_check_sig
=no
22739 rm -f conftest.err conftest.
$ac_objext \
22740 conftest
$ac_exeext conftest.
$ac_ext
22741 LIBS
=$ac_check_lib_save_LIBS
22743 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
22744 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
22745 if test $ac_cv_lib_png_png_check_sig = yes; then
22746 PNG_LINK
=" -lpng -lz"
22751 if test "x$PNG_LINK" = "x" ; then
22752 if test "$wxUSE_LIBPNG" = "sys" ; then
22753 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
22754 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
22755 { (exit 1); exit 1; }; }
22757 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
22758 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22759 wxUSE_LIBPNG
=builtin
22767 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
22772 if test "$wxUSE_LIBJPEG" != "no" ; then
22773 cat >>confdefs.h
<<\_ACEOF
22774 #define wxUSE_LIBJPEG 1
22778 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
22779 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
22780 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
22784 if test "$wxUSE_MGL" != 1 ; then
22785 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22786 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
22787 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
22788 if test "${ac_cv_header_jpeglib_h+set}" = set; then
22789 echo $ECHO_N "(cached) $ECHO_C" >&6
22791 cat >conftest.
$ac_ext <<_ACEOF
22794 cat confdefs.h
>>conftest.
$ac_ext
22795 cat >>conftest.
$ac_ext <<_ACEOF
22796 /* end confdefs.h. */
22798 #undef HAVE_STDLIB_H
22800 #include <jpeglib.h>
22811 rm -f conftest.
$ac_objext
22812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22813 (eval $ac_compile) 2>conftest.er1
22815 grep -v '^ *+' conftest.er1
>conftest.err
22817 cat conftest.err
>&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); } &&
22820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22822 (eval $ac_try) 2>&5
22824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22825 (exit $ac_status); }; } &&
22826 { ac_try
='test -s conftest.$ac_objext'
22827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22828 (eval $ac_try) 2>&5
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); }; }; then
22832 ac_cv_header_jpeglib_h
=yes
22834 echo "$as_me: failed program was:" >&5
22835 sed 's/^/| /' conftest.
$ac_ext >&5
22837 ac_cv_header_jpeglib_h
=no
22840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22844 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
22845 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
22847 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22848 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
22849 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
22850 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
22851 echo $ECHO_N "(cached) $ECHO_C" >&6
22853 ac_check_lib_save_LIBS
=$LIBS
22854 LIBS
="-ljpeg $LIBS"
22855 cat >conftest.
$ac_ext <<_ACEOF
22858 cat confdefs.h
>>conftest.
$ac_ext
22859 cat >>conftest.
$ac_ext <<_ACEOF
22860 /* end confdefs.h. */
22862 /* Override any gcc2 internal prototype to avoid an error. */
22866 /* We use char because int might match the return type of a gcc2
22867 builtin and then its argument prototype would still apply. */
22868 char jpeg_read_header ();
22872 jpeg_read_header ();
22877 rm -f conftest.
$ac_objext conftest
$ac_exeext
22878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22879 (eval $ac_link) 2>conftest.er1
22881 grep -v '^ *+' conftest.er1
>conftest.err
22883 cat conftest.err
>&5
22884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22885 (exit $ac_status); } &&
22886 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22888 (eval $ac_try) 2>&5
22890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891 (exit $ac_status); }; } &&
22892 { ac_try
='test -s conftest$ac_exeext'
22893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22894 (eval $ac_try) 2>&5
22896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 (exit $ac_status); }; }; then
22898 ac_cv_lib_jpeg_jpeg_read_header
=yes
22900 echo "$as_me: failed program was:" >&5
22901 sed 's/^/| /' conftest.
$ac_ext >&5
22903 ac_cv_lib_jpeg_jpeg_read_header
=no
22905 rm -f conftest.err conftest.
$ac_objext \
22906 conftest
$ac_exeext conftest.
$ac_ext
22907 LIBS
=$ac_check_lib_save_LIBS
22909 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22910 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
22911 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
22912 JPEG_LINK
=" -ljpeg"
22917 if test "x$JPEG_LINK" = "x" ; then
22918 if test "$wxUSE_LIBJPEG" = "sys" ; then
22919 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
22920 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
22921 { (exit 1); exit 1; }; }
22923 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
22924 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22925 wxUSE_LIBJPEG
=builtin
22936 TIFF_PREREQ_LINKS
=-lm
22937 if test "$wxUSE_LIBTIFF" != "no" ; then
22938 cat >>confdefs.h
<<\_ACEOF
22939 #define wxUSE_LIBTIFF 1
22943 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22944 if test "$wxUSE_LIBJPEG" = "sys"; then
22945 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
22947 if test "$wxUSE_ZLIB" = "sys"; then
22948 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22950 if test "${ac_cv_header_tiffio_h+set}" = set; then
22951 echo "$as_me:$LINENO: checking for tiffio.h" >&5
22952 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
22953 if test "${ac_cv_header_tiffio_h+set}" = set; then
22954 echo $ECHO_N "(cached) $ECHO_C" >&6
22956 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
22957 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
22959 # Is the header compilable?
22960 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
22961 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
22962 cat >conftest.
$ac_ext <<_ACEOF
22965 cat confdefs.h
>>conftest.
$ac_ext
22966 cat >>conftest.
$ac_ext <<_ACEOF
22967 /* end confdefs.h. */
22968 $ac_includes_default
22969 #include <tiffio.h>
22971 rm -f conftest.
$ac_objext
22972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22973 (eval $ac_compile) 2>conftest.er1
22975 grep -v '^ *+' conftest.er1
>conftest.err
22977 cat conftest.err
>&5
22978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22979 (exit $ac_status); } &&
22980 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22982 (eval $ac_try) 2>&5
22984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22985 (exit $ac_status); }; } &&
22986 { ac_try
='test -s conftest.$ac_objext'
22987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22988 (eval $ac_try) 2>&5
22990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22991 (exit $ac_status); }; }; then
22992 ac_header_compiler
=yes
22994 echo "$as_me: failed program was:" >&5
22995 sed 's/^/| /' conftest.
$ac_ext >&5
22997 ac_header_compiler
=no
22999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23000 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23001 echo "${ECHO_T}$ac_header_compiler" >&6
23003 # Is the header present?
23004 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23005 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23006 cat >conftest.
$ac_ext <<_ACEOF
23009 cat confdefs.h
>>conftest.
$ac_ext
23010 cat >>conftest.
$ac_ext <<_ACEOF
23011 /* end confdefs.h. */
23012 #include <tiffio.h>
23014 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23015 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23017 grep -v '^ *+' conftest.er1
>conftest.err
23019 cat conftest.err
>&5
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); } >/dev
/null
; then
23022 if test -s conftest.err
; then
23023 ac_cpp_err
=$ac_c_preproc_warn_flag
23024 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23031 if test -z "$ac_cpp_err"; then
23032 ac_header_preproc
=yes
23034 echo "$as_me: failed program was:" >&5
23035 sed 's/^/| /' conftest.
$ac_ext >&5
23037 ac_header_preproc
=no
23039 rm -f conftest.err conftest.
$ac_ext
23040 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23041 echo "${ECHO_T}$ac_header_preproc" >&6
23043 # So? What about this header?
23044 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23046 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23047 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23048 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23049 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23050 ac_header_preproc
=yes
23053 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23054 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23055 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23056 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23057 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23058 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23059 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23060 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23061 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23062 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23063 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23064 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23067 ## ----------------------------------------- ##
23068 ## Report this to wx-dev@lists.wxwidgets.org ##
23069 ## ----------------------------------------- ##
23072 sed "s/^/$as_me: WARNING: /" >&2
23075 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23076 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23077 if test "${ac_cv_header_tiffio_h+set}" = set; then
23078 echo $ECHO_N "(cached) $ECHO_C" >&6
23080 ac_cv_header_tiffio_h
=$ac_header_preproc
23082 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23083 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23086 if test $ac_cv_header_tiffio_h = yes; then
23088 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23089 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23090 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23091 echo $ECHO_N "(cached) $ECHO_C" >&6
23093 ac_check_lib_save_LIBS
=$LIBS
23094 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23095 cat >conftest.
$ac_ext <<_ACEOF
23098 cat confdefs.h
>>conftest.
$ac_ext
23099 cat >>conftest.
$ac_ext <<_ACEOF
23100 /* end confdefs.h. */
23102 /* Override any gcc2 internal prototype to avoid an error. */
23106 /* We use char because int might match the return type of a gcc2
23107 builtin and then its argument prototype would still apply. */
23117 rm -f conftest.
$ac_objext conftest
$ac_exeext
23118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23119 (eval $ac_link) 2>conftest.er1
23121 grep -v '^ *+' conftest.er1
>conftest.err
23123 cat conftest.err
>&5
23124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23125 (exit $ac_status); } &&
23126 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23128 (eval $ac_try) 2>&5
23130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23131 (exit $ac_status); }; } &&
23132 { ac_try
='test -s conftest$ac_exeext'
23133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23134 (eval $ac_try) 2>&5
23136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23137 (exit $ac_status); }; }; then
23138 ac_cv_lib_tiff_TIFFError
=yes
23140 echo "$as_me: failed program was:" >&5
23141 sed 's/^/| /' conftest.
$ac_ext >&5
23143 ac_cv_lib_tiff_TIFFError
=no
23145 rm -f conftest.err conftest.
$ac_objext \
23146 conftest
$ac_exeext conftest.
$ac_ext
23147 LIBS
=$ac_check_lib_save_LIBS
23149 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23150 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23151 if test $ac_cv_lib_tiff_TIFFError = yes; then
23152 TIFF_LINK
=" -ltiff"
23161 if test "x$TIFF_LINK" = "x" ; then
23162 if test "$wxUSE_LIBTIFF" = "sys" ; then
23163 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23164 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23165 { (exit 1); exit 1; }; }
23167 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23168 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23169 wxUSE_LIBTIFF
=builtin
23178 if test "$wxUSE_EXPAT" != "no"; then
23180 cat >>confdefs.h
<<\_ACEOF
23181 #define wxUSE_EXPAT 1
23184 cat >>confdefs.h
<<\_ACEOF
23185 #define wxUSE_XML 1
23189 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23190 if test "${ac_cv_header_expat_h+set}" = set; then
23191 echo "$as_me:$LINENO: checking for expat.h" >&5
23192 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23193 if test "${ac_cv_header_expat_h+set}" = set; then
23194 echo $ECHO_N "(cached) $ECHO_C" >&6
23196 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23197 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23199 # Is the header compilable?
23200 echo "$as_me:$LINENO: checking expat.h usability" >&5
23201 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23202 cat >conftest.
$ac_ext <<_ACEOF
23205 cat confdefs.h
>>conftest.
$ac_ext
23206 cat >>conftest.
$ac_ext <<_ACEOF
23207 /* end confdefs.h. */
23208 $ac_includes_default
23211 rm -f conftest.
$ac_objext
23212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23213 (eval $ac_compile) 2>conftest.er1
23215 grep -v '^ *+' conftest.er1
>conftest.err
23217 cat conftest.err
>&5
23218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23219 (exit $ac_status); } &&
23220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23222 (eval $ac_try) 2>&5
23224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23225 (exit $ac_status); }; } &&
23226 { ac_try
='test -s conftest.$ac_objext'
23227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23228 (eval $ac_try) 2>&5
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); }; }; then
23232 ac_header_compiler
=yes
23234 echo "$as_me: failed program was:" >&5
23235 sed 's/^/| /' conftest.
$ac_ext >&5
23237 ac_header_compiler
=no
23239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23240 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23241 echo "${ECHO_T}$ac_header_compiler" >&6
23243 # Is the header present?
23244 echo "$as_me:$LINENO: checking expat.h presence" >&5
23245 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23246 cat >conftest.
$ac_ext <<_ACEOF
23249 cat confdefs.h
>>conftest.
$ac_ext
23250 cat >>conftest.
$ac_ext <<_ACEOF
23251 /* end confdefs.h. */
23254 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23255 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23257 grep -v '^ *+' conftest.er1
>conftest.err
23259 cat conftest.err
>&5
23260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23261 (exit $ac_status); } >/dev
/null
; then
23262 if test -s conftest.err
; then
23263 ac_cpp_err
=$ac_c_preproc_warn_flag
23264 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23271 if test -z "$ac_cpp_err"; then
23272 ac_header_preproc
=yes
23274 echo "$as_me: failed program was:" >&5
23275 sed 's/^/| /' conftest.
$ac_ext >&5
23277 ac_header_preproc
=no
23279 rm -f conftest.err conftest.
$ac_ext
23280 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23281 echo "${ECHO_T}$ac_header_preproc" >&6
23283 # So? What about this header?
23284 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23286 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23287 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23288 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23289 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23290 ac_header_preproc
=yes
23293 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23294 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23295 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23296 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23297 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23298 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23299 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23300 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23301 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23302 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23303 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23304 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23307 ## ----------------------------------------- ##
23308 ## Report this to wx-dev@lists.wxwidgets.org ##
23309 ## ----------------------------------------- ##
23312 sed "s/^/$as_me: WARNING: /" >&2
23315 echo "$as_me:$LINENO: checking for expat.h" >&5
23316 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23317 if test "${ac_cv_header_expat_h+set}" = set; then
23318 echo $ECHO_N "(cached) $ECHO_C" >&6
23320 ac_cv_header_expat_h
=$ac_header_preproc
23322 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23323 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23326 if test $ac_cv_header_expat_h = yes; then
23331 if test "x$found_expat_h" = "x1"; then
23332 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23333 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23334 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23335 echo $ECHO_N "(cached) $ECHO_C" >&6
23341 ac_cpp
='$CXXCPP $CPPFLAGS'
23342 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23343 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23344 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23346 cat >conftest.
$ac_ext <<_ACEOF
23349 cat confdefs.h
>>conftest.
$ac_ext
23350 cat >>conftest.
$ac_ext <<_ACEOF
23351 /* end confdefs.h. */
23361 rm -f conftest.
$ac_objext
23362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23363 (eval $ac_compile) 2>conftest.er1
23365 grep -v '^ *+' conftest.er1
>conftest.err
23367 cat conftest.err
>&5
23368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23369 (exit $ac_status); } &&
23370 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23372 (eval $ac_try) 2>&5
23374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23375 (exit $ac_status); }; } &&
23376 { ac_try
='test -s conftest.$ac_objext'
23377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23378 (eval $ac_try) 2>&5
23380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23381 (exit $ac_status); }; }; then
23382 wx_cv_expat_is_not_broken
=yes
23384 echo "$as_me: failed program was:" >&5
23385 sed 's/^/| /' conftest.
$ac_ext >&5
23387 wx_cv_expat_is_not_broken
=no
23390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23392 ac_cpp
='$CPP $CPPFLAGS'
23393 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23394 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23395 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23400 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23401 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23402 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23403 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23404 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23405 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23406 echo $ECHO_N "(cached) $ECHO_C" >&6
23408 ac_check_lib_save_LIBS
=$LIBS
23409 LIBS
="-lexpat $LIBS"
23410 cat >conftest.
$ac_ext <<_ACEOF
23413 cat confdefs.h
>>conftest.
$ac_ext
23414 cat >>conftest.
$ac_ext <<_ACEOF
23415 /* end confdefs.h. */
23417 /* Override any gcc2 internal prototype to avoid an error. */
23421 /* We use char because int might match the return type of a gcc2
23422 builtin and then its argument prototype would still apply. */
23423 char XML_ParserCreate ();
23427 XML_ParserCreate ();
23432 rm -f conftest.
$ac_objext conftest
$ac_exeext
23433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23434 (eval $ac_link) 2>conftest.er1
23436 grep -v '^ *+' conftest.er1
>conftest.err
23438 cat conftest.err
>&5
23439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23440 (exit $ac_status); } &&
23441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23443 (eval $ac_try) 2>&5
23445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23446 (exit $ac_status); }; } &&
23447 { ac_try
='test -s conftest$ac_exeext'
23448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23449 (eval $ac_try) 2>&5
23451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23452 (exit $ac_status); }; }; then
23453 ac_cv_lib_expat_XML_ParserCreate
=yes
23455 echo "$as_me: failed program was:" >&5
23456 sed 's/^/| /' conftest.
$ac_ext >&5
23458 ac_cv_lib_expat_XML_ParserCreate
=no
23460 rm -f conftest.err conftest.
$ac_objext \
23461 conftest
$ac_exeext conftest.
$ac_ext
23462 LIBS
=$ac_check_lib_save_LIBS
23464 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23465 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23466 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23467 EXPAT_LINK
=" -lexpat"
23472 if test "x$EXPAT_LINK" = "x" ; then
23473 if test "$wxUSE_EXPAT" = "sys" ; then
23474 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
23475 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
23476 { (exit 1); exit 1; }; }
23478 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
23479 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23480 wxUSE_EXPAT
=builtin
23486 if test "$wxUSE_EXPAT" = "builtin" ; then
23489 subdirs
="$subdirs src/expat"
23496 if test "$wxUSE_LIBMSPACK" != "no"; then
23497 if test "${ac_cv_header_mspack_h+set}" = set; then
23498 echo "$as_me:$LINENO: checking for mspack.h" >&5
23499 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23500 if test "${ac_cv_header_mspack_h+set}" = set; then
23501 echo $ECHO_N "(cached) $ECHO_C" >&6
23503 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23504 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23506 # Is the header compilable?
23507 echo "$as_me:$LINENO: checking mspack.h usability" >&5
23508 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
23509 cat >conftest.
$ac_ext <<_ACEOF
23512 cat confdefs.h
>>conftest.
$ac_ext
23513 cat >>conftest.
$ac_ext <<_ACEOF
23514 /* end confdefs.h. */
23515 $ac_includes_default
23516 #include <mspack.h>
23518 rm -f conftest.
$ac_objext
23519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23520 (eval $ac_compile) 2>conftest.er1
23522 grep -v '^ *+' conftest.er1
>conftest.err
23524 cat conftest.err
>&5
23525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23526 (exit $ac_status); } &&
23527 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23529 (eval $ac_try) 2>&5
23531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23532 (exit $ac_status); }; } &&
23533 { ac_try
='test -s conftest.$ac_objext'
23534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23535 (eval $ac_try) 2>&5
23537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23538 (exit $ac_status); }; }; then
23539 ac_header_compiler
=yes
23541 echo "$as_me: failed program was:" >&5
23542 sed 's/^/| /' conftest.
$ac_ext >&5
23544 ac_header_compiler
=no
23546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23548 echo "${ECHO_T}$ac_header_compiler" >&6
23550 # Is the header present?
23551 echo "$as_me:$LINENO: checking mspack.h presence" >&5
23552 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
23553 cat >conftest.
$ac_ext <<_ACEOF
23556 cat confdefs.h
>>conftest.
$ac_ext
23557 cat >>conftest.
$ac_ext <<_ACEOF
23558 /* end confdefs.h. */
23559 #include <mspack.h>
23561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23562 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23564 grep -v '^ *+' conftest.er1
>conftest.err
23566 cat conftest.err
>&5
23567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23568 (exit $ac_status); } >/dev
/null
; then
23569 if test -s conftest.err
; then
23570 ac_cpp_err
=$ac_c_preproc_warn_flag
23571 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23578 if test -z "$ac_cpp_err"; then
23579 ac_header_preproc
=yes
23581 echo "$as_me: failed program was:" >&5
23582 sed 's/^/| /' conftest.
$ac_ext >&5
23584 ac_header_preproc
=no
23586 rm -f conftest.err conftest.
$ac_ext
23587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23588 echo "${ECHO_T}$ac_header_preproc" >&6
23590 # So? What about this header?
23591 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23593 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
23594 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23595 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
23596 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
23597 ac_header_preproc
=yes
23600 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
23601 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
23602 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
23603 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
23604 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
23605 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
23606 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
23607 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
23608 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
23609 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
23610 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
23611 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
23614 ## ----------------------------------------- ##
23615 ## Report this to wx-dev@lists.wxwidgets.org ##
23616 ## ----------------------------------------- ##
23619 sed "s/^/$as_me: WARNING: /" >&2
23622 echo "$as_me:$LINENO: checking for mspack.h" >&5
23623 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23624 if test "${ac_cv_header_mspack_h+set}" = set; then
23625 echo $ECHO_N "(cached) $ECHO_C" >&6
23627 ac_cv_header_mspack_h
=$ac_header_preproc
23629 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23630 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23633 if test $ac_cv_header_mspack_h = yes; then
23638 if test "x$found_mspack_h" = "x1"; then
23639 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
23640 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
23641 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
23642 echo $ECHO_N "(cached) $ECHO_C" >&6
23644 ac_check_lib_save_LIBS
=$LIBS
23645 LIBS
="-lmspack $LIBS"
23646 cat >conftest.
$ac_ext <<_ACEOF
23649 cat confdefs.h
>>conftest.
$ac_ext
23650 cat >>conftest.
$ac_ext <<_ACEOF
23651 /* end confdefs.h. */
23653 /* Override any gcc2 internal prototype to avoid an error. */
23657 /* We use char because int might match the return type of a gcc2
23658 builtin and then its argument prototype would still apply. */
23659 char mspack_create_chm_decompressor ();
23663 mspack_create_chm_decompressor ();
23668 rm -f conftest.
$ac_objext conftest
$ac_exeext
23669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23670 (eval $ac_link) 2>conftest.er1
23672 grep -v '^ *+' conftest.er1
>conftest.err
23674 cat conftest.err
>&5
23675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23676 (exit $ac_status); } &&
23677 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23679 (eval $ac_try) 2>&5
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); }; } &&
23683 { ac_try
='test -s conftest$ac_exeext'
23684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23685 (eval $ac_try) 2>&5
23687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688 (exit $ac_status); }; }; then
23689 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
23691 echo "$as_me: failed program was:" >&5
23692 sed 's/^/| /' conftest.
$ac_ext >&5
23694 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
23696 rm -f conftest.err conftest.
$ac_objext \
23697 conftest
$ac_exeext conftest.
$ac_ext
23698 LIBS
=$ac_check_lib_save_LIBS
23700 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23701 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
23702 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
23703 MSPACK_LINK
=" -lmspack"
23707 if test "x$MSPACK_LINK" = "x" ; then
23712 if test "$wxUSE_LIBMSPACK" != "no"; then
23713 cat >>confdefs.h
<<\_ACEOF
23714 #define wxUSE_LIBMSPACK 1
23728 if test "$USE_WIN32" = 1 ; then
23730 for ac_header
in w32api.h
23732 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23734 echo "$as_me:$LINENO: checking for $ac_header" >&5
23735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23737 echo $ECHO_N "(cached) $ECHO_C" >&6
23739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23742 # Is the header compilable?
23743 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23744 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23745 cat >conftest.
$ac_ext <<_ACEOF
23748 cat confdefs.h
>>conftest.
$ac_ext
23749 cat >>conftest.
$ac_ext <<_ACEOF
23750 /* end confdefs.h. */
23751 $ac_includes_default
23752 #include <$ac_header>
23754 rm -f conftest.
$ac_objext
23755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23756 (eval $ac_compile) 2>conftest.er1
23758 grep -v '^ *+' conftest.er1
>conftest.err
23760 cat conftest.err
>&5
23761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23762 (exit $ac_status); } &&
23763 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23765 (eval $ac_try) 2>&5
23767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23768 (exit $ac_status); }; } &&
23769 { ac_try
='test -s conftest.$ac_objext'
23770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23771 (eval $ac_try) 2>&5
23773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23774 (exit $ac_status); }; }; then
23775 ac_header_compiler
=yes
23777 echo "$as_me: failed program was:" >&5
23778 sed 's/^/| /' conftest.
$ac_ext >&5
23780 ac_header_compiler
=no
23782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23783 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23784 echo "${ECHO_T}$ac_header_compiler" >&6
23786 # Is the header present?
23787 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23788 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23789 cat >conftest.
$ac_ext <<_ACEOF
23792 cat confdefs.h
>>conftest.
$ac_ext
23793 cat >>conftest.
$ac_ext <<_ACEOF
23794 /* end confdefs.h. */
23795 #include <$ac_header>
23797 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23798 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23800 grep -v '^ *+' conftest.er1
>conftest.err
23802 cat conftest.err
>&5
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); } >/dev
/null
; then
23805 if test -s conftest.err
; then
23806 ac_cpp_err
=$ac_c_preproc_warn_flag
23807 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23814 if test -z "$ac_cpp_err"; then
23815 ac_header_preproc
=yes
23817 echo "$as_me: failed program was:" >&5
23818 sed 's/^/| /' conftest.
$ac_ext >&5
23820 ac_header_preproc
=no
23822 rm -f conftest.err conftest.
$ac_ext
23823 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23824 echo "${ECHO_T}$ac_header_preproc" >&6
23826 # So? What about this header?
23827 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23829 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23830 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23832 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23833 ac_header_preproc
=yes
23836 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23837 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23838 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23839 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23840 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23841 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23842 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23843 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23845 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23846 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23847 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23850 ## ----------------------------------------- ##
23851 ## Report this to wx-dev@lists.wxwidgets.org ##
23852 ## ----------------------------------------- ##
23855 sed "s/^/$as_me: WARNING: /" >&2
23858 echo "$as_me:$LINENO: checking for $ac_header" >&5
23859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23861 echo $ECHO_N "(cached) $ECHO_C" >&6
23863 eval "$as_ac_Header=\$ac_header_preproc"
23865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23866 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23869 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23870 cat >>confdefs.h
<<_ACEOF
23871 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23878 if test "${ac_cv_header_windows_h+set}" = set; then
23879 echo "$as_me:$LINENO: checking for windows.h" >&5
23880 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
23881 if test "${ac_cv_header_windows_h+set}" = set; then
23882 echo $ECHO_N "(cached) $ECHO_C" >&6
23884 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
23885 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
23887 # Is the header compilable?
23888 echo "$as_me:$LINENO: checking windows.h usability" >&5
23889 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
23890 cat >conftest.
$ac_ext <<_ACEOF
23893 cat confdefs.h
>>conftest.
$ac_ext
23894 cat >>conftest.
$ac_ext <<_ACEOF
23895 /* end confdefs.h. */
23896 $ac_includes_default
23897 #include <windows.h>
23899 rm -f conftest.
$ac_objext
23900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23901 (eval $ac_compile) 2>conftest.er1
23903 grep -v '^ *+' conftest.er1
>conftest.err
23905 cat conftest.err
>&5
23906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23907 (exit $ac_status); } &&
23908 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23910 (eval $ac_try) 2>&5
23912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23913 (exit $ac_status); }; } &&
23914 { ac_try
='test -s conftest.$ac_objext'
23915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23916 (eval $ac_try) 2>&5
23918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23919 (exit $ac_status); }; }; then
23920 ac_header_compiler
=yes
23922 echo "$as_me: failed program was:" >&5
23923 sed 's/^/| /' conftest.
$ac_ext >&5
23925 ac_header_compiler
=no
23927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23928 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23929 echo "${ECHO_T}$ac_header_compiler" >&6
23931 # Is the header present?
23932 echo "$as_me:$LINENO: checking windows.h presence" >&5
23933 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
23934 cat >conftest.
$ac_ext <<_ACEOF
23937 cat confdefs.h
>>conftest.
$ac_ext
23938 cat >>conftest.
$ac_ext <<_ACEOF
23939 /* end confdefs.h. */
23940 #include <windows.h>
23942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23943 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23945 grep -v '^ *+' conftest.er1
>conftest.err
23947 cat conftest.err
>&5
23948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23949 (exit $ac_status); } >/dev
/null
; then
23950 if test -s conftest.err
; then
23951 ac_cpp_err
=$ac_c_preproc_warn_flag
23952 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23959 if test -z "$ac_cpp_err"; then
23960 ac_header_preproc
=yes
23962 echo "$as_me: failed program was:" >&5
23963 sed 's/^/| /' conftest.
$ac_ext >&5
23965 ac_header_preproc
=no
23967 rm -f conftest.err conftest.
$ac_ext
23968 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23969 echo "${ECHO_T}$ac_header_preproc" >&6
23971 # So? What about this header?
23972 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23974 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
23975 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23976 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
23977 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
23978 ac_header_preproc
=yes
23981 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
23982 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
23983 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
23984 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
23985 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
23986 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
23987 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
23988 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
23989 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
23990 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
23991 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
23992 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
23995 ## ----------------------------------------- ##
23996 ## Report this to wx-dev@lists.wxwidgets.org ##
23997 ## ----------------------------------------- ##
24000 sed "s/^/$as_me: WARNING: /" >&2
24003 echo "$as_me:$LINENO: checking for windows.h" >&5
24004 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24005 if test "${ac_cv_header_windows_h+set}" = set; then
24006 echo $ECHO_N "(cached) $ECHO_C" >&6
24008 ac_cv_header_windows_h
=$ac_header_preproc
24010 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24011 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24014 if test $ac_cv_header_windows_h = yes; then
24018 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24019 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24020 { (exit 1); exit 1; }; }
24026 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24028 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24029 LIBS
="$LIBS -loleacc"
24034 LIBS
="$LIBS -lkernel32 -luser32"
24035 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
24038 if test "$wxUSE_ODBC" = "sys" ; then
24041 if test "$wxUSE_ODBC" = "yes" ; then
24042 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
24043 cat >>confdefs.h
<<\_ACEOF
24044 #define wxUSE_ODBC 1
24049 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24050 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
24052 WIN32INSTALL
=win32install
24055 if test "$wxUSE_GUI" = "yes"; then
24065 if test "$wxUSE_COCOA" = 1 ; then
24066 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24067 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24068 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24069 wxUSE_PRINTING_ARCHITECTURE
=no
24071 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24072 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24073 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24074 wxUSE_DRAG_AND_DROP
=no
24076 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24077 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24078 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24083 if test "$wxUSE_MSW" = 1 ; then
24089 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24093 if test "$wxUSE_GTK" = 1; then
24094 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24095 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24097 gtk_version_cached
=1
24098 if test "${wx_cv_lib_gtk+set}" = set; then
24099 echo $ECHO_N "(cached) $ECHO_C" >&6
24102 gtk_version_cached
=0
24103 echo "$as_me:$LINENO: result: " >&5
24104 echo "${ECHO_T}" >&6
24107 if test "$wxUSE_THREADS" = "yes"; then
24108 GTK_MODULES
=gthread
24112 if test "x$wxUSE_GTK2" = "xyes"; then
24113 # Check whether --enable-gtktest or --disable-gtktest was given.
24114 if test "${enable_gtktest+set}" = set; then
24115 enableval
="$enable_gtktest"
24121 pkg_config_args
=gtk
+-2.0
24122 for module
in .
$GTK_MODULES
24126 pkg_config_args
="$pkg_config_args gthread-2.0"
24133 # Extract the first word of "pkg-config", so it can be a program name with args.
24134 set dummy pkg
-config; ac_word
=$2
24135 echo "$as_me:$LINENO: checking for $ac_word" >&5
24136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24137 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24138 echo $ECHO_N "(cached) $ECHO_C" >&6
24140 case $PKG_CONFIG in
24142 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24146 for as_dir
in $PATH
24149 test -z "$as_dir" && as_dir
=.
24150 for ac_exec_ext
in '' $ac_executable_extensions; do
24151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24152 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24159 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24163 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24165 if test -n "$PKG_CONFIG"; then
24166 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24167 echo "${ECHO_T}$PKG_CONFIG" >&6
24169 echo "$as_me:$LINENO: result: no" >&5
24170 echo "${ECHO_T}no" >&6
24174 if test x
$PKG_CONFIG != xno
; then
24175 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
24178 echo "*** pkg-config too old; version 0.7 or better required."
24186 min_gtk_version
=2.0.0
24187 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24188 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24190 if test x
$PKG_CONFIG != xno
; then
24191 ## don't try to run the test against uninstalled libtool libs
24192 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24193 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24197 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24204 if test x
"$no_gtk" = x
; then
24205 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
24206 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
24207 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24208 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24209 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24210 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24211 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24212 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24213 if test "x$enable_gtktest" = "xyes" ; then
24214 ac_save_CFLAGS
="$CFLAGS"
24215 ac_save_LIBS
="$LIBS"
24216 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24217 LIBS
="$GTK_LIBS $LIBS"
24219 if test "$cross_compiling" = yes; then
24220 echo $ac_n "cross compiling; assumed OK... $ac_c"
24222 cat >conftest.
$ac_ext <<_ACEOF
24225 cat confdefs.h
>>conftest.
$ac_ext
24226 cat >>conftest.
$ac_ext <<_ACEOF
24227 /* end confdefs.h. */
24229 #include <gtk/gtk.h>
24231 #include <stdlib.h>
24236 int major, minor, micro;
24239 system ("touch conf.gtktest");
24241 /* HP/UX 9 (%@#!) writes to sscanf strings */
24242 tmp_version = g_strdup("$min_gtk_version");
24243 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24244 printf("%s, bad version string\n", "$min_gtk_version");
24248 if ((gtk_major_version != $gtk_config_major_version) ||
24249 (gtk_minor_version != $gtk_config_minor_version) ||
24250 (gtk_micro_version != $gtk_config_micro_version))
24252 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24253 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24254 gtk_major_version, gtk_minor_version, gtk_micro_version);
24255 printf ("*** was found! If pkg-config was correct, then it is best\n");
24256 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24257 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24258 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24259 printf("*** required on your system.\n");
24260 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24261 printf("*** to point to the correct configuration files\n");
24263 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24264 (gtk_minor_version != GTK_MINOR_VERSION) ||
24265 (gtk_micro_version != GTK_MICRO_VERSION))
24267 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24268 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24269 printf("*** library (version %d.%d.%d)\n",
24270 gtk_major_version, gtk_minor_version, gtk_micro_version);
24274 if ((gtk_major_version > major) ||
24275 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24276 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24282 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24283 gtk_major_version, gtk_minor_version, gtk_micro_version);
24284 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24285 major, minor, micro);
24286 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24288 printf("*** If you have already installed a sufficiently new version, this error\n");
24289 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24290 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24291 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24292 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24293 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24294 printf("*** so that the correct libraries are found at run-time))\n");
24301 rm -f conftest
$ac_exeext
24302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24303 (eval $ac_link) 2>&5
24305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24306 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24308 (eval $ac_try) 2>&5
24310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24311 (exit $ac_status); }; }; then
24314 echo "$as_me: program exited with status $ac_status" >&5
24315 echo "$as_me: failed program was:" >&5
24316 sed 's/^/| /' conftest.
$ac_ext >&5
24318 ( exit $ac_status )
24321 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24323 CFLAGS
="$ac_save_CFLAGS"
24324 LIBS
="$ac_save_LIBS"
24327 if test "x$no_gtk" = x
; then
24328 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24329 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24332 echo "$as_me:$LINENO: result: no" >&5
24333 echo "${ECHO_T}no" >&6
24334 if test "$PKG_CONFIG" = "no" ; then
24335 echo "*** A new enough version of pkg-config was not found."
24336 echo "*** See http://pkgconfig.sourceforge.net"
24338 if test -f conf.gtktest
; then
24341 echo "*** Could not run GTK+ test program, checking why..."
24342 ac_save_CFLAGS
="$CFLAGS"
24343 ac_save_LIBS
="$LIBS"
24344 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24345 LIBS
="$LIBS $GTK_LIBS"
24346 cat >conftest.
$ac_ext <<_ACEOF
24349 cat confdefs.h
>>conftest.
$ac_ext
24350 cat >>conftest.
$ac_ext <<_ACEOF
24351 /* end confdefs.h. */
24353 #include <gtk/gtk.h>
24359 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24364 rm -f conftest.
$ac_objext conftest
$ac_exeext
24365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24366 (eval $ac_link) 2>conftest.er1
24368 grep -v '^ *+' conftest.er1
>conftest.err
24370 cat conftest.err
>&5
24371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24372 (exit $ac_status); } &&
24373 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24375 (eval $ac_try) 2>&5
24377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24378 (exit $ac_status); }; } &&
24379 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
24385 echo "*** The test program compiled, but did not run. This usually means"
24386 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24387 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24388 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24389 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24390 echo "*** is required on your system"
24392 echo "*** If you have an old version installed, it is best to remove it, although"
24393 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24395 echo "$as_me: failed program was:" >&5
24396 sed 's/^/| /' conftest.
$ac_ext >&5
24398 echo "*** The test program failed to compile or link. See the file config.log for the"
24399 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24401 rm -f conftest.err conftest.
$ac_objext \
24402 conftest
$ac_exeext conftest.
$ac_ext
24403 CFLAGS
="$ac_save_CFLAGS"
24404 LIBS
="$ac_save_LIBS"
24417 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24418 if test "${with_gtk_prefix+set}" = set; then
24419 withval
="$with_gtk_prefix"
24420 gtk_config_prefix
="$withval"
24422 gtk_config_prefix
=""
24425 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24426 if test "${with_gtk_exec_prefix+set}" = set; then
24427 withval
="$with_gtk_exec_prefix"
24428 gtk_config_exec_prefix
="$withval"
24430 gtk_config_exec_prefix
=""
24432 # Check whether --enable-gtktest or --disable-gtktest was given.
24433 if test "${enable_gtktest+set}" = set; then
24434 enableval
="$enable_gtktest"
24440 for module
in .
$GTK_MODULES
24444 gtk_config_args
="$gtk_config_args gthread"
24449 if test x
$gtk_config_exec_prefix != x
; then
24450 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24451 if test x
${GTK_CONFIG+set} != xset
; then
24452 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24455 if test x
$gtk_config_prefix != x
; then
24456 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24457 if test x
${GTK_CONFIG+set} != xset
; then
24458 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24462 # Extract the first word of "gtk-config", so it can be a program name with args.
24463 set dummy gtk
-config; ac_word
=$2
24464 echo "$as_me:$LINENO: checking for $ac_word" >&5
24465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24466 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24467 echo $ECHO_N "(cached) $ECHO_C" >&6
24469 case $GTK_CONFIG in
24471 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24475 for as_dir
in $PATH
24478 test -z "$as_dir" && as_dir
=.
24479 for ac_exec_ext
in '' $ac_executable_extensions; do
24480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24481 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24488 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24492 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24494 if test -n "$GTK_CONFIG"; then
24495 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24496 echo "${ECHO_T}$GTK_CONFIG" >&6
24498 echo "$as_me:$LINENO: result: no" >&5
24499 echo "${ECHO_T}no" >&6
24502 min_gtk_version
=1.2.7
24503 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24504 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24506 if test "$GTK_CONFIG" = "no" ; then
24509 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24510 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24511 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24512 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24513 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24514 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24515 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24516 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24517 if test "x$enable_gtktest" = "xyes" ; then
24518 ac_save_CFLAGS
="$CFLAGS"
24519 ac_save_LIBS
="$LIBS"
24520 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24521 LIBS
="$GTK_LIBS $LIBS"
24523 if test "$cross_compiling" = yes; then
24524 echo $ac_n "cross compiling; assumed OK... $ac_c"
24526 cat >conftest.
$ac_ext <<_ACEOF
24529 cat confdefs.h
>>conftest.
$ac_ext
24530 cat >>conftest.
$ac_ext <<_ACEOF
24531 /* end confdefs.h. */
24533 #include <gtk/gtk.h>
24535 #include <stdlib.h>
24540 int major, minor, micro;
24543 system ("touch conf.gtktest");
24545 /* HP/UX 9 (%@#!) writes to sscanf strings */
24546 tmp_version = g_strdup("$min_gtk_version");
24547 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24548 printf("%s, bad version string\n", "$min_gtk_version");
24552 if ((gtk_major_version != $gtk_config_major_version) ||
24553 (gtk_minor_version != $gtk_config_minor_version) ||
24554 (gtk_micro_version != $gtk_config_micro_version))
24556 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24557 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24558 gtk_major_version, gtk_minor_version, gtk_micro_version);
24559 printf ("*** was found! If gtk-config was correct, then it is best\n");
24560 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24561 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24562 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24563 printf("*** required on your system.\n");
24564 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24565 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24566 printf("*** before re-running configure\n");
24568 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24569 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24570 (gtk_minor_version != GTK_MINOR_VERSION) ||
24571 (gtk_micro_version != GTK_MICRO_VERSION))
24573 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24574 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24575 printf("*** library (version %d.%d.%d)\n",
24576 gtk_major_version, gtk_minor_version, gtk_micro_version);
24578 #endif /* defined (GTK_MAJOR_VERSION) ... */
24581 if ((gtk_major_version > major) ||
24582 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24583 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24589 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24590 gtk_major_version, gtk_minor_version, gtk_micro_version);
24591 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24592 major, minor, micro);
24593 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24595 printf("*** If you have already installed a sufficiently new version, this error\n");
24596 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24597 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24598 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24599 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24600 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24601 printf("*** so that the correct libraries are found at run-time))\n");
24608 rm -f conftest
$ac_exeext
24609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24610 (eval $ac_link) 2>&5
24612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24613 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24615 (eval $ac_try) 2>&5
24617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24618 (exit $ac_status); }; }; then
24621 echo "$as_me: program exited with status $ac_status" >&5
24622 echo "$as_me: failed program was:" >&5
24623 sed 's/^/| /' conftest.
$ac_ext >&5
24625 ( exit $ac_status )
24628 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24630 CFLAGS
="$ac_save_CFLAGS"
24631 LIBS
="$ac_save_LIBS"
24634 if test "x$no_gtk" = x
; then
24635 echo "$as_me:$LINENO: result: yes" >&5
24636 echo "${ECHO_T}yes" >&6
24637 wx_cv_lib_gtk
=1.2.7
24639 echo "$as_me:$LINENO: result: no" >&5
24640 echo "${ECHO_T}no" >&6
24641 if test "$GTK_CONFIG" = "no" ; then
24642 echo "*** The gtk-config script installed by GTK could not be found"
24643 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24644 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24645 echo "*** full path to gtk-config."
24647 if test -f conf.gtktest
; then
24650 echo "*** Could not run GTK test program, checking why..."
24651 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24652 LIBS
="$LIBS $GTK_LIBS"
24653 cat >conftest.
$ac_ext <<_ACEOF
24656 cat confdefs.h
>>conftest.
$ac_ext
24657 cat >>conftest.
$ac_ext <<_ACEOF
24658 /* end confdefs.h. */
24660 #include <gtk/gtk.h>
24666 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24671 rm -f conftest.
$ac_objext conftest
$ac_exeext
24672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24673 (eval $ac_link) 2>conftest.er1
24675 grep -v '^ *+' conftest.er1
>conftest.err
24677 cat conftest.err
>&5
24678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24679 (exit $ac_status); } &&
24680 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24682 (eval $ac_try) 2>&5
24684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24685 (exit $ac_status); }; } &&
24686 { ac_try
='test -s conftest$ac_exeext'
24687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24688 (eval $ac_try) 2>&5
24690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24691 (exit $ac_status); }; }; then
24692 echo "*** The test program compiled, but did not run. This usually means"
24693 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24694 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24695 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24696 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24697 echo "*** is required on your system"
24699 echo "*** If you have an old version installed, it is best to remove it, although"
24700 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24702 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24703 echo "*** came with the system with the command"
24705 echo "*** rpm --erase --nodeps gtk gtk-devel"
24707 echo "$as_me: failed program was:" >&5
24708 sed 's/^/| /' conftest.
$ac_ext >&5
24710 echo "*** The test program failed to compile or link. See the file config.log for the"
24711 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
24712 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24713 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24715 rm -f conftest.err conftest.
$ac_objext \
24716 conftest
$ac_exeext conftest.
$ac_ext
24717 CFLAGS
="$ac_save_CFLAGS"
24718 LIBS
="$ac_save_LIBS"
24730 if test -z "$wx_cv_lib_gtk"; then
24732 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24733 if test "${with_gtk_prefix+set}" = set; then
24734 withval
="$with_gtk_prefix"
24735 gtk_config_prefix
="$withval"
24737 gtk_config_prefix
=""
24740 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24741 if test "${with_gtk_exec_prefix+set}" = set; then
24742 withval
="$with_gtk_exec_prefix"
24743 gtk_config_exec_prefix
="$withval"
24745 gtk_config_exec_prefix
=""
24747 # Check whether --enable-gtktest or --disable-gtktest was given.
24748 if test "${enable_gtktest+set}" = set; then
24749 enableval
="$enable_gtktest"
24755 for module
in .
$GTK_MODULES
24759 gtk_config_args
="$gtk_config_args gthread"
24764 if test x
$gtk_config_exec_prefix != x
; then
24765 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24766 if test x
${GTK_CONFIG+set} != xset
; then
24767 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24770 if test x
$gtk_config_prefix != x
; then
24771 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24772 if test x
${GTK_CONFIG+set} != xset
; then
24773 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24777 # Extract the first word of "gtk-config", so it can be a program name with args.
24778 set dummy gtk
-config; ac_word
=$2
24779 echo "$as_me:$LINENO: checking for $ac_word" >&5
24780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24781 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24782 echo $ECHO_N "(cached) $ECHO_C" >&6
24784 case $GTK_CONFIG in
24786 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24790 for as_dir
in $PATH
24793 test -z "$as_dir" && as_dir
=.
24794 for ac_exec_ext
in '' $ac_executable_extensions; do
24795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24796 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24803 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24807 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24809 if test -n "$GTK_CONFIG"; then
24810 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24811 echo "${ECHO_T}$GTK_CONFIG" >&6
24813 echo "$as_me:$LINENO: result: no" >&5
24814 echo "${ECHO_T}no" >&6
24817 min_gtk_version
=1.2.3
24818 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24819 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24821 if test "$GTK_CONFIG" = "no" ; then
24824 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24825 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24826 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24827 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24828 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24829 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24830 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24831 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24832 if test "x$enable_gtktest" = "xyes" ; then
24833 ac_save_CFLAGS
="$CFLAGS"
24834 ac_save_LIBS
="$LIBS"
24835 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24836 LIBS
="$GTK_LIBS $LIBS"
24838 if test "$cross_compiling" = yes; then
24839 echo $ac_n "cross compiling; assumed OK... $ac_c"
24841 cat >conftest.
$ac_ext <<_ACEOF
24844 cat confdefs.h
>>conftest.
$ac_ext
24845 cat >>conftest.
$ac_ext <<_ACEOF
24846 /* end confdefs.h. */
24848 #include <gtk/gtk.h>
24850 #include <stdlib.h>
24855 int major, minor, micro;
24858 system ("touch conf.gtktest");
24860 /* HP/UX 9 (%@#!) writes to sscanf strings */
24861 tmp_version = g_strdup("$min_gtk_version");
24862 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24863 printf("%s, bad version string\n", "$min_gtk_version");
24867 if ((gtk_major_version != $gtk_config_major_version) ||
24868 (gtk_minor_version != $gtk_config_minor_version) ||
24869 (gtk_micro_version != $gtk_config_micro_version))
24871 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24872 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24873 gtk_major_version, gtk_minor_version, gtk_micro_version);
24874 printf ("*** was found! If gtk-config was correct, then it is best\n");
24875 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24876 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24877 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24878 printf("*** required on your system.\n");
24879 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24880 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24881 printf("*** before re-running configure\n");
24883 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24884 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24885 (gtk_minor_version != GTK_MINOR_VERSION) ||
24886 (gtk_micro_version != GTK_MICRO_VERSION))
24888 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24889 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24890 printf("*** library (version %d.%d.%d)\n",
24891 gtk_major_version, gtk_minor_version, gtk_micro_version);
24893 #endif /* defined (GTK_MAJOR_VERSION) ... */
24896 if ((gtk_major_version > major) ||
24897 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24898 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24904 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24905 gtk_major_version, gtk_minor_version, gtk_micro_version);
24906 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24907 major, minor, micro);
24908 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24910 printf("*** If you have already installed a sufficiently new version, this error\n");
24911 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24912 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24913 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24914 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24915 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24916 printf("*** so that the correct libraries are found at run-time))\n");
24923 rm -f conftest
$ac_exeext
24924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24925 (eval $ac_link) 2>&5
24927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24928 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24930 (eval $ac_try) 2>&5
24932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24933 (exit $ac_status); }; }; then
24936 echo "$as_me: program exited with status $ac_status" >&5
24937 echo "$as_me: failed program was:" >&5
24938 sed 's/^/| /' conftest.
$ac_ext >&5
24940 ( exit $ac_status )
24943 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24945 CFLAGS
="$ac_save_CFLAGS"
24946 LIBS
="$ac_save_LIBS"
24949 if test "x$no_gtk" = x
; then
24950 echo "$as_me:$LINENO: result: yes" >&5
24951 echo "${ECHO_T}yes" >&6
24952 wx_cv_lib_gtk
=1.2.3
24954 echo "$as_me:$LINENO: result: no" >&5
24955 echo "${ECHO_T}no" >&6
24956 if test "$GTK_CONFIG" = "no" ; then
24957 echo "*** The gtk-config script installed by GTK could not be found"
24958 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24959 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24960 echo "*** full path to gtk-config."
24962 if test -f conf.gtktest
; then
24965 echo "*** Could not run GTK test program, checking why..."
24966 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24967 LIBS
="$LIBS $GTK_LIBS"
24968 cat >conftest.
$ac_ext <<_ACEOF
24971 cat confdefs.h
>>conftest.
$ac_ext
24972 cat >>conftest.
$ac_ext <<_ACEOF
24973 /* end confdefs.h. */
24975 #include <gtk/gtk.h>
24981 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24986 rm -f conftest.
$ac_objext conftest
$ac_exeext
24987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24988 (eval $ac_link) 2>conftest.er1
24990 grep -v '^ *+' conftest.er1
>conftest.err
24992 cat conftest.err
>&5
24993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24994 (exit $ac_status); } &&
24995 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24997 (eval $ac_try) 2>&5
24999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25000 (exit $ac_status); }; } &&
25001 { ac_try
='test -s conftest$ac_exeext'
25002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25003 (eval $ac_try) 2>&5
25005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25006 (exit $ac_status); }; }; then
25007 echo "*** The test program compiled, but did not run. This usually means"
25008 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25009 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25010 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25011 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25012 echo "*** is required on your system"
25014 echo "*** If you have an old version installed, it is best to remove it, although"
25015 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25017 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25018 echo "*** came with the system with the command"
25020 echo "*** rpm --erase --nodeps gtk gtk-devel"
25022 echo "$as_me: failed program was:" >&5
25023 sed 's/^/| /' conftest.
$ac_ext >&5
25025 echo "*** The test program failed to compile or link. See the file config.log for the"
25026 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25027 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25028 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25030 rm -f conftest.err conftest.
$ac_objext \
25031 conftest
$ac_exeext conftest.
$ac_ext
25032 CFLAGS
="$ac_save_CFLAGS"
25033 LIBS
="$ac_save_LIBS"
25047 if test -z "$wx_cv_lib_gtk"; then
25050 wx_cv_cflags_gtk
=$GTK_CFLAGS
25051 wx_cv_libs_gtk
=$GTK_LIBS
25058 if test "$gtk_version_cached" = 1; then
25059 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25060 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25063 case "$wx_cv_lib_gtk" in
25072 *) { { echo "$as_me:$LINENO: error:
25073 Please check that gtk-config is in path, the directory
25074 where GTK+ libraries are installed (returned by
25075 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
25076 equivalent variable and GTK+ is version 1.2.3 or above.
25078 echo "$as_me: error:
25079 Please check that gtk-config is in path, the directory
25080 where GTK+ libraries are installed (returned by
25081 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
25082 equivalent variable and GTK+ is version 1.2.3 or above.
25084 { (exit 1); exit 1; }; }
25088 if test "$WXGTK20" = 1; then
25089 save_CFLAGS
="$CFLAGS"
25091 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25092 LIBS
="$LIBS $GTK_LIBS"
25095 for ac_func
in pango_font_family_is_monospace
25097 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25098 echo "$as_me:$LINENO: checking for $ac_func" >&5
25099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25100 if eval "test \"\${$as_ac_var+set}\" = set"; then
25101 echo $ECHO_N "(cached) $ECHO_C" >&6
25103 cat >conftest.
$ac_ext <<_ACEOF
25106 cat confdefs.h
>>conftest.
$ac_ext
25107 cat >>conftest.
$ac_ext <<_ACEOF
25108 /* end confdefs.h. */
25109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25111 #define $ac_func innocuous_$ac_func
25113 /* System header to define __stub macros and hopefully few prototypes,
25114 which can conflict with char $ac_func (); below.
25115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25116 <limits.h> exists even on freestanding compilers. */
25119 # include <limits.h>
25121 # include <assert.h>
25126 /* Override any gcc2 internal prototype to avoid an error. */
25131 /* We use char because int might match the return type of a gcc2
25132 builtin and then its argument prototype would still apply. */
25134 /* The GNU C library defines this for functions which it implements
25135 to always fail with ENOSYS. Some functions are actually named
25136 something starting with __ and the normal name is an alias. */
25137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25140 char (*f) () = $ac_func;
25149 return f != $ac_func;
25154 rm -f conftest.
$ac_objext conftest
$ac_exeext
25155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25156 (eval $ac_link) 2>conftest.er1
25158 grep -v '^ *+' conftest.er1
>conftest.err
25160 cat conftest.err
>&5
25161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25162 (exit $ac_status); } &&
25163 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25165 (eval $ac_try) 2>&5
25167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25168 (exit $ac_status); }; } &&
25169 { ac_try
='test -s conftest$ac_exeext'
25170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25171 (eval $ac_try) 2>&5
25173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25174 (exit $ac_status); }; }; then
25175 eval "$as_ac_var=yes"
25177 echo "$as_me: failed program was:" >&5
25178 sed 's/^/| /' conftest.
$ac_ext >&5
25180 eval "$as_ac_var=no"
25182 rm -f conftest.err conftest.
$ac_objext \
25183 conftest
$ac_exeext conftest.
$ac_ext
25185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25187 if test `eval echo '${'$as_ac_var'}'` = yes; then
25188 cat >>confdefs.h
<<_ACEOF
25189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25196 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25197 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25198 cat >conftest.
$ac_ext <<_ACEOF
25201 cat confdefs.h
>>conftest.
$ac_ext
25202 cat >>conftest.
$ac_ext <<_ACEOF
25203 /* end confdefs.h. */
25205 #include <gtk/gtk.h>
25211 #if !GTK_CHECK_VERSION(2,4,0)
25212 #error "Not GTK+ 2.4"
25219 rm -f conftest.
$ac_objext
25220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25221 (eval $ac_compile) 2>conftest.er1
25223 grep -v '^ *+' conftest.er1
>conftest.err
25225 cat conftest.err
>&5
25226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25227 (exit $ac_status); } &&
25228 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25230 (eval $ac_try) 2>&5
25232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25233 (exit $ac_status); }; } &&
25234 { ac_try
='test -s conftest.$ac_objext'
25235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25236 (eval $ac_try) 2>&5
25238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25239 (exit $ac_status); }; }; then
25241 cat >>confdefs.h
<<\_ACEOF
25242 #define __WXGTK24__ 1
25245 echo "$as_me:$LINENO: result: yes" >&5
25246 echo "${ECHO_T}yes" >&6
25249 echo "$as_me: failed program was:" >&5
25250 sed 's/^/| /' conftest.
$ac_ext >&5
25253 echo "$as_me:$LINENO: result: no" >&5
25254 echo "${ECHO_T}no" >&6
25257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25259 CFLAGS
="$save_CFLAGS"
25262 if test "$wxUSE_UNICODE" = "yes"; then
25263 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25264 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25269 if test "$USE_DARWIN" != 1; then
25271 for ac_func
in poll
25273 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25274 echo "$as_me:$LINENO: checking for $ac_func" >&5
25275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25276 if eval "test \"\${$as_ac_var+set}\" = set"; then
25277 echo $ECHO_N "(cached) $ECHO_C" >&6
25279 cat >conftest.
$ac_ext <<_ACEOF
25282 cat confdefs.h
>>conftest.
$ac_ext
25283 cat >>conftest.
$ac_ext <<_ACEOF
25284 /* end confdefs.h. */
25285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25287 #define $ac_func innocuous_$ac_func
25289 /* System header to define __stub macros and hopefully few prototypes,
25290 which can conflict with char $ac_func (); below.
25291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25292 <limits.h> exists even on freestanding compilers. */
25295 # include <limits.h>
25297 # include <assert.h>
25302 /* Override any gcc2 internal prototype to avoid an error. */
25307 /* We use char because int might match the return type of a gcc2
25308 builtin and then its argument prototype would still apply. */
25310 /* The GNU C library defines this for functions which it implements
25311 to always fail with ENOSYS. Some functions are actually named
25312 something starting with __ and the normal name is an alias. */
25313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25316 char (*f) () = $ac_func;
25325 return f != $ac_func;
25330 rm -f conftest.
$ac_objext conftest
$ac_exeext
25331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25332 (eval $ac_link) 2>conftest.er1
25334 grep -v '^ *+' conftest.er1
>conftest.err
25336 cat conftest.err
>&5
25337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25338 (exit $ac_status); } &&
25339 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25341 (eval $ac_try) 2>&5
25343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25344 (exit $ac_status); }; } &&
25345 { ac_try
='test -s conftest$ac_exeext'
25346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25347 (eval $ac_try) 2>&5
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); }; }; then
25351 eval "$as_ac_var=yes"
25353 echo "$as_me: failed program was:" >&5
25354 sed 's/^/| /' conftest.
$ac_ext >&5
25356 eval "$as_ac_var=no"
25358 rm -f conftest.err conftest.
$ac_objext \
25359 conftest
$ac_exeext conftest.
$ac_ext
25361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25363 if test `eval echo '${'$as_ac_var'}'` = yes; then
25364 cat >>confdefs.h
<<_ACEOF
25365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25373 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
25374 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25376 AFMINSTALL
=afminstall
25380 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25381 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25382 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25383 echo $ECHO_N "(cached) $ECHO_C" >&6
25385 ac_check_lib_save_LIBS
=$LIBS
25387 cat >conftest.
$ac_ext <<_ACEOF
25390 cat confdefs.h
>>conftest.
$ac_ext
25391 cat >>conftest.
$ac_ext <<_ACEOF
25392 /* end confdefs.h. */
25394 /* Override any gcc2 internal prototype to avoid an error. */
25398 /* We use char because int might match the return type of a gcc2
25399 builtin and then its argument prototype would still apply. */
25400 char gdk_im_open ();
25409 rm -f conftest.
$ac_objext conftest
$ac_exeext
25410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25411 (eval $ac_link) 2>conftest.er1
25413 grep -v '^ *+' conftest.er1
>conftest.err
25415 cat conftest.err
>&5
25416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25417 (exit $ac_status); } &&
25418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25420 (eval $ac_try) 2>&5
25422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25423 (exit $ac_status); }; } &&
25424 { ac_try
='test -s conftest$ac_exeext'
25425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25426 (eval $ac_try) 2>&5
25428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25429 (exit $ac_status); }; }; then
25430 ac_cv_lib_gdk_gdk_im_open
=yes
25432 echo "$as_me: failed program was:" >&5
25433 sed 's/^/| /' conftest.
$ac_ext >&5
25435 ac_cv_lib_gdk_gdk_im_open
=no
25437 rm -f conftest.err conftest.
$ac_objext \
25438 conftest
$ac_exeext conftest.
$ac_ext
25439 LIBS
=$ac_check_lib_save_LIBS
25441 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
25442 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
25443 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
25444 cat >>confdefs.h
<<\_ACEOF
25452 if test "$wxUSE_GPE" = "yes"; then
25453 echo "$as_me:$LINENO: checking for gpewidget library" >&5
25454 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
25457 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25459 for ac_extension
in a so sl dylib
; do
25460 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
25461 ac_find_libraries
=$ac_dir
25467 if test "$ac_find_libraries" != "" ; then
25469 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25471 if test $result = 0; then
25474 ac_path_to_link
=" -L$ac_find_libraries"
25477 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
25479 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25480 echo "${ECHO_T}found at $ac_find_libraries" >&6
25482 echo "$as_me:$LINENO: result: not found" >&5
25483 echo "${ECHO_T}not found" >&6
25489 if test "$wxUSE_MGL" = 1; then
25490 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
25491 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
25492 if test "x$MGL_ROOT" = x
; then
25493 echo "$as_me:$LINENO: result: not found" >&5
25494 echo "${ECHO_T}not found" >&6
25495 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
25496 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
25497 { (exit 1); exit 1; }; }
25499 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
25500 echo "${ECHO_T}$MGL_ROOT" >&6
25503 echo "$as_me:$LINENO: checking for libmgl location" >&5
25504 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
25507 if test "x$wxUSE_SHARED" = xyes
; then
25508 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
25510 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
25514 mgl_os_candidates
="dos32/dj2"
25517 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
25518 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
25519 { (exit 1); exit 1; }; }
25525 for mgl_os_i
in $mgl_os_candidates ; do
25526 if test "x$mgl_os" = x
; then
25527 if test "$wxUSE_DEBUG_FLAG" = yes ; then
25528 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
25529 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
25534 if test "x$mgl_lib_type" = x
; then
25535 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
25536 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
25537 mgl_lib_type
=release
25544 if test "x$mgl_os" = x
; then
25545 echo "$as_me:$LINENO: result: not found" >&5
25546 echo "${ECHO_T}not found" >&6
25547 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
25548 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
25549 { (exit 1); exit 1; }; }
25551 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
25552 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
25554 wxUSE_UNIVERSAL
="yes"
25556 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
25557 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
25559 AFMINSTALL
=afminstall
25564 if test "$wxUSE_MICROWIN" = 1; then
25565 echo "$as_me:$LINENO: checking for MicroWindows" >&5
25566 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
25567 if test "x$MICROWINDOWS" = x
; then
25568 echo "$as_me:$LINENO: result: not found" >&5
25569 echo "${ECHO_T}not found" >&6
25570 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
25571 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
25572 { (exit 1); exit 1; }; }
25574 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
25575 echo "${ECHO_T}$MICROWINDOWS" >&6
25578 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
25579 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
25580 echo "${ECHO_T}MicroWindows' libraries found." >&6
25582 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
25583 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
25584 { (exit 1); exit 1; }; }
25587 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
25588 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
25590 wxUSE_UNIVERSAL
="yes"
25592 AFMINSTALL
=afminstall
25594 GUIDIST
=MICROWIN_DIST
25596 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
25599 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25601 if test "x$ac_path_x_has_been_run" != xyes
; then
25602 echo "$as_me:$LINENO: checking for X" >&5
25603 echo $ECHO_N "checking for X... $ECHO_C" >&6
25605 ac_path_x_has_been_run
=yes
25607 # Check whether --with-x or --without-x was given.
25608 if test "${with_x+set}" = set; then
25612 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25613 if test "x$with_x" = xno
; then
25614 # The user explicitly disabled X.
25617 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
25618 # Both variables are already set.
25621 if test "${ac_cv_have_x+set}" = set; then
25622 echo $ECHO_N "(cached) $ECHO_C" >&6
25624 # One or both of the vars are not set, and there is no cached value.
25625 ac_x_includes
=no ac_x_libraries
=no
25626 rm -fr conftest.dir
25627 if mkdir conftest.dir
; then
25629 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
25630 cat >Imakefile
<<'_ACEOF'
25632 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
25634 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
25635 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25636 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
25637 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25638 for ac_extension
in a so sl
; do
25639 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
25640 test -f $ac_im_libdir/libX11.
$ac_extension; then
25641 ac_im_usrlibdir
=$ac_im_libdir; break
25644 # Screen out bogus values from the imake configuration. They are
25645 # bogus both because they are the default anyway, and because
25646 # using them would break gcc on systems where it needs fixed includes.
25647 case $ac_im_incroot in
25649 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
25651 case $ac_im_usrlibdir in
25652 /usr
/lib
| /lib
) ;;
25653 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
25657 rm -fr conftest.dir
25660 # Standard set of common directories for X headers.
25661 # Check X11 before X11Rn because it is often a symlink to the current release.
25673 /usr/local/X11/include
25674 /usr/local/X11R6/include
25675 /usr/local/X11R5/include
25676 /usr/local/X11R4/include
25678 /usr/local/include/X11
25679 /usr/local/include/X11R6
25680 /usr/local/include/X11R5
25681 /usr/local/include/X11R4
25685 /usr/XFree86/include/X11
25689 /usr/unsupported/include
25690 /usr/athena/include
25691 /usr/local/x11r5/include
25692 /usr/lpp/Xamples/include
25694 /usr/openwin/include
25695 /usr/openwin/share/include'
25697 if test "$ac_x_includes" = no
; then
25698 # Guess where to find include files, by looking for a specified header file.
25699 # First, try using that file with no special directory specified.
25700 cat >conftest.
$ac_ext <<_ACEOF
25703 cat confdefs.h
>>conftest.
$ac_ext
25704 cat >>conftest.
$ac_ext <<_ACEOF
25705 /* end confdefs.h. */
25706 #include <X11/Intrinsic.h>
25708 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25709 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25711 grep -v '^ *+' conftest.er1
>conftest.err
25713 cat conftest.err
>&5
25714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715 (exit $ac_status); } >/dev
/null
; then
25716 if test -s conftest.err
; then
25717 ac_cpp_err
=$ac_c_preproc_warn_flag
25718 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25725 if test -z "$ac_cpp_err"; then
25726 # We can compile using X headers with no special include directory.
25729 echo "$as_me: failed program was:" >&5
25730 sed 's/^/| /' conftest.
$ac_ext >&5
25732 for ac_dir
in $ac_x_header_dirs; do
25733 if test -r "$ac_dir/X11/Intrinsic.h"; then
25734 ac_x_includes
=$ac_dir
25739 rm -f conftest.err conftest.
$ac_ext
25740 fi # $ac_x_includes = no
25742 if test "$ac_x_libraries" = no
; then
25743 # Check for the libraries.
25744 # See if we find them without any special options.
25745 # Don't add to $LIBS permanently.
25748 cat >conftest.
$ac_ext <<_ACEOF
25751 cat confdefs.h
>>conftest.
$ac_ext
25752 cat >>conftest.
$ac_ext <<_ACEOF
25753 /* end confdefs.h. */
25754 #include <X11/Intrinsic.h>
25763 rm -f conftest.
$ac_objext conftest
$ac_exeext
25764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25765 (eval $ac_link) 2>conftest.er1
25767 grep -v '^ *+' conftest.er1
>conftest.err
25769 cat conftest.err
>&5
25770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25771 (exit $ac_status); } &&
25772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25774 (eval $ac_try) 2>&5
25776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777 (exit $ac_status); }; } &&
25778 { ac_try
='test -s conftest$ac_exeext'
25779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25780 (eval $ac_try) 2>&5
25782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25783 (exit $ac_status); }; }; then
25785 # We can link X programs with no special library path.
25788 echo "$as_me: failed program was:" >&5
25789 sed 's/^/| /' conftest.
$ac_ext >&5
25792 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25794 # Don't even attempt the hair of trying to link an X program!
25795 for ac_extension
in a so sl
; do
25796 if test -r $ac_dir/libXt.
$ac_extension; then
25797 ac_x_libraries
=$ac_dir
25803 rm -f conftest.err conftest.
$ac_objext \
25804 conftest
$ac_exeext conftest.
$ac_ext
25805 fi # $ac_x_libraries = no
25807 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
25808 # Didn't find X anywhere. Cache the known absence of X.
25809 ac_cv_have_x
="have_x=no"
25811 # Record where we found X for the cache.
25812 ac_cv_have_x
="have_x=yes \
25813 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
25818 eval "$ac_cv_have_x"
25821 if test "$have_x" != yes; then
25822 echo "$as_me:$LINENO: result: $have_x" >&5
25823 echo "${ECHO_T}$have_x" >&6
25826 # If each of the values was on the command line, it overrides each guess.
25827 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
25828 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
25829 # Update the cache value to reflect the command line values.
25830 ac_cv_have_x
="have_x=yes \
25831 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
25832 # It might be that x_includes is empty (headers are found in the
25833 # standard search path. Then output the corresponding message
25834 ac_out_x_includes
=$x_includes
25835 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
25836 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
25837 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
25841 if test "$no_x" = yes; then
25842 # Not all programs may use this symbol, but it does not hurt to define it.
25844 cat >>confdefs.h
<<\_ACEOF
25845 #define X_DISPLAY_MISSING 1
25848 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
25850 if test -n "$x_includes"; then
25851 X_CFLAGS
="$X_CFLAGS -I$x_includes"
25854 # It would also be nice to do this for all -L options, not just this one.
25855 if test -n "$x_libraries"; then
25856 X_LIBS
="$X_LIBS -L$x_libraries"
25857 # For Solaris; some versions of Sun CC require a space after -R and
25858 # others require no space. Words are not sufficient . . . .
25859 case `(uname -sr) 2>/dev/null` in
25861 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
25862 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
25863 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
25864 cat >conftest.
$ac_ext <<_ACEOF
25867 cat confdefs.h
>>conftest.
$ac_ext
25868 cat >>conftest.
$ac_ext <<_ACEOF
25869 /* end confdefs.h. */
25879 rm -f conftest.
$ac_objext conftest
$ac_exeext
25880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25881 (eval $ac_link) 2>conftest.er1
25883 grep -v '^ *+' conftest.er1
>conftest.err
25885 cat conftest.err
>&5
25886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25887 (exit $ac_status); } &&
25888 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25890 (eval $ac_try) 2>&5
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); }; } &&
25894 { ac_try
='test -s conftest$ac_exeext'
25895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25896 (eval $ac_try) 2>&5
25898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25899 (exit $ac_status); }; }; then
25902 echo "$as_me: failed program was:" >&5
25903 sed 's/^/| /' conftest.
$ac_ext >&5
25907 rm -f conftest.err conftest.
$ac_objext \
25908 conftest
$ac_exeext conftest.
$ac_ext
25909 if test $ac_R_nospace = yes; then
25910 echo "$as_me:$LINENO: result: no" >&5
25911 echo "${ECHO_T}no" >&6
25912 X_LIBS
="$X_LIBS -R$x_libraries"
25914 LIBS
="$ac_xsave_LIBS -R $x_libraries"
25915 cat >conftest.
$ac_ext <<_ACEOF
25918 cat confdefs.h
>>conftest.
$ac_ext
25919 cat >>conftest.
$ac_ext <<_ACEOF
25920 /* end confdefs.h. */
25930 rm -f conftest.
$ac_objext conftest
$ac_exeext
25931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25932 (eval $ac_link) 2>conftest.er1
25934 grep -v '^ *+' conftest.er1
>conftest.err
25936 cat conftest.err
>&5
25937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25938 (exit $ac_status); } &&
25939 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25941 (eval $ac_try) 2>&5
25943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25944 (exit $ac_status); }; } &&
25945 { ac_try
='test -s conftest$ac_exeext'
25946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25947 (eval $ac_try) 2>&5
25949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25950 (exit $ac_status); }; }; then
25953 echo "$as_me: failed program was:" >&5
25954 sed 's/^/| /' conftest.
$ac_ext >&5
25958 rm -f conftest.err conftest.
$ac_objext \
25959 conftest
$ac_exeext conftest.
$ac_ext
25960 if test $ac_R_space = yes; then
25961 echo "$as_me:$LINENO: result: yes" >&5
25962 echo "${ECHO_T}yes" >&6
25963 X_LIBS
="$X_LIBS -R $x_libraries"
25965 echo "$as_me:$LINENO: result: neither works" >&5
25966 echo "${ECHO_T}neither works" >&6
25969 LIBS
=$ac_xsave_LIBS
25973 # Check for system-dependent libraries X programs must link with.
25974 # Do this before checking for the system-independent R6 libraries
25975 # (-lICE), since we may need -lsocket or whatever for X linking.
25977 if test "$ISC" = yes; then
25978 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
25980 # Martyn Johnson says this is needed for Ultrix, if the X
25981 # libraries were built with DECnet support. And Karl Berry says
25982 # the Alpha needs dnet_stub (dnet does not exist).
25983 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
25984 cat >conftest.
$ac_ext <<_ACEOF
25987 cat confdefs.h
>>conftest.
$ac_ext
25988 cat >>conftest.
$ac_ext <<_ACEOF
25989 /* end confdefs.h. */
25991 /* Override any gcc2 internal prototype to avoid an error. */
25995 /* We use char because int might match the return type of a gcc2
25996 builtin and then its argument prototype would still apply. */
25997 char XOpenDisplay ();
26006 rm -f conftest.
$ac_objext conftest
$ac_exeext
26007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26008 (eval $ac_link) 2>conftest.er1
26010 grep -v '^ *+' conftest.er1
>conftest.err
26012 cat conftest.err
>&5
26013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26014 (exit $ac_status); } &&
26015 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26017 (eval $ac_try) 2>&5
26019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26020 (exit $ac_status); }; } &&
26021 { ac_try
='test -s conftest$ac_exeext'
26022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26023 (eval $ac_try) 2>&5
26025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26026 (exit $ac_status); }; }; then
26029 echo "$as_me: failed program was:" >&5
26030 sed 's/^/| /' conftest.
$ac_ext >&5
26032 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26033 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26034 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26035 echo $ECHO_N "(cached) $ECHO_C" >&6
26037 ac_check_lib_save_LIBS
=$LIBS
26038 LIBS
="-ldnet $LIBS"
26039 cat >conftest.
$ac_ext <<_ACEOF
26042 cat confdefs.h
>>conftest.
$ac_ext
26043 cat >>conftest.
$ac_ext <<_ACEOF
26044 /* end confdefs.h. */
26046 /* Override any gcc2 internal prototype to avoid an error. */
26050 /* We use char because int might match the return type of a gcc2
26051 builtin and then its argument prototype would still apply. */
26061 rm -f conftest.
$ac_objext conftest
$ac_exeext
26062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26063 (eval $ac_link) 2>conftest.er1
26065 grep -v '^ *+' conftest.er1
>conftest.err
26067 cat conftest.err
>&5
26068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26069 (exit $ac_status); } &&
26070 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26072 (eval $ac_try) 2>&5
26074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26075 (exit $ac_status); }; } &&
26076 { ac_try
='test -s conftest$ac_exeext'
26077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26078 (eval $ac_try) 2>&5
26080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26081 (exit $ac_status); }; }; then
26082 ac_cv_lib_dnet_dnet_ntoa
=yes
26084 echo "$as_me: failed program was:" >&5
26085 sed 's/^/| /' conftest.
$ac_ext >&5
26087 ac_cv_lib_dnet_dnet_ntoa
=no
26089 rm -f conftest.err conftest.
$ac_objext \
26090 conftest
$ac_exeext conftest.
$ac_ext
26091 LIBS
=$ac_check_lib_save_LIBS
26093 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26094 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26095 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26096 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
26099 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
26100 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26101 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26102 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26103 echo $ECHO_N "(cached) $ECHO_C" >&6
26105 ac_check_lib_save_LIBS
=$LIBS
26106 LIBS
="-ldnet_stub $LIBS"
26107 cat >conftest.
$ac_ext <<_ACEOF
26110 cat confdefs.h
>>conftest.
$ac_ext
26111 cat >>conftest.
$ac_ext <<_ACEOF
26112 /* end confdefs.h. */
26114 /* Override any gcc2 internal prototype to avoid an error. */
26118 /* We use char because int might match the return type of a gcc2
26119 builtin and then its argument prototype would still apply. */
26129 rm -f conftest.
$ac_objext conftest
$ac_exeext
26130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26131 (eval $ac_link) 2>conftest.er1
26133 grep -v '^ *+' conftest.er1
>conftest.err
26135 cat conftest.err
>&5
26136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26137 (exit $ac_status); } &&
26138 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26140 (eval $ac_try) 2>&5
26142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26143 (exit $ac_status); }; } &&
26144 { ac_try
='test -s conftest$ac_exeext'
26145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26146 (eval $ac_try) 2>&5
26148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26149 (exit $ac_status); }; }; then
26150 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
26152 echo "$as_me: failed program was:" >&5
26153 sed 's/^/| /' conftest.
$ac_ext >&5
26155 ac_cv_lib_dnet_stub_dnet_ntoa
=no
26157 rm -f conftest.err conftest.
$ac_objext \
26158 conftest
$ac_exeext conftest.
$ac_ext
26159 LIBS
=$ac_check_lib_save_LIBS
26161 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26162 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26163 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26164 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
26169 rm -f conftest.err conftest.
$ac_objext \
26170 conftest
$ac_exeext conftest.
$ac_ext
26171 LIBS
="$ac_xsave_LIBS"
26173 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26174 # to get the SysV transport functions.
26175 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26177 # The nsl library prevents programs from opening the X display
26178 # on Irix 5.2, according to T.E. Dickey.
26179 # The functions gethostbyname, getservbyname, and inet_addr are
26180 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26181 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26182 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26183 if test "${ac_cv_func_gethostbyname+set}" = set; then
26184 echo $ECHO_N "(cached) $ECHO_C" >&6
26186 cat >conftest.
$ac_ext <<_ACEOF
26189 cat confdefs.h
>>conftest.
$ac_ext
26190 cat >>conftest.
$ac_ext <<_ACEOF
26191 /* end confdefs.h. */
26192 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26194 #define gethostbyname innocuous_gethostbyname
26196 /* System header to define __stub macros and hopefully few prototypes,
26197 which can conflict with char gethostbyname (); below.
26198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26199 <limits.h> exists even on freestanding compilers. */
26202 # include <limits.h>
26204 # include <assert.h>
26207 #undef gethostbyname
26209 /* Override any gcc2 internal prototype to avoid an error. */
26214 /* We use char because int might match the return type of a gcc2
26215 builtin and then its argument prototype would still apply. */
26216 char gethostbyname ();
26217 /* The GNU C library defines this for functions which it implements
26218 to always fail with ENOSYS. Some functions are actually named
26219 something starting with __ and the normal name is an alias. */
26220 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26223 char (*f) () = gethostbyname;
26232 return f != gethostbyname;
26237 rm -f conftest.
$ac_objext conftest
$ac_exeext
26238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26239 (eval $ac_link) 2>conftest.er1
26241 grep -v '^ *+' conftest.er1
>conftest.err
26243 cat conftest.err
>&5
26244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26245 (exit $ac_status); } &&
26246 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26248 (eval $ac_try) 2>&5
26250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26251 (exit $ac_status); }; } &&
26252 { ac_try
='test -s conftest$ac_exeext'
26253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26254 (eval $ac_try) 2>&5
26256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26257 (exit $ac_status); }; }; then
26258 ac_cv_func_gethostbyname
=yes
26260 echo "$as_me: failed program was:" >&5
26261 sed 's/^/| /' conftest.
$ac_ext >&5
26263 ac_cv_func_gethostbyname
=no
26265 rm -f conftest.err conftest.
$ac_objext \
26266 conftest
$ac_exeext conftest.
$ac_ext
26268 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26269 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26271 if test $ac_cv_func_gethostbyname = no
; then
26272 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26273 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26274 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26275 echo $ECHO_N "(cached) $ECHO_C" >&6
26277 ac_check_lib_save_LIBS
=$LIBS
26279 cat >conftest.
$ac_ext <<_ACEOF
26282 cat confdefs.h
>>conftest.
$ac_ext
26283 cat >>conftest.
$ac_ext <<_ACEOF
26284 /* end confdefs.h. */
26286 /* Override any gcc2 internal prototype to avoid an error. */
26290 /* We use char because int might match the return type of a gcc2
26291 builtin and then its argument prototype would still apply. */
26292 char gethostbyname ();
26301 rm -f conftest.
$ac_objext conftest
$ac_exeext
26302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26303 (eval $ac_link) 2>conftest.er1
26305 grep -v '^ *+' conftest.er1
>conftest.err
26307 cat conftest.err
>&5
26308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26309 (exit $ac_status); } &&
26310 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26312 (eval $ac_try) 2>&5
26314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26315 (exit $ac_status); }; } &&
26316 { ac_try
='test -s conftest$ac_exeext'
26317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26318 (eval $ac_try) 2>&5
26320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26321 (exit $ac_status); }; }; then
26322 ac_cv_lib_nsl_gethostbyname
=yes
26324 echo "$as_me: failed program was:" >&5
26325 sed 's/^/| /' conftest.
$ac_ext >&5
26327 ac_cv_lib_nsl_gethostbyname
=no
26329 rm -f conftest.err conftest.
$ac_objext \
26330 conftest
$ac_exeext conftest.
$ac_ext
26331 LIBS
=$ac_check_lib_save_LIBS
26333 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26334 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26335 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26336 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
26339 if test $ac_cv_lib_nsl_gethostbyname = no
; then
26340 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26341 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26342 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26343 echo $ECHO_N "(cached) $ECHO_C" >&6
26345 ac_check_lib_save_LIBS
=$LIBS
26347 cat >conftest.
$ac_ext <<_ACEOF
26350 cat confdefs.h
>>conftest.
$ac_ext
26351 cat >>conftest.
$ac_ext <<_ACEOF
26352 /* end confdefs.h. */
26354 /* Override any gcc2 internal prototype to avoid an error. */
26358 /* We use char because int might match the return type of a gcc2
26359 builtin and then its argument prototype would still apply. */
26360 char gethostbyname ();
26369 rm -f conftest.
$ac_objext conftest
$ac_exeext
26370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26371 (eval $ac_link) 2>conftest.er1
26373 grep -v '^ *+' conftest.er1
>conftest.err
26375 cat conftest.err
>&5
26376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26377 (exit $ac_status); } &&
26378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26380 (eval $ac_try) 2>&5
26382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26383 (exit $ac_status); }; } &&
26384 { ac_try
='test -s conftest$ac_exeext'
26385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26386 (eval $ac_try) 2>&5
26388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26389 (exit $ac_status); }; }; then
26390 ac_cv_lib_bsd_gethostbyname
=yes
26392 echo "$as_me: failed program was:" >&5
26393 sed 's/^/| /' conftest.
$ac_ext >&5
26395 ac_cv_lib_bsd_gethostbyname
=no
26397 rm -f conftest.err conftest.
$ac_objext \
26398 conftest
$ac_exeext conftest.
$ac_ext
26399 LIBS
=$ac_check_lib_save_LIBS
26401 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26402 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26403 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26404 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
26410 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26411 # socket/setsockopt and other routines are undefined under SCO ODT
26412 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26413 # on later versions), says Simon Leinen: it contains gethostby*
26414 # variants that don't use the name server (or something). -lsocket
26415 # must be given before -lnsl if both are needed. We assume that
26416 # if connect needs -lnsl, so does gethostbyname.
26417 echo "$as_me:$LINENO: checking for connect" >&5
26418 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26419 if test "${ac_cv_func_connect+set}" = set; then
26420 echo $ECHO_N "(cached) $ECHO_C" >&6
26422 cat >conftest.
$ac_ext <<_ACEOF
26425 cat confdefs.h
>>conftest.
$ac_ext
26426 cat >>conftest.
$ac_ext <<_ACEOF
26427 /* end confdefs.h. */
26428 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26430 #define connect innocuous_connect
26432 /* System header to define __stub macros and hopefully few prototypes,
26433 which can conflict with char connect (); below.
26434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26435 <limits.h> exists even on freestanding compilers. */
26438 # include <limits.h>
26440 # include <assert.h>
26445 /* Override any gcc2 internal prototype to avoid an error. */
26450 /* We use char because int might match the return type of a gcc2
26451 builtin and then its argument prototype would still apply. */
26453 /* The GNU C library defines this for functions which it implements
26454 to always fail with ENOSYS. Some functions are actually named
26455 something starting with __ and the normal name is an alias. */
26456 #if defined (__stub_connect) || defined (__stub___connect)
26459 char (*f) () = connect;
26468 return f != connect;
26473 rm -f conftest.
$ac_objext conftest
$ac_exeext
26474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26475 (eval $ac_link) 2>conftest.er1
26477 grep -v '^ *+' conftest.er1
>conftest.err
26479 cat conftest.err
>&5
26480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26481 (exit $ac_status); } &&
26482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26484 (eval $ac_try) 2>&5
26486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26487 (exit $ac_status); }; } &&
26488 { ac_try
='test -s conftest$ac_exeext'
26489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26490 (eval $ac_try) 2>&5
26492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26493 (exit $ac_status); }; }; then
26494 ac_cv_func_connect
=yes
26496 echo "$as_me: failed program was:" >&5
26497 sed 's/^/| /' conftest.
$ac_ext >&5
26499 ac_cv_func_connect
=no
26501 rm -f conftest.err conftest.
$ac_objext \
26502 conftest
$ac_exeext conftest.
$ac_ext
26504 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
26505 echo "${ECHO_T}$ac_cv_func_connect" >&6
26507 if test $ac_cv_func_connect = no
; then
26508 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
26509 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
26510 if test "${ac_cv_lib_socket_connect+set}" = set; then
26511 echo $ECHO_N "(cached) $ECHO_C" >&6
26513 ac_check_lib_save_LIBS
=$LIBS
26514 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
26515 cat >conftest.
$ac_ext <<_ACEOF
26518 cat confdefs.h
>>conftest.
$ac_ext
26519 cat >>conftest.
$ac_ext <<_ACEOF
26520 /* end confdefs.h. */
26522 /* Override any gcc2 internal prototype to avoid an error. */
26526 /* We use char because int might match the return type of a gcc2
26527 builtin and then its argument prototype would still apply. */
26537 rm -f conftest.
$ac_objext conftest
$ac_exeext
26538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26539 (eval $ac_link) 2>conftest.er1
26541 grep -v '^ *+' conftest.er1
>conftest.err
26543 cat conftest.err
>&5
26544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26545 (exit $ac_status); } &&
26546 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26548 (eval $ac_try) 2>&5
26550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26551 (exit $ac_status); }; } &&
26552 { ac_try
='test -s conftest$ac_exeext'
26553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26554 (eval $ac_try) 2>&5
26556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26557 (exit $ac_status); }; }; then
26558 ac_cv_lib_socket_connect
=yes
26560 echo "$as_me: failed program was:" >&5
26561 sed 's/^/| /' conftest.
$ac_ext >&5
26563 ac_cv_lib_socket_connect
=no
26565 rm -f conftest.err conftest.
$ac_objext \
26566 conftest
$ac_exeext conftest.
$ac_ext
26567 LIBS
=$ac_check_lib_save_LIBS
26569 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
26570 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
26571 if test $ac_cv_lib_socket_connect = yes; then
26572 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
26577 # Guillermo Gomez says -lposix is necessary on A/UX.
26578 echo "$as_me:$LINENO: checking for remove" >&5
26579 echo $ECHO_N "checking for remove... $ECHO_C" >&6
26580 if test "${ac_cv_func_remove+set}" = set; then
26581 echo $ECHO_N "(cached) $ECHO_C" >&6
26583 cat >conftest.
$ac_ext <<_ACEOF
26586 cat confdefs.h
>>conftest.
$ac_ext
26587 cat >>conftest.
$ac_ext <<_ACEOF
26588 /* end confdefs.h. */
26589 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
26590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26591 #define remove innocuous_remove
26593 /* System header to define __stub macros and hopefully few prototypes,
26594 which can conflict with char remove (); below.
26595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26596 <limits.h> exists even on freestanding compilers. */
26599 # include <limits.h>
26601 # include <assert.h>
26606 /* Override any gcc2 internal prototype to avoid an error. */
26611 /* We use char because int might match the return type of a gcc2
26612 builtin and then its argument prototype would still apply. */
26614 /* The GNU C library defines this for functions which it implements
26615 to always fail with ENOSYS. Some functions are actually named
26616 something starting with __ and the normal name is an alias. */
26617 #if defined (__stub_remove) || defined (__stub___remove)
26620 char (*f) () = remove;
26629 return f != remove;
26634 rm -f conftest.
$ac_objext conftest
$ac_exeext
26635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26636 (eval $ac_link) 2>conftest.er1
26638 grep -v '^ *+' conftest.er1
>conftest.err
26640 cat conftest.err
>&5
26641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26642 (exit $ac_status); } &&
26643 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26645 (eval $ac_try) 2>&5
26647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26648 (exit $ac_status); }; } &&
26649 { ac_try
='test -s conftest$ac_exeext'
26650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26651 (eval $ac_try) 2>&5
26653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26654 (exit $ac_status); }; }; then
26655 ac_cv_func_remove
=yes
26657 echo "$as_me: failed program was:" >&5
26658 sed 's/^/| /' conftest.
$ac_ext >&5
26660 ac_cv_func_remove
=no
26662 rm -f conftest.err conftest.
$ac_objext \
26663 conftest
$ac_exeext conftest.
$ac_ext
26665 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
26666 echo "${ECHO_T}$ac_cv_func_remove" >&6
26668 if test $ac_cv_func_remove = no
; then
26669 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
26670 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
26671 if test "${ac_cv_lib_posix_remove+set}" = set; then
26672 echo $ECHO_N "(cached) $ECHO_C" >&6
26674 ac_check_lib_save_LIBS
=$LIBS
26675 LIBS
="-lposix $LIBS"
26676 cat >conftest.
$ac_ext <<_ACEOF
26679 cat confdefs.h
>>conftest.
$ac_ext
26680 cat >>conftest.
$ac_ext <<_ACEOF
26681 /* end confdefs.h. */
26683 /* Override any gcc2 internal prototype to avoid an error. */
26687 /* We use char because int might match the return type of a gcc2
26688 builtin and then its argument prototype would still apply. */
26698 rm -f conftest.
$ac_objext conftest
$ac_exeext
26699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26700 (eval $ac_link) 2>conftest.er1
26702 grep -v '^ *+' conftest.er1
>conftest.err
26704 cat conftest.err
>&5
26705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26706 (exit $ac_status); } &&
26707 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26709 (eval $ac_try) 2>&5
26711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26712 (exit $ac_status); }; } &&
26713 { ac_try
='test -s conftest$ac_exeext'
26714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26715 (eval $ac_try) 2>&5
26717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26718 (exit $ac_status); }; }; then
26719 ac_cv_lib_posix_remove
=yes
26721 echo "$as_me: failed program was:" >&5
26722 sed 's/^/| /' conftest.
$ac_ext >&5
26724 ac_cv_lib_posix_remove
=no
26726 rm -f conftest.err conftest.
$ac_objext \
26727 conftest
$ac_exeext conftest.
$ac_ext
26728 LIBS
=$ac_check_lib_save_LIBS
26730 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
26731 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
26732 if test $ac_cv_lib_posix_remove = yes; then
26733 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
26738 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26739 echo "$as_me:$LINENO: checking for shmat" >&5
26740 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
26741 if test "${ac_cv_func_shmat+set}" = set; then
26742 echo $ECHO_N "(cached) $ECHO_C" >&6
26744 cat >conftest.
$ac_ext <<_ACEOF
26747 cat confdefs.h
>>conftest.
$ac_ext
26748 cat >>conftest.
$ac_ext <<_ACEOF
26749 /* end confdefs.h. */
26750 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
26751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26752 #define shmat innocuous_shmat
26754 /* System header to define __stub macros and hopefully few prototypes,
26755 which can conflict with char shmat (); below.
26756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26757 <limits.h> exists even on freestanding compilers. */
26760 # include <limits.h>
26762 # include <assert.h>
26767 /* Override any gcc2 internal prototype to avoid an error. */
26772 /* We use char because int might match the return type of a gcc2
26773 builtin and then its argument prototype would still apply. */
26775 /* The GNU C library defines this for functions which it implements
26776 to always fail with ENOSYS. Some functions are actually named
26777 something starting with __ and the normal name is an alias. */
26778 #if defined (__stub_shmat) || defined (__stub___shmat)
26781 char (*f) () = shmat;
26795 rm -f conftest.
$ac_objext conftest
$ac_exeext
26796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26797 (eval $ac_link) 2>conftest.er1
26799 grep -v '^ *+' conftest.er1
>conftest.err
26801 cat conftest.err
>&5
26802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26803 (exit $ac_status); } &&
26804 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26806 (eval $ac_try) 2>&5
26808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26809 (exit $ac_status); }; } &&
26810 { ac_try
='test -s conftest$ac_exeext'
26811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26812 (eval $ac_try) 2>&5
26814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815 (exit $ac_status); }; }; then
26816 ac_cv_func_shmat
=yes
26818 echo "$as_me: failed program was:" >&5
26819 sed 's/^/| /' conftest.
$ac_ext >&5
26821 ac_cv_func_shmat
=no
26823 rm -f conftest.err conftest.
$ac_objext \
26824 conftest
$ac_exeext conftest.
$ac_ext
26826 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
26827 echo "${ECHO_T}$ac_cv_func_shmat" >&6
26829 if test $ac_cv_func_shmat = no
; then
26830 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
26831 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
26832 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
26833 echo $ECHO_N "(cached) $ECHO_C" >&6
26835 ac_check_lib_save_LIBS
=$LIBS
26837 cat >conftest.
$ac_ext <<_ACEOF
26840 cat confdefs.h
>>conftest.
$ac_ext
26841 cat >>conftest.
$ac_ext <<_ACEOF
26842 /* end confdefs.h. */
26844 /* Override any gcc2 internal prototype to avoid an error. */
26848 /* We use char because int might match the return type of a gcc2
26849 builtin and then its argument prototype would still apply. */
26859 rm -f conftest.
$ac_objext conftest
$ac_exeext
26860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26861 (eval $ac_link) 2>conftest.er1
26863 grep -v '^ *+' conftest.er1
>conftest.err
26865 cat conftest.err
>&5
26866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26867 (exit $ac_status); } &&
26868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26870 (eval $ac_try) 2>&5
26872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26873 (exit $ac_status); }; } &&
26874 { ac_try
='test -s conftest$ac_exeext'
26875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26876 (eval $ac_try) 2>&5
26878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26879 (exit $ac_status); }; }; then
26880 ac_cv_lib_ipc_shmat
=yes
26882 echo "$as_me: failed program was:" >&5
26883 sed 's/^/| /' conftest.
$ac_ext >&5
26885 ac_cv_lib_ipc_shmat
=no
26887 rm -f conftest.err conftest.
$ac_objext \
26888 conftest
$ac_exeext conftest.
$ac_ext
26889 LIBS
=$ac_check_lib_save_LIBS
26891 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
26892 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
26893 if test $ac_cv_lib_ipc_shmat = yes; then
26894 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
26900 # Check for libraries that X11R6 Xt/Xaw programs need.
26901 ac_save_LDFLAGS
=$LDFLAGS
26902 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
26903 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26904 # check for ICE first), but we must link in the order -lSM -lICE or
26905 # we get undefined symbols. So assume we have SM if we have ICE.
26906 # These have to be linked with before -lX11, unlike the other
26907 # libraries we check for below, so use a different variable.
26908 # John Interrante, Karl Berry
26909 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
26910 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
26911 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
26912 echo $ECHO_N "(cached) $ECHO_C" >&6
26914 ac_check_lib_save_LIBS
=$LIBS
26915 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
26916 cat >conftest.
$ac_ext <<_ACEOF
26919 cat confdefs.h
>>conftest.
$ac_ext
26920 cat >>conftest.
$ac_ext <<_ACEOF
26921 /* end confdefs.h. */
26923 /* Override any gcc2 internal prototype to avoid an error. */
26927 /* We use char because int might match the return type of a gcc2
26928 builtin and then its argument prototype would still apply. */
26929 char IceConnectionNumber ();
26933 IceConnectionNumber ();
26938 rm -f conftest.
$ac_objext conftest
$ac_exeext
26939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26940 (eval $ac_link) 2>conftest.er1
26942 grep -v '^ *+' conftest.er1
>conftest.err
26944 cat conftest.err
>&5
26945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26946 (exit $ac_status); } &&
26947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26949 (eval $ac_try) 2>&5
26951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26952 (exit $ac_status); }; } &&
26953 { ac_try
='test -s conftest$ac_exeext'
26954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26955 (eval $ac_try) 2>&5
26957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26958 (exit $ac_status); }; }; then
26959 ac_cv_lib_ICE_IceConnectionNumber
=yes
26961 echo "$as_me: failed program was:" >&5
26962 sed 's/^/| /' conftest.
$ac_ext >&5
26964 ac_cv_lib_ICE_IceConnectionNumber
=no
26966 rm -f conftest.err conftest.
$ac_objext \
26967 conftest
$ac_exeext conftest.
$ac_ext
26968 LIBS
=$ac_check_lib_save_LIBS
26970 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26971 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26972 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26973 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
26976 LDFLAGS
=$ac_save_LDFLAGS
26981 if test "$no_x" = "yes"; then
26982 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26983 echo "$as_me: error: X11 not found" >&2;}
26984 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
26987 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
26988 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
26989 AFMINSTALL
=afminstall
26990 COMPILED_X_PROGRAM
=0
26994 if test "$wxUSE_X11" = 1; then
26995 if test "$wxUSE_NANOX" = "yes"; then
26996 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
26997 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
26998 if test "x$MICROWIN" = x
; then
26999 echo "$as_me:$LINENO: result: not found" >&5
27000 echo "${ECHO_T}not found" >&6
27001 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27002 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27003 { (exit 1); exit 1; }; }
27005 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27006 echo "${ECHO_T}$MICROWIN" >&6
27007 cat >>confdefs.h
<<\_ACEOF
27008 #define wxUSE_NANOX 1
27014 if test "$wxUSE_UNICODE" = "yes"; then
27018 if test -z "$PKG_CONFIG"; then
27019 # Extract the first word of "pkg-config", so it can be a program name with args.
27020 set dummy pkg
-config; ac_word
=$2
27021 echo "$as_me:$LINENO: checking for $ac_word" >&5
27022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27023 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27024 echo $ECHO_N "(cached) $ECHO_C" >&6
27026 case $PKG_CONFIG in
27028 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27032 for as_dir
in $PATH
27035 test -z "$as_dir" && as_dir
=.
27036 for ac_exec_ext
in '' $ac_executable_extensions; do
27037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27038 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27045 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27049 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27051 if test -n "$PKG_CONFIG"; then
27052 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27053 echo "${ECHO_T}$PKG_CONFIG" >&6
27055 echo "$as_me:$LINENO: result: no" >&5
27056 echo "${ECHO_T}no" >&6
27061 if test "$PKG_CONFIG" = "no" ; then
27062 echo "*** The pkg-config script could not be found. Make sure it is"
27063 echo "*** in your path, or set the PKG_CONFIG environment variable"
27064 echo "*** to the full path to pkg-config."
27065 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27067 PKG_CONFIG_MIN_VERSION
=0.9.0
27068 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27069 echo "$as_me:$LINENO: checking for pangox" >&5
27070 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27072 if $PKG_CONFIG --exists "pangox" ; then
27073 echo "$as_me:$LINENO: result: yes" >&5
27074 echo "${ECHO_T}yes" >&6
27077 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27078 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27079 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
27080 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27081 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27083 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27084 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27085 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
27086 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27087 echo "${ECHO_T}$PANGOX_LIBS" >&6
27091 ## If we have a custom action on failure, don't print errors, but
27092 ## do set a variable so people can do so.
27093 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27100 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27101 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27105 if test $succeeded = yes; then
27107 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
27108 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
27112 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27113 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27114 { (exit 1); exit 1; }; }
27122 if test -z "$PKG_CONFIG"; then
27123 # Extract the first word of "pkg-config", so it can be a program name with args.
27124 set dummy pkg
-config; ac_word
=$2
27125 echo "$as_me:$LINENO: checking for $ac_word" >&5
27126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27127 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27128 echo $ECHO_N "(cached) $ECHO_C" >&6
27130 case $PKG_CONFIG in
27132 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27136 for as_dir
in $PATH
27139 test -z "$as_dir" && as_dir
=.
27140 for ac_exec_ext
in '' $ac_executable_extensions; do
27141 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27142 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27149 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27153 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27155 if test -n "$PKG_CONFIG"; then
27156 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27157 echo "${ECHO_T}$PKG_CONFIG" >&6
27159 echo "$as_me:$LINENO: result: no" >&5
27160 echo "${ECHO_T}no" >&6
27165 if test "$PKG_CONFIG" = "no" ; then
27166 echo "*** The pkg-config script could not be found. Make sure it is"
27167 echo "*** in your path, or set the PKG_CONFIG environment variable"
27168 echo "*** to the full path to pkg-config."
27169 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27171 PKG_CONFIG_MIN_VERSION
=0.9.0
27172 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27173 echo "$as_me:$LINENO: checking for pangoft2" >&5
27174 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27176 if $PKG_CONFIG --exists "pangoft2" ; then
27177 echo "$as_me:$LINENO: result: yes" >&5
27178 echo "${ECHO_T}yes" >&6
27181 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27182 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27183 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
27184 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27185 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27187 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27188 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27189 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
27190 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27191 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27195 ## If we have a custom action on failure, don't print errors, but
27196 ## do set a variable so people can do so.
27197 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27204 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27205 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27209 if test $succeeded = yes; then
27211 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
27212 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27216 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27217 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27218 wxUSE_PRINTING_ARCHITECTURE
="no"
27226 if test -z "$PKG_CONFIG"; then
27227 # Extract the first word of "pkg-config", so it can be a program name with args.
27228 set dummy pkg
-config; ac_word
=$2
27229 echo "$as_me:$LINENO: checking for $ac_word" >&5
27230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27231 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27232 echo $ECHO_N "(cached) $ECHO_C" >&6
27234 case $PKG_CONFIG in
27236 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27240 for as_dir
in $PATH
27243 test -z "$as_dir" && as_dir
=.
27244 for ac_exec_ext
in '' $ac_executable_extensions; do
27245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27246 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27253 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27257 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27259 if test -n "$PKG_CONFIG"; then
27260 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27261 echo "${ECHO_T}$PKG_CONFIG" >&6
27263 echo "$as_me:$LINENO: result: no" >&5
27264 echo "${ECHO_T}no" >&6
27269 if test "$PKG_CONFIG" = "no" ; then
27270 echo "*** The pkg-config script could not be found. Make sure it is"
27271 echo "*** in your path, or set the PKG_CONFIG environment variable"
27272 echo "*** to the full path to pkg-config."
27273 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27275 PKG_CONFIG_MIN_VERSION
=0.9.0
27276 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27277 echo "$as_me:$LINENO: checking for pangoxft" >&5
27278 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27280 if $PKG_CONFIG --exists "pangoxft" ; then
27281 echo "$as_me:$LINENO: result: yes" >&5
27282 echo "${ECHO_T}yes" >&6
27285 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27286 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27287 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
27288 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27289 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27291 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27292 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27293 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
27294 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27295 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27299 ## If we have a custom action on failure, don't print errors, but
27300 ## do set a variable so people can do so.
27301 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27308 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27309 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27313 if test $succeeded = yes; then
27315 cat >>confdefs.h
<<\_ACEOF
27316 #define HAVE_PANGO_XFT 1
27319 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
27320 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27324 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27325 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27330 save_CFLAGS
="$CFLAGS"
27332 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
27333 LIBS
="$LIBS $PANGOX_LIBS"
27335 for ac_func
in pango_font_family_is_monospace
27337 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27338 echo "$as_me:$LINENO: checking for $ac_func" >&5
27339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27340 if eval "test \"\${$as_ac_var+set}\" = set"; then
27341 echo $ECHO_N "(cached) $ECHO_C" >&6
27343 cat >conftest.
$ac_ext <<_ACEOF
27346 cat confdefs.h
>>conftest.
$ac_ext
27347 cat >>conftest.
$ac_ext <<_ACEOF
27348 /* end confdefs.h. */
27349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27351 #define $ac_func innocuous_$ac_func
27353 /* System header to define __stub macros and hopefully few prototypes,
27354 which can conflict with char $ac_func (); below.
27355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27356 <limits.h> exists even on freestanding compilers. */
27359 # include <limits.h>
27361 # include <assert.h>
27366 /* Override any gcc2 internal prototype to avoid an error. */
27371 /* We use char because int might match the return type of a gcc2
27372 builtin and then its argument prototype would still apply. */
27374 /* The GNU C library defines this for functions which it implements
27375 to always fail with ENOSYS. Some functions are actually named
27376 something starting with __ and the normal name is an alias. */
27377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27380 char (*f) () = $ac_func;
27389 return f != $ac_func;
27394 rm -f conftest.
$ac_objext conftest
$ac_exeext
27395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27396 (eval $ac_link) 2>conftest.er1
27398 grep -v '^ *+' conftest.er1
>conftest.err
27400 cat conftest.err
>&5
27401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 (exit $ac_status); } &&
27403 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27405 (eval $ac_try) 2>&5
27407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27408 (exit $ac_status); }; } &&
27409 { ac_try
='test -s conftest$ac_exeext'
27410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27411 (eval $ac_try) 2>&5
27413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27414 (exit $ac_status); }; }; then
27415 eval "$as_ac_var=yes"
27417 echo "$as_me: failed program was:" >&5
27418 sed 's/^/| /' conftest.
$ac_ext >&5
27420 eval "$as_ac_var=no"
27422 rm -f conftest.err conftest.
$ac_objext \
27423 conftest
$ac_exeext conftest.
$ac_ext
27425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27427 if test `eval echo '${'$as_ac_var'}'` = yes; then
27428 cat >>confdefs.h
<<_ACEOF
27429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27435 CFLAGS
="$save_CFLAGS"
27439 wxUSE_UNIVERSAL
="yes"
27441 if test "$wxUSE_NANOX" = "yes"; then
27442 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
27443 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"
27444 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
27446 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
27453 if test "$wxUSE_MOTIF" = 1; then
27454 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
27455 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
27458 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27460 if test -f "$ac_dir/Xm/Xm.h"; then
27461 ac_find_includes
=$ac_dir
27466 if test "$ac_find_includes" != "" ; then
27467 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27468 echo "${ECHO_T}found in $ac_find_includes" >&6
27470 if test "x$ac_find_includes" = "x/usr/include"; then
27471 ac_path_to_include
=""
27473 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
27475 if test $result = 0; then
27476 ac_path_to_include
=""
27478 ac_path_to_include
=" -I$ac_find_includes"
27482 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
27484 cat >conftest.
$ac_ext <<_ACEOF
27487 cat confdefs.h
>>conftest.
$ac_ext
27488 cat >>conftest.
$ac_ext <<_ACEOF
27489 /* end confdefs.h. */
27498 version = xmUseVersion;
27504 rm -f conftest.
$ac_objext
27505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27506 (eval $ac_compile) 2>conftest.er1
27508 grep -v '^ *+' conftest.er1
>conftest.err
27510 cat conftest.err
>&5
27511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27512 (exit $ac_status); } &&
27513 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27515 (eval $ac_try) 2>&5
27517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27518 (exit $ac_status); }; } &&
27519 { ac_try
='test -s conftest.$ac_objext'
27520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27521 (eval $ac_try) 2>&5
27523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27524 (exit $ac_status); }; }; then
27526 echo "$as_me:$LINENO: result: found in default search path" >&5
27527 echo "${ECHO_T}found in default search path" >&6
27528 COMPILED_X_PROGRAM
=1
27531 echo "$as_me: failed program was:" >&5
27532 sed 's/^/| /' conftest.
$ac_ext >&5
27535 echo "$as_me:$LINENO: result: no" >&5
27536 echo "${ECHO_T}no" >&6
27537 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
27538 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
27539 { (exit 1); exit 1; }; }
27543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27546 if test "$COMPILED_X_PROGRAM" = 0; then
27547 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
27548 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
27551 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27553 for ac_extension
in a so sl dylib
; do
27554 if test -f "$ac_dir/libXm.$ac_extension"; then
27555 ac_find_libraries
=$ac_dir
27561 if test "$ac_find_libraries" != "" ; then
27562 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27563 echo "${ECHO_T}found at $ac_find_libraries" >&6
27566 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27568 if test $result = 0; then
27571 ac_path_to_link
=" -L$ac_find_libraries"
27574 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
27576 save_CFLAGS
=$CFLAGS
27577 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27579 cat >conftest.
$ac_ext <<_ACEOF
27582 cat confdefs.h
>>conftest.
$ac_ext
27583 cat >>conftest.
$ac_ext <<_ACEOF
27584 /* end confdefs.h. */
27593 version = xmUseVersion;
27599 rm -f conftest.
$ac_objext
27600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27601 (eval $ac_compile) 2>conftest.er1
27603 grep -v '^ *+' conftest.er1
>conftest.err
27605 cat conftest.err
>&5
27606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27607 (exit $ac_status); } &&
27608 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27610 (eval $ac_try) 2>&5
27612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27613 (exit $ac_status); }; } &&
27614 { ac_try
='test -s conftest.$ac_objext'
27615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27616 (eval $ac_try) 2>&5
27618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27619 (exit $ac_status); }; }; then
27621 echo "$as_me:$LINENO: result: found in default search path" >&5
27622 echo "${ECHO_T}found in default search path" >&6
27623 COMPILED_X_PROGRAM
=1
27626 echo "$as_me: failed program was:" >&5
27627 sed 's/^/| /' conftest.
$ac_ext >&5
27630 echo "$as_me:$LINENO: result: no" >&5
27631 echo "${ECHO_T}no" >&6
27632 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
27633 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
27634 { (exit 1); exit 1; }; }
27638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27640 CFLAGS
=$save_CFLAGS
27644 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
27645 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
27649 for libp
in "" " -lXp"; do
27650 if test "$libs_found" = "0"; then
27651 for libsm_ice
in "" " -lSM -lICE"; do
27652 if test "$libs_found" = "0"; then
27654 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
27655 save_CFLAGS
=$CFLAGS
27656 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27658 cat >conftest.
$ac_ext <<_ACEOF
27661 cat confdefs.h
>>conftest.
$ac_ext
27662 cat >>conftest.
$ac_ext <<_ACEOF
27663 /* end confdefs.h. */
27666 #include <Xm/List.h>
27672 XmString string = NULL;
27675 XmListAddItem(w, string, position);
27681 rm -f conftest.
$ac_objext conftest
$ac_exeext
27682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27683 (eval $ac_link) 2>conftest.er1
27685 grep -v '^ *+' conftest.er1
>conftest.err
27687 cat conftest.err
>&5
27688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27689 (exit $ac_status); } &&
27690 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27692 (eval $ac_try) 2>&5
27694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27695 (exit $ac_status); }; } &&
27696 { ac_try
='test -s conftest$ac_exeext'
27697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27698 (eval $ac_try) 2>&5
27700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27701 (exit $ac_status); }; }; then
27704 libsm_ice_link
="$libsm_ice"
27705 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
27706 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
27710 echo "$as_me: failed program was:" >&5
27711 sed 's/^/| /' conftest.
$ac_ext >&5
27716 rm -f conftest.err conftest.
$ac_objext \
27717 conftest
$ac_exeext conftest.
$ac_ext
27720 CFLAGS
=$save_CFLAGS
27726 if test "$libs_found" = "0"; then
27727 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
27728 echo "${ECHO_T}can't find the right libraries" >&6
27729 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
27730 echo "$as_me: error: can't link a simple motif program" >&2;}
27731 { (exit 1); exit 1; }; }
27734 save_CFLAGS
=$CFLAGS
27735 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27736 echo "$as_me:$LINENO: checking for Motif 2" >&5
27737 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
27738 cat >conftest.
$ac_ext <<_ACEOF
27741 cat confdefs.h
>>conftest.
$ac_ext
27742 cat >>conftest.
$ac_ext <<_ACEOF
27743 /* end confdefs.h. */
27751 #if XmVersion < 2000
27752 #error "Not Motif 2"
27759 rm -f conftest.
$ac_objext
27760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27761 (eval $ac_compile) 2>conftest.er1
27763 grep -v '^ *+' conftest.er1
>conftest.err
27765 cat conftest.err
>&5
27766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27767 (exit $ac_status); } &&
27768 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27770 (eval $ac_try) 2>&5
27772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27773 (exit $ac_status); }; } &&
27774 { ac_try
='test -s conftest.$ac_objext'
27775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27776 (eval $ac_try) 2>&5
27778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27779 (exit $ac_status); }; }; then
27781 cat >>confdefs.h
<<\_ACEOF
27782 #define __WXMOTIF20__ 1
27785 echo "$as_me:$LINENO: result: found" >&5
27786 echo "${ECHO_T}found" >&6
27789 echo "$as_me: failed program was:" >&5
27790 sed 's/^/| /' conftest.
$ac_ext >&5
27793 cat >>confdefs.h
<<\_ACEOF
27794 #define __WXMOTIF20__ 0
27797 echo "$as_me:$LINENO: result: not found" >&5
27798 echo "${ECHO_T}not found" >&6
27801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27802 CFLAGS
=$save_CFLAGS
27804 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
27809 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27810 if test "$wxUSE_LIBXPM" = "sys"; then
27811 echo "$as_me:$LINENO: checking for Xpm library" >&5
27812 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
27815 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27817 for ac_extension
in a so sl dylib
; do
27818 if test -f "$ac_dir/libXpm.$ac_extension"; then
27819 ac_find_libraries
=$ac_dir
27825 if test "$ac_find_libraries" != "" ; then
27827 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27829 if test $result = 0; then
27832 ac_path_to_link
=" -L$ac_find_libraries"
27835 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
27836 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27837 echo "${ECHO_T}found at $ac_find_libraries" >&6
27839 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
27840 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
27841 if test "${wx_cv_x11_xpm_h+set}" = set; then
27842 echo $ECHO_N "(cached) $ECHO_C" >&6
27845 save_CFLAGS
=$CFLAGS
27846 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27848 cat >conftest.
$ac_ext <<_ACEOF
27851 cat confdefs.h
>>conftest.
$ac_ext
27852 cat >>conftest.
$ac_ext <<_ACEOF
27853 /* end confdefs.h. */
27855 #include <X11/xpm.h>
27862 version = XpmLibraryVersion();
27868 rm -f conftest.
$ac_objext
27869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27870 (eval $ac_compile) 2>conftest.er1
27872 grep -v '^ *+' conftest.er1
>conftest.err
27874 cat conftest.err
>&5
27875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27876 (exit $ac_status); } &&
27877 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27879 (eval $ac_try) 2>&5
27881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27882 (exit $ac_status); }; } &&
27883 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
27889 wx_cv_x11_xpm_h
=yes
27891 echo "$as_me: failed program was:" >&5
27892 sed 's/^/| /' conftest.
$ac_ext >&5
27897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27899 CFLAGS
=$save_CFLAGS
27903 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
27904 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
27906 if test $wx_cv_x11_xpm_h = "yes"; then
27907 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
27908 cat >>confdefs.h
<<\_ACEOF
27909 #define wxHAVE_LIB_XPM 1
27913 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
27914 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
27920 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
27921 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
27922 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
27923 echo $ECHO_N "(cached) $ECHO_C" >&6
27925 ac_check_lib_save_LIBS
=$LIBS
27926 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
27927 cat >conftest.
$ac_ext <<_ACEOF
27930 cat confdefs.h
>>conftest.
$ac_ext
27931 cat >>conftest.
$ac_ext <<_ACEOF
27932 /* end confdefs.h. */
27934 /* Override any gcc2 internal prototype to avoid an error. */
27938 /* We use char because int might match the return type of a gcc2
27939 builtin and then its argument prototype would still apply. */
27940 char XShapeQueryExtension ();
27944 XShapeQueryExtension ();
27949 rm -f conftest.
$ac_objext conftest
$ac_exeext
27950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27951 (eval $ac_link) 2>conftest.er1
27953 grep -v '^ *+' conftest.er1
>conftest.err
27955 cat conftest.err
>&5
27956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27957 (exit $ac_status); } &&
27958 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27960 (eval $ac_try) 2>&5
27962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27963 (exit $ac_status); }; } &&
27964 { ac_try
='test -s conftest$ac_exeext'
27965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27966 (eval $ac_try) 2>&5
27968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27969 (exit $ac_status); }; }; then
27970 ac_cv_lib_Xext_XShapeQueryExtension
=yes
27972 echo "$as_me: failed program was:" >&5
27973 sed 's/^/| /' conftest.
$ac_ext >&5
27975 ac_cv_lib_Xext_XShapeQueryExtension
=no
27977 rm -f conftest.err conftest.
$ac_objext \
27978 conftest
$ac_exeext conftest.
$ac_ext
27979 LIBS
=$ac_check_lib_save_LIBS
27981 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
27982 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
27983 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
27985 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
27991 if test "$wxHAVE_XEXT_LIB" = 1; then
27992 save_CFLAGS
="$CFLAGS"
27993 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27995 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
27996 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
27997 cat >conftest.
$ac_ext <<_ACEOF
28000 cat confdefs.h
>>conftest.
$ac_ext
28001 cat >>conftest.
$ac_ext <<_ACEOF
28002 /* end confdefs.h. */
28004 #include <X11/Xlib.h>
28005 #include <X11/extensions/shape.h>
28011 int dummy1, dummy2;
28012 XShapeQueryExtension((Display*)NULL,
28013 (int*)NULL, (int*)NULL);
28019 rm -f conftest.
$ac_objext
28020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28021 (eval $ac_compile) 2>conftest.er1
28023 grep -v '^ *+' conftest.er1
>conftest.err
28025 cat conftest.err
>&5
28026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28027 (exit $ac_status); } &&
28028 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28030 (eval $ac_try) 2>&5
28032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28033 (exit $ac_status); }; } &&
28034 { ac_try
='test -s conftest.$ac_objext'
28035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28036 (eval $ac_try) 2>&5
28038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28039 (exit $ac_status); }; }; then
28041 cat >>confdefs.h
<<\_ACEOF
28042 #define HAVE_XSHAPE 1
28045 echo "$as_me:$LINENO: result: found" >&5
28046 echo "${ECHO_T}found" >&6
28049 echo "$as_me: failed program was:" >&5
28050 sed 's/^/| /' conftest.
$ac_ext >&5
28053 echo "$as_me:$LINENO: result: not found" >&5
28054 echo "${ECHO_T}not found" >&6
28057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28058 CFLAGS
="$save_CFLAGS"
28063 if test "$wxUSE_MAC" = 1; then
28064 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28065 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28066 if test "$GCC" = yes; then
28067 echo "$as_me:$LINENO: result: gcc" >&5
28068 echo "${ECHO_T}gcc" >&6
28069 CPPFLAGS_PASCAL
="-fpascal-strings"
28070 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28071 echo "$as_me:$LINENO: result: xlc" >&5
28072 echo "${ECHO_T}xlc" >&6
28073 CPPFLAGS_PASCAL
="-qmacpstr"
28075 echo "$as_me:$LINENO: result: none" >&5
28076 echo "${ECHO_T}none" >&6
28079 if test "x$wxUSE_UNIX" = "xyes"; then
28080 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28082 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28087 WXBASEPORT
="_carbon"
28090 if test "$wxUSE_COCOA" = 1; then
28095 if test "$wxUSE_PM" = 1; then
28098 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28099 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28100 if test "${wx_cv_spbcdata+set}" = set; then
28101 echo $ECHO_N "(cached) $ECHO_C" >&6
28104 cat >conftest.
$ac_ext <<_ACEOF
28107 cat confdefs.h
>>conftest.
$ac_ext
28108 cat >>conftest.
$ac_ext <<_ACEOF
28109 /* end confdefs.h. */
28124 rm -f conftest.
$ac_objext
28125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28126 (eval $ac_compile) 2>conftest.er1
28128 grep -v '^ *+' conftest.er1
>conftest.err
28130 cat conftest.err
>&5
28131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28132 (exit $ac_status); } &&
28133 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28135 (eval $ac_try) 2>&5
28137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28138 (exit $ac_status); }; } &&
28139 { ac_try
='test -s conftest.$ac_objext'
28140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28141 (eval $ac_try) 2>&5
28143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28144 (exit $ac_status); }; }; then
28147 echo "$as_me: failed program was:" >&5
28148 sed 's/^/| /' conftest.
$ac_ext >&5
28153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28157 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28158 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28160 if test $wx_cv_spbcdata = "yes"; then
28161 cat >>confdefs.h
<<\_ACEOF
28162 #define HAVE_SPBCDATA 1
28168 if test "$TOOLKIT" = "PM" ; then
28171 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28174 if test "$wxUSE_UNIVERSAL" = "yes"; then
28175 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28179 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28180 DISTDIR
="wx\$(TOOLKIT)"
28186 if test "$USE_WIN32" = 1 ; then
28190 GUIDIST
="BASE_DIST"
28200 if test "$TOOLKIT" != "MSW" ; then
28202 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28204 if test "${ac_cv_header_sql_h+set}" = set; then
28205 echo "$as_me:$LINENO: checking for sql.h" >&5
28206 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28207 if test "${ac_cv_header_sql_h+set}" = set; then
28208 echo $ECHO_N "(cached) $ECHO_C" >&6
28210 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28211 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28213 # Is the header compilable?
28214 echo "$as_me:$LINENO: checking sql.h usability" >&5
28215 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28216 cat >conftest.
$ac_ext <<_ACEOF
28219 cat confdefs.h
>>conftest.
$ac_ext
28220 cat >>conftest.
$ac_ext <<_ACEOF
28221 /* end confdefs.h. */
28222 $ac_includes_default
28225 rm -f conftest.
$ac_objext
28226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28227 (eval $ac_compile) 2>conftest.er1
28229 grep -v '^ *+' conftest.er1
>conftest.err
28231 cat conftest.err
>&5
28232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28233 (exit $ac_status); } &&
28234 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28236 (eval $ac_try) 2>&5
28238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28239 (exit $ac_status); }; } &&
28240 { ac_try
='test -s conftest.$ac_objext'
28241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28242 (eval $ac_try) 2>&5
28244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28245 (exit $ac_status); }; }; then
28246 ac_header_compiler
=yes
28248 echo "$as_me: failed program was:" >&5
28249 sed 's/^/| /' conftest.
$ac_ext >&5
28251 ac_header_compiler
=no
28253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28254 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28255 echo "${ECHO_T}$ac_header_compiler" >&6
28257 # Is the header present?
28258 echo "$as_me:$LINENO: checking sql.h presence" >&5
28259 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28260 cat >conftest.
$ac_ext <<_ACEOF
28263 cat confdefs.h
>>conftest.
$ac_ext
28264 cat >>conftest.
$ac_ext <<_ACEOF
28265 /* end confdefs.h. */
28268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28269 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28271 grep -v '^ *+' conftest.er1
>conftest.err
28273 cat conftest.err
>&5
28274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28275 (exit $ac_status); } >/dev
/null
; then
28276 if test -s conftest.err
; then
28277 ac_cpp_err
=$ac_c_preproc_warn_flag
28278 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28285 if test -z "$ac_cpp_err"; then
28286 ac_header_preproc
=yes
28288 echo "$as_me: failed program was:" >&5
28289 sed 's/^/| /' conftest.
$ac_ext >&5
28291 ac_header_preproc
=no
28293 rm -f conftest.err conftest.
$ac_ext
28294 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28295 echo "${ECHO_T}$ac_header_preproc" >&6
28297 # So? What about this header?
28298 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28300 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28301 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28302 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28303 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28304 ac_header_preproc
=yes
28307 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28308 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28309 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28310 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28311 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28312 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28313 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28314 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28315 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28316 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28317 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28318 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28321 ## ----------------------------------------- ##
28322 ## Report this to wx-dev@lists.wxwidgets.org ##
28323 ## ----------------------------------------- ##
28326 sed "s/^/$as_me: WARNING: /" >&2
28329 echo "$as_me:$LINENO: checking for sql.h" >&5
28330 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28331 if test "${ac_cv_header_sql_h+set}" = set; then
28332 echo $ECHO_N "(cached) $ECHO_C" >&6
28334 ac_cv_header_sql_h
=$ac_header_preproc
28336 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28337 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28340 if test $ac_cv_header_sql_h = yes; then
28345 if test "x$found_sql_h" = "x1" ; then
28346 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
28347 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
28348 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
28349 echo $ECHO_N "(cached) $ECHO_C" >&6
28351 ac_check_lib_save_LIBS
=$LIBS
28352 LIBS
="-liodbc $LIBS"
28353 cat >conftest.
$ac_ext <<_ACEOF
28356 cat confdefs.h
>>conftest.
$ac_ext
28357 cat >>conftest.
$ac_ext <<_ACEOF
28358 /* end confdefs.h. */
28360 /* Override any gcc2 internal prototype to avoid an error. */
28364 /* We use char because int might match the return type of a gcc2
28365 builtin and then its argument prototype would still apply. */
28366 char SQLAllocEnv ();
28375 rm -f conftest.
$ac_objext conftest
$ac_exeext
28376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28377 (eval $ac_link) 2>conftest.er1
28379 grep -v '^ *+' conftest.er1
>conftest.err
28381 cat conftest.err
>&5
28382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28383 (exit $ac_status); } &&
28384 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28386 (eval $ac_try) 2>&5
28388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28389 (exit $ac_status); }; } &&
28390 { ac_try
='test -s conftest$ac_exeext'
28391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28392 (eval $ac_try) 2>&5
28394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28395 (exit $ac_status); }; }; then
28396 ac_cv_lib_iodbc_SQLAllocEnv
=yes
28398 echo "$as_me: failed program was:" >&5
28399 sed 's/^/| /' conftest.
$ac_ext >&5
28401 ac_cv_lib_iodbc_SQLAllocEnv
=no
28403 rm -f conftest.err conftest.
$ac_objext \
28404 conftest
$ac_exeext conftest.
$ac_ext
28405 LIBS
=$ac_check_lib_save_LIBS
28407 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
28408 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
28409 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
28410 ODBC_LINK
=" -liodbc"
28413 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
28414 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
28415 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
28416 echo $ECHO_N "(cached) $ECHO_C" >&6
28418 ac_check_lib_save_LIBS
=$LIBS
28419 LIBS
="-lunixodbc $LIBS"
28420 cat >conftest.
$ac_ext <<_ACEOF
28423 cat confdefs.h
>>conftest.
$ac_ext
28424 cat >>conftest.
$ac_ext <<_ACEOF
28425 /* end confdefs.h. */
28427 /* Override any gcc2 internal prototype to avoid an error. */
28431 /* We use char because int might match the return type of a gcc2
28432 builtin and then its argument prototype would still apply. */
28433 char SQLAllocEnv ();
28442 rm -f conftest.
$ac_objext conftest
$ac_exeext
28443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28444 (eval $ac_link) 2>conftest.er1
28446 grep -v '^ *+' conftest.er1
>conftest.err
28448 cat conftest.err
>&5
28449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28450 (exit $ac_status); } &&
28451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28453 (eval $ac_try) 2>&5
28455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28456 (exit $ac_status); }; } &&
28457 { ac_try
='test -s conftest$ac_exeext'
28458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28459 (eval $ac_try) 2>&5
28461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28462 (exit $ac_status); }; }; then
28463 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
28465 echo "$as_me: failed program was:" >&5
28466 sed 's/^/| /' conftest.
$ac_ext >&5
28468 ac_cv_lib_unixodbc_SQLAllocEnv
=no
28470 rm -f conftest.err conftest.
$ac_objext \
28471 conftest
$ac_exeext conftest.
$ac_ext
28472 LIBS
=$ac_check_lib_save_LIBS
28474 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
28475 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
28476 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
28477 ODBC_LINK
=" -lunixodbc"
28480 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
28481 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
28482 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
28483 echo $ECHO_N "(cached) $ECHO_C" >&6
28485 ac_check_lib_save_LIBS
=$LIBS
28486 LIBS
="-lodbc $LIBS"
28487 cat >conftest.
$ac_ext <<_ACEOF
28490 cat confdefs.h
>>conftest.
$ac_ext
28491 cat >>conftest.
$ac_ext <<_ACEOF
28492 /* end confdefs.h. */
28494 /* Override any gcc2 internal prototype to avoid an error. */
28498 /* We use char because int might match the return type of a gcc2
28499 builtin and then its argument prototype would still apply. */
28500 char SQLAllocEnv ();
28509 rm -f conftest.
$ac_objext conftest
$ac_exeext
28510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28511 (eval $ac_link) 2>conftest.er1
28513 grep -v '^ *+' conftest.er1
>conftest.err
28515 cat conftest.err
>&5
28516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28517 (exit $ac_status); } &&
28518 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28520 (eval $ac_try) 2>&5
28522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28523 (exit $ac_status); }; } &&
28524 { ac_try
='test -s conftest$ac_exeext'
28525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28526 (eval $ac_try) 2>&5
28528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28529 (exit $ac_status); }; }; then
28530 ac_cv_lib_odbc_SQLAllocEnv
=yes
28532 echo "$as_me: failed program was:" >&5
28533 sed 's/^/| /' conftest.
$ac_ext >&5
28535 ac_cv_lib_odbc_SQLAllocEnv
=no
28537 rm -f conftest.err conftest.
$ac_objext \
28538 conftest
$ac_exeext conftest.
$ac_ext
28539 LIBS
=$ac_check_lib_save_LIBS
28541 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
28542 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
28543 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
28544 ODBC_LINK
=" -lodbc"
28554 if test "x$ODBC_LINK" = "x" ; then
28555 if test "$wxUSE_ODBC" = "sys" ; then
28556 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
28557 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
28558 { (exit 1); exit 1; }; }
28560 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
28561 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
28569 if test "$wxUSE_ODBC" = "builtin" ; then
28570 cat >>confdefs.h
<<\_ACEOF
28571 #define wxUSE_BUILTIN_IODBC 1
28577 if test "$wxUSE_ODBC" != "no" ; then
28578 cat >>confdefs.h
<<\_ACEOF
28579 #define wxUSE_ODBC 1
28582 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
28584 WXODBCFLAG
="-D_IODBC_"
28588 if test "$wxUSE_DISPLAY" = "yes"; then
28589 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
28590 echo "$as_me:$LINENO: checking for Xinerama" >&5
28591 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
28594 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28596 for ac_extension
in a so sl dylib
; do
28597 if test -f "$ac_dir/libXinerama.$ac_extension"; then
28598 ac_find_libraries
=$ac_dir
28604 if test "$ac_find_libraries" != "" ; then
28606 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28608 if test $result = 0; then
28611 ac_path_to_link
=" -L$ac_find_libraries"
28614 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28615 LDFLAGS
="$LDFLAGS $ac_path_to_link"
28617 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
28618 echo "$as_me:$LINENO: result: yes" >&5
28619 echo "${ECHO_T}yes" >&6
28621 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
28622 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
28625 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28627 for ac_extension
in a so sl dylib
; do
28628 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
28629 ac_find_libraries
=$ac_dir
28635 if test "$ac_find_libraries" != "" ; then
28636 echo "$as_me:$LINENO: result: yes" >&5
28637 echo "${ECHO_T}yes" >&6
28639 for ac_header
in X
11/extensions
/xf86vmode.h
28641 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28642 echo "$as_me:$LINENO: checking for $ac_header" >&5
28643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28645 echo $ECHO_N "(cached) $ECHO_C" >&6
28647 cat >conftest.
$ac_ext <<_ACEOF
28650 cat confdefs.h
>>conftest.
$ac_ext
28651 cat >>conftest.
$ac_ext <<_ACEOF
28652 /* end confdefs.h. */
28654 #if HAVE_X11_XLIB_H
28655 #include <X11/Xlib.h>
28659 #include <$ac_header>
28661 rm -f conftest.
$ac_objext
28662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28663 (eval $ac_compile) 2>conftest.er1
28665 grep -v '^ *+' conftest.er1
>conftest.err
28667 cat conftest.err
>&5
28668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28669 (exit $ac_status); } &&
28670 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28672 (eval $ac_try) 2>&5
28674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28675 (exit $ac_status); }; } &&
28676 { ac_try
='test -s conftest.$ac_objext'
28677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28678 (eval $ac_try) 2>&5
28680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28681 (exit $ac_status); }; }; then
28682 eval "$as_ac_Header=yes"
28684 echo "$as_me: failed program was:" >&5
28685 sed 's/^/| /' conftest.
$ac_ext >&5
28687 eval "$as_ac_Header=no"
28689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28694 cat >>confdefs.h
<<_ACEOF
28695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28698 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
28705 echo "$as_me:$LINENO: result: no" >&5
28706 echo "${ECHO_T}no" >&6
28710 echo "$as_me:$LINENO: result: no" >&5
28711 echo "${ECHO_T}no" >&6
28712 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
28713 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
28716 elif test "$wxUSE_MSW" = 1; then
28719 for ac_header
in multimon.h ddraw.h
28721 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28722 echo "$as_me:$LINENO: checking for $ac_header" >&5
28723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28725 echo $ECHO_N "(cached) $ECHO_C" >&6
28727 cat >conftest.
$ac_ext <<_ACEOF
28730 cat confdefs.h
>>conftest.
$ac_ext
28731 cat >>conftest.
$ac_ext <<_ACEOF
28732 /* end confdefs.h. */
28733 #include <windows.h>
28735 #include <$ac_header>
28737 rm -f conftest.
$ac_objext
28738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28739 (eval $ac_compile) 2>conftest.er1
28741 grep -v '^ *+' conftest.er1
>conftest.err
28743 cat conftest.err
>&5
28744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28745 (exit $ac_status); } &&
28746 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28748 (eval $ac_try) 2>&5
28750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28751 (exit $ac_status); }; } &&
28752 { ac_try
='test -s conftest.$ac_objext'
28753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28754 (eval $ac_try) 2>&5
28756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28757 (exit $ac_status); }; }; then
28758 eval "$as_ac_Header=yes"
28760 echo "$as_me: failed program was:" >&5
28761 sed 's/^/| /' conftest.
$ac_ext >&5
28763 eval "$as_ac_Header=no"
28765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28768 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28770 cat >>confdefs.h
<<_ACEOF
28771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28777 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
28778 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
28789 if test "$wxUSE_OPENGL" = "yes"; then
28790 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28791 OPENGL_LIBS
="-framework OpenGL -framework AGL"
28792 elif test "$wxUSE_MSW" = 1; then
28793 OPENGL_LIBS
="-lopengl32 -lglu32"
28798 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
28800 if test -f "$ac_dir/GL/gl.h"; then
28801 ac_find_includes
=$ac_dir
28806 if test "$ac_find_includes" != "" ; then
28807 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28808 echo "${ECHO_T}found in $ac_find_includes" >&6
28810 if test "x$ac_find_includes" = "x/usr/include"; then
28811 ac_path_to_include
=""
28813 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
28815 if test $result = 0; then
28816 ac_path_to_include
=""
28818 ac_path_to_include
=" -I$ac_find_includes"
28822 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
28825 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28826 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28827 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28828 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28829 echo $ECHO_N "(cached) $ECHO_C" >&6
28831 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28832 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28834 # Is the header compilable?
28835 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
28836 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
28837 cat >conftest.
$ac_ext <<_ACEOF
28840 cat confdefs.h
>>conftest.
$ac_ext
28841 cat >>conftest.
$ac_ext <<_ACEOF
28842 /* end confdefs.h. */
28843 $ac_includes_default
28846 rm -f conftest.
$ac_objext
28847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28848 (eval $ac_compile) 2>conftest.er1
28850 grep -v '^ *+' conftest.er1
>conftest.err
28852 cat conftest.err
>&5
28853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28854 (exit $ac_status); } &&
28855 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28857 (eval $ac_try) 2>&5
28859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28860 (exit $ac_status); }; } &&
28861 { ac_try
='test -s conftest.$ac_objext'
28862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28863 (eval $ac_try) 2>&5
28865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28866 (exit $ac_status); }; }; then
28867 ac_header_compiler
=yes
28869 echo "$as_me: failed program was:" >&5
28870 sed 's/^/| /' conftest.
$ac_ext >&5
28872 ac_header_compiler
=no
28874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28875 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28876 echo "${ECHO_T}$ac_header_compiler" >&6
28878 # Is the header present?
28879 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
28880 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
28881 cat >conftest.
$ac_ext <<_ACEOF
28884 cat confdefs.h
>>conftest.
$ac_ext
28885 cat >>conftest.
$ac_ext <<_ACEOF
28886 /* end confdefs.h. */
28889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28890 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28892 grep -v '^ *+' conftest.er1
>conftest.err
28894 cat conftest.err
>&5
28895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28896 (exit $ac_status); } >/dev
/null
; then
28897 if test -s conftest.err
; then
28898 ac_cpp_err
=$ac_c_preproc_warn_flag
28899 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28906 if test -z "$ac_cpp_err"; then
28907 ac_header_preproc
=yes
28909 echo "$as_me: failed program was:" >&5
28910 sed 's/^/| /' conftest.
$ac_ext >&5
28912 ac_header_preproc
=no
28914 rm -f conftest.err conftest.
$ac_ext
28915 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28916 echo "${ECHO_T}$ac_header_preproc" >&6
28918 # So? What about this header?
28919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28921 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
28922 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28923 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
28924 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
28925 ac_header_preproc
=yes
28928 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
28929 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
28930 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
28931 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
28932 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
28933 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
28934 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
28935 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
28936 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
28937 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
28938 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
28939 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
28942 ## ----------------------------------------- ##
28943 ## Report this to wx-dev@lists.wxwidgets.org ##
28944 ## ----------------------------------------- ##
28947 sed "s/^/$as_me: WARNING: /" >&2
28950 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28951 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28952 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28953 echo $ECHO_N "(cached) $ECHO_C" >&6
28955 ac_cv_header_GL_gl_h
=$ac_header_preproc
28957 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28958 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28961 if test $ac_cv_header_GL_gl_h = yes; then
28965 echo "$as_me:$LINENO: checking for -lGL" >&5
28966 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
28969 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28971 for ac_extension
in a so sl dylib
; do
28972 if test -f "$ac_dir/libGL.$ac_extension"; then
28973 ac_find_libraries
=$ac_dir
28979 if test "$ac_find_libraries" != "" ; then
28981 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28983 if test $result = 0; then
28986 ac_path_to_link
=" -L$ac_find_libraries"
28989 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28990 LDFLAGS_GL
="$ac_path_to_link"
28995 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28997 for ac_extension
in a so sl dylib
; do
28998 if test -f "$ac_dir/libGLU.$ac_extension"; then
28999 ac_find_libraries
=$ac_dir
29005 if test "$ac_find_libraries" != "" ; then
29007 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29009 if test $result = 0; then
29012 ac_path_to_link
=" -L$ac_find_libraries"
29015 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29016 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29017 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
29021 OPENGL_LIBS
="-lGL -lGLU"
29022 echo "$as_me:$LINENO: result: yes" >&5
29023 echo "${ECHO_T}yes" >&6
29027 if test "$found_gl" != 1; then
29028 echo "$as_me:$LINENO: result: no" >&5
29029 echo "${ECHO_T}no" >&6
29030 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29031 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29034 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29036 for ac_extension
in a so sl dylib
; do
29037 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29038 ac_find_libraries
=$ac_dir
29044 if test "$ac_find_libraries" != "" ; then
29046 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29048 if test $result = 0; then
29051 ac_path_to_link
=" -L$ac_find_libraries"
29054 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
29055 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
29056 echo "$as_me:$LINENO: result: yes" >&5
29057 echo "${ECHO_T}yes" >&6
29059 echo "$as_me:$LINENO: result: no" >&5
29060 echo "${ECHO_T}no" >&6
29068 if test "x$OPENGL_LIBS" = "x"; then
29069 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29070 echo "$as_me: error: OpenGL libraries not available" >&2;}
29071 { (exit 1); exit 1; }; }
29075 if test "$wxUSE_OPENGL" = "yes"; then
29077 cat >>confdefs.h
<<\_ACEOF
29078 #define wxUSE_OPENGL 1
29081 cat >>confdefs.h
<<\_ACEOF
29082 #define wxUSE_GLCANVAS 1
29085 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29090 if test -n "$TOOLKIT" ; then
29091 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29096 if test "$wxUSE_SHARED" = "yes"; then
29100 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29101 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29106 if test "$wxUSE_SHARED" = "yes"; then
29109 found_versioning
=no
29112 if test $found_versioning = no
; then
29113 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29114 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29115 if test "${wx_cv_version_script+set}" = set; then
29116 echo $ECHO_N "(cached) $ECHO_C" >&6
29119 echo "VER_1 { *; };" >conftest.sym
29120 echo "int main() { return 0; }" >conftest.cpp
29123 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29124 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29126 (eval $ac_try) 2>&5
29128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29129 (exit $ac_status); }; } ; then
29130 if test -s conftest.stderr
; then
29131 wx_cv_version_script
=no
29133 wx_cv_version_script
=yes
29136 wx_cv_version_script
=no
29138 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29141 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29142 echo "${ECHO_T}$wx_cv_version_script" >&6
29143 if test $wx_cv_version_script = yes ; then
29144 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
29150 *-*-linux* | *-*-gnu* )
29151 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29152 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29156 if test "$GCC" = yes ; then
29157 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
29159 saveLdflags
="$LDFLAGS"
29160 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29161 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29162 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29163 cat >conftest.
$ac_ext <<_ACEOF
29166 cat confdefs.h
>>conftest.
$ac_ext
29167 cat >>conftest.
$ac_ext <<_ACEOF
29168 /* end confdefs.h. */
29178 rm -f conftest.
$ac_objext conftest
$ac_exeext
29179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29180 (eval $ac_link) 2>conftest.er1
29182 grep -v '^ *+' conftest.er1
>conftest.err
29184 cat conftest.err
>&5
29185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29186 (exit $ac_status); } &&
29187 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29189 (eval $ac_try) 2>&5
29191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29192 (exit $ac_status); }; } &&
29193 { ac_try
='test -s conftest$ac_exeext'
29194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29195 (eval $ac_try) 2>&5
29197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29198 (exit $ac_status); }; }; then
29200 echo "$as_me:$LINENO: result: yes" >&5
29201 echo "${ECHO_T}yes" >&6
29202 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29203 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29206 echo "$as_me: failed program was:" >&5
29207 sed 's/^/| /' conftest.
$ac_ext >&5
29210 echo "$as_me:$LINENO: result: no" >&5
29211 echo "${ECHO_T}no" >&6
29212 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29213 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29214 LDFLAGS
="$saveLdflags -Wl,-R,/"
29215 cat >conftest.
$ac_ext <<_ACEOF
29218 cat confdefs.h
>>conftest.
$ac_ext
29219 cat >>conftest.
$ac_ext <<_ACEOF
29220 /* end confdefs.h. */
29230 rm -f conftest.
$ac_objext conftest
$ac_exeext
29231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29232 (eval $ac_link) 2>conftest.er1
29234 grep -v '^ *+' conftest.er1
>conftest.err
29236 cat conftest.err
>&5
29237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29238 (exit $ac_status); } &&
29239 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29241 (eval $ac_try) 2>&5
29243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29244 (exit $ac_status); }; } &&
29245 { ac_try
='test -s conftest$ac_exeext'
29246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29247 (eval $ac_try) 2>&5
29249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29250 (exit $ac_status); }; }; then
29252 echo "$as_me:$LINENO: result: yes" >&5
29253 echo "${ECHO_T}yes" >&6
29254 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
29255 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29258 echo "$as_me: failed program was:" >&5
29259 sed 's/^/| /' conftest.
$ac_ext >&5
29262 echo "$as_me:$LINENO: result: no" >&5
29263 echo "${ECHO_T}no" >&6
29266 rm -f conftest.err conftest.
$ac_objext \
29267 conftest
$ac_exeext conftest.
$ac_ext
29270 rm -f conftest.err conftest.
$ac_objext \
29271 conftest
$ac_exeext conftest.
$ac_ext
29272 LDFLAGS
="$saveLdflags"
29274 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
29275 WXCONFIG_RPATH
="-R\$libdir"
29279 powerpc
-*-darwin* )
29280 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29281 cat <<EOF >change-install-names
29283 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29284 inst_cmd="install_name_tool "
29285 for i in \${libnames} ; do
29286 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29290 chmod +x change
-install-names
29293 *-*-cygwin* | *-*-mingw32* )
29294 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
29298 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
29299 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29304 if test $wxUSE_RPATH = "no"; then
29305 SAMPLES_RPATH_FLAG
=''
29306 SAMPLES_RPATH_POSTLINK
=''
29314 config_linkage_component
="-static"
29321 lib_unicode_suffix
=
29323 if test "$wxUSE_UNICODE" = "yes"; then
29324 lib_unicode_suffix
=u
29325 WX_CHARTYPE
="unicode"
29330 WX_DEBUGTYPE
="release"
29332 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
29334 WX_DEBUGTYPE
="debug"
29338 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29339 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29342 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29346 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
29348 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
29350 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29352 if test "$cross_compiling" = "yes"; then
29353 HOST_SUFFIX
="-$host_alias"
29354 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
29355 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
29358 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29359 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29363 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
29364 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
29365 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
29367 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
29369 # Extract the first word of "Rez", so it can be a program name with args.
29370 set dummy Rez
; ac_word
=$2
29371 echo "$as_me:$LINENO: checking for $ac_word" >&5
29372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29373 if test "${ac_cv_prog_RESCOMP+set}" = set; then
29374 echo $ECHO_N "(cached) $ECHO_C" >&6
29376 if test -n "$RESCOMP"; then
29377 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
29379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29380 for as_dir
in $PATH
29383 test -z "$as_dir" && as_dir
=.
29384 for ac_exec_ext
in '' $ac_executable_extensions; do
29385 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29386 ac_cv_prog_RESCOMP
="Rez"
29387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29393 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
29396 RESCOMP
=$ac_cv_prog_RESCOMP
29397 if test -n "$RESCOMP"; then
29398 echo "$as_me:$LINENO: result: $RESCOMP" >&5
29399 echo "${ECHO_T}$RESCOMP" >&6
29401 echo "$as_me:$LINENO: result: no" >&5
29402 echo "${ECHO_T}no" >&6
29405 # Extract the first word of "DeRez", so it can be a program name with args.
29406 set dummy DeRez
; ac_word
=$2
29407 echo "$as_me:$LINENO: checking for $ac_word" >&5
29408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29409 if test "${ac_cv_prog_DEREZ+set}" = set; then
29410 echo $ECHO_N "(cached) $ECHO_C" >&6
29412 if test -n "$DEREZ"; then
29413 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
29415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29416 for as_dir
in $PATH
29419 test -z "$as_dir" && as_dir
=.
29420 for ac_exec_ext
in '' $ac_executable_extensions; do
29421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29422 ac_cv_prog_DEREZ
="DeRez"
29423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29429 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
29432 DEREZ
=$ac_cv_prog_DEREZ
29433 if test -n "$DEREZ"; then
29434 echo "$as_me:$LINENO: result: $DEREZ" >&5
29435 echo "${ECHO_T}$DEREZ" >&6
29437 echo "$as_me:$LINENO: result: no" >&5
29438 echo "${ECHO_T}no" >&6
29441 # Extract the first word of "SetFile", so it can be a program name with args.
29442 set dummy SetFile
; ac_word
=$2
29443 echo "$as_me:$LINENO: checking for $ac_word" >&5
29444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29445 if test "${ac_cv_prog_SETFILE+set}" = set; then
29446 echo $ECHO_N "(cached) $ECHO_C" >&6
29448 if test -n "$SETFILE"; then
29449 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
29451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29452 for as_dir
in $PATH
29455 test -z "$as_dir" && as_dir
=.
29456 for ac_exec_ext
in '' $ac_executable_extensions; do
29457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29458 ac_cv_prog_SETFILE
="SetFile"
29459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29465 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
29468 SETFILE
=$ac_cv_prog_SETFILE
29469 if test -n "$SETFILE"; then
29470 echo "$as_me:$LINENO: result: $SETFILE" >&5
29471 echo "${ECHO_T}$SETFILE" >&6
29473 echo "$as_me:$LINENO: result: no" >&5
29474 echo "${ECHO_T}no" >&6
29478 MACSETFILE
="\$(SETFILE)"
29480 if test "$wxUSE_MAC" = 1; then
29481 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
29483 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29485 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
29486 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29490 MACRESWXCONFIG
="@true"
29492 if test "$wxUSE_PM" = 1; then
29493 MACRESCOMP
="emxbind -ep"
29501 echo "$as_me:$LINENO: checking for mode_t" >&5
29502 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
29503 if test "${ac_cv_type_mode_t+set}" = set; then
29504 echo $ECHO_N "(cached) $ECHO_C" >&6
29506 cat >conftest.
$ac_ext <<_ACEOF
29509 cat confdefs.h
>>conftest.
$ac_ext
29510 cat >>conftest.
$ac_ext <<_ACEOF
29511 /* end confdefs.h. */
29512 $ac_includes_default
29518 if (sizeof (mode_t))
29524 rm -f conftest.
$ac_objext
29525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29526 (eval $ac_compile) 2>conftest.er1
29528 grep -v '^ *+' conftest.er1
>conftest.err
29530 cat conftest.err
>&5
29531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29532 (exit $ac_status); } &&
29533 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29535 (eval $ac_try) 2>&5
29537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29538 (exit $ac_status); }; } &&
29539 { ac_try
='test -s conftest.$ac_objext'
29540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29541 (eval $ac_try) 2>&5
29543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29544 (exit $ac_status); }; }; then
29545 ac_cv_type_mode_t
=yes
29547 echo "$as_me: failed program was:" >&5
29548 sed 's/^/| /' conftest.
$ac_ext >&5
29550 ac_cv_type_mode_t
=no
29552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29554 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
29555 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
29556 if test $ac_cv_type_mode_t = yes; then
29560 cat >>confdefs.h
<<_ACEOF
29566 echo "$as_me:$LINENO: checking for off_t" >&5
29567 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
29568 if test "${ac_cv_type_off_t+set}" = set; then
29569 echo $ECHO_N "(cached) $ECHO_C" >&6
29571 cat >conftest.
$ac_ext <<_ACEOF
29574 cat confdefs.h
>>conftest.
$ac_ext
29575 cat >>conftest.
$ac_ext <<_ACEOF
29576 /* end confdefs.h. */
29577 $ac_includes_default
29583 if (sizeof (off_t))
29589 rm -f conftest.
$ac_objext
29590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29591 (eval $ac_compile) 2>conftest.er1
29593 grep -v '^ *+' conftest.er1
>conftest.err
29595 cat conftest.err
>&5
29596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29597 (exit $ac_status); } &&
29598 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29600 (eval $ac_try) 2>&5
29602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29603 (exit $ac_status); }; } &&
29604 { ac_try
='test -s conftest.$ac_objext'
29605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29606 (eval $ac_try) 2>&5
29608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29609 (exit $ac_status); }; }; then
29610 ac_cv_type_off_t
=yes
29612 echo "$as_me: failed program was:" >&5
29613 sed 's/^/| /' conftest.
$ac_ext >&5
29615 ac_cv_type_off_t
=no
29617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29619 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
29620 echo "${ECHO_T}$ac_cv_type_off_t" >&6
29621 if test $ac_cv_type_off_t = yes; then
29625 cat >>confdefs.h
<<_ACEOF
29631 echo "$as_me:$LINENO: checking for pid_t" >&5
29632 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
29633 if test "${ac_cv_type_pid_t+set}" = set; then
29634 echo $ECHO_N "(cached) $ECHO_C" >&6
29636 cat >conftest.
$ac_ext <<_ACEOF
29639 cat confdefs.h
>>conftest.
$ac_ext
29640 cat >>conftest.
$ac_ext <<_ACEOF
29641 /* end confdefs.h. */
29642 $ac_includes_default
29648 if (sizeof (pid_t))
29654 rm -f conftest.
$ac_objext
29655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29656 (eval $ac_compile) 2>conftest.er1
29658 grep -v '^ *+' conftest.er1
>conftest.err
29660 cat conftest.err
>&5
29661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29662 (exit $ac_status); } &&
29663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29665 (eval $ac_try) 2>&5
29667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29668 (exit $ac_status); }; } &&
29669 { ac_try
='test -s conftest.$ac_objext'
29670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29671 (eval $ac_try) 2>&5
29673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29674 (exit $ac_status); }; }; then
29675 ac_cv_type_pid_t
=yes
29677 echo "$as_me: failed program was:" >&5
29678 sed 's/^/| /' conftest.
$ac_ext >&5
29680 ac_cv_type_pid_t
=no
29682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29684 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
29685 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
29686 if test $ac_cv_type_pid_t = yes; then
29690 cat >>confdefs.h
<<_ACEOF
29696 echo "$as_me:$LINENO: checking for size_t" >&5
29697 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
29698 if test "${ac_cv_type_size_t+set}" = set; then
29699 echo $ECHO_N "(cached) $ECHO_C" >&6
29701 cat >conftest.
$ac_ext <<_ACEOF
29704 cat confdefs.h
>>conftest.
$ac_ext
29705 cat >>conftest.
$ac_ext <<_ACEOF
29706 /* end confdefs.h. */
29707 $ac_includes_default
29713 if (sizeof (size_t))
29719 rm -f conftest.
$ac_objext
29720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29721 (eval $ac_compile) 2>conftest.er1
29723 grep -v '^ *+' conftest.er1
>conftest.err
29725 cat conftest.err
>&5
29726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29727 (exit $ac_status); } &&
29728 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29730 (eval $ac_try) 2>&5
29732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29733 (exit $ac_status); }; } &&
29734 { ac_try
='test -s conftest.$ac_objext'
29735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29736 (eval $ac_try) 2>&5
29738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29739 (exit $ac_status); }; }; then
29740 ac_cv_type_size_t
=yes
29742 echo "$as_me: failed program was:" >&5
29743 sed 's/^/| /' conftest.
$ac_ext >&5
29745 ac_cv_type_size_t
=no
29747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29749 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29750 echo "${ECHO_T}$ac_cv_type_size_t" >&6
29751 if test $ac_cv_type_size_t = yes; then
29755 cat >>confdefs.h
<<_ACEOF
29756 #define size_t unsigned
29761 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
29762 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
29763 if test "${ac_cv_type_uid_t+set}" = set; then
29764 echo $ECHO_N "(cached) $ECHO_C" >&6
29766 cat >conftest.
$ac_ext <<_ACEOF
29769 cat confdefs.h
>>conftest.
$ac_ext
29770 cat >>conftest.
$ac_ext <<_ACEOF
29771 /* end confdefs.h. */
29772 #include <sys/types.h>
29775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29776 $EGREP "uid_t" >/dev
/null
2>&1; then
29777 ac_cv_type_uid_t
=yes
29779 ac_cv_type_uid_t
=no
29784 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
29785 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
29786 if test $ac_cv_type_uid_t = no
; then
29788 cat >>confdefs.h
<<\_ACEOF
29793 cat >>confdefs.h
<<\_ACEOF
29800 echo "$as_me:$LINENO: checking for ssize_t" >&5
29801 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
29802 if test "${ac_cv_type_ssize_t+set}" = set; then
29803 echo $ECHO_N "(cached) $ECHO_C" >&6
29805 cat >conftest.
$ac_ext <<_ACEOF
29808 cat confdefs.h
>>conftest.
$ac_ext
29809 cat >>conftest.
$ac_ext <<_ACEOF
29810 /* end confdefs.h. */
29811 $ac_includes_default
29817 if (sizeof (ssize_t))
29823 rm -f conftest.
$ac_objext
29824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29825 (eval $ac_compile) 2>conftest.er1
29827 grep -v '^ *+' conftest.er1
>conftest.err
29829 cat conftest.err
>&5
29830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29831 (exit $ac_status); } &&
29832 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29834 (eval $ac_try) 2>&5
29836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837 (exit $ac_status); }; } &&
29838 { ac_try
='test -s conftest.$ac_objext'
29839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29840 (eval $ac_try) 2>&5
29842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29843 (exit $ac_status); }; }; then
29844 ac_cv_type_ssize_t
=yes
29846 echo "$as_me: failed program was:" >&5
29847 sed 's/^/| /' conftest.
$ac_ext >&5
29849 ac_cv_type_ssize_t
=no
29851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29853 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
29854 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
29855 if test $ac_cv_type_ssize_t = yes; then
29857 cat >>confdefs.h
<<_ACEOF
29858 #define HAVE_SSIZE_T 1
29868 ac_cpp
='$CXXCPP $CPPFLAGS'
29869 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29870 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29871 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29873 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
29874 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
29875 if test "${wx_cv_size_t_is_uint+set}" = set; then
29876 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 #include <stddef.h>
29892 struct Foo { void foo(size_t); void foo(unsigned int); };
29900 rm -f conftest.
$ac_objext
29901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29902 (eval $ac_compile) 2>conftest.er1
29904 grep -v '^ *+' conftest.er1
>conftest.err
29906 cat conftest.err
>&5
29907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29908 (exit $ac_status); } &&
29909 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29911 (eval $ac_try) 2>&5
29913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29914 (exit $ac_status); }; } &&
29915 { ac_try
='test -s conftest.$ac_objext'
29916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29917 (eval $ac_try) 2>&5
29919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29920 (exit $ac_status); }; }; then
29921 wx_cv_size_t_is_uint
=no
29923 echo "$as_me: failed program was:" >&5
29924 sed 's/^/| /' conftest.
$ac_ext >&5
29926 wx_cv_size_t_is_uint
=yes
29929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29933 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
29934 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
29936 if test "$wx_cv_size_t_is_uint" = "yes"; then
29937 cat >>confdefs.h
<<\_ACEOF
29938 #define wxSIZE_T_IS_UINT 1
29942 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
29943 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
29944 if test "${wx_cv_size_t_is_ulong+set}" = set; then
29945 echo $ECHO_N "(cached) $ECHO_C" >&6
29947 cat >conftest.
$ac_ext <<_ACEOF
29950 cat confdefs.h
>>conftest.
$ac_ext
29951 cat >>conftest.
$ac_ext <<_ACEOF
29952 /* end confdefs.h. */
29953 #include <stddef.h>
29960 struct Foo { void foo(size_t); void foo(unsigned long); };
29968 rm -f conftest.
$ac_objext
29969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29970 (eval $ac_compile) 2>conftest.er1
29972 grep -v '^ *+' conftest.er1
>conftest.err
29974 cat conftest.err
>&5
29975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29976 (exit $ac_status); } &&
29977 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29979 (eval $ac_try) 2>&5
29981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29982 (exit $ac_status); }; } &&
29983 { ac_try
='test -s conftest.$ac_objext'
29984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29985 (eval $ac_try) 2>&5
29987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29988 (exit $ac_status); }; }; then
29989 wx_cv_size_t_is_ulong
=no
29991 echo "$as_me: failed program was:" >&5
29992 sed 's/^/| /' conftest.
$ac_ext >&5
29994 wx_cv_size_t_is_ulong
=yes
29997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30000 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30001 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30003 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30004 cat >>confdefs.h
<<\_ACEOF
30005 #define wxSIZE_T_IS_ULONG 1
30012 ac_cpp
='$CPP $CPPFLAGS'
30013 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30014 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30015 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30019 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30020 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30021 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30022 echo $ECHO_N "(cached) $ECHO_C" >&6
30025 cat >conftest.
$ac_ext <<_ACEOF
30028 cat confdefs.h
>>conftest.
$ac_ext
30029 cat >>conftest.
$ac_ext <<_ACEOF
30030 /* end confdefs.h. */
30044 rm -f conftest.
$ac_objext
30045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30046 (eval $ac_compile) 2>conftest.er1
30048 grep -v '^ *+' conftest.er1
>conftest.err
30050 cat conftest.err
>&5
30051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30052 (exit $ac_status); } &&
30053 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30055 (eval $ac_try) 2>&5
30057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30058 (exit $ac_status); }; } &&
30059 { ac_try
='test -s conftest.$ac_objext'
30060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30061 (eval $ac_try) 2>&5
30063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30064 (exit $ac_status); }; }; then
30066 wx_cv_struct_pw_gecos
=yes
30069 echo "$as_me: failed program was:" >&5
30070 sed 's/^/| /' conftest.
$ac_ext >&5
30073 wx_cv_struct_pw_gecos
=no
30077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30081 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30082 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30084 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30085 cat >>confdefs.h
<<\_ACEOF
30086 #define HAVE_PW_GECOS 1
30092 if test "$ac_cv_sizeof_wchar_t" != "0"; then
30093 cat >>confdefs.h
<<\_ACEOF
30094 #define wxUSE_WCHAR_T 1
30101 for ac_func
in wcslen
30103 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30104 echo "$as_me:$LINENO: checking for $ac_func" >&5
30105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30106 if eval "test \"\${$as_ac_var+set}\" = set"; then
30107 echo $ECHO_N "(cached) $ECHO_C" >&6
30109 cat >conftest.
$ac_ext <<_ACEOF
30112 cat confdefs.h
>>conftest.
$ac_ext
30113 cat >>conftest.
$ac_ext <<_ACEOF
30114 /* end confdefs.h. */
30115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30117 #define $ac_func innocuous_$ac_func
30119 /* System header to define __stub macros and hopefully few prototypes,
30120 which can conflict with char $ac_func (); below.
30121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30122 <limits.h> exists even on freestanding compilers. */
30125 # include <limits.h>
30127 # include <assert.h>
30132 /* Override any gcc2 internal prototype to avoid an error. */
30137 /* We use char because int might match the return type of a gcc2
30138 builtin and then its argument prototype would still apply. */
30140 /* The GNU C library defines this for functions which it implements
30141 to always fail with ENOSYS. Some functions are actually named
30142 something starting with __ and the normal name is an alias. */
30143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30146 char (*f) () = $ac_func;
30155 return f != $ac_func;
30160 rm -f conftest.
$ac_objext conftest
$ac_exeext
30161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30162 (eval $ac_link) 2>conftest.er1
30164 grep -v '^ *+' conftest.er1
>conftest.err
30166 cat conftest.err
>&5
30167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30168 (exit $ac_status); } &&
30169 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30171 (eval $ac_try) 2>&5
30173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30174 (exit $ac_status); }; } &&
30175 { ac_try
='test -s conftest$ac_exeext'
30176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30177 (eval $ac_try) 2>&5
30179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30180 (exit $ac_status); }; }; then
30181 eval "$as_ac_var=yes"
30183 echo "$as_me: failed program was:" >&5
30184 sed 's/^/| /' conftest.
$ac_ext >&5
30186 eval "$as_ac_var=no"
30188 rm -f conftest.err conftest.
$ac_objext \
30189 conftest
$ac_exeext conftest.
$ac_ext
30191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30193 if test `eval echo '${'$as_ac_var'}'` = yes; then
30194 cat >>confdefs.h
<<_ACEOF
30195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30202 if test "$WCSLEN_FOUND" = 0; then
30203 if test "$TOOLKIT" = "MSW"; then
30204 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
30205 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
30206 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
30207 echo $ECHO_N "(cached) $ECHO_C" >&6
30209 ac_check_lib_save_LIBS
=$LIBS
30210 LIBS
="-lmsvcrt $LIBS"
30211 cat >conftest.
$ac_ext <<_ACEOF
30214 cat confdefs.h
>>conftest.
$ac_ext
30215 cat >>conftest.
$ac_ext <<_ACEOF
30216 /* end confdefs.h. */
30218 /* Override any gcc2 internal prototype to avoid an error. */
30222 /* We use char because int might match the return type of a gcc2
30223 builtin and then its argument prototype would still apply. */
30233 rm -f conftest.
$ac_objext conftest
$ac_exeext
30234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30235 (eval $ac_link) 2>conftest.er1
30237 grep -v '^ *+' conftest.er1
>conftest.err
30239 cat conftest.err
>&5
30240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30241 (exit $ac_status); } &&
30242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30244 (eval $ac_try) 2>&5
30246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30247 (exit $ac_status); }; } &&
30248 { ac_try
='test -s conftest$ac_exeext'
30249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30250 (eval $ac_try) 2>&5
30252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30253 (exit $ac_status); }; }; then
30254 ac_cv_lib_msvcrt_wcslen
=yes
30256 echo "$as_me: failed program was:" >&5
30257 sed 's/^/| /' conftest.
$ac_ext >&5
30259 ac_cv_lib_msvcrt_wcslen
=no
30261 rm -f conftest.err conftest.
$ac_objext \
30262 conftest
$ac_exeext conftest.
$ac_ext
30263 LIBS
=$ac_check_lib_save_LIBS
30265 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
30266 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
30267 if test $ac_cv_lib_msvcrt_wcslen = yes; then
30272 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
30273 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
30274 if test "${ac_cv_lib_w_wcslen+set}" = set; then
30275 echo $ECHO_N "(cached) $ECHO_C" >&6
30277 ac_check_lib_save_LIBS
=$LIBS
30279 cat >conftest.
$ac_ext <<_ACEOF
30282 cat confdefs.h
>>conftest.
$ac_ext
30283 cat >>conftest.
$ac_ext <<_ACEOF
30284 /* end confdefs.h. */
30286 /* Override any gcc2 internal prototype to avoid an error. */
30290 /* We use char because int might match the return type of a gcc2
30291 builtin and then its argument prototype would still apply. */
30301 rm -f conftest.
$ac_objext conftest
$ac_exeext
30302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30303 (eval $ac_link) 2>conftest.er1
30305 grep -v '^ *+' conftest.er1
>conftest.err
30307 cat conftest.err
>&5
30308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30309 (exit $ac_status); } &&
30310 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30312 (eval $ac_try) 2>&5
30314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315 (exit $ac_status); }; } &&
30316 { ac_try
='test -s conftest$ac_exeext'
30317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30318 (eval $ac_try) 2>&5
30320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30321 (exit $ac_status); }; }; then
30322 ac_cv_lib_w_wcslen
=yes
30324 echo "$as_me: failed program was:" >&5
30325 sed 's/^/| /' conftest.
$ac_ext >&5
30327 ac_cv_lib_w_wcslen
=no
30329 rm -f conftest.err conftest.
$ac_objext \
30330 conftest
$ac_exeext conftest.
$ac_ext
30331 LIBS
=$ac_check_lib_save_LIBS
30333 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
30334 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
30335 if test $ac_cv_lib_w_wcslen = yes; then
30345 if test "$WCSLEN_FOUND" = 1; then
30346 cat >>confdefs.h
<<\_ACEOF
30347 #define HAVE_WCSLEN 1
30352 if test "$USE_HPUX" = 1; then
30353 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
30357 for ac_func
in wcsrtombs
30359 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30360 echo "$as_me:$LINENO: checking for $ac_func" >&5
30361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30362 if eval "test \"\${$as_ac_var+set}\" = set"; then
30363 echo $ECHO_N "(cached) $ECHO_C" >&6
30365 cat >conftest.
$ac_ext <<_ACEOF
30368 cat confdefs.h
>>conftest.
$ac_ext
30369 cat >>conftest.
$ac_ext <<_ACEOF
30370 /* end confdefs.h. */
30371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30373 #define $ac_func innocuous_$ac_func
30375 /* System header to define __stub macros and hopefully few prototypes,
30376 which can conflict with char $ac_func (); below.
30377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30378 <limits.h> exists even on freestanding compilers. */
30381 # include <limits.h>
30383 # include <assert.h>
30388 /* Override any gcc2 internal prototype to avoid an error. */
30393 /* We use char because int might match the return type of a gcc2
30394 builtin and then its argument prototype would still apply. */
30396 /* The GNU C library defines this for functions which it implements
30397 to always fail with ENOSYS. Some functions are actually named
30398 something starting with __ and the normal name is an alias. */
30399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30402 char (*f) () = $ac_func;
30411 return f != $ac_func;
30416 rm -f conftest.
$ac_objext conftest
$ac_exeext
30417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30418 (eval $ac_link) 2>conftest.er1
30420 grep -v '^ *+' conftest.er1
>conftest.err
30422 cat conftest.err
>&5
30423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30424 (exit $ac_status); } &&
30425 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30427 (eval $ac_try) 2>&5
30429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30430 (exit $ac_status); }; } &&
30431 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
30437 eval "$as_ac_var=yes"
30439 echo "$as_me: failed program was:" >&5
30440 sed 's/^/| /' conftest.
$ac_ext >&5
30442 eval "$as_ac_var=no"
30444 rm -f conftest.err conftest.
$ac_objext \
30445 conftest
$ac_exeext conftest.
$ac_ext
30447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30449 if test `eval echo '${'$as_ac_var'}'` = yes; then
30450 cat >>confdefs.h
<<_ACEOF
30451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30458 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
30459 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
30465 ac_cpp
='$CXXCPP $CPPFLAGS'
30466 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30467 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30468 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30472 for ac_func
in vsnprintf
30474 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30475 echo "$as_me:$LINENO: checking for $ac_func" >&5
30476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30477 if eval "test \"\${$as_ac_var+set}\" = set"; then
30478 echo $ECHO_N "(cached) $ECHO_C" >&6
30480 cat >conftest.
$ac_ext <<_ACEOF
30483 cat confdefs.h
>>conftest.
$ac_ext
30484 cat >>conftest.
$ac_ext <<_ACEOF
30485 /* end confdefs.h. */
30486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30488 #define $ac_func innocuous_$ac_func
30490 /* System header to define __stub macros and hopefully few prototypes,
30491 which can conflict with char $ac_func (); below.
30492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30493 <limits.h> exists even on freestanding compilers. */
30496 # include <limits.h>
30498 # include <assert.h>
30503 /* Override any gcc2 internal prototype to avoid an error. */
30508 /* We use char because int might match the return type of a gcc2
30509 builtin and then its argument prototype would still apply. */
30511 /* The GNU C library defines this for functions which it implements
30512 to always fail with ENOSYS. Some functions are actually named
30513 something starting with __ and the normal name is an alias. */
30514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30517 char (*f) () = $ac_func;
30526 return f != $ac_func;
30531 rm -f conftest.
$ac_objext conftest
$ac_exeext
30532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30533 (eval $ac_link) 2>conftest.er1
30535 grep -v '^ *+' conftest.er1
>conftest.err
30537 cat conftest.err
>&5
30538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30539 (exit $ac_status); } &&
30540 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30542 (eval $ac_try) 2>&5
30544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30545 (exit $ac_status); }; } &&
30546 { ac_try
='test -s conftest$ac_exeext'
30547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30548 (eval $ac_try) 2>&5
30550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30551 (exit $ac_status); }; }; then
30552 eval "$as_ac_var=yes"
30554 echo "$as_me: failed program was:" >&5
30555 sed 's/^/| /' conftest.
$ac_ext >&5
30557 eval "$as_ac_var=no"
30559 rm -f conftest.err conftest.
$ac_objext \
30560 conftest
$ac_exeext conftest.
$ac_ext
30562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30564 if test `eval echo '${'$as_ac_var'}'` = yes; then
30565 cat >>confdefs.h
<<_ACEOF
30566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30573 if test "$ac_cv_func_vsnprintf" = "yes"; then
30574 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
30575 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
30576 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
30577 echo $ECHO_N "(cached) $ECHO_C" >&6
30580 cat >conftest.
$ac_ext <<_ACEOF
30583 cat confdefs.h
>>conftest.
$ac_ext
30584 cat >>conftest.
$ac_ext <<_ACEOF
30585 /* end confdefs.h. */
30588 #include <stdarg.h>
30596 vsnprintf(buf, 10u, "%s", ap);
30602 rm -f conftest.
$ac_objext
30603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30604 (eval $ac_compile) 2>conftest.er1
30606 grep -v '^ *+' conftest.er1
>conftest.err
30608 cat conftest.err
>&5
30609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30610 (exit $ac_status); } &&
30611 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30613 (eval $ac_try) 2>&5
30615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30616 (exit $ac_status); }; } &&
30617 { ac_try
='test -s conftest.$ac_objext'
30618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30619 (eval $ac_try) 2>&5
30621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30622 (exit $ac_status); }; }; then
30623 wx_cv_func_vsnprintf_decl
=yes
30625 echo "$as_me: failed program was:" >&5
30626 sed 's/^/| /' conftest.
$ac_ext >&5
30629 cat >conftest.
$ac_ext <<_ACEOF
30632 cat confdefs.h
>>conftest.
$ac_ext
30633 cat >>conftest.
$ac_ext <<_ACEOF
30634 /* end confdefs.h. */
30637 #include <stdarg.h>
30638 using namespace std;
30646 vsnprintf(buf, 10u, "%s", ap);
30652 rm -f conftest.
$ac_objext
30653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30654 (eval $ac_compile) 2>conftest.er1
30656 grep -v '^ *+' conftest.er1
>conftest.err
30658 cat conftest.err
>&5
30659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30660 (exit $ac_status); } &&
30661 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30663 (eval $ac_try) 2>&5
30665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30666 (exit $ac_status); }; } &&
30667 { ac_try
='test -s conftest.$ac_objext'
30668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30669 (eval $ac_try) 2>&5
30671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30672 (exit $ac_status); }; }; then
30673 wx_cv_func_vsnprintf_decl
=yes
30675 echo "$as_me: failed program was:" >&5
30676 sed 's/^/| /' conftest.
$ac_ext >&5
30678 wx_cv_func_vsnprintf_decl
=no
30681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30689 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
30690 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
30692 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
30693 cat >>confdefs.h
<<\_ACEOF
30694 #define HAVE_VSNPRINTF_DECL 1
30700 if test "$wxUSE_UNICODE" = yes; then
30707 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
30709 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30710 echo "$as_me:$LINENO: checking for $ac_func" >&5
30711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30712 if eval "test \"\${$as_ac_var+set}\" = set"; then
30713 echo $ECHO_N "(cached) $ECHO_C" >&6
30715 cat >conftest.
$ac_ext <<_ACEOF
30718 cat confdefs.h
>>conftest.
$ac_ext
30719 cat >>conftest.
$ac_ext <<_ACEOF
30720 /* end confdefs.h. */
30721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30723 #define $ac_func innocuous_$ac_func
30725 /* System header to define __stub macros and hopefully few prototypes,
30726 which can conflict with char $ac_func (); below.
30727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30728 <limits.h> exists even on freestanding compilers. */
30731 # include <limits.h>
30733 # include <assert.h>
30738 /* Override any gcc2 internal prototype to avoid an error. */
30743 /* We use char because int might match the return type of a gcc2
30744 builtin and then its argument prototype would still apply. */
30746 /* The GNU C library defines this for functions which it implements
30747 to always fail with ENOSYS. Some functions are actually named
30748 something starting with __ and the normal name is an alias. */
30749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30752 char (*f) () = $ac_func;
30761 return f != $ac_func;
30766 rm -f conftest.
$ac_objext conftest
$ac_exeext
30767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30768 (eval $ac_link) 2>conftest.er1
30770 grep -v '^ *+' conftest.er1
>conftest.err
30772 cat conftest.err
>&5
30773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30774 (exit $ac_status); } &&
30775 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30777 (eval $ac_try) 2>&5
30779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30780 (exit $ac_status); }; } &&
30781 { ac_try
='test -s conftest$ac_exeext'
30782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30783 (eval $ac_try) 2>&5
30785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30786 (exit $ac_status); }; }; then
30787 eval "$as_ac_var=yes"
30789 echo "$as_me: failed program was:" >&5
30790 sed 's/^/| /' conftest.
$ac_ext >&5
30792 eval "$as_ac_var=no"
30794 rm -f conftest.err conftest.
$ac_objext \
30795 conftest
$ac_exeext conftest.
$ac_ext
30797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30799 if test `eval echo '${'$as_ac_var'}'` = yes; then
30800 cat >>confdefs.h
<<_ACEOF
30801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30808 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
30809 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
30810 cat >conftest.
$ac_ext <<_ACEOF
30813 cat confdefs.h
>>conftest.
$ac_ext
30814 cat >>conftest.
$ac_ext <<_ACEOF
30815 /* end confdefs.h. */
30825 rm -f conftest.
$ac_objext
30826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30827 (eval $ac_compile) 2>conftest.er1
30829 grep -v '^ *+' conftest.er1
>conftest.err
30831 cat conftest.err
>&5
30832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30833 (exit $ac_status); } &&
30834 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30836 (eval $ac_try) 2>&5
30838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30839 (exit $ac_status); }; } &&
30840 { ac_try
='test -s conftest.$ac_objext'
30841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30842 (eval $ac_try) 2>&5
30844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30845 (exit $ac_status); }; }; then
30846 echo "$as_me:$LINENO: result: yes" >&5
30847 echo "${ECHO_T}yes" >&6
30848 cat >>confdefs.h
<<\_ACEOF
30849 #define HAVE__VSNWPRINTF 1
30853 echo "$as_me: failed program was:" >&5
30854 sed 's/^/| /' conftest.
$ac_ext >&5
30856 echo "$as_me:$LINENO: result: no" >&5
30857 echo "${ECHO_T}no" >&6
30859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
30863 ac_cpp
='$CPP $CPPFLAGS'
30864 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30865 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30866 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30871 if test "$TOOLKIT" != "MSW"; then
30877 ac_cpp
='$CXXCPP $CPPFLAGS'
30878 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30879 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30880 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30885 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
30886 if test "${with_libiconv_prefix+set}" = set; then
30887 withval
="$with_libiconv_prefix"
30889 for dir
in `echo "$withval" | tr : ' '`; do
30890 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
30891 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
30896 echo "$as_me:$LINENO: checking for iconv" >&5
30897 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
30898 if test "${am_cv_func_iconv+set}" = set; then
30899 echo $ECHO_N "(cached) $ECHO_C" >&6
30902 am_cv_func_iconv
="no, consider installing GNU libiconv"
30904 cat >conftest.
$ac_ext <<_ACEOF
30907 cat confdefs.h
>>conftest.
$ac_ext
30908 cat >>conftest.
$ac_ext <<_ACEOF
30909 /* end confdefs.h. */
30910 #include <stdlib.h>
30915 iconv_t cd = iconv_open("","");
30916 iconv(cd,NULL,NULL,NULL,NULL);
30922 rm -f conftest.
$ac_objext conftest
$ac_exeext
30923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30924 (eval $ac_link) 2>conftest.er1
30926 grep -v '^ *+' conftest.er1
>conftest.err
30928 cat conftest.err
>&5
30929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30930 (exit $ac_status); } &&
30931 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30933 (eval $ac_try) 2>&5
30935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30936 (exit $ac_status); }; } &&
30937 { ac_try
='test -s conftest$ac_exeext'
30938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30939 (eval $ac_try) 2>&5
30941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30942 (exit $ac_status); }; }; then
30943 am_cv_func_iconv
=yes
30945 echo "$as_me: failed program was:" >&5
30946 sed 's/^/| /' conftest.
$ac_ext >&5
30949 rm -f conftest.err conftest.
$ac_objext \
30950 conftest
$ac_exeext conftest.
$ac_ext
30951 if test "$am_cv_func_iconv" != yes; then
30952 am_save_LIBS
="$LIBS"
30953 LIBS
="$LIBS -liconv"
30954 cat >conftest.
$ac_ext <<_ACEOF
30957 cat confdefs.h
>>conftest.
$ac_ext
30958 cat >>conftest.
$ac_ext <<_ACEOF
30959 /* end confdefs.h. */
30960 #include <stdlib.h>
30965 iconv_t cd = iconv_open("","");
30966 iconv(cd,NULL,NULL,NULL,NULL);
30972 rm -f conftest.
$ac_objext conftest
$ac_exeext
30973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30974 (eval $ac_link) 2>conftest.er1
30976 grep -v '^ *+' conftest.er1
>conftest.err
30978 cat conftest.err
>&5
30979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30980 (exit $ac_status); } &&
30981 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30983 (eval $ac_try) 2>&5
30985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30986 (exit $ac_status); }; } &&
30987 { ac_try
='test -s conftest$ac_exeext'
30988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30989 (eval $ac_try) 2>&5
30991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30992 (exit $ac_status); }; }; then
30993 am_cv_lib_iconv
=yes
30994 am_cv_func_iconv
=yes
30996 echo "$as_me: failed program was:" >&5
30997 sed 's/^/| /' conftest.
$ac_ext >&5
31000 rm -f conftest.err conftest.
$ac_objext \
31001 conftest
$ac_exeext conftest.
$ac_ext
31002 LIBS
="$am_save_LIBS"
31006 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
31007 echo "${ECHO_T}$am_cv_func_iconv" >&6
31008 if test "$am_cv_func_iconv" = yes; then
31010 cat >>confdefs.h
<<\_ACEOF
31011 #define HAVE_ICONV 1
31014 echo "$as_me:$LINENO: checking if iconv needs const" >&5
31015 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
31016 if test "${wx_cv_func_iconv_const+set}" = set; then
31017 echo $ECHO_N "(cached) $ECHO_C" >&6
31019 cat >conftest.
$ac_ext <<_ACEOF
31022 cat confdefs.h
>>conftest.
$ac_ext
31023 cat >>conftest.
$ac_ext <<_ACEOF
31024 /* end confdefs.h. */
31026 #include <stdlib.h>
31032 #if defined(__STDC__) || defined(__cplusplus)
31033 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
31046 rm -f conftest.
$ac_objext
31047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31048 (eval $ac_compile) 2>conftest.er1
31050 grep -v '^ *+' conftest.er1
>conftest.err
31052 cat conftest.err
>&5
31053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31054 (exit $ac_status); } &&
31055 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31057 (eval $ac_try) 2>&5
31059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31060 (exit $ac_status); }; } &&
31061 { ac_try
='test -s conftest.$ac_objext'
31062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31063 (eval $ac_try) 2>&5
31065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31066 (exit $ac_status); }; }; then
31067 wx_cv_func_iconv_const
="no"
31069 echo "$as_me: failed program was:" >&5
31070 sed 's/^/| /' conftest.
$ac_ext >&5
31072 wx_cv_func_iconv_const
="yes"
31075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31078 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
31079 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
31082 if test "x$wx_cv_func_iconv_const" = "xyes"; then
31083 iconv_const
="const"
31087 cat >>confdefs.h
<<_ACEOF
31088 #define ICONV_CONST $iconv_const
31093 if test "$am_cv_lib_iconv" = yes; then
31098 LIBS
="$LIBICONV $LIBS"
31100 ac_cpp
='$CPP $CPPFLAGS'
31101 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31102 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31103 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31106 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31108 for ac_func
in sigaction
31110 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31111 echo "$as_me:$LINENO: checking for $ac_func" >&5
31112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31113 if eval "test \"\${$as_ac_var+set}\" = set"; then
31114 echo $ECHO_N "(cached) $ECHO_C" >&6
31116 cat >conftest.
$ac_ext <<_ACEOF
31119 cat confdefs.h
>>conftest.
$ac_ext
31120 cat >>conftest.
$ac_ext <<_ACEOF
31121 /* end confdefs.h. */
31122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31124 #define $ac_func innocuous_$ac_func
31126 /* System header to define __stub macros and hopefully few prototypes,
31127 which can conflict with char $ac_func (); below.
31128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31129 <limits.h> exists even on freestanding compilers. */
31132 # include <limits.h>
31134 # include <assert.h>
31139 /* Override any gcc2 internal prototype to avoid an error. */
31144 /* We use char because int might match the return type of a gcc2
31145 builtin and then its argument prototype would still apply. */
31147 /* The GNU C library defines this for functions which it implements
31148 to always fail with ENOSYS. Some functions are actually named
31149 something starting with __ and the normal name is an alias. */
31150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31153 char (*f) () = $ac_func;
31162 return f != $ac_func;
31167 rm -f conftest.
$ac_objext conftest
$ac_exeext
31168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31169 (eval $ac_link) 2>conftest.er1
31171 grep -v '^ *+' conftest.er1
>conftest.err
31173 cat conftest.err
>&5
31174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31175 (exit $ac_status); } &&
31176 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31178 (eval $ac_try) 2>&5
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); }; } &&
31182 { ac_try
='test -s conftest$ac_exeext'
31183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31184 (eval $ac_try) 2>&5
31186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31187 (exit $ac_status); }; }; then
31188 eval "$as_ac_var=yes"
31190 echo "$as_me: failed program was:" >&5
31191 sed 's/^/| /' conftest.
$ac_ext >&5
31193 eval "$as_ac_var=no"
31195 rm -f conftest.err conftest.
$ac_objext \
31196 conftest
$ac_exeext conftest.
$ac_ext
31198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31200 if test `eval echo '${'$as_ac_var'}'` = yes; then
31201 cat >>confdefs.h
<<_ACEOF
31202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31209 if test "$ac_cv_func_sigaction" = "no"; then
31210 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
31211 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
31212 wxUSE_ON_FATAL_EXCEPTION
=no
31215 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
31219 ac_cpp
='$CXXCPP $CPPFLAGS'
31220 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31221 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31222 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31225 echo "$as_me:$LINENO: checking for sa_handler type" >&5
31226 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
31227 if test "${wx_cv_type_sa_handler+set}" = set; then
31228 echo $ECHO_N "(cached) $ECHO_C" >&6
31231 cat >conftest.
$ac_ext <<_ACEOF
31234 cat confdefs.h
>>conftest.
$ac_ext
31235 cat >>conftest.
$ac_ext <<_ACEOF
31236 /* end confdefs.h. */
31237 #include <signal.h>
31242 extern void testSigHandler(int);
31244 struct sigaction sa;
31245 sa.sa_handler = testSigHandler;
31251 rm -f conftest.
$ac_objext
31252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31253 (eval $ac_compile) 2>conftest.er1
31255 grep -v '^ *+' conftest.er1
>conftest.err
31257 cat conftest.err
>&5
31258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31259 (exit $ac_status); } &&
31260 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31262 (eval $ac_try) 2>&5
31264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31265 (exit $ac_status); }; } &&
31266 { ac_try
='test -s conftest.$ac_objext'
31267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31268 (eval $ac_try) 2>&5
31270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31271 (exit $ac_status); }; }; then
31273 wx_cv_type_sa_handler
=int
31276 echo "$as_me: failed program was:" >&5
31277 sed 's/^/| /' conftest.
$ac_ext >&5
31280 wx_cv_type_sa_handler
=void
31283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31286 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
31287 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
31290 ac_cpp
='$CPP $CPPFLAGS'
31291 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31292 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31293 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31296 cat >>confdefs.h
<<_ACEOF
31297 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
31303 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31307 ac_cpp
='$CXXCPP $CPPFLAGS'
31308 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31309 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31310 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31313 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
31314 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
31315 if test "${wx_cv_func_backtrace+set}" = set; then
31316 echo $ECHO_N "(cached) $ECHO_C" >&6
31319 cat >conftest.
$ac_ext <<_ACEOF
31322 cat confdefs.h
>>conftest.
$ac_ext
31323 cat >>conftest.
$ac_ext <<_ACEOF
31324 /* end confdefs.h. */
31325 #include <execinfo.h>
31333 backtrace(trace, 1);
31334 messages = backtrace_symbols(trace, 1);
31340 rm -f conftest.
$ac_objext
31341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31342 (eval $ac_compile) 2>conftest.er1
31344 grep -v '^ *+' conftest.er1
>conftest.err
31346 cat conftest.err
>&5
31347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31348 (exit $ac_status); } &&
31349 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31351 (eval $ac_try) 2>&5
31353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31354 (exit $ac_status); }; } &&
31355 { ac_try
='test -s conftest.$ac_objext'
31356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31357 (eval $ac_try) 2>&5
31359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31360 (exit $ac_status); }; }; then
31361 wx_cv_func_backtrace
=yes
31363 echo "$as_me: failed program was:" >&5
31364 sed 's/^/| /' conftest.
$ac_ext >&5
31366 wx_cv_func_backtrace
=no
31369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31373 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
31374 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
31377 if test "$wx_cv_func_backtrace" = "no"; then
31378 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
31379 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
31380 wxUSE_STACKWALKER
=no
31382 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
31383 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
31384 if test "${wx_cv_func_cxa_demangle+set}" = set; then
31385 echo $ECHO_N "(cached) $ECHO_C" >&6
31388 cat >conftest.
$ac_ext <<_ACEOF
31391 cat confdefs.h
>>conftest.
$ac_ext
31392 cat >>conftest.
$ac_ext <<_ACEOF
31393 /* end confdefs.h. */
31394 #include <cxxabi.h>
31400 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
31406 rm -f conftest.
$ac_objext
31407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31408 (eval $ac_compile) 2>conftest.er1
31410 grep -v '^ *+' conftest.er1
>conftest.err
31412 cat conftest.err
>&5
31413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31414 (exit $ac_status); } &&
31415 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31417 (eval $ac_try) 2>&5
31419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31420 (exit $ac_status); }; } &&
31421 { ac_try
='test -s conftest.$ac_objext'
31422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31423 (eval $ac_try) 2>&5
31425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31426 (exit $ac_status); }; }; then
31427 wx_cv_func_cxa_demangle
=yes
31429 echo "$as_me: failed program was:" >&5
31430 sed 's/^/| /' conftest.
$ac_ext >&5
31432 wx_cv_func_cxa_demangle
=no
31435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31439 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
31440 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
31442 if test "$wx_cv_func_cxa_demangle" = "yes"; then
31443 cat >>confdefs.h
<<\_ACEOF
31444 #define HAVE_CXA_DEMANGLE 1
31451 ac_cpp
='$CPP $CPPFLAGS'
31452 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31453 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31454 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31460 for ac_func
in mkstemp mktemp
31462 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31463 echo "$as_me:$LINENO: checking for $ac_func" >&5
31464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31465 if eval "test \"\${$as_ac_var+set}\" = set"; then
31466 echo $ECHO_N "(cached) $ECHO_C" >&6
31468 cat >conftest.
$ac_ext <<_ACEOF
31471 cat confdefs.h
>>conftest.
$ac_ext
31472 cat >>conftest.
$ac_ext <<_ACEOF
31473 /* end confdefs.h. */
31474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31476 #define $ac_func innocuous_$ac_func
31478 /* System header to define __stub macros and hopefully few prototypes,
31479 which can conflict with char $ac_func (); below.
31480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31481 <limits.h> exists even on freestanding compilers. */
31484 # include <limits.h>
31486 # include <assert.h>
31491 /* 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. */
31499 /* The GNU C library defines this for functions which it implements
31500 to always fail with ENOSYS. Some functions are actually named
31501 something starting with __ and the normal name is an alias. */
31502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31505 char (*f) () = $ac_func;
31514 return f != $ac_func;
31519 rm -f conftest.
$ac_objext conftest
$ac_exeext
31520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31521 (eval $ac_link) 2>conftest.er1
31523 grep -v '^ *+' conftest.er1
>conftest.err
31525 cat conftest.err
>&5
31526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31527 (exit $ac_status); } &&
31528 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31530 (eval $ac_try) 2>&5
31532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31533 (exit $ac_status); }; } &&
31534 { ac_try
='test -s conftest$ac_exeext'
31535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31536 (eval $ac_try) 2>&5
31538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31539 (exit $ac_status); }; }; then
31540 eval "$as_ac_var=yes"
31542 echo "$as_me: failed program was:" >&5
31543 sed 's/^/| /' conftest.
$ac_ext >&5
31545 eval "$as_ac_var=no"
31547 rm -f conftest.err conftest.
$ac_objext \
31548 conftest
$ac_exeext conftest.
$ac_ext
31550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31552 if test `eval echo '${'$as_ac_var'}'` = yes; then
31553 cat >>confdefs.h
<<_ACEOF
31554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31561 echo "$as_me:$LINENO: checking for statfs" >&5
31562 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
31563 if test "${wx_cv_func_statfs+set}" = set; then
31564 echo $ECHO_N "(cached) $ECHO_C" >&6
31566 cat >conftest.
$ac_ext <<_ACEOF
31569 cat confdefs.h
>>conftest.
$ac_ext
31570 cat >>conftest.
$ac_ext <<_ACEOF
31571 /* end confdefs.h. */
31573 #if defined(__BSD__)
31574 #include <sys/param.h>
31575 #include <sys/mount.h>
31577 #include <sys/vfs.h>
31595 rm -f conftest.
$ac_objext
31596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31597 (eval $ac_compile) 2>conftest.er1
31599 grep -v '^ *+' conftest.er1
>conftest.err
31601 cat conftest.err
>&5
31602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31603 (exit $ac_status); } &&
31604 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31606 (eval $ac_try) 2>&5
31608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31609 (exit $ac_status); }; } &&
31610 { ac_try
='test -s conftest.$ac_objext'
31611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31612 (eval $ac_try) 2>&5
31614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31615 (exit $ac_status); }; }; then
31617 wx_cv_func_statfs
=yes
31620 echo "$as_me: failed program was:" >&5
31621 sed 's/^/| /' conftest.
$ac_ext >&5
31624 wx_cv_func_statfs
=no
31628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31631 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
31632 echo "${ECHO_T}$wx_cv_func_statfs" >&6
31634 if test "$wx_cv_func_statfs" = "yes"; then
31635 wx_cv_type_statvfs_t
="struct statfs"
31636 cat >>confdefs.h
<<\_ACEOF
31637 #define HAVE_STATFS 1
31641 echo "$as_me:$LINENO: checking for statvfs" >&5
31642 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
31643 if test "${wx_cv_func_statvfs+set}" = set; then
31644 echo $ECHO_N "(cached) $ECHO_C" >&6
31646 cat >conftest.
$ac_ext <<_ACEOF
31649 cat confdefs.h
>>conftest.
$ac_ext
31650 cat >>conftest.
$ac_ext <<_ACEOF
31651 /* end confdefs.h. */
31653 #include <stddef.h>
31654 #include <sys/statvfs.h>
31660 statvfs("/", NULL);
31666 rm -f conftest.
$ac_objext
31667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31668 (eval $ac_compile) 2>conftest.er1
31670 grep -v '^ *+' conftest.er1
>conftest.err
31672 cat conftest.err
>&5
31673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31674 (exit $ac_status); } &&
31675 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31677 (eval $ac_try) 2>&5
31679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31680 (exit $ac_status); }; } &&
31681 { ac_try
='test -s conftest.$ac_objext'
31682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31683 (eval $ac_try) 2>&5
31685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31686 (exit $ac_status); }; }; then
31687 wx_cv_func_statvfs
=yes
31689 echo "$as_me: failed program was:" >&5
31690 sed 's/^/| /' conftest.
$ac_ext >&5
31692 wx_cv_func_statvfs
=no
31695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31698 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
31699 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
31701 if test "$wx_cv_func_statvfs" = "yes"; then
31705 ac_cpp
='$CXXCPP $CPPFLAGS'
31706 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31707 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31708 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31711 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
31712 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
31713 if test "${wx_cv_type_statvfs_t+set}" = set; then
31714 echo $ECHO_N "(cached) $ECHO_C" >&6
31716 cat >conftest.
$ac_ext <<_ACEOF
31719 cat confdefs.h
>>conftest.
$ac_ext
31720 cat >>conftest.
$ac_ext <<_ACEOF
31721 /* end confdefs.h. */
31723 #include <sys/statvfs.h>
31740 rm -f conftest.
$ac_objext
31741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31742 (eval $ac_compile) 2>conftest.er1
31744 grep -v '^ *+' conftest.er1
>conftest.err
31746 cat conftest.err
>&5
31747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31748 (exit $ac_status); } &&
31749 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
31755 { ac_try
='test -s conftest.$ac_objext'
31756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31757 (eval $ac_try) 2>&5
31759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31760 (exit $ac_status); }; }; then
31761 wx_cv_type_statvfs_t
=statvfs_t
31763 echo "$as_me: failed program was:" >&5
31764 sed 's/^/| /' conftest.
$ac_ext >&5
31767 cat >conftest.
$ac_ext <<_ACEOF
31770 cat confdefs.h
>>conftest.
$ac_ext
31771 cat >>conftest.
$ac_ext <<_ACEOF
31772 /* end confdefs.h. */
31774 #include <sys/statvfs.h>
31791 rm -f conftest.
$ac_objext
31792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31793 (eval $ac_compile) 2>conftest.er1
31795 grep -v '^ *+' conftest.er1
>conftest.err
31797 cat conftest.err
>&5
31798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31799 (exit $ac_status); } &&
31800 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31802 (eval $ac_try) 2>&5
31804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31805 (exit $ac_status); }; } &&
31806 { ac_try
='test -s conftest.$ac_objext'
31807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31808 (eval $ac_try) 2>&5
31810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31811 (exit $ac_status); }; }; then
31812 wx_cv_type_statvfs_t
="struct statvfs"
31814 echo "$as_me: failed program was:" >&5
31815 sed 's/^/| /' conftest.
$ac_ext >&5
31817 wx_cv_type_statvfs_t
="unknown"
31820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31827 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
31828 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
31831 ac_cpp
='$CPP $CPPFLAGS'
31832 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31833 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31834 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31837 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31838 cat >>confdefs.h
<<\_ACEOF
31839 #define HAVE_STATVFS 1
31844 wx_cv_type_statvfs_t
="unknown"
31848 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31849 cat >>confdefs.h
<<_ACEOF
31850 #define WX_STATFS_T $wx_cv_type_statvfs_t
31854 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31855 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31858 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31861 for ac_func
in fcntl flock
31863 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31864 echo "$as_me:$LINENO: checking for $ac_func" >&5
31865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31866 if eval "test \"\${$as_ac_var+set}\" = set"; then
31867 echo $ECHO_N "(cached) $ECHO_C" >&6
31869 cat >conftest.
$ac_ext <<_ACEOF
31872 cat confdefs.h
>>conftest.
$ac_ext
31873 cat >>conftest.
$ac_ext <<_ACEOF
31874 /* end confdefs.h. */
31875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31877 #define $ac_func innocuous_$ac_func
31879 /* System header to define __stub macros and hopefully few prototypes,
31880 which can conflict with char $ac_func (); below.
31881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31882 <limits.h> exists even on freestanding compilers. */
31885 # include <limits.h>
31887 # include <assert.h>
31892 /* Override any gcc2 internal prototype to avoid an error. */
31897 /* We use char because int might match the return type of a gcc2
31898 builtin and then its argument prototype would still apply. */
31900 /* The GNU C library defines this for functions which it implements
31901 to always fail with ENOSYS. Some functions are actually named
31902 something starting with __ and the normal name is an alias. */
31903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31906 char (*f) () = $ac_func;
31915 return f != $ac_func;
31920 rm -f conftest.
$ac_objext conftest
$ac_exeext
31921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31922 (eval $ac_link) 2>conftest.er1
31924 grep -v '^ *+' conftest.er1
>conftest.err
31926 cat conftest.err
>&5
31927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31928 (exit $ac_status); } &&
31929 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31931 (eval $ac_try) 2>&5
31933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31934 (exit $ac_status); }; } &&
31935 { ac_try
='test -s conftest$ac_exeext'
31936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31937 (eval $ac_try) 2>&5
31939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31940 (exit $ac_status); }; }; then
31941 eval "$as_ac_var=yes"
31943 echo "$as_me: failed program was:" >&5
31944 sed 's/^/| /' conftest.
$ac_ext >&5
31946 eval "$as_ac_var=no"
31948 rm -f conftest.err conftest.
$ac_objext \
31949 conftest
$ac_exeext conftest.
$ac_ext
31951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31953 if test `eval echo '${'$as_ac_var'}'` = yes; then
31954 cat >>confdefs.h
<<_ACEOF
31955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31962 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31963 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
31964 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31965 wxUSE_SNGLINST_CHECKER
=no
31970 for ac_func
in timegm
31972 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31973 echo "$as_me:$LINENO: checking for $ac_func" >&5
31974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31975 if eval "test \"\${$as_ac_var+set}\" = set"; then
31976 echo $ECHO_N "(cached) $ECHO_C" >&6
31978 cat >conftest.
$ac_ext <<_ACEOF
31981 cat confdefs.h
>>conftest.
$ac_ext
31982 cat >>conftest.
$ac_ext <<_ACEOF
31983 /* end confdefs.h. */
31984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31986 #define $ac_func innocuous_$ac_func
31988 /* System header to define __stub macros and hopefully few prototypes,
31989 which can conflict with char $ac_func (); below.
31990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31991 <limits.h> exists even on freestanding compilers. */
31994 # include <limits.h>
31996 # include <assert.h>
32001 /* Override any gcc2 internal prototype to avoid an error. */
32006 /* We use char because int might match the return type of a gcc2
32007 builtin and then its argument prototype would still apply. */
32009 /* The GNU C library defines this for functions which it implements
32010 to always fail with ENOSYS. Some functions are actually named
32011 something starting with __ and the normal name is an alias. */
32012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32015 char (*f) () = $ac_func;
32024 return f != $ac_func;
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" || test ! -s conftest.err'
32039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32040 (eval $ac_try) 2>&5
32042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32043 (exit $ac_status); }; } &&
32044 { ac_try
='test -s conftest$ac_exeext'
32045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32046 (eval $ac_try) 2>&5
32048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32049 (exit $ac_status); }; }; then
32050 eval "$as_ac_var=yes"
32052 echo "$as_me: failed program was:" >&5
32053 sed 's/^/| /' conftest.
$ac_ext >&5
32055 eval "$as_ac_var=no"
32057 rm -f conftest.err conftest.
$ac_objext \
32058 conftest
$ac_exeext conftest.
$ac_ext
32060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32062 if test `eval echo '${'$as_ac_var'}'` = yes; then
32063 cat >>confdefs.h
<<_ACEOF
32064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32073 for ac_func
in putenv setenv
32075 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32076 echo "$as_me:$LINENO: checking for $ac_func" >&5
32077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32078 if eval "test \"\${$as_ac_var+set}\" = set"; then
32079 echo $ECHO_N "(cached) $ECHO_C" >&6
32081 cat >conftest.
$ac_ext <<_ACEOF
32084 cat confdefs.h
>>conftest.
$ac_ext
32085 cat >>conftest.
$ac_ext <<_ACEOF
32086 /* end confdefs.h. */
32087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32089 #define $ac_func innocuous_$ac_func
32091 /* System header to define __stub macros and hopefully few prototypes,
32092 which can conflict with char $ac_func (); below.
32093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32094 <limits.h> exists even on freestanding compilers. */
32097 # include <limits.h>
32099 # include <assert.h>
32104 /* Override any gcc2 internal prototype to avoid an error. */
32109 /* We use char because int might match the return type of a gcc2
32110 builtin and then its argument prototype would still apply. */
32112 /* The GNU C library defines this for functions which it implements
32113 to always fail with ENOSYS. Some functions are actually named
32114 something starting with __ and the normal name is an alias. */
32115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32118 char (*f) () = $ac_func;
32127 return f != $ac_func;
32132 rm -f conftest.
$ac_objext conftest
$ac_exeext
32133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32134 (eval $ac_link) 2>conftest.er1
32136 grep -v '^ *+' conftest.er1
>conftest.err
32138 cat conftest.err
>&5
32139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32140 (exit $ac_status); } &&
32141 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32143 (eval $ac_try) 2>&5
32145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32146 (exit $ac_status); }; } &&
32147 { ac_try
='test -s conftest$ac_exeext'
32148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32149 (eval $ac_try) 2>&5
32151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32152 (exit $ac_status); }; }; then
32153 eval "$as_ac_var=yes"
32155 echo "$as_me: failed program was:" >&5
32156 sed 's/^/| /' conftest.
$ac_ext >&5
32158 eval "$as_ac_var=no"
32160 rm -f conftest.err conftest.
$ac_objext \
32161 conftest
$ac_exeext conftest.
$ac_ext
32163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32165 if test `eval echo '${'$as_ac_var'}'` = yes; then
32166 cat >>confdefs.h
<<_ACEOF
32167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32174 HAVE_SOME_SLEEP_FUNC
=0
32175 if test "$USE_BEOS" = 1; then
32176 cat >>confdefs.h
<<\_ACEOF
32177 #define HAVE_SLEEP 1
32180 HAVE_SOME_SLEEP_FUNC
=1
32183 if test "$USE_DARWIN" = 1; then
32184 cat >>confdefs.h
<<\_ACEOF
32185 #define HAVE_USLEEP 1
32188 HAVE_SOME_SLEEP_FUNC
=1
32191 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
32194 for ac_func
in nanosleep
32196 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32197 echo "$as_me:$LINENO: checking for $ac_func" >&5
32198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32199 if eval "test \"\${$as_ac_var+set}\" = set"; then
32200 echo $ECHO_N "(cached) $ECHO_C" >&6
32202 cat >conftest.
$ac_ext <<_ACEOF
32205 cat confdefs.h
>>conftest.
$ac_ext
32206 cat >>conftest.
$ac_ext <<_ACEOF
32207 /* end confdefs.h. */
32208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32210 #define $ac_func innocuous_$ac_func
32212 /* System header to define __stub macros and hopefully few prototypes,
32213 which can conflict with char $ac_func (); below.
32214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32215 <limits.h> exists even on freestanding compilers. */
32218 # include <limits.h>
32220 # include <assert.h>
32225 /* Override any gcc2 internal prototype to avoid an error. */
32230 /* We use char because int might match the return type of a gcc2
32231 builtin and then its argument prototype would still apply. */
32233 /* The GNU C library defines this for functions which it implements
32234 to always fail with ENOSYS. Some functions are actually named
32235 something starting with __ and the normal name is an alias. */
32236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32239 char (*f) () = $ac_func;
32248 return f != $ac_func;
32253 rm -f conftest.
$ac_objext conftest
$ac_exeext
32254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32255 (eval $ac_link) 2>conftest.er1
32257 grep -v '^ *+' conftest.er1
>conftest.err
32259 cat conftest.err
>&5
32260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32261 (exit $ac_status); } &&
32262 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32264 (eval $ac_try) 2>&5
32266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32267 (exit $ac_status); }; } &&
32268 { ac_try
='test -s conftest$ac_exeext'
32269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32270 (eval $ac_try) 2>&5
32272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32273 (exit $ac_status); }; }; then
32274 eval "$as_ac_var=yes"
32276 echo "$as_me: failed program was:" >&5
32277 sed 's/^/| /' conftest.
$ac_ext >&5
32279 eval "$as_ac_var=no"
32281 rm -f conftest.err conftest.
$ac_objext \
32282 conftest
$ac_exeext conftest.
$ac_ext
32284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32286 if test `eval echo '${'$as_ac_var'}'` = yes; then
32287 cat >>confdefs.h
<<_ACEOF
32288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32290 cat >>confdefs.h
<<\_ACEOF
32291 #define HAVE_NANOSLEEP 1
32296 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
32297 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
32298 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
32299 echo $ECHO_N "(cached) $ECHO_C" >&6
32301 ac_check_lib_save_LIBS
=$LIBS
32302 LIBS
="-lposix4 $LIBS"
32303 cat >conftest.
$ac_ext <<_ACEOF
32306 cat confdefs.h
>>conftest.
$ac_ext
32307 cat >>conftest.
$ac_ext <<_ACEOF
32308 /* end confdefs.h. */
32310 /* Override any gcc2 internal prototype to avoid an error. */
32314 /* We use char because int might match the return type of a gcc2
32315 builtin and then its argument prototype would still apply. */
32325 rm -f conftest.
$ac_objext conftest
$ac_exeext
32326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32327 (eval $ac_link) 2>conftest.er1
32329 grep -v '^ *+' conftest.er1
>conftest.err
32331 cat conftest.err
>&5
32332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32333 (exit $ac_status); } &&
32334 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32336 (eval $ac_try) 2>&5
32338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32339 (exit $ac_status); }; } &&
32340 { ac_try
='test -s conftest$ac_exeext'
32341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32342 (eval $ac_try) 2>&5
32344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32345 (exit $ac_status); }; }; then
32346 ac_cv_lib_posix4_nanosleep
=yes
32348 echo "$as_me: failed program was:" >&5
32349 sed 's/^/| /' conftest.
$ac_ext >&5
32351 ac_cv_lib_posix4_nanosleep
=no
32353 rm -f conftest.err conftest.
$ac_objext \
32354 conftest
$ac_exeext conftest.
$ac_ext
32355 LIBS
=$ac_check_lib_save_LIBS
32357 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
32358 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
32359 if test $ac_cv_lib_posix4_nanosleep = yes; then
32361 cat >>confdefs.h
<<\_ACEOF
32362 #define HAVE_NANOSLEEP 1
32365 POSIX4_LINK
=" -lposix4"
32370 for ac_func
in usleep
32372 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32373 echo "$as_me:$LINENO: checking for $ac_func" >&5
32374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32375 if eval "test \"\${$as_ac_var+set}\" = set"; then
32376 echo $ECHO_N "(cached) $ECHO_C" >&6
32378 cat >conftest.
$ac_ext <<_ACEOF
32381 cat confdefs.h
>>conftest.
$ac_ext
32382 cat >>conftest.
$ac_ext <<_ACEOF
32383 /* end confdefs.h. */
32384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32386 #define $ac_func innocuous_$ac_func
32388 /* System header to define __stub macros and hopefully few prototypes,
32389 which can conflict with char $ac_func (); below.
32390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32391 <limits.h> exists even on freestanding compilers. */
32394 # include <limits.h>
32396 # include <assert.h>
32401 /* Override any gcc2 internal prototype to avoid an error. */
32406 /* We use char because int might match the return type of a gcc2
32407 builtin and then its argument prototype would still apply. */
32409 /* The GNU C library defines this for functions which it implements
32410 to always fail with ENOSYS. Some functions are actually named
32411 something starting with __ and the normal name is an alias. */
32412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32415 char (*f) () = $ac_func;
32424 return f != $ac_func;
32429 rm -f conftest.
$ac_objext conftest
$ac_exeext
32430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32431 (eval $ac_link) 2>conftest.er1
32433 grep -v '^ *+' conftest.er1
>conftest.err
32435 cat conftest.err
>&5
32436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32437 (exit $ac_status); } &&
32438 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32440 (eval $ac_try) 2>&5
32442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32443 (exit $ac_status); }; } &&
32444 { ac_try
='test -s conftest$ac_exeext'
32445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32446 (eval $ac_try) 2>&5
32448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32449 (exit $ac_status); }; }; then
32450 eval "$as_ac_var=yes"
32452 echo "$as_me: failed program was:" >&5
32453 sed 's/^/| /' conftest.
$ac_ext >&5
32455 eval "$as_ac_var=no"
32457 rm -f conftest.err conftest.
$ac_objext \
32458 conftest
$ac_exeext conftest.
$ac_ext
32460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32462 if test `eval echo '${'$as_ac_var'}'` = yes; then
32463 cat >>confdefs.h
<<_ACEOF
32464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32466 cat >>confdefs.h
<<\_ACEOF
32467 #define HAVE_USLEEP 1
32471 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
32472 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
32490 for ac_func
in uname gethostname
32492 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32493 echo "$as_me:$LINENO: checking for $ac_func" >&5
32494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32495 if eval "test \"\${$as_ac_var+set}\" = set"; then
32496 echo $ECHO_N "(cached) $ECHO_C" >&6
32498 cat >conftest.
$ac_ext <<_ACEOF
32501 cat confdefs.h
>>conftest.
$ac_ext
32502 cat >>conftest.
$ac_ext <<_ACEOF
32503 /* end confdefs.h. */
32504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32506 #define $ac_func innocuous_$ac_func
32508 /* System header to define __stub macros and hopefully few prototypes,
32509 which can conflict with char $ac_func (); below.
32510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32511 <limits.h> exists even on freestanding compilers. */
32514 # include <limits.h>
32516 # include <assert.h>
32521 /* Override any gcc2 internal prototype to avoid an error. */
32526 /* We use char because int might match the return type of a gcc2
32527 builtin and then its argument prototype would still apply. */
32529 /* The GNU C library defines this for functions which it implements
32530 to always fail with ENOSYS. Some functions are actually named
32531 something starting with __ and the normal name is an alias. */
32532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32535 char (*f) () = $ac_func;
32544 return f != $ac_func;
32549 rm -f conftest.
$ac_objext conftest
$ac_exeext
32550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32551 (eval $ac_link) 2>conftest.er1
32553 grep -v '^ *+' conftest.er1
>conftest.err
32555 cat conftest.err
>&5
32556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32557 (exit $ac_status); } &&
32558 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32560 (eval $ac_try) 2>&5
32562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32563 (exit $ac_status); }; } &&
32564 { ac_try
='test -s conftest$ac_exeext'
32565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32566 (eval $ac_try) 2>&5
32568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32569 (exit $ac_status); }; }; then
32570 eval "$as_ac_var=yes"
32572 echo "$as_me: failed program was:" >&5
32573 sed 's/^/| /' conftest.
$ac_ext >&5
32575 eval "$as_ac_var=no"
32577 rm -f conftest.err conftest.
$ac_objext \
32578 conftest
$ac_exeext conftest.
$ac_ext
32580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32582 if test `eval echo '${'$as_ac_var'}'` = yes; then
32583 cat >>confdefs.h
<<_ACEOF
32584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32594 ac_cpp
='$CXXCPP $CPPFLAGS'
32595 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32596 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32597 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32601 for ac_func
in strtok_r
32603 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32604 echo "$as_me:$LINENO: checking for $ac_func" >&5
32605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32606 if eval "test \"\${$as_ac_var+set}\" = set"; then
32607 echo $ECHO_N "(cached) $ECHO_C" >&6
32609 cat >conftest.
$ac_ext <<_ACEOF
32612 cat confdefs.h
>>conftest.
$ac_ext
32613 cat >>conftest.
$ac_ext <<_ACEOF
32614 /* end confdefs.h. */
32615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32617 #define $ac_func innocuous_$ac_func
32619 /* System header to define __stub macros and hopefully few prototypes,
32620 which can conflict with char $ac_func (); below.
32621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32622 <limits.h> exists even on freestanding compilers. */
32625 # include <limits.h>
32627 # include <assert.h>
32632 /* Override any gcc2 internal prototype to avoid an error. */
32637 /* We use char because int might match the return type of a gcc2
32638 builtin and then its argument prototype would still apply. */
32640 /* The GNU C library defines this for functions which it implements
32641 to always fail with ENOSYS. Some functions are actually named
32642 something starting with __ and the normal name is an alias. */
32643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32646 char (*f) () = $ac_func;
32655 return f != $ac_func;
32660 rm -f conftest.
$ac_objext conftest
$ac_exeext
32661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32662 (eval $ac_link) 2>conftest.er1
32664 grep -v '^ *+' conftest.er1
>conftest.err
32666 cat conftest.err
>&5
32667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32668 (exit $ac_status); } &&
32669 { ac_try
='test -z "$ac_cxx_werror_flag" || 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_exeext'
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 eval "$as_ac_var=yes"
32683 echo "$as_me: failed program was:" >&5
32684 sed 's/^/| /' conftest.
$ac_ext >&5
32686 eval "$as_ac_var=no"
32688 rm -f conftest.err conftest.
$ac_objext \
32689 conftest
$ac_exeext conftest.
$ac_ext
32691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32693 if test `eval echo '${'$as_ac_var'}'` = yes; then
32694 cat >>confdefs.h
<<_ACEOF
32695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32703 ac_cpp
='$CPP $CPPFLAGS'
32704 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32705 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32706 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32711 for ac_func
in inet_addr
32713 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32714 echo "$as_me:$LINENO: checking for $ac_func" >&5
32715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32716 if eval "test \"\${$as_ac_var+set}\" = set"; then
32717 echo $ECHO_N "(cached) $ECHO_C" >&6
32719 cat >conftest.
$ac_ext <<_ACEOF
32722 cat confdefs.h
>>conftest.
$ac_ext
32723 cat >>conftest.
$ac_ext <<_ACEOF
32724 /* end confdefs.h. */
32725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32727 #define $ac_func innocuous_$ac_func
32729 /* System header to define __stub macros and hopefully few prototypes,
32730 which can conflict with char $ac_func (); below.
32731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32732 <limits.h> exists even on freestanding compilers. */
32735 # include <limits.h>
32737 # include <assert.h>
32742 /* Override any gcc2 internal prototype to avoid an error. */
32747 /* We use char because int might match the return type of a gcc2
32748 builtin and then its argument prototype would still apply. */
32750 /* The GNU C library defines this for functions which it implements
32751 to always fail with ENOSYS. Some functions are actually named
32752 something starting with __ and the normal name is an alias. */
32753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32756 char (*f) () = $ac_func;
32765 return f != $ac_func;
32770 rm -f conftest.
$ac_objext conftest
$ac_exeext
32771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32772 (eval $ac_link) 2>conftest.er1
32774 grep -v '^ *+' conftest.er1
>conftest.err
32776 cat conftest.err
>&5
32777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32778 (exit $ac_status); } &&
32779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32781 (eval $ac_try) 2>&5
32783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32784 (exit $ac_status); }; } &&
32785 { ac_try
='test -s conftest$ac_exeext'
32786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32787 (eval $ac_try) 2>&5
32789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32790 (exit $ac_status); }; }; then
32791 eval "$as_ac_var=yes"
32793 echo "$as_me: failed program was:" >&5
32794 sed 's/^/| /' conftest.
$ac_ext >&5
32796 eval "$as_ac_var=no"
32798 rm -f conftest.err conftest.
$ac_objext \
32799 conftest
$ac_exeext conftest.
$ac_ext
32801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32803 if test `eval echo '${'$as_ac_var'}'` = yes; then
32804 cat >>confdefs.h
<<_ACEOF
32805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32807 cat >>confdefs.h
<<\_ACEOF
32808 #define HAVE_INET_ADDR 1
32813 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
32814 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
32815 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
32816 echo $ECHO_N "(cached) $ECHO_C" >&6
32818 ac_check_lib_save_LIBS
=$LIBS
32820 cat >conftest.
$ac_ext <<_ACEOF
32823 cat confdefs.h
>>conftest.
$ac_ext
32824 cat >>conftest.
$ac_ext <<_ACEOF
32825 /* end confdefs.h. */
32827 /* Override any gcc2 internal prototype to avoid an error. */
32831 /* We use char because int might match the return type of a gcc2
32832 builtin and then its argument prototype would still apply. */
32842 rm -f conftest.
$ac_objext conftest
$ac_exeext
32843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32844 (eval $ac_link) 2>conftest.er1
32846 grep -v '^ *+' conftest.er1
>conftest.err
32848 cat conftest.err
>&5
32849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32850 (exit $ac_status); } &&
32851 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32853 (eval $ac_try) 2>&5
32855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32856 (exit $ac_status); }; } &&
32857 { ac_try
='test -s conftest$ac_exeext'
32858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32859 (eval $ac_try) 2>&5
32861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32862 (exit $ac_status); }; }; then
32863 ac_cv_lib_nsl_inet_addr
=yes
32865 echo "$as_me: failed program was:" >&5
32866 sed 's/^/| /' conftest.
$ac_ext >&5
32868 ac_cv_lib_nsl_inet_addr
=no
32870 rm -f conftest.err conftest.
$ac_objext \
32871 conftest
$ac_exeext conftest.
$ac_ext
32872 LIBS
=$ac_check_lib_save_LIBS
32874 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
32875 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
32876 if test $ac_cv_lib_nsl_inet_addr = yes; then
32880 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
32881 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
32882 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
32883 echo $ECHO_N "(cached) $ECHO_C" >&6
32885 ac_check_lib_save_LIBS
=$LIBS
32886 LIBS
="-lresolv $LIBS"
32887 cat >conftest.
$ac_ext <<_ACEOF
32890 cat confdefs.h
>>conftest.
$ac_ext
32891 cat >>conftest.
$ac_ext <<_ACEOF
32892 /* end confdefs.h. */
32894 /* Override any gcc2 internal prototype to avoid an error. */
32898 /* We use char because int might match the return type of a gcc2
32899 builtin and then its argument prototype would still apply. */
32909 rm -f conftest.
$ac_objext conftest
$ac_exeext
32910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32911 (eval $ac_link) 2>conftest.er1
32913 grep -v '^ *+' conftest.er1
>conftest.err
32915 cat conftest.err
>&5
32916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32917 (exit $ac_status); } &&
32918 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32920 (eval $ac_try) 2>&5
32922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32923 (exit $ac_status); }; } &&
32924 { ac_try
='test -s conftest$ac_exeext'
32925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32926 (eval $ac_try) 2>&5
32928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32929 (exit $ac_status); }; }; then
32930 ac_cv_lib_resolv_inet_addr
=yes
32932 echo "$as_me: failed program was:" >&5
32933 sed 's/^/| /' conftest.
$ac_ext >&5
32935 ac_cv_lib_resolv_inet_addr
=no
32937 rm -f conftest.err conftest.
$ac_objext \
32938 conftest
$ac_exeext conftest.
$ac_ext
32939 LIBS
=$ac_check_lib_save_LIBS
32941 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
32942 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
32943 if test $ac_cv_lib_resolv_inet_addr = yes; then
32947 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
32948 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
32949 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
32950 echo $ECHO_N "(cached) $ECHO_C" >&6
32952 ac_check_lib_save_LIBS
=$LIBS
32953 LIBS
="-lsocket $LIBS"
32954 cat >conftest.
$ac_ext <<_ACEOF
32957 cat confdefs.h
>>conftest.
$ac_ext
32958 cat >>conftest.
$ac_ext <<_ACEOF
32959 /* end confdefs.h. */
32961 /* Override any gcc2 internal prototype to avoid an error. */
32965 /* We use char because int might match the return type of a gcc2
32966 builtin and then its argument prototype would still apply. */
32976 rm -f conftest.
$ac_objext conftest
$ac_exeext
32977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32978 (eval $ac_link) 2>conftest.er1
32980 grep -v '^ *+' conftest.er1
>conftest.err
32982 cat conftest.err
>&5
32983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32984 (exit $ac_status); } &&
32985 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32987 (eval $ac_try) 2>&5
32989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32990 (exit $ac_status); }; } &&
32991 { ac_try
='test -s conftest$ac_exeext'
32992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32993 (eval $ac_try) 2>&5
32995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32996 (exit $ac_status); }; }; then
32997 ac_cv_lib_socket_inet_addr
=yes
32999 echo "$as_me: failed program was:" >&5
33000 sed 's/^/| /' conftest.
$ac_ext >&5
33002 ac_cv_lib_socket_inet_addr
=no
33004 rm -f conftest.err conftest.
$ac_objext \
33005 conftest
$ac_exeext conftest.
$ac_ext
33006 LIBS
=$ac_check_lib_save_LIBS
33008 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
33009 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
33010 if test $ac_cv_lib_socket_inet_addr = yes; then
33030 for ac_func
in inet_aton
33032 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33033 echo "$as_me:$LINENO: checking for $ac_func" >&5
33034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33035 if eval "test \"\${$as_ac_var+set}\" = set"; then
33036 echo $ECHO_N "(cached) $ECHO_C" >&6
33038 cat >conftest.
$ac_ext <<_ACEOF
33041 cat confdefs.h
>>conftest.
$ac_ext
33042 cat >>conftest.
$ac_ext <<_ACEOF
33043 /* end confdefs.h. */
33044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33046 #define $ac_func innocuous_$ac_func
33048 /* System header to define __stub macros and hopefully few prototypes,
33049 which can conflict with char $ac_func (); below.
33050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33051 <limits.h> exists even on freestanding compilers. */
33054 # include <limits.h>
33056 # include <assert.h>
33061 /* Override any gcc2 internal prototype to avoid an error. */
33066 /* We use char because int might match the return type of a gcc2
33067 builtin and then its argument prototype would still apply. */
33069 /* The GNU C library defines this for functions which it implements
33070 to always fail with ENOSYS. Some functions are actually named
33071 something starting with __ and the normal name is an alias. */
33072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33075 char (*f) () = $ac_func;
33084 return f != $ac_func;
33089 rm -f conftest.
$ac_objext conftest
$ac_exeext
33090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33091 (eval $ac_link) 2>conftest.er1
33093 grep -v '^ *+' conftest.er1
>conftest.err
33095 cat conftest.err
>&5
33096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33097 (exit $ac_status); } &&
33098 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33100 (eval $ac_try) 2>&5
33102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33103 (exit $ac_status); }; } &&
33104 { ac_try
='test -s conftest$ac_exeext'
33105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33106 (eval $ac_try) 2>&5
33108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33109 (exit $ac_status); }; }; then
33110 eval "$as_ac_var=yes"
33112 echo "$as_me: failed program was:" >&5
33113 sed 's/^/| /' conftest.
$ac_ext >&5
33115 eval "$as_ac_var=no"
33117 rm -f conftest.err conftest.
$ac_objext \
33118 conftest
$ac_exeext conftest.
$ac_ext
33120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33122 if test `eval echo '${'$as_ac_var'}'` = yes; then
33123 cat >>confdefs.h
<<_ACEOF
33124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33126 cat >>confdefs.h
<<\_ACEOF
33127 #define HAVE_INET_ATON 1
33132 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
33133 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
33134 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
33135 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
33136 echo $ECHO_N "(cached) $ECHO_C" >&6
33138 ac_check_lib_save_LIBS
=$LIBS
33139 LIBS
="-l$INET_LINK $LIBS"
33140 cat >conftest.
$ac_ext <<_ACEOF
33143 cat confdefs.h
>>conftest.
$ac_ext
33144 cat >>conftest.
$ac_ext <<_ACEOF
33145 /* end confdefs.h. */
33147 /* Override any gcc2 internal prototype to avoid an error. */
33151 /* We use char because int might match the return type of a gcc2
33152 builtin and then its argument prototype would still apply. */
33162 rm -f conftest.
$ac_objext conftest
$ac_exeext
33163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33164 (eval $ac_link) 2>conftest.er1
33166 grep -v '^ *+' conftest.er1
>conftest.err
33168 cat conftest.err
>&5
33169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33170 (exit $ac_status); } &&
33171 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33173 (eval $ac_try) 2>&5
33175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33176 (exit $ac_status); }; } &&
33177 { ac_try
='test -s conftest$ac_exeext'
33178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33179 (eval $ac_try) 2>&5
33181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33182 (exit $ac_status); }; }; then
33183 eval "$as_ac_Lib=yes"
33185 echo "$as_me: failed program was:" >&5
33186 sed 's/^/| /' conftest.
$ac_ext >&5
33188 eval "$as_ac_Lib=no"
33190 rm -f conftest.err conftest.
$ac_objext \
33191 conftest
$ac_exeext conftest.
$ac_ext
33192 LIBS
=$ac_check_lib_save_LIBS
33194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
33195 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
33196 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
33197 cat >>confdefs.h
<<\_ACEOF
33198 #define HAVE_INET_ATON 1
33208 if test "x$INET_LINK" != "x"; then
33209 cat >>confdefs.h
<<\_ACEOF
33210 #define HAVE_INET_ADDR 1
33213 INET_LINK
=" -l$INET_LINK"
33221 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
33222 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
33223 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
33224 echo $ECHO_N "(cached) $ECHO_C" >&6
33226 ac_check_lib_save_LIBS
=$LIBS
33228 cat >conftest.
$ac_ext <<_ACEOF
33231 cat confdefs.h
>>conftest.
$ac_ext
33232 cat >>conftest.
$ac_ext <<_ACEOF
33233 /* end confdefs.h. */
33235 /* Override any gcc2 internal prototype to avoid an error. */
33239 /* We use char because int might match the return type of a gcc2
33240 builtin and then its argument prototype would still apply. */
33250 rm -f conftest.
$ac_objext conftest
$ac_exeext
33251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33252 (eval $ac_link) 2>conftest.er1
33254 grep -v '^ *+' conftest.er1
>conftest.err
33256 cat conftest.err
>&5
33257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33258 (exit $ac_status); } &&
33259 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33261 (eval $ac_try) 2>&5
33263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33264 (exit $ac_status); }; } &&
33265 { ac_try
='test -s conftest$ac_exeext'
33266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33267 (eval $ac_try) 2>&5
33269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33270 (exit $ac_status); }; }; then
33271 ac_cv_lib_esd_esd_close
=yes
33273 echo "$as_me: failed program was:" >&5
33274 sed 's/^/| /' conftest.
$ac_ext >&5
33276 ac_cv_lib_esd_esd_close
=no
33278 rm -f conftest.err conftest.
$ac_objext \
33279 conftest
$ac_exeext conftest.
$ac_ext
33280 LIBS
=$ac_check_lib_save_LIBS
33282 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
33283 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
33284 if test $ac_cv_lib_esd_esd_close = yes; then
33287 for ac_header
in esd.h
33289 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33291 echo "$as_me:$LINENO: checking for $ac_header" >&5
33292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33294 echo $ECHO_N "(cached) $ECHO_C" >&6
33296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33299 # Is the header compilable?
33300 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33301 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33302 cat >conftest.
$ac_ext <<_ACEOF
33305 cat confdefs.h
>>conftest.
$ac_ext
33306 cat >>conftest.
$ac_ext <<_ACEOF
33307 /* end confdefs.h. */
33308 $ac_includes_default
33309 #include <$ac_header>
33311 rm -f conftest.
$ac_objext
33312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33313 (eval $ac_compile) 2>conftest.er1
33315 grep -v '^ *+' conftest.er1
>conftest.err
33317 cat conftest.err
>&5
33318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33319 (exit $ac_status); } &&
33320 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33322 (eval $ac_try) 2>&5
33324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33325 (exit $ac_status); }; } &&
33326 { ac_try
='test -s conftest.$ac_objext'
33327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33328 (eval $ac_try) 2>&5
33330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33331 (exit $ac_status); }; }; then
33332 ac_header_compiler
=yes
33334 echo "$as_me: failed program was:" >&5
33335 sed 's/^/| /' conftest.
$ac_ext >&5
33337 ac_header_compiler
=no
33339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33340 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33341 echo "${ECHO_T}$ac_header_compiler" >&6
33343 # Is the header present?
33344 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33345 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33346 cat >conftest.
$ac_ext <<_ACEOF
33349 cat confdefs.h
>>conftest.
$ac_ext
33350 cat >>conftest.
$ac_ext <<_ACEOF
33351 /* end confdefs.h. */
33352 #include <$ac_header>
33354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33355 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33357 grep -v '^ *+' conftest.er1
>conftest.err
33359 cat conftest.err
>&5
33360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33361 (exit $ac_status); } >/dev
/null
; then
33362 if test -s conftest.err
; then
33363 ac_cpp_err
=$ac_c_preproc_warn_flag
33364 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33371 if test -z "$ac_cpp_err"; then
33372 ac_header_preproc
=yes
33374 echo "$as_me: failed program was:" >&5
33375 sed 's/^/| /' conftest.
$ac_ext >&5
33377 ac_header_preproc
=no
33379 rm -f conftest.err conftest.
$ac_ext
33380 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33381 echo "${ECHO_T}$ac_header_preproc" >&6
33383 # So? What about this header?
33384 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33386 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33387 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33388 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33389 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33390 ac_header_preproc
=yes
33393 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33394 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33395 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33396 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33397 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33398 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33399 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33400 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33401 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33402 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33403 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33404 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33407 ## ----------------------------------------- ##
33408 ## Report this to wx-dev@lists.wxwidgets.org ##
33409 ## ----------------------------------------- ##
33412 sed "s/^/$as_me: WARNING: /" >&2
33415 echo "$as_me:$LINENO: checking for $ac_header" >&5
33416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33418 echo $ECHO_N "(cached) $ECHO_C" >&6
33420 eval "$as_ac_Header=\$ac_header_preproc"
33422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33423 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33426 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33427 cat >>confdefs.h
<<_ACEOF
33428 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33431 EXTRALIBS_ESD
="-lesd"
33442 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
33443 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
33444 cat >conftest.
$ac_ext <<_ACEOF
33447 cat confdefs.h
>>conftest.
$ac_ext
33448 cat >>conftest.
$ac_ext <<_ACEOF
33449 /* end confdefs.h. */
33451 #include <linux/cdrom.h>
33454 #include <sys/cdio.h>
33460 struct cdrom_tocentry entry, old_entry;
33465 rm -f conftest.
$ac_objext
33466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33467 (eval $ac_compile) 2>conftest.er1
33469 grep -v '^ *+' conftest.er1
>conftest.err
33471 cat conftest.err
>&5
33472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33473 (exit $ac_status); } &&
33474 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33476 (eval $ac_try) 2>&5
33478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33479 (exit $ac_status); }; } &&
33480 { ac_try
='test -s conftest.$ac_objext'
33481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33482 (eval $ac_try) 2>&5
33484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33485 (exit $ac_status); }; }; then
33486 echo "$as_me:$LINENO: result: yes" >&5
33487 echo "${ECHO_T}yes" >&6
33488 cat >>confdefs.h
<<\_ACEOF
33489 #define HAVE_KNOWN_CDROM_INTERFACE 1
33493 echo "$as_me: failed program was:" >&5
33494 sed 's/^/| /' conftest.
$ac_ext >&5
33496 echo "$as_me:$LINENO: result: no" >&5
33497 echo "${ECHO_T}no" >&6
33499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33502 cat >confcache
<<\_ACEOF
33503 # This file is a shell script that caches the results of configure
33504 # tests run on this system so they can be shared between configure
33505 # scripts and configure runs, see configure's option --config-cache.
33506 # It is not useful on other systems. If it contains results you don't
33507 # want to keep, you may remove or edit it.
33509 # config.status only pays attention to the cache file if you give it
33510 # the --recheck option to rerun configure.
33512 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33513 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33514 # following values.
33518 # The following way of writing the cache mishandles newlines in values,
33519 # but we know of no workaround that is simple, portable, and efficient.
33520 # So, don't put newlines in cache variables' values.
33521 # Ultrix sh set writes to stderr and can't be redirected directly,
33522 # and sets the high bit in the cache file unless we assign to the vars.
33525 case `(ac_space=' '; set | grep ac_space) 2>&1` in
33527 # `set' does not quote correctly, so add quotes (double-quote
33528 # substitution turns \\\\ into \\, and sed turns \\ into \).
33531 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33534 # `set' quotes correctly as required by POSIX, so do not add quotes.
33536 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33543 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33545 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33547 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
33548 if test -w $cache_file; then
33549 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33550 cat confcache
>$cache_file
33552 echo "not updating unwritable cache $cache_file"
33559 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33565 if test "$wxUSE_THREADS" = "yes" ; then
33566 if test "$USE_BEOS" = 1; then
33567 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
33568 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
33573 if test "$wxUSE_THREADS" = "yes" ; then
33576 THREAD_OPTS
="-pthread"
33578 *-*-solaris2* | *-*-sunos4* )
33579 if test "x$GCC" = "xyes"; then
33580 THREAD_OPTS
="-pthreads $THREAD_OPTS"
33582 THREAD_OPTS
="-mt $THREAD_OPTS"
33586 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
33588 *-*-darwin* | *-*-cygwin* )
33592 THREAD_OPTS
="pthreads"
33595 if test "x$GCC" != "xyes"; then
33601 if test "x$GCC" = "xyes"; then
33607 if test "x$GCC" != "xyes"; then
33608 THREAD_OPTS
="-Ethread"
33613 THREAD_OPTS
="$THREAD_OPTS pthread none"
33616 for flag
in $THREAD_OPTS; do
33619 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
33620 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
33624 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
33625 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
33626 THREADS_CFLAGS
="$flag"
33630 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
33631 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
33632 THREADS_LINK
="-l$flag"
33637 save_CFLAGS
="$CFLAGS"
33638 LIBS
="$THREADS_LINK $LIBS"
33639 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
33641 cat >conftest.
$ac_ext <<_ACEOF
33644 cat confdefs.h
>>conftest.
$ac_ext
33645 cat >>conftest.
$ac_ext <<_ACEOF
33646 /* end confdefs.h. */
33647 #include <pthread.h>
33651 pthread_create(0,0,0,0);
33656 rm -f conftest.
$ac_objext conftest
$ac_exeext
33657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33658 (eval $ac_link) 2>conftest.er1
33660 grep -v '^ *+' conftest.er1
>conftest.err
33662 cat conftest.err
>&5
33663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33664 (exit $ac_status); } &&
33665 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33667 (eval $ac_try) 2>&5
33669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33670 (exit $ac_status); }; } &&
33671 { ac_try
='test -s conftest$ac_exeext'
33672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33673 (eval $ac_try) 2>&5
33675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33676 (exit $ac_status); }; }; then
33679 echo "$as_me: failed program was:" >&5
33680 sed 's/^/| /' conftest.
$ac_ext >&5
33683 rm -f conftest.err conftest.
$ac_objext \
33684 conftest
$ac_exeext conftest.
$ac_ext
33687 CFLAGS
="$save_CFLAGS"
33689 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
33690 echo "${ECHO_T}$THREADS_OK" >&6
33691 if test "x$THREADS_OK" = "xyes"; then
33699 if test "x$THREADS_OK" != "xyes"; then
33701 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
33702 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
33704 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
33705 LIBS
="$THREADS_LINK $LIBS"
33707 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
33708 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
33712 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
33713 flag
="-D_THREAD_SAFE"
33716 flag
="-D_THREAD_SAFE"
33719 flag
="-D_REENTRANT"
33720 if test "x$GCC" != "xyes"; then
33721 flag
="$flag -D_RWSTD_MULTI_THREAD"
33724 *solaris
* | alpha
*-osf*)
33725 flag
="-D_REENTRANT"
33728 echo "$as_me:$LINENO: result: ${flag}" >&5
33729 echo "${ECHO_T}${flag}" >&6
33730 if test "x$flag" != xno
; then
33731 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
33734 if test "x$THREADS_CFLAGS" != "x"; then
33735 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
33736 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
33741 if test "$wxUSE_THREADS" = "yes" ; then
33743 for ac_func
in thr_setconcurrency
33745 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33746 echo "$as_me:$LINENO: checking for $ac_func" >&5
33747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33748 if eval "test \"\${$as_ac_var+set}\" = set"; then
33749 echo $ECHO_N "(cached) $ECHO_C" >&6
33751 cat >conftest.
$ac_ext <<_ACEOF
33754 cat confdefs.h
>>conftest.
$ac_ext
33755 cat >>conftest.
$ac_ext <<_ACEOF
33756 /* end confdefs.h. */
33757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33759 #define $ac_func innocuous_$ac_func
33761 /* System header to define __stub macros and hopefully few prototypes,
33762 which can conflict with char $ac_func (); below.
33763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33764 <limits.h> exists even on freestanding compilers. */
33767 # include <limits.h>
33769 # include <assert.h>
33774 /* Override any gcc2 internal prototype to avoid an error. */
33779 /* We use char because int might match the return type of a gcc2
33780 builtin and then its argument prototype would still apply. */
33782 /* The GNU C library defines this for functions which it implements
33783 to always fail with ENOSYS. Some functions are actually named
33784 something starting with __ and the normal name is an alias. */
33785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33788 char (*f) () = $ac_func;
33797 return f != $ac_func;
33802 rm -f conftest.
$ac_objext conftest
$ac_exeext
33803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33804 (eval $ac_link) 2>conftest.er1
33806 grep -v '^ *+' conftest.er1
>conftest.err
33808 cat conftest.err
>&5
33809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33810 (exit $ac_status); } &&
33811 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33813 (eval $ac_try) 2>&5
33815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33816 (exit $ac_status); }; } &&
33817 { ac_try
='test -s conftest$ac_exeext'
33818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33819 (eval $ac_try) 2>&5
33821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33822 (exit $ac_status); }; }; then
33823 eval "$as_ac_var=yes"
33825 echo "$as_me: failed program was:" >&5
33826 sed 's/^/| /' conftest.
$ac_ext >&5
33828 eval "$as_ac_var=no"
33830 rm -f conftest.err conftest.
$ac_objext \
33831 conftest
$ac_exeext conftest.
$ac_ext
33833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33835 if test `eval echo '${'$as_ac_var'}'` = yes; then
33836 cat >>confdefs.h
<<_ACEOF
33837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33845 for ac_header
in sched.h
33847 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33849 echo "$as_me:$LINENO: checking for $ac_header" >&5
33850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33852 echo $ECHO_N "(cached) $ECHO_C" >&6
33854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33857 # Is the header compilable?
33858 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33859 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33860 cat >conftest.
$ac_ext <<_ACEOF
33863 cat confdefs.h
>>conftest.
$ac_ext
33864 cat >>conftest.
$ac_ext <<_ACEOF
33865 /* end confdefs.h. */
33866 $ac_includes_default
33867 #include <$ac_header>
33869 rm -f conftest.
$ac_objext
33870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33871 (eval $ac_compile) 2>conftest.er1
33873 grep -v '^ *+' conftest.er1
>conftest.err
33875 cat conftest.err
>&5
33876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33877 (exit $ac_status); } &&
33878 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33880 (eval $ac_try) 2>&5
33882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33883 (exit $ac_status); }; } &&
33884 { ac_try
='test -s conftest.$ac_objext'
33885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33886 (eval $ac_try) 2>&5
33888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33889 (exit $ac_status); }; }; then
33890 ac_header_compiler
=yes
33892 echo "$as_me: failed program was:" >&5
33893 sed 's/^/| /' conftest.
$ac_ext >&5
33895 ac_header_compiler
=no
33897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33898 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33899 echo "${ECHO_T}$ac_header_compiler" >&6
33901 # Is the header present?
33902 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33903 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33904 cat >conftest.
$ac_ext <<_ACEOF
33907 cat confdefs.h
>>conftest.
$ac_ext
33908 cat >>conftest.
$ac_ext <<_ACEOF
33909 /* end confdefs.h. */
33910 #include <$ac_header>
33912 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33913 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33915 grep -v '^ *+' conftest.er1
>conftest.err
33917 cat conftest.err
>&5
33918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33919 (exit $ac_status); } >/dev
/null
; then
33920 if test -s conftest.err
; then
33921 ac_cpp_err
=$ac_c_preproc_warn_flag
33922 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33929 if test -z "$ac_cpp_err"; then
33930 ac_header_preproc
=yes
33932 echo "$as_me: failed program was:" >&5
33933 sed 's/^/| /' conftest.
$ac_ext >&5
33935 ac_header_preproc
=no
33937 rm -f conftest.err conftest.
$ac_ext
33938 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33939 echo "${ECHO_T}$ac_header_preproc" >&6
33941 # So? What about this header?
33942 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33944 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33945 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33946 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33947 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33948 ac_header_preproc
=yes
33951 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33952 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33953 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33954 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33955 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33956 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33957 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33958 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33959 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33960 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33961 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33962 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33965 ## ----------------------------------------- ##
33966 ## Report this to wx-dev@lists.wxwidgets.org ##
33967 ## ----------------------------------------- ##
33970 sed "s/^/$as_me: WARNING: /" >&2
33973 echo "$as_me:$LINENO: checking for $ac_header" >&5
33974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33976 echo $ECHO_N "(cached) $ECHO_C" >&6
33978 eval "$as_ac_Header=\$ac_header_preproc"
33980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33984 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33985 cat >>confdefs.h
<<_ACEOF
33986 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33993 if test "$ac_cv_header_sched_h" = "yes"; then
33994 echo "$as_me:$LINENO: checking for sched_yield" >&5
33995 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
33996 if test "${ac_cv_func_sched_yield+set}" = set; then
33997 echo $ECHO_N "(cached) $ECHO_C" >&6
33999 cat >conftest.
$ac_ext <<_ACEOF
34002 cat confdefs.h
>>conftest.
$ac_ext
34003 cat >>conftest.
$ac_ext <<_ACEOF
34004 /* end confdefs.h. */
34005 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
34006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34007 #define sched_yield innocuous_sched_yield
34009 /* System header to define __stub macros and hopefully few prototypes,
34010 which can conflict with char sched_yield (); below.
34011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34012 <limits.h> exists even on freestanding compilers. */
34015 # include <limits.h>
34017 # include <assert.h>
34022 /* Override any gcc2 internal prototype to avoid an error. */
34027 /* We use char because int might match the return type of a gcc2
34028 builtin and then its argument prototype would still apply. */
34029 char sched_yield ();
34030 /* The GNU C library defines this for functions which it implements
34031 to always fail with ENOSYS. Some functions are actually named
34032 something starting with __ and the normal name is an alias. */
34033 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
34036 char (*f) () = sched_yield;
34045 return f != sched_yield;
34050 rm -f conftest.
$ac_objext conftest
$ac_exeext
34051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34052 (eval $ac_link) 2>conftest.er1
34054 grep -v '^ *+' conftest.er1
>conftest.err
34056 cat conftest.err
>&5
34057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34058 (exit $ac_status); } &&
34059 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34061 (eval $ac_try) 2>&5
34063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34064 (exit $ac_status); }; } &&
34065 { ac_try
='test -s conftest$ac_exeext'
34066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34067 (eval $ac_try) 2>&5
34069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34070 (exit $ac_status); }; }; then
34071 ac_cv_func_sched_yield
=yes
34073 echo "$as_me: failed program was:" >&5
34074 sed 's/^/| /' conftest.
$ac_ext >&5
34076 ac_cv_func_sched_yield
=no
34078 rm -f conftest.err conftest.
$ac_objext \
34079 conftest
$ac_exeext conftest.
$ac_ext
34081 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
34082 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
34083 if test $ac_cv_func_sched_yield = yes; then
34084 cat >>confdefs.h
<<\_ACEOF
34085 #define HAVE_SCHED_YIELD 1
34090 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
34091 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
34092 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
34093 echo $ECHO_N "(cached) $ECHO_C" >&6
34095 ac_check_lib_save_LIBS
=$LIBS
34096 LIBS
="-lposix4 $LIBS"
34097 cat >conftest.
$ac_ext <<_ACEOF
34100 cat confdefs.h
>>conftest.
$ac_ext
34101 cat >>conftest.
$ac_ext <<_ACEOF
34102 /* end confdefs.h. */
34104 /* Override any gcc2 internal prototype to avoid an error. */
34108 /* We use char because int might match the return type of a gcc2
34109 builtin and then its argument prototype would still apply. */
34110 char sched_yield ();
34119 rm -f conftest.
$ac_objext conftest
$ac_exeext
34120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34121 (eval $ac_link) 2>conftest.er1
34123 grep -v '^ *+' conftest.er1
>conftest.err
34125 cat conftest.err
>&5
34126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34127 (exit $ac_status); } &&
34128 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34130 (eval $ac_try) 2>&5
34132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34133 (exit $ac_status); }; } &&
34134 { ac_try
='test -s conftest$ac_exeext'
34135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34136 (eval $ac_try) 2>&5
34138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34139 (exit $ac_status); }; }; then
34140 ac_cv_lib_posix4_sched_yield
=yes
34142 echo "$as_me: failed program was:" >&5
34143 sed 's/^/| /' conftest.
$ac_ext >&5
34145 ac_cv_lib_posix4_sched_yield
=no
34147 rm -f conftest.err conftest.
$ac_objext \
34148 conftest
$ac_exeext conftest.
$ac_ext
34149 LIBS
=$ac_check_lib_save_LIBS
34151 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
34152 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
34153 if test $ac_cv_lib_posix4_sched_yield = yes; then
34154 cat >>confdefs.h
<<\_ACEOF
34155 #define HAVE_SCHED_YIELD 1
34157 POSIX4_LINK
=" -lposix4"
34159 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
34160 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
34171 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
34172 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
34173 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
34174 echo $ECHO_N "(cached) $ECHO_C" >&6
34176 cat >conftest.
$ac_ext <<_ACEOF
34179 cat confdefs.h
>>conftest.
$ac_ext
34180 cat >>conftest.
$ac_ext <<_ACEOF
34181 /* end confdefs.h. */
34182 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
34183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34184 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
34186 /* System header to define __stub macros and hopefully few prototypes,
34187 which can conflict with char pthread_attr_getschedpolicy (); below.
34188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34189 <limits.h> exists even on freestanding compilers. */
34192 # include <limits.h>
34194 # include <assert.h>
34197 #undef pthread_attr_getschedpolicy
34199 /* Override any gcc2 internal prototype to avoid an error. */
34204 /* We use char because int might match the return type of a gcc2
34205 builtin and then its argument prototype would still apply. */
34206 char pthread_attr_getschedpolicy ();
34207 /* The GNU C library defines this for functions which it implements
34208 to always fail with ENOSYS. Some functions are actually named
34209 something starting with __ and the normal name is an alias. */
34210 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
34213 char (*f) () = pthread_attr_getschedpolicy;
34222 return f != pthread_attr_getschedpolicy;
34227 rm -f conftest.
$ac_objext conftest
$ac_exeext
34228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34229 (eval $ac_link) 2>conftest.er1
34231 grep -v '^ *+' conftest.er1
>conftest.err
34233 cat conftest.err
>&5
34234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34235 (exit $ac_status); } &&
34236 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34238 (eval $ac_try) 2>&5
34240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34241 (exit $ac_status); }; } &&
34242 { ac_try
='test -s conftest$ac_exeext'
34243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34244 (eval $ac_try) 2>&5
34246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34247 (exit $ac_status); }; }; then
34248 ac_cv_func_pthread_attr_getschedpolicy
=yes
34250 echo "$as_me: failed program was:" >&5
34251 sed 's/^/| /' conftest.
$ac_ext >&5
34253 ac_cv_func_pthread_attr_getschedpolicy
=no
34255 rm -f conftest.err conftest.
$ac_objext \
34256 conftest
$ac_exeext conftest.
$ac_ext
34258 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
34259 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
34260 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
34261 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
34262 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
34263 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
34264 echo $ECHO_N "(cached) $ECHO_C" >&6
34266 cat >conftest.
$ac_ext <<_ACEOF
34269 cat confdefs.h
>>conftest.
$ac_ext
34270 cat >>conftest.
$ac_ext <<_ACEOF
34271 /* end confdefs.h. */
34272 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
34273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34274 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
34276 /* System header to define __stub macros and hopefully few prototypes,
34277 which can conflict with char pthread_attr_setschedparam (); below.
34278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34279 <limits.h> exists even on freestanding compilers. */
34282 # include <limits.h>
34284 # include <assert.h>
34287 #undef pthread_attr_setschedparam
34289 /* Override any gcc2 internal prototype to avoid an error. */
34294 /* We use char because int might match the return type of a gcc2
34295 builtin and then its argument prototype would still apply. */
34296 char pthread_attr_setschedparam ();
34297 /* The GNU C library defines this for functions which it implements
34298 to always fail with ENOSYS. Some functions are actually named
34299 something starting with __ and the normal name is an alias. */
34300 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
34303 char (*f) () = pthread_attr_setschedparam;
34312 return f != pthread_attr_setschedparam;
34317 rm -f conftest.
$ac_objext conftest
$ac_exeext
34318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34319 (eval $ac_link) 2>conftest.er1
34321 grep -v '^ *+' conftest.er1
>conftest.err
34323 cat conftest.err
>&5
34324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34325 (exit $ac_status); } &&
34326 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
34332 { ac_try
='test -s conftest$ac_exeext'
34333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34334 (eval $ac_try) 2>&5
34336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34337 (exit $ac_status); }; }; then
34338 ac_cv_func_pthread_attr_setschedparam
=yes
34340 echo "$as_me: failed program was:" >&5
34341 sed 's/^/| /' conftest.
$ac_ext >&5
34343 ac_cv_func_pthread_attr_setschedparam
=no
34345 rm -f conftest.err conftest.
$ac_objext \
34346 conftest
$ac_exeext conftest.
$ac_ext
34348 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
34349 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
34350 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
34351 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
34352 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
34353 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
34354 echo $ECHO_N "(cached) $ECHO_C" >&6
34356 cat >conftest.
$ac_ext <<_ACEOF
34359 cat confdefs.h
>>conftest.
$ac_ext
34360 cat >>conftest.
$ac_ext <<_ACEOF
34361 /* end confdefs.h. */
34362 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
34363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34364 #define sched_get_priority_max innocuous_sched_get_priority_max
34366 /* System header to define __stub macros and hopefully few prototypes,
34367 which can conflict with char sched_get_priority_max (); below.
34368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34369 <limits.h> exists even on freestanding compilers. */
34372 # include <limits.h>
34374 # include <assert.h>
34377 #undef sched_get_priority_max
34379 /* Override any gcc2 internal prototype to avoid an error. */
34384 /* We use char because int might match the return type of a gcc2
34385 builtin and then its argument prototype would still apply. */
34386 char sched_get_priority_max ();
34387 /* The GNU C library defines this for functions which it implements
34388 to always fail with ENOSYS. Some functions are actually named
34389 something starting with __ and the normal name is an alias. */
34390 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
34393 char (*f) () = sched_get_priority_max;
34402 return f != sched_get_priority_max;
34407 rm -f conftest.
$ac_objext conftest
$ac_exeext
34408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34409 (eval $ac_link) 2>conftest.er1
34411 grep -v '^ *+' conftest.er1
>conftest.err
34413 cat conftest.err
>&5
34414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34415 (exit $ac_status); } &&
34416 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34418 (eval $ac_try) 2>&5
34420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34421 (exit $ac_status); }; } &&
34422 { ac_try
='test -s conftest$ac_exeext'
34423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34424 (eval $ac_try) 2>&5
34426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34427 (exit $ac_status); }; }; then
34428 ac_cv_func_sched_get_priority_max
=yes
34430 echo "$as_me: failed program was:" >&5
34431 sed 's/^/| /' conftest.
$ac_ext >&5
34433 ac_cv_func_sched_get_priority_max
=no
34435 rm -f conftest.err conftest.
$ac_objext \
34436 conftest
$ac_exeext conftest.
$ac_ext
34438 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
34439 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
34440 if test $ac_cv_func_sched_get_priority_max = yes; then
34443 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
34444 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
34445 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
34446 echo $ECHO_N "(cached) $ECHO_C" >&6
34448 ac_check_lib_save_LIBS
=$LIBS
34449 LIBS
="-lposix4 $LIBS"
34450 cat >conftest.
$ac_ext <<_ACEOF
34453 cat confdefs.h
>>conftest.
$ac_ext
34454 cat >>conftest.
$ac_ext <<_ACEOF
34455 /* end confdefs.h. */
34457 /* Override any gcc2 internal prototype to avoid an error. */
34461 /* We use char because int might match the return type of a gcc2
34462 builtin and then its argument prototype would still apply. */
34463 char sched_get_priority_max ();
34467 sched_get_priority_max ();
34472 rm -f conftest.
$ac_objext conftest
$ac_exeext
34473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34474 (eval $ac_link) 2>conftest.er1
34476 grep -v '^ *+' conftest.er1
>conftest.err
34478 cat conftest.err
>&5
34479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34480 (exit $ac_status); } &&
34481 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34483 (eval $ac_try) 2>&5
34485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34486 (exit $ac_status); }; } &&
34487 { ac_try
='test -s conftest$ac_exeext'
34488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34489 (eval $ac_try) 2>&5
34491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34492 (exit $ac_status); }; }; then
34493 ac_cv_lib_posix4_sched_get_priority_max
=yes
34495 echo "$as_me: failed program was:" >&5
34496 sed 's/^/| /' conftest.
$ac_ext >&5
34498 ac_cv_lib_posix4_sched_get_priority_max
=no
34500 rm -f conftest.err conftest.
$ac_objext \
34501 conftest
$ac_exeext conftest.
$ac_ext
34502 LIBS
=$ac_check_lib_save_LIBS
34504 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
34505 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
34506 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
34509 POSIX4_LINK
=" -lposix4"
34523 if test "$HAVE_PRIOR_FUNCS" = 1; then
34524 cat >>confdefs.h
<<\_ACEOF
34525 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
34529 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
34530 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
34533 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
34534 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
34535 if test "${ac_cv_func_pthread_cancel+set}" = set; then
34536 echo $ECHO_N "(cached) $ECHO_C" >&6
34538 cat >conftest.
$ac_ext <<_ACEOF
34541 cat confdefs.h
>>conftest.
$ac_ext
34542 cat >>conftest.
$ac_ext <<_ACEOF
34543 /* end confdefs.h. */
34544 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
34545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34546 #define pthread_cancel innocuous_pthread_cancel
34548 /* System header to define __stub macros and hopefully few prototypes,
34549 which can conflict with char pthread_cancel (); below.
34550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34551 <limits.h> exists even on freestanding compilers. */
34554 # include <limits.h>
34556 # include <assert.h>
34559 #undef pthread_cancel
34561 /* Override any gcc2 internal prototype to avoid an error. */
34566 /* We use char because int might match the return type of a gcc2
34567 builtin and then its argument prototype would still apply. */
34568 char pthread_cancel ();
34569 /* The GNU C library defines this for functions which it implements
34570 to always fail with ENOSYS. Some functions are actually named
34571 something starting with __ and the normal name is an alias. */
34572 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
34575 char (*f) () = pthread_cancel;
34584 return f != pthread_cancel;
34589 rm -f conftest.
$ac_objext conftest
$ac_exeext
34590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34591 (eval $ac_link) 2>conftest.er1
34593 grep -v '^ *+' conftest.er1
>conftest.err
34595 cat conftest.err
>&5
34596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34597 (exit $ac_status); } &&
34598 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34600 (eval $ac_try) 2>&5
34602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34603 (exit $ac_status); }; } &&
34604 { ac_try
='test -s conftest$ac_exeext'
34605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34606 (eval $ac_try) 2>&5
34608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34609 (exit $ac_status); }; }; then
34610 ac_cv_func_pthread_cancel
=yes
34612 echo "$as_me: failed program was:" >&5
34613 sed 's/^/| /' conftest.
$ac_ext >&5
34615 ac_cv_func_pthread_cancel
=no
34617 rm -f conftest.err conftest.
$ac_objext \
34618 conftest
$ac_exeext conftest.
$ac_ext
34620 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
34621 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
34622 if test $ac_cv_func_pthread_cancel = yes; then
34623 cat >>confdefs.h
<<\_ACEOF
34624 #define HAVE_PTHREAD_CANCEL 1
34628 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
34629 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
34635 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
34636 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
34637 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
34638 echo $ECHO_N "(cached) $ECHO_C" >&6
34641 cat >conftest.
$ac_ext <<_ACEOF
34644 cat confdefs.h
>>conftest.
$ac_ext
34645 cat >>conftest.
$ac_ext <<_ACEOF
34646 /* end confdefs.h. */
34647 #include <pthread.h>
34652 pthread_mutexattr_t attr;
34653 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
34659 rm -f conftest.
$ac_objext
34660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34661 (eval $ac_compile) 2>conftest.er1
34663 grep -v '^ *+' conftest.er1
>conftest.err
34665 cat conftest.err
>&5
34666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34667 (exit $ac_status); } &&
34668 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34670 (eval $ac_try) 2>&5
34672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34673 (exit $ac_status); }; } &&
34674 { ac_try
='test -s conftest.$ac_objext'
34675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34676 (eval $ac_try) 2>&5
34678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34679 (exit $ac_status); }; }; then
34681 wx_cv_type_pthread_mutexattr_t
=yes
34684 echo "$as_me: failed program was:" >&5
34685 sed 's/^/| /' conftest.
$ac_ext >&5
34688 wx_cv_type_pthread_mutexattr_t
=no
34692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34695 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
34696 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
34698 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
34699 cat >>confdefs.h
<<\_ACEOF
34700 #define HAVE_PTHREAD_MUTEXATTR_T 1
34704 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
34705 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
34706 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
34707 echo $ECHO_N "(cached) $ECHO_C" >&6
34710 cat >conftest.
$ac_ext <<_ACEOF
34713 cat confdefs.h
>>conftest.
$ac_ext
34714 cat >>conftest.
$ac_ext <<_ACEOF
34715 /* end confdefs.h. */
34716 #include <pthread.h>
34721 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
34727 rm -f conftest.
$ac_objext
34728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34729 (eval $ac_compile) 2>conftest.er1
34731 grep -v '^ *+' conftest.er1
>conftest.err
34733 cat conftest.err
>&5
34734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34735 (exit $ac_status); } &&
34736 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34738 (eval $ac_try) 2>&5
34740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34741 (exit $ac_status); }; } &&
34742 { ac_try
='test -s conftest.$ac_objext'
34743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34744 (eval $ac_try) 2>&5
34746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34747 (exit $ac_status); }; }; then
34749 wx_cv_type_pthread_rec_mutex_init
=yes
34752 echo "$as_me: failed program was:" >&5
34753 sed 's/^/| /' conftest.
$ac_ext >&5
34756 wx_cv_type_pthread_rec_mutex_init
=no
34760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34763 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
34764 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
34765 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
34766 cat >>confdefs.h
<<\_ACEOF
34767 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
34771 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
34772 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
34778 if test "$wxUSE_THREADS" = "yes" ; then
34781 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
34782 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
34783 if test "${wx_cv_cflags_mthread+set}" = set; then
34784 echo $ECHO_N "(cached) $ECHO_C" >&6
34787 CFLAGS_OLD
="$CFLAGS"
34788 CFLAGS
="$CFLAGS -mthreads"
34789 cat >conftest.
$ac_ext <<_ACEOF
34792 cat confdefs.h
>>conftest.
$ac_ext
34793 cat >>conftest.
$ac_ext <<_ACEOF
34794 /* end confdefs.h. */
34804 rm -f conftest.
$ac_objext
34805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34806 (eval $ac_compile) 2>conftest.er1
34808 grep -v '^ *+' conftest.er1
>conftest.err
34810 cat conftest.err
>&5
34811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34812 (exit $ac_status); } &&
34813 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34815 (eval $ac_try) 2>&5
34817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34818 (exit $ac_status); }; } &&
34819 { ac_try
='test -s conftest.$ac_objext'
34820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34821 (eval $ac_try) 2>&5
34823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34824 (exit $ac_status); }; }; then
34825 wx_cv_cflags_mthread
=yes
34827 echo "$as_me: failed program was:" >&5
34828 sed 's/^/| /' conftest.
$ac_ext >&5
34830 wx_cv_cflags_mthread
=no
34833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34837 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
34838 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
34840 if test "$wx_cv_cflags_mthread" = "yes"; then
34841 CXXFLAGS
="$CXXFLAGS -mthreads"
34842 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
34843 LDFLAGS
="$LDFLAGS -mthreads"
34845 CFLAGS
="$CFLAGS_OLD"
34849 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
34850 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
34851 LDFLAGS
="$LDFLAGS -Zmt"
34857 if test "$wxUSE_THREADS" = "yes"; then
34858 cat >>confdefs.h
<<\_ACEOF
34859 #define wxUSE_THREADS 1
34863 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
34865 if test "$ac_cv_func_strtok_r" = "yes"; then
34866 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
34867 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
34868 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
34869 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
34870 echo "$as_me:$LINENO: result: yes" >&5
34871 echo "${ECHO_T}yes" >&6
34873 echo "$as_me:$LINENO: result: no" >&5
34874 echo "${ECHO_T}no" >&6
34879 if test "$WXGTK20" = 1 ; then
34880 cat >>confdefs.h
<<_ACEOF
34881 #define __WXGTK20__ $WXGTK20
34887 if test "$WXGTK12" = 1 ; then
34888 cat >>confdefs.h
<<_ACEOF
34889 #define __WXGTK12__ $WXGTK12
34894 if test "$WXGTK127" = 1 ; then
34895 cat >>confdefs.h
<<_ACEOF
34896 #define __WXGTK127__ $WXGTK127
34901 if test "$WXGPE" = 1 ; then
34902 cat >>confdefs.h
<<_ACEOF
34903 #define __WXGPE__ $WXGPE
34910 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
34915 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
34916 wxUSE_DEBUG_INFO
=yes
34920 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
34921 cat >>confdefs.h
<<\_ACEOF
34925 WXDEBUG_DEFINE
="-D__WXDEBUG__"
34927 if test "$wxUSE_GTK" = 1 ; then
34928 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
34932 if test "$wxUSE_MEM_TRACING" = "yes" ; then
34933 cat >>confdefs.h
<<\_ACEOF
34934 #define wxUSE_MEMORY_TRACING 1
34937 cat >>confdefs.h
<<\_ACEOF
34938 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
34941 cat >>confdefs.h
<<\_ACEOF
34942 #define wxUSE_DEBUG_NEW_ALWAYS 1
34945 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
34948 if test "$wxUSE_DMALLOC" = "yes" ; then
34949 DMALLOC_LIBS
="-ldmalloc"
34953 if test "$wxUSE_PROFILE" = "yes" ; then
34958 CODE_GEN_FLAGS_CXX
=
34959 if test "$GCC" = "yes" ; then
34960 if test "$wxUSE_NO_RTTI" = "yes" ; then
34961 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
34963 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
34964 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
34966 if test "$wxUSE_PERMISSIVE" = "yes" ; then
34967 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
34972 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
34975 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
34981 if test "$wxUSE_OPTIMISE" = "no" ; then
34982 if test "$GCC" = yes ; then
34986 if test "$GCC" = yes ; then
34990 i586
-*-*|i686
-*-* )
34991 OPTIMISE
="${OPTIMISE} "
35000 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
35001 cat >>confdefs.h
<<\_ACEOF
35002 #define WXWIN_COMPATIBILITY_2_2 1
35006 WXWIN_COMPATIBILITY_2_4
="yes"
35009 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
35010 cat >>confdefs.h
<<\_ACEOF
35011 #define WXWIN_COMPATIBILITY_2_4 1
35017 if test "$wxUSE_GUI" = "yes"; then
35018 cat >>confdefs.h
<<\_ACEOF
35019 #define wxUSE_GUI 1
35026 if test "$wxUSE_UNIX" = "yes"; then
35027 cat >>confdefs.h
<<\_ACEOF
35028 #define wxUSE_UNIX 1
35034 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35038 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35039 if test "$USE_DARWIN" = 1; then
35043 for ac_func
in dlopen
35045 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35046 echo "$as_me:$LINENO: checking for $ac_func" >&5
35047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35048 if eval "test \"\${$as_ac_var+set}\" = set"; then
35049 echo $ECHO_N "(cached) $ECHO_C" >&6
35051 cat >conftest.
$ac_ext <<_ACEOF
35054 cat confdefs.h
>>conftest.
$ac_ext
35055 cat >>conftest.
$ac_ext <<_ACEOF
35056 /* end confdefs.h. */
35057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35059 #define $ac_func innocuous_$ac_func
35061 /* System header to define __stub macros and hopefully few prototypes,
35062 which can conflict with char $ac_func (); below.
35063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35064 <limits.h> exists even on freestanding compilers. */
35067 # include <limits.h>
35069 # include <assert.h>
35074 /* Override any gcc2 internal prototype to avoid an error. */
35079 /* We use char because int might match the return type of a gcc2
35080 builtin and then its argument prototype would still apply. */
35082 /* The GNU C library defines this for functions which it implements
35083 to always fail with ENOSYS. Some functions are actually named
35084 something starting with __ and the normal name is an alias. */
35085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35088 char (*f) () = $ac_func;
35097 return f != $ac_func;
35102 rm -f conftest.
$ac_objext conftest
$ac_exeext
35103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35104 (eval $ac_link) 2>conftest.er1
35106 grep -v '^ *+' conftest.er1
>conftest.err
35108 cat conftest.err
>&5
35109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35110 (exit $ac_status); } &&
35111 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35113 (eval $ac_try) 2>&5
35115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35116 (exit $ac_status); }; } &&
35117 { ac_try
='test -s conftest$ac_exeext'
35118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35119 (eval $ac_try) 2>&5
35121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35122 (exit $ac_status); }; }; then
35123 eval "$as_ac_var=yes"
35125 echo "$as_me: failed program was:" >&5
35126 sed 's/^/| /' conftest.
$ac_ext >&5
35128 eval "$as_ac_var=no"
35130 rm -f conftest.err conftest.
$ac_objext \
35131 conftest
$ac_exeext conftest.
$ac_ext
35133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35135 if test `eval echo '${'$as_ac_var'}'` = yes; then
35136 cat >>confdefs.h
<<_ACEOF
35137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35140 cat >>confdefs.h
<<\_ACEOF
35141 #define HAVE_DLOPEN 1
35148 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
35149 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
35150 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
35151 echo $ECHO_N "(cached) $ECHO_C" >&6
35153 ac_check_lib_save_LIBS
=$LIBS
35155 cat >conftest.
$ac_ext <<_ACEOF
35158 cat confdefs.h
>>conftest.
$ac_ext
35159 cat >>conftest.
$ac_ext <<_ACEOF
35160 /* end confdefs.h. */
35162 /* Override any gcc2 internal prototype to avoid an error. */
35166 /* We use char because int might match the return type of a gcc2
35167 builtin and then its argument prototype would still apply. */
35177 rm -f conftest.
$ac_objext conftest
$ac_exeext
35178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35179 (eval $ac_link) 2>conftest.er1
35181 grep -v '^ *+' conftest.er1
>conftest.err
35183 cat conftest.err
>&5
35184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35185 (exit $ac_status); } &&
35186 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35188 (eval $ac_try) 2>&5
35190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35191 (exit $ac_status); }; } &&
35192 { ac_try
='test -s conftest$ac_exeext'
35193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35194 (eval $ac_try) 2>&5
35196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35197 (exit $ac_status); }; }; then
35198 ac_cv_lib_dl_dlopen
=yes
35200 echo "$as_me: failed program was:" >&5
35201 sed 's/^/| /' conftest.
$ac_ext >&5
35203 ac_cv_lib_dl_dlopen
=no
35205 rm -f conftest.err conftest.
$ac_objext \
35206 conftest
$ac_exeext conftest.
$ac_ext
35207 LIBS
=$ac_check_lib_save_LIBS
35209 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
35210 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
35211 if test $ac_cv_lib_dl_dlopen = yes; then
35213 cat >>confdefs.h
<<\_ACEOF
35214 #define HAVE_DLOPEN 1
35218 DL_LINK
=" -ldl$DL_LINK"
35223 for ac_func
in shl_load
35225 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35226 echo "$as_me:$LINENO: checking for $ac_func" >&5
35227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35228 if eval "test \"\${$as_ac_var+set}\" = set"; then
35229 echo $ECHO_N "(cached) $ECHO_C" >&6
35231 cat >conftest.
$ac_ext <<_ACEOF
35234 cat confdefs.h
>>conftest.
$ac_ext
35235 cat >>conftest.
$ac_ext <<_ACEOF
35236 /* end confdefs.h. */
35237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35239 #define $ac_func innocuous_$ac_func
35241 /* System header to define __stub macros and hopefully few prototypes,
35242 which can conflict with char $ac_func (); below.
35243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35244 <limits.h> exists even on freestanding compilers. */
35247 # include <limits.h>
35249 # include <assert.h>
35254 /* Override any gcc2 internal prototype to avoid an error. */
35259 /* We use char because int might match the return type of a gcc2
35260 builtin and then its argument prototype would still apply. */
35262 /* The GNU C library defines this for functions which it implements
35263 to always fail with ENOSYS. Some functions are actually named
35264 something starting with __ and the normal name is an alias. */
35265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35268 char (*f) () = $ac_func;
35277 return f != $ac_func;
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" || test ! -s conftest.err'
35292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35293 (eval $ac_try) 2>&5
35295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35296 (exit $ac_status); }; } &&
35297 { ac_try
='test -s conftest$ac_exeext'
35298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35299 (eval $ac_try) 2>&5
35301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35302 (exit $ac_status); }; }; then
35303 eval "$as_ac_var=yes"
35305 echo "$as_me: failed program was:" >&5
35306 sed 's/^/| /' conftest.
$ac_ext >&5
35308 eval "$as_ac_var=no"
35310 rm -f conftest.err conftest.
$ac_objext \
35311 conftest
$ac_exeext conftest.
$ac_ext
35313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35315 if test `eval echo '${'$as_ac_var'}'` = yes; then
35316 cat >>confdefs.h
<<_ACEOF
35317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35320 cat >>confdefs.h
<<\_ACEOF
35321 #define HAVE_SHL_LOAD 1
35328 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
35329 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
35330 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
35331 echo $ECHO_N "(cached) $ECHO_C" >&6
35333 ac_check_lib_save_LIBS
=$LIBS
35334 LIBS
="-lshl_load $LIBS"
35335 cat >conftest.
$ac_ext <<_ACEOF
35338 cat confdefs.h
>>conftest.
$ac_ext
35339 cat >>conftest.
$ac_ext <<_ACEOF
35340 /* end confdefs.h. */
35342 /* Override any gcc2 internal prototype to avoid an error. */
35346 /* We use char because int might match the return type of a gcc2
35347 builtin and then its argument prototype would still apply. */
35357 rm -f conftest.
$ac_objext conftest
$ac_exeext
35358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35359 (eval $ac_link) 2>conftest.er1
35361 grep -v '^ *+' conftest.er1
>conftest.err
35363 cat conftest.err
>&5
35364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35365 (exit $ac_status); } &&
35366 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35368 (eval $ac_try) 2>&5
35370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35371 (exit $ac_status); }; } &&
35372 { ac_try
='test -s conftest$ac_exeext'
35373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35374 (eval $ac_try) 2>&5
35376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35377 (exit $ac_status); }; }; then
35378 ac_cv_lib_shl_load_dld
=yes
35380 echo "$as_me: failed program was:" >&5
35381 sed 's/^/| /' conftest.
$ac_ext >&5
35383 ac_cv_lib_shl_load_dld
=no
35385 rm -f conftest.err conftest.
$ac_objext \
35386 conftest
$ac_exeext conftest.
$ac_ext
35387 LIBS
=$ac_check_lib_save_LIBS
35389 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
35390 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
35391 if test $ac_cv_lib_shl_load_dld = yes; then
35394 DL_LINK
=" -ldld$DL_LINK"
35410 if test "$HAVE_DL_FUNCS" = 1; then
35412 for ac_func
in dlerror
35414 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35415 echo "$as_me:$LINENO: checking for $ac_func" >&5
35416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35417 if eval "test \"\${$as_ac_var+set}\" = set"; then
35418 echo $ECHO_N "(cached) $ECHO_C" >&6
35420 cat >conftest.
$ac_ext <<_ACEOF
35423 cat confdefs.h
>>conftest.
$ac_ext
35424 cat >>conftest.
$ac_ext <<_ACEOF
35425 /* end confdefs.h. */
35426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35428 #define $ac_func innocuous_$ac_func
35430 /* System header to define __stub macros and hopefully few prototypes,
35431 which can conflict with char $ac_func (); below.
35432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35433 <limits.h> exists even on freestanding compilers. */
35436 # include <limits.h>
35438 # include <assert.h>
35443 /* Override any gcc2 internal prototype to avoid an error. */
35448 /* We use char because int might match the return type of a gcc2
35449 builtin and then its argument prototype would still apply. */
35451 /* The GNU C library defines this for functions which it implements
35452 to always fail with ENOSYS. Some functions are actually named
35453 something starting with __ and the normal name is an alias. */
35454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35457 char (*f) () = $ac_func;
35466 return f != $ac_func;
35471 rm -f conftest.
$ac_objext conftest
$ac_exeext
35472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35473 (eval $ac_link) 2>conftest.er1
35475 grep -v '^ *+' conftest.er1
>conftest.err
35477 cat conftest.err
>&5
35478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35479 (exit $ac_status); } &&
35480 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35482 (eval $ac_try) 2>&5
35484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35485 (exit $ac_status); }; } &&
35486 { ac_try
='test -s conftest$ac_exeext'
35487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35488 (eval $ac_try) 2>&5
35490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35491 (exit $ac_status); }; }; then
35492 eval "$as_ac_var=yes"
35494 echo "$as_me: failed program was:" >&5
35495 sed 's/^/| /' conftest.
$ac_ext >&5
35497 eval "$as_ac_var=no"
35499 rm -f conftest.err conftest.
$ac_objext \
35500 conftest
$ac_exeext conftest.
$ac_ext
35502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35504 if test `eval echo '${'$as_ac_var'}'` = yes; then
35505 cat >>confdefs.h
<<_ACEOF
35506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35508 cat >>confdefs.h
<<\_ACEOF
35509 #define HAVE_DLERROR 1
35514 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
35515 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
35516 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
35517 echo $ECHO_N "(cached) $ECHO_C" >&6
35519 ac_check_lib_save_LIBS
=$LIBS
35521 cat >conftest.
$ac_ext <<_ACEOF
35524 cat confdefs.h
>>conftest.
$ac_ext
35525 cat >>conftest.
$ac_ext <<_ACEOF
35526 /* end confdefs.h. */
35528 /* Override any gcc2 internal prototype to avoid an error. */
35532 /* We use char because int might match the return type of a gcc2
35533 builtin and then its argument prototype would still apply. */
35543 rm -f conftest.
$ac_objext conftest
$ac_exeext
35544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35545 (eval $ac_link) 2>conftest.er1
35547 grep -v '^ *+' conftest.er1
>conftest.err
35549 cat conftest.err
>&5
35550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35551 (exit $ac_status); } &&
35552 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35554 (eval $ac_try) 2>&5
35556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35557 (exit $ac_status); }; } &&
35558 { ac_try
='test -s conftest$ac_exeext'
35559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35560 (eval $ac_try) 2>&5
35562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35563 (exit $ac_status); }; }; then
35564 ac_cv_lib_dl_dlerror
=yes
35566 echo "$as_me: failed program was:" >&5
35567 sed 's/^/| /' conftest.
$ac_ext >&5
35569 ac_cv_lib_dl_dlerror
=no
35571 rm -f conftest.err conftest.
$ac_objext \
35572 conftest
$ac_exeext conftest.
$ac_ext
35573 LIBS
=$ac_check_lib_save_LIBS
35575 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
35576 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
35577 if test $ac_cv_lib_dl_dlerror = yes; then
35578 cat >>confdefs.h
<<\_ACEOF
35579 #define HAVE_DLERROR 1
35592 if test "$HAVE_DL_FUNCS" = 0; then
35593 if test "$HAVE_SHL_FUNCS" = 0; then
35594 if test "$USE_UNIX" = 1; then
35595 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
35596 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
35597 wxUSE_DYNAMIC_LOADER
=no
35598 wxUSE_DYNLIB_CLASS
=no
35600 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
35601 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
35608 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
35609 cat >>confdefs.h
<<\_ACEOF
35610 #define wxUSE_DYNAMIC_LOADER 1
35614 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35615 cat >>confdefs.h
<<\_ACEOF
35616 #define wxUSE_DYNLIB_CLASS 1
35623 if test "$wxUSE_PLUGINS" = "yes" ; then
35624 if test "$wxUSE_SHARED" = "no" ; then
35625 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
35626 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
35629 if test "$wxUSE_MONOLITHIC" = "yes" ; then
35630 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
35631 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
35634 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
35635 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
35636 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
35639 if test "$wxUSE_PLUGINS" = "yes" ; then
35640 cat >>confdefs.h
<<\_ACEOF
35641 #define wxUSE_PLUGINS 1
35648 if test "$wxUSE_STL" = "yes"; then
35649 cat >>confdefs.h
<<\_ACEOF
35650 #define wxUSE_STL 1
35655 if test "$wxUSE_APPLE_IEEE" = "yes"; then
35656 cat >>confdefs.h
<<\_ACEOF
35657 #define wxUSE_APPLE_IEEE 1
35662 if test "$wxUSE_TIMER" = "yes"; then
35663 cat >>confdefs.h
<<\_ACEOF
35664 #define wxUSE_TIMER 1
35670 if test "$wxUSE_SOUND" = "yes"; then
35671 if test "$USE_UNIX" = "1" ; then
35673 for ac_header
in sys
/soundcard.h
35675 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35677 echo "$as_me:$LINENO: checking for $ac_header" >&5
35678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35680 echo $ECHO_N "(cached) $ECHO_C" >&6
35682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35685 # Is the header compilable?
35686 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35687 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35688 cat >conftest.
$ac_ext <<_ACEOF
35691 cat confdefs.h
>>conftest.
$ac_ext
35692 cat >>conftest.
$ac_ext <<_ACEOF
35693 /* end confdefs.h. */
35694 $ac_includes_default
35695 #include <$ac_header>
35697 rm -f conftest.
$ac_objext
35698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35699 (eval $ac_compile) 2>conftest.er1
35701 grep -v '^ *+' conftest.er1
>conftest.err
35703 cat conftest.err
>&5
35704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35705 (exit $ac_status); } &&
35706 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35708 (eval $ac_try) 2>&5
35710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35711 (exit $ac_status); }; } &&
35712 { ac_try
='test -s conftest.$ac_objext'
35713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35714 (eval $ac_try) 2>&5
35716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35717 (exit $ac_status); }; }; then
35718 ac_header_compiler
=yes
35720 echo "$as_me: failed program was:" >&5
35721 sed 's/^/| /' conftest.
$ac_ext >&5
35723 ac_header_compiler
=no
35725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35726 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35727 echo "${ECHO_T}$ac_header_compiler" >&6
35729 # Is the header present?
35730 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35731 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35732 cat >conftest.
$ac_ext <<_ACEOF
35735 cat confdefs.h
>>conftest.
$ac_ext
35736 cat >>conftest.
$ac_ext <<_ACEOF
35737 /* end confdefs.h. */
35738 #include <$ac_header>
35740 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35741 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35743 grep -v '^ *+' conftest.er1
>conftest.err
35745 cat conftest.err
>&5
35746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35747 (exit $ac_status); } >/dev
/null
; then
35748 if test -s conftest.err
; then
35749 ac_cpp_err
=$ac_c_preproc_warn_flag
35750 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35757 if test -z "$ac_cpp_err"; then
35758 ac_header_preproc
=yes
35760 echo "$as_me: failed program was:" >&5
35761 sed 's/^/| /' conftest.
$ac_ext >&5
35763 ac_header_preproc
=no
35765 rm -f conftest.err conftest.
$ac_ext
35766 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35767 echo "${ECHO_T}$ac_header_preproc" >&6
35769 # So? What about this header?
35770 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35772 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35773 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35775 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35776 ac_header_preproc
=yes
35779 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35780 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35781 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35782 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35783 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35784 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35785 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35786 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35787 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35788 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35789 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35790 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35793 ## ----------------------------------------- ##
35794 ## Report this to wx-dev@lists.wxwidgets.org ##
35795 ## ----------------------------------------- ##
35798 sed "s/^/$as_me: WARNING: /" >&2
35801 echo "$as_me:$LINENO: checking for $ac_header" >&5
35802 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35803 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35804 echo $ECHO_N "(cached) $ECHO_C" >&6
35806 eval "$as_ac_Header=\$ac_header_preproc"
35808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35812 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35813 cat >>confdefs.h
<<_ACEOF
35814 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35822 if test "$wxUSE_LIBSDL" != "no"; then
35824 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
35825 if test "${with_sdl_prefix+set}" = set; then
35826 withval
="$with_sdl_prefix"
35827 sdl_prefix
="$withval"
35832 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
35833 if test "${with_sdl_exec_prefix+set}" = set; then
35834 withval
="$with_sdl_exec_prefix"
35835 sdl_exec_prefix
="$withval"
35839 # Check whether --enable-sdltest or --disable-sdltest was given.
35840 if test "${enable_sdltest+set}" = set; then
35841 enableval
="$enable_sdltest"
35847 if test x
$sdl_exec_prefix != x
; then
35848 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
35849 if test x
${SDL_CONFIG+set} != xset
; then
35850 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
35853 if test x
$sdl_prefix != x
; then
35854 sdl_args
="$sdl_args --prefix=$sdl_prefix"
35855 if test x
${SDL_CONFIG+set} != xset
; then
35856 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
35861 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
35862 # Extract the first word of "sdl-config", so it can be a program name with args.
35863 set dummy sdl
-config; ac_word
=$2
35864 echo "$as_me:$LINENO: checking for $ac_word" >&5
35865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35866 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
35867 echo $ECHO_N "(cached) $ECHO_C" >&6
35869 case $SDL_CONFIG in
35871 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
35874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35875 for as_dir
in $PATH
35878 test -z "$as_dir" && as_dir
=.
35879 for ac_exec_ext
in '' $ac_executable_extensions; do
35880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35881 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
35882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35888 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
35892 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
35894 if test -n "$SDL_CONFIG"; then
35895 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
35896 echo "${ECHO_T}$SDL_CONFIG" >&6
35898 echo "$as_me:$LINENO: result: no" >&5
35899 echo "${ECHO_T}no" >&6
35902 min_sdl_version
=1.2.0
35903 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
35904 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
35906 if test "$SDL_CONFIG" = "no" ; then
35909 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
35910 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
35912 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
35913 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
35914 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
35915 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
35916 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
35917 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
35918 if test "x$enable_sdltest" = "xyes" ; then
35919 ac_save_CFLAGS
="$CFLAGS"
35920 ac_save_CXXFLAGS
="$CXXFLAGS"
35921 ac_save_LIBS
="$LIBS"
35922 CFLAGS
="$CFLAGS $SDL_CFLAGS"
35923 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
35924 LIBS
="$LIBS $SDL_LIBS"
35926 if test "$cross_compiling" = yes; then
35927 echo $ac_n "cross compiling; assumed OK... $ac_c"
35929 cat >conftest.
$ac_ext <<_ACEOF
35932 cat confdefs.h
>>conftest.
$ac_ext
35933 cat >>conftest.
$ac_ext <<_ACEOF
35934 /* end confdefs.h. */
35937 #include <stdlib.h>
35938 #include <string.h>
35942 my_strdup (char *str)
35948 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
35949 strcpy (new_str, str);
35957 int main (int argc, char *argv[])
35959 int major, minor, micro;
35962 /* This hangs on some systems (?)
35963 system ("touch conf.sdltest");
35965 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
35967 /* HP/UX 9 (%@#!) writes to sscanf strings */
35968 tmp_version = my_strdup("$min_sdl_version");
35969 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
35970 printf("%s, bad version string\n", "$min_sdl_version");
35974 if (($sdl_major_version > major) ||
35975 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
35976 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
35982 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
35983 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
35984 printf("*** best to upgrade to the required version.\n");
35985 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
35986 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
35987 printf("*** config.cache before re-running configure\n");
35994 rm -f conftest
$ac_exeext
35995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35996 (eval $ac_link) 2>&5
35998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35999 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36001 (eval $ac_try) 2>&5
36003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36004 (exit $ac_status); }; }; then
36007 echo "$as_me: program exited with status $ac_status" >&5
36008 echo "$as_me: failed program was:" >&5
36009 sed 's/^/| /' conftest.
$ac_ext >&5
36011 ( exit $ac_status )
36014 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
36016 CFLAGS
="$ac_save_CFLAGS"
36017 CXXFLAGS
="$ac_save_CXXFLAGS"
36018 LIBS
="$ac_save_LIBS"
36021 if test "x$no_sdl" = x
; then
36022 echo "$as_me:$LINENO: result: yes" >&5
36023 echo "${ECHO_T}yes" >&6
36025 EXTRALIBS_SDL
="$SDL_LIBS"
36026 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36027 cat >>confdefs.h
<<\_ACEOF
36028 #define wxUSE_LIBSDL 1
36033 echo "$as_me:$LINENO: result: no" >&5
36034 echo "${ECHO_T}no" >&6
36035 if test "$SDL_CONFIG" = "no" ; then
36036 echo "*** The sdl-config script installed by SDL could not be found"
36037 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
36038 echo "*** your path, or set the SDL_CONFIG environment variable to the"
36039 echo "*** full path to sdl-config."
36041 if test -f conf.sdltest
; then
36044 echo "*** Could not run SDL test program, checking why..."
36045 CFLAGS
="$CFLAGS $SDL_CFLAGS"
36046 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36047 LIBS
="$LIBS $SDL_LIBS"
36048 cat >conftest.
$ac_ext <<_ACEOF
36051 cat confdefs.h
>>conftest.
$ac_ext
36052 cat >>conftest.
$ac_ext <<_ACEOF
36053 /* end confdefs.h. */
36058 int main(int argc, char *argv[])
36061 #define main K_and_R_C_main
36071 rm -f conftest.
$ac_objext conftest
$ac_exeext
36072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36073 (eval $ac_link) 2>conftest.er1
36075 grep -v '^ *+' conftest.er1
>conftest.err
36077 cat conftest.err
>&5
36078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36079 (exit $ac_status); } &&
36080 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36082 (eval $ac_try) 2>&5
36084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36085 (exit $ac_status); }; } &&
36086 { ac_try
='test -s conftest$ac_exeext'
36087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36088 (eval $ac_try) 2>&5
36090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36091 (exit $ac_status); }; }; then
36092 echo "*** The test program compiled, but did not run. This usually means"
36093 echo "*** that the run-time linker is not finding SDL or finding the wrong"
36094 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
36095 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
36096 echo "*** to the installed location Also, make sure you have run ldconfig if that"
36097 echo "*** is required on your system"
36099 echo "*** If you have an old version installed, it is best to remove it, although"
36100 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
36102 echo "$as_me: failed program was:" >&5
36103 sed 's/^/| /' conftest.
$ac_ext >&5
36105 echo "*** The test program failed to compile or link. See the file config.log for the"
36106 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
36107 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
36108 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
36110 rm -f conftest.err conftest.
$ac_objext \
36111 conftest
$ac_exeext conftest.
$ac_ext
36112 CFLAGS
="$ac_save_CFLAGS"
36113 CXXFLAGS
="$ac_save_CXXFLAGS"
36114 LIBS
="$ac_save_LIBS"
36125 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
36131 cat >>confdefs.h
<<\_ACEOF
36132 #define wxUSE_SOUND 1
36135 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
36138 if test "$WXGTK20" = 1; then
36139 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36140 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
36145 if test -z "$PKG_CONFIG"; then
36146 # Extract the first word of "pkg-config", so it can be a program name with args.
36147 set dummy pkg
-config; ac_word
=$2
36148 echo "$as_me:$LINENO: checking for $ac_word" >&5
36149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36150 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36151 echo $ECHO_N "(cached) $ECHO_C" >&6
36153 case $PKG_CONFIG in
36155 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
36158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36159 for as_dir
in $PATH
36162 test -z "$as_dir" && as_dir
=.
36163 for ac_exec_ext
in '' $ac_executable_extensions; do
36164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36165 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36172 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
36176 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
36178 if test -n "$PKG_CONFIG"; then
36179 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36180 echo "${ECHO_T}$PKG_CONFIG" >&6
36182 echo "$as_me:$LINENO: result: no" >&5
36183 echo "${ECHO_T}no" >&6
36188 if test "$PKG_CONFIG" = "no" ; then
36189 echo "*** The pkg-config script could not be found. Make sure it is"
36190 echo "*** in your path, or set the PKG_CONFIG environment variable"
36191 echo "*** to the full path to pkg-config."
36192 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
36194 PKG_CONFIG_MIN_VERSION
=0.9.0
36195 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
36196 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
36197 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
36199 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
36200 echo "$as_me:$LINENO: result: yes" >&5
36201 echo "${ECHO_T}yes" >&6
36204 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
36205 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
36206 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
36207 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
36208 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
36210 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
36211 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
36212 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
36213 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
36214 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
36216 LIBGNOMEPRINTUI_CFLAGS
=""
36217 LIBGNOMEPRINTUI_LIBS
=""
36218 ## If we have a custom action on failure, don't print errors, but
36219 ## do set a variable so people can do so.
36220 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
36227 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
36228 echo "*** See http://www.freedesktop.org/software/pkgconfig"
36232 if test $succeeded = yes; then
36234 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
36235 cat >>confdefs.h
<<\_ACEOF
36236 #define wxUSE_LIBGNOMEPRINT 1
36242 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
36243 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
36244 wxUSE_LIBGNOMEPRINT
="no"
36254 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
36255 cat >>confdefs.h
<<\_ACEOF
36256 #define wxUSE_CMDLINE_PARSER 1
36261 if test "$wxUSE_STOPWATCH" = "yes"; then
36262 cat >>confdefs.h
<<\_ACEOF
36263 #define wxUSE_STOPWATCH 1
36268 if test "$wxUSE_DATETIME" = "yes"; then
36269 cat >>confdefs.h
<<\_ACEOF
36270 #define wxUSE_DATETIME 1
36275 if test "$wxUSE_FILE" = "yes"; then
36276 cat >>confdefs.h
<<\_ACEOF
36277 #define wxUSE_FILE 1
36282 if test "$wxUSE_FFILE" = "yes"; then
36283 cat >>confdefs.h
<<\_ACEOF
36284 #define wxUSE_FFILE 1
36289 if test "$wxUSE_FILESYSTEM" = "yes"; then
36290 cat >>confdefs.h
<<\_ACEOF
36291 #define wxUSE_FILESYSTEM 1
36296 if test "$wxUSE_FS_ZIP" = "yes"; then
36297 cat >>confdefs.h
<<\_ACEOF
36298 #define wxUSE_FS_ZIP 1
36303 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
36304 cat >>confdefs.h
<<\_ACEOF
36305 #define wxUSE_ARCHIVE_STREAMS 1
36310 if test "$wxUSE_ZIPSTREAM" = "yes"; then
36311 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
36312 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
36313 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
36314 elif test "$wxUSE_ZLIB" = "no"; then
36315 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
36316 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
36318 cat >>confdefs.h
<<\_ACEOF
36319 #define wxUSE_ZIPSTREAM 1
36325 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36326 cat >>confdefs.h
<<\_ACEOF
36327 #define wxUSE_ON_FATAL_EXCEPTION 1
36332 if test "$wxUSE_STACKWALKER" = "yes"; then
36333 cat >>confdefs.h
<<\_ACEOF
36334 #define wxUSE_STACKWALKER 1
36339 if test "$wxUSE_DEBUGREPORT" = "yes"; then
36340 cat >>confdefs.h
<<\_ACEOF
36341 #define wxUSE_DEBUGREPORT 1
36346 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36347 cat >>confdefs.h
<<\_ACEOF
36348 #define wxUSE_SNGLINST_CHECKER 1
36353 if test "$wxUSE_BUSYINFO" = "yes"; then
36354 cat >>confdefs.h
<<\_ACEOF
36355 #define wxUSE_BUSYINFO 1
36360 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
36361 cat >>confdefs.h
<<\_ACEOF
36362 #define wxUSE_STD_IOSTREAM 1
36367 if test "$wxUSE_STDPATHS" = "yes"; then
36368 cat >>confdefs.h
<<\_ACEOF
36369 #define wxUSE_STDPATHS 1
36374 if test "$wxUSE_TEXTBUFFER" = "yes"; then
36375 cat >>confdefs.h
<<\_ACEOF
36376 #define wxUSE_TEXTBUFFER 1
36381 if test "$wxUSE_TEXTFILE" = "yes"; then
36382 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
36383 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
36384 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
36386 cat >>confdefs.h
<<\_ACEOF
36387 #define wxUSE_TEXTFILE 1
36393 if test "$wxUSE_CONFIG" = "yes" ; then
36394 if test "$wxUSE_TEXTFILE" != "yes"; then
36395 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
36396 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
36398 cat >>confdefs.h
<<\_ACEOF
36399 #define wxUSE_CONFIG 1
36402 cat >>confdefs.h
<<\_ACEOF
36403 #define wxUSE_CONFIG_NATIVE 1
36406 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
36410 if test "$wxUSE_INTL" = "yes" ; then
36411 if test "$wxUSE_FILE" != "yes"; then
36412 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
36413 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
36415 cat >>confdefs.h
<<\_ACEOF
36416 #define wxUSE_INTL 1
36419 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
36420 GUIDIST
="$GUIDIST INTL_DIST"
36424 if test "$wxUSE_LOG" = "yes"; then
36425 cat >>confdefs.h
<<\_ACEOF
36426 #define wxUSE_LOG 1
36430 if test "$wxUSE_LOGGUI" = "yes"; then
36431 cat >>confdefs.h
<<\_ACEOF
36432 #define wxUSE_LOGGUI 1
36437 if test "$wxUSE_LOGWINDOW" = "yes"; then
36438 cat >>confdefs.h
<<\_ACEOF
36439 #define wxUSE_LOGWINDOW 1
36444 if test "$wxUSE_LOGDIALOG" = "yes"; then
36445 cat >>confdefs.h
<<\_ACEOF
36446 #define wxUSE_LOG_DIALOG 1
36451 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
36454 if test "$wxUSE_LONGLONG" = "yes"; then
36455 cat >>confdefs.h
<<\_ACEOF
36456 #define wxUSE_LONGLONG 1
36461 if test "$wxUSE_GEOMETRY" = "yes"; then
36462 cat >>confdefs.h
<<\_ACEOF
36463 #define wxUSE_GEOMETRY 1
36468 if test "$wxUSE_STREAMS" = "yes" ; then
36469 cat >>confdefs.h
<<\_ACEOF
36470 #define wxUSE_STREAMS 1
36476 if test "$wxUSE_DATETIME" = "yes"; then
36478 for ac_func
in strptime
36480 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36481 echo "$as_me:$LINENO: checking for $ac_func" >&5
36482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36483 if eval "test \"\${$as_ac_var+set}\" = set"; then
36484 echo $ECHO_N "(cached) $ECHO_C" >&6
36486 cat >conftest.
$ac_ext <<_ACEOF
36489 cat confdefs.h
>>conftest.
$ac_ext
36490 cat >>conftest.
$ac_ext <<_ACEOF
36491 /* end confdefs.h. */
36492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36494 #define $ac_func innocuous_$ac_func
36496 /* System header to define __stub macros and hopefully few prototypes,
36497 which can conflict with char $ac_func (); below.
36498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36499 <limits.h> exists even on freestanding compilers. */
36502 # include <limits.h>
36504 # include <assert.h>
36509 /* Override any gcc2 internal prototype to avoid an error. */
36514 /* We use char because int might match the return type of a gcc2
36515 builtin and then its argument prototype would still apply. */
36517 /* The GNU C library defines this for functions which it implements
36518 to always fail with ENOSYS. Some functions are actually named
36519 something starting with __ and the normal name is an alias. */
36520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36523 char (*f) () = $ac_func;
36532 return f != $ac_func;
36537 rm -f conftest.
$ac_objext conftest
$ac_exeext
36538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36539 (eval $ac_link) 2>conftest.er1
36541 grep -v '^ *+' conftest.er1
>conftest.err
36543 cat conftest.err
>&5
36544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36545 (exit $ac_status); } &&
36546 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36548 (eval $ac_try) 2>&5
36550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36551 (exit $ac_status); }; } &&
36552 { ac_try
='test -s conftest$ac_exeext'
36553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36554 (eval $ac_try) 2>&5
36556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36557 (exit $ac_status); }; }; then
36558 eval "$as_ac_var=yes"
36560 echo "$as_me: failed program was:" >&5
36561 sed 's/^/| /' conftest.
$ac_ext >&5
36563 eval "$as_ac_var=no"
36565 rm -f conftest.err conftest.
$ac_objext \
36566 conftest
$ac_exeext conftest.
$ac_ext
36568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36570 if test `eval echo '${'$as_ac_var'}'` = yes; then
36571 cat >>confdefs.h
<<_ACEOF
36572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36579 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
36580 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
36581 if test "${wx_cv_var_timezone+set}" = set; then
36582 echo $ECHO_N "(cached) $ECHO_C" >&6
36585 cat >conftest.
$ac_ext <<_ACEOF
36588 cat confdefs.h
>>conftest.
$ac_ext
36589 cat >>conftest.
$ac_ext <<_ACEOF
36590 /* end confdefs.h. */
36605 rm -f conftest.
$ac_objext
36606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36607 (eval $ac_compile) 2>conftest.er1
36609 grep -v '^ *+' conftest.er1
>conftest.err
36611 cat conftest.err
>&5
36612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36613 (exit $ac_status); } &&
36614 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36616 (eval $ac_try) 2>&5
36618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36619 (exit $ac_status); }; } &&
36620 { ac_try
='test -s conftest.$ac_objext'
36621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36622 (eval $ac_try) 2>&5
36624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36625 (exit $ac_status); }; }; then
36627 wx_cv_var_timezone
=timezone
36630 echo "$as_me: failed program was:" >&5
36631 sed 's/^/| /' conftest.
$ac_ext >&5
36634 cat >conftest.
$ac_ext <<_ACEOF
36637 cat confdefs.h
>>conftest.
$ac_ext
36638 cat >>conftest.
$ac_ext <<_ACEOF
36639 /* end confdefs.h. */
36654 rm -f conftest.
$ac_objext
36655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36656 (eval $ac_compile) 2>conftest.er1
36658 grep -v '^ *+' conftest.er1
>conftest.err
36660 cat conftest.err
>&5
36661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36662 (exit $ac_status); } &&
36663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36665 (eval $ac_try) 2>&5
36667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36668 (exit $ac_status); }; } &&
36669 { ac_try
='test -s conftest.$ac_objext'
36670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36671 (eval $ac_try) 2>&5
36673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36674 (exit $ac_status); }; }; then
36676 wx_cv_var_timezone
=_timezone
36679 echo "$as_me: failed program was:" >&5
36680 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. */
36703 rm -f conftest.
$ac_objext
36704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36705 (eval $ac_compile) 2>conftest.er1
36707 grep -v '^ *+' conftest.er1
>conftest.err
36709 cat conftest.err
>&5
36710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36711 (exit $ac_status); } &&
36712 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36714 (eval $ac_try) 2>&5
36716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36717 (exit $ac_status); }; } &&
36718 { ac_try
='test -s conftest.$ac_objext'
36719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36720 (eval $ac_try) 2>&5
36722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36723 (exit $ac_status); }; }; then
36725 wx_cv_var_timezone
=__timezone
36728 echo "$as_me: failed program was:" >&5
36729 sed 's/^/| /' conftest.
$ac_ext >&5
36732 if test "$USE_DOS" = 0 ; then
36733 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
36734 echo "$as_me: WARNING: no timezone variable" >&2;}
36739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36751 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
36752 echo "${ECHO_T}$wx_cv_var_timezone" >&6
36754 if test "x$wx_cv_var_timezone" != x
; then
36755 cat >>confdefs.h
<<_ACEOF
36756 #define WX_TIMEZONE $wx_cv_var_timezone
36762 for ac_func
in localtime
36764 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36765 echo "$as_me:$LINENO: checking for $ac_func" >&5
36766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36767 if eval "test \"\${$as_ac_var+set}\" = set"; then
36768 echo $ECHO_N "(cached) $ECHO_C" >&6
36770 cat >conftest.
$ac_ext <<_ACEOF
36773 cat confdefs.h
>>conftest.
$ac_ext
36774 cat >>conftest.
$ac_ext <<_ACEOF
36775 /* end confdefs.h. */
36776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36778 #define $ac_func innocuous_$ac_func
36780 /* System header to define __stub macros and hopefully few prototypes,
36781 which can conflict with char $ac_func (); below.
36782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36783 <limits.h> exists even on freestanding compilers. */
36786 # include <limits.h>
36788 # include <assert.h>
36793 /* Override any gcc2 internal prototype to avoid an error. */
36798 /* We use char because int might match the return type of a gcc2
36799 builtin and then its argument prototype would still apply. */
36801 /* The GNU C library defines this for functions which it implements
36802 to always fail with ENOSYS. Some functions are actually named
36803 something starting with __ and the normal name is an alias. */
36804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36807 char (*f) () = $ac_func;
36816 return f != $ac_func;
36821 rm -f conftest.
$ac_objext conftest
$ac_exeext
36822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36823 (eval $ac_link) 2>conftest.er1
36825 grep -v '^ *+' conftest.er1
>conftest.err
36827 cat conftest.err
>&5
36828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36829 (exit $ac_status); } &&
36830 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36832 (eval $ac_try) 2>&5
36834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36835 (exit $ac_status); }; } &&
36836 { ac_try
='test -s conftest$ac_exeext'
36837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36838 (eval $ac_try) 2>&5
36840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36841 (exit $ac_status); }; }; then
36842 eval "$as_ac_var=yes"
36844 echo "$as_me: failed program was:" >&5
36845 sed 's/^/| /' conftest.
$ac_ext >&5
36847 eval "$as_ac_var=no"
36849 rm -f conftest.err conftest.
$ac_objext \
36850 conftest
$ac_exeext conftest.
$ac_ext
36852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36854 if test `eval echo '${'$as_ac_var'}'` = yes; then
36855 cat >>confdefs.h
<<_ACEOF
36856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36863 if test "$ac_cv_func_localtime" = "yes"; then
36864 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
36865 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
36866 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
36867 echo $ECHO_N "(cached) $ECHO_C" >&6
36870 cat >conftest.
$ac_ext <<_ACEOF
36873 cat confdefs.h
>>conftest.
$ac_ext
36874 cat >>conftest.
$ac_ext <<_ACEOF
36875 /* end confdefs.h. */
36890 rm -f conftest.
$ac_objext
36891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36892 (eval $ac_compile) 2>conftest.er1
36894 grep -v '^ *+' conftest.er1
>conftest.err
36896 cat conftest.err
>&5
36897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36898 (exit $ac_status); } &&
36899 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36901 (eval $ac_try) 2>&5
36903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36904 (exit $ac_status); }; } &&
36905 { ac_try
='test -s conftest.$ac_objext'
36906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36907 (eval $ac_try) 2>&5
36909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36910 (exit $ac_status); }; }; then
36912 wx_cv_struct_tm_has_gmtoff
=yes
36915 echo "$as_me: failed program was:" >&5
36916 sed 's/^/| /' conftest.
$ac_ext >&5
36918 wx_cv_struct_tm_has_gmtoff
=no
36921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36924 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
36925 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
36928 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
36929 cat >>confdefs.h
<<\_ACEOF
36930 #define WX_GMTOFF_IN_TM 1
36937 for ac_func
in gettimeofday ftime
36939 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36940 echo "$as_me:$LINENO: checking for $ac_func" >&5
36941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36942 if eval "test \"\${$as_ac_var+set}\" = set"; then
36943 echo $ECHO_N "(cached) $ECHO_C" >&6
36945 cat >conftest.
$ac_ext <<_ACEOF
36948 cat confdefs.h
>>conftest.
$ac_ext
36949 cat >>conftest.
$ac_ext <<_ACEOF
36950 /* end confdefs.h. */
36951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36953 #define $ac_func innocuous_$ac_func
36955 /* System header to define __stub macros and hopefully few prototypes,
36956 which can conflict with char $ac_func (); below.
36957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36958 <limits.h> exists even on freestanding compilers. */
36961 # include <limits.h>
36963 # include <assert.h>
36968 /* Override any gcc2 internal prototype to avoid an error. */
36973 /* We use char because int might match the return type of a gcc2
36974 builtin and then its argument prototype would still apply. */
36976 /* The GNU C library defines this for functions which it implements
36977 to always fail with ENOSYS. Some functions are actually named
36978 something starting with __ and the normal name is an alias. */
36979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36982 char (*f) () = $ac_func;
36991 return f != $ac_func;
36996 rm -f conftest.
$ac_objext conftest
$ac_exeext
36997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36998 (eval $ac_link) 2>conftest.er1
37000 grep -v '^ *+' conftest.er1
>conftest.err
37002 cat conftest.err
>&5
37003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37004 (exit $ac_status); } &&
37005 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37007 (eval $ac_try) 2>&5
37009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37010 (exit $ac_status); }; } &&
37011 { ac_try
='test -s conftest$ac_exeext'
37012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37013 (eval $ac_try) 2>&5
37015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37016 (exit $ac_status); }; }; then
37017 eval "$as_ac_var=yes"
37019 echo "$as_me: failed program was:" >&5
37020 sed 's/^/| /' conftest.
$ac_ext >&5
37022 eval "$as_ac_var=no"
37024 rm -f conftest.err conftest.
$ac_objext \
37025 conftest
$ac_exeext conftest.
$ac_ext
37027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37029 if test `eval echo '${'$as_ac_var'}'` = yes; then
37030 cat >>confdefs.h
<<_ACEOF
37031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37038 if test "$ac_cv_func_gettimeofday" = "yes"; then
37039 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
37040 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
37041 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
37042 echo $ECHO_N "(cached) $ECHO_C" >&6
37048 ac_cpp
='$CXXCPP $CPPFLAGS'
37049 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37050 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37051 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37054 cat >conftest.
$ac_ext <<_ACEOF
37057 cat confdefs.h
>>conftest.
$ac_ext
37058 cat >>conftest.
$ac_ext <<_ACEOF
37059 /* end confdefs.h. */
37061 #include <sys/time.h>
37062 #include <unistd.h>
37069 gettimeofday(&tv, NULL);
37075 rm -f conftest.
$ac_objext
37076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37077 (eval $ac_compile) 2>conftest.er1
37079 grep -v '^ *+' conftest.er1
>conftest.err
37081 cat conftest.err
>&5
37082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37083 (exit $ac_status); } &&
37084 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37086 (eval $ac_try) 2>&5
37088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37089 (exit $ac_status); }; } &&
37090 { ac_try
='test -s conftest.$ac_objext'
37091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37092 (eval $ac_try) 2>&5
37094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37095 (exit $ac_status); }; }; then
37096 wx_cv_func_gettimeofday_has_2_args
=yes
37098 echo "$as_me: failed program was:" >&5
37099 sed 's/^/| /' conftest.
$ac_ext >&5
37101 cat >conftest.
$ac_ext <<_ACEOF
37104 cat confdefs.h
>>conftest.
$ac_ext
37105 cat >>conftest.
$ac_ext <<_ACEOF
37106 /* end confdefs.h. */
37108 #include <sys/time.h>
37109 #include <unistd.h>
37122 rm -f conftest.
$ac_objext
37123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37124 (eval $ac_compile) 2>conftest.er1
37126 grep -v '^ *+' conftest.er1
>conftest.err
37128 cat conftest.err
>&5
37129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37130 (exit $ac_status); } &&
37131 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37133 (eval $ac_try) 2>&5
37135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37136 (exit $ac_status); }; } &&
37137 { ac_try
='test -s conftest.$ac_objext'
37138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37139 (eval $ac_try) 2>&5
37141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37142 (exit $ac_status); }; }; then
37143 wx_cv_func_gettimeofday_has_2_args
=no
37145 echo "$as_me: failed program was:" >&5
37146 sed 's/^/| /' conftest.
$ac_ext >&5
37149 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
37150 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
37151 wx_cv_func_gettimeofday_has_2_args
=unknown
37155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37160 ac_cpp
='$CPP $CPPFLAGS'
37161 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37162 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37163 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37167 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
37168 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
37170 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
37171 cat >>confdefs.h
<<\_ACEOF
37172 #define WX_GETTIMEOFDAY_NO_TZ 1
37178 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
37182 if test "$wxUSE_SOCKETS" = "yes"; then
37183 if test "$wxUSE_MGL" = "1"; then
37184 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
37185 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
37190 if test "$wxUSE_SOCKETS" = "yes"; then
37191 if test "$TOOLKIT" != "MSW"; then
37192 echo "$as_me:$LINENO: checking for socket" >&5
37193 echo $ECHO_N "checking for socket... $ECHO_C" >&6
37194 if test "${ac_cv_func_socket+set}" = set; then
37195 echo $ECHO_N "(cached) $ECHO_C" >&6
37197 cat >conftest.
$ac_ext <<_ACEOF
37200 cat confdefs.h
>>conftest.
$ac_ext
37201 cat >>conftest.
$ac_ext <<_ACEOF
37202 /* end confdefs.h. */
37203 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
37204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37205 #define socket innocuous_socket
37207 /* System header to define __stub macros and hopefully few prototypes,
37208 which can conflict with char socket (); below.
37209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37210 <limits.h> exists even on freestanding compilers. */
37213 # include <limits.h>
37215 # include <assert.h>
37220 /* Override any gcc2 internal prototype to avoid an error. */
37225 /* We use char because int might match the return type of a gcc2
37226 builtin and then its argument prototype would still apply. */
37228 /* The GNU C library defines this for functions which it implements
37229 to always fail with ENOSYS. Some functions are actually named
37230 something starting with __ and the normal name is an alias. */
37231 #if defined (__stub_socket) || defined (__stub___socket)
37234 char (*f) () = socket;
37243 return f != socket;
37248 rm -f conftest.
$ac_objext conftest
$ac_exeext
37249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37250 (eval $ac_link) 2>conftest.er1
37252 grep -v '^ *+' conftest.er1
>conftest.err
37254 cat conftest.err
>&5
37255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37256 (exit $ac_status); } &&
37257 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37259 (eval $ac_try) 2>&5
37261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37262 (exit $ac_status); }; } &&
37263 { ac_try
='test -s conftest$ac_exeext'
37264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37265 (eval $ac_try) 2>&5
37267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37268 (exit $ac_status); }; }; then
37269 ac_cv_func_socket
=yes
37271 echo "$as_me: failed program was:" >&5
37272 sed 's/^/| /' conftest.
$ac_ext >&5
37274 ac_cv_func_socket
=no
37276 rm -f conftest.err conftest.
$ac_objext \
37277 conftest
$ac_exeext conftest.
$ac_ext
37279 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
37280 echo "${ECHO_T}$ac_cv_func_socket" >&6
37281 if test $ac_cv_func_socket = yes; then
37285 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
37286 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
37287 if test "${ac_cv_lib_socket_socket+set}" = set; then
37288 echo $ECHO_N "(cached) $ECHO_C" >&6
37290 ac_check_lib_save_LIBS
=$LIBS
37291 LIBS
="-lsocket $LIBS"
37292 cat >conftest.
$ac_ext <<_ACEOF
37295 cat confdefs.h
>>conftest.
$ac_ext
37296 cat >>conftest.
$ac_ext <<_ACEOF
37297 /* end confdefs.h. */
37299 /* Override any gcc2 internal prototype to avoid an error. */
37303 /* We use char because int might match the return type of a gcc2
37304 builtin and then its argument prototype would still apply. */
37314 rm -f conftest.
$ac_objext conftest
$ac_exeext
37315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37316 (eval $ac_link) 2>conftest.er1
37318 grep -v '^ *+' conftest.er1
>conftest.err
37320 cat conftest.err
>&5
37321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37322 (exit $ac_status); } &&
37323 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37325 (eval $ac_try) 2>&5
37327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37328 (exit $ac_status); }; } &&
37329 { ac_try
='test -s conftest$ac_exeext'
37330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37331 (eval $ac_try) 2>&5
37333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37334 (exit $ac_status); }; }; then
37335 ac_cv_lib_socket_socket
=yes
37337 echo "$as_me: failed program was:" >&5
37338 sed 's/^/| /' conftest.
$ac_ext >&5
37340 ac_cv_lib_socket_socket
=no
37342 rm -f conftest.err conftest.
$ac_objext \
37343 conftest
$ac_exeext conftest.
$ac_ext
37344 LIBS
=$ac_check_lib_save_LIBS
37346 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
37347 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
37348 if test $ac_cv_lib_socket_socket = yes; then
37349 if test "$INET_LINK" != " -lsocket"; then
37350 INET_LINK
="$INET_LINK -lsocket"
37354 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
37355 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
37368 if test "$wxUSE_SOCKETS" = "yes" ; then
37369 if test "$TOOLKIT" != "MSW"; then
37371 ac_cpp
='$CXXCPP $CPPFLAGS'
37372 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37373 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37374 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37376 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
37377 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
37378 if test "${wx_cv_type_getsockname3+set}" = set; then
37379 echo $ECHO_N "(cached) $ECHO_C" >&6
37382 cat >conftest.
$ac_ext <<_ACEOF
37385 cat confdefs.h
>>conftest.
$ac_ext
37386 cat >>conftest.
$ac_ext <<_ACEOF
37387 /* end confdefs.h. */
37389 #include <sys/types.h>
37390 #include <sys/socket.h>
37397 getsockname(0, 0, &len);
37403 rm -f conftest.
$ac_objext
37404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37405 (eval $ac_compile) 2>conftest.er1
37407 grep -v '^ *+' conftest.er1
>conftest.err
37409 cat conftest.err
>&5
37410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37411 (exit $ac_status); } &&
37412 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37414 (eval $ac_try) 2>&5
37416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37417 (exit $ac_status); }; } &&
37418 { ac_try
='test -s conftest.$ac_objext'
37419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37420 (eval $ac_try) 2>&5
37422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37423 (exit $ac_status); }; }; then
37424 wx_cv_type_getsockname3
=socklen_t
37426 echo "$as_me: failed program was:" >&5
37427 sed 's/^/| /' conftest.
$ac_ext >&5
37430 CFLAGS_OLD
="$CFLAGS"
37431 if test "$GCC" = yes ; then
37432 CFLAGS
="$CFLAGS -Werror"
37435 cat >conftest.
$ac_ext <<_ACEOF
37438 cat confdefs.h
>>conftest.
$ac_ext
37439 cat >>conftest.
$ac_ext <<_ACEOF
37440 /* end confdefs.h. */
37442 #include <sys/types.h>
37443 #include <sys/socket.h>
37450 getsockname(0, 0, &len);
37456 rm -f conftest.
$ac_objext
37457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37458 (eval $ac_compile) 2>conftest.er1
37460 grep -v '^ *+' conftest.er1
>conftest.err
37462 cat conftest.err
>&5
37463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37464 (exit $ac_status); } &&
37465 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37467 (eval $ac_try) 2>&5
37469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37470 (exit $ac_status); }; } &&
37471 { ac_try
='test -s conftest.$ac_objext'
37472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37473 (eval $ac_try) 2>&5
37475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37476 (exit $ac_status); }; }; then
37477 wx_cv_type_getsockname3
=size_t
37479 echo "$as_me: failed program was:" >&5
37480 sed 's/^/| /' conftest.
$ac_ext >&5
37482 cat >conftest.
$ac_ext <<_ACEOF
37485 cat confdefs.h
>>conftest.
$ac_ext
37486 cat >>conftest.
$ac_ext <<_ACEOF
37487 /* end confdefs.h. */
37489 #include <sys/types.h>
37490 #include <sys/socket.h>
37497 getsockname(0, 0, &len);
37503 rm -f conftest.
$ac_objext
37504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37505 (eval $ac_compile) 2>conftest.er1
37507 grep -v '^ *+' conftest.er1
>conftest.err
37509 cat conftest.err
>&5
37510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37511 (exit $ac_status); } &&
37512 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37514 (eval $ac_try) 2>&5
37516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37517 (exit $ac_status); }; } &&
37518 { ac_try
='test -s conftest.$ac_objext'
37519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37520 (eval $ac_try) 2>&5
37522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37523 (exit $ac_status); }; }; then
37524 wx_cv_type_getsockname3
=int
37526 echo "$as_me: failed program was:" >&5
37527 sed 's/^/| /' conftest.
$ac_ext >&5
37529 wx_cv_type_getsockname3
=unknown
37532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37537 CFLAGS
="$CFLAGS_OLD"
37541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37544 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
37545 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
37547 if test "$wx_cv_type_getsockname3" = "unknown"; then
37549 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37550 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37552 cat >>confdefs.h
<<_ACEOF
37553 #define SOCKLEN_T $wx_cv_type_getsockname3
37557 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
37558 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
37559 if test "${wx_cv_type_getsockopt5+set}" = set; then
37560 echo $ECHO_N "(cached) $ECHO_C" >&6
37563 cat >conftest.
$ac_ext <<_ACEOF
37566 cat confdefs.h
>>conftest.
$ac_ext
37567 cat >>conftest.
$ac_ext <<_ACEOF
37568 /* end confdefs.h. */
37570 #include <sys/types.h>
37571 #include <sys/socket.h>
37578 getsockopt(0, 0, 0, 0, &len);
37584 rm -f conftest.
$ac_objext
37585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37586 (eval $ac_compile) 2>conftest.er1
37588 grep -v '^ *+' conftest.er1
>conftest.err
37590 cat conftest.err
>&5
37591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37592 (exit $ac_status); } &&
37593 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37595 (eval $ac_try) 2>&5
37597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37598 (exit $ac_status); }; } &&
37599 { ac_try
='test -s conftest.$ac_objext'
37600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37601 (eval $ac_try) 2>&5
37603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37604 (exit $ac_status); }; }; then
37605 wx_cv_type_getsockopt5
=socklen_t
37607 echo "$as_me: failed program was:" >&5
37608 sed 's/^/| /' conftest.
$ac_ext >&5
37611 CFLAGS_OLD
="$CFLAGS"
37612 if test "$GCC" = yes ; then
37613 CFLAGS
="$CFLAGS -Werror"
37616 cat >conftest.
$ac_ext <<_ACEOF
37619 cat confdefs.h
>>conftest.
$ac_ext
37620 cat >>conftest.
$ac_ext <<_ACEOF
37621 /* end confdefs.h. */
37623 #include <sys/types.h>
37624 #include <sys/socket.h>
37631 getsockopt(0, 0, 0, 0, &len);
37637 rm -f conftest.
$ac_objext
37638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37639 (eval $ac_compile) 2>conftest.er1
37641 grep -v '^ *+' conftest.er1
>conftest.err
37643 cat conftest.err
>&5
37644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37645 (exit $ac_status); } &&
37646 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37648 (eval $ac_try) 2>&5
37650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37651 (exit $ac_status); }; } &&
37652 { ac_try
='test -s conftest.$ac_objext'
37653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37654 (eval $ac_try) 2>&5
37656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37657 (exit $ac_status); }; }; then
37658 wx_cv_type_getsockopt5
=size_t
37660 echo "$as_me: failed program was:" >&5
37661 sed 's/^/| /' conftest.
$ac_ext >&5
37663 cat >conftest.
$ac_ext <<_ACEOF
37666 cat confdefs.h
>>conftest.
$ac_ext
37667 cat >>conftest.
$ac_ext <<_ACEOF
37668 /* end confdefs.h. */
37670 #include <sys/types.h>
37671 #include <sys/socket.h>
37678 getsockopt(0, 0, 0, 0, &len);
37684 rm -f conftest.
$ac_objext
37685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37686 (eval $ac_compile) 2>conftest.er1
37688 grep -v '^ *+' conftest.er1
>conftest.err
37690 cat conftest.err
>&5
37691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37692 (exit $ac_status); } &&
37693 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37695 (eval $ac_try) 2>&5
37697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37698 (exit $ac_status); }; } &&
37699 { ac_try
='test -s conftest.$ac_objext'
37700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37701 (eval $ac_try) 2>&5
37703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37704 (exit $ac_status); }; }; then
37705 wx_cv_type_getsockopt5
=int
37707 echo "$as_me: failed program was:" >&5
37708 sed 's/^/| /' conftest.
$ac_ext >&5
37710 wx_cv_type_getsockopt5
=unknown
37713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37718 CFLAGS
="$CFLAGS_OLD"
37722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37725 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
37726 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
37728 if test "$wx_cv_type_getsockopt5" = "unknown"; then
37730 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37731 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37733 cat >>confdefs.h
<<_ACEOF
37734 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
37739 ac_cpp
='$CPP $CPPFLAGS'
37740 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37741 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37742 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37747 if test "$wxUSE_SOCKETS" = "yes" ; then
37748 cat >>confdefs.h
<<\_ACEOF
37749 #define wxUSE_SOCKETS 1
37752 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
37755 if test "$wxUSE_PROTOCOL" = "yes"; then
37756 if test "$wxUSE_SOCKETS" != "yes"; then
37757 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
37758 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
37763 if test "$wxUSE_PROTOCOL" = "yes"; then
37764 cat >>confdefs.h
<<\_ACEOF
37765 #define wxUSE_PROTOCOL 1
37769 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
37770 cat >>confdefs.h
<<\_ACEOF
37771 #define wxUSE_PROTOCOL_HTTP 1
37775 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
37776 cat >>confdefs.h
<<\_ACEOF
37777 #define wxUSE_PROTOCOL_FTP 1
37781 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
37782 cat >>confdefs.h
<<\_ACEOF
37783 #define wxUSE_PROTOCOL_FILE 1
37788 if test "$wxUSE_FS_INET" = "yes"; then
37789 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
37790 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
37795 if test "$wxUSE_URL" = "yes"; then
37796 if test "$wxUSE_PROTOCOL" != "yes"; then
37797 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
37798 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
37801 if test "$wxUSE_URL" = "yes"; then
37802 cat >>confdefs.h
<<\_ACEOF
37803 #define wxUSE_URL 1
37809 if test "$wxUSE_FS_INET" = "yes"; then
37810 cat >>confdefs.h
<<\_ACEOF
37811 #define wxUSE_FS_INET 1
37817 if test "$wxUSE_GUI" = "yes"; then
37818 if test "$wxUSE_JOYSTICK" = "yes"; then
37820 if test "$TOOLKIT" != "MAC" -a "$TOOLKIT" != "COCOA" -a "$TOOLKIT" != "MSW"; then
37822 for ac_header
in linux
/joystick.h
37824 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37826 echo "$as_me:$LINENO: checking for $ac_header" >&5
37827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37829 echo $ECHO_N "(cached) $ECHO_C" >&6
37831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37834 # Is the header compilable?
37835 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37836 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37837 cat >conftest.
$ac_ext <<_ACEOF
37840 cat confdefs.h
>>conftest.
$ac_ext
37841 cat >>conftest.
$ac_ext <<_ACEOF
37842 /* end confdefs.h. */
37843 $ac_includes_default
37844 #include <$ac_header>
37846 rm -f conftest.
$ac_objext
37847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37848 (eval $ac_compile) 2>conftest.er1
37850 grep -v '^ *+' conftest.er1
>conftest.err
37852 cat conftest.err
>&5
37853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37854 (exit $ac_status); } &&
37855 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37857 (eval $ac_try) 2>&5
37859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37860 (exit $ac_status); }; } &&
37861 { ac_try
='test -s conftest.$ac_objext'
37862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37863 (eval $ac_try) 2>&5
37865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37866 (exit $ac_status); }; }; then
37867 ac_header_compiler
=yes
37869 echo "$as_me: failed program was:" >&5
37870 sed 's/^/| /' conftest.
$ac_ext >&5
37872 ac_header_compiler
=no
37874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37875 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37876 echo "${ECHO_T}$ac_header_compiler" >&6
37878 # Is the header present?
37879 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37880 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37881 cat >conftest.
$ac_ext <<_ACEOF
37884 cat confdefs.h
>>conftest.
$ac_ext
37885 cat >>conftest.
$ac_ext <<_ACEOF
37886 /* end confdefs.h. */
37887 #include <$ac_header>
37889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37890 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37892 grep -v '^ *+' conftest.er1
>conftest.err
37894 cat conftest.err
>&5
37895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37896 (exit $ac_status); } >/dev
/null
; then
37897 if test -s conftest.err
; then
37898 ac_cpp_err
=$ac_c_preproc_warn_flag
37899 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37906 if test -z "$ac_cpp_err"; then
37907 ac_header_preproc
=yes
37909 echo "$as_me: failed program was:" >&5
37910 sed 's/^/| /' conftest.
$ac_ext >&5
37912 ac_header_preproc
=no
37914 rm -f conftest.err conftest.
$ac_ext
37915 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37916 echo "${ECHO_T}$ac_header_preproc" >&6
37918 # So? What about this header?
37919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37921 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37922 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37924 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37925 ac_header_preproc
=yes
37928 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37929 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37930 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37931 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37932 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37933 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37934 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37935 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37936 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37937 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37938 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37939 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37942 ## ----------------------------------------- ##
37943 ## Report this to wx-dev@lists.wxwidgets.org ##
37944 ## ----------------------------------------- ##
37947 sed "s/^/$as_me: WARNING: /" >&2
37950 echo "$as_me:$LINENO: checking for $ac_header" >&5
37951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37953 echo $ECHO_N "(cached) $ECHO_C" >&6
37955 eval "$as_ac_Header=\$ac_header_preproc"
37957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37958 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37961 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37962 cat >>confdefs.h
<<_ACEOF
37963 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37970 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
37972 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
37973 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
37976 if test "$USE_DARWIN" != 1 -a "$TOOLKIT" != "MSW"; then
37978 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
37979 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
37984 if test "$wxUSE_JOYSTICK" = "yes"; then
37985 cat >>confdefs.h
<<\_ACEOF
37986 #define wxUSE_JOYSTICK 1
37989 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
37996 if test "$wxUSE_FONTMAP" = "yes" ; then
37997 cat >>confdefs.h
<<\_ACEOF
37998 #define wxUSE_FONTMAP 1
38003 if test "$wxUSE_UNICODE" = "yes" ; then
38004 cat >>confdefs.h
<<\_ACEOF
38005 #define wxUSE_UNICODE 1
38009 if test "$USE_WIN32" != 1; then
38010 wxUSE_UNICODE_MSLU
=no
38013 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
38014 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
38015 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
38016 if test "${ac_cv_lib_unicows_main+set}" = set; then
38017 echo $ECHO_N "(cached) $ECHO_C" >&6
38019 ac_check_lib_save_LIBS
=$LIBS
38020 LIBS
="-lunicows $LIBS"
38021 cat >conftest.
$ac_ext <<_ACEOF
38024 cat confdefs.h
>>conftest.
$ac_ext
38025 cat >>conftest.
$ac_ext <<_ACEOF
38026 /* end confdefs.h. */
38037 rm -f conftest.
$ac_objext conftest
$ac_exeext
38038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38039 (eval $ac_link) 2>conftest.er1
38041 grep -v '^ *+' conftest.er1
>conftest.err
38043 cat conftest.err
>&5
38044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38045 (exit $ac_status); } &&
38046 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38048 (eval $ac_try) 2>&5
38050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38051 (exit $ac_status); }; } &&
38052 { ac_try
='test -s conftest$ac_exeext'
38053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38054 (eval $ac_try) 2>&5
38056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38057 (exit $ac_status); }; }; then
38058 ac_cv_lib_unicows_main
=yes
38060 echo "$as_me: failed program was:" >&5
38061 sed 's/^/| /' conftest.
$ac_ext >&5
38063 ac_cv_lib_unicows_main
=no
38065 rm -f conftest.err conftest.
$ac_objext \
38066 conftest
$ac_exeext conftest.
$ac_ext
38067 LIBS
=$ac_check_lib_save_LIBS
38069 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
38070 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
38071 if test $ac_cv_lib_unicows_main = yes; then
38073 cat >>confdefs.h
<<\_ACEOF
38074 #define wxUSE_UNICODE_MSLU 1
38080 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38081 Applications will only run on Windows NT/2000/XP!" >&5
38082 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38083 Applications will only run on Windows NT/2000/XP!" >&2;}
38084 wxUSE_UNICODE_MSLU
=no
38091 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
38092 cat >>confdefs.h
<<\_ACEOF
38093 #define wxUSE_EXPERIMENTAL_PRINTF 1
38099 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
38100 cat >>confdefs.h
<<\_ACEOF
38101 #define wxUSE_POSTSCRIPT 1
38106 cat >>confdefs.h
<<\_ACEOF
38107 #define wxUSE_AFM_FOR_POSTSCRIPT 1
38111 cat >>confdefs.h
<<\_ACEOF
38112 #define wxUSE_NORMALIZED_PS_FONTS 1
38117 if test "$wxUSE_CONSTRAINTS" = "yes"; then
38118 cat >>confdefs.h
<<\_ACEOF
38119 #define wxUSE_CONSTRAINTS 1
38122 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
38125 if test "$wxUSE_MDI" = "yes"; then
38126 cat >>confdefs.h
<<\_ACEOF
38127 #define wxUSE_MDI 1
38131 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38132 cat >>confdefs.h
<<\_ACEOF
38133 #define wxUSE_MDI_ARCHITECTURE 1
38136 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
38140 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
38141 cat >>confdefs.h
<<\_ACEOF
38142 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
38145 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
38146 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38147 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
38151 if test "$wxUSE_HELP" = "yes"; then
38152 cat >>confdefs.h
<<\_ACEOF
38153 #define wxUSE_HELP 1
38156 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
38158 if test "$wxUSE_MSW" = 1; then
38159 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
38160 cat >>confdefs.h
<<\_ACEOF
38161 #define wxUSE_MS_HTML_HELP 1
38167 if test "$wxUSE_WXHTML_HELP" = "yes"; then
38168 if test "$wxUSE_HTML" = "yes"; then
38169 cat >>confdefs.h
<<\_ACEOF
38170 #define wxUSE_WXHTML_HELP 1
38174 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
38175 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
38176 wxUSE_WXHTML_HELP
=no
38181 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
38182 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38183 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
38184 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
38186 cat >>confdefs.h
<<\_ACEOF
38187 #define wxUSE_PRINTING_ARCHITECTURE 1
38191 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
38194 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
38195 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
38196 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
38197 { (exit 1); exit 1; }; }
38201 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
38202 -o "$wxUSE_CLIPBOARD" = "yes" \
38203 -o "$wxUSE_OLE" = "yes" \
38204 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
38206 for ac_header
in ole2.h
38208 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38210 echo "$as_me:$LINENO: checking for $ac_header" >&5
38211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38213 echo $ECHO_N "(cached) $ECHO_C" >&6
38215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38218 # Is the header compilable?
38219 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38220 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38221 cat >conftest.
$ac_ext <<_ACEOF
38224 cat confdefs.h
>>conftest.
$ac_ext
38225 cat >>conftest.
$ac_ext <<_ACEOF
38226 /* end confdefs.h. */
38227 $ac_includes_default
38228 #include <$ac_header>
38230 rm -f conftest.
$ac_objext
38231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38232 (eval $ac_compile) 2>conftest.er1
38234 grep -v '^ *+' conftest.er1
>conftest.err
38236 cat conftest.err
>&5
38237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38238 (exit $ac_status); } &&
38239 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38241 (eval $ac_try) 2>&5
38243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38244 (exit $ac_status); }; } &&
38245 { ac_try
='test -s conftest.$ac_objext'
38246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38247 (eval $ac_try) 2>&5
38249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38250 (exit $ac_status); }; }; then
38251 ac_header_compiler
=yes
38253 echo "$as_me: failed program was:" >&5
38254 sed 's/^/| /' conftest.
$ac_ext >&5
38256 ac_header_compiler
=no
38258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38259 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38260 echo "${ECHO_T}$ac_header_compiler" >&6
38262 # Is the header present?
38263 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38264 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38265 cat >conftest.
$ac_ext <<_ACEOF
38268 cat confdefs.h
>>conftest.
$ac_ext
38269 cat >>conftest.
$ac_ext <<_ACEOF
38270 /* end confdefs.h. */
38271 #include <$ac_header>
38273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38274 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38276 grep -v '^ *+' conftest.er1
>conftest.err
38278 cat conftest.err
>&5
38279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38280 (exit $ac_status); } >/dev
/null
; then
38281 if test -s conftest.err
; then
38282 ac_cpp_err
=$ac_c_preproc_warn_flag
38283 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38290 if test -z "$ac_cpp_err"; then
38291 ac_header_preproc
=yes
38293 echo "$as_me: failed program was:" >&5
38294 sed 's/^/| /' conftest.
$ac_ext >&5
38296 ac_header_preproc
=no
38298 rm -f conftest.err conftest.
$ac_ext
38299 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38300 echo "${ECHO_T}$ac_header_preproc" >&6
38302 # So? What about this header?
38303 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38305 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38306 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38307 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38308 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38309 ac_header_preproc
=yes
38312 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38313 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38314 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38315 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38316 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38317 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38318 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38319 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38320 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38321 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38322 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38323 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38326 ## ----------------------------------------- ##
38327 ## Report this to wx-dev@lists.wxwidgets.org ##
38328 ## ----------------------------------------- ##
38331 sed "s/^/$as_me: WARNING: /" >&2
38334 echo "$as_me:$LINENO: checking for $ac_header" >&5
38335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38337 echo $ECHO_N "(cached) $ECHO_C" >&6
38339 eval "$as_ac_Header=\$ac_header_preproc"
38341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38346 cat >>confdefs.h
<<_ACEOF
38347 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38355 if test "$ac_cv_header_ole2_h" = "yes" ; then
38356 if test "$GCC" = yes ; then
38360 ac_cpp
='$CXXCPP $CPPFLAGS'
38361 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38362 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38363 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38366 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
38367 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
38368 cat >conftest.
$ac_ext <<_ACEOF
38371 cat confdefs.h
>>conftest.
$ac_ext
38372 cat >>conftest.
$ac_ext <<_ACEOF
38373 /* end confdefs.h. */
38374 #include <windows.h>
38384 rm -f conftest.
$ac_objext
38385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38386 (eval $ac_compile) 2>conftest.er1
38388 grep -v '^ *+' conftest.er1
>conftest.err
38390 cat conftest.err
>&5
38391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38392 (exit $ac_status); } &&
38393 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38395 (eval $ac_try) 2>&5
38397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38398 (exit $ac_status); }; } &&
38399 { ac_try
='test -s conftest.$ac_objext'
38400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38401 (eval $ac_try) 2>&5
38403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38404 (exit $ac_status); }; }; then
38405 echo "$as_me:$LINENO: result: no" >&5
38406 echo "${ECHO_T}no" >&6
38408 echo "$as_me: failed program was:" >&5
38409 sed 's/^/| /' conftest.
$ac_ext >&5
38411 echo "$as_me:$LINENO: result: yes" >&5
38412 echo "${ECHO_T}yes" >&6
38413 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
38415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38417 ac_cpp
='$CPP $CPPFLAGS'
38418 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38419 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38420 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38422 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
38423 if test "$wxUSE_OLE" = "yes" ; then
38424 cat >>confdefs.h
<<\_ACEOF
38425 #define wxUSE_OLE 1
38428 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
38432 if test "$wxUSE_DATAOBJ" = "yes" ; then
38433 cat >>confdefs.h
<<\_ACEOF
38434 #define wxUSE_DATAOBJ 1
38439 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
38440 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
38443 wxUSE_DRAG_AND_DROP
=no
38448 if test "$wxUSE_METAFILE" = "yes"; then
38449 cat >>confdefs.h
<<\_ACEOF
38450 #define wxUSE_METAFILE 1
38454 cat >>confdefs.h
<<\_ACEOF
38455 #define wxUSE_ENH_METAFILE 1
38461 if test "$wxUSE_IPC" = "yes"; then
38462 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
38463 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
38464 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
38468 if test "$wxUSE_IPC" = "yes"; then
38469 cat >>confdefs.h
<<\_ACEOF
38470 #define wxUSE_IPC 1
38473 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
38477 if test "$wxUSE_CLIPBOARD" = "yes"; then
38478 if test "$wxUSE_MGL" = 1; then
38479 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
38480 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
38484 if test "$wxUSE_CLIPBOARD" = "yes"; then
38485 cat >>confdefs.h
<<\_ACEOF
38486 #define wxUSE_CLIPBOARD 1
38490 cat >>confdefs.h
<<\_ACEOF
38491 #define wxUSE_DATAOBJ 1
38497 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
38498 if test "$wxUSE_GTK" = 1; then
38499 if test "$WXGTK12" != 1; then
38500 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
38501 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
38502 wxUSE_DRAG_AND_DROP
=no
38506 if test "$wxUSE_MOTIF" = 1; then
38507 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
38508 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
38509 wxUSE_DRAG_AND_DROP
=no
38512 if test "$wxUSE_X11" = 1; then
38513 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
38514 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
38515 wxUSE_DRAG_AND_DROP
=no
38518 if test "$wxUSE_MGL" = 1; then
38519 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
38520 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
38521 wxUSE_DRAG_AND_DROP
=no
38524 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
38525 cat >>confdefs.h
<<\_ACEOF
38526 #define wxUSE_DRAG_AND_DROP 1
38533 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
38534 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
38537 if test "$wxUSE_SPLINES" = "yes" ; then
38538 cat >>confdefs.h
<<\_ACEOF
38539 #define wxUSE_SPLINES 1
38546 if test "$wxUSE_CONTROLS" = "yes"; then
38550 if test "$wxUSE_ACCEL" = "yes"; then
38551 cat >>confdefs.h
<<\_ACEOF
38552 #define wxUSE_ACCEL 1
38558 if test "$wxUSE_BUTTON" = "yes"; then
38559 cat >>confdefs.h
<<\_ACEOF
38560 #define wxUSE_BUTTON 1
38566 if test "$wxUSE_BMPBUTTON" = "yes"; then
38567 cat >>confdefs.h
<<\_ACEOF
38568 #define wxUSE_BMPBUTTON 1
38574 if test "$wxUSE_CALCTRL" = "yes"; then
38575 cat >>confdefs.h
<<\_ACEOF
38576 #define wxUSE_CALENDARCTRL 1
38580 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
38583 if test "$wxUSE_CARET" = "yes"; then
38584 cat >>confdefs.h
<<\_ACEOF
38585 #define wxUSE_CARET 1
38589 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
38592 if test "$wxUSE_COMBOBOX" = "yes"; then
38593 cat >>confdefs.h
<<\_ACEOF
38594 #define wxUSE_COMBOBOX 1
38600 if test "$wxUSE_CHOICE" = "yes"; then
38601 cat >>confdefs.h
<<\_ACEOF
38602 #define wxUSE_CHOICE 1
38608 if test "$wxUSE_CHOICEBOOK" = "yes"; then
38609 cat >>confdefs.h
<<\_ACEOF
38610 #define wxUSE_CHOICEBOOK 1
38616 if test "$wxUSE_CHECKBOX" = "yes"; then
38617 cat >>confdefs.h
<<\_ACEOF
38618 #define wxUSE_CHECKBOX 1
38624 if test "$wxUSE_CHECKLST" = "yes"; then
38625 cat >>confdefs.h
<<\_ACEOF
38626 #define wxUSE_CHECKLISTBOX 1
38630 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
38633 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
38634 cat >>confdefs.h
<<\_ACEOF
38635 #define wxUSE_DATEPICKCTRL 1
38641 if test "$wxUSE_DISPLAY" = "yes"; then
38642 cat >>confdefs.h
<<\_ACEOF
38643 #define wxUSE_DISPLAY 1
38646 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
38649 if test "$wxUSE_GAUGE" = "yes"; then
38650 cat >>confdefs.h
<<\_ACEOF
38651 #define wxUSE_GAUGE 1
38657 if test "$wxUSE_GRID" = "yes"; then
38658 cat >>confdefs.h
<<\_ACEOF
38659 #define wxUSE_GRID 1
38663 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
38666 if test "$wxUSE_IMAGLIST" = "yes"; then
38667 cat >>confdefs.h
<<\_ACEOF
38668 #define wxUSE_IMAGLIST 1
38673 if test "$wxUSE_LISTBOOK" = "yes"; then
38674 cat >>confdefs.h
<<\_ACEOF
38675 #define wxUSE_LISTBOOK 1
38681 if test "$wxUSE_LISTBOX" = "yes"; then
38682 cat >>confdefs.h
<<\_ACEOF
38683 #define wxUSE_LISTBOX 1
38687 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
38690 if test "$wxUSE_LISTCTRL" = "yes"; then
38691 if test "$wxUSE_IMAGLIST" = "yes"; then
38692 cat >>confdefs.h
<<\_ACEOF
38693 #define wxUSE_LISTCTRL 1
38697 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
38699 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
38700 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
38704 if test "$wxUSE_NOTEBOOK" = "yes"; then
38705 cat >>confdefs.h
<<\_ACEOF
38706 #define wxUSE_NOTEBOOK 1
38710 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
38714 if test "$wxUSE_RADIOBOX" = "yes"; then
38715 cat >>confdefs.h
<<\_ACEOF
38716 #define wxUSE_RADIOBOX 1
38722 if test "$wxUSE_RADIOBTN" = "yes"; then
38723 cat >>confdefs.h
<<\_ACEOF
38724 #define wxUSE_RADIOBTN 1
38730 if test "$wxUSE_SASH" = "yes"; then
38731 cat >>confdefs.h
<<\_ACEOF
38732 #define wxUSE_SASH 1
38735 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
38738 if test "$wxUSE_SCROLLBAR" = "yes"; then
38739 cat >>confdefs.h
<<\_ACEOF
38740 #define wxUSE_SCROLLBAR 1
38744 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
38747 if test "$wxUSE_SLIDER" = "yes"; then
38748 cat >>confdefs.h
<<\_ACEOF
38749 #define wxUSE_SLIDER 1
38755 if test "$wxUSE_SPINBTN" = "yes"; then
38756 cat >>confdefs.h
<<\_ACEOF
38757 #define wxUSE_SPINBTN 1
38763 if test "$wxUSE_SPINCTRL" = "yes"; then
38764 cat >>confdefs.h
<<\_ACEOF
38765 #define wxUSE_SPINCTRL 1
38771 if test "$wxUSE_SPLITTER" = "yes"; then
38772 cat >>confdefs.h
<<\_ACEOF
38773 #define wxUSE_SPLITTER 1
38776 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
38779 if test "$wxUSE_STATBMP" = "yes"; then
38780 cat >>confdefs.h
<<\_ACEOF
38781 #define wxUSE_STATBMP 1
38787 if test "$wxUSE_STATBOX" = "yes"; then
38788 cat >>confdefs.h
<<\_ACEOF
38789 #define wxUSE_STATBOX 1
38795 if test "$wxUSE_STATTEXT" = "yes"; then
38796 cat >>confdefs.h
<<\_ACEOF
38797 #define wxUSE_STATTEXT 1
38803 if test "$wxUSE_STATLINE" = "yes"; then
38804 cat >>confdefs.h
<<\_ACEOF
38805 #define wxUSE_STATLINE 1
38811 if test "$wxUSE_STATUSBAR" = "yes"; then
38812 cat >>confdefs.h
<<\_ACEOF
38813 #define wxUSE_NATIVE_STATUSBAR 1
38816 cat >>confdefs.h
<<\_ACEOF
38817 #define wxUSE_STATUSBAR 1
38822 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
38825 if test "$wxUSE_TABDIALOG" = "yes"; then
38826 cat >>confdefs.h
<<\_ACEOF
38827 #define wxUSE_TAB_DIALOG 1
38832 if test "$wxUSE_TEXTCTRL" = "yes"; then
38833 cat >>confdefs.h
<<\_ACEOF
38834 #define wxUSE_TEXTCTRL 1
38838 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
38841 if test "$wxUSE_TOGGLEBTN" = "yes"; then
38842 if test "$wxUSE_COCOA" = 1 ; then
38843 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
38844 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
38847 if test "$wxUSE_PM" = 1; then
38848 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
38849 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
38853 if test "$wxUSE_UNIVERSAL" = "yes"; then
38854 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
38855 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
38859 if test "$wxUSE_TOGGLEBTN" = "yes"; then
38860 cat >>confdefs.h
<<\_ACEOF
38861 #define wxUSE_TOGGLEBTN 1
38868 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
38869 cat >>confdefs.h
<<\_ACEOF
38870 #define wxUSE_TOOLBAR_SIMPLE 1
38873 wxUSE_TOOLBAR
="yes"
38877 if test "$wxUSE_TOOLBAR" = "yes"; then
38878 cat >>confdefs.h
<<\_ACEOF
38879 #define wxUSE_TOOLBAR 1
38884 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
38885 wxUSE_TOOLBAR_NATIVE
="yes"
38888 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
38889 cat >>confdefs.h
<<\_ACEOF
38890 #define wxUSE_TOOLBAR_NATIVE 1
38896 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
38899 if test "$wxUSE_TOOLTIPS" = "yes"; then
38900 if test "$wxUSE_MOTIF" = 1; then
38901 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
38902 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
38904 if test "$wxUSE_UNIVERSAL" = "yes"; then
38905 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
38906 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
38908 cat >>confdefs.h
<<\_ACEOF
38909 #define wxUSE_TOOLTIPS 1
38916 if test "$wxUSE_TREECTRL" = "yes"; then
38917 if test "$wxUSE_IMAGLIST" = "yes"; then
38918 cat >>confdefs.h
<<\_ACEOF
38919 #define wxUSE_TREECTRL 1
38923 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
38925 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
38926 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
38930 if test "$wxUSE_POPUPWIN" = "yes"; then
38931 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
38932 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
38933 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
38935 if test "$wxUSE_PM" = 1; then
38936 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
38937 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
38939 cat >>confdefs.h
<<\_ACEOF
38940 #define wxUSE_POPUPWIN 1
38943 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
38950 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
38951 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
38952 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
38953 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
38955 cat >>confdefs.h
<<\_ACEOF
38956 #define wxUSE_DIALUP_MANAGER 1
38959 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
38963 if test "$wxUSE_TIPWINDOW" = "yes"; then
38964 if test "$wxUSE_PM" = 1; then
38965 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
38966 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
38968 cat >>confdefs.h
<<\_ACEOF
38969 #define wxUSE_TIPWINDOW 1
38975 if test "$USES_CONTROLS" = 1; then
38976 cat >>confdefs.h
<<\_ACEOF
38977 #define wxUSE_CONTROLS 1
38983 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
38984 cat >>confdefs.h
<<\_ACEOF
38985 #define wxUSE_ACCESSIBILITY 1
38988 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
38991 if test "$wxUSE_DRAGIMAGE" = "yes"; then
38992 cat >>confdefs.h
<<\_ACEOF
38993 #define wxUSE_DRAGIMAGE 1
38996 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
38999 if test "$wxUSE_EXCEPTIONS" = "yes"; then
39000 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39001 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
39002 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
39004 cat >>confdefs.h
<<\_ACEOF
39005 #define wxUSE_EXCEPTIONS 1
39008 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
39013 if test "$wxUSE_HTML" = "yes"; then
39014 cat >>confdefs.h
<<\_ACEOF
39015 #define wxUSE_HTML 1
39019 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
39020 if test "$wxUSE_MAC" = 1; then
39021 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
39024 if test "$wxUSE_WEBKIT" = "yes"; then
39025 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
39026 old_CPPFLAGS
="$CPPFLAGS"
39027 CPPFLAGS
="$CPPFLAGS -x objective-c++"
39028 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
39029 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
39030 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
39031 echo $ECHO_N "(cached) $ECHO_C" >&6
39033 cat >conftest.
$ac_ext <<_ACEOF
39036 cat confdefs.h
>>conftest.
$ac_ext
39037 cat >>conftest.
$ac_ext <<_ACEOF
39038 /* end confdefs.h. */
39039 #include <Carbon/Carbon.h>
39041 #include <WebKit/HIWebView.h>
39043 rm -f conftest.
$ac_objext
39044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39045 (eval $ac_compile) 2>conftest.er1
39047 grep -v '^ *+' conftest.er1
>conftest.err
39049 cat conftest.err
>&5
39050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39051 (exit $ac_status); } &&
39052 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39054 (eval $ac_try) 2>&5
39056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39057 (exit $ac_status); }; } &&
39058 { ac_try
='test -s conftest.$ac_objext'
39059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39060 (eval $ac_try) 2>&5
39062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39063 (exit $ac_status); }; }; then
39064 ac_cv_header_WebKit_HIWebView_h
=yes
39066 echo "$as_me: failed program was:" >&5
39067 sed 's/^/| /' conftest.
$ac_ext >&5
39069 ac_cv_header_WebKit_HIWebView_h
=no
39071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39073 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
39074 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
39075 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
39077 cat >>confdefs.h
<<\_ACEOF
39078 #define wxUSE_WEBKIT 1
39081 WEBKIT_LINK
="-framework WebKit"
39085 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
39086 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
39092 CPPFLAGS
="$old_CPPFLAGS"
39093 elif test "$wxUSE_COCOA" = 1; then
39094 cat >>confdefs.h
<<\_ACEOF
39095 #define wxUSE_WEBKIT 1
39104 if test "$wxUSE_XRC" = "yes"; then
39105 if test "$wxUSE_XML" != "yes"; then
39106 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
39107 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
39110 cat >>confdefs.h
<<\_ACEOF
39111 #define wxUSE_XRC 1
39115 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
39119 if test "$wxUSE_MENUS" = "yes"; then
39120 cat >>confdefs.h
<<\_ACEOF
39121 #define wxUSE_MENUS 1
39124 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
39127 if test "$wxUSE_METAFILE" = "yes"; then
39128 cat >>confdefs.h
<<\_ACEOF
39129 #define wxUSE_METAFILE 1
39134 if test "$wxUSE_MIMETYPE" = "yes"; then
39135 cat >>confdefs.h
<<\_ACEOF
39136 #define wxUSE_MIMETYPE 1
39141 if test "$wxUSE_MINIFRAME" = "yes"; then
39142 cat >>confdefs.h
<<\_ACEOF
39143 #define wxUSE_MINIFRAME 1
39146 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
39149 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
39150 cat >>confdefs.h
<<\_ACEOF
39151 #define wxUSE_SYSTEM_OPTIONS 1
39154 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
39155 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
39156 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
39161 if test "$wxUSE_VALIDATORS" = "yes"; then
39162 cat >>confdefs.h
<<\_ACEOF
39163 #define wxUSE_VALIDATORS 1
39166 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
39169 if test "$wxUSE_PALETTE" = "yes" ; then
39170 cat >>confdefs.h
<<\_ACEOF
39171 #define wxUSE_PALETTE 1
39176 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
39177 LIBS
=" -lunicows $LIBS"
39181 if test "$wxUSE_IMAGE" = "yes" ; then
39182 cat >>confdefs.h
<<\_ACEOF
39183 #define wxUSE_IMAGE 1
39187 if test "$wxUSE_GIF" = "yes" ; then
39188 cat >>confdefs.h
<<\_ACEOF
39189 #define wxUSE_GIF 1
39194 if test "$wxUSE_PCX" = "yes" ; then
39195 cat >>confdefs.h
<<\_ACEOF
39196 #define wxUSE_PCX 1
39201 if test "$wxUSE_IFF" = "yes" ; then
39202 cat >>confdefs.h
<<\_ACEOF
39203 #define wxUSE_IFF 1
39208 if test "$wxUSE_PNM" = "yes" ; then
39209 cat >>confdefs.h
<<\_ACEOF
39210 #define wxUSE_PNM 1
39215 if test "$wxUSE_XPM" = "yes" ; then
39216 cat >>confdefs.h
<<\_ACEOF
39217 #define wxUSE_XPM 1
39222 if test "$wxUSE_ICO_CUR" = "yes" ; then
39223 cat >>confdefs.h
<<\_ACEOF
39224 #define wxUSE_ICO_CUR 1
39231 if test "$wxUSE_CHOICEDLG" = "yes"; then
39232 cat >>confdefs.h
<<\_ACEOF
39233 #define wxUSE_CHOICEDLG 1
39238 if test "$wxUSE_COLOURDLG" = "yes"; then
39239 cat >>confdefs.h
<<\_ACEOF
39240 #define wxUSE_COLOURDLG 1
39245 if test "$wxUSE_FILEDLG" = "yes"; then
39246 cat >>confdefs.h
<<\_ACEOF
39247 #define wxUSE_FILEDLG 1
39252 if test "$wxUSE_FINDREPLDLG" = "yes"; then
39253 cat >>confdefs.h
<<\_ACEOF
39254 #define wxUSE_FINDREPLDLG 1
39259 if test "$wxUSE_FONTDLG" = "yes"; then
39260 cat >>confdefs.h
<<\_ACEOF
39261 #define wxUSE_FONTDLG 1
39266 if test "$wxUSE_DIRDLG" = "yes"; then
39267 if test "$wxUSE_TREECTRL" != "yes"; then
39268 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
39269 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
39271 cat >>confdefs.h
<<\_ACEOF
39272 #define wxUSE_DIRDLG 1
39278 if test "$wxUSE_MSGDLG" = "yes"; then
39279 cat >>confdefs.h
<<\_ACEOF
39280 #define wxUSE_MSGDLG 1
39285 if test "$wxUSE_NUMBERDLG" = "yes"; then
39286 cat >>confdefs.h
<<\_ACEOF
39287 #define wxUSE_NUMBERDLG 1
39292 if test "$wxUSE_PROGRESSDLG" = "yes"; then
39293 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39294 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
39295 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
39297 cat >>confdefs.h
<<\_ACEOF
39298 #define wxUSE_PROGRESSDLG 1
39304 if test "$wxUSE_SPLASH" = "yes"; then
39305 cat >>confdefs.h
<<\_ACEOF
39306 #define wxUSE_SPLASH 1
39309 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
39312 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
39313 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39314 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
39315 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
39317 cat >>confdefs.h
<<\_ACEOF
39318 #define wxUSE_STARTUP_TIPS 1
39324 if test "$wxUSE_TEXTDLG" = "yes"; then
39325 cat >>confdefs.h
<<\_ACEOF
39326 #define wxUSE_TEXTDLG 1
39331 if test "$wxUSE_WIZARDDLG" = "yes"; then
39332 cat >>confdefs.h
<<\_ACEOF
39333 #define wxUSE_WIZARDDLG 1
39336 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
39340 if test "$wxUSE_MEDIACTRL" = "yes"; then
39341 if test "$wxUSE_MSW" = 1; then
39342 wxUSE_DIRECTSHOW
="yes"
39344 for ac_header
in dshow.h
39346 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39347 echo "$as_me:$LINENO: checking for $ac_header" >&5
39348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39350 echo $ECHO_N "(cached) $ECHO_C" >&6
39352 cat >conftest.
$ac_ext <<_ACEOF
39355 cat confdefs.h
>>conftest.
$ac_ext
39356 cat >>conftest.
$ac_ext <<_ACEOF
39357 /* end confdefs.h. */
39358 #include <windows.h>
39360 #include <$ac_header>
39362 rm -f conftest.
$ac_objext
39363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39364 (eval $ac_compile) 2>conftest.er1
39366 grep -v '^ *+' conftest.er1
>conftest.err
39368 cat conftest.err
>&5
39369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39370 (exit $ac_status); } &&
39371 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39373 (eval $ac_try) 2>&5
39375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39376 (exit $ac_status); }; } &&
39377 { ac_try
='test -s conftest.$ac_objext'
39378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39379 (eval $ac_try) 2>&5
39381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39382 (exit $ac_status); }; }; then
39383 eval "$as_ac_Header=yes"
39385 echo "$as_me: failed program was:" >&5
39386 sed 's/^/| /' conftest.
$ac_ext >&5
39388 eval "$as_ac_Header=no"
39390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39394 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39395 cat >>confdefs.h
<<_ACEOF
39396 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39401 wxUSE_DIRECTSHOW
="no"
39402 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
39403 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
39410 if test "$wxUSE_DIRECTSHOW" = "yes"; then
39411 cat >>confdefs.h
<<\_ACEOF
39412 #define wxUSE_DIRECTSHOW 1
39415 LIBS
="$LIBS -lstrmiids"
39419 if test "$wxUSE_GTK" = 1; then
39420 wxUSE_GSTREAMER
="yes"
39425 if test -z "$PKG_CONFIG"; then
39426 # Extract the first word of "pkg-config", so it can be a program name with args.
39427 set dummy pkg
-config; ac_word
=$2
39428 echo "$as_me:$LINENO: checking for $ac_word" >&5
39429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39430 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
39431 echo $ECHO_N "(cached) $ECHO_C" >&6
39433 case $PKG_CONFIG in
39435 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
39438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39439 for as_dir
in $PATH
39442 test -z "$as_dir" && as_dir
=.
39443 for ac_exec_ext
in '' $ac_executable_extensions; do
39444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39445 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
39446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39452 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
39456 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
39458 if test -n "$PKG_CONFIG"; then
39459 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39460 echo "${ECHO_T}$PKG_CONFIG" >&6
39462 echo "$as_me:$LINENO: result: no" >&5
39463 echo "${ECHO_T}no" >&6
39468 if test "$PKG_CONFIG" = "no" ; then
39469 echo "*** The pkg-config script could not be found. Make sure it is"
39470 echo "*** in your path, or set the PKG_CONFIG environment variable"
39471 echo "*** to the full path to pkg-config."
39472 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39474 PKG_CONFIG_MIN_VERSION
=0.9.0
39475 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39476 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
39477 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
39479 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
39480 echo "$as_me:$LINENO: result: yes" >&5
39481 echo "${ECHO_T}yes" >&6
39484 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
39485 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
39486 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
39487 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
39488 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
39490 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
39491 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
39492 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
39493 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
39494 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
39496 GSTREAMER_CFLAGS
=""
39498 ## If we have a custom action on failure, don't print errors, but
39499 ## do set a variable so people can do so.
39500 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
39507 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39508 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39512 if test $succeeded = yes; then
39514 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
39515 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
39519 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
39520 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
39521 wxUSE_GSTREAMER
="no"
39529 if test "x$GST_INSPECT" == "x"; then
39530 # Extract the first word of "gst-inspect", so it can be a program name with args.
39531 set dummy gst
-inspect; ac_word
=$2
39532 echo "$as_me:$LINENO: checking for $ac_word" >&5
39533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39534 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
39535 echo $ECHO_N "(cached) $ECHO_C" >&6
39537 if test -n "$GST_INSPECT"; then
39538 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
39540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39541 for as_dir
in $PATH
39544 test -z "$as_dir" && as_dir
=.
39545 for ac_exec_ext
in '' $ac_executable_extensions; do
39546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39547 ac_cv_prog_GST_INSPECT
="gst-inspect"
39548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39556 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
39557 if test -n "$GST_INSPECT"; then
39558 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
39559 echo "${ECHO_T}$GST_INSPECT" >&6
39561 echo "$as_me:$LINENO: result: no" >&5
39562 echo "${ECHO_T}no" >&6
39567 if test "x$GST_INSPECT" != "x"; then
39568 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
39569 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
39570 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
39571 echo "$as_me:$LINENO: result: found." >&5
39572 echo "${ECHO_T}found." >&6
39575 echo "$as_me:$LINENO: result: not found." >&5
39576 echo "${ECHO_T}not found." >&6
39578 wxUSE_GSTREAMER
="no"
39579 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
39580 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
39586 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
39587 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
39588 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
39589 echo $ECHO_N "(cached) $ECHO_C" >&6
39591 cat >conftest.
$ac_ext <<_ACEOF
39594 cat confdefs.h
>>conftest.
$ac_ext
39595 cat >>conftest.
$ac_ext <<_ACEOF
39596 /* end confdefs.h. */
39597 #include <gst/gst.h>
39599 #include <gst/xoverlay/xoverlay.h>
39601 rm -f conftest.
$ac_objext
39602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39603 (eval $ac_compile) 2>conftest.er1
39605 grep -v '^ *+' conftest.er1
>conftest.err
39607 cat conftest.err
>&5
39608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39609 (exit $ac_status); } &&
39610 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39612 (eval $ac_try) 2>&5
39614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39615 (exit $ac_status); }; } &&
39616 { ac_try
='test -s conftest.$ac_objext'
39617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39618 (eval $ac_try) 2>&5
39620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39621 (exit $ac_status); }; }; then
39622 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
39624 echo "$as_me: failed program was:" >&5
39625 sed 's/^/| /' conftest.
$ac_ext >&5
39627 ac_cv_header_gst_xoverlay_xoverlay_h
=no
39629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39631 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
39632 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
39633 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
39637 wxUSE_GSTREAMER
="no"
39638 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
39639 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
39645 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
39646 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
39649 for ac_dir
in $SEARCH_LIB /usr
/lib
;
39651 for ac_extension
in a so sl dylib
; do
39652 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
39653 ac_find_libraries
=$ac_dir
39660 if test "$ac_find_libraries" = "" ; then
39661 echo "$as_me:$LINENO: result: no" >&5
39662 echo "${ECHO_T}no" >&6
39663 wxUSE_GSTREAMER
="no"
39665 echo "$as_me:$LINENO: result: yes" >&5
39666 echo "${ECHO_T}yes" >&6
39669 if test "$wxUSE_GSTREAMER" = "yes"; then
39670 cat >>confdefs.h
<<\_ACEOF
39671 #define wxUSE_GSTREAMER 1
39674 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
39675 echo "${ECHO_T}GStreamer detection successful" >&6
39678 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
39679 cat >>confdefs.h
<<\_ACEOF
39680 #define wxUSE_MEDIACTRL 1
39686 if test "$cross_compiling" = "yes"; then
39689 OSINFO
=`uname -s -r -m`
39690 OSINFO
="\"$OSINFO\""
39693 cat >>confdefs.h
<<_ACEOF
39694 #define WXWIN_OS_DESCRIPTION $OSINFO
39699 if test "x$prefix" != "xNONE"; then
39702 wxPREFIX
=$ac_default_prefix
39705 cat >>confdefs.h
<<_ACEOF
39706 #define wxINSTALL_PREFIX "$wxPREFIX"
39712 CORE_BASE_LIBS
="net base"
39713 CORE_GUI_LIBS
="adv core"
39715 if test "$wxUSE_XML" = "yes" ; then
39716 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
39718 if test "$wxUSE_ODBC" != "no" ; then
39719 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
39720 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
39722 if test "$wxUSE_HTML" = "yes" ; then
39723 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
39725 if test "$wxUSE_XRC" = "yes" ; then
39726 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
39729 if test "$wxUSE_GUI" != "yes"; then
39740 if test "$wxUSE_MAC" = 1 ; then
39741 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
39742 if test "$USE_DARWIN" = 1; then
39743 LDFLAGS
="$LDFLAGS -framework QuickTime"
39745 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
39748 if test "$USE_DARWIN" = 1; then
39749 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
39751 LDFLAGS
="$LDFLAGS -lCarbonLib"
39754 if test "$wxUSE_COCOA" = 1 ; then
39755 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
39756 if test "$wxUSE_MEDIACTRL" = "yes"; then
39757 LDFLAGS
="$LDFLAGS -framework QuickTime"
39762 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
39769 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39770 echo "$as_me:$LINENO: checking for $ac_func" >&5
39771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39772 if eval "test \"\${$as_ac_var+set}\" = set"; then
39773 echo $ECHO_N "(cached) $ECHO_C" >&6
39775 cat >conftest.
$ac_ext <<_ACEOF
39778 cat confdefs.h
>>conftest.
$ac_ext
39779 cat >>conftest.
$ac_ext <<_ACEOF
39780 /* end confdefs.h. */
39781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39783 #define $ac_func innocuous_$ac_func
39785 /* System header to define __stub macros and hopefully few prototypes,
39786 which can conflict with char $ac_func (); below.
39787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39788 <limits.h> exists even on freestanding compilers. */
39791 # include <limits.h>
39793 # include <assert.h>
39798 /* Override any gcc2 internal prototype to avoid an error. */
39803 /* We use char because int might match the return type of a gcc2
39804 builtin and then its argument prototype would still apply. */
39806 /* The GNU C library defines this for functions which it implements
39807 to always fail with ENOSYS. Some functions are actually named
39808 something starting with __ and the normal name is an alias. */
39809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39812 char (*f) () = $ac_func;
39821 return f != $ac_func;
39826 rm -f conftest.
$ac_objext conftest
$ac_exeext
39827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39828 (eval $ac_link) 2>conftest.er1
39830 grep -v '^ *+' conftest.er1
>conftest.err
39832 cat conftest.err
>&5
39833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39834 (exit $ac_status); } &&
39835 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39837 (eval $ac_try) 2>&5
39839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39840 (exit $ac_status); }; } &&
39841 { ac_try
='test -s conftest$ac_exeext'
39842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39843 (eval $ac_try) 2>&5
39845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39846 (exit $ac_status); }; }; then
39847 eval "$as_ac_var=yes"
39849 echo "$as_me: failed program was:" >&5
39850 sed 's/^/| /' conftest.
$ac_ext >&5
39852 eval "$as_ac_var=no"
39854 rm -f conftest.err conftest.
$ac_objext \
39855 conftest
$ac_exeext conftest.
$ac_ext
39857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39859 if test `eval echo '${'$as_ac_var'}'` = yes; then
39860 cat >>confdefs.h
<<_ACEOF
39861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39868 for ac_func
in floor
39870 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39871 echo "$as_me:$LINENO: checking for $ac_func" >&5
39872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39873 if eval "test \"\${$as_ac_var+set}\" = set"; then
39874 echo $ECHO_N "(cached) $ECHO_C" >&6
39876 cat >conftest.
$ac_ext <<_ACEOF
39879 cat confdefs.h
>>conftest.
$ac_ext
39880 cat >>conftest.
$ac_ext <<_ACEOF
39881 /* end confdefs.h. */
39882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39884 #define $ac_func innocuous_$ac_func
39886 /* System header to define __stub macros and hopefully few prototypes,
39887 which can conflict with char $ac_func (); below.
39888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39889 <limits.h> exists even on freestanding compilers. */
39892 # include <limits.h>
39894 # include <assert.h>
39899 /* Override any gcc2 internal prototype to avoid an error. */
39904 /* We use char because int might match the return type of a gcc2
39905 builtin and then its argument prototype would still apply. */
39907 /* The GNU C library defines this for functions which it implements
39908 to always fail with ENOSYS. Some functions are actually named
39909 something starting with __ and the normal name is an alias. */
39910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39913 char (*f) () = $ac_func;
39922 return f != $ac_func;
39927 rm -f conftest.
$ac_objext conftest
$ac_exeext
39928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39929 (eval $ac_link) 2>conftest.er1
39931 grep -v '^ *+' conftest.er1
>conftest.err
39933 cat conftest.err
>&5
39934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39935 (exit $ac_status); } &&
39936 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39938 (eval $ac_try) 2>&5
39940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39941 (exit $ac_status); }; } &&
39942 { ac_try
='test -s conftest$ac_exeext'
39943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39944 (eval $ac_try) 2>&5
39946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39947 (exit $ac_status); }; }; then
39948 eval "$as_ac_var=yes"
39950 echo "$as_me: failed program was:" >&5
39951 sed 's/^/| /' conftest.
$ac_ext >&5
39953 eval "$as_ac_var=no"
39955 rm -f conftest.err conftest.
$ac_objext \
39956 conftest
$ac_exeext conftest.
$ac_ext
39958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39960 if test `eval echo '${'$as_ac_var'}'` = yes; then
39961 cat >>confdefs.h
<<_ACEOF
39962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39968 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
39969 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
39970 if test "$have_cos" = 1 -a "$have_floor" = 1; then
39971 echo "$as_me:$LINENO: result: yes" >&5
39972 echo "${ECHO_T}yes" >&6
39974 echo "$as_me:$LINENO: result: no" >&5
39975 echo "${ECHO_T}no" >&6
39977 # use different functions to avoid configure caching
39983 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39984 echo "$as_me:$LINENO: checking for $ac_func" >&5
39985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39986 if eval "test \"\${$as_ac_var+set}\" = set"; then
39987 echo $ECHO_N "(cached) $ECHO_C" >&6
39989 cat >conftest.
$ac_ext <<_ACEOF
39992 cat confdefs.h
>>conftest.
$ac_ext
39993 cat >>conftest.
$ac_ext <<_ACEOF
39994 /* end confdefs.h. */
39995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39997 #define $ac_func innocuous_$ac_func
39999 /* System header to define __stub macros and hopefully few prototypes,
40000 which can conflict with char $ac_func (); below.
40001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40002 <limits.h> exists even on freestanding compilers. */
40005 # include <limits.h>
40007 # include <assert.h>
40012 /* Override any gcc2 internal prototype to avoid an error. */
40017 /* We use char because int might match the return type of a gcc2
40018 builtin and then its argument prototype would still apply. */
40020 /* The GNU C library defines this for functions which it implements
40021 to always fail with ENOSYS. Some functions are actually named
40022 something starting with __ and the normal name is an alias. */
40023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40026 char (*f) () = $ac_func;
40035 return f != $ac_func;
40040 rm -f conftest.
$ac_objext conftest
$ac_exeext
40041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40042 (eval $ac_link) 2>conftest.er1
40044 grep -v '^ *+' conftest.er1
>conftest.err
40046 cat conftest.err
>&5
40047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40048 (exit $ac_status); } &&
40049 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40051 (eval $ac_try) 2>&5
40053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40054 (exit $ac_status); }; } &&
40055 { ac_try
='test -s conftest$ac_exeext'
40056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40057 (eval $ac_try) 2>&5
40059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40060 (exit $ac_status); }; }; then
40061 eval "$as_ac_var=yes"
40063 echo "$as_me: failed program was:" >&5
40064 sed 's/^/| /' conftest.
$ac_ext >&5
40066 eval "$as_ac_var=no"
40068 rm -f conftest.err conftest.
$ac_objext \
40069 conftest
$ac_exeext conftest.
$ac_ext
40071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40073 if test `eval echo '${'$as_ac_var'}'` = yes; then
40074 cat >>confdefs.h
<<_ACEOF
40075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40082 for ac_func
in ceil
40084 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40085 echo "$as_me:$LINENO: checking for $ac_func" >&5
40086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40087 if eval "test \"\${$as_ac_var+set}\" = set"; then
40088 echo $ECHO_N "(cached) $ECHO_C" >&6
40090 cat >conftest.
$ac_ext <<_ACEOF
40093 cat confdefs.h
>>conftest.
$ac_ext
40094 cat >>conftest.
$ac_ext <<_ACEOF
40095 /* end confdefs.h. */
40096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40098 #define $ac_func innocuous_$ac_func
40100 /* System header to define __stub macros and hopefully few prototypes,
40101 which can conflict with char $ac_func (); below.
40102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40103 <limits.h> exists even on freestanding compilers. */
40106 # include <limits.h>
40108 # include <assert.h>
40113 /* Override any gcc2 internal prototype to avoid an error. */
40118 /* We use char because int might match the return type of a gcc2
40119 builtin and then its argument prototype would still apply. */
40121 /* The GNU C library defines this for functions which it implements
40122 to always fail with ENOSYS. Some functions are actually named
40123 something starting with __ and the normal name is an alias. */
40124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40127 char (*f) () = $ac_func;
40136 return f != $ac_func;
40141 rm -f conftest.
$ac_objext conftest
$ac_exeext
40142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40143 (eval $ac_link) 2>conftest.er1
40145 grep -v '^ *+' conftest.er1
>conftest.err
40147 cat conftest.err
>&5
40148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40149 (exit $ac_status); } &&
40150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40152 (eval $ac_try) 2>&5
40154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40155 (exit $ac_status); }; } &&
40156 { ac_try
='test -s conftest$ac_exeext'
40157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40158 (eval $ac_try) 2>&5
40160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40161 (exit $ac_status); }; }; then
40162 eval "$as_ac_var=yes"
40164 echo "$as_me: failed program was:" >&5
40165 sed 's/^/| /' conftest.
$ac_ext >&5
40167 eval "$as_ac_var=no"
40169 rm -f conftest.err conftest.
$ac_objext \
40170 conftest
$ac_exeext conftest.
$ac_ext
40172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40174 if test `eval echo '${'$as_ac_var'}'` = yes; then
40175 cat >>confdefs.h
<<_ACEOF
40176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40182 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
40183 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
40184 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
40185 echo "$as_me:$LINENO: result: yes" >&5
40186 echo "${ECHO_T}yes" >&6
40188 echo "$as_me:$LINENO: result: no" >&5
40189 echo "${ECHO_T}no" >&6
40190 # not sure we should warn the user, crash, etc.
40194 if test "$wxUSE_GUI" = "yes"; then
40197 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
40198 dynamic erase event exec font image minimal mobile \
40199 mobile/wxedit mobile/styles propsize render \
40200 richedit rotate shaped vscroll widgets"
40202 if test "$wxUSE_MONOLITHIC" != "yes"; then
40203 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
40205 if test "$TOOLKIT" = "MSW"; then
40206 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
40207 if test "$wxUSE_UNIVERSAL" != "yes"; then
40208 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
40211 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
40212 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
40215 SAMPLES_SUBDIRS
="console"
40219 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
40220 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
40222 if test "$GXX" = yes ; then
40224 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
40227 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
40229 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
40230 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
40231 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
40233 if test "x$MWCC" = "xyes"; then
40235 CC
="$CC -cwd source -I-"
40236 CXX
="$CXX -cwd source -I-"
40241 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
40242 EXTRALIBS_XML
="$EXPAT_LINK"
40243 EXTRALIBS_HTML
="$MSPACK_LINK"
40244 EXTRALIBS_ODBC
="$ODBC_LINK"
40245 if test "$wxUSE_GUI" = "yes"; then
40246 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
40248 if test "$wxUSE_OPENGL" = "yes"; then
40249 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
40252 LDFLAGS
="$LDFLAGS $PROFILE"
40254 if test "$wxUSE_GTK" = 1; then
40257 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
40260 WXCONFIG_EXTRALIBS
="$LIBS"
40262 if test "$wxUSE_REGEX" = "builtin" ; then
40263 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
40265 if test "$wxUSE_EXPAT" = "builtin" ; then
40266 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
40268 if test "$wxUSE_ODBC" = "builtin" ; then
40269 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
40271 if test "$wxUSE_LIBTIFF" = "builtin" ; then
40272 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
40274 if test "$wxUSE_LIBJPEG" = "builtin" ; then
40275 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
40277 if test "$wxUSE_LIBPNG" = "builtin" ; then
40278 wxconfig_3rdparty
="$wxconfig_3rdparty png"
40280 if test "$wxUSE_ZLIB" = "builtin" ; then
40281 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
40283 if test "$wxUSE_ODBC" = "builtin" ; then
40284 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
40287 for i
in $wxconfig_3rdparty ; do
40288 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
40292 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
40306 if test $wxUSE_MONOLITHIC = "yes" ; then
40312 if test $wxUSE_PLUGINS = "yes" ; then
40318 if test $wxUSE_ODBC != "no" ; then
40324 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
40352 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
40363 TOOLKIT_USER
="GTK+"
40364 if test "$WXGTK20" = 1; then
40365 TOOLKIT_USER
="$TOOLKIT_USER 2"
40370 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
40377 if test "x$BAKEFILE_HOST" = "x"; then
40378 BAKEFILE_HOST
="${host}"
40381 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
40383 if test -n "$ac_tool_prefix"; then
40384 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
40385 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
40386 echo "$as_me:$LINENO: checking for $ac_word" >&5
40387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40388 if test "${ac_cv_prog_RANLIB+set}" = set; then
40389 echo $ECHO_N "(cached) $ECHO_C" >&6
40391 if test -n "$RANLIB"; then
40392 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
40394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40395 for as_dir
in $PATH
40398 test -z "$as_dir" && as_dir
=.
40399 for ac_exec_ext
in '' $ac_executable_extensions; do
40400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40401 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
40402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40410 RANLIB
=$ac_cv_prog_RANLIB
40411 if test -n "$RANLIB"; then
40412 echo "$as_me:$LINENO: result: $RANLIB" >&5
40413 echo "${ECHO_T}$RANLIB" >&6
40415 echo "$as_me:$LINENO: result: no" >&5
40416 echo "${ECHO_T}no" >&6
40420 if test -z "$ac_cv_prog_RANLIB"; then
40421 ac_ct_RANLIB
=$RANLIB
40422 # Extract the first word of "ranlib", so it can be a program name with args.
40423 set dummy ranlib
; ac_word
=$2
40424 echo "$as_me:$LINENO: checking for $ac_word" >&5
40425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40426 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
40427 echo $ECHO_N "(cached) $ECHO_C" >&6
40429 if test -n "$ac_ct_RANLIB"; then
40430 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
40432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40433 for as_dir
in $PATH
40436 test -z "$as_dir" && as_dir
=.
40437 for ac_exec_ext
in '' $ac_executable_extensions; do
40438 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40439 ac_cv_prog_ac_ct_RANLIB
="ranlib"
40440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40446 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
40449 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
40450 if test -n "$ac_ct_RANLIB"; then
40451 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
40452 echo "${ECHO_T}$ac_ct_RANLIB" >&6
40454 echo "$as_me:$LINENO: result: no" >&5
40455 echo "${ECHO_T}no" >&6
40458 RANLIB
=$ac_ct_RANLIB
40460 RANLIB
="$ac_cv_prog_RANLIB"
40463 # Find a good install program. We prefer a C program (faster),
40464 # so one script is as good as another. But avoid the broken or
40465 # incompatible versions:
40466 # SysV /etc/install, /usr/sbin/install
40467 # SunOS /usr/etc/install
40468 # IRIX /sbin/install
40470 # AmigaOS /C/install, which installs bootblocks on floppy discs
40471 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
40472 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
40473 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
40474 # OS/2's system install, which has a completely different semantic
40475 # ./install, which can be erroneously created by make from ./install.sh.
40476 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
40477 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
40478 if test -z "$INSTALL"; then
40479 if test "${ac_cv_path_install+set}" = set; then
40480 echo $ECHO_N "(cached) $ECHO_C" >&6
40482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40483 for as_dir
in $PATH
40486 test -z "$as_dir" && as_dir
=.
40487 # Account for people who put trailing slashes in PATH elements.
40489 .
/ | .
// | /cC
/* | \
40490 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
40491 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
40494 # OSF1 and SCO ODT 3.0 have their own names for install.
40495 # Don't use installbsd from OSF since it installs stuff as root
40497 for ac_prog
in ginstall scoinst
install; do
40498 for ac_exec_ext
in '' $ac_executable_extensions; do
40499 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
40500 if test $ac_prog = install &&
40501 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
40502 # AIX install. It has an incompatible calling convention.
40504 elif test $ac_prog = install &&
40505 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
40506 # program-specific install script used by HP pwplus--don't use.
40509 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
40521 if test "${ac_cv_path_install+set}" = set; then
40522 INSTALL
=$ac_cv_path_install
40524 # As a last resort, use the slow shell script. We don't cache a
40525 # path for INSTALL within a source directory, because that will
40526 # break other packages using the cache if that directory is
40527 # removed, or if the path is relative.
40528 INSTALL
=$ac_install_sh
40531 echo "$as_me:$LINENO: result: $INSTALL" >&5
40532 echo "${ECHO_T}$INSTALL" >&6
40534 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
40535 # It thinks the first close brace ends the variable substitution.
40536 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
40538 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
40540 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
40542 echo "$as_me:$LINENO: checking whether ln -s works" >&5
40543 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
40545 if test "$LN_S" = "ln -s"; then
40546 echo "$as_me:$LINENO: result: yes" >&5
40547 echo "${ECHO_T}yes" >&6
40549 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
40550 echo "${ECHO_T}no, using $LN_S" >&6
40554 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40555 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
40556 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
40557 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
40558 echo $ECHO_N "(cached) $ECHO_C" >&6
40560 cat >conftest.
make <<\_ACEOF
40562 @
echo 'ac_maketemp="$(MAKE)"'
40564 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40565 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
40566 if test -n "$ac_maketemp"; then
40567 eval ac_cv_prog_make_
${ac_make}_set
=yes
40569 eval ac_cv_prog_make_
${ac_make}_set
=no
40571 rm -f conftest.
make
40573 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
40574 echo "$as_me:$LINENO: result: yes" >&5
40575 echo "${ECHO_T}yes" >&6
40578 echo "$as_me:$LINENO: result: no" >&5
40579 echo "${ECHO_T}no" >&6
40580 SET_MAKE
="MAKE=${MAKE-make}"
40585 if test -n "$ac_tool_prefix"; then
40586 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
40587 set dummy
${ac_tool_prefix}ar; ac_word
=$2
40588 echo "$as_me:$LINENO: checking for $ac_word" >&5
40589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40590 if test "${ac_cv_prog_AR+set}" = set; then
40591 echo $ECHO_N "(cached) $ECHO_C" >&6
40593 if test -n "$AR"; then
40594 ac_cv_prog_AR
="$AR" # Let the user override the test.
40596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40597 for as_dir
in $PATH
40600 test -z "$as_dir" && as_dir
=.
40601 for ac_exec_ext
in '' $ac_executable_extensions; do
40602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40603 ac_cv_prog_AR
="${ac_tool_prefix}ar"
40604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40613 if test -n "$AR"; then
40614 echo "$as_me:$LINENO: result: $AR" >&5
40615 echo "${ECHO_T}$AR" >&6
40617 echo "$as_me:$LINENO: result: no" >&5
40618 echo "${ECHO_T}no" >&6
40622 if test -z "$ac_cv_prog_AR"; then
40624 # Extract the first word of "ar", so it can be a program name with args.
40625 set dummy
ar; ac_word
=$2
40626 echo "$as_me:$LINENO: checking for $ac_word" >&5
40627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40628 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
40629 echo $ECHO_N "(cached) $ECHO_C" >&6
40631 if test -n "$ac_ct_AR"; then
40632 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
40634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40635 for as_dir
in $PATH
40638 test -z "$as_dir" && as_dir
=.
40639 for ac_exec_ext
in '' $ac_executable_extensions; do
40640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40641 ac_cv_prog_ac_ct_AR
="ar"
40642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40648 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
40651 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
40652 if test -n "$ac_ct_AR"; then
40653 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
40654 echo "${ECHO_T}$ac_ct_AR" >&6
40656 echo "$as_me:$LINENO: result: no" >&5
40657 echo "${ECHO_T}no" >&6
40662 AR
="$ac_cv_prog_AR"
40665 if test -n "$ac_tool_prefix"; then
40666 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
40667 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
40668 echo "$as_me:$LINENO: checking for $ac_word" >&5
40669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40670 if test "${ac_cv_prog_STRIP+set}" = set; then
40671 echo $ECHO_N "(cached) $ECHO_C" >&6
40673 if test -n "$STRIP"; then
40674 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
40676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40677 for as_dir
in $PATH
40680 test -z "$as_dir" && as_dir
=.
40681 for ac_exec_ext
in '' $ac_executable_extensions; do
40682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40683 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
40684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40692 STRIP
=$ac_cv_prog_STRIP
40693 if test -n "$STRIP"; then
40694 echo "$as_me:$LINENO: result: $STRIP" >&5
40695 echo "${ECHO_T}$STRIP" >&6
40697 echo "$as_me:$LINENO: result: no" >&5
40698 echo "${ECHO_T}no" >&6
40702 if test -z "$ac_cv_prog_STRIP"; then
40704 # Extract the first word of "strip", so it can be a program name with args.
40705 set dummy strip
; ac_word
=$2
40706 echo "$as_me:$LINENO: checking for $ac_word" >&5
40707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40708 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
40709 echo $ECHO_N "(cached) $ECHO_C" >&6
40711 if test -n "$ac_ct_STRIP"; then
40712 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
40714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40715 for as_dir
in $PATH
40718 test -z "$as_dir" && as_dir
=.
40719 for ac_exec_ext
in '' $ac_executable_extensions; do
40720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40721 ac_cv_prog_ac_ct_STRIP
="strip"
40722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40728 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
40731 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
40732 if test -n "$ac_ct_STRIP"; then
40733 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
40734 echo "${ECHO_T}$ac_ct_STRIP" >&6
40736 echo "$as_me:$LINENO: result: no" >&5
40737 echo "${ECHO_T}no" >&6
40742 STRIP
="$ac_cv_prog_STRIP"
40745 if test -n "$ac_tool_prefix"; then
40746 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
40747 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
40748 echo "$as_me:$LINENO: checking for $ac_word" >&5
40749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40750 if test "${ac_cv_prog_NM+set}" = set; then
40751 echo $ECHO_N "(cached) $ECHO_C" >&6
40753 if test -n "$NM"; then
40754 ac_cv_prog_NM
="$NM" # Let the user override the test.
40756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40757 for as_dir
in $PATH
40760 test -z "$as_dir" && as_dir
=.
40761 for ac_exec_ext
in '' $ac_executable_extensions; do
40762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40763 ac_cv_prog_NM
="${ac_tool_prefix}nm"
40764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40773 if test -n "$NM"; then
40774 echo "$as_me:$LINENO: result: $NM" >&5
40775 echo "${ECHO_T}$NM" >&6
40777 echo "$as_me:$LINENO: result: no" >&5
40778 echo "${ECHO_T}no" >&6
40782 if test -z "$ac_cv_prog_NM"; then
40784 # Extract the first word of "nm", so it can be a program name with args.
40785 set dummy nm
; ac_word
=$2
40786 echo "$as_me:$LINENO: checking for $ac_word" >&5
40787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40788 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
40789 echo $ECHO_N "(cached) $ECHO_C" >&6
40791 if test -n "$ac_ct_NM"; then
40792 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
40794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40795 for as_dir
in $PATH
40798 test -z "$as_dir" && as_dir
=.
40799 for ac_exec_ext
in '' $ac_executable_extensions; do
40800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40801 ac_cv_prog_ac_ct_NM
="nm"
40802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40808 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
40811 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
40812 if test -n "$ac_ct_NM"; then
40813 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
40814 echo "${ECHO_T}$ac_ct_NM" >&6
40816 echo "$as_me:$LINENO: result: no" >&5
40817 echo "${ECHO_T}no" >&6
40822 NM
="$ac_cv_prog_NM"
40826 case ${BAKEFILE_HOST} in
40828 INSTALL_DIR
="mkdir -p"
40830 *) INSTALL_DIR
="$INSTALL -d"
40836 case ${BAKEFILE_HOST} in
40837 *-*-cygwin* | *-*-mingw32* )
40838 LDFLAGS_GUI
="-mwindows"
40844 echo "$as_me:$LINENO: checking if make is GNU make" >&5
40845 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
40846 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
40847 echo $ECHO_N "(cached) $ECHO_C" >&6
40850 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
40851 egrep -s GNU
> /dev
/null
); then
40852 bakefile_cv_prog_makeisgnu
="yes"
40854 bakefile_cv_prog_makeisgnu
="no"
40858 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
40859 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
40861 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
40878 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
40879 case "${BAKEFILE_HOST}" in
40880 *-*-cygwin* | *-*-mingw32* )
40886 *-pc-os2_emx | *-pc-os2-emx )
40889 powerpc
-*-darwin* )
40896 powerpc
-apple-macos* )
40905 case "$BAKEFILE_FORCE_PLATFORM" in
40926 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
40927 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
40928 { (exit 1); exit 1; }; }
40943 # Check whether --enable-omf or --disable-omf was given.
40944 if test "${enable_omf+set}" = set; then
40945 enableval
="$enable_omf"
40946 bk_os2_use_omf
="$enableval"
40949 case "${BAKEFILE_HOST}" in
40951 CFLAGS
="$CFLAGS -fno-common"
40952 CXXFLAGS
="$CXXFLAGS -fno-common"
40955 *-pc-os2_emx | *-pc-os2-emx )
40956 if test "x$bk_os2_use_omf" = "xyes" ; then
40959 LDFLAGS
="-Zomf $LDFLAGS"
40960 CFLAGS
="-Zomf $CFLAGS"
40961 CXXFLAGS
="-Zomf $CXXFLAGS"
40969 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
40975 SO_SUFFIX_MODULE
="so"
40980 DLLPREFIX_MODULE
=""
40983 case "${BAKEFILE_HOST}" in
40986 SO_SUFFIX_MODULE
="sl"
40990 SO_SUFFIX_MODULE
="a"
40992 *-*-cygwin* | *-*-mingw32* )
40994 SO_SUFFIX_MODULE
="dll"
40995 DLLIMP_SUFFIX
="dll.a"
41003 *-pc-os2_emx | *-pc-os2-emx )
41005 SO_SUFFIX_MODULE
="dll"
41006 DLLIMP_SUFFIX
=$OS2_LIBEXT
41010 LIBEXT
=".$OS2_LIBEXT"
41012 powerpc
-*-darwin* )
41014 SO_SUFFIX_MODULE
="bundle"
41018 if test "x$DLLIMP_SUFFIX" = "x" ; then
41019 DLLIMP_SUFFIX
="$SO_SUFFIX"
41033 if test "x$GCC" = "xyes"; then
41037 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
41038 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
41040 case "${BAKEFILE_HOST}" in
41042 if test "x$GCC" != "xyes"; then
41043 LDFLAGS
="$LDFLAGS -L/usr/lib"
41045 SHARED_LD_CC
="${CC} -b -o"
41046 SHARED_LD_CXX
="${CXX} -b -o"
41052 if test "x$GCC" != "xyes"; then
41053 echo "$as_me:$LINENO: checking for Intel compiler" >&5
41054 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
41055 if test "${bakefile_cv_prog_icc+set}" = set; then
41056 echo $ECHO_N "(cached) $ECHO_C" >&6
41059 cat >conftest.
$ac_ext <<_ACEOF
41062 cat confdefs.h
>>conftest.
$ac_ext
41063 cat >>conftest.
$ac_ext <<_ACEOF
41064 /* end confdefs.h. */
41070 #ifndef __INTEL_COMPILER
41078 rm -f conftest.
$ac_objext
41079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41080 (eval $ac_compile) 2>conftest.er1
41082 grep -v '^ *+' conftest.er1
>conftest.err
41084 cat conftest.err
>&5
41085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41086 (exit $ac_status); } &&
41087 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41089 (eval $ac_try) 2>&5
41091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41092 (exit $ac_status); }; } &&
41093 { ac_try
='test -s conftest.$ac_objext'
41094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41095 (eval $ac_try) 2>&5
41097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41098 (exit $ac_status); }; }; then
41099 bakefile_cv_prog_icc
=yes
41101 echo "$as_me: failed program was:" >&5
41102 sed 's/^/| /' conftest.
$ac_ext >&5
41104 bakefile_cv_prog_icc
=no
41107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41110 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
41111 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
41112 if test "$bakefile_cv_prog_icc" = "yes"; then
41119 if test "x$GCC" != xyes
; then
41120 SHARED_LD_CC
="${CC} -G -o"
41121 SHARED_LD_CXX
="${CXX} -G -o"
41128 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
41129 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
41130 if test "${wx_cv_gcc31+set}" = set; then
41131 echo $ECHO_N "(cached) $ECHO_C" >&6
41134 cat >conftest.
$ac_ext <<_ACEOF
41137 cat confdefs.h
>>conftest.
$ac_ext
41138 cat >>conftest.
$ac_ext <<_ACEOF
41139 /* end confdefs.h. */
41145 #if (__GNUC__ < 3) || \
41146 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
41154 rm -f conftest.
$ac_objext
41155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41156 (eval $ac_compile) 2>conftest.er1
41158 grep -v '^ *+' conftest.er1
>conftest.err
41160 cat conftest.err
>&5
41161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41162 (exit $ac_status); } &&
41163 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41165 (eval $ac_try) 2>&5
41167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41168 (exit $ac_status); }; } &&
41169 { ac_try
='test -s conftest.$ac_objext'
41170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41171 (eval $ac_try) 2>&5
41173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41174 (exit $ac_status); }; }; then
41179 echo "$as_me: failed program was:" >&5
41180 sed 's/^/| /' conftest.
$ac_ext >&5
41187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41190 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
41191 echo "${ECHO_T}$wx_cv_gcc31" >&6
41192 if test "$wx_cv_gcc31" = "no"; then
41195 cat <<EOF >shared-ld-sh
41197 #-----------------------------------------------------------------------------
41198 #-- Name: distrib/mac/shared-ld-sh
41199 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
41200 #-- Author: Gilles Depeyrot
41201 #-- Copyright: (c) 2002 Gilles Depeyrot
41202 #-- Licence: any use permitted
41203 #-----------------------------------------------------------------------------
41208 linking_flag="-dynamiclib"
41210 while test ${D}# -gt 0; do
41217 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
41218 # collect these options and values
41219 args="${D}{args} ${D}1 ${D}2"
41223 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
41224 # collect these options
41225 args="${D}{args} ${D}1"
41228 -dynamiclib|-bundle)
41229 linking_flag="${D}1"
41233 echo "shared-ld: unhandled option '${D}1'"
41237 *.o | *.a | *.dylib)
41238 # collect object files
41239 objects="${D}{objects} ${D}1"
41243 echo "shared-ld: unhandled argument '${D}1'"
41252 # Link one module containing all the others
41254 if test ${D}{verbose} = 1; then
41255 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
41257 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
41259 if test ${D}{status} != 0; then
41264 # Link the shared library from the single module created
41266 if test ${D}{verbose} = 1; then
41267 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
41269 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
41271 if test ${D}{status} != 0; then
41276 # Remove intermediate module
41278 rm -f master.${D}${D}.o
41283 chmod +x shared
-ld-sh
41285 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
41286 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
41287 SHARED_LD_CXX
="$SHARED_LD_CC"
41288 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
41290 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
41291 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
41292 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
41293 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
41296 PIC_FLAG
="-dynamic -fPIC"
41300 if test "x$GCC" != "xyes"; then
41301 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
41302 set dummy makeC
++SharedLib
; ac_word
=$2
41303 echo "$as_me:$LINENO: checking for $ac_word" >&5
41304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41305 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
41306 echo $ECHO_N "(cached) $ECHO_C" >&6
41308 if test -n "$AIX_CXX_LD"; then
41309 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
41311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41312 for as_dir
in $PATH
41315 test -z "$as_dir" && as_dir
=.
41316 for ac_exec_ext
in '' $ac_executable_extensions; do
41317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41318 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
41319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41325 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
41328 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
41329 if test -n "$AIX_CXX_LD"; then
41330 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
41331 echo "${ECHO_T}$AIX_CXX_LD" >&6
41333 echo "$as_me:$LINENO: result: no" >&5
41334 echo "${ECHO_T}no" >&6
41337 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
41338 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
41343 SHARED_LD_CC
="${LD} -nostart -o"
41344 SHARED_LD_CXX
="${LD} -nostart -o"
41348 if test "x$GCC" != "xyes"; then
41353 *-*-cygwin* | *-*-mingw32* )
41355 SHARED_LD_CC
="\$(CC) -shared -o"
41356 SHARED_LD_CXX
="\$(CXX) -shared -o"
41359 *-pc-os2_emx | *-pc-os2-emx )
41360 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41361 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41365 cat <<EOF >dllar.sh
41368 # dllar - a tool to build both a .dll and an .a file
41369 # from a set of object (.o) files for EMX/OS2.
41371 # Written by Andrew Zabolotny, bit@freya.etu.ru
41372 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
41374 # This script will accept a set of files on the command line.
41375 # All the public symbols from the .o files will be exported into
41376 # a .DEF file, then linker will be run (through gcc) against them to
41377 # build a shared library consisting of all given .o files. All libraries
41378 # (.a) will be first decompressed into component .o files then act as
41379 # described above. You can optionally give a description (-d "description")
41380 # which will be put into .DLL. To see the list of accepted options (as well
41381 # as command-line format) simply run this program without options. The .DLL
41382 # is built to be imported by name (there is no guarantee that new versions
41383 # of the library you build will have same ordinals for same symbols).
41385 # dllar is free software; you can redistribute it and/or modify
41386 # it under the terms of the GNU General Public License as published by
41387 # the Free Software Foundation; either version 2, or (at your option)
41388 # any later version.
41390 # dllar is distributed in the hope that it will be useful,
41391 # but WITHOUT ANY WARRANTY; without even the implied warranty of
41392 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41393 # GNU General Public License for more details.
41395 # You should have received a copy of the GNU General Public License
41396 # along with dllar; see the file COPYING. If not, write to the Free
41397 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
41400 # To successfuly run this program you will need:
41401 # - Current drive should have LFN support (HPFS, ext2, network, etc)
41402 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
41404 # (used to build the .dll)
41406 # (used to create .def file from .o files)
41408 # (used to create .a file from .def file)
41409 # - GNU text utilites (cat, sort, uniq)
41410 # used to process emxexp output
41411 # - GNU file utilities (mv, rm)
41413 # - lxlite (optional, see flag below)
41414 # (used for general .dll cleanup)
41421 # basnam, variant of basename, which does _not_ remove the path, _iff_
41422 # second argument (suffix to remove) is given
41426 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
41429 echo ${D}1 | sed 's/'${D}2'${D}//'
41432 echo "error in basnam ${D}*"
41438 # Cleanup temporary files and output
41441 for i in ${D}inputFiles ; do
41444 rm -rf \`basnam ${D}i !\`
41451 # Kill result in case of failure as there is just to many stupid make/nmake
41452 # things out there which doesn't do this.
41453 if [ ${D}# -eq 0 ]; then
41454 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
41458 # Print usage and exit script with rc=1.
41460 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
41461 echo ' [-name-mangler-script script.sh]'
41462 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
41463 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
41464 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
41465 echo ' [*.o] [*.a]'
41466 echo '*> "output_file" should have no extension.'
41467 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
41468 echo ' The import library name is derived from this and is set to "name".a,'
41469 echo ' unless overridden by -import'
41470 echo '*> "importlib_name" should have no extension.'
41471 echo ' If it has the .o, or .a extension, it is automatically removed.'
41472 echo ' This name is used as the import library name and may be longer and'
41473 echo ' more descriptive than the DLL name which has to follow the old '
41474 echo ' 8.3 convention of FAT.'
41475 echo '*> "script.sh may be given to override the output_file name by a'
41476 echo ' different name. It is mainly useful if the regular make process'
41477 echo ' of some package does not take into account OS/2 restriction of'
41478 echo ' DLL name lengths. It takes the importlib name as input and is'
41479 echo ' supposed to procude a shorter name as output. The script should'
41480 echo ' expect to get importlib_name without extension and should produce'
41481 echo ' a (max.) 8 letter name without extension.'
41482 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
41483 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
41484 echo ' These flags will be put at the start of GCC command line.'
41485 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
41486 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
41487 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
41488 echo ' If the last character of a symbol is "*", all symbols beginning'
41489 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
41490 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
41491 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
41492 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
41493 echo ' C runtime DLLs.'
41494 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
41495 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
41496 echo ' unchanged to GCC at the end of command line.'
41497 echo '*> If you create a DLL from a library and you do not specify -o,'
41498 echo ' the basename for DLL and import library will be set to library name,'
41499 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
41500 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
41501 echo ' library will be renamed into gcc_s.a.'
41504 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
41505 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
41510 # Execute a command.
41511 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
41512 # @Uses Whatever CleanUp() uses.
41518 if [ ${D}rcCmd -ne 0 ]; then
41519 echo "command failed, exit code="${D}rcCmd
41534 CFLAGS="-s -Zcrtdll"
41536 EXPORT_BY_ORDINALS=0
41541 case ${D}curDirS in
41545 curDirS=${D}{curDirS}"/"
41548 # Parse commandline
41551 while [ ${D}1 ]; do
41554 EXPORT_BY_ORDINALS=1;
41564 -name-mangler-script)
41585 exclude_symbols=${D}{exclude_symbols}${D}1" "
41589 library_flags=${D}{library_flags}${D}1" "
41608 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
41611 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
41612 if [ ${D}omfLinking -eq 1 ]; then
41613 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
41615 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
41620 if [ ${D}libsToLink -ne 0 ]; then
41621 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
41623 for file in ${D}1 ; do
41624 if [ -f ${D}file ]; then
41625 inputFiles="${D}{inputFiles} ${D}file"
41629 if [ ${D}found -eq 0 ]; then
41630 echo "ERROR: No file(s) found: "${D}1
41637 done # iterate cmdline words
41640 if [ -z "${D}inputFiles" ]; then
41641 echo "dllar: no input files"
41645 # Now extract all .o files from .a files
41647 for file in ${D}inputFiles ; do
41658 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
41663 dirname=\`basnam ${D}file ${D}suffix\`"_%"
41665 if [ ${D}? -ne 0 ]; then
41666 echo "Failed to create subdirectory ./${D}dirname"
41670 # Append '!' to indicate archive
41671 newInputFiles="${D}newInputFiles ${D}{dirname}!"
41672 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
41675 for subfile in ${D}dirname/*.o* ; do
41676 if [ -f ${D}subfile ]; then
41678 if [ -s ${D}subfile ]; then
41679 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
41680 newInputFiles="${D}newInputFiles ${D}subfile"
41684 if [ ${D}found -eq 0 ]; then
41685 echo "WARNING: there are no files in archive \\'${D}file\\'"
41689 newInputFiles="${D}{newInputFiles} ${D}file"
41693 inputFiles="${D}newInputFiles"
41695 # Output filename(s).
41697 if [ -z ${D}outFile ]; then
41699 set outFile ${D}inputFiles; outFile=${D}2
41702 # If it is an archive, remove the '!' and the '_%' suffixes
41703 case ${D}outFile in
41705 outFile=\`basnam ${D}outFile _%!\`
41710 case ${D}outFile in
41712 outFile=\`basnam ${D}outFile .dll\`
41715 outFile=\`basnam ${D}outFile .DLL\`
41718 outFile=\`basnam ${D}outFile .o\`
41721 outFile=\`basnam ${D}outFile .obj\`
41724 outFile=\`basnam ${D}outFile .a\`
41727 outFile=\`basnam ${D}outFile .lib\`
41732 case ${D}outimpFile in
41734 outimpFile=\`basnam ${D}outimpFile .a\`
41737 outimpFile=\`basnam ${D}outimpFile .lib\`
41742 if [ -z ${D}outimpFile ]; then
41743 outimpFile=${D}outFile
41745 defFile="${D}{outFile}.def"
41746 arcFile="${D}{outimpFile}.a"
41747 arcFile2="${D}{outimpFile}.lib"
41749 #create ${D}dllFile as something matching 8.3 restrictions,
41750 if [ -z ${D}renameScript ] ; then
41751 dllFile="${D}outFile"
41753 dllFile=\`${D}renameScript ${D}outimpFile\`
41756 if [ ${D}do_backup -ne 0 ] ; then
41757 if [ -f ${D}arcFile ] ; then
41758 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
41760 if [ -f ${D}arcFile2 ] ; then
41761 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
41765 # Extract public symbols from all the object files.
41766 tmpdefFile=${D}{defFile}_%
41767 rm -f ${D}tmpdefFile
41768 for file in ${D}inputFiles ; do
41773 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
41778 # Create the def file.
41780 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
41781 dllFile="${D}{dllFile}.dll"
41782 if [ ! -z ${D}description ]; then
41783 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
41785 echo "EXPORTS" >> ${D}defFile
41787 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
41788 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
41790 # Checks if the export is ok or not.
41791 for word in ${D}exclude_symbols; do
41792 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
41793 mv ${D}{tmpdefFile}% ${D}tmpdefFile
41797 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
41798 sed "=" < ${D}tmpdefFile | \\
41802 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
41804 ' > ${D}{tmpdefFile}%
41805 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
41807 rm -f ${D}{tmpdefFile}%
41809 cat ${D}tmpdefFile >> ${D}defFile
41810 rm -f ${D}tmpdefFile
41812 # Do linking, create implib, and apply lxlite.
41814 for file in ${D}inputFiles ; do
41819 gccCmdl="${D}gccCmdl ${D}file"
41823 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
41824 touch "${D}{outFile}.dll"
41826 doCommand "emximp -o ${D}arcFile ${D}defFile"
41827 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
41829 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
41832 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
41834 doCommand "emxomf -s -l ${D}arcFile"
41844 powerpc
-apple-macos* | \
41845 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
41853 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
41854 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
41855 { (exit 1); exit 1; }; }
41858 if test "x$PIC_FLAG" != "x" ; then
41859 PIC_FLAG
="$PIC_FLAG -DPIC"
41862 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
41863 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
41865 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
41866 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
41883 case "${BAKEFILE_HOST}" in
41884 *-*-linux* | *-*-freebsd* )
41885 SONAME_FLAG
="-Wl,-soname,"
41913 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
41914 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
41917 if test "x$GCC" = "xyes"; then
41920 case "${BAKEFILE_HOST}" in
41921 powerpc
-*-darwin* )
41922 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
41925 DEPSFLAG_GCC
="-MMD"
41928 echo "$as_me:$LINENO: result: gcc" >&5
41929 echo "${ECHO_T}gcc" >&6
41930 elif test "x$MWCC" = "xyes"; then
41933 DEPSFLAG_MWCC
="-MM"
41934 echo "$as_me:$LINENO: result: mwcc" >&5
41935 echo "${ECHO_T}mwcc" >&6
41937 echo "$as_me:$LINENO: result: none" >&5
41938 echo "${ECHO_T}none" >&6
41941 if test $DEPS_TRACKING = 1 ; then
41947 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
41948 # script. It is used to track C/C++ files dependencies in portable way.
41950 # Permission is given to use this file in any way.
41952 DEPSMODE=${DEPSMODE}
41954 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
41955 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
41957 mkdir -p ${D}DEPSDIR
41959 if test ${D}DEPSMODE = gcc ; then
41960 ${D}* ${D}{DEPSFLAG_GCC}
41962 if test ${D}{status} != 0 ; then
41965 # move created file to the location we want it in:
41966 while test ${D}# -gt 0; do
41980 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
41981 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
41982 if test -f ${D}depfile ; then
41983 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
41986 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
41987 if test -f ${D}depfile ; then
41988 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
41993 elif test ${D}DEPSMODE = mwcc ; then
41996 if test ${D}{status} != 0 ; then
41999 # Run mwcc again with -MM and redirect into the dep file we want
42000 # NOTE: We can't use shift here because we need ${D}* to be valid
42002 for arg in ${D}* ; do
42003 if test "${D}prevarg" = "-o"; then
42016 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
42033 case ${BAKEFILE_HOST} in
42034 *-*-cygwin* | *-*-mingw32* )
42035 if test "$build" != "$host" ; then
42036 RESCOMP
=$host_alias-windres
42038 # Extract the first word of "windres", so it can be a program name with args.
42039 set dummy windres
; ac_word
=$2
42040 echo "$as_me:$LINENO: checking for $ac_word" >&5
42041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42042 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42043 echo $ECHO_N "(cached) $ECHO_C" >&6
42045 if test -n "$RESCOMP"; then
42046 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
42048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42049 for as_dir
in $PATH
42052 test -z "$as_dir" && as_dir
=.
42053 for ac_exec_ext
in '' $ac_executable_extensions; do
42054 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42055 ac_cv_prog_RESCOMP
="windres"
42056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42062 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
42065 RESCOMP
=$ac_cv_prog_RESCOMP
42066 if test -n "$RESCOMP"; then
42067 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42068 echo "${ECHO_T}$RESCOMP" >&6
42070 echo "$as_me:$LINENO: result: no" >&5
42071 echo "${ECHO_T}no" >&6
42077 *-*-darwin* | powerpc
-apple-macos* )
42078 # Extract the first word of "Rez", so it can be a program name with args.
42079 set dummy Rez
; ac_word
=$2
42080 echo "$as_me:$LINENO: checking for $ac_word" >&5
42081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42082 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42083 echo $ECHO_N "(cached) $ECHO_C" >&6
42085 if test -n "$RESCOMP"; then
42086 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
42088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42089 for as_dir
in $PATH
42092 test -z "$as_dir" && as_dir
=.
42093 for ac_exec_ext
in '' $ac_executable_extensions; do
42094 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42095 ac_cv_prog_RESCOMP
="Rez"
42096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42102 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
42105 RESCOMP
=$ac_cv_prog_RESCOMP
42106 if test -n "$RESCOMP"; then
42107 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42108 echo "${ECHO_T}$RESCOMP" >&6
42110 echo "$as_me:$LINENO: result: no" >&5
42111 echo "${ECHO_T}no" >&6
42114 # Extract the first word of "SetFile", so it can be a program name with args.
42115 set dummy SetFile
; ac_word
=$2
42116 echo "$as_me:$LINENO: checking for $ac_word" >&5
42117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42118 if test "${ac_cv_prog_SETFILE+set}" = set; then
42119 echo $ECHO_N "(cached) $ECHO_C" >&6
42121 if test -n "$SETFILE"; then
42122 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
42124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42125 for as_dir
in $PATH
42128 test -z "$as_dir" && as_dir
=.
42129 for ac_exec_ext
in '' $ac_executable_extensions; do
42130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42131 ac_cv_prog_SETFILE
="SetFile"
42132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42138 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
42141 SETFILE
=$ac_cv_prog_SETFILE
42142 if test -n "$SETFILE"; then
42143 echo "$as_me:$LINENO: result: $SETFILE" >&5
42144 echo "${ECHO_T}$SETFILE" >&6
42146 echo "$as_me:$LINENO: result: no" >&5
42147 echo "${ECHO_T}no" >&6
42157 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.7"
42160 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.7"
42164 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
42165 if test "${enable_precomp_headers+set}" = set; then
42166 enableval
="$enable_precomp_headers"
42167 bk_use_pch
="$enableval"
42172 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
42173 if test "x$GCC" = "xyes"; then
42174 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
42175 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
42176 cat >conftest.
$ac_ext <<_ACEOF
42179 cat confdefs.h
>>conftest.
$ac_ext
42180 cat >>conftest.
$ac_ext <<_ACEOF
42181 /* end confdefs.h. */
42187 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
42188 #error "no pch support"
42191 #error "no pch support"
42193 #if (__GNUC__ == 3) && \
42194 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
42195 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
42196 #error "no pch support"
42203 rm -f conftest.
$ac_objext
42204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42205 (eval $ac_compile) 2>conftest.er1
42207 grep -v '^ *+' conftest.er1
>conftest.err
42209 cat conftest.err
>&5
42210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42211 (exit $ac_status); } &&
42212 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42214 (eval $ac_try) 2>&5
42216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42217 (exit $ac_status); }; } &&
42218 { ac_try
='test -s conftest.$ac_objext'
42219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42220 (eval $ac_try) 2>&5
42222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42223 (exit $ac_status); }; }; then
42225 echo "$as_me:$LINENO: result: yes" >&5
42226 echo "${ECHO_T}yes" >&6
42230 echo "$as_me: failed program was:" >&5
42231 sed 's/^/| /' conftest.
$ac_ext >&5
42234 echo "$as_me:$LINENO: result: no" >&5
42235 echo "${ECHO_T}no" >&6
42238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42239 if test $GCC_PCH = 1 ; then
42242 cat <<EOF >bk-make-pch
42245 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42246 # script. It is used to generated precompiled headers.
42248 # Permission is given to use this file in any way.
42257 while test ${D}{#} -gt 0; do
42260 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
42261 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
42262 headerfile="${D}{incdir}/${D}{header}"
42266 compiler="${D}{compiler} ${D}{1}"
42270 if test "x${D}{headerfile}" = "x" ; then
42271 echo "error: can't find header ${D}{header} in include paths" >2
42273 if test -f ${D}{outfile} ; then
42274 rm -f ${D}{outfile}
42276 mkdir -p \`dirname ${D}{outfile}\`
42278 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
42280 # can do this because gcc is >= 3.4:
42281 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
42286 chmod +x bk
-make-pch
42293 COND_BUILD_DEBUG
="#"
42294 if test "x$BUILD" = "xdebug" ; then
42295 COND_BUILD_DEBUG
=""
42298 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
42299 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
42300 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
42303 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
42304 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
42305 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
42308 COND_BUILD_DEBUG_UNICODE_0
="#"
42309 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
42310 COND_BUILD_DEBUG_UNICODE_0
=""
42313 COND_BUILD_DEBUG_UNICODE_1
="#"
42314 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
42315 COND_BUILD_DEBUG_UNICODE_1
=""
42318 COND_BUILD_RELEASE
="#"
42319 if test "x$BUILD" = "xrelease" ; then
42320 COND_BUILD_RELEASE
=""
42323 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
42324 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
42325 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
42328 COND_BUILD_RELEASE_UNICODE_0
="#"
42329 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
42330 COND_BUILD_RELEASE_UNICODE_0
=""
42333 COND_BUILD_RELEASE_UNICODE_1
="#"
42334 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
42335 COND_BUILD_RELEASE_UNICODE_1
=""
42338 COND_DEBUG_FLAG_1
="#"
42339 if test "x$DEBUG_FLAG" = "x1" ; then
42340 COND_DEBUG_FLAG_1
=""
42343 COND_DEBUG_INFO_0
="#"
42344 if test "x$DEBUG_INFO" = "x0" ; then
42345 COND_DEBUG_INFO_0
=""
42348 COND_DEBUG_INFO_1
="#"
42349 if test "x$DEBUG_INFO" = "x1" ; then
42350 COND_DEBUG_INFO_1
=""
42353 COND_DEPS_TRACKING_0
="#"
42354 if test "x$DEPS_TRACKING" = "x0" ; then
42355 COND_DEPS_TRACKING_0
=""
42358 COND_DEPS_TRACKING_1
="#"
42359 if test "x$DEPS_TRACKING" = "x1" ; then
42360 COND_DEPS_TRACKING_1
=""
42364 if test "x$GCC_PCH" = "x1" ; then
42368 COND_MONOLITHIC_0
="#"
42369 if test "x$MONOLITHIC" = "x0" ; then
42370 COND_MONOLITHIC_0
=""
42373 COND_MONOLITHIC_0_SHARED_0
="#"
42374 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
42375 COND_MONOLITHIC_0_SHARED_0
=""
42378 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
42379 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
42380 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
42383 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
42384 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42385 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
42388 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
42389 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42390 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
42393 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
42394 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
42395 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
42398 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
42399 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
42400 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
42403 COND_MONOLITHIC_0_SHARED_1
="#"
42404 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
42405 COND_MONOLITHIC_0_SHARED_1
=""
42408 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
42409 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
42410 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
42413 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
42414 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42415 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
42418 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
42419 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42420 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
42423 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
42424 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
42425 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
42428 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
42429 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
42430 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
42433 COND_MONOLITHIC_0_USE_ODBC_1
="#"
42434 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
42435 COND_MONOLITHIC_0_USE_ODBC_1
=""
42438 COND_MONOLITHIC_1
="#"
42439 if test "x$MONOLITHIC" = "x1" ; then
42440 COND_MONOLITHIC_1
=""
42443 COND_MONOLITHIC_1_SHARED_0
="#"
42444 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
42445 COND_MONOLITHIC_1_SHARED_0
=""
42448 COND_MONOLITHIC_1_SHARED_1
="#"
42449 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
42450 COND_MONOLITHIC_1_SHARED_1
=""
42453 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
42454 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
42455 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
42458 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
42459 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
42460 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
42463 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
42464 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
42465 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
42468 COND_PLATFORM_MACOSX_1
="#"
42469 if test "x$PLATFORM_MACOSX" = "x1" ; then
42470 COND_PLATFORM_MACOSX_1
=""
42473 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
42474 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
42475 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
42478 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
42479 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
42480 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
42483 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
42484 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
42485 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
42488 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
42489 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
42490 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
42493 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
42494 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42495 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
42498 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
42499 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42500 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
42503 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
42504 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
42505 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
42508 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
42509 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
42510 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
42513 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
42514 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
42515 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
42518 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
42519 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
42520 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
42523 COND_PLATFORM_MACOS_1
="#"
42524 if test "x$PLATFORM_MACOS" = "x1" ; then
42525 COND_PLATFORM_MACOS_1
=""
42528 COND_PLATFORM_MAC_1
="#"
42529 if test "x$PLATFORM_MAC" = "x1" ; then
42530 COND_PLATFORM_MAC_1
=""
42533 COND_PLATFORM_OS2_1
="#"
42534 if test "x$PLATFORM_OS2" = "x1" ; then
42535 COND_PLATFORM_OS2_1
=""
42538 COND_PLATFORM_UNIX_0
="#"
42539 if test "x$PLATFORM_UNIX" = "x0" ; then
42540 COND_PLATFORM_UNIX_0
=""
42543 COND_PLATFORM_UNIX_1
="#"
42544 if test "x$PLATFORM_UNIX" = "x1" ; then
42545 COND_PLATFORM_UNIX_1
=""
42548 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
42549 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
42550 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
42553 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
42554 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
42555 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
42558 COND_PLATFORM_WIN32_0
="#"
42559 if test "x$PLATFORM_WIN32" = "x0" ; then
42560 COND_PLATFORM_WIN32_0
=""
42563 COND_PLATFORM_WIN32_1
="#"
42564 if test "x$PLATFORM_WIN32" = "x1" ; then
42565 COND_PLATFORM_WIN32_1
=""
42569 if test "x$SHARED" = "x0" ; then
42573 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
42574 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
42575 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
42578 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
42579 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
42580 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
42583 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
42584 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
42585 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
42588 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
42589 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
42590 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
42593 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
42594 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42595 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
42598 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
42599 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42600 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
42603 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
42604 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42605 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
42608 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
42609 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
42610 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
42613 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
42614 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
42615 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
42618 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
42619 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
42620 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
42623 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
42624 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
42625 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
42629 if test "x$SHARED" = "x1" ; then
42633 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
42634 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
42635 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
42639 if test "x$TOOLKIT" = "x" ; then
42643 COND_TOOLKIT_COCOA
="#"
42644 if test "x$TOOLKIT" = "xCOCOA" ; then
42645 COND_TOOLKIT_COCOA
=""
42648 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
42649 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
42650 COND_TOOLKIT_COCOA_USE_GUI_1
=""
42653 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
42654 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42655 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
42658 COND_TOOLKIT_GTK
="#"
42659 if test "x$TOOLKIT" = "xGTK" ; then
42660 COND_TOOLKIT_GTK
=""
42663 COND_TOOLKIT_GTK_USE_GUI_1
="#"
42664 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
42665 COND_TOOLKIT_GTK_USE_GUI_1
=""
42668 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
42669 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42670 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
42673 COND_TOOLKIT_MAC
="#"
42674 if test "x$TOOLKIT" = "xMAC" ; then
42675 COND_TOOLKIT_MAC
=""
42678 COND_TOOLKIT_MAC_USE_GUI_1
="#"
42679 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42680 COND_TOOLKIT_MAC_USE_GUI_1
=""
42683 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
42684 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42685 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
42688 COND_TOOLKIT_MGL
="#"
42689 if test "x$TOOLKIT" = "xMGL" ; then
42690 COND_TOOLKIT_MGL
=""
42693 COND_TOOLKIT_MGL_USE_GUI_1
="#"
42694 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
42695 COND_TOOLKIT_MGL_USE_GUI_1
=""
42698 COND_TOOLKIT_MOTIF
="#"
42699 if test "x$TOOLKIT" = "xMOTIF" ; then
42700 COND_TOOLKIT_MOTIF
=""
42703 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
42704 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
42705 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
42708 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
42709 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42710 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
42713 COND_TOOLKIT_MSW
="#"
42714 if test "x$TOOLKIT" = "xMSW" ; then
42715 COND_TOOLKIT_MSW
=""
42718 COND_TOOLKIT_MSW_USE_GUI_1
="#"
42719 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
42720 COND_TOOLKIT_MSW_USE_GUI_1
=""
42723 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
42724 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42725 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
42728 COND_TOOLKIT_PM
="#"
42729 if test "x$TOOLKIT" = "xPM" ; then
42733 COND_TOOLKIT_PM_USE_GUI_1
="#"
42734 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
42735 COND_TOOLKIT_PM_USE_GUI_1
=""
42738 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
42739 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42740 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
42743 COND_TOOLKIT_WINCE
="#"
42744 if test "x$TOOLKIT" = "xWINCE" ; then
42745 COND_TOOLKIT_WINCE
=""
42748 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
42749 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
42750 COND_TOOLKIT_WINCE_USE_GUI_1
=""
42753 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
42754 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42755 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
42758 COND_TOOLKIT_X11
="#"
42759 if test "x$TOOLKIT" = "xX11" ; then
42760 COND_TOOLKIT_X11
=""
42763 COND_TOOLKIT_X11_USE_GUI_1
="#"
42764 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
42765 COND_TOOLKIT_X11_USE_GUI_1
=""
42769 if test "x$UNICODE" = "x1" ; then
42773 COND_USE_EXCEPTIONS_0
="#"
42774 if test "x$USE_EXCEPTIONS" = "x0" ; then
42775 COND_USE_EXCEPTIONS_0
=""
42778 COND_USE_EXCEPTIONS_1
="#"
42779 if test "x$USE_EXCEPTIONS" = "x1" ; then
42780 COND_USE_EXCEPTIONS_1
=""
42784 if test "x$USE_GUI" = "x0" ; then
42789 if test "x$USE_GUI" = "x1" ; then
42793 COND_USE_GUI_1_WXUNIV_0
="#"
42794 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42795 COND_USE_GUI_1_WXUNIV_0
=""
42798 COND_USE_GUI_1_WXUNIV_1
="#"
42799 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
42800 COND_USE_GUI_1_WXUNIV_1
=""
42803 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
42804 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42805 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
42808 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
42809 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42810 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
42813 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
42814 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42815 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
42818 COND_USE_ODBC_1
="#"
42819 if test "x$USE_ODBC" = "x1" ; then
42823 COND_USE_OPENGL_1
="#"
42824 if test "x$USE_OPENGL" = "x1" ; then
42825 COND_USE_OPENGL_1
=""
42828 COND_USE_PLUGINS_0
="#"
42829 if test "x$USE_PLUGINS" = "x0" ; then
42830 COND_USE_PLUGINS_0
=""
42833 COND_USE_RTTI_0
="#"
42834 if test "x$USE_RTTI" = "x0" ; then
42838 COND_USE_RTTI_1
="#"
42839 if test "x$USE_RTTI" = "x1" ; then
42843 COND_USE_SOSYMLINKS_1
="#"
42844 if test "x$USE_SOSYMLINKS" = "x1" ; then
42845 COND_USE_SOSYMLINKS_1
=""
42848 COND_USE_SOVERLINUX_1
="#"
42849 if test "x$USE_SOVERLINUX" = "x1" ; then
42850 COND_USE_SOVERLINUX_1
=""
42853 COND_USE_SOVERSION_0
="#"
42854 if test "x$USE_SOVERSION" = "x0" ; then
42855 COND_USE_SOVERSION_0
=""
42858 COND_USE_SOVERSOLARIS_1
="#"
42859 if test "x$USE_SOVERSOLARIS" = "x1" ; then
42860 COND_USE_SOVERSOLARIS_1
=""
42863 COND_USE_THREADS_0
="#"
42864 if test "x$USE_THREADS" = "x0" ; then
42865 COND_USE_THREADS_0
=""
42868 COND_USE_THREADS_1
="#"
42869 if test "x$USE_THREADS" = "x1" ; then
42870 COND_USE_THREADS_1
=""
42874 if test "x$USE_XRC" = "x1" ; then
42878 COND_WITH_PLUGIN_SDL_1
="#"
42879 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
42880 COND_WITH_PLUGIN_SDL_1
=""
42884 if test "x$WXUNIV" = "x0" ; then
42889 if test "x$WXUNIV" = "x1" ; then
42893 COND_WXUSE_EXPAT_BUILTIN
="#"
42894 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
42895 COND_WXUSE_EXPAT_BUILTIN
=""
42898 COND_WXUSE_LIBJPEG_BUILTIN
="#"
42899 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42900 COND_WXUSE_LIBJPEG_BUILTIN
=""
42903 COND_WXUSE_LIBPNG_BUILTIN
="#"
42904 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42905 COND_WXUSE_LIBPNG_BUILTIN
=""
42908 COND_WXUSE_LIBTIFF_BUILTIN
="#"
42909 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42910 COND_WXUSE_LIBTIFF_BUILTIN
=""
42913 COND_WXUSE_ODBC_BUILTIN
="#"
42914 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
42915 COND_WXUSE_ODBC_BUILTIN
=""
42918 COND_WXUSE_REGEX_BUILTIN
="#"
42919 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
42920 COND_WXUSE_REGEX_BUILTIN
=""
42923 COND_WXUSE_ZLIB_BUILTIN
="#"
42924 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
42925 COND_WXUSE_ZLIB_BUILTIN
=""
42930 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
42931 { { 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
42932 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;}
42933 { (exit 1); exit 1; }; }
42937 if test "$wxUSE_SHARED" = "yes"; then
42939 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
42940 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
42943 *-pc-os2_emx | *-pc-os2-emx )
42944 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42945 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42946 cp -p ${srcdir}/src
/os
2/dllnames.sh .
42947 cp -p ${srcdir}/src
/os
2/dllar.sh .
42952 EXE_LINKER
="$CXX -o"
42956 GCC_PRAGMA_FLAGS
=""
42958 if test $GCC_PCH = 1 ; then
42959 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
42960 PCH_FLAGS
="-DWX_PRECOMP"
42963 powerpc
-*-darwin* )
42964 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
42967 if test "$wxUSE_STL" = "yes" -o \
42968 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
42969 "$wxUSE_NO_RTTI" != "yes"; then
42970 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
42971 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
42972 cat >conftest.
$ac_ext <<_ACEOF
42975 cat confdefs.h
>>conftest.
$ac_ext
42976 cat >>conftest.
$ac_ext <<_ACEOF
42977 /* end confdefs.h. */
42982 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
42983 #error "Not GCC 3.2 or greater"
42990 rm -f conftest.
$ac_objext
42991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42992 (eval $ac_compile) 2>conftest.er1
42994 grep -v '^ *+' conftest.er1
>conftest.err
42996 cat conftest.err
>&5
42997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42998 (exit $ac_status); } &&
42999 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43001 (eval $ac_try) 2>&5
43003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43004 (exit $ac_status); }; } &&
43005 { ac_try
='test -s conftest.$ac_objext'
43006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43007 (eval $ac_try) 2>&5
43009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43010 (exit $ac_status); }; }; then
43011 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43012 echo "$as_me:$LINENO: result: yes" >&5
43013 echo "${ECHO_T}yes" >&6
43015 echo "$as_me: failed program was:" >&5
43016 sed 's/^/| /' conftest.
$ac_ext >&5
43018 echo "$as_me:$LINENO: result: no" >&5
43019 echo "${ECHO_T}no" >&6
43021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43024 *-pc-os2_emx | *-pc-os2-emx )
43025 if test "$wxUSE_STL" = "yes"; then
43026 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
43027 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43028 cat >conftest.
$ac_ext <<_ACEOF
43031 cat confdefs.h
>>conftest.
$ac_ext
43032 cat >>conftest.
$ac_ext <<_ACEOF
43033 /* end confdefs.h. */
43038 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43039 #error "Not GCC 3.2 or greater"
43046 rm -f conftest.
$ac_objext
43047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43048 (eval $ac_compile) 2>conftest.er1
43050 grep -v '^ *+' conftest.er1
>conftest.err
43052 cat conftest.err
>&5
43053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43054 (exit $ac_status); } &&
43055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43057 (eval $ac_try) 2>&5
43059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43060 (exit $ac_status); }; } &&
43061 { ac_try
='test -s conftest.$ac_objext'
43062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43063 (eval $ac_try) 2>&5
43065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43066 (exit $ac_status); }; }; then
43067 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43068 echo "$as_me:$LINENO: result: yes" >&5
43069 echo "${ECHO_T}yes" >&6
43071 echo "$as_me: failed program was:" >&5
43072 sed 's/^/| /' conftest.
$ac_ext >&5
43074 echo "$as_me:$LINENO: result: no" >&5
43075 echo "${ECHO_T}no" >&6
43077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43082 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
43085 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
43149 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43150 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43151 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
43152 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43153 echo $ECHO_N "(cached) $ECHO_C" >&6
43155 cat >conftest.
make <<\_ACEOF
43157 @
echo 'ac_maketemp="$(MAKE)"'
43159 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43160 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43161 if test -n "$ac_maketemp"; then
43162 eval ac_cv_prog_make_
${ac_make}_set
=yes
43164 eval ac_cv_prog_make_
${ac_make}_set
=no
43166 rm -f conftest.
make
43168 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43169 echo "$as_me:$LINENO: result: yes" >&5
43170 echo "${ECHO_T}yes" >&6
43173 echo "$as_me:$LINENO: result: no" >&5
43174 echo "${ECHO_T}no" >&6
43175 SET_MAKE
="MAKE=${MAKE-make}"
43180 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
43183 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
43186 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
43189 ac_config_files
="$ac_config_files version-script Makefile"
43192 ac_config_commands
="$ac_config_commands wx-config
43198 if test "$wxUSE_GUI" = "yes"; then
43199 SUBDIRS
="samples demos utils contrib"
43200 else SUBDIRS
="samples utils"
43205 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
43206 if test "${with_cppunit_prefix+set}" = set; then
43207 withval
="$with_cppunit_prefix"
43208 cppunit_config_prefix
="$withval"
43210 cppunit_config_prefix
=""
43213 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
43214 if test "${with_cppunit_exec_prefix+set}" = set; then
43215 withval
="$with_cppunit_exec_prefix"
43216 cppunit_config_exec_prefix
="$withval"
43218 cppunit_config_exec_prefix
=""
43221 if test x
$cppunit_config_exec_prefix != x
; then
43222 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
43223 if test x
${CPPUNIT_CONFIG+set} != xset
; then
43224 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
43227 if test x
$cppunit_config_prefix != x
; then
43228 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
43229 if test x
${CPPUNIT_CONFIG+set} != xset
; then
43230 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
43234 # Extract the first word of "cppunit-config", so it can be a program name with args.
43235 set dummy cppunit
-config; ac_word
=$2
43236 echo "$as_me:$LINENO: checking for $ac_word" >&5
43237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43238 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
43239 echo $ECHO_N "(cached) $ECHO_C" >&6
43241 case $CPPUNIT_CONFIG in
43243 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
43246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43247 for as_dir
in $PATH
43250 test -z "$as_dir" && as_dir
=.
43251 for ac_exec_ext
in '' $ac_executable_extensions; do
43252 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43253 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43260 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
43264 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
43266 if test -n "$CPPUNIT_CONFIG"; then
43267 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
43268 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
43270 echo "$as_me:$LINENO: result: no" >&5
43271 echo "${ECHO_T}no" >&6
43274 cppunit_version_min
=1.8.0
43276 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
43277 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
43279 if test "$CPPUNIT_CONFIG" = "no" ; then
43282 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
43283 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
43284 cppunit_version
=`$CPPUNIT_CONFIG --version`
43286 cppunit_major_version
=`echo $cppunit_version | \
43287 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43288 cppunit_minor_version
=`echo $cppunit_version | \
43289 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43290 cppunit_micro_version
=`echo $cppunit_version | \
43291 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43293 cppunit_major_min
=`echo $cppunit_version_min | \
43294 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43295 cppunit_minor_min
=`echo $cppunit_version_min | \
43296 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43297 cppunit_micro_min
=`echo $cppunit_version_min | \
43298 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43300 cppunit_version_proper
=`expr \
43301 $cppunit_major_version \> $cppunit_major_min \| \
43302 $cppunit_major_version \= $cppunit_major_min \& \
43303 $cppunit_minor_version \> $cppunit_minor_min \| \
43304 $cppunit_major_version \= $cppunit_major_min \& \
43305 $cppunit_minor_version \= $cppunit_minor_min \& \
43306 $cppunit_micro_version \>= $cppunit_micro_min `
43308 if test "$cppunit_version_proper" = "1" ; then
43309 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
43310 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
43312 echo "$as_me:$LINENO: result: no" >&5
43313 echo "${ECHO_T}no" >&6
43318 if test "x$no_cppunit" = x
; then
43319 SUBDIRS
="$SUBDIRS tests"
43330 for subdir
in `echo $SUBDIRS`; do
43331 if test -d ${srcdir}/${subdir} ; then
43332 if test "$wxUSE_GUI" = "yes"; then
43333 if test ${subdir} = "samples"; then
43334 makefiles
="samples/Makefile.in $makefiles"
43335 for sample
in `echo $SAMPLES_SUBDIRS`; do
43336 if test -d $srcdir/samples
/$sample; then
43337 makefiles
="samples/$sample/Makefile.in $makefiles"
43340 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
43342 else if test ${subdir} = "samples"; then
43343 makefiles
="samples/Makefile.in samples/console/Makefile.in"
43344 elif test ${subdir} = "utils"; then
43346 for util
in HelpGen tex2rtf
; do
43347 if test -d $srcdir/utils
/$util ; then
43348 makefiles
="utils/$util/Makefile.in \
43349 utils/$util/src/Makefile.in \
43353 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
43357 for mkin
in $makefiles ; do
43358 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
43359 ac_config_files
="$ac_config_files $mk"
43366 cat >confcache
<<\_ACEOF
43367 # This file is a shell script that caches the results of configure
43368 # tests run on this system so they can be shared between configure
43369 # scripts and configure runs, see configure's option --config-cache.
43370 # It is not useful on other systems. If it contains results you don't
43371 # want to keep, you may remove or edit it.
43373 # config.status only pays attention to the cache file if you give it
43374 # the --recheck option to rerun configure.
43376 # `ac_cv_env_foo' variables (set or unset) will be overridden when
43377 # loading this file, other *unset* `ac_cv_foo' will be assigned the
43378 # following values.
43382 # The following way of writing the cache mishandles newlines in values,
43383 # but we know of no workaround that is simple, portable, and efficient.
43384 # So, don't put newlines in cache variables' values.
43385 # Ultrix sh set writes to stderr and can't be redirected directly,
43386 # and sets the high bit in the cache file unless we assign to the vars.
43389 case `(ac_space=' '; set | grep ac_space) 2>&1` in
43391 # `set' does not quote correctly, so add quotes (double-quote
43392 # substitution turns \\\\ into \\, and sed turns \\ into \).
43395 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
43398 # `set' quotes correctly as required by POSIX, so do not add quotes.
43400 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
43407 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
43409 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
43411 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
43412 if test -w $cache_file; then
43413 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
43414 cat confcache
>$cache_file
43416 echo "not updating unwritable cache $cache_file"
43421 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
43422 # Let make expand exec_prefix.
43423 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
43425 # VPATH may cause trouble with some makes, so we remove $(srcdir),
43426 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
43427 # trailing colons and then remove the whole line if VPATH becomes empty
43428 # (actually we leave an empty line to preserve line numbers).
43429 if test "x$srcdir" = x.
; then
43430 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
43431 s/:*\$(srcdir):*/:/;
43432 s/:*\${srcdir}:*/:/;
43434 s/^\([^=]*=[ ]*\):*/\1/;
43440 DEFS
=-DHAVE_CONFIG_H
43444 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
43445 # 1. Remove the extension, and $U if already installed.
43446 ac_i
=`echo "$ac_i" |
43447 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
43449 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
43450 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
43452 LIBOBJS
=$ac_libobjs
43454 LTLIBOBJS
=$ac_ltlibobjs
43458 : ${CONFIG_STATUS=./config.status}
43459 ac_clean_files_save
=$ac_clean_files
43460 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
43461 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
43462 echo "$as_me: creating $CONFIG_STATUS" >&6;}
43463 cat >$CONFIG_STATUS <<_ACEOF
43465 # Generated by $as_me.
43466 # Run this file to recreate the current configuration.
43467 # Compiler output produced by configure, useful for debugging
43468 # configure, is in config.log if it exists.
43471 ac_cs_recheck=false
43473 SHELL=\${CONFIG_SHELL-$SHELL}
43476 cat >>$CONFIG_STATUS <<\_ACEOF
43477 ## --------------------- ##
43478 ## M4sh Initialization. ##
43479 ## --------------------- ##
43481 # Be Bourne compatible
43482 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
43485 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
43486 # is contrary to our usage. Disable this feature.
43487 alias -g '${1+"$@"}'='"$@"'
43488 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
43491 DUALCASE
=1; export DUALCASE
# for MKS sh
43493 # Support unset when possible.
43494 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
43501 # Work around bugs in pre-3.0 UWIN ksh.
43502 $as_unset ENV MAIL MAILPATH
43509 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43510 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43511 LC_TELEPHONE LC_TIME
43513 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
43514 eval $as_var=C
; export $as_var
43520 # Required to use basename.
43521 if expr a
: '\(a\)' >/dev
/null
2>&1; then
43527 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
43528 as_basename
=basename
43534 # Name of the executable.
43535 as_me
=`$as_basename "$0" ||
43536 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
43537 X"$0" : 'X\(//\)$' \| \
43538 X"$0" : 'X\(/\)$' \| \
43539 . : '\(.\)' 2>/dev/null ||
43541 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
43542 /^X\/\(\/\/\)$/{ s//\1/; q; }
43543 /^X\/\(\/\).*/{ s//\1/; q; }
43547 # PATH needs CR, and LINENO needs CR and PATH.
43548 # Avoid depending upon Character Ranges.
43549 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
43550 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
43551 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
43552 as_cr_digits
='0123456789'
43553 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43555 # The user is always right.
43556 if test "${PATH_SEPARATOR+set}" != set; then
43557 echo "#! /bin/sh" >conf$$.sh
43558 echo "exit 0" >>conf$$.sh
43560 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
43569 as_lineno_1
=$LINENO
43570 as_lineno_2
=$LINENO
43571 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
43572 test "x$as_lineno_1" != "x$as_lineno_2" &&
43573 test "x$as_lineno_3" = "x$as_lineno_2" || {
43574 # Find who we are. Look in the path if we contain no path at all
43577 *[\\/]* ) as_myself
=$0 ;;
43578 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43579 for as_dir
in $PATH
43582 test -z "$as_dir" && as_dir
=.
43583 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
43588 # We did not find ourselves, most probably we were run as `sh COMMAND'
43589 # in which case we are not to be found in the path.
43590 if test "x$as_myself" = x
; then
43593 if test ! -f "$as_myself"; then
43594 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
43595 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
43596 { (exit 1); exit 1; }; }
43598 case $CONFIG_SHELL in
43600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43601 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
43604 test -z "$as_dir" && as_dir
=.
43605 for as_base
in sh bash ksh sh5
; do
43608 if ("$as_dir/$as_base" -c '
43609 as_lineno_1=$LINENO
43610 as_lineno_2=$LINENO
43611 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
43612 test "x$as_lineno_1" != "x$as_lineno_2" &&
43613 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
43614 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
43615 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
43616 CONFIG_SHELL
=$as_dir/$as_base
43617 export CONFIG_SHELL
43618 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
43626 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
43627 # uniformly replaced by the line number. The first 'sed' inserts a
43628 # line-number line before each line; the second 'sed' does the real
43629 # work. The second script uses 'N' to pair each line-number line
43630 # with the numbered line, and appends trailing '-' during
43631 # substitution so that $LINENO is not a special case at line end.
43632 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
43633 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
43634 sed '=' <$as_myself |
43639 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
43642 s,^['$as_cr_digits']*\n,,
43643 ' >$as_me.lineno
&&
43644 chmod +x
$as_me.lineno
||
43645 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
43646 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
43647 { (exit 1); exit 1; }; }
43649 # Don't try to exec as it changes $[0], causing all sort of problems
43650 # (the dirname of $[0] is not the place where we might find the
43651 # original and so on. Autoconf is especially sensible to this).
43653 # Exit status is that of the last command.
43658 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
43659 *c
*,-n*) ECHO_N
= ECHO_C
='
43661 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
43662 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
43665 if expr a
: '\(a\)' >/dev
/null
2>&1; then
43671 rm -f conf$$ conf$$.exe conf$$.
file
43673 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
43674 # We could just check for DJGPP; but this test a) works b) is more generic
43675 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
43676 if test -f conf$$.exe
; then
43677 # Don't use ln at all; we don't have any links
43682 elif ln conf$$.
file conf$$
2>/dev
/null
; then
43687 rm -f conf$$ conf$$.exe conf$$.
file
43689 if mkdir -p .
2>/dev
/null
; then
43692 test -d .
/-p && rmdir .
/-p
43696 as_executable_p
="test -f"
43698 # Sed expression to map a string onto a valid CPP name.
43699 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
43701 # Sed expression to map a string onto a valid variable name.
43702 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
43706 # We need space, tab and new line, in precisely that order.
43716 # Open the log real soon, to keep \$[0] and so on meaningful, and to
43717 # report actual input values of CONFIG_FILES etc. instead of their
43718 # values after options handling. Logging --version etc. is OK.
43722 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
43723 ## Running $as_me. ##
43728 This file was extended by wxWidgets $as_me 2.5.4, which was
43729 generated by GNU Autoconf 2.59. Invocation command line was
43731 CONFIG_FILES = $CONFIG_FILES
43732 CONFIG_HEADERS = $CONFIG_HEADERS
43733 CONFIG_LINKS = $CONFIG_LINKS
43734 CONFIG_COMMANDS = $CONFIG_COMMANDS
43738 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
43742 # Files that config.status was made for.
43743 if test -n "$ac_config_files"; then
43744 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
43747 if test -n "$ac_config_headers"; then
43748 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
43751 if test -n "$ac_config_links"; then
43752 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
43755 if test -n "$ac_config_commands"; then
43756 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
43759 cat >>$CONFIG_STATUS <<\_ACEOF
43762 \`$as_me' instantiates files from templates according to the
43763 current configuration.
43765 Usage: $0 [OPTIONS] [FILE]...
43767 -h, --help print this help, then exit
43768 -V, --version print version number, then exit
43769 -q, --quiet do not print progress messages
43770 -d, --debug don't remove temporary files
43771 --recheck update $as_me by reconfiguring in the same conditions
43772 --file=FILE[:TEMPLATE]
43773 instantiate the configuration file FILE
43774 --header=FILE[:TEMPLATE]
43775 instantiate the configuration header FILE
43777 Configuration files:
43780 Configuration headers:
43783 Configuration commands:
43786 Report bugs to <bug-autoconf@gnu.org>."
43789 cat >>$CONFIG_STATUS <<_ACEOF
43791 wxWidgets config.status 2.5.4
43792 configured by $0, generated by GNU Autoconf 2.59,
43793 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
43795 Copyright (C) 2003 Free Software Foundation, Inc.
43796 This config.status script is free software; the Free Software Foundation
43797 gives unlimited permission to copy, distribute and modify it."
43802 cat >>$CONFIG_STATUS <<\_ACEOF
43803 # If no file are specified by the user, then we need to provide default
43804 # value. By we need to know if files were specified by the user.
43810 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
43811 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
43819 *) # This is not an option, so the user has probably given explicit
43822 ac_need_defaults
=false
;;
43826 # Handling of the options.
43828 cat >>$CONFIG_STATUS <<\_ACEOF
43829 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
43831 --version | --vers* | -V )
43832 echo "$ac_cs_version"; exit 0 ;;
43834 # Conflict between --help and --header
43835 { { echo "$as_me:$LINENO: error: ambiguous option: $1
43836 Try \`$0 --help' for more information." >&5
43837 echo "$as_me: error: ambiguous option: $1
43838 Try \`$0 --help' for more information." >&2;}
43839 { (exit 1); exit 1; }; };;
43840 --help | --hel | -h )
43841 echo "$ac_cs_usage"; exit 0 ;;
43842 --debug | --d* | -d )
43844 --file | --fil | --fi | --f )
43846 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
43847 ac_need_defaults
=false
;;
43848 --header | --heade | --head | --hea )
43850 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
43851 ac_need_defaults
=false
;;
43852 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
43853 | -silent | --silent | --silen | --sile | --sil | --si | --s)
43856 # This is an error.
43857 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
43858 Try \`$0 --help' for more information." >&5
43859 echo "$as_me: error: unrecognized option: $1
43860 Try \`$0 --help' for more information." >&2;}
43861 { (exit 1); exit 1; }; } ;;
43863 *) ac_config_targets
="$ac_config_targets $1" ;;
43869 ac_configure_extra_args
=
43871 if $ac_cs_silent; then
43873 ac_configure_extra_args
="$ac_configure_extra_args --silent"
43877 cat >>$CONFIG_STATUS <<_ACEOF
43878 if \$ac_cs_recheck; then
43879 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
43880 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
43885 cat >>$CONFIG_STATUS <<_ACEOF
43887 # INIT-COMMANDS section.
43890 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
43891 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
43892 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
43900 cat >>$CONFIG_STATUS <<\_ACEOF
43901 for ac_config_target
in $ac_config_targets
43903 case "$ac_config_target" in
43904 # Handling of arguments.
43905 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
43906 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
43907 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
43908 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
43909 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
43910 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
43911 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
43912 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
43913 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
43914 { (exit 1); exit 1; }; };;
43918 # If the user did not use the arguments to specify the items to instantiate,
43919 # then the envvar interface is used. Set only those that are not.
43920 # We use the long form for the default assignment because of an extremely
43921 # bizarre bug on SunOS 4.1.3.
43922 if $ac_need_defaults; then
43923 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
43924 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
43925 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
43928 # Have a temporary directory for convenience. Make it in the build tree
43929 # simply because there is no reason to put it here, and in addition,
43930 # creating and moving files from /tmp can sometimes cause problems.
43931 # Create a temporary directory, and hook for its removal unless debugging.
43934 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
43935 trap '{ (exit 1); exit 1; }' 1 2 13 15
43938 # Create a (secure) tmp directory for tmp files.
43941 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
43942 test -n "$tmp" && test -d "$tmp"
43945 tmp
=.
/confstat$$
-$RANDOM
43946 (umask 077 && mkdir $tmp)
43949 echo "$me: cannot create a temporary directory in ." >&2
43950 { (exit 1); exit 1; }
43955 cat >>$CONFIG_STATUS <<_ACEOF
43958 # CONFIG_FILES section.
43961 # No need to generate the scripts if there are no CONFIG_FILES.
43962 # This happens for instance when ./config.status config.h
43963 if test -n "\$CONFIG_FILES"; then
43964 # Protect against being on the right side of a sed subst in config.status.
43965 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
43966 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
43967 s,@SHELL@,$SHELL,;t t
43968 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
43969 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
43970 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
43971 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
43972 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
43973 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
43974 s,@exec_prefix@,$exec_prefix,;t t
43975 s,@prefix@,$prefix,;t t
43976 s,@program_transform_name@,$program_transform_name,;t t
43977 s,@bindir@,$bindir,;t t
43978 s,@sbindir@,$sbindir,;t t
43979 s,@libexecdir@,$libexecdir,;t t
43980 s,@datadir@,$datadir,;t t
43981 s,@sysconfdir@,$sysconfdir,;t t
43982 s,@sharedstatedir@,$sharedstatedir,;t t
43983 s,@localstatedir@,$localstatedir,;t t
43984 s,@libdir@,$libdir,;t t
43985 s,@includedir@,$includedir,;t t
43986 s,@oldincludedir@,$oldincludedir,;t t
43987 s,@infodir@,$infodir,;t t
43988 s,@mandir@,$mandir,;t t
43989 s,@build_alias@,$build_alias,;t t
43990 s,@host_alias@,$host_alias,;t t
43991 s,@target_alias@,$target_alias,;t t
43992 s,@DEFS@,$DEFS,;t t
43993 s,@ECHO_C@,$ECHO_C,;t t
43994 s,@ECHO_N@,$ECHO_N,;t t
43995 s,@ECHO_T@,$ECHO_T,;t t
43996 s,@LIBS@,$LIBS,;t t
43997 s,@build@,$build,;t t
43998 s,@build_cpu@,$build_cpu,;t t
43999 s,@build_vendor@,$build_vendor,;t t
44000 s,@build_os@,$build_os,;t t
44001 s,@host@,$host,;t t
44002 s,@host_cpu@,$host_cpu,;t t
44003 s,@host_vendor@,$host_vendor,;t t
44004 s,@host_os@,$host_os,;t t
44005 s,@target@,$target,;t t
44006 s,@target_cpu@,$target_cpu,;t t
44007 s,@target_vendor@,$target_vendor,;t t
44008 s,@target_os@,$target_os,;t t
44010 s,@CFLAGS@,$CFLAGS,;t t
44011 s,@LDFLAGS@,$LDFLAGS,;t t
44012 s,@CPPFLAGS@,$CPPFLAGS,;t t
44013 s,@ac_ct_CC@,$ac_ct_CC,;t t
44014 s,@EXEEXT@,$EXEEXT,;t t
44015 s,@OBJEXT@,$OBJEXT,;t t
44017 s,@EGREP@,$EGREP,;t t
44019 s,@CXXFLAGS@,$CXXFLAGS,;t t
44020 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
44021 s,@RANLIB@,$RANLIB,;t t
44022 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
44024 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
44025 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
44026 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
44027 s,@STRIP@,$STRIP,;t t
44028 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
44029 s,@LN_S@,$LN_S,;t t
44030 s,@CXXCPP@,$CXXCPP,;t t
44031 s,@subdirs@,$subdirs,;t t
44032 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
44033 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
44034 s,@GTK_LIBS@,$GTK_LIBS,;t t
44035 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
44036 s,@X_CFLAGS@,$X_CFLAGS,;t t
44037 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
44038 s,@X_LIBS@,$X_LIBS,;t t
44039 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
44040 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
44041 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
44042 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
44043 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
44044 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
44045 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
44046 s,@RESCOMP@,$RESCOMP,;t t
44047 s,@DEREZ@,$DEREZ,;t t
44048 s,@SETFILE@,$SETFILE,;t t
44049 s,@LIBICONV@,$LIBICONV,;t t
44050 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
44051 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
44052 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
44053 s,@SDL_LIBS@,$SDL_LIBS,;t t
44054 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
44055 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
44056 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
44057 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
44058 s,@GST_INSPECT@,$GST_INSPECT,;t t
44059 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
44060 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
44061 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
44062 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
44063 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
44064 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
44065 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
44066 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
44067 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
44068 s,@VENDOR@,$VENDOR,;t t
44069 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
44070 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
44071 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
44072 s,@WXUNIV@,$WXUNIV,;t t
44073 s,@MONOLITHIC@,$MONOLITHIC,;t t
44074 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
44075 s,@EXTRALIBS@,$EXTRALIBS,;t t
44076 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
44077 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
44078 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
44079 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
44080 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
44081 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
44082 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
44083 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
44084 s,@UNICODE@,$UNICODE,;t t
44085 s,@BUILD@,$BUILD,;t t
44086 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
44087 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
44088 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
44089 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
44090 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
44091 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
44092 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
44093 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
44094 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
44095 s,@SET_MAKE@,$SET_MAKE,;t t
44096 s,@MAKE_SET@,$MAKE_SET,;t t
44097 s,@ac_ct_AR@,$ac_ct_AR,;t t
44098 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
44100 s,@ac_ct_NM@,$ac_ct_NM,;t t
44101 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
44102 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
44103 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
44104 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
44105 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
44106 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
44107 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
44108 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
44109 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
44110 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
44111 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
44112 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
44113 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
44114 s,@LIBPREFIX@,$LIBPREFIX,;t t
44115 s,@LIBEXT@,$LIBEXT,;t t
44116 s,@DLLPREFIX@,$DLLPREFIX,;t t
44117 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
44118 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
44119 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
44120 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
44121 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
44122 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
44123 s,@PIC_FLAG@,$PIC_FLAG,;t t
44124 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
44125 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
44126 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
44127 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
44128 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
44129 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
44130 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
44131 s,@GCC_PCH@,$GCC_PCH,;t t
44132 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
44133 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
44134 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
44135 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
44136 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
44137 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
44138 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
44139 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
44140 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
44141 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
44142 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
44143 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
44144 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
44145 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
44146 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
44147 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
44148 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
44149 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
44150 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
44151 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
44152 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
44153 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
44154 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
44155 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
44156 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
44157 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
44158 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
44159 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
44160 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
44161 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
44162 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
44163 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
44164 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
44165 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
44166 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
44167 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
44168 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
44169 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
44170 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
44171 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
44172 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
44173 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
44174 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
44175 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
44176 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
44177 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
44178 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
44179 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
44180 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
44181 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
44182 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
44183 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
44184 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
44185 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
44186 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
44187 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
44188 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
44189 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
44190 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
44191 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
44192 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44193 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44194 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44195 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
44196 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
44197 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
44198 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
44199 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
44200 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
44201 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
44202 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
44203 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
44204 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
44205 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
44206 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
44207 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
44208 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
44209 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
44210 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
44211 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
44212 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
44213 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
44214 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
44215 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
44216 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
44217 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
44218 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
44219 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
44220 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
44221 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
44222 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
44223 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
44224 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
44225 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
44226 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
44227 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
44228 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
44229 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
44230 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
44231 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
44232 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
44233 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
44234 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44235 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44236 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44237 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
44238 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
44239 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
44240 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
44241 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
44242 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
44243 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
44244 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
44245 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
44246 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
44247 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
44248 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
44249 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
44250 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
44251 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
44252 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
44253 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
44254 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
44255 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
44256 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
44257 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
44258 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
44259 s,@SHARED@,$SHARED,;t t
44260 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
44261 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
44262 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
44263 s,@USE_GUI@,$USE_GUI,;t t
44264 s,@AFMINSTALL@,$AFMINSTALL,;t t
44265 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
44266 s,@TOOLKIT@,$TOOLKIT,;t t
44267 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
44268 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
44269 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
44270 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
44271 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
44272 s,@cross_compiling@,$cross_compiling,;t t
44273 s,@WIDGET_SET@,$WIDGET_SET,;t t
44274 s,@WX_RELEASE@,$WX_RELEASE,;t t
44275 s,@WX_VERSION@,$WX_VERSION,;t t
44276 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
44277 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
44278 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
44279 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
44280 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
44281 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
44282 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
44283 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
44284 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
44285 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
44286 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
44287 s,@EXE_LINKER@,$EXE_LINKER,;t t
44288 s,@GUIDIST@,$GUIDIST,;t t
44289 s,@DISTDIR@,$DISTDIR,;t t
44290 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
44291 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
44292 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
44293 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
44294 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
44295 s,@RESFLAGS@,$RESFLAGS,;t t
44296 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
44297 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
44298 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
44299 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
44300 s,@MACRESCOMP@,$MACRESCOMP,;t t
44301 s,@MACSETFILE@,$MACSETFILE,;t t
44302 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
44304 s,@DLLTOOL@,$DLLTOOL,;t t
44305 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
44306 s,@LIBOBJS@,$LIBOBJS,;t t
44307 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
44312 cat >>$CONFIG_STATUS <<\_ACEOF
44313 # Split the substitutions into bite-sized pieces for seds with
44314 # small command number limits, like on Digital OSF/1 and HP-UX.
44315 ac_max_sed_lines
=48
44316 ac_sed_frag
=1 # Number of current file.
44317 ac_beg
=1 # First line for current file.
44318 ac_end
=$ac_max_sed_lines # Line after last line for current file.
44321 while $ac_more_lines; do
44322 if test $ac_beg -gt 1; then
44323 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
44325 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
44327 if test ! -s $tmp/subs.frag
; then
44328 ac_more_lines
=false
44330 # The purpose of the label and of the branching condition is to
44331 # speed up the sed processing (if there are no `@' at all, there
44332 # is no need to browse any of the substitutions).
44333 # These are the two extra sed commands mentioned above.
44335 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
44336 if test -z "$ac_sed_cmds"; then
44337 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
44339 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
44341 ac_sed_frag
=`expr $ac_sed_frag + 1`
44343 ac_end
=`expr $ac_end + $ac_max_sed_lines`
44346 if test -z "$ac_sed_cmds"; then
44349 fi # test -n "$CONFIG_FILES"
44352 cat >>$CONFIG_STATUS <<\_ACEOF
44353 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
44354 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44356 - | *:- | *:-:* ) # input from stdin
44358 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44359 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44360 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44361 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44362 * ) ac_file_in
=$ac_file.
in ;;
44365 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
44366 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
44367 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44368 X"$ac_file" : 'X\(//\)[^/]' \| \
44369 X"$ac_file" : 'X\(//\)$' \| \
44370 X"$ac_file" : 'X\(/\)' \| \
44371 . : '\(.\)' 2>/dev/null ||
44373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44374 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44375 /^X\(\/\/\)$/{ s//\1/; q; }
44376 /^X\(\/\).*/{ s//\1/; q; }
44378 { if $as_mkdir_p; then
44383 while test ! -d "$as_dir"; do
44384 as_dirs
="$as_dir $as_dirs"
44385 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44386 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44387 X"$as_dir" : 'X\(//\)[^/]' \| \
44388 X"$as_dir" : 'X\(//\)$' \| \
44389 X"$as_dir" : 'X\(/\)' \| \
44390 . : '\(.\)' 2>/dev/null ||
44392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44393 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44394 /^X\(\/\/\)$/{ s//\1/; q; }
44395 /^X\(\/\).*/{ s//\1/; q; }
44398 test ! -n "$as_dirs" || mkdir $as_dirs
44399 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44400 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44401 { (exit 1); exit 1; }; }; }
44405 if test "$ac_dir" != .
; then
44406 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44407 # A "../" for each directory in $ac_dir_suffix.
44408 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44410 ac_dir_suffix
= ac_top_builddir
=
44414 .
) # No --srcdir option. We are building in place.
44416 if test -z "$ac_top_builddir"; then
44419 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
44421 [\\/]* | ?
:[\\/]* ) # Absolute path.
44422 ac_srcdir
=$srcdir$ac_dir_suffix;
44423 ac_top_srcdir
=$srcdir ;;
44424 *) # Relative path.
44425 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
44426 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
44429 # Do not use `cd foo && pwd` to compute absolute paths, because
44430 # the directories may not exist.
44432 .
) ac_abs_builddir
="$ac_dir";;
44435 .
) ac_abs_builddir
=`pwd`;;
44436 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
44437 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
44440 case $ac_abs_builddir in
44441 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44443 case ${ac_top_builddir}.
in
44444 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
44445 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44446 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
44449 case $ac_abs_builddir in
44450 .
) ac_abs_srcdir
=$ac_srcdir;;
44453 .
) ac_abs_srcdir
=$ac_abs_builddir;;
44454 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
44455 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
44458 case $ac_abs_builddir in
44459 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
44461 case $ac_top_srcdir in
44462 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
44463 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
44464 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
44470 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
44471 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
44474 # Let's still pretend it is `configure' which instantiates (i.e., don't
44475 # use $as_me), people would be surprised to read:
44476 # /* config.h. Generated by config.status. */
44477 if test x
"$ac_file" = x
-; then
44480 configure_input
="$ac_file. "
44482 configure_input
=$configure_input"Generated from `echo $ac_file_in |
44483 sed 's,.*/,,'` by configure."
44485 # First look for the input files in the build tree, otherwise in the
44487 ac_file_inputs
=`IFS=:
44488 for f in $ac_file_in; do
44490 -) echo $tmp/stdin ;;
44492 # Absolute (can't be DOS-style, as IFS=:)
44493 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44494 echo "$as_me: error: cannot find input file: $f" >&2;}
44495 { (exit 1); exit 1; }; }
44498 if test -f "$f"; then
44501 elif test -f "$srcdir/$f"; then
44506 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44507 echo "$as_me: error: cannot find input file: $f" >&2;}
44508 { (exit 1); exit 1; }; }
44511 done` || { (exit 1); exit 1; }
44513 if test x
"$ac_file" != x
-; then
44514 { echo "$as_me:$LINENO: creating $ac_file" >&5
44515 echo "$as_me: creating $ac_file" >&6;}
44519 cat >>$CONFIG_STATUS <<_ACEOF
44523 cat >>$CONFIG_STATUS <<\_ACEOF
44525 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
44526 s
,@configure_input@
,$configure_input,;t t
44527 s
,@srcdir@
,$ac_srcdir,;t t
44528 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
44529 s
,@top_srcdir@
,$ac_top_srcdir,;t t
44530 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
44531 s
,@builddir@
,$ac_builddir,;t t
44532 s
,@abs_builddir@
,$ac_abs_builddir,;t t
44533 s
,@top_builddir@
,$ac_top_builddir,;t t
44534 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
44535 s
,@INSTALL@
,$ac_INSTALL,;t t
44536 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
44538 if test x"$ac_file" != x-; then
44539 mv $tmp/out $ac_file
44545 # Run the commands associated with the file.
44547 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
44548 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
44552 cat >>$CONFIG_STATUS <<\_ACEOF
44555 # CONFIG_HEADER section.
44558 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
44559 # NAME is the cpp macro being defined and VALUE is the value it is being given.
44561 # ac_d sets the value in "#define NAME VALUE" lines.
44562 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
44563 ac_dB
='[ ].*$,\1#\2'
44566 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
44567 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
44568 ac_uB
='$,\1#\2define\3'
44572 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
44573 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44575 - | *:- | *:-:* ) # input from stdin
44577 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44578 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44579 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44580 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44581 * ) ac_file_in
=$ac_file.
in ;;
44584 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
44585 echo "$as_me: creating $ac_file" >&6;}
44587 # First look for the input files in the build tree, otherwise in the
44589 ac_file_inputs
=`IFS=:
44590 for f in $ac_file_in; do
44592 -) echo $tmp/stdin ;;
44594 # Absolute (can't be DOS-style, as IFS=:)
44595 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44596 echo "$as_me: error: cannot find input file: $f" >&2;}
44597 { (exit 1); exit 1; }; }
44598 # Do quote $f, to prevent DOS paths from being IFS'd.
44601 if test -f "$f"; then
44604 elif test -f "$srcdir/$f"; then
44609 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44610 echo "$as_me: error: cannot find input file: $f" >&2;}
44611 { (exit 1); exit 1; }; }
44614 done` || { (exit 1); exit 1; }
44615 # Remove the trailing spaces.
44616 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
44620 # Transform confdefs.h into two sed scripts, `conftest.defines' and
44621 # `conftest.undefs', that substitutes the proper values into
44622 # config.h.in to produce config.h. The first handles `#define'
44623 # templates, and the second `#undef' templates.
44624 # And first: Protect against being on the right side of a sed subst in
44625 # config.status. Protect against being in an unquoted here document
44626 # in config.status.
44627 rm -f conftest.defines conftest.undefs
44628 # Using a here document instead of a string reduces the quoting nightmare.
44629 # Putting comments in sed scripts is not portable.
44631 # `end' is used to avoid that the second main sed command (meant for
44632 # 0-ary CPP macros) applies to n-ary macro definitions.
44633 # See the Autoconf documentation for `clear'.
44634 cat >confdef2sed.
sed <<\_ACEOF
44639 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
44641 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
44644 # If some macros were called several times there might be several times
44645 # the same #defines, which is useless. Nevertheless, we may not want to
44646 # sort them, since we want the *last* AC-DEFINE to be honored.
44647 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
44648 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
44649 rm -f confdef2sed.sed
44651 # This sed command replaces #undef with comments. This is necessary, for
44652 # example, in the case of _POSIX_SOURCE, which is predefined and required
44653 # on some systems where configure will not decide to define it.
44654 cat >>conftest.undefs <<\_ACEOF
44655 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
44658 # Break up conftest.defines because some shells have a limit on the size
44659 # of here documents, and old seds have small limits too (100 cmds).
44660 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
44661 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
44662 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
44663 echo ' :' >>$CONFIG_STATUS
44664 rm -f conftest.tail
44665 while grep . conftest.defines >/dev/null
44667 # Write a limited-size here document to $tmp/defines.sed.
44668 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
44669 # Speed up: don't consider the non `#define' lines.
44670 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
44671 # Work around the forget-to-reset-the-flag bug.
44672 echo 't clr' >>$CONFIG_STATUS
44673 echo ': clr' >>$CONFIG_STATUS
44674 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
44676 sed -f $tmp/defines.sed $tmp/in >$tmp/out
44678 mv $tmp/out $tmp/in
44680 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
44681 rm -f conftest.defines
44682 mv conftest.
tail conftest.defines
44684 rm -f conftest.defines
44685 echo ' fi # grep' >>$CONFIG_STATUS
44686 echo >>$CONFIG_STATUS
44688 # Break up conftest.undefs because some shells have a limit on the size
44689 # of here documents, and old seds have small limits too (100 cmds).
44690 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
44691 rm -f conftest.
tail
44692 while grep . conftest.undefs
>/dev
/null
44694 # Write a limited-size here document to $tmp/undefs.sed.
44695 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
44696 # Speed up: don't consider the non
`#undef'
44697 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
44698 # Work around the forget-to-reset-the-flag bug.
44699 echo 't clr' >>$CONFIG_STATUS
44700 echo ': clr' >>$CONFIG_STATUS
44701 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
44703 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
44705 mv $tmp/out $tmp/in
44707 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
44708 rm -f conftest.undefs
44709 mv conftest.tail conftest.undefs
44711 rm -f conftest.undefs
44713 cat >>$CONFIG_STATUS <<\_ACEOF
44714 # Let's still pretend it is `configure
' which instantiates (i.e., don't
44715 # use $as_me), people would be surprised to read:
44716 # /* config.h. Generated by config.status. */
44717 if test x
"$ac_file" = x
-; then
44718 echo "/* Generated by configure. */" >$tmp/config.h
44720 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
44722 cat $tmp/in >>$tmp/config.h
44724 if test x
"$ac_file" != x
-; then
44725 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
44726 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
44727 echo "$as_me: $ac_file is unchanged" >&6;}
44729 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
44730 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44731 X"$ac_file" : 'X\(//\)[^/]' \| \
44732 X"$ac_file" : 'X\(//\)$' \| \
44733 X"$ac_file" : 'X\(/\)' \| \
44734 . : '\(.\)' 2>/dev/null ||
44736 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44737 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44738 /^X\(\/\/\)$/{ s//\1/; q; }
44739 /^X\(\/\).*/{ s//\1/; q; }
44741 { if $as_mkdir_p; then
44746 while test ! -d "$as_dir"; do
44747 as_dirs
="$as_dir $as_dirs"
44748 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44749 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44750 X"$as_dir" : 'X\(//\)[^/]' \| \
44751 X"$as_dir" : 'X\(//\)$' \| \
44752 X"$as_dir" : 'X\(/\)' \| \
44753 . : '\(.\)' 2>/dev/null ||
44755 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44756 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44757 /^X\(\/\/\)$/{ s//\1/; q; }
44758 /^X\(\/\).*/{ s//\1/; q; }
44761 test ! -n "$as_dirs" || mkdir $as_dirs
44762 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44763 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44764 { (exit 1); exit 1; }; }; }
44767 mv $tmp/config.h
$ac_file
44771 rm -f $tmp/config.h
44775 cat >>$CONFIG_STATUS <<\_ACEOF
44778 # CONFIG_COMMANDS section.
44780 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
44781 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
44782 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44783 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
44784 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44785 X"$ac_dest" : 'X\(//\)[^/]' \| \
44786 X"$ac_dest" : 'X\(//\)$' \| \
44787 X"$ac_dest" : 'X\(/\)' \| \
44788 . : '\(.\)' 2>/dev/null ||
44790 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44791 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44792 /^X\(\/\/\)$/{ s//\1/; q; }
44793 /^X\(\/\).*/{ s//\1/; q; }
44795 { if $as_mkdir_p; then
44800 while test ! -d "$as_dir"; do
44801 as_dirs
="$as_dir $as_dirs"
44802 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44803 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44804 X"$as_dir" : 'X\(//\)[^/]' \| \
44805 X"$as_dir" : 'X\(//\)$' \| \
44806 X"$as_dir" : 'X\(/\)' \| \
44807 . : '\(.\)' 2>/dev/null ||
44809 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44810 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44811 /^X\(\/\/\)$/{ s//\1/; q; }
44812 /^X\(\/\).*/{ s//\1/; q; }
44815 test ! -n "$as_dirs" || mkdir $as_dirs
44816 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44817 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44818 { (exit 1); exit 1; }; }; }
44822 if test "$ac_dir" != .
; then
44823 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44824 # A "../" for each directory in $ac_dir_suffix.
44825 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44827 ac_dir_suffix
= ac_top_builddir
=
44831 .
) # No --srcdir option. We are building in place.
44833 if test -z "$ac_top_builddir"; then
44836 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
44838 [\\/]* | ?
:[\\/]* ) # Absolute path.
44839 ac_srcdir
=$srcdir$ac_dir_suffix;
44840 ac_top_srcdir
=$srcdir ;;
44841 *) # Relative path.
44842 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
44843 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
44846 # Do not use `cd foo && pwd` to compute absolute paths, because
44847 # the directories may not exist.
44849 .
) ac_abs_builddir
="$ac_dir";;
44852 .
) ac_abs_builddir
=`pwd`;;
44853 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
44854 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
44857 case $ac_abs_builddir in
44858 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44860 case ${ac_top_builddir}.
in
44861 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
44862 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44863 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
44866 case $ac_abs_builddir in
44867 .
) ac_abs_srcdir
=$ac_srcdir;;
44870 .
) ac_abs_srcdir
=$ac_abs_builddir;;
44871 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
44872 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
44875 case $ac_abs_builddir in
44876 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
44878 case $ac_top_srcdir in
44879 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
44880 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
44881 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
44886 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
44887 echo "$as_me: executing $ac_dest commands" >&6;}
44889 wx
-config ) rm -f wx
-config
44890 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
44896 cat >>$CONFIG_STATUS <<\_ACEOF
44898 { (exit 0); exit 0; }
44900 chmod +x
$CONFIG_STATUS
44901 ac_clean_files
=$ac_clean_files_save
44904 # configure is writing to config.log, and then calls config.status.
44905 # config.status does its own redirection, appending to config.log.
44906 # Unfortunately, on DOS this fails, as config.log is still kept open
44907 # by configure, so config.status won't be able to write to it; its
44908 # output is simply discarded. So we exec the FD to /dev/null,
44909 # effectively closing config.log, so it can be properly (re)opened and
44910 # appended to by config.status. When coming back to configure, we
44911 # need to make the FD available again.
44912 if test "$no_create" != yes; then
44914 ac_config_status_args
=
44915 test "$silent" = yes &&
44916 ac_config_status_args
="$ac_config_status_args --quiet"
44918 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
44920 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
44921 # would make configure fail if this is the last instruction.
44922 $ac_cs_success || { (exit 1); exit 1; }
44926 # CONFIG_SUBDIRS section.
44928 if test "$no_recursion" != yes; then
44930 # Remove --cache-file and --srcdir arguments so they do not pile up.
44931 ac_sub_configure_args
=
44933 for ac_arg
in $ac_configure_args; do
44934 if test -n "$ac_prev"; then
44939 -cache-file | --cache-file | --cache-fil | --cache-fi \
44940 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
44941 ac_prev
=cache_file
;;
44942 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
44943 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
44946 --config-cache | -C)
44948 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
44950 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
44952 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
44954 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
44956 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
44960 # Always prepend --prefix to ensure using the same prefix
44961 # in subdir configurations.
44962 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
44965 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
44967 # Do not complain, so a configure script can configure whichever
44968 # parts of a large source tree are present.
44969 test -d $srcdir/$ac_dir || continue
44971 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
44972 echo "$as_me: configuring in $ac_dir" >&6;}
44973 { if $as_mkdir_p; then
44978 while test ! -d "$as_dir"; do
44979 as_dirs
="$as_dir $as_dirs"
44980 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44981 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44982 X"$as_dir" : 'X\(//\)[^/]' \| \
44983 X"$as_dir" : 'X\(//\)$' \| \
44984 X"$as_dir" : 'X\(/\)' \| \
44985 . : '\(.\)' 2>/dev/null ||
44987 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44988 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44989 /^X\(\/\/\)$/{ s//\1/; q; }
44990 /^X\(\/\).*/{ s//\1/; q; }
44993 test ! -n "$as_dirs" || mkdir $as_dirs
44994 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44995 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44996 { (exit 1); exit 1; }; }; }
45000 if test "$ac_dir" != .
; then
45001 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45002 # A "../" for each directory in $ac_dir_suffix.
45003 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45005 ac_dir_suffix
= ac_top_builddir
=
45009 .
) # No --srcdir option. We are building in place.
45011 if test -z "$ac_top_builddir"; then
45014 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45016 [\\/]* | ?
:[\\/]* ) # Absolute path.
45017 ac_srcdir
=$srcdir$ac_dir_suffix;
45018 ac_top_srcdir
=$srcdir ;;
45019 *) # Relative path.
45020 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45021 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45024 # Do not use `cd foo && pwd` to compute absolute paths, because
45025 # the directories may not exist.
45027 .
) ac_abs_builddir
="$ac_dir";;
45030 .
) ac_abs_builddir
=`pwd`;;
45031 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45032 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45035 case $ac_abs_builddir in
45036 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45038 case ${ac_top_builddir}.
in
45039 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45040 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45041 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45044 case $ac_abs_builddir in
45045 .
) ac_abs_srcdir
=$ac_srcdir;;
45048 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45049 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45050 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45053 case $ac_abs_builddir in
45054 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45056 case $ac_top_srcdir in
45057 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45058 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45059 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45066 # Check for guested configure; otherwise get Cygnus style configure.
45067 if test -f $ac_srcdir/configure.gnu
; then
45068 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
45069 elif test -f $ac_srcdir/configure
; then
45070 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
45071 elif test -f $ac_srcdir/configure.
in; then
45072 ac_sub_configure
=$ac_configure
45074 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
45075 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
45079 # The recursion is here.
45080 if test -n "$ac_sub_configure"; then
45081 # Make the cache file name correct relative to the subdirectory.
45082 case $cache_file in
45083 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
45084 *) # Relative path.
45085 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
45088 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
45089 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
45090 # The eval makes quoting arguments work.
45091 eval $ac_sub_configure $ac_sub_configure_args \
45092 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
45093 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
45094 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
45095 { (exit 1); exit 1; }; }
45104 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
45106 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
45107 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
45109 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
45110 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
45111 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
45113 echo " What level of wxWidgets compatibility should be enabled?"
45114 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
45115 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
45117 echo " Which libraries should wxWidgets use?"
45118 echo " jpeg ${wxUSE_LIBJPEG-none}"
45119 echo " png ${wxUSE_LIBPNG-none}"
45120 echo " regex ${wxUSE_REGEX}"
45121 echo " tiff ${wxUSE_LIBTIFF-none}"
45122 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
45123 echo " xpm ${wxUSE_LIBXPM-none}"
45125 echo " zlib ${wxUSE_ZLIB}"
45126 echo " odbc ${wxUSE_ODBC}"
45127 echo " expat ${wxUSE_EXPAT}"
45128 echo " libmspack ${wxUSE_LIBMSPACK}"
45129 echo " sdl ${wxUSE_LIBSDL}"
45130 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"